Graphical root prompt

I just reinstalled EndeavourOS with only the base packages, and a custom BSPWM setup. While using the official community edition of BSPWM, I remember there being a popup that opened whenever I needed to enter my password, e.g. while opening lightdm-gtk-greeter-settings, or when flashing a USB drive with Etcher. Now when I try to do either of those things, it simply doesn’t work. Starting lightdm-gtk-greeter-settings through the terminal, it asks me to start the program with sudo. What program do I install to get the popup back?

Slightly OT:

1 Like

pkexec??

Tried it, it doesn’t seem to work. Do I have to set it up or something?

# Polkit
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &

Had a quick look at the bspwm config and I think this is the line that does it, but am at work so cannot test.

Recently the greeter changed from lightdm-gtk-greeter TO lightdm-slick-greeter for the default greeter installed by Calamares. So unless you manually installed lightdm-gkt-greeter it won’t be there per:

So if you want to use lightdm-gtk-greeter, you need to install:

sudo pacman -S lightdm-gtk-greeter lightdm-gtk-greeter-settings

Then edit /etc/lightdm/lightdm.conf

scroll down past “General Configuration”, down to “Seat Configuration” and then to the line
[Seat:*]
About sixteen lines below this is the “greeter-session” key (they call the config settings “keys”)
#greeter-session=example-gtk-gnome
The # indicates a comment, so this key is disabled and it uses the default of lightdm-gtk-greeter

What you may see is:
greeter-session=lightdm-slick-greeter

If so, comment that statement out by putting a # in front of it
#greeter-session=lightdm-slick-greeter

save the file.

The way it works, if all “greeter-session=” entries are commented out, it uses lightdm-gtk-greeter as a default.

If there is a “greeter-session=” with no preceding #, it uses that.

If you want to use the installed lightdm-slick-greeter make sure there is an entry of
greeter-session=lightdm-slick-greeter.
without a # in front.

you might want to also do a

sudo systemctl status lightdm.service

and make sure lightdm shows enabled. If it isn’t, enable it.
sudo systemctl enable lightdm.service

See here for further information on lightdm-slick-greeter

Pudge

2 Likes