How to start GNOME Wayland session from command line/tty? [closed]
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...