polkit-agent-helper-1 prompts for authentication on the wrong DISPLAY.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
policykit-1 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: policykit-1
Steps to recreate this bug:
- Fresh install of Ubuntu 11.04 desktop amd64 in a vm (just to confirm this bug).
- get any vnc server (in this example: sudo apt-get install tightvncserver)
- run vncserver (set password etc etc)
- connect with a vnc viewer
- launch something that requires polkit authentication,
in this example:
users-admin (system-
click 'advanced settings' (this requires authentication to access)
- the polkit authentication dialogue will show up on DISPLAY :0 instead of DISPLAY :1 where your VNC session is.
This bug makes graphical system administration impossible on headless systems.
The debug information was generated on a fresh/clean VMWare installation, using tightvncserver with display :1
I have tested and seen this same effect under NXServer and X11 forwarding over ssh.
The only way I could 'see' the prompt was by attaching to DISPLAY :0 remotely (ie vino, or NXServer's 'shadow' mode).
I have also tested and seen this same effect on Ubuntu netbook Remix 10.x.
___
info
1) Ubuntu 11.04
2) apt-cache policy policykit-1
policykit-1:
Installed: 0.101-1ubuntu1
Candidate: 0.101-1ubuntu1
Version table:
*** 0.101-1ubuntu1 0
500 http://
100 /var/lib/
3) The Authentication dialogue should show on the proper DISPLAY (ie DISPLAY :1 in this example)
4) The authentication dialogue actually appeared in DISPLAY:0 (as in, the native display)
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: policykit-1 0.101-1ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Wed Jun 15 16:14:00 2011
ExecutablePath: /usr/lib/
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: policykit-1
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
description: | updated |
Ran into a similar issue with NX and I was able to resolve it by setting up my NX client to execute the following rather than use the default GNOME options set in the freenx node:
gnome-session --session= classic- gnome
This allows the password prompts to display.