Polkit Agentが起動していない場合以下のようなエラーとなる※大抵のデスクトップ環境では規定で設定済
適当なPolkit Agentを導入して起動してからzuluCrypt-guiを実行する
$ apt-cache search polkit agent gnome-flashback - helper application for the GNOME Flashback session gnome-shell - graphical shell for the GNOME desktop gnome-shell-xrdesktop - graphical shell for the GNOME desktop lxqt-policykit - LXQt authentication agent for PolicyKit lxpolkit - LXDE PolicyKit authentication agent mate-polkit - MATE authentication agent for PolicyKit-1 mate-polkit-bin - MATE authentication agent for PolicyKit-1 (executable wrapper script) mate-polkit-common - MATE authentication agent for PolicyKit-1 (common files) phosh - Pure Wayland shell for mobile devices gir1.2-polkit-1.0 - GObject introspection data for PolicyKit libpolkit-agent-1-0 - PolicyKit Authentication Agent API libpolkit-agent-1-dev - PolicyKit Authentication Agent API - development files policykit-1-gnome - authentication agent for PolicyKit polkit-kde-agent-1 - KDE dialogs for PolicyKit ukui-polkit - UKUI authentication agent for PolicyKit-1
ukui-polkitを導入
$ sudo apt install ukui-polkit
エージェントを手動起動
$ /usr/lib/x86_64-linux-gnu/ukui-polkit/polkit-ukui-authentication-agent-1 &
awesome wmで自動起動設定
$ vi ~/.config/awesome/rc.lua +awful.util.spawn_with_shell("~/.config/awesome/bin/run_once.sh /usr/lib/x86_64-linux-gnu/ukui-polkit/polkit-ukui-authentication-agent-1")
/usr/share/polkit-1/actions/org.zulucrypt.zulupolkit.policy
の allow_active
を yes
にすると認証プロンプトがスキップされる.
<allow_active>yes</allow_active>
コメント