* polkit にパッチを当ててほしい [#k254477b]
http://cgit.freedesktop.org/PolicyKit/commit/?id=7850d27017fed1834268a852350ae85381fbb110 のパッチを当ててもらえないでしょうか。
/usr/share/polkit-1/actions/org.plamolinux.pkexec.gparted.policy を
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> <policyconfig> <action id="org.plamolinux.pkexec.gparted"> <message>Authentication is required to run the GParted Partition Editor</message> <icon_name>gparted</icon_name> <defaults> <allow_any>auth_admin</allow_any> <allow_inactive>auth_admin</allow_inactive> <allow_active>auth_admin</allow_active> </defaults> <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/gparted</annotate> <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> </action> </policyconfig>
のような内容で作って、xhost +localhost して、 pkexec /usr/sbin/gparted のように起動すると、root のパスワードが要求されて(たぶん /usr/libexec/polkit-gnome-authentication-agent-1 が動いている必要あり)GUI なアプリケーションが root 権限で起動出来るようになります。