Xubuntu / lightdm-gtk-greeter

A GTK greeter for LightDM
GNU General Public License v3.0
155 stars 31 forks source link

Can't not default to last session #163

Closed dreamlayers closed 8 months ago

dreamlayers commented 8 months ago

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.

dreamlayers commented 8 months ago

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