FS#33243 - [unetbootin] cannot run with pkexec - missing policy file
Attached to Project:
Community Packages
Opened by Mihai Coman (z0id) - Sunday, 30 December 2012, 13:23 GMT
Last edited by Alexander F. Rødseth (xyproto) - Sunday, 06 January 2013, 23:39 GMT
Opened by Mihai Coman (z0id) - Sunday, 30 December 2012, 13:23 GMT
Last edited by Alexander F. Rødseth (xyproto) - Sunday, 06 January 2013, 23:39 GMT
|
Details
* description:
'/usr/bin/unetbooting' launches 'pkexec /usr/bin/unetbootin.elf', but this fails with a X server error. pkexec does not run X apps without allow_gui set. * package version(s) unetbootin 581-1 * steps to reproduce: Launch unetbootin. * fix: attached /usr/share/polkit-1/actions/org.archlinux.pkexec.unetbootin.policy This makes using gksu, kdesu, etc, redundant. |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Sunday, 06 January 2013, 23:39 GMT
Reason for closing: Fixed
Additional comments about closing: Added policy file.
Sunday, 06 January 2013, 23:39 GMT
Reason for closing: Fixed
Additional comments about closing: Added policy file.
I tried applying the fix, and checked in the changes to svn, but when running "unetbootin" (which runs pkexec /usr/bin/unetbootin.elf) nothing happens here. (pekwm, alt-f2, unetbootin)
When starting the same script from the commandline, it asks me for a password, then says "cannot connect to X server":
==== AUTHENTICATING FOR org.archlinux.pkexec.unetbootin ===
Authentication is required to run Unetbootin
Authenticating as: User (username)
Password:
==== AUTHENTICATION COMPLETE ===
Invalid MIT-MAGIC-COOKIE-1 keyunetbootin.elf: cannot connect to X server :0
Here are the updated files for unetbootin-581-2 (should appear shortly if it's still at 581-1 there):
https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/unetbootin
Any idea what causes this? Is this only a problem with my polkit setup? Would several other users be affected by this too?
Thanks.
FS#33244:FS#33244instead to keep track of the issue with pkexec. Thank you.