Cannot run GUI applcations when started under systemd except when run under strace -f too #2098
-
I'm having an incredibly strange issue: when I run rofi under systemd using
Now, I decided to debug this using One more thought I had is that this would somehow cause the environment variables to be different, I also doubt anything with the systemd environment is fundamentally wrong, as rofi's GUI shows just fine and any other GUI applications I have tried to start also work when run directly with systemd-run. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think its because rofi binary exits, then systemd-run cleans up that session, including the spawned program. if you keep the service around (-r) it works, but this then will stay around. I don't use systemd-run, so not sure what the solution is? maybe to make rofi use systemd-run to launch the client? |
Beta Was this translation helpful? Give feedback.
I think its because rofi binary exits, then systemd-run cleans up that session, including the spawned program.
if you keep the service around (-r) it works, but this then will stay around.
I don't use systemd-run, so not sure what the solution is? maybe to make rofi use systemd-run to launch the client?