I verified this does add the targets, without enabling them.
with systemd 229-4ubuntu7:
ubuntu@lp1640293:~$ systemctl --user status graphical-session{,-pre}.target
● graphical-session.target
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
● graphical-session-pre.target
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
after adding xenial-proposed repo and upgrading to systemd 229-4ubuntu13:
ubuntu@lp1640293:~$ systemctl --user status graphical-session{,-pre}.target
● graphical-session.target - Current graphical user session
Loaded: loaded (/usr/lib/systemd/user/graphical-session.target; static; vendor preset: enabled)
Active: inactive (dead)
Docs: man:systemd.special(7)
● graphical-session-pre.target - Session services which should run early before the graphical sessio
Loaded: loaded (/usr/lib/systemd/user/graphical-session-pre.target; static; vendor preset: enable
Active: inactive (dead)
Docs: man:systemd.special(7)
I verified this does add the targets, without enabling them.
with systemd 229-4ubuntu7:
ubuntu@lp1640293:~$ systemctl --user status graphical- session{ ,-pre}. target session. target
● graphical-
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
● graphical- session- pre.target
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
after adding xenial-proposed repo and upgrading to systemd 229-4ubuntu13:
ubuntu@lp1640293:~$ systemctl --user status graphical- session{ ,-pre}. target session. target - Current graphical user session systemd/ user/graphical- session. target; static; vendor preset: enabled) special( 7)
● graphical-
Loaded: loaded (/usr/lib/
Active: inactive (dead)
Docs: man:systemd.
● graphical- session- pre.target - Session services which should run early before the graphical sessio systemd/ user/graphical- session- pre.target; static; vendor preset: enable special( 7)
Loaded: loaded (/usr/lib/
Active: inactive (dead)
Docs: man:systemd.