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

John Frankish <[email protected]> Thu, 31 May 2018 12:58:20 +0000
Newsgroups gmane.comp.gnome.general
Message-ID <AM0PR0402MB342689360A81279EC2B1ABB1F3630@AM0PR0402MB3426.eurprd04.prod.outlook.com>
> 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?).
> 
Is there a better mailing list to use to ask questions like this?

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