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@learner:/usr/share/polkit-1/actions$ export QT_X11_NO_MITSHM=1 2015-11-15 / 16:22:01 ♒♒♒ ☺ rrs@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."
signature.asc
Description: This is a digitally signed message part