Re: FVWM: strange shutdown behaviour

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Mon, 06 Jan 2003 12:04:42 -0500

"f.kater_at_gmx.net" <f.kater_at_gmx.net> writes:
> Hi,
>
> does anybody have an idea for the following behaviour:
>
> I shutdown the computer using /sbin/shutdown -h 0 in the same script
> that was calling /usr/local/bin/fvwm2. So, when fvwm2 exits shutdown is
> called (see below). This works fine when I (1) use my fvwm menu to log
> off from fvwm *and* (2) if I had an xterm open on the screen. In this
> case some shutdown messages even appear in the xterm (which I also find
> strange since fvwm "quit" is called prior...), then xdm and X and the
> computer shutdown like it was expected.
>
> In case that there was *no* xterm in fvwm - then fvwm, xdm and X
> shutdown, then I see the log in screen on console 1 but the computer is
> *not* shutdown. Nothing happens since I switch to Alt-F7. Then the
> "rest" of the shutdown commands appear and 3 sec. later the computer
> shutsdown...
>
> What may be the difference between having an xterm running or not before
> calling /sbin/shutdown ?

Sounds like its related to some of this wording in the shutdown
man page:

       To prevent this, shutdown can check to see if an autho­
       rized user is logged in on one of the virtual consoles.

-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Jan 06 2003 - 11:14:25 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST