Package: policykit-1 Version: 0.105-13 Severity: important File: /usr/bin/pkexec
>From the manpages, pkexec is supposed to work with all types of GUI applications. But for some time, I've noticed that pkexec does not work with non-gnome/gtk apps. This one is with a python qt4 app. rrs@learner:/tmp$ pkexec /usr/sbin/lmt-config-gui Using PyQt4 lmt-config-gui: cannot connect to X server 2015-11-15 / 16:03:32 ♒♒♒ ☹ => 1 And this one with a KDE 5 app rrs@learner:/tmp$ pkexec katomic QXcbConnection: Could not connect to display Aborted (core dumped) 2015-11-15 / 16:05:01 ♒♒♒ ☹ => 134 rrs@learner:/tmp$ pkexec gedit 2015-11-15 / 16:05:21 ♒♒♒ ☺ -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0+ (SMP w/4 CPU cores; PREEMPT) Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages policykit-1 depends on: ii dbus 1.10.2-1 ii libc6 2.19-22 ii libglib2.0-0 2.46.2-1 ii libpam-systemd 227-2 ii libpam0g 1.1.8-3.1 ii libpolkit-agent-1-0 0.105-13 ii libpolkit-backend-1-0 0.105-13 ii libpolkit-gobject-1-0 0.105-13 policykit-1 recommends no packages. policykit-1 suggests no packages. -- no debconf information