FS#42117 - [gnome-session] cannot start gnome-wayland

Attached to Project: Arch Linux
Opened by James (thx1138) - Thursday, 25 September 2014, 18:45 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 27 September 2014, 01:25 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

gnome-session Ver: 3.14.0-1
wayland Ver: 1.6.0-1
linux Ver: 3.16.3-1
xorg-server Ver: 1.16.1-1

Starting gnome from "startx" with "exec gnome-session --session=gnome-wayland" in ~/.xinitrc, gnome-session starts Xorg, which then exits a few seconds later. Starting with "exec env GDK_BACKEND=wayland gnome-session --session=gnome-wayland" starts Xorg but does not exit, leaving a black screen and no way to terminate the session without using a remote terminal. Using only "exec gnome-session" starts gnome on Xorg.

Is there some other "proper" way to start gnome on wayland?

James
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 27 September 2014, 01:25 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Thursday, 25 September 2014, 23:52 GMT
So you're doing all of this in .xinitrc and expecting it to run without X?
Comment by James (thx1138) - Friday, 26 September 2014, 03:44 GMT
Ha! Thanks for that.

I see that "gnome-session --session=gnome-wayland" from the command line will start gnome, but "env GDK_BACKEND=wayland gnome-session --session=gnome-wayland" will simply exit immediately.

I have to wonder, then, how does gdm start gnome with wayland? I presume that gdm still runs on Xorg, and that it would have to terminate Xorg and then start gnome on wayland if a wayland session is chosen. And then, similarly, gnome-session is not checking to see if Xorg is running, and not automatically terminating Xorg to start gnome on wayland.

Hmm - should gnome-session with "--session=gnome-wayland" check to see if Xorg is running and automatically terminate Xorg?


James
Comment by Doug Newgard (Scimmia) - Saturday, 27 September 2014, 01:25 GMT
Since you got it working, I'm going to close this. If you need some help, please use the forum or mailing list.

Loading...