You need to export the right environment variables, like so:

pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xcalc


** Changed in: policykit (Ubuntu)
       Status: Confirmed => Fix Released

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

Title:
  pkexec can't open GUI applications but gksu-polkit can

To manage notifications about this bug go to:
https://bugs.launchpad.net/policykit/+bug/615840/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to