You are not logged in.

#1 2015-02-21 22:38:27

erwanl
Member
Registered: 2015-02-19
Posts: 5

Set a default GDM session (not the last used)

Hi,

I'm using autologin with GDM and I want it to always open a specific session. Basically, my install is an arcade cabinet and I want it to open my Mame front-end. Once in a while I will log out to login in a regular XFCE session to perform some tasks. It appears that GDM always considers the last session as the "preferred" session, so when I do that, it will open XFCE rather than my Mame session.

Is there a way to tell to GDM to just stick with a default session, ignoring what session was used last?

Alternatively, is there another DM that would let me have this behavior?

Offline

#2 2015-02-22 02:51:05

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: Set a default GDM session (not the last used)

Not sure how accurate this is, but have you looked into your gdm.conf file?
There is an option

GnomeDefaultSession

    GnomeDefaultSession=share/gnome/default.session

    The filename which GDM should read if there is no per user GNOME session file, and the user has requested the Gnome Chooser session.

Not sure if this is what you are looking for, but I hope it helps.


Knute

Offline

#3 2015-02-22 08:36:14

erwanl
Member
Registered: 2015-02-19
Posts: 5

Re: Set a default GDM session (not the last used)

Yes, I tried but this option is only a default for users who never logged in. As soon as a user logs in, the preselected option will be the last session.

Offline

Board footer

Powered by FluxBB