Hi friends,
Here I m with trick to install and runVlc media player as root in
Backtrack.
Normally in backtrack you cant run vlc as root but by using this
trick its possible.
Here I m with trick to install and run
Backtrack.
Normally in backtrack you cant run vlc as root but by using this
trick its possible.
First we need to install vlc media player
open terminal at hash prompt type this command
for root users
# apt-get install vlc
for non root users
# sudo apt-get install vlc
you will be prompted whether to continue or not, be wise and
after completion of this command you will be returned to
hash prompt, to check whether it is running or not type vlc at
hash prompt
# vlc
for non-root user it will work but for root user it will return an
"VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privilegedTCP ports
you can use vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first)."
If you need to use real-time priorities and/or privileged
you can use vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first)."
now no need to panic we can resolve this problem with a simple
like vi or vim
# vim /usr/bin/vlc
now at this point search geteuid and replace it with getppid
at editor press ctrl+shift+f and type geteuid
now click on geteuid press insert key and replace geteuid with
getppid
press esc key and then type
:wq and press enter
its all done
now check whether vlc is working or not just type vlc at hash
prompt
# vlc
and you can see vlc media player comes up....
0 comments:
Post a Comment