[systemd-devel] Question about the cross session dependence

Łukasz Stelmach l.stelmach at samsung.com
Thu Apr 25 04:50:02 PDT 2013


It was <2013-04-22 pon 17:43>, when Lennart Poettering wrote:
> On Mon, 22.04.13 00:58, Kok, Auke-jan H (auke-jan.h.kok at intel.com) wrote:
>> On Sun, Apr 21, 2013 at 6:49 PM, Li, Min A <min.a.li at intel.com> wrote:
>> > I have a question about the dependence of user and system
>> > session. At system session, there is a service which need to be
>> > started after X(user session).
>> >
>> > At first I added “After=xorg.target” at this service, but It is
>> > said that the dependence of cross session is not work. Is that
>> > true?
>> 
>> The user session instance does not know anything about the state of
>> system services. So yes.

[...]
>
> The much nicer way it to simply teach X11 socket activation. Then you
> can run it either from the system instance of systemd, or the user
> instance, and things would just work...

I've got a patch for X to make it socket "activatable". I hope to
release it soon.

-- 
Łukasz Stelmach
Software wizzard
Samsung Poland R&D Center



More information about the systemd-devel mailing list