You are not logged in.
Pages: 1
Topic closed
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 seatAnd 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 seatBy 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 deniedand
Failed to create //.cache for shader cache (Permission denied)--disablingAfter 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
Ok, tried disabling seatd and relying on polkit. I don't get the
could not connect to socket /run/seatd.sock: Permission deniedanymore. So that might have been a red herring. However, regreet still takes way too long to show up.
Offline
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
zshOffline
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
Pages: 1
Topic closed