You are not logged in.
I know about this thread: https://bbs.archlinux.org/viewtopic.php?id=127648
I created /usr/share/polkit-1/actions/org.freedesktop.policykit.pkexec.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.freedesktop.policykit.pkexec.run-thunar">
<description>Run Thunar as root</description>
<message>Authentication is required to run Thunar as root</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/thunar</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>
</action>
</policyconfig>
My result of
pkexec thunar
is
Error executing command as another user: Not authorized
This incident has been reported.
What did I miss?
Last edited by jfb3 (2011-10-05 18:26:13)
Offline
Ok first please make us sure that polkit (/usr/lib/polkit-1/polkitd) daemon is running (I assume that it must be running if you use consolekit eg. with any login manager) and that authorization agent is started (lxpolkit or polkit gnome).
Lenovo G50 | LXQT-git | compton | conky
Offline
polkit is running
root 882 1 0 Oct05 ? 00:00:00 /usr/lib/polkit-1/polkitd
I have to run polkit-gnome? I can't find documentation on running it. Daemon, does it get called as needed???
I think I may have reached the point of diminishing returns.
I don't need all the complication. It's not like I need to protect my machine from me. Now, if I was setting up a departmental server that'd be different.
I think I'll just do it like this in my menu:
terminator -T "thunar/root sudo password" --geometry 300x50+20+20 --command "sudo thunar"
Thanks for your help.
Offline