> As I said, you just need to ensure that when you startx, your session
> launch 'systemctl --user wm.target' automatically. I put this command in my
> '.xprofile' (because the *DM usually source this file), and my .xinitrc
> contains
> [ -r "$HOME/.xprofile" ] && . "$HOME/.xprofile"
> so it works
From arnaud gaboury, Fri 07 Nov 2014 at 21:00:14 (+0100) :
> I maybe was not explicit enough.
> I have a bunch of user services started as soon as I log in.
> then I $ startx
>
> After this command, I would like systemctl --user start some services
> (window manager, etc).
Yes, this is the same s
>
> I don't understand, if you start X manually, why don't you launch
> systemctl --user wm.target from your .xprofile or an equivalent file?
>
I maybe was not explicit enough.
I have a bunch of user services started as soon as I log in.
--
> My plan is to use after X is started a second target, let's call it
> wm.target, with all services relevant to the X session. For now, I
> have no idea how to define After=
> It can't be right after the console.target as X need to be started first.
I don't understand, if you start X manually, wh
I am starting my user services with systemctl --user as possible as I can.
I log in my session on VT with startx. I thus defined a first target,
called console.target, for services than do not need X (dbus,urxvtd,
ssh-agent, gpg-agent, tmux). The default.target is symlinked to it.
Unfortunately, I