How to start GNOME Wayland session from command line/tty? [closed] How to start GNOME Wayland session from command line/tty? [closed] linux linux

How to start GNOME Wayland session from command line/tty? [closed]


A working solution per Jonas Ã…dahl a mutter developer:

Usually what I do is switch to a VT and run:

dbus-run-session -- gnome-shell --display-server --wayland


XDG_SESSION_TYPE=wayland dbus-run-session gnome-session

to force firefox and QT applications as well to wayland, in 2019-12-31 they do not respect XDG_SESSION_TYPE=wayland:

MOZ_ENABLE_WAYLAND=1 QT_QPA_PLATFORM=wayland XDG_SESSION_TYPE=wayland dbus-run-session gnome-session

if it should log out the command line session after pressing "logout" in the gnome GUI, add an exec:XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session

From docs: https://wiki.archlinux.org/index.php/GNOME#Wayland_sessions


Never mind, I found the solution:

gnome-session --session gnome-wayland

Source:
GNOME / Wayland in Fedora | Goings onhttps://blogs.gnome.org/mclasen/2013/10/03/gnome-wayland-in-fedora/

[EDIT]This no longer seems to work with recent fedora (24). At the moment I haven't found a solution for this. The only way I get Wayland working these days is to use the gear at login and set the system to log into wayland. If anyone has a solution to this...