shoprex-icon-big

Shoprex

Developer site for the Wordpress Plugin Shoprex

Auto login as root in Gnome with Debian / Linux


To login the user “root” automatically in the desktop environment, you need to do the following changes::

# nano /etc/pam.d/gdm3

Change:

auth   required        pam_succeed_if.so user != root quiet_success

to:

#auth   required        pam_succeed_if.so user != root quiet_success

# nano /etc/pam.d/gdm3-autologin

Change:

auth   required        pam_succeed_if.so user != root quiet_success

to:

#auth   required        pam_succeed_if.so user != root quiet_success

# nano /etc/gdm3/daemon.conf

Change to:

[daemon]
# Enabling automatic login
AutomaticLoginEnable = true
AutomaticLogin = root

and add:

[security]
AllowRoot=true

[greeter]
MinimalUID=0

Reboot:

# shutdown -r now


Back

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*
*