After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 592340 - logout is folowed by an automatic login, with automatic login enabled
logout is folowed by an automatic login, with automatic login enabled
Status: RESOLVED DUPLICATE of bug 587606
Product: gdm
Classification: Core
Component: general
2.27.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-19 14:23 UTC by Nicolò Chieffo
Modified: 2009-08-31 10:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolò Chieffo 2009-08-19 14:23:47 UTC
If I enable automatic login, the logout command kills my session, but immediately restarts a new one, instead of prompting the user list.

I think that the expected behavior is to give the possibility to login as another user, instead of forcing the same login again
Comment 1 Brian Cameron 2009-08-19 23:03:08 UTC
I think you misunderstand the purpose of Automatic Login.  This is how Automatic Login works.  You can use Timed Login if you want the login screen to appear for a period of time to give other users an opportunity to log in.
Comment 2 Nicolò Chieffo 2009-08-20 08:16:06 UTC
Are you sure you don't misunderstand logout? When I want to log out I don't want to login again.
Or at least you should propose another option: automatically login only the first time

Anyway previously it worked correctly (with 2.20 if I'm not wrong), see this bug https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/43299
Comment 3 Brian Cameron 2009-08-20 16:43:20 UTC
I see.  Yes, you are right the old GDM 2.20 only did AutomaticLogin on the first login.  That said, there are use cases for both behaviors.  For example, in kiosk environments where you have multiple displays and you want each display to log back into a specified user if they somehow log out.  It might be useful to make this configurable so it either can work all the time or just on first login.

Also note the old GDM supported the ability to specify a script which would return the login name to use, and if it returned an invalid name, then it would not AutomaticLogin.  If this were added back, then such a script could be used to get the behavior you want, and just return a valid username on first-time login (perhaps by checking a /tmp/file and only returning the username if it is not there and then touching the file).
Comment 4 Sebastien Bacher 2009-08-31 10:57:11 UTC
duplicate bug #587606

*** This bug has been marked as a duplicate of bug 587606 ***