Logging in as root on Mandrake 10?

Posted on 2004-09-17
Last Modified: 2013-12-06
Running mandrake 10. As soon as I create users, I cannot log into the desktop with root.  It automatically defaults to a selection of users. Any way to log in to the desktop with root again?
Question by:dissolved
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Assisted Solution

zuralin earned 50 total points
ID: 12090321
If you are using GDM you need to go into the settings and set it to allow you to login as root

Author Comment

ID: 12090401
how would i do that?
LVL 23

Accepted Solution

Mysidia earned 400 total points
ID: 12090464
Disclaimer: logging in as root is a really bad idea. It's best to login as a normal user and use su
for administrative tasks. Outside system installation / recovery there no reason you should ever
need to log in directly as root. It's perfectly reasonable that your system not allow you to do so
by default.

In order to successfully login as root, the main thing you need to do is adjust your
display manager's configuration.

First open a terminal window... (i.e. Alt + F2, type konsole  press enter)
Use the command: su -
(Type root password to become root)

Run 'drakedm'  to check which display manager you are using
[The rest of this assumes you're currently using MdkKDM or KDM]

Go back to the terminal...
cd /usr/share/config/kdm

Now open the file named "kdmrc" in a text editor

Find and change the line in the [X-*-Core section] that reads:


Now, once you've made those changes you need to restart the display manager...
Note: if you made an error in editing the configuration file it may not start back up,
so be sure you have installed and know how to use a text editor that you can start
and use in a terminal/console  (Nano or Emacs, for example)

In any case...
One command that will do that is:  service dm restart

Assisted Solution

by:Darrell Thomas
Darrell Thomas earned 50 total points
ID: 12091124
I just had the EXACT same problem.  Here is how I fixed it:

Login as yourself.  (use the KDE desktop so you can follow along here)

Click on "the star" in the lower left corner to bring up the menu:
go to SYSTEM
go to KDE
go to SYSTEM

this brings up the Configuration-Login Manager window
click on the 4th tab over-- USERS
un-check the box in the Hidden Users menu that says "root"

Logout, and now ROOT is an option at login



Author Comment

ID: 12092100

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question