Bug 532124 - xguest does not work reasonably with fast user switching
Summary: xguest does not work reasonably with fast user switching
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gdm
Version: 20
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-30 18:43 UTC by Bruno Wolff III
Modified: 2015-06-29 11:35 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-29 11:35:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bruno Wolff III 2009-10-30 18:43:19 UTC
Description of problem:
It is possible to switch away from the xguest session using fast user switching, but not back to it. When switching back you get prompted for a password which isn't usable.
Either fast user switching for xguest should be disabled or switching back should get fixed.
Note that i was able to fast user switch to xguest to create a session. Was there was a current session I could no longer do this.

Version-Release number of selected component (if applicable):
xguest-1.0.7-7.fc12.noarch

How reproducible:
Seems to be 100%

Steps to Reproduce:
1. Login into xguest.
2. Switch to another user.
3. Try to switch back to xguest.
  
Actual results:
Password is required but not usable.

Expected results:
No password required.

Additional info:
This is the first line in /etc/pam.d/gdm-password :
auth     [success=done ignore=ignore default=bad] pam_selinux_permit.so

Comment 1 Daniel Walsh 2009-10-30 19:56:44 UTC
I think we need to prevent fast user switching away form xguest, because the login program will not allow you to login without a password if there is a xguest session running.

Comment 2 Bruno Wolff III 2009-10-30 21:30:21 UTC
I can't easily test the F11 version as all of my machines are F12 now. If it looks like you need me to do a test of this (which seems unlikely), I look at making an F12 build based on the changes made for the F11 build.

Comment 3 Bug Zapper 2009-11-16 14:43:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Bug Zapper 2010-11-04 06:57:27 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Josh Stone 2010-11-23 07:04:11 UTC
This is still an issue on xguest-1.0.9-1.fc14.noarch

Comment 6 Daniel Walsh 2010-11-23 14:53:46 UTC
Ray,  Is there a way to differentiate between fastuser switching and initial login?

Comment 7 Daniel Walsh 2010-11-23 14:54:18 UTC
Also is there an app that xguest starts that allows it to do fast user switching?

Comment 8 Tomas Mraz 2010-11-23 15:32:12 UTC
What is doing the PAM authentication when switching back to a running session?

Comment 9 Daniel Walsh 2010-11-23 15:36:18 UTC
I think it is all being done with gdm.

Comment 10 Tomas Mraz 2010-11-23 16:10:29 UTC
If it is so, then it's probably just a matter of gdm properly calling PAM for authentication. It needs to set the effective uid to the user's uid so pam_sepermit does not enforce the exclusive session locking. For gnome-screensaver it should work fine as it is always running with the user's uid.

Comment 11 Tobias Fiebig 2012-02-08 10:29:12 UTC
This bug seems to be still there in all recent Fedora Versions, although it is
kind of critical for use with 'lesser experienced users' on notebooks.
It is possible to prevent them from turning off the system until someone with higher privileges fixes this.

Comment 12 Daniel Walsh 2012-05-04 14:11:08 UTC
Ray if you have some time next week, maybe we can work on this.

Comment 13 Ray Strode [halfline] 2012-05-04 20:15:52 UTC
sure.

Comment 14 Daniel Walsh 2012-11-07 21:27:39 UTC
*** Bug 870592 has been marked as a duplicate of this bug. ***

Comment 15 Dustin Frisch 2013-10-15 20:50:17 UTC
This is still valid for Fedora 19.

Comment 16 Alexander Bisogiannis 2014-02-23 09:05:04 UTC
Still valid in F20.

BTW, this also happens when the notebook goes to sleep. When it wakes up again, it is impossible to login to the xguest session.

Note that both logging in from sleep and user switching is fixed in the RHEL/CentOS6 xguest.

Comment 17 Tobias Fiebig 2015-02-09 18:21:04 UTC
This was dormant for quiet some time now. Is there any chance that the fixes for RHEL6 will make it into fedora?

Comment 18 Bruno Wolff III 2015-05-18 23:09:25 UTC
I am having trouble getting switch user to work in f21 with xfce. I changed to using gdm for the display manager so that dwitch user was not greyed out, but when I selrcted that uption nothing happened. This was the case whether I was logged in a xguest or my normal account.

Comment 19 Fedora End Of Life 2015-05-29 08:36:25 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 20 Fedora End Of Life 2015-06-29 11:35:15 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.