gdm crashes when launching guest session from fast-user-switch-applet

Bug #360326 reported by Justin Dugger
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm-guest-session (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: gdm

Running Jaunty with current updates.

Clicking on the fast-user-switch guest session should bring up a guest session but instead fails and returns to a locked screen.

Interesting line from gdm log:

[config/dbus] couldn't take over org.x.config:
                 org.freedesktop.DBus.Error.AccessDenied (Connection ":1.41" is
                 not allowed to own the service "org.x.config.display20" due to
                 security policies in the configuration file)

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

reassigning to gdm-guest-session which provides this option

Changed in gdm (Ubuntu):
importance: Undecided → Low
affects: gdm (Ubuntu) → gdm-guest-session (Ubuntu)
Revision history for this message
Martin Pitt (pitti) wrote :

The org.x.config.display20 failure happens here as well, so that's not it (gdm does not ship a d-bus configuration file, and apparently this d-bus service isn't particularly required for fast-user-switch-applet).

- Does user switching work with real users?
- Please attach /var/log/kern.log after a failed attempt with the guest session (might be apparmor errors)
- Please open a Terminal and copy&paste this command:

   sudo sed -i '2 iset -x; exec 2>/tmp/guest-setup.log' /usr/share/gdm/guest-session/guest-session-setup.sh

  Then try to start a guest session. Go back to your real session and attach /tmp/guest-setup.log here.

Changed in gdm-guest-session (Ubuntu):
status: New → Incomplete
Revision history for this message
Nathaniel W. Turner (nturner) wrote :

I was seeing the same symptom; after modifying guest-session-setup.sh per the previous comment, I found that the following error was being logged:

+ USER=guest
+ PWSTAT=guest P 03/07/2009 0 99999 7 -1
+ echo guest P 03/07/2009 0 99999 7 -1
+ cut -f2 -d
+ [ P != L ]
+ echo User account guest already exists and is not locked
+ exit 1

After running "sudo passwd --lock guest", I can now successfully start guest sessions.

Revision history for this message
Martin Pitt (pitti) wrote :

Ah, so you did have a pre-existing guest user. That's part of the design, since it shouldn't tramp over an existing manually created user account.

Thanks for testing!

Changed in gdm-guest-session (Ubuntu):
status: Incomplete → Won't Fix
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.