Switch user loses session and logs out

Bug #693446 reported by Paddy Landau
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: gdm

When using switch user, the original user gets logged out.

More detail:
- First user logs in.
- "Switch user" -- login screen shows first user still logged in.
- Second user logs in.
- Second user logs out.
- Login screen shows first user logged out. First user can log in again but original session has been lost.

Error message in the GDM logs:

Window manager warning: Failed to read saved session file /var/lib/gdm/.config/metacity/sessions/102269cdd64f9053f9128325589418062200000038330002.ms: Failed to open file '/var/lib/gdm/.config/metacity/sessions/102269cdd64f9053f9128325589418062200000038330002.ms': No such file or directory

Canonical says, "when you switch user it creates a saved session, but upon return that file is gone."

I have attached my logs from /var/log/gdm.

System: Ubuntu Lucid 10.04.1 LTS 64-bit with all updates installed.
Synaptic reports gdm version 2.30.2.is.2.30.0-0ubuntu4.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gdm 2.30.2.is.2.30.0-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.32-27.49-generic 2.6.32.26+drm33.12
Uname: Linux 2.6.32-27-generic x86_64
Architecture: amd64
CheckboxSubmission: 5bf569339afeaacf6d8dcc180d0a06f0
CheckboxSystem: b1865df84255b8716d3bcc269ff410d1
Date: Wed Dec 22 15:37:25 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: gdm

Revision history for this message
Paddy Landau (paddy-landau) wrote :
Revision history for this message
Paddy Landau (paddy-landau) wrote :

I have reinstalled 10.04.1 from scratch (in a fresh partition on an external hard drive, so there is no customisation); run Update Manager to install all updates; rebooted; and created a new user.

I still get the same error.

I have attached the logs from /var/log/gdm.

Revision history for this message
Paddy Landau (paddy-landau) wrote :

I repeated the exercise with 10.10 and I could not duplicate the issue.

So, I suspect that the problem has been resolved in 10.10.

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, do you have any crash listed in dmesg? usually such issues are xorg driver issues and the xserver crashing. closing the bug since that's fixed in newer version but we can add a lucid component to the bug if required

Changed in gdm (Ubuntu):
importance: Undecided → Low
status: New → Invalid
Revision history for this message
Paddy Landau (paddy-landau) wrote :

I think we should indeed add a Lucid component to the bug, because Lucid is LTS.

I don't know dmesg. I logged into another user and then back into my own (having been logged out, of course), and I have attached the results of dmesg. I used the command:
dmesg >dmesg-2011-03-11.lst

Let me know if I can do anything else to assist.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could be the "[ 853.460462] [drm:i915_gem_do_execbuffer] *ERROR* Object ffff88003d88a600 appears more than once in object list" line

Could you add your Xorg.0.log and Xorg.0.log.old to the bug after getting the issue?

Revision history for this message
Paddy Landau (paddy-landau) wrote :

I'm amazed... the second time I did the process, it did not log me out. That's the first time that's happened since I installed 10.04 (I used to have 8.04). However, after I restarted my computer, it went back to normal (crashing me when logging into another user).

I have attached Xorg.0.log after repeating the problem. I will attach Xorg.0.log.old in a moment.

Thank you for taking the time to look at this.

Revision history for this message
Paddy Landau (paddy-landau) wrote :

And here is Xorg.0.log.old.

Revision history for this message
Sebastien Bacher (seb128) wrote :

ok, the second log seems to indicate an intel driver or xorg issue

"(II) intel(0): No memory allocations

Fatal server error:
Failed to submit batchbuffer: Bad file descriptor

Please consult the The X.Org Foundation support
  at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information."

affects: gdm (Ubuntu) → xorg-server (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

which seems to be similar to bug #576336

Changed in xorg-server (Ubuntu):
status: Invalid → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

let's the xorg guys decide if that's a duplicate or not

affects: xorg-server (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
Paddy Landau (paddy-landau) wrote :

Re: X.Org Foundation support: I'm afraid I have no idea what to do with that website. I'm not a highly technical person.

However, it could be something to do with the graphics card. Maybe my best bet is to wait until the time comes to update my computer :)

Re: bug #576336 -- I just tested and I have exactly the same problem. So you're right, it's probably a duplicate.

Revision history for this message
Paddy Landau (paddy-landau) wrote :

I have just spotted bug #663159 which reports this same problem. So I think you can close this bug as a duplicate.

Revision history for this message
penalvch (penalvch) wrote :

Paddy Landau, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p xorg-server REPLACE-WITH-BUG-NUMBER

Please note, given you already have done this in a prior release, performing this on a release prior to Trusty would not be helpful.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

affects: xserver-xorg-video-intel (Ubuntu) → xorg-server (Ubuntu)
Changed in xorg-server (Ubuntu):
status: New → Incomplete
Revision history for this message
Paddy Landau (paddy-landau) wrote :

Christopher, I no longer have 10.04, so unfortunately I cannot answer your question.

I am on 12.04, and I have not experienced this problem with it.

Revision history for this message
penalvch (penalvch) wrote :

Paddy Landau, this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/693446/comments/15 regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in xorg-server (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.