System Administration
Showing results for 
Search instead for 
Did you mean: 

unable to access GUI by root login in fedora 9

Go to solution
Occasional Contributor

unable to access GUI by root login in fedora 9

hi ,

when i am trying login through root on fedora 9. its again comeback to the same login window. when i trying to login normal user then its ok.

can you please suggest the troubleshooting step
Honored Contributor

Re: unable to access GUI by root login in fedora 9

That's normal behavior for Fedora 9.

Direct root logins to the GUI desktop have been disabled to discourage bad administration habits.

If you're the only user of the system *AND* the system is not and will not be connected to the Internet in any way, it *might* be reasonable to re-enable GUI root logins.

If you've used to always using root for everything, it most likely means you haven't really learned how to use user groups, file permissions and sudo effectively. You should set up your system so that you can do as much as possible of your "normal work" with your regular, personal user account.

If your system is under a strict auditability requirement (like bank or credit card company systems), then it is an *absolute requirement* that all important system changes can be reliably associated to a named person: "who-did-what". In such an environment, "just quickly logging in as root to fix this" gets the company into trouble with the auditors, and eventually gets you fired.

If every Unix/Linux sysadmin would learn to do things the right way by default, then the future sysadmins in security-sensitive locations would hopefully be less likely to make any stupid security mistakes.

If you still want to do it, you should learn how the authenticatin system works. If you know that, re-enabling root logins can be done easily in less than two minutes.

Google this: "PAM configuration".

Honored Contributor

Re: unable to access GUI by root login in fedora 9

Occasional Contributor

Re: unable to access GUI by root login in fedora 9



this link is really helpful. but i have fedora 9 operating system. when i checked /etc/pam.d/gdm then find that there is no

# auth required user != root quiet

file available and also there is no gdm_password file in fedora 9.

please see the current gdm file

1 #%PAM-1.0
2 auth [success=done ignore=ignore default=bad]
3 auth required
4 auth substack system-auth
5 auth optional
6 account required
7 account include system-auth
8 password include system-auth
9 session required close
10 session required
11 session optional
12 session required open
13 session optional force revoke
14 session required
15 session optional auto_start
16 session include system-auth

when i tried to login gui through root then its show blank desktop.

can you please look this issue.