LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-17-2009, 12:33 PM   #1
Net_Spy
Member
 
Registered: Nov 2006
Posts: 119

Rep: Reputation: 17
Solved: VLC running under root without compiling


Greetings to All,
I've searched the forum for my issue but could not find any satisfied answer , this is solution is for whom who did yum or apt-get to install vlc player.

Step-1: open a hexeditor if you are using kde desktop then use khex editor .

Step-2: Now open vlc binary

Step-3: Now search for the following string geteuid which is look like this

Code:
ddset.stderr.geteuid._libc_start_man
Since I'm usuing version 0.9.9a-2 so I found it online numbers 1550-1560 .

Step-3: Now press insert button from keyboard and change string into

Code:
ddset.stderr.getppid._libc_start_man
Step-4: click on Save


If it is duplicate thread im sorry for repeating but im sure it is not hope it works for you too , as it works for me. still make u annoy when you run vlc from console it gives you same warning but when u run it back it works fine .

Regards
Net_Spy
 
Old 08-17-2009, 01:52 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
If you need to run VLC under root, you have some more fundamental problem that you didn't (or won't) address.
 
Old 10-22-2009, 12:06 PM   #3
iamsrijon
LQ Newbie
 
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
Great Job

Net_Spy,
you ve done a great job, dude. I am here to appreciate u for the help on Running vlc player as root without compiling.

Thanks again,
Srijon
 
Old 08-30-2010, 06:22 AM   #4
uray
LQ Newbie
 
Registered: Aug 2010
Posts: 1

Rep: Reputation: 0
thanks

great job, thanks, i uninstalled vlc just because of this issue, now it solved.
 
Old 12-01-2010, 07:42 PM   #5
mindlessmissy
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
OMG, I just had to register to express my gratitude to the starter of this thread ...

I had been looking for a way to run the latest vlc under root on my mac for a long time now and this simple solution did it ...

Merci !
 
Old 12-01-2010, 08:22 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
mindlessmissy
why VLC should never be ran as root
i take it you also run firefox as root
and have turned off the firewall and turned off SElinux or AppArmor
and have NOT installed firefox's no-script not installed add block plus

and LIKE to run a rootkited system
 
Old 12-01-2010, 11:02 PM   #7
mindlessmissy
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
Unless vlc will make a gun protrude from my monitor and hold it against my head, I think I will be just fine ...

Thank You for Caring ...
 
Old 02-10-2011, 09:47 PM   #8
monemihir
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 1
I am running vlc 1.1.4 and for me there was no instance like - ddset.stderr.geteuid._libc_start_man

However, as long as you replace all instances of "geteuid" with "getppid" you should be fine.

Thanks Net_Spy mate...ive been banging me head on this one for a long time !!!
 
1 members found this post helpful.
Old 02-10-2011, 10:06 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
as long as this thread is labeled as

-- WARNING , Not recommended ,do not use at your own risk --
-- example of a very bad system administration ---


and the public service announcement ( psa)
------------------
we do NOT care / give a bleep about YOUR computers .
It is all the OTHER computers on the net that we DO CARE ABOUT,that YOU are putting at risk
-----------------
 
Old 02-26-2011, 01:26 PM   #10
mmasic
LQ Newbie
 
Registered: Sep 2007
Location: Belgrade
Distribution: Debian
Posts: 7

Rep: Reputation: 2
Thank you - great job/solution!
 
Old 04-17-2011, 01:06 AM   #11
mo0n_sniper
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Nice, thanks man.
Now I don't have to login with a user without privileges to look at movies.
 
Old 10-25-2011, 02:04 PM   #12
thefinn
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
nice pickup.

You sir are the man.
 
Old 04-11-2013, 11:48 PM   #13
Net_Spy
Member
 
Registered: Nov 2006
Posts: 119

Original Poster
Rep: Reputation: 17
Hello,

An other method is below :

vi /usr/bin/vlc

search for geteuid and replace it with getppid

Save file & Exit.

Regards
Net_Spy
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] VLC shows no image after upgrade wongdg Linux - Software 2 09-01-2011 11:57 PM
VLC not running as root....(Cent 5.2) spectrum007 Linux - Software 6 01-18-2009 06:59 AM
Adventures with no picture in VLC and compiling FFMPEG donnied Linux - Software 17 11-10-2008 07:44 PM
Problem when compiling VLC. Synt4x_3rr0r Linux - Software 11 12-25-2005 12:41 AM
Problem with ffmpeg compiling vlc Gerard_2009 Linux - Software 3 12-11-2005 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration