Sun Ray on OpenSolaris 2008.05

From Sun Ray User Group Wiki

Jump to: navigation, search

Contents

SRSS on OpenSolaris 2008.05

OpenSolaris 2008.05 was released on May 3rd, 2008. I'm sure there are many enthusiasts keen to get SRSS running successfully, therefore this page has been created to assist in working towards this goal. OpenSolaris 2008.05 is not yet supported by the Sun Ray product as such it will take a community effort to get this working.


Known Issues

  • Xsun is not part of the base distribution
  • dtlogin is not part of the base distribution
  • Motif is not part of the base distribution

Gory Details

The following tries to outline the major differences in the OpenSolaris 2008.05 distribution vs. the SRSS supported Solaris 10 distribution and the SRSS components it affects.

  • /usr/openwin is replaced by a symlink to /usr/X11 in the OpenSolaris 2008.05 release. This makes it harder to just pkgadd the Solaris Express Xsun packages, since you'll have to break the symlink and then replace it or have compatibility issues with other software that still looks for X libraries & programs in /usr/openwin.


The Solution

I am going to assume that because of the requirement for Xsun, SRSS 4.0 will not work. However, with the 10/08 release, which is 4.1, it uses Xnewt, which is included. Here is what I did to get it working:

Sun Ray Server 4.1 on OpenSolaris 2008.05


pfexec pkg install SUNWdhcs SUNWdhcsb SUNWdhcm
unzip srss_4.1_solaris.zip
cd srss_4.1
su -
cd $PATH/$TO/srss_4.1
./utinstall

<Y> to accept license

<Y or N> to GUI different languages...

[Enter] at Java location [/usr/java]

<Y> to continue

>> Lots of scrolling output <<

touch /usr/dt/config/sessionetc
sync
reboot

>> wait for reboot <<

OLD # cd /etc/opt/SUNWut
OLD # rm xmgr
OLD # ln -s /opt/SUNWut/lib/xmgr/gdm xmgr

The xmgr link gets refreshed each time utaction gets run, presumably on startup.

The correct fix is:

cd /etc/opt/SUNWut
rm ut_disable_dpms # optional, but I do it.
touch ut_enable_gdm
cd /opt/SUNWut/sbin
./utadm -A ${SUBNET}

>> Normal configuration here <<

>> Enable DHCP if Necessary <<

./utrestart

The Sun Ray should work at this point, but no audio support. Still looking into that. -> Update... The reason it is not working is because the xinit.d scripts are not working.

To fix:

cd /usr/dt/config


Add the lines:

. /etc/opt/SUNWut/xinitrc.d/0010.SUNWut.xdmEnv
. /etc/opt/SUNWut/xinitrc.d/0100.SUNWut

Right before:

command=/usr/bin/gnome-session  # Line 57 I think.

Then you will have working sound. I don't know if USB disks are working right, I don't think they are.


Enabling Firmware Upgrades

In order to get firmware upgrades/tftp working: [1]