Allow to set default session via env
GDM requires gnome-session for greeter, /usr/share/xsessions/gnome.desktop is pulled by dependencies, and, if it exists, and it does exist, gnome session is the default. But we need the XFCE session to be the default!
Idea to modify this code to solve the described problem was taken from a patch in Ubuntu.