Headless Sun Ray Servers (OSD 26)
By ThinGuy on Jul 21, 2006
About once a week I see a problem come across my inbox asking about Sun Rays sitting at the OSD icon with a message of 26. Don't worry about the letter after the code, that's the DHCP state and has nothing to do with this problem. But just so we bring in google traffic, typically the icon codes with the DHCP state will be 26B or 26D.
The most common cause of this is that dtlogin has died because this is a headless server and dtlogin gave up after a multiple attempts at starting a xserver on :0. The place to confirm this is in /var/dt/Xerrors as it should be full of messages like:
error (pid 1216): Server for display :0 can't be started.
The Sun Ray Server Confguration Guide mentions:
On a headless Sun Ray server, you need to configure /etc/dt/config/Xservers.SUNWut.prototype so that dtlogin does not try to start an Xsun on DISPLAY:0. For instructions, see /etc/dt/config/README.SUNWut
This task is often overlooked and the end result are Sun Rays sitting at code 26, which means the Sun Ray has connected to the Sun Ray Server and is awating graphics traffic. Note that all Sun Rays will experience a 26 right before the Xserver fires up on that display. It's the ones that never move past 26 that is our concern.
While /etc/dt/config/README.SUNWut tells you how to copy over the default Xservers file into a prototypes file, it doesn't tell you how to stop dtlogin from trying to start Xsun on display :0.
After you perform the command cp /usr/dt/config/Xservers /etc/dt/config/Xservers.SUNWut.prototype, you must then go edit this file.
You will find this line at the bottom:
:0 Local local_uid@console root /usr/X11/bin/Xserver :0 -nobanner,
Comment out this line with a #, save the file and on the next cold utrestart you will be all set.
Shortcut: Since it is pretty rare that any customizations have been made to Xservers in the first place and the whole file is just a bunch of comments with the exception of one line that you want to comment out anyhow, simply just touch /etc/dt/config/Xservers.SUNWut.prototype and you will have saved yourself a few steps.
Note: Other things may cause the Sun Ray to hang at 26, but typically this is the most common on a new install.