We help IT Professionals succeed at work.

LInux Debian 6

Medium Priority
521 Views
Last Modified: 2012-03-12
HOw do you allow root to login to the GUI?
Comment
Watch Question

Top Expert 2010
Commented:
do nano /etc/gdm/gdm.conf

look for allowrootlogin
change from False to TRUE
Top Expert 2010

Commented:
this what you have to look for :

[security]
# Allow root to login.  It makes sense to turn this off for kiosk use,
# when you want to minimize the possibility of break in.
AllowRoot=true

# Allow login as root via XDMCP.  This value will be overridden and
# set to false if the /etc/default/login file exists and contains
# “CONSOLE=/dev/login”, and set to true if the /etc/default/login
# file exists and contains any other value or no value for CONSOLE.
AllowRemoteRoot=true

Author

Commented:
This worked, thanks!
Kerem ERSOYPresident

Commented:
Hi,

As a security issue it might not be a good idea to run GUI as root. IT is disabled for a reason.

Cheers,
K.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.