More than this unit, it seems related to the fact that it doesn't get deactivated on events such as Xorg being killed. And this is not the only module with this issue. Also gnome-keyring-ssh.
In general any script which is on graphical-session doesn't get stopped. And in fact: sudo killall -9 Xorg marco@ubuntu-vmware:~:0$ systemctl --user status graphical-session.target ● graphical-session.target - Current graphical user session Loaded: loaded (/usr/lib/systemd/user/graphical-session.target; static; vendor preset: enabled) Active: active since mer 2016-08-31 13:48:21 CEST; 54s ago Docs: man:systemd.special(7) ago 31 13:48:21 ubuntu-vmware systemd[6159]: Reached target Current graphical user session. -- You received this bug notification because you are a member of DX Packages, which is subscribed to unity-gtk-module in Ubuntu. https://bugs.launchpad.net/bugs/1618886 Title: unity-gtk-module.service is racy Status in unity-gtk-module 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/unity-gtk-module/+bug/1618886/+subscriptions -- Mailing list: https://launchpad.net/~dx-packages Post to : dx-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~dx-packages More help : https://help.launchpad.net/ListHelp