<?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=7542&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7542</link>
		<description><![CDATA[The most recent posts in [SOLVED] Can't suspend, reboot, or shut down in a WM.]]></description>
		<lastBuildDate>Fri, 14 Nov 2025 12:52:18 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59611#p59611</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>@stultumanto No idea why, but that was easier to do in doas for me.</p></div></blockquote></div><p>Honestly, my use of sudo is 100% inertia at this point. The fact that doas comes from OpenBSD is all the endorsement I need. I&#039;ll probably check it out if I ever get a free moment!</p>]]></description>
			<author><![CDATA[dummy@example.com (stultumanto)]]></author>
			<pubDate>Fri, 14 Nov 2025 12:52:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59611#p59611</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59597#p59597</link>
			<description><![CDATA[<p>@stultumanto No idea why, but that was easier to do in doas for me.</p><p>I think the syntax was just trickier for me is all. doas syntax is much simpler is all.</p><p><img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Fri, 14 Nov 2025 03:29:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59597#p59597</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59421#p59421</link>
			<description><![CDATA[<p><span class="bbc">sudo</span> isn&#039;t always easy, but this particular task isn&#039;t too difficult. You can give all members of a particular group privileges to run specific commands without a password. Then, you add your regular user account to that group. Generally, people use the existing <span class="bbc">sudo</span> group for this purpose, although you can create a special group if you want, such as a <span class="bbc">shutdown</span> group. For example, add this line to your <span class="bbc">/etc/sudoers</span> file (remember to use <span class="bbc">visudo</span> to edit!)</p><div class="codebox"><pre><code>%sudo    ALL=NOPASSWD:    /sbin/shutdown,/sbin/poweroff,/sbin/reboot</code></pre></div><p>Then add yourself to the <span class="bbc">sudo</span> group:</p><div class="codebox"><pre><code>usermod -aG sudo your_username</code></pre></div><p>Now you can reboot without a password prompt:</p><div class="codebox"><pre><code>sudo reboot</code></pre></div><p>This is my preferred method, as a member of the nonsensical hair-shirt brigade! (I don&#039;t even use a display manager, just good old xinit.)</p>]]></description>
			<author><![CDATA[dummy@example.com (stultumanto)]]></author>
			<pubDate>Tue, 11 Nov 2025 09:31:39 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59421#p59421</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59407#p59407</link>
			<description><![CDATA[<p>@steve_v That is interesting...&#160; good to know.</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Tue, 11 Nov 2025 00:34:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59407#p59407</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59371#p59371</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Does this work without root permissions?</p></div></blockquote></div><p>Logind manages resources for interactive logins/physical &quot;seats&quot;, and replaces the likes of consolekit for managing access to devices and executing privileged tasks on behalf of the user. <br />So yes, you can ask logind to do things like shut down the machine without sudo/being root - so long as logind knows you are logged in to a physical session (&quot;seat&quot;). You can do the same over e.g. ssh, but in that case it will ask you to authenticate.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Mon, 10 Nov 2025 04:08:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59371#p59371</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59368#p59368</link>
			<description><![CDATA[<p>I finally got it to reboot and shut down, y&#039;all! <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>I finally did it by installing elogind.&#160; Doing further research, I found that there&#039;s also something else I had to do -- run the following command after installing the base Devuan CD:</p><div class="codebox"><pre><code>sudo update-rc.d elogind defaults</code></pre></div><p>I then changed the commands in the IceWM preferences file for rebooting and shutting down to loginctl reboot, loginctl suspend, and loginctl poweroff, which still didn&#039;t work.&#160; I then checked later, and found that I forgot to uncomment them. LOL</p><p>But once I discovered that oversight on my part about the uncommenting, I tried them again, AND THEY WORKED!!!</p><p>Thanx, y&#039;all!</p><p>Now, to FINALLY get around to customizing it to my specifications and make the public announcement of the new release later this week.&#160; I&#039;m PUMPED! <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (fredbird67)]]></author>
			<pubDate>Mon, 10 Nov 2025 03:17:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59368#p59368</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59366#p59366</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Choice of init/rc makes very little difference to shutdown/reboot invocation, and none at all to suspend (unless you have some init scripts wired up to suspend/resume hooks ofc).</p></div></blockquote></div><p>I was speaking in general probably. I don&#039;t know how to do any services with regular sysvinit. So there&#039;s that</p><div class="quotebox"><blockquote><div><p>Unless of course you&#039;re going for knee-jerk &quot;but it comes from systemd, no way&quot; idological nonsense or hair-shirt level &quot;minimalisim&quot;, in which case figuring out how you want to do seat management and permissions is up to you.</p></div></blockquote></div><p>Does this work without root permissions? Also I wonder to myself if elogind has root permissions built in. Not saying one way or the other though. Because I have no clue.</p><p>If so, curious.. But doas is still easier than sudo in my experience. Can&#039;t say anything about elogind tho</p><p>the doas method isn&#039;t hard though and is easier than the sudo one if anyone hasn&#039;t used sudo&#039;s method which I never have due to there being so much clutter in it.</p><p>I couldn&#039;t figure out how to do stuff the way doas does in sudo</p><p>But yeah, etlogind probably is easier, although I have never used that method.</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Mon, 10 Nov 2025 01:45:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59366#p59366</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59360#p59360</link>
			<description><![CDATA[<p>Have you tried antiX? This is a Debian based very lightweight distro that&#039;s extremely fast. It has a bunch of WM&#039;s including ICEWM and fluxbox.</p><p>You can shutdown or reboot with ease. It&#039;s got a very well developed version of ICE.</p><p>It&#039;s still based on Bookworm but it has an outstanding GUI for package management - far better than synaptic it&#039;s the same one used by MX Linux.</p>]]></description>
			<author><![CDATA[dummy@example.com (NakedRider)]]></author>
			<pubDate>Sun, 09 Nov 2025 19:34:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59360#p59360</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59355#p59355</link>
			<description><![CDATA[<p>Got curious about IceWM and installed it. As fredbird67 posted, shutdown and reboot didn&#039;t work. In /usr/share/icewm/README:</p><div class="quotebox"><blockquote><div><p>The directory /etc/X11/icewm used to contain copies of default configuration files shipped with the icewm package. The original files were and are located in /usr/share/icewm/ directory. This was considered service to the users but it has also led to confusion and made package handling more complicated.</p><p>Therefore, the default configuration files are now only located in<br />/usr/share/icewm/ directory. To customize something for all system users, the system administrator shall copy the particular file to /etc/X11/icewm when needed, and icewm will automatically make use of that copy. Regular users can do the same, installing their version into ~/.icewm/.</p></div></blockquote></div><p>As root, I copied the menu and preferences files from /usr/share/icewm to /etc/X11/icewm and edited these two lines in preferences:</p><div class="codebox"><pre><code>#  Command to reboot the system.
From
# RebootCommand=&quot;test -e /run/systemd/system &amp;&amp; systemctl reboot || sudo -n /sbin/reboot&quot;
To
RebootCommand=&quot;sudo shutdown -r now&quot;

and 

#  Command to shutdown the system.
From
# ShutdownCommand=&quot;test -e /run/systemd/system &amp;&amp; systemctl poweroff || sudo -n /sbin/poweroff&quot;
To
ShutdownCommand=&quot;sudo shutdown -h now&quot;</code></pre></div><p>NOPASSWORD lines for reboot and shutdown were already in /etc/sudoers so those two cmds in IceWM&#039;s menu worked. Same results had ~/.icewm been created with the edited preferences file. My system isn&#039;t set up for hibernate but when the line for it in preferences is edited, it should work.</p>]]></description>
			<author><![CDATA[dummy@example.com (fanderal)]]></author>
			<pubDate>Sun, 09 Nov 2025 18:26:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59355#p59355</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59333#p59333</link>
			<description><![CDATA[<p>again, the repo i posted is the script i use on my machine, it works nicely for sysvinit + elogind.</p>]]></description>
			<author><![CDATA[dummy@example.com (EDX-0)]]></author>
			<pubDate>Sun, 09 Nov 2025 02:22:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59333#p59333</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59332#p59332</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>I recommend you use openrc + sysvinit rather than just pure sysvinit.</p></div></blockquote></div><p>Choice of init/rc makes very little difference to shutdown/reboot invocation, and none at all to suspend (unless you have some init scripts wired up to suspend/resume hooks ofc).</p><div class="quotebox"><blockquote><div><p>as for suspend, I am not sure how you would do that in devuan, without hardware keys.</p></div></blockquote></div><p>Suspend / hibernation has nothing to do with &quot;hardware keys&quot;, beside the latter often being assigned to trigger such through ACPI button events.</p><p>Actually suspending the system is <a href="https://docs.kernel.org/admin-guide/pm/sleep-states.html" rel="nofollow">kernel functionality</a> (usually with firmware help for bootstrapping a suspended system), with optional high-level interfaces (pm-utils etc.). <br />Those can be called however you like, be it a dedicated (i.e. pre-assigned) &quot;hardware&quot; key, remapping a &quot;hardware&quot; key with acpid, a custom key combination in X / whatever DE you use (I like meta+s), or a script / menu / whatever.</p><p>You&#039;d set those up the same way as you ever would when writing to sysfs or running any other priveliged command. Sudo / doas / groups / suid / polkit / logind are all a matter of taste for giving normal users permission.</p><p>---</p><p>In general, I&#039;d suggest [e]logind as&#160; being the most convenient / compatible. I don&#039;t see any real reason for not wanting a login/seat manager of some kind on a primarily desktop/GUI setup, and it&#039;s also the easiest way to get X running as not-root (i.e. providing dynamic permissions for the nodes in /dev/ X needs)... <br />Unless of course you&#039;re going for knee-jerk &quot;but it comes from systemd, no way&quot; idological nonsense or hair-shirt level &quot;minimalisim&quot;, in which case figuring out how you want to do seat management and permissions is up to you.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Sun, 09 Nov 2025 01:54:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59332#p59332</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59331#p59331</link>
			<description><![CDATA[<p>In all honesty, I&#039;m very tempted to just replace IceWM with Openbox over this one...this one&#039;s REALLY ticking me off...gonna see if I can get Openbox to do my bidding here...</p>]]></description>
			<author><![CDATA[dummy@example.com (fredbird67)]]></author>
			<pubDate>Sun, 09 Nov 2025 01:13:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59331#p59331</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59324#p59324</link>
			<description><![CDATA[<p>@fredbird67 First off, I recommend you use openrc + sysvinit rather than just pure sysvinit.</p><p>This will be much easier to handle. I have experience with this.</p><p>reboot and shutdown however are fairly easy for me.</p><p>if you know how to set up doas, you can shutdown by using:</p><p>doas poweroff<br />doas reboot</p><p>as for suspend, I am not sure how you would do that in devuan, without hardware keys. So... yeah lol, I draw a blank there. </p><p>If you set up doas properly though, you can just type those two commands in and it goes off immediately without requiring a password.</p><p>EDIT: If you want an easier way to shutdown though, qshutdown also works flawlessly.by hitting now on the menu and you will powerdown.</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Sat, 08 Nov 2025 20:54:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59324#p59324</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59317#p59317</link>
			<description><![CDATA[<p>Well, I tried Dan&#039;s solution from a MiyoLinux IceWM respin he did back in 2020, including his logout menu.&#160; I do, of course, have the logout command in the preferences menu set to point to that script, and I can run it from the terminal just fine.&#160; BUT -- when I click &quot;Logout&quot; in the menu, all it does is just dump me back to the login screen without displaying the script.&#160; What else could I be missing?</p>]]></description>
			<author><![CDATA[dummy@example.com (fredbird67)]]></author>
			<pubDate>Sat, 08 Nov 2025 19:12:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59317#p59317</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Can't suspend, reboot, or shut down in a WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59311#p59311</link>
			<description><![CDATA[<p>you can always give <a href="https://github.com/eylles/systemact" rel="nofollow">https://github.com/eylles/systemact</a> a try, it is a &quot;backend&quot; for power menus, (a wrapper for systemctl and loginctl, anyone that wants consolekit support will have to help providing the equivalent commands) that uses yad to provide a confirmation and timeout dialog for every action except lock, it does the heavy lifting and is configurable to support custom logout and lock commands</p><p>all needed for icewm would be to make a local copy of the included power menu entry and replace the systemd commands with the corresponding systemact command.</p>]]></description>
			<author><![CDATA[dummy@example.com (EDX-0)]]></author>
			<pubDate>Sat, 08 Nov 2025 16:39:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59311#p59311</guid>
		</item>
	</channel>
</rss>
