[Bug 1074657] Re: "Authorization failed" when trying to edit anything

Jacob Winski 1074657 at bugs.launchpad.net
Wed Dec 5 13:35:08 UTC 2012


This looks to be caused by improper session launch.

How to reproduce this problem:
1) open a terminal and check what your DISPLAY variable is set at and write it down:
echo $DISPLAY
NOTICE: I assume your DISPLAY variable is set to :0
If not, please use the variable that you wrote down instead
2) change to vt1 via ctrl+alt+f1
3) login
4) replace your shell via:
4a) for Unity: 
DISPLAY=:0 unity --replace
-- or --
3b) for Gnome Shell:
DISPLAY=:0 gnome-shell --replace
4) go back to your shell (vt7) via ctrl+alt+f7 and wait a few seconds while your shell restarts

You should now experience the "Authorization failed" issue.

Open up Run command via alt+f2 and start your shell:
a) for Unity:
unity --replace
b) for Gnome Shell:
gnome-shell --replace

The "Authorization failed" issue should not longer exist.

At first I thought this was a polkitd issue, but alas, polkitd is always running, even when experiencing the issue:
/usr/lib/policykit-1/polkitd --no-debug

dbus-daemon is also always running.

It seems like something with the DISPLAY is not getting properly
handled.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1074657

Title:
  "Authorization failed" when trying to edit anything

Status in “software-properties” package in Ubuntu:
  Confirmed

Bug description:
  When I try to disable or remove something in "other software" tab in
  software sources dialog, I get an error:

  "Authorization failed.": "Software sources can't be changed without
  permission.".

  This problem started in Quantal, and is not bug #1058072 since I did
  not cancel any auth prompts.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: software-properties-gtk 0.92.9
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  Uname: Linux 3.5.0-18-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  Date: Sat Nov  3 15:13:39 2012
  InstallationDate: Installed on 2010-07-04 (852 days ago)
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: software-properties
  UpgradeStatus: Upgraded to quantal on 2012-09-28 (35 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1074657/+subscriptions




More information about the foundations-bugs mailing list