Xubuntu / lightdm-gtk-greeter

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

Can't not default to last session #163

Closed dreamlayers closed 3 months ago

dreamlayers commented 3 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 3 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