Ok, pam-ck-connector is creating an additional CK session now, which I don't think it is meant to be doing. I turned on debug and logged in again, and this is what I see:
Sep 15 23:18:33 farnsworth lightdm: pam_ck_connector(lightdm:session): using 1000 as uid Sep 15 23:18:33 farnsworth lightdm: pam_ck_connector(lightdm:session): open session result: 1 Sep 15 23:18:33 farnsworth lightdm: pam_ck_connector(lightdm:session): registered uid=1000 on tty='/dev/tty7' with ConsoleKit This shouldn't happen, because we use the "nox11" option for pam-ck- connector. This has started because of this commit: http://bazaar.launchpad.net /~lightdm-team/lightdm/trunk/revision/1144 The problem seems to be that pam-ck-connector expects PAM_TTY to contain the X display, rather than the tty device path. It then bails out if it interprets this item as an X display: if (strchr (display_device, ':') != NULL) { if (opt_nox11) { ck_pam_syslog (pamh, LOG_WARNING, "nox11 mode, ignoring PAM_TTY %s", display_device); goto out; } x11_display = display_device; display_device = ""; Because PAM_TTY is /dev/tty7 for me, it goes ahead and creates a CK session (FTR, before the lightdm update, pam-ck-connector bailed out with "pam_ck_connector(lightdm:session): cannot determine display-device") -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/851055 Title: [Oneiric] 'Not Authorized' error given when mounting device Status in “lightdm” package in Ubuntu: Triaged Status in “lightdm” source package in Oneiric: Triaged Bug description: Oneiric Ocelot with latest update. Nautilus, Disk Utility are unable to mount/format/create partitions on USB drives. User is presented with 'Not Authorized' error. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: gvfs 1.9.5-0ubuntu1 ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4 Uname: Linux 3.0.0-11-generic x86_64 ApportVersion: 1.23-0ubuntu1 Architecture: amd64 Date: Thu Sep 15 18:07:58 2011 EcryptfsInUse: Yes HotplugNewDevices: /dev/sdb /dev/sdb1 /dev/sdb3 /dev/sdb2 HotplugNewMounts: InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901) SourcePackage: gvfs Symptom: storage Title: Does not detect hotplugged storage device UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/851055/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

