GNOME login as root - Linux Tutorials - Learn Linux Configuration

In this tutorial, you will see how to enable root login for the GNOME desktop environment on a Linux system. By default, users are expected to log in to the GNOME desktop environment using a normal account. This is a recommended practice due to security concerns. If you wish to ignore this recommendation and log in to GNOME with the root account, keep reading below.


This is a companion discussion topic for the original entry at https://linuxconfig.org/gnome-login-as-root

System:Debian GNU/Linux 12 (bookworm)
Software:gnome-initial-setup/stable,now 43.2-6 amd64 [installed]
gnome/stable,now 1:43+1 amd64 [installed,automatic]

When I login gnome as root, I cannot use the terminal and cannot change the language.
Using the command “journalctl -xef” I saw the error “Failed to start gnome-initial-setup-first-login.service - GNOME Initial Setup.”
When I login gnome as ariza, everything is normal.
I think it is gnome-related services that exclude the root user.

Does anyone know how to solve this problem?
Many thanks!