Re: Sending messages to tty1 after xdm exits
On Sun, 01 Jun 2003 19:50:09 +0200, firstname.lastname@example.org
> I'm using xdm for logging in to my laptop. I wanted to be able to
> shutdown so I added buttons to the xdm logging screen.
> When the shutdown button is clicked this command is run:
> exec /sbin/shutdown -h now 2>/dev/console >/dev/console
> The "problem" is that X shuts down and I see my original tty1 screen
> (with the left-over startup messages). But the normal shutdown messages
> are *not* displayed. I'd like to see those messages.
> xdm normally starts xconsole via /etc/X11/xdm/Xsetup so I disabled that
> in case that was redirecting console messages, which then meant
> /dev/console was not where it used to be).
> I also tried just running shutdown without redirecting to /dev/console,
> but that didn't do the trick, either.
Try redirecting to /dev/tty1 ?
A box of dancing mechanical pencils. They dance! They sing!