Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2017 22:41:26 +0200
From:      Heikki Lindholm <holindho@saunalahti.fi>
To:        freebsd-questions@freebsd.org
Subject:   Re: Shutdown from WindowMaker when using Xdm
Message-ID:  <9cb23f04-161d-90da-c1c0-7b863100292b@saunalahti.fi>
In-Reply-To: <alpine.BSF.2.20.1701202109540.1982@localhost>
References:  <alpine.BSF.2.20.1701202109540.1982@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
20.1.2017, 22.17, Marco Beishuizen kirjoitti:
> Hi,
>
> What is a good and clean way to shutdown the system from a windowmanager
> (in my case WindowMaker), and using xdm? I did add a menuitem containing
> "shutdown -p now", but then WM sometimes coredumps. So I get the
> impression that this method isn't the best way to do it. Just exiting
> the WM is possible, but then the system exits to the login screen,
> without the possibility of shutting down from there.
>
> So is there a clean way of shutting down from WM?

Cannot answer that, but just set up a GNUstep environment with 
WindowMaker myself. I used wdm instead of xdm and it has the option to 
shutdown and reboot, although you have to enable them from the config file.

If exiting the wm always implies shutdown for you, maybe adding shutdown 
-p to your .xsession after the wm exits would work.

-- Heikki Lindholm




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9cb23f04-161d-90da-c1c0-7b863100292b>