[Pkg-utopia-maintainers] Bug#805148: /usr/bin/pkexec: pkexec not working with non-gnome apps

Ritesh Raj Sarraf rrs at researchut.com
Sun Nov 15 10:54:59 UTC 2015


On Sun, 2015-11-15 at 16:08 +0530, Ritesh Raj Sarraf wrote:
> >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.


So, not just pkexec, but gksu also failed. But then I looked up the
internet. And the workaround is:

rrs at learner:/usr/share/polkit-1/actions$ export QT_X11_NO_MITSHM=1
2015-11-15 / 16:22:01 ♒♒♒  ☺    
rrs at learner:/usr/share/polkit-1/actions$ gksu /usr/sbin/lmt-config-gui 
Using PyQt4
Qt: Session management error: None of the authentication protocols
specified are supported
2015-11-15 / 16:22:23 ♒♒♒  ☺    


It still does not work with pkexec though.


-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20151115/b4eda71b/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list