I don't want to default to the last session. I want to always run Xfce unless I change to a different session that particular time. I couldn't accomplish this. The session I log in with gets written to /var/lib/lightdm/.cache/lightdm-gtk-greeter/state, /var/cache/lightdm/dmrc/bgjenero.dmrc and /home/bgjenero/.dmrc, but even if all of those files are set to xfce, I still default to the last session that I logged in with.
This needs to be set via AccountsService, like dbus-send --print-reply --system --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User1000 org.freedesktop.Accounts.User.SetXSession string:xfce
I don't want to default to the last session. I want to always run Xfce unless I change to a different session that particular time. I couldn't accomplish this. The session I log in with gets written to
/var/lib/lightdm/.cache/lightdm-gtk-greeter/state
,/var/cache/lightdm/dmrc/bgjenero.dmrc
and/home/bgjenero/.dmrc
, but even if all of those files are set to xfce, I still default to the last session that I logged in with.