On Mon, 03.03.14 15:30, Yuxuan Shui (yshu...@gmail.com) wrote:

Heya,

> That's why I'm writing this mail. I want to point out the reason
> behind use systemd as a session manager, so you will probably
> understand why I want to do this and help me. Since I can't get this
> done by myself with my limited systemd knowledge.

You should be able to place your WM in a systemd user service. Then,
when you log in, do something like this:

  systemctl import-environment DISPLAY XAUTHORITY
  systemctl start my-wm.service

The first command will upload the $DISPLAY variable into the systemd
user instance. The second instance will then spawn the WM.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to