<?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=7886&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] gparted will not start]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7886</link>
		<description><![CDATA[The most recent posts in [SOLVED] gparted will not start.]]></description>
		<lastBuildDate>Sun, 05 Apr 2026 16:04:11 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] gparted will not start]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63041#p63041</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p>... pcmanfm package recommends lxpolkit or polkit-1-auth-agent ...<br />... it&#039;s possible you (auto)removed it.</p></div></blockquote></div><p>Indeed ... 8^°</p><p>That was it.<br /><span class="bbc">lxpolkit</span> was not present so I installed it and set it up as required in <span class="bbc">Applications</span> -&gt; <span class="bbc">Settings</span> -&gt; <span class="bbc">Session and startup</span>.<br />Now everything works as it should, <span class="bbc">disks</span> and <span class="bbc">gparted</span> wise.</p><p>Thanks for your input (both you and all those who pitched in).<br />Much obliged.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 05 Apr 2026 16:04:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63041#p63041</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] gparted will not start]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63038#p63038</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><div class="codebox"><pre><code># gparted
(gpartedbin:7345): Gtk-WARNING **: 09:37:51.663: cannot open display: 
# </code></pre></div><p>...</p><div class="codebox"><pre><code>$ env | grep -i display
DISPLAY=:0.0
$</code></pre></div></div></blockquote></div><p>You ran the first as root and the second as a user, so environment is obviously going to be different. If you want to know why you got &quot;cannot open display:&quot;, test under the same conditions you got &quot;cannot open display:&quot;.</p><div class="quotebox"><blockquote><div><p>The command should be whatever XFCE was set to run by default on installation.</p></div></blockquote></div><p>Almost certainly an xdg .desktop file dropped by the gparted package (dpkg -L gparted) and looking in it will tell you which command is being called. This is GNU/Linux, there is no &quot;standard&quot; anything and not everyone runs XFCE.</p><p>Ed. Anyhow, this is all irrelevant. Your polkit install doesn&#039;t work: </p><div class="quotebox"><blockquote><div><div class="codebox"><pre><code>$ pkexec --disable-internal-agent &#039;/usr/sbin/gparted&#039;
Error executing command as another user: No authentication agent found.
$ </code></pre></div></div></blockquote></div><p>Do you have an appropriate (GUI) agent installed (e.g. xfce-polkit)?</p><div class="codebox"><pre><code>Package: polkit-1-auth-agent
State: not a real package
Provided by: cinnamon (6.4.10-2), gnome-flashback (3.56.0-1), gnome-shell (48.7-0+deb13u2), lxpolkit (0.5.6-2), lxqt-policykit (2.1.0-1), mate-polkit (1.26.1-4+b1), phosh
             (0.46.0-3), polkit-kde-agent-1 (4:6.3.6-1), ukui-polkit (1.2.2.2-1.1+b1), xfce-polkit (0.3+v20220621-3~excalibur1)</code></pre></div><p>Also see fsmithred&#039;s comment WRT pinentry above.</p><div class="quotebox"><blockquote><div><p>Maybe (?) all this is happening due to my purging / uninstalling PCManFM and installing Xfe?</p></div></blockquote></div><p>The pcmanfm package recommends lxpolkit or polkit-1-auth-agent, xfe does not. If nothing else you have installed depends on polkit-1-auth-agent, it&#039;s possible you (auto)removed it.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Sun, 05 Apr 2026 14:32:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63038#p63038</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] gparted will not start]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63037#p63037</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>&quot;su&quot; vs. &quot;su -&quot; problem?</p></div></blockquote></div><p>Hmm ...<br />When <span class="bbu">su -</span> was mandated, I started to use it.<br />Never used <span class="bbc">su</span> again.</p><div class="codebox"><pre><code>$ su -
Password: 
# </code></pre></div><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>... pinentry package should be there to ask for your password ...</p></div></blockquote></div><p>Yes.<br />That <em>was</em> the usual routine. </p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 05 Apr 2026 14:24:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63037#p63037</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] gparted will not start]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63036#p63036</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p>... if that command works in a terminal emulator as your normal (non root) user ...</p></div></blockquote></div><div class="codebox"><pre><code>$ pkexec --disable-internal-agent &#039;/usr/sbin/gparted&#039;
Error executing command as another user: No authentication agent found.
$ </code></pre></div><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 05 Apr 2026 14:19:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63036#p63036</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] gparted will not start]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63035#p63035</link>
			<description><![CDATA[<p>Hello:</p><p>Here you go. 8^)</p><div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p>Which &quot;cmd line&quot;?</p></div></blockquote></div><p>... <span class="bbc">LXTerminal</span> or <span class="bbc">Tilix</span></p><div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p>Check output&#160; of &#039;env&#039;.</p></div></blockquote></div><div class="codebox"><pre><code>$ env | grep -i display
DISPLAY=:0.0
$</code></pre></div><div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p>Regarding gparted not starting from the menu ...</p></div></blockquote></div><p>That would be standard <span class="bbc">XFCE</span> menu.<br />ie: <span class="bbc">Applications</span> -&gt; <span class="bbc">System</span> -&gt; <span class="bbc">Gparted</span> </p><div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p>OP didn&#039;t specify what command this &quot;menu&quot; is launching ...</p></div></blockquote></div><p>The command should be whatever <span class="bbc">XFCE</span> was set to run by default on installation. </p><p>Thanks for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 05 Apr 2026 14:14:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63035#p63035</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] gparted will not start]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63034#p63034</link>
			<description><![CDATA[<p>&#039;gparted&#039; appears (at least on Gentoo, I have no GUI Devuan installs) to be a shell script which ends up calling pkexec --disable-internal-agent &#039;/usr/bin/gparted&#039; if pkexec is available. <br />See if that command works in a terminal emulator as your normal (non root) user, and what output it produces.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Sun, 05 Apr 2026 14:06:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63034#p63034</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] gparted will not start]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63033#p63033</link>
			<description><![CDATA[<p>&quot;su&quot; vs. &quot;su -&quot; problem? <a href="https://dev1galaxy.org/viewtopic.php?id=6294" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=6294</a></p><p>Some pinentry package should be there to ask for your password when you try to start gparted from the menu.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 05 Apr 2026 14:00:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63033#p63033</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] gparted will not start]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63032#p63032</link>
			<description><![CDATA[<p>Hello:</p><p>Thanks for the prompt reply.<br />Much appreciated.</p><div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>... starting gparted from the menu you should be asked for root credentials.<br />... indicates at some permission issues.</p></div></blockquote></div><p>Yes, I know.<br />It does not do anything.<br />ie: start or ask for credentials.</p><div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>... changed the policy kit?</p></div></blockquote></div><p>Hmm ...<br />Can&#039;t say, don&#039;t think so.</p><p>This is my polkit applications list:</p><div class="codebox"><pre><code>$ apt list | grep installed | grep polkit
--- snip ---
gir1.2-polkit-1.0/oldstable,now 122-3devuan2 amd64 [installed,automatic]
libpolkit-agent-1-0/oldstable,now 122-3devuan2 amd64 [installed]
libpolkit-gobject-1-0/oldstable,oldstable,now 122-3devuan2 all [installed,automatic]
libpolkit-gobject-elogind-1-0/oldstable,now 122-3devuan2 amd64 [installed,automatic]
polkitd/oldstable,now 122-3devuan2 amd64 [installed,automatic]
$</code></pre></div><div class="codebox"><pre><code>$ 
$ aptitude why polkitd
i   gparted     Depends policykit-1             
i A policykit-1 Depends polkitd (= 122-3devuan2)
$ </code></pre></div><p>Apparently gparted has its needed <span class="bbc">policykit-1</span>.</p><p>I just tried doing something with <span class="bbc">disks</span> which opens up as usual but when I attempt to check a partition in a non-system drive, I get an error pop-up:</p><div class="quotebox"><cite>udisks wrote:</cite><blockquote><div><p>Error unmounting filesystem<br />Not authorised to perform operation (udisks-error-quark, 4)</p></div></blockquote></div><p>There are entries in <span class="bbc">/var/log/auth.log</span> reflecting this ...</p><div class="codebox"><pre><code>--- snip ---
10:45:01 devuan CRON[5190]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
10:45:01 devuan CRON[5191]: pam_unix(cron:session): session opened for user groucho(uid=1000) by (uid=0)
10:45:01 devuan CRON[5190]: pam_unix(cron:session): session closed for user root
10:45:01 devuan CRON[5191]: pam_unix(cron:session): session closed for user groucho</code></pre></div><p>... but not for attempting to start gparted from the menu.</p><p>From the cmd line I get this:</p><div class="codebox"><pre><code>--- snip ---
10:51:35 devuan su: pam_unix(su-l:auth): authentication failure; logname= uid=1000 euid=0 tty=/dev/pts/2 ruser=groucho rhost=  user=ro$

10:51:37 devuan su[5758]: FAILED SU (to root) groucho on pts/2
10:52:04 devuan su[5774]: (to root) groucho on pts/2
10:52:04 devuan su[5774]: pam_unix(su-l:session): session opened for user root(uid=0) by (uid=1000)</code></pre></div><p>Maybe (?) all this is happening due to my purging / uninstalling <span class="bbc">PCManFM</span> and installing <span class="bbc">Xfe</span>?</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 05 Apr 2026 13:57:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63032#p63032</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] gparted will not start]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63031#p63031</link>
			<description><![CDATA[<div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>&quot;cannot open display&quot; indicates at some permission issues.</p></div></blockquote></div><p>No, it indicates that GTK cannot open the X display &lt;null&gt; (note the trailing &quot;:[nothing]&quot; in &quot;cannot open display:&quot;), likely because the DISPLAY variable is not set in root&#039;s environment.</p><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>If I try to start it as root from the cmd line, I get this:</p></div></blockquote></div><p>Which &quot;cmd line&quot;? A real TTY? an xterm? whatever terminal emulator from whatever DE you&#039;re using?<br />GUI terminal emulators usually set DISPLAY, but su may or may not strip environment for security - I don&#039;t recall how it&#039;s configured in Debian these days. Check output&#160; of &#039;env&#039;.<br />SSH logins and TTYs do not, so one usually needs to correctly set DISPLAY and authorise the launching user to connect to the server (with e.g. xhost), see the X <a href="https://linux.die.net/man/7/x" rel="nofollow">manual</a>.</p><p>Regarding gparted not starting from the menu, I don&#039;t use gparted myself but the usual solution for GUI applications that need to run as root but don&#039;t handle privilege escalation themselves is to use some kind of launcher - pkexec (with org.freedesktop.policykit.exec.allow_gui set, see &#039;man pkexec&#039;), gksu, kdesu etc.<br />Since OP didn&#039;t specify what command this &quot;menu&quot; is launching (or even what &quot;menu&quot; they&#039;re talking about, in which DE/WM), that&#039;s where my guessing ends on this one.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Sun, 05 Apr 2026 13:51:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63031#p63031</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] gparted will not start]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63030#p63030</link>
			<description><![CDATA[<p>When starting gparted from the menu you should be asked for root credentials. Does that happen? This &quot;cannot open display&quot; indicates at some permission issues. Have you changed the policy kit?</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Sun, 05 Apr 2026 13:01:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63030#p63030</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] gparted will not start]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63029#p63029</link>
			<description><![CDATA[<p>Hello:</p><p>Today I tried to start <span class="bbc">gparted</span> from the menu but it will not start.<br />I searched the logs but found nothing.</p><p>If I try to start it as root from the cmd line, I get this:</p><div class="codebox"><pre><code># gparted
(gpartedbin:7345): Gtk-WARNING **: 09:37:51.663: cannot open display: 
# </code></pre></div><p>That said, I can start <span class="bbc">parted</span> as root from the cmd line so my guess is that it is probably (?) a display server issue but <span class="bbc">/var/log/Xorg.0.log</span> has nothing to say.</p><p>I cannot recall when I last used <span class="bbc">gparted</span>, but I do recall it was working properly.</p><p>Being in a rush, I reinstalled it (no my usual procedure) but the problem subsists.<br />I don&#039;t want my weekly drive image to have this. </p><p>Where to look for the source of the problem?</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 05 Apr 2026 12:53:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63029#p63029</guid>
		</item>
	</channel>
</rss>
