Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 11-12-2003, 07:33 PM   #1
Registered: Nov 2003
Distribution: Mandrake 10 (KDE)
Posts: 53

Rep: Reputation: 15
How do I login as Root

I know about the su command in terminal, but there are times when I want access permission to everything in X Window too (like trying to mount multiple CD Drives).
when I logout there is only one user (me) to choose from to log back in
Old 11-12-2003, 08:04 PM   #2
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 200

Rep: Reputation: 30
You don't need to log into X server as root to do anything. You can change the settings to allow you to log into X as root, though. Someone else will have to explain how; I'm not familiar with how to configure a graphical login.

One thing you can do is open up a terminal in X and then su. Then start the program from that terminal; e.g. to start kwrite as root enter "kwrite &" in the terminal.

If you're really in a bind and need to log in as root right now, just su, then enter "init 3". This will send you to a text login. Then login as root and type "startx." This will start the X server as root.
Old 11-12-2003, 08:11 PM   #3
Registered: Nov 2003
Distribution: Mandrake 10 (KDE)
Posts: 53

Original Poster
Rep: Reputation: 15
thanks, that should work (assuming it works).

having trouble with my CD Drives.
Old 11-12-2003, 10:13 PM   #4
Senior Member
Registered: Oct 2003
Posts: 2,693

Rep: Reputation: 243Reputation: 243Reputation: 243
The default DM in mdk9.1 is called mdKdm or something like that and it controls the way your login screen looks and the options available. I've always found it to be pretty buggy and I don't like the way it looks. It's a variant on kdm which is the standard DM for kde. Also, mdKdm does not allow you to log in as root in graphical mode as a security measure. You can change your DM to kdm in mandrake control center>Hardware>Display Manager. Change it to kdm and the next time you log in you will be able to type in anything you want in the user name field, including root.
Old 11-12-2003, 10:23 PM   #5
Registered: Nov 2003
Distribution: Mandrake 10 (KDE)
Posts: 53

Original Poster
Rep: Reputation: 15
perfect! Thanks


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 08:01 AM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 10:54 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:40 PM.

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