Bug 355013

Summary: nvidia: unexpected logouts when switching KDE user sessions
Product: [openSUSE] openSUSE 10.3 Reporter: Matthew Mah <mattm3a>
Component: X11 3rd Party DriverAssignee: Roland Hui <rohui>
Status: RESOLVED WONTFIX QA Contact: Stefan Dirsch <sndirsch>
Severity: Major    
Priority: P5 - None CC: forgotten_Xh41Ao4q6j, Markus.Elfring, mattm3a
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 10.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: xsession-errors from user that was logged out

Description Matthew Mah 2008-01-21 01:50:18 UTC
When switching users in KDE, the old session sometimes logs out. The problem is intermittent, but can occur both when using Switch User->Start New Session as well as when the user session is already started, and switching using ctrl+alt+F7 (or F8, etc.). Sometimes the first vt (e.g. vt7) disappears entirely and the new session replaces the old vt. Sometimes the new session will occupy vt8 and the vt7 will show a separate KDE login. 

Expected Behavior:
It is expected that users can switch between sessions with all sessions remaining logged in. 

Known Version Info:
KDE version 3.5.7 "release 72.6"
This problem appeared recently (within last week). Perhaps it's a result of the recent patches for fileshareset and kdelibs3?
Comment 1 Forgotten User Xh41Ao4q6j 2008-01-22 18:35:50 UTC
I had the same, wandring what was happening, but starting Google Earth does the same, as well as entering the screen to configure screen saver, both crashes Xorg. 

I got those logouts without second session, just by leaving computer inactive. After I was back I had kdm login screen. The Xorg crash I found starting Google Earth. The second I found in attempt to disable screen saver. There is no GUI way to disable screen saver. 

I raised priority to High and severity to Major, as Xorg crash on screensaver start, with opened applications left on a desktop, can do some damage. 
Comment 2 Forgotten User Xh41Ao4q6j 2008-01-24 09:48:43 UTC
My problem seems to be solved using Nvidia driver 169.09 downloaded from 
ftp://download.nvidia.com/XFree86/Linux-x86/169.09/NVIDIA-Linux-x86-169.09-pkg1.run 

Attempt to reinstall nvidia-gfxG01-kmp-default-169.07_2.6.22.13_0.3-1.1 and restart X server ended with no server running. 
Attempt to run 'sax2 -m 0=nvidia' did not help as sax2 was unable to start X server. 

Comment 3 Lubos Lunak 2008-01-25 18:06:56 UTC
Are you going to work on this bugreport? If not, then please do not mess with priorities of people who are.

Please attach ~/.xsession-errors of the user and also the matching /var/log/Xorg.*.log (presumably /var/log/Xorg.0.log.old, or with "1" for the X session on Ctrl+Alt+F8).
Comment 4 Matthew Mah 2008-01-26 04:09:41 UTC
Since I submitted this bug report, a patch appears to have fixed this problem. Since it's been intermittent, I'll continue testing for a few days and report back with the error logs if it occurs again. 
Comment 5 Forgotten User Xh41Ao4q6j 2008-01-26 08:36:31 UTC
What patch? 
Comment 6 Matthew Mah 2008-02-01 05:38:34 UTC
I think 
xorg-x11-server 7.2-143.11

I haven't seen the logout problem reappear since I last posted, so I suspect the shared memory problem described by the patch corrected the problem. 
Comment 7 Lubos Lunak 2008-02-01 13:16:21 UTC
Works for the reporter.
Comment 8 Matthew Mah 2008-03-03 05:18:45 UTC
Created attachment 198171 [details]
xsession-errors from user that was logged out

The bug has reappeared. ~/.xsession-errors file from user that was logged out is attached. 

Bug appearance is still intermittent.
Comment 9 Matthew Mah 2008-03-03 05:20:13 UTC
Bug reopened with ~/.xsession-errors file.  
Comment 10 Stefan Dirsch 2008-03-07 15:22:15 UTC
Since you're using the NVIDIA driver, this is likely a driver bug. Reassigning.
Comment 11 Stefan Dirsch 2008-04-22 03:46:56 UTC
Could you verify, if this issue is still reproducable with release 169.12?

Driver download:
  http://www.nvidia.com/object/linux_display_ia32_169.12.html
  http://www.nvidia.com/object/linux_display_amd64_169.12.html

Installation instructions:
  http://www.suse.de/~sndirsch/nvidia-installer-HOWTO.html
Comment 12 Matthew Mah 2008-04-28 04:35:27 UTC
Yes, the logout issue is still reproducible with release 169.12 of the NVIDIA drivers. 
Comment 13 Stefan Dirsch 2008-05-28 14:32:38 UTC
I finally decided to no longer track proprietary NVIDIA driver bugs
against openSUSE. Therefore I'm closing these now as WONTFIX.

In case you're using our SLES/SLED products and can reproduce this
issue also on thesed products feel free to reopen. These are still
tracked, since customers of these products depend on the proprietary
driver for newer NVIDIA hardware.

Be aware that you need a privilleged account to track anything against
our SLES/SLED products. So if this not an option for you I suggest to
report the problem to the official NVIDIA driver feedback channels
(forum/email; see NVIDIA driver download site) and refer to this
bugreport.