<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=4471&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Mounting and shutdown not allowed as normal user]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=4471</link>
		<description><![CDATA[The most recent posts in [SOLVED] Mounting and shutdown not allowed as normal user.]]></description>
		<lastBuildDate>Tue, 14 Sep 2021 17:12:30 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Mounting and shutdown not allowed as normal user]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=31535#p31535</link>
			<description><![CDATA[<p>yes. Thanks.<br />I normaly don&#039;t use this much, but now I have to set up a machine, which serves as the operating terminal for my lasercutter, which will be used by others, too.</p><p>So next step is automounting USB thumb drives.</p>]]></description>
			<author><![CDATA[dummy@example.com (mclien)]]></author>
			<pubDate>Tue, 14 Sep 2021 17:12:30 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=31535#p31535</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Mounting and shutdown not allowed as normal user]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=31533#p31533</link>
			<description><![CDATA[<p><span class="bbu"><a href="https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&amp;q=pmount&amp;x=submit" rel="nofollow">Maybe this</a></span>?</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Tue, 14 Sep 2021 16:49:31 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=31533#p31533</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Mounting and shutdown not allowed as normal user]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=31531#p31531</link>
			<description><![CDATA[<p>well. I thought I found my solution, but no &quot;usbpmout&quot; in the repos (I assumed a typo, but no usbmount either).</p><p>running beowulf.</p>]]></description>
			<author><![CDATA[dummy@example.com (mclien)]]></author>
			<pubDate>Tue, 14 Sep 2021 16:34:56 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=31531#p31531</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Mounting and shutdown not allowed as normal user]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=31182#p31182</link>
			<description><![CDATA[<p>Thanks for your replies.</p><p>Strange thing happened this morning, mounting and shutdown worked as they used to - one time. After a reboot, the issue was back. Didn&#039;t change anything in the meantime, so the issue seemed to appear at random.</p><p>apt&#039;s history did not show anything unexpected, neither Firefox, Thunderbird nor sane should mess with this. I dumped avahi, though. Not a permissions thing either, but …</p><p>Checked elogind and &quot;loginctl list&quot; returned &quot;No sessions.&quot;, which, being logged in, didn&#039;t seem right. A further look into elogind turned up this warning on <a href="https://wiki.gentoo.org/wiki/Elogind#Service" rel="nofollow">https://wiki.gentoo.org/wiki/Elogind#Service</a> </p><div class="quotebox"><blockquote><div><p>if there are problems getting poweroff/reboot/suspend etc. working from desktop environment, putting elogind into boot runlevel will make sure it is started properly before any user is logged in and so should fix the problem.</p></div></blockquote></div><p>There I had all the puzzle pieces. Here&#039;s what happened:<br />I have elogind started by runit. My desktop is started automatically by slim, which in turn was still started using a sysv init script. </p><p>The removal of avahi apparently triggered a race condition. With avahi gone, the desktop started earlier than elogind - no elogind, no shutdown permissions.</p><p>Moved slim to runit, made it conditional on elogind, et voilà: Works.</p><p>Thanks again for the apt and elogin hints!</p>]]></description>
			<author><![CDATA[dummy@example.com (Rena)]]></author>
			<pubDate>Sun, 29 Aug 2021 08:46:47 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=31182#p31182</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Mounting and shutdown not allowed as normal user]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=31155#p31155</link>
			<description><![CDATA[<p>Look in /var/log/apt/history.log to see what was recently installed or removed. Something related to policykit or elogind might be missing. You shouldn&#039;t need to enable sudo for these things in kde.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 28 Aug 2021 14:07:07 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=31155#p31155</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Mounting and shutdown not allowed as normal user]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=31152#p31152</link>
			<description><![CDATA[<p>Not a KDE user, but it is normal that you need root privileges to shutdown and mount.<br />I cant tell you how KDE handles this by default, but what you can do is edit your /etc/sudoers</p><div class="codebox"><pre><code>EDITOR=nano sudo visudo</code></pre></div><p>and add this:</p><div class="codebox"><pre><code>yourUserName ALL = NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff</code></pre></div><p>maybe KDE uses the wheel group for this and you are not a member of the wheel group but i dont know</p><p>for mounting you can install usbpmount</p><div class="codebox"><pre><code>sudo apt install usbpmount</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (alphalpha)]]></author>
			<pubDate>Sat, 28 Aug 2021 10:19:16 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=31152#p31152</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Mounting and shutdown not allowed as normal user]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=31151#p31151</link>
			<description><![CDATA[<p>Hi,</p><p>a few days ago KDE suddenly started to</p><p>a) deny mounting USB drives. <br />The drive pops up in the desktop&#039;s system tray, but when I try to open it, it says I have insufficient rights. I have to open a console and mount as root, only then I can open the drive using a file manager.</p><p>b) deny shutdown. <br />Whenever I try to shutdown from the KDE desktop, I end up with the login manager slim&#039;s login page; only from there I can shutdown. (I can, however, still suspend the system using KDE.)</p><p>Both of this used to work with my normal user account. I have no idea why this happened and how to fix it to get back to the previous behaviour.</p><p>I&#039;m sure I did not modify any system settings. Might have done an apt upgrade in the days before, but I don&#039;t see why that all of a sudden should mess with the settings. I&#039;m lost in several explanations on the web involving polkit and policykit, which are apparently incompatible, and even found some systemd files (specifically /usr/share/polkit-1/actions/org.freedesktop.login1.policy), even though I am and have always been using runit with Devuan.</p><p>Confused, any help appreciated! I don&#039;t want to install the whole system again.</p>]]></description>
			<author><![CDATA[dummy@example.com (Rena)]]></author>
			<pubDate>Sat, 28 Aug 2021 10:02:16 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=31151#p31151</guid>
		</item>
	</channel>
</rss>
