I've enabled the root account by setting a password for it but not matter what I try I cant log into any DE but the default unity one, while any other user (but root) can choose any DE
Asked
Active
Viewed 4,045 times
0
-
Please edit your question to include what you're trying to accomplish (IE why you want to log in as root) - we'd be happy to help you find a way to do what you need to do without breaking everything or compromising the security of your computer. – David Oneill Apr 17 '12 at 19:36
-
For the record, I know how to do this. But I'm not posting an answer because I agree that this is a monumentally BAD idea. – Aaron Apr 17 '12 at 20:11
3 Answers
2
You can't log in to the GUI as root as it is an astronomically bad thing to do. Log on as a normal user and use sudo <command>
if you really require root privileges. I've been using various kinds of Unix and Linux for 20 years and never had to log on to the GUI as root.

jippie
- 5,683
2
DO NOT LOG INTO GNOME AS ROOT
This is impossible to do because if it did allow you do to do that MANY things wouldn't work correctly.
Any reason you might have for wanting to do this stems from misunderstanding something.
For a discussion about why not to log in as root, see Why is it bad to login as root?

David Oneill
- 12,144
0
https://unix.stackexchange.com/questions/284772/gnome-3-is-not-allowing-me-to-log-in-as-root
You should edit the file
/etc/pam.d/gdm-password
commenting the line that contains the root user check,#auth required pam_succeed_if.so user != root quiet_success

Scorpion
- 374