Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 194541

Summary: gnome-extra/fast-user-switch-applet-2.18.0 hangs machine
Product: Gentoo Linux Reporter: James <James>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: anarki, James, ssl, z23
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard: Appears to be caused by gdmflexiserver
Package list:
Runtime testing required: ---
Attachments: emerge --info
Xorg.0.log as requested
Xorg.20.log as requested

Description James 2007-10-02 19:27:09 UTC
When switching from one user to the other in gnome. The second user's screen hangs the machine. No keyboard input is possible. If one remotely ssh into the machine and restarts gdm/xdm, the machine starts to respond again.
This is with both the nv and nvidia drivers.
This used to work fine with previous version of xorg.

Reproducible: Always
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-10-02 22:21:56 UTC
please provide emerge --info, (works for me otherwise)
do you have stuff like consolekit or pam_console installed ?
I suppose from reading your comment that this happened when you updated to a newer version of xorg. Did you manage to narrow down your problem to a specific package ? 
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-10-02 22:22:04 UTC
please provide emerge --info, (works for me otherwise)
do you have stuff like consolekit or pam_console installed ?
I suppose from reading your comment that this happened when you updated to a newer version of xorg. Did you manage to narrow down your problem to a specific package ? 
Comment 3 James 2007-10-02 22:46:33 UTC
Created attachment 132428 [details]
emerge --info
Comment 4 James 2007-10-02 22:49:23 UTC
pam_console is not installed.
consolekit is installed, but I don't know if I am using it or not.

Output from eix:
[I] sys-auth/consolekit
     Available versions:  0.2.1 0.2.3 {debug pam}
     Installed versions:  0.2.3(21:04:42 19/09/07)(pam -debug)
     Homepage:            http://www.freedesktop.org/wiki/Software/ConsoleKit
     Description:         Framework for defining and tracking users, login sessions and seats.

* sys-auth/pam_console
     Available versions:  0.99.7.0.2.7-r1
     Homepage:            http://cvs.fedora.redhat.com/viewcvs/devel/pam/
     Description:         pam_console module for PAM
Comment 5 James 2007-10-02 22:50:28 UTC
I don't know how to narrow down the problem.
It certainly did go wrong when I upgraded xorg.
Comment 6 Slobodan D. Sredojevic 2007-10-07 19:31:12 UTC
Confirming this with:
x11-base/xorg-server-1.4-r2
x11-drivers/xf86-video-ati-6.6.3
ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS

Noticed hangs a month ago when upgraded xorg-x11 from 7.2 to 7.3.
Upgrade to the latest gnome (2.20) and masked xf86-video-ati make no difference.

In other words - gdmflexiserver ,that is called by fast-user-switch-applet hangs machine.

Comment 7 James 2007-10-07 22:40:53 UTC
I can confirm that the symptoms are exactly the same as if one ran "gdmflexiserver" from a terminal window.

Is this therefore instead a gdmflexiserver bug?
Comment 8 Slobodan D. Sredojevic 2007-10-21 00:14:32 UTC
James: xorg-x11 downgrade to the 7.2 state makes this bug dissappear no matter if it is gdm from Gnome 2.18.x or 2.20.x series (for downgrade workaround, please look here: 
http://forums.gentoo.org/viewtopic-t-598895.html )

However, would you, at this state, gather and attach at this bug report /var/log/Xorg.0.log log file after you ssh to the machine. Maybe this may reveal something. Thanks.
Comment 9 James 2007-10-21 01:11:18 UTC
Created attachment 133995 [details]
Xorg.0.log as requested
Comment 10 James 2007-10-21 01:11:40 UTC
Created attachment 133996 [details]
Xorg.20.log as requested
Comment 11 James 2007-10-21 01:13:12 UTC
I don't think the Xorg logs show anything useful.
Comment 12 Marc Geerlings 2007-10-25 08:37:27 UTC
This is indeed a problem of gdmflexiserver. "New login in a Window" doesn't work either. It started with the upgrade of xorg to 7.3, it occurs with gnome 2.18 and 2.20 (amd64).
Comment 13 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-10-25 15:27:42 UTC
My gdmflexiserver doesn't work either.
Comment 14 Mart Raudsepp gentoo-dev 2007-11-21 12:56:21 UTC
As an update, we are waiting on xorg-server-1.4.1 before investigating this further. Chances are that it will just be fixed with it, as 1.4 is having lots of issues in these fields (which is also one reason why xorg-server-1.4 isn't stabled yet). If the issue remains with 1.4.1, that is coming out this week, we can investigate further.
Comment 15 Mart Raudsepp gentoo-dev 2007-12-16 07:47:40 UTC
Is this still a problem with xorg-server-1.4.0.90?
Comment 16 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-12-16 10:20:57 UTC
with gdm-2.20.2 + xorg-server-1.4.0.90 and latest fusa, everything works for me.
Comment 17 Slobodan D. Sredojevic 2007-12-16 13:35:13 UTC
Mart: xorg-server-1.4.0.90 fixed this, as you predicted, for me too.
Thanks for watching this out!

May I ask you all to test if adding fast-user-switch-applet (as part of all this user-switching) to the panel works? I am experiencing crashes and there is upstream bug report with patches included that solve crasher:

http://bugzilla.gnome.org/show_bug.cgi?id=485158
Comment 18 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-12-16 23:10:58 UTC
(In reply to comment #17)
> May I ask you all to test if adding fast-user-switch-applet (as part of all
> this user-switching) to the panel works? I am experiencing crashes and there is
> upstream bug report with patches included that solve crasher:

it should be fixed already in 2.20.0-r1
Comment 19 James 2007-12-17 00:20:51 UTC
I can now switch between users without the screen hanging.
A cannot seem to do this though:
Right mouse click on panel->Add to panel and select "user switcher".
It just never gets displayed.
So, I suppose I am half way there now.
Comment 20 Slobodan D. Sredojevic 2007-12-17 01:19:23 UTC
Gilles: yes, the latest -r1 revision made mentioned bug in #17 disappear. Thanks!
Comment 21 James 2007-12-17 21:51:43 UTC
This now works:
Right mouse click on panel->Add to panel and select "user switcher".

Solution:
install gnome-extra/fast-user-switch-applet-2.20.0-r1
then logout, then back in again.
One can then add the "user switcher" to the gnome panel again.

I believe this is now fixed.