Headless Sun Ray Servers (OSD 26)


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.

Comments:

If dtlogin is dying because it can't start a display on :0 then that's a very serious bug. Are you sure this is really what's behind the 26x status? The "can't start server for display :0" messages in Xerrors are worthless clutter so it's worth reconfiguring to avoid them, but that clutter is the worst that should be happening as a result of a :0 line on a headless machine. (Well, that and the time it takes dtlogin to repeatedly try and fail to start an X server on a non-existent framebuffer device.)

Posted by ottomeister on July 24, 2006 at 08:25 AM PDT #

Hi,

Can the latest SRSS 4.1 be used in headless (dtlogin disabled) as well?

thanks,
James

Posted by James on March 17, 2009 at 07:22 PM PDT #

Post a Comment:
Comments are closed for this entry.
About

Think Thin is a collection of bloggers that work with Oracle's Virtual Desktop portfolio of products.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today