Bug 532090

Summary: Autologin always logs you in.
Product: [openSUSE] openSUSE 11.2 Reporter: Forgotten User w4XUsT47_R <forgotten_w4XUsT47_R>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P2 - High CC: dliang, rastislav.krupansky, spencerpaulfrench, vuntz
Version: Milestone 5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User w4XUsT47_R 2009-08-18 13:26:33 UTC
Clean install of openSuSE 11.2 milestone 5. Enabled autologin during setup. Autologin works after boot. However if I manually log off, I am automatically logged in again.

Steps to reproduce

- Enable autologin during install
- Once logged in, click on Computer, logout, log out.

Result:
- User is automatically logged in again

Expected result:
- Should have been presented with the Gnome login screen as it was in all previous versions of openSuSE.
Comment 1 David Liang 2009-08-21 08:38:17 UTC
haha, the opposite bug is bnc#525566.

In SLED11, gdm-autologin.patch is added to realize this requirement.
Comment 2 Vincent Untz 2009-08-21 09:49:31 UTC
(In reply to comment #1)
> In SLED11, gdm-autologin.patch is added to realize this requirement.

This patch is supposed to be upstream now, so it should be in our tarballs...
Comment 3 David Liang 2009-08-24 03:23:48 UTC
in gdm-static-display.c:gdm_static_display_unmanage

        /* Only allow timed/automatic login once */
        GDM_STATIC_DISPLAY (display)->priv->enable_timed_login = FALSE;

is not in our tarballs. (opensuse11.2)
Comment 4 Rastislav Krupansky 2009-09-11 05:48:35 UTC
Still isn´t fixed in M7.
But worse thing is, that it´s impossible restart machine. When i click restart, system is logged out and logged in back to Gnome.
a similar behaviour as is mentiond in https://bugzilla.novell.com/show_bug.cgi?id=537329#c5
This is basic stuff what should work, undebated.
Comment 5 Bin Li 2009-09-11 08:01:59 UTC
Rastislav,

 You need install the polkit and polkit-gnome for restart correctly.
Comment 6 Rastislav Krupansky 2009-09-11 10:32:04 UTC
(In reply to comment #5)
> Rastislav,
> 
>  You need install the polkit and polkit-gnome for restart correctly.

polkit and polkit-gnome are installed.

linux@linux:~> rpm -q polkit polkit-gnome
polkit-0.94-2.2.i586
polkit-gnome-0.94-1.4.i586

linux@linux:~> rpm -q -changelog polkit
* Wed Aug 19 2009 vuntz@novell.com
- Add Requires on polkit to libpolkit0: all applications using
  libpolkit0 will really need polkit to be installed to work
  properly.

linux@linux:~> rpm -q -changelog polkit-gnome
* Thu Aug 13 2009 kay.sievers@novell.com
- Update to version 0.94:
  - Add library with a PolkitLockButton widget
  - Make use of new API to better cope with one-shot authorizations
- Create libpolkit-gtk-1-0 package, and devel package.
Comment 7 Rastislav Krupansky 2009-09-27 18:38:29 UTC
I am just trying Factory LiveCD, build 0300 and autologin instead restart still exists. Reproducible on different hardware.
linux@linux:~> rpm -q polkit polkit-gnome
polkit-0.94-2.3.i586
polkit-gnome-0.94-1.8.i586
Comment 8 Vincent Untz 2009-10-02 11:21:25 UTC
I've pushed a fix for this in GNOME:Factory (unfortunately, the build service seems to loop on the build, so the package isn't built yet).
Comment 9 Dominique Leuenberger 2009-10-05 13:47:15 UTC
*** Bug 544328 has been marked as a duplicate of this bug. ***