Solved

Logging in as root on Mandrake 10?

Posted on 2004-09-17
5
1,979 Views
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?
Thanks
0
Comment
Question by:dissolved
[X]
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
5 Comments
 
LVL 2

Assisted Solution

by:zuralin
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
0
 

Author Comment

by:dissolved
ID: 12090401
how would i do that?
Thanks
0
 
LVL 23

Accepted Solution

by:
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:
AllowRootLogin=false

to
AllowRootLogin=true

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
0
 
LVL 1

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 CONFIGURATION
go to KDE
go to SYSTEM
go to LOGIN MANAGER

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

:)


0
 

Author Comment

by:dissolved
ID: 12092100
thanks
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CentOS 7 Linux for HP DL380 G4 32Bits 7 104
The better OS Architecture 13 108
Looking for a program called HoneyMine. 3 117
AWS Linux EC2 question on group 7 88
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

734 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