root cannot run "startx" or "startkde"

XxFirebrandxX

I am a MONKAY!
Joined
14 Feb 2004
Messages
15
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!
 
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?
 
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 ;)
 
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.
 
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.
 
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.
 
i believe that's what kdm is missing... GDM has that option to allow root logins or not.
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back