DevHeads.net

Cannot start a gnome-3.28.x wayland session with elogind

Hi,

Any suggestions on how to start a gnome wayland with elogind (mutter-3.28.2 is compiled against it) would be gratefully received.

I've compiled gnome-3.28.x and can start an X11 session by calling gnome-session from startx.

I know wayland works because I can start weston like this:

$ XDG_SESSION_TYPE=wayland XDG_RUNTIME_DIR=/run/user/1001 weston-launch

..and it reports WAYLAND_DISPLAY=wayland-0

However, when I try to start a gnome wayland session like this:

$ XDG_SESSION_TYPE=wayland XDG_RUNTIME_DIR=/run/user/1001 gnome-session

..I get:

(gnome-shell:2746): mutter: Failed to create backend: Unable to open display, DISPLAY not set
gnome-session-binary[2722]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1

I've verified that elogind is running and setting $DISPLAY does not change anything (isn't it for X11?).

John

Comments

RE: Cannot start a gnome-3.28.x wayland session with elogind

By John Frankish at 05/31/2018 - 07:58

I can't find a mutter mailing list, does one exist?

Meanwhile I've managed to get as far as:

$ gnome-shell --wayland
..
gnome-shell:22377): mutter WARNING: Can't initialize KMS backend: Could not get session ID: No such file or directory.

Is there an equivalent to "weston-launch" for gnome-shell?

John