How to start gnome-wayland session from command line?

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

Never mind, I found the solution:

gnome-session --session gnome-wayland

GNOME / Wayland in Fedora | Goings on

[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...

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: