This isn't quite enough in this situation. - Log in over SSH or in a vt (so there is a logind session alive for your user) - Log into the same user in Unity - Simulate an Xorg crash (pkill -f -SEGV Xorg) - Log back in
You don't have GTK_MODULES set properly. The previous gnome-session is lingering. To fix that, something like comment #3 is needed. Such as looping over all 'active' units that are PartOf graphical-session.target and stopping them all. gnome-session needs a fix to its ExecStopPost to not kill the one we just started. I'll upload this and it can be reviewed in the queue. ** Changed in: gnome-session (Ubuntu) Status: Fix Released => Triaged ** Changed in: gnome-session (Ubuntu) Importance: Undecided => High ** Changed in: upstart (Ubuntu) Status: Fix Released => Triaged ** Changed in: upstart (Ubuntu) Importance: Undecided => Medium ** Changed in: gnome-session (Ubuntu) Importance: High => Medium ** Changed in: gnome-session (Ubuntu) Assignee: Martin Pitt (pitti) => Iain Lane (laney) ** Changed in: upstart (Ubuntu) Assignee: Martin Pitt (pitti) => Iain Lane (laney) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to upstart in Ubuntu. https://bugs.launchpad.net/bugs/1618886 Title: unity-gtk-module.service is racy; session services don't stop if session terminates Status in gnome-session package in Ubuntu: Triaged Status in unity-gtk-module package in Ubuntu: Fix Released Status in upstart package in Ubuntu: Triaged Bug description: Sometimes on session start unity-gtk-module.service runs too late or something, and $GTK_MODULES does not include "unity". It is in "systemctl --user show-environment" but not in a terminal bash. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1618886/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp