Re: Get VLC to work under root without compiling
Thank you,i used bless to edit, works great.
Re: Get VLC to work under root without compiling
thanks man .. worked on bt5r2 64 without an issue :)
Re: Get VLC to work under root without compiling
i can not save any changes made to the audio settings (equalizer)
if i restart the application it will load to the original audio settings
Re: Get VLC to work under root without compiling
Quote:
Originally Posted by
cgelici
When downloading VLC media player in BT5, it won't start. This is because you cannot run it under root. This is annoying since BT5 is standard root. Anyway, I have found a way to get it running without having to install it from source with the enable run as root as suffix.
Credit: Net_Spy
First install from vlc from the repo's.
Use a hex editor to edit /usr/bin/vlc
Look for
Code:
geteuid._libc_start_main
and change it into
Code:
getppid._libc_start_main
Save and you are done. It works perfectly on my BT5 G32.
THANKS I use BT 5 R3 and edit with vi not hexedit, it works!!!
Can you explain me:
I only works with vi. How can I store a modified file with hexedit?
Re: Get VLC to work under root without compiling
Finally got it to work for me. Thanks
Re: Get VLC to work under root without compiling
Thanks Dude,
Working Now.
Ta, Viana
Quote:
Originally Posted by
cgelici
When downloading VLC media player in BT5, it won't start. This is because you cannot run it under root. This is annoying since BT5 is standard root. Anyway, I have found a way to get it running without having to install it from source with the enable run as root as suffix.
Credit: Net_Spy
First install from vlc from the repo's.
Use a hex editor to edit /usr/bin/vlc
Look for
Code:
geteuid._libc_start_main
and change it into
Code:
getppid._libc_start_main
Save and you are done. It works perfectly on my BT5 G32.
Re: Get VLC to work under root without compiling
Thanks for the advice. I struggled with VLC all night to extract images from huge video files but realized that I could do it with ffmpeg and a script. :eek: So that's one idea for those who just need to extract images, not really watch movies or anything. :cool:
Re: Get VLC to work under root without compiling
not work for me. :(
Im useing bt5 r3 (KDE)
Re: Get VLC to work under root without compiling
Well, it's work for me at my "BT5 r3 Gnome-64bit" by changing "geteuid" to "getppid" with hex editor. don need to "./configure --enable-run-as-root" from source package. thanks ... :)