View Single Post
Old 4th February 2015, 07:59 PM
upnort Offline
Registered User
Join Date: Oct 2014
Location: milky way
Posts: 556
Re: GDM Default Session

A global default session can be defined in /etc/gdm/custom.conf:


That said, GDM stores each user's last session in /var/lib/AccountsService/users/$USER:


I do not know of a way to configure GDM to ignore the last session used and force using a desired default with each new login. A work-around would be to run a PostSession script to always modify /var/lib/AccountsService/users/$USER.

In /etc/gdm/PostSession/Default, try adding something like this:

sed -i 's|^XSession=.*|XSession=mate|' /var/lib/AccountsService/users/$USER
Reply With Quote