Subject: shutdown from X: an init problem?
To: NetBSD Help <netbsd-help@netbsd.org>
From: Bryan Phillippe <bp002@terran.org>
List: netbsd-help
Date: 07/23/2003 23:05:35
Hello,

I have been trying without success to shutdown from an fvwm2 menu.  I can
manually shutdown as a regular user from an xterm with no problems; I do
"shutdown -p now" all the time.  I thought I'd stick it in an fvwm2 menu
and it doesn't work as expected.  It does start the shutdown process, and
in fact eventually will blow away X, but once xdm is gone, I'm just left at
the text-mode login prompt.  I can log in and operate as a regular user -
the system is no longer shutting down.  The interesting thing is that if I
restart X (using startx this time), and do the shutdown from fvwm again,
now it works!  So I'm suspicious that only my runlevel is being changed the
first time, but indeed some processes (other than X and xdm) are being
killed.

Any ideas?

-bp
--