How to set DISPLAY when using Niri through Display Manager and xwayland-satellite through systemd? #159
-
I am using Arch Linux and greetd. I'd like to start Niri as a session, through my Display Manager. I'd also like to start xwayland-satellite with the included systemd service file. I've enabled the xwayland-satellite systemd service and added DISPLAY to the Niri config.idl environment file : https://github.com/YaLTeR/niri/wiki/Configuration:-Miscellaneous#environment However, it seems that when you start Niri as a session through a Display Manager, the variables in Is there a way to get this setup working? Steps to reproduce
Workaround
However, this workaround is not great because it interferes with other window managers and desktop environments like Hyprland that set DISPLAY through their own mechanism. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hmm, this could be related to the fact that the service file shipped with satellite binds to/starts with Something to try would be replacing all the |
Beta Was this translation helpful? Give feedback.
-
#169 and the latest changes in Niri solves my issue! Now XDG Autostart applications will play nice with Niri sessions and xwayland-satellite. |
Beta Was this translation helpful? Give feedback.
#169 and the latest changes in Niri solves my issue! Now XDG Autostart applications will play nice with Niri sessions and xwayland-satellite.