<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5547&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Polkit issues on Xfce (with Consolekit)]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5547</link>
		<description><![CDATA[The most recent posts in Polkit issues on Xfce (with Consolekit).]]></description>
		<lastBuildDate>Sat, 11 Feb 2023 20:25:57 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Polkit issues on Xfce (with Consolekit)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41050#p41050</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>The original consolekit was abandoned upstream several years ago. The new consolekit2 version is actively maintained though.</p></div></blockquote></div><p>Yes, ConsoleKit2 is what I meant. Would be nice to see it make a comeback. :-)</p>]]></description>
			<author><![CDATA[dummy@example.com (hunter0one)]]></author>
			<pubDate>Sat, 11 Feb 2023 20:25:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41050#p41050</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polkit issues on Xfce (with Consolekit)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41049#p41049</link>
			<description><![CDATA[<div class="quotebox"><cite>andyprough wrote:</cite><blockquote><div><p>Did you try just simply &#039;sudo synaptic&#039;? That&#039;s what I have to do from the terminal in dwm on antiX to get synaptic running</p></div></blockquote></div><p>pkexec should work just fine in antiX as long as consolekit is running. You probably haven&#039;t installed and autostarted a graphical authentication agent. Try installing the mate-polkit package then add this to your autostart file (~/.xsession?) before the <span class="bbc">exec dwm</span> line:</p><div class="codebox"><pre><code>/usr/lib/x86_64-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1 &amp;</code></pre></div><div class="quotebox"><cite>hunter0one wrote:</cite><blockquote><div><p>I don&#039;t see why consolekit needed to be replaced</p></div></blockquote></div><p>The original consolekit was abandoned upstream several years ago. The new consolekit2 version is actively maintained though.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sat, 11 Feb 2023 19:49:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41049#p41049</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polkit issues on Xfce (with Consolekit)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41047#p41047</link>
			<description><![CDATA[<div class="quotebox"><cite>andyprough wrote:</cite><blockquote><div><p>Did you try just simply &#039;sudo synaptic&#039;? That&#039;s what I have to do from the terminal in dwm on antiX to get synaptic running. If I recall correctly, pkexec commands just spit out errors in that environment.</p></div></blockquote></div><p>Yes, this works. But this bypasses the point of polkit.</p>]]></description>
			<author><![CDATA[dummy@example.com (hunter0one)]]></author>
			<pubDate>Sat, 11 Feb 2023 19:42:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41047#p41047</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polkit issues on Xfce (with Consolekit)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41046#p41046</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p><a href="https://unix.stackexchange.com/questions/435326/whats-the-difference-between-consolekit-and-elogind" rel="nofollow">This</a> suggests that consolekit&#039;s DBus API is different and requires that software be built to support that instead of elogind.</p></div></blockquote></div><p>Yes, I just figured this out so I restored my timeshift snapshot from before.</p><div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>Any particular reason why you&#039;ve switched to consolekit?</p></div></blockquote></div><p>Well, elogind is extracted from systemd. I don&#039;t see why consolekit needed to be replaced, as distros I&#039;ve tried that still use it (such as PCLinuxOS) work just fine, and since it was still in Devuans repositories (its not in Debians) I wanted to see if it would work. It doesn&#039;t, unless you rebuild any components that use the elogind flag.</p>]]></description>
			<author><![CDATA[dummy@example.com (hunter0one)]]></author>
			<pubDate>Sat, 11 Feb 2023 19:41:39 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41046#p41046</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polkit issues on Xfce (with Consolekit)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41043#p41043</link>
			<description><![CDATA[<p>Did you try just simply &#039;sudo synaptic&#039;? That&#039;s what I have to do from the terminal in dwm on antiX to get synaptic running. If I recall correctly, pkexec commands just spit out errors in that environment.</p>]]></description>
			<author><![CDATA[dummy@example.com (andyprough)]]></author>
			<pubDate>Sat, 11 Feb 2023 19:34:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41043#p41043</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polkit issues on Xfce (with Consolekit)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41042#p41042</link>
			<description><![CDATA[<p><a href="https://unix.stackexchange.com/questions/435326/whats-the-difference-between-consolekit-and-elogind" rel="nofollow">This</a> suggests that consolekit&#039;s DBus API is different and requires that software be built to support that instead of elogind. Looks like antiX have their own version of synaptic and they use consolekit rather than elogind, which would seem to support this theory. Shame anticapitalista doesn&#039;t visit here any more, they would probably know about this.</p><p>Any particular reason why you&#039;ve switched to consolekit?</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sat, 11 Feb 2023 19:13:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41042#p41042</guid>
		</item>
		<item>
			<title><![CDATA[Polkit issues on Xfce (with Consolekit)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41036#p41036</link>
			<description><![CDATA[<p>I&#039;m having problems with authentication on Devuan Chimaera with Xfce. I recently replaced elogind with consolekit2 (provided by the consolekit package). Everything seems to work fine, although when logging out not all services that were started will quit. There is also a larger issue related to the authentication.</p><p>When trying to run programs like synaptic-pkexec, I get the following error:</p><div class="codebox"><pre><code>polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ===
Error executing command as another user: Not authorized

This incident has been reported.</code></pre></div><p>This is what /var/log/auth.log says:</p><div class="codebox"><pre><code>Feb 11 11:46:01 B550M polkitd(authority=local): Registered Authentication Agent for unix-process:7893:242677 (system bus name :1.203 [pkexec /usr/sbin/synaptic], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Feb 11 11:46:03 B550M polkitd(authority=local): Operator of unix-process:7893:242677 FAILED to authenticate to gain authorization for action com.ubuntu.pkexec.synaptic for unix-process:7893:242677 [/bin/sh /usr/bin/synaptic-pkexec] (owned by unix-user:hunter)
Feb 11 11:46:03 B550M pkexec[7894]: hunter: Error executing command as another user: Not authorized [user=root] [TTY=/dev/pts/0] [CWD=/home/hunter] [COMMAND=/usr/sbin/synaptic]
Feb 11 11:46:03 B550M polkitd(authority=local): Unregistered Authentication Agent for unix-process:7893:242677 (system bus name :1.203, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)</code></pre></div><p>I&#039;ve tried with both mate-polkit and gnome-polkit with the same result.</p>]]></description>
			<author><![CDATA[dummy@example.com (hunter0one)]]></author>
			<pubDate>Sat, 11 Feb 2023 17:49:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41036#p41036</guid>
		</item>
	</channel>
</rss>
