Your message dated Sun, 15 Nov 2015 11:53:45 +0100
with message-id <[email protected]>
and subject line Re: [Pkg-utopia-maintainers] Bug#805148: /usr/bin/pkexec: 
pkexec not working with non-gnome apps
has caused the Debian Bug report #805148,
regarding /usr/bin/pkexec: pkexec not working with non-gnome apps
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
805148: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805148
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Am 15.11.2015 um 11:38 schrieb Ritesh Raj Sarraf:
> 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.

For X applications you need an explicit polkit policy, see e.g.


/usr/share/polkit-1/actions/com.ubuntu.pkexec.synaptic.policy

The important part is the
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
key. You need to set that for any GUI/X application you want to run.

Regards,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to