You have been subscribed to a public bug:

After reporting this bug for policykit
(https://bugs.freedesktop.org/show_bug.cgi?id=49707) and then doing the
same for KDM (https://bugs.kde.org/show_bug.cgi?id=299718) the problem
the problem seems to be distribution specific.

In short:

 * I created a policykit action containing 
org.freedesktop.policykit.exec.allow_gui
 * when trying to run this application it works well when using GDM as display 
manager but KDM puts this message:

No protocol specified
No protocol specified

(grub-customizer:2002): Gtk-WARNING **: cannot open display: :0

 * the KDM developers was telling me that this is a configuration issue
(I've tried on a frash installed Kubuntu) and I just have to add
"session optional pam_xauth.so" to /etc/pam.d/{sudo,su}. Finally I added
this line to /etc/pam.d/comman_auth and everything worked well.

Please add this option by default. Otherwise pkexec is broken on allmost
all Kubuntu installations and cannot run applications like synaptic
without doing tricks like "X-KDE-SubstituteUID=true" on the .desktop
file.

** Affects: policykit-1 (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: bot-comment
-- 
pkexec cannot run graphical applications when using KDM as display manager
https://bugs.launchpad.net/bugs/997506
You received this bug notification because you are a member of Desktop 
Packages, which is subscribed to policykit-1 in Ubuntu.

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to