[OE-core] Loss of a wayland socket by a systemd user session

Tomas Novotny tomas at novotny.cz
Fri Nov 18 18:12:52 UTC 2016


Hi all,

I'm using weston and its 'weston-start' script shipped with oe-core (morty).
It works perfectly until root is logged in. The problematic path is:

1) 'weston-start' is started during boot. XDG_RUNTIME_DIR for root doesn't
exist so it is created and 'wayland-0' socket is created in that directory.
So far so good.

2) When root is logged in, systemd user session is started via 'systemd
--user'. This replaces original XDG_RUNTIME_DIR (new tmpfs is mounted over
it) and the 'wayland-0' socket is lost. Logout doesn't help, the original
XDG_RUNTIME_DIR is deleted. You can imagine that weston doesn't work properly
without that socket.

Is there any proper way to fix it?

Thanks,

Tomas




More information about the Openembedded-core mailing list