Red Hat Bugzilla – Bug 9202
reboot requires access to DISPLAY
Last modified: 2014-03-16 22:12:27 EDT
If DISPLAY is set to point at server which root lacks access to,
you can get two equally absurd results:
Xlib: connection to "haey.ifi.uio.no:0.0" refused by server
Xlib: Client is not authorized to connect to Server
Broadcast message from root (pts/0) Tue Feb 8 03:27:36 2000...
The system is going down for reboot NOW !!
X11 connection requests different authentication protocol:
'MIT-MAGIC-COOKIE-1' vs. ''.
Gdk-ERROR **: X connection to ifi.uio.no:11.1 broken (explicit kill or
(this fails completely)
Lowlevel tools like reboot has no business talking X11.
(I couldn't reproduce this behaviour when I rebuilt sysvinit from the
Is /usr/bin before /usr/sbin in your path
(and before /sbin); if so, you're running
into the pam_console stuff. Having /sbin
and /usr/sbin before /usr/bin in root's path
will fix this.
My understanding is that to avoid problems like this, the correct path prefix
for root is...
...but raw installs of RedHat 6.1 appear to vary here depending on precicely
which packages are installed. I haven't managed to isolate this to any
particular package though.