First, this is not a "I have a problem: Help me" post.
The problem is real and I have a workaround, but I am curious as to
why it is.
Here's the situation: I have an unattended machine, running X on the
console. I setup an "at" job to shutdown the machine at a certain
time. When the "at" job runs, the machine hangs (actually, the
keyboard locks, but the X screensaver continues to run). When I
telnet in from elsewhere and do: killall X, the shutdown finishes and
the machine reboots.
Why is this?