r/voidlinux • u/Radicalized_By_You • Jan 21 '26
Waybar does not start with niri session from display manager but does if started from TTY directly
My niri config includes spawn-at-startup "waybar" at the top. When I login via lightdm the niri session starts but without spawning waybar. When I switch to a TTY and launch debus-run-session niri the session opens with the waybar instance. How can I troubleshoot this? I've left the default lightdm configuration untouched. Seems odd but every line is commented out in /etc/lightdm/lightdm.conf except under [Seat:*] the line session-wrapper=/etc/lightdm/Xsession is uncommented.
1
Upvotes
1
u/eftepede Jan 21 '26
What will happen when you start niri from the login manager then open the terminal there and try to start waybar?
1
u/Duncaen Jan 21 '26
You should have a dbus session bus assigned at login by elogind. Running a separate session should not be needed or makes it worse by having multiple session busses.
2
u/[deleted] Jan 21 '26
[removed] — view removed comment