Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.2 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[SOLVED] i3 wm shutdown commands for SysV

Help for Current Versions of MX
User avatar
Forum Veteran
Forum Veteran
Posts: 3456
Joined: Wed Apr 11, 2018 5:09 pm

Re: i3 wm shutdown commands for SysV


Post by fehlix » Thu Nov 08, 2018 7:07 pm

mikeswifty wrote:
Thu Nov 08, 2018 6:41 pm
Unfortunately, I just did a copy/paste of your code into the i3 config, restarted i3, and tried to poweroff. Nothing happened.
As I'm not running i3, I have not tested but only "converted" the code you provided in your post, from systemd-calls to syvinit.
But if you compare both code-snipplets and the comands on the commandline, which you shall better test first you shall see the idea.
If you get prompted for a password on the user-command line, than you would have changed something with MX Linux.
But let me kwow if the command line call, do work or not. So we would need to fix first those, if needed,I guess.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Forum Novice
Forum  Novice
Posts: 73
Joined: Wed Jul 26, 2017 9:39 pm

Re: i3 wm shutdown commands for SysV


Post by mikeswifty » Thu Nov 08, 2018 9:47 pm

Running from the terminal gave me an error message about the file in sudoers.d. I forgot to delete it before testing your code. After deleting it, reboot and shutdown work just fine.

Thank you!

I'll mark the thread as [Solved]

Post Reply

Return to “MX Help”