Question

Set Login With Root To Work With GUI

I am setting up GUI and need to login to root. I use XFCE (is that GDM?).

Here is all the files I have that would configure this.

atd             common-password                gdm-fingerprint         lightdm-greeter  ppp        sudo
chfn            common-session                 gdm-launch-environment  login            runuser    systemd-user
chpasswd        common-session-noninteractive  gdm-password            newusers         runuser-l  vmtoolsd
chsh            cron                           gnome-screensaver       other            sshd
common-account  cups                           lightdm                 passwd           su
common-auth     gdm-autologin                  lightdm-autologin       polkit-1         su-l

What file should I edit to allow root login? Thank you!

Subscribe
Share

This is an image of the login screen (in which root login doesn’t work)

https://github.com/UCYT5040/imgs/blob/main/Screenshot 2021-11-16 9.46.28 AM.png


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey there!

Typically most GUI’s don’t recommend login via root by default and some disable it. The easiest option is to create another user with sudo privileges through SSH. You could then login as that user through the GUI and use sudo where needed. You can also become root while logged in as another user using the su command.

Hope it helps! Nate

This comment has been deleted