> sudo killall -9 Xorg
This causes some havoc -- as this does not actually stop anything in the
session, random services just start failing the next time they try to
talk to X. Due to our Restart=on-failure, these units then try to
restart a few times until they hit the restart limit and go to "failed".
So this is rather rude -- just log out instead, or do "kill -9 -1" to
kill your user processes.
That said, I think it's ok that services go to "failed" as long as the
next login properly restarts them, which brings us to..
> In general any script which is on graphical-session doesn't get
Indeed this does kill ubuntu-session.target and its associated services
like unity7.service. But we don't configure a requirement in the other
direction, i. e. graphical-session.target does not stop when ubuntu-
/usr/lib/gnome-session/run-systemd-session has a loop to clean up failed
units, but appparently that's not wide enough yet.
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-session in Ubuntu.
unity-gtk-module.service is racy; session services don't stop if
To manage notifications about this bug go to:
desktop-bugs mailing list