[Bug 1240336] Re: Not authorized to perform operation / Unable to determine the session we are in: No session for pid

2014-01-27 Thread AtesComp
I'm using Kubuntu and KDM. Updated to 13.10 (64bit, Kubuntu) and encountered the same problem. Cannot mount USB devices. Cannnot change settings in System Settings-Login Screen (apply and leave screen asks to apply again resulting in Unable to authenticate/execute the action: (code 4). Tried

[Bug 1240336] Re: Not authorized to perform operation / Unable to determine the session we are in: No session for pid

2014-01-27 Thread AtesComp
Checked the login screen shutdown problem using KDM: this works. Reviewing the PAM files shows that the kdm file calls the common-session file. Tried version of #32 * modified to session required pam_systemd.so in /etc/pam.d/common-session * reboot = did not work Tried version of #32 *

[Bug 1240336] Re: Not authorized to perform operation / Unable to determine the session we are in: No session for pid

2014-01-27 Thread AtesComp
My problem has something to do with KDE, udisk, and multiple authentication identities. Disregard my prior comments. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/1240336 Title: Not

[Bug 1240336] Re: Not authorized to perform operation / Unable to determine the session we are in: No session for pid

2014-01-27 Thread AtesComp
OK, it is this issue. PolicyKit is choking udisk2. Here are the sample commands: $ udisksctl mount -b /dev/sdm1 --no-user-interaction Error mounting /dev/sdm1: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorizedCanObtain: Not authorized to perform operation $ udisksctl mount -b /dev/sdm1

[Bug 1240336] Re: Not authorized to perform operation / Unable to determine the session we are in: No session for pid

2014-01-29 Thread AtesComp
Cleaned up /etc/pam.d and used sudo pam-auth-update and sudo pam- auth-update --force to autofix thing. I found I had an extra likewise PAM profile in /usr/share/pam-configs/. Nothing worked. Finally, I retried a previous solution: Tried version of #32 * Added session required

[Bug 1240336] Re: Not authorized to perform operation / Unable to determine the session we are in: No session for pid

2014-01-29 Thread AtesComp
Further testing indicates that the above (#50) solution can be removed once you have a working system. Steps: 1. Added session required pam_loginuid.so session required pam_systemd.so to top of /etc/pam.d/whatever_DM_file_you _use 2. Logout, Restart X, Login 3. Check that you can