Guest armando2002 Posted December 8, 2005 Report Share Posted December 8, 2005 This probably sounds like a dumb question, but I can't figure out how to login as root. I'm running the KDE desktop, and have searched the forums and the Mandriva help system and can't figure out how to set my bootup screen to allow a root login. I just want to be able to configure Xfree and my ATI drivers. Quote Link to comment Share on other sites More sharing options...
Guest armando2002 Posted December 8, 2005 Report Share Posted December 8, 2005 Oh if it helps, I'm running KDE 3.4.2 and Mandriva 2.6.12-12mdk Quote Link to comment Share on other sites More sharing options...
jboy Posted December 8, 2005 Report Share Posted December 8, 2005 You could choose the "Failsafe" option from your boot menu. This will take you to runlevel 1 as the root user (command line, no network). From there you can run XFdrake, the ATI driver install and config commands, etc. If you need network support, you can enter: init 3 (takes you to runlevel 3, which has the network started). Quote Link to comment Share on other sites More sharing options...
Reiver_Fluffi Posted December 8, 2005 Report Share Posted December 8, 2005 (edited) Alternatively, start up konsole (the KDE terminal program), at the prompt type su and then enter the root password, there you go yer logged in as root within that terminal session. if you need to stop the x server use: telinit 3 This will shut down the graphical interface and bring you to text-mode, and prompt you to login (type root then enter, etc) To restart X (the GUI) you can telinit 5 (Not sure if start x will work from init 3, neer tried it!) Edited December 8, 2005 by Reiver_Fluffi Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted December 8, 2005 Report Share Posted December 8, 2005 It's not advisable to login as root. Just log in as your normal user. When you want to use root based commands, open a terminal and just type "su" and supply the root password when prompted, as everyone has said so far. This is the preferred method to use your system and get root privileges. Using root for day-to-day stuff, is a security risk to your system. Quote Link to comment Share on other sites More sharing options...
jboy Posted December 8, 2005 Report Share Posted December 8, 2005 (Not sure if start x will work from init 3, neer tried it!) <{POST_SNAPBACK}> Yes, startx does work from runlevel 3. I've done it many times. Armando, of course, as everyone has suggested, if you startx from runlevel 3, the recommendation is to do so as a regular user, not root. Quote Link to comment Share on other sites More sharing options...
Guest armando2002 Posted December 8, 2005 Report Share Posted December 8, 2005 Thanks Quote Link to comment Share on other sites More sharing options...
bvc Posted December 8, 2005 Report Share Posted December 8, 2005 it used to be in the kde control center>login manager???>users??? and check off root. I don't use kde and haven't for a long time so I do not know if it is still there, or where? Quote Link to comment Share on other sites More sharing options...
jboy Posted December 8, 2005 Report Share Posted December 8, 2005 it used to be in the kde control center>login manager???>users??? and check off root. I don't use kde and haven't for a long time so I do not know if it is still there, or where? <{POST_SNAPBACK}> You nailed it, bvc. I just checked and it is there. Menu -> Run Command -> kcontrol -> System -> Login Manager -> User's tab Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted December 9, 2005 Report Share Posted December 9, 2005 That's one step in the process. See AussieJohn's post here for a full discussion of the problem: https://mandrivausers.org/index.php?showtopic=29116&hl=kdmrc You have to get rid of the default kdm theme before your changes in Login Manager will work. The only way to do that is edit /etc/kde/kdm/kdmrc per the above post from AussieJohn. Quote Link to comment Share on other sites More sharing options...
bvc Posted December 10, 2005 Report Share Posted December 10, 2005 That's a pain in the ...... Don't forget that you have to run kcontrol as root to make the change. Wait, or do you?....you may get a popup asking for the root password if you try to change this as a user in kcontrol? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.