** Description changed: 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->administration->users and groups) - 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. - A workaround *may* be to use pam-keyring to auto authenticate on login (have not tested) ___ 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://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages - 100 /var/lib/dpkg/status + Installed: 0.101-1ubuntu1 + Candidate: 0.101-1ubuntu1 + Version table: + *** 0.101-1ubuntu1 0 + 500 http://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages + 100 /var/lib/dpkg/status 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 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 Architecture: amd64 Date: Wed Jun 15 16:14:00 2011 ExecutablePath: /usr/lib/policykit-1/polkit-agent-helper-1 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1) ProcEnviron: - LANGUAGE=en_US:en - LANG=en_US.UTF-8 - SHELL=/bin/bash + LANGUAGE=en_US:en + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: policykit-1 UpgradeStatus: No upgrade log present (probably fresh install)
** Description changed: 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) + - run vncserver (set password etc etc) - connect with a vnc viewer - - launch something that requires polkit authentication, in this example: users-admin (system->administration->users and groups) - - click 'advanced settings' (this requires authentication to access) + - launch something that requires polkit authentication, + in this example: + users-admin (system->administration->users and groups) + 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://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages 100 /var/lib/dpkg/status 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 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 Architecture: amd64 Date: Wed Jun 15 16:14:00 2011 ExecutablePath: /usr/lib/policykit-1/polkit-agent-helper-1 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) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/797960 Title: polkit-agent-helper-1 prompts for authentication on the wrong DISPLAY. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/797960/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
