Comment 5 for bug 1172851

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Tested on raring (always with the dev ppa packages) with plainbox.
The trace was incomplete: http://pastebin.ubuntu.com/5615388/

'Cannot open display', it's pkexec fault and only affects plainbox.
pkexec will not allow you to run X11 applications as another user since the $DISPLAY and $XAUTHORITY environment variables are not set.

The only possible fix is to provide a policy file including:
<annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>

The checkbox trusted launcher feature will provide such a policy file with support for allow_gui.