You are not logged in.

#1 2023-09-02 09:03:57

sudoku
Member
Registered: 2012-10-31
Posts: 96

Regreet does not greet any longer

So, I woke up this morning and my login manager (greetd-regreet) has stopped working, showing me a black screen with a mouse cursor (or not), and I couldn't convince it to resume its duties until I changed cage for sway.

[terminal]
vt = 1

[default_session]
command = "sway --unsupported-gpu --config /etc/greetd/sway-config"
#command = "cage -s -- regreet"
user = "greeter"

Now it works but it bugs me 1) that I have to run Sway just for my login manager and 2) that Sway feels the need to scold me because I use NVIDIA drivers.

AFAIK, cage needs either seatd or polkit now (I have both installed because hyprland-nvidia pulls both). Cage should work "out of the box" with polkit and with seatd, the user should belong to the "seat" group, which both my root user and my personal user belong to.

$ groups
seat wheel me

# groups
root seat

And seatd is enabled:

# systemctl status seatd
● seatd.service - Seat management daemon
     Loaded: loaded (/usr/lib/systemd/system/seatd.service; enabled; preset: disabled)
     Active: active (running) since Sat 2023-09-02 11:09:11 CEST; 1min 34s ago
       Docs: man:seatd(1)
   Main PID: 577 (seatd)
      Tasks: 1 (limit: 18314)
     Memory: 340.0K
        CPU: 4ms
     CGroup: /system.slice/seatd.service
             └─577 seatd -g seat

By the way, launching cage'd stuff from my user account works fine.

Now trying to debug, when I run regreet through cage, I get a

could not connect to socket /run/seatd.sock: Permission denied

and

Failed to create //.cache for shader cache (Permission denied)--disabling

After this, the login manager takes 2-3 minutes to appear.

TLDR: Regreet with cage takes way too long to activate.

Did an of you have a similar issue lately? Any hints?

Last edited by sudoku (2023-09-02 09:11:11)

Offline

#2 2023-09-02 09:18:09

sudoku
Member
Registered: 2012-10-31
Posts: 96

Re: Regreet does not greet any longer

Ok, tried disabling seatd and relying on polkit. I don't get the

could not connect to socket /run/seatd.sock: Permission denied

anymore. So that might have been a red herring. However, regreet still takes way too long to show up.

Offline

#3 2024-01-07 13:23:35

foz
Member
Registered: 2024-01-07
Posts: 1

Re: Regreet does not greet any longer

I decided a while back that having an extra WM just to run the DM was a bit excessive, so I use hyprland to run regreet too. I occasionally get a sort of kaleidoscope effect when hyprland/regreet shuts down to hand over to hyprland, but I quite like it.

/etc/greetd/config.toml

[terminal]
vt = current

[default_session]
command = "Hyprland -c /etc/greetd/hyprland.conf"
user = "greeter"

/etc/greetd/regreet.toml

[background]
path = "/etc/greetd/PSX_20230418_143537.jpg"
fit = "Contain"

[GTK]
application_prefer_dark_theme = true
cursor_theme_name = "Adwaita"
font_name = "Cantarell 16"
icon_theme_name = "Adwaita"
theme_name = "Adwaita"

[commands]
reboot = [ "systemctl", "reboot" ]
poweroff = [ "systemctl", "poweroff" ]

/etc/greetd/hyprland.conf

exec-once="regreet"

/etc/greetd/environments

Hyprland
zsh

Offline

#4 2024-01-07 17:02:42

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Regreet does not greet any longer

Thanks for the contribution, but the OP has not been back since November, so I am going to consider this thread abandoned and close it now.

Offline

Board footer

Powered by FluxBB