Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to interactively login as root #119

Open
D3vil0p3r opened this issue Nov 12, 2022 · 0 comments
Open

Not possible to interactively login as root #119

D3vil0p3r opened this issue Nov 12, 2022 · 0 comments

Comments

@D3vil0p3r
Copy link

Expected behavior
Login as root user interactively.

Actual behavior
Hello,
I know that login as root is not a safe approach, but I'm just performing some tests on LightDM. I'm using Arch Linux with GNOME 43 Wayland.

I noted that, despite I have a root account on my system (that I can access by terminal by su root), when I use Aether theme and I click on "Switch Account", it says that there are no other accounts apart the standard user I set (so, it is not able to see the root account).

Furthermore, I tried also to set greeter-show-manual-login=true in /etc/lightdm/lightdm.conf but with no luck and I don't think it is related strictly to LightDM, because if I use lightdm-gtk-greeter, I'm able to login interactively as root.

Despite this, I also tried to edit /etc/lightdm/users.conf with the following content by setting minimum-uid=0 (that should be root user). In this file is reported NOTE: If you have AccountsService installed on your system, then LightDM will use this instead and these settings will be ignored and in my Arch machine I'm using AccountsService but even if I create the file /var/lib/AccountsService/users/root with the content:

[User]
Session=
XSession=gnome
Icon=/root/.face
SystemAccount=true

the Aether theme remains on my standard user and does not allow to switch to the root user or to add manually username and password:

image

Steps To Reproduce

  1. During the installation of Arch Linux, set a password for root user and wait for the end of installation
  2. Install and configure LightDM with Aether theme
  3. Reboot and click on "Switch User"
  4. See error:
    image

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Additional context, and logs results are extremely useful here!

If relevant, include logs from the following command:
sudo tail /var/log/lightdm/seat0-greeter.log

(lightdm-webkit2-greeter:493): Gtk-CRITICAL **: 16:14:42.353: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant