Reply
Old July 13th, 2005 Top | #1
 
XxFirebrandxX's Avatar
I am a MONKAY!
Joined: February 2004
Location: Pennsylvania
Posts: 16
Reputation: 10
Power: 80

Default root cannot run "startx" or "startkde"

I'm confused why I can use startx and startkde from users other than root. When I try running these commands as root it returns the DRIScreenInit Failed. Disabling DRI.

Also, I think this may be linked to a permissions problem because when I am inside KDE with another use, I cannot su or change to administrator mode. Can anyone help me with this? Thanks in advance!
XxFirebrandxX is offline   Reply With Quote
Old July 13th, 2005 Top | #2

OSNN Subscriber
OSNN Folding Team  
Geffy's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: United Kingdom
Posts: 7,854
Reputation: 1490
Power: 196

Default Re: root cannot run "startx" or "startkde"

its probably a security feature to prevent you from running your GUI system as the root user which is an inherently bad idea

su'ing to root, is the user you are running as a member of the wheel/root group?


blogtumbloglastfmflickr#rubyonrails@twitter
"I could be replaced with a very small shell script"
Geffy is offline   Reply With Quote
Old July 13th, 2005 Top | #3
 
Howling Wolf's Avatar
We did not deserve this !
Joined: December 2001
Location: Amongst the Native Ones
Posts: 1,259
Reputation: 330
Power: 122

Default Re: root cannot run "startx" or "startkde"

Strange, I have Debian (Sid) installed on my 2nd hdd and as I've installed KDE from command line as root, I'm able to run "startx" from there. I've done it several times only for test purpose, of course I usually log in as Howling Wolf

[::::::::::::::::] http://www.howling-wolf.org [::::::::::::::::]

For those who wonder, my avatar has a name: Orca (an alpha male wolf). You can visit and support 'his' site at http://www.wolfpark.org/. Thank you very much.
Howling Wolf is offline   Reply With Quote
Old July 13th, 2005 Top | #4
 
ThePatriot's Avatar
-=[BOHICA!]=-
Joined: January 2004
Location: Pennsylvania
Posts: 1,741
Reputation: 750
Power: 105

Default Re: root cannot run "startx" or "startkde"

Geffy's right, it is most likely a security issue...but I regularly run "startx" as root in Unixware and RedHat 9 with no prob. I take a look at my work machines tomorrow and see if I can find anything.

ThePatriot is offline   Reply With Quote
Old July 14th, 2005 Top | #5

OSNN Subscriber  
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,453
Reputation: 2738
Power: 198

Default Re: root cannot run "startx" or "startkde"

It is probably a new security feature in X.org and would probably not exist in XFree. Which is why older systems with XFree would not have the problem. I tend to never run X.org as root in the first place, but i am thinking it is a security related problem as well.
X-Istence is offline   Reply With Quote
Old July 21st, 2005 Top | #6
 
XxFirebrandxX's Avatar
I am a MONKAY!
Joined: February 2004
Location: Pennsylvania
Posts: 16
Reputation: 10
Power: 80

Default Re: root cannot run "startx" or "startkde"

Ok, I found the problem why I couldn't use KDM. I was able to use XDM which was strange, so I fooled around with the KDM configuration and found an option in kdmrc where it says on a line something similar to:

AllowRootLogin: False

So, I changed it to true and am able to use KDM to login.
XxFirebrandxX is offline   Reply With Quote
Old December 12th, 2005 Top | #7
 
karl_axe's Avatar
OSNN Addict
Joined: November 2002
Posts: 75
Reputation: 0
Power: 95

Default Re: root cannot run "startx" or "startkde"

i believe that's what kdm is missing... GDM has that option to allow root logins or not.
karl_axe is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating "Root Certificate Update" failed with WU! Punkrulz Windows Server Systems 5 December 12th, 2006 5:52pm
hiding the "download" status "dialog box" keves2002 Windows Desktop Systems 7 September 20th, 2006 6:50pm
"Find target" & "open after download" DONT WORK Shamus MacNoob Windows Desktop Systems 15 July 11th, 2004 11:03am
"How do you disable the "Logon" screen in Windows 2000?" Silverado2000 Windows Desktop Systems 3 February 27th, 2003 10:22am
How do I set up "default user" or "Automatic login" in XP (like in Win95/98/2000 eka Windows Desktop Systems 3 February 7th, 2002 7:41pm