Please also have a look at
- apt-get install libldap2 libldap-2.3-0 ldap-utils dhcp3-server nscd gawk iputils-ping pdksh unzip alien libdb3-util libgdbm3 libx11-6 libfreetype6 libsasl2 libxt6 zlib1g gdm devscripts xkb-data-legacy xfonts-base
- Get Sun Ray Software 4 Update 3 Beta (srss_4.1.zip) from SUN
- Extract it to a temporary working directory with unzip srss_4.1.zip
- Execute the following snippet in a bash-shell:
find . -name *.i386.rpm | xargs alien -d
- Install all resulting sunw*deb-packages: dpkg -i sunw*deb
- Download and apply the following Patch: cd / && patch -p0 </path/to/sray41beta-debian.patch.2008-10-04 (4.0 updates from Meik Hellmund)
- Put the init-script into /etc/init.d, and run chmod 755 /etc/init.d/zsunray-init && update-rc.d zsunray-init defaults 99 01
- Now you need the correct java in /etc/opt/SUNWut/jre. Run /path/to/srss_4.0/Supplemental/Java_Runtime_Environment/Linux/jre-1_5_0_11-linux-i586.bin in /etc/opt/SUNWut/ and mv jre1.5* jre
- Download xkbinstall-etch.2007-02-02 and execute it: /bin/sh xkbinstall-etch.2007-02-02 (Update 2007-02-02: Added tweaks by Meik Hellmund)
- Create the DHCP sysconfig file which is used by the Sunray Server Software: mkdir -p /etc/sysconfig; echo -e "DHCPD_CONF_INCLUDE_FILES\nDHCPD_INTERFACE" >/etc/sysconfig/dhcpd
- If you have no /etc/lsb-release file generate it on Debian with: echo "DISTRIB_ID=Debian" >/etc/lsb-release
- If you have not already configured the DHCP-server on your machine for other clients, you should empty the current config, so the Sun Ray Server Software adds its entries to a clean config and not the debian example one: mv /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf.sample; touch /etc/dhcp3/dhcpd.conf. If you have already configured the dhcp-server, make a backup-copy of your old config, just in case.
- Create the LDAP compatibility symlinks with: rm -f /etc/opt/SUNWut/utctl.run; /etc/init.d/utsyscfg start
- On a new install you can now configure the server with /opt/SUNWut/sbin/utconfig and /opt/SUNWut/sbin/utadm (see the manual).
- Edit /etc/pam.d/gdm and comment every line containing pam_sunray_hotdesk.so.1, or else you can't resume existing sessions (non smartcard hotdesking seems broken currently)
- If you have upgraded your Sunray Server Software by installing the new package versions without purging the old ones, you now have to migrate your old configuration by running cd /opt/SUNWut/sbin; ./utconfig -s silent to take advantage of the new software features. You do not need to run utadm and utconfig again.
- For dhcp to work, the utdam script should have added some lines to your /etc/dhcp3/dhcpd.conf and restarted the dhcp-server. Example:
If this did not happen, try a fully-fledged /etc/dhcp3/dhcpd.conf instead: Example dhcpd.conf
- You also need to manually assign the IP-addresses in /etc/network/interfaces (If you don't want to use only LAN-mode). Example (only sunray-interconnect):
iface eth2 inet static
- For firmware-download to work, you need a tftp-server: apt-get install atftpd
- To get the SunRAY variables (for example $SUN_SUNRAY_TOKEN) set upon login, put 10SUNWut into /etc/X11/Xsession.d/
- An /etc/gdm/gdm.conf for SunRAYs could look like this one: gdm.conf.
- Remember: After (re-)starting GDM, you also need to restart the SunRAY server software with: /etc/init.d/zsunray-init stop; /etc/init.d/zsunray-init start
- You are now ready to start the Sun Ray Server Software with: /etc/init.d/zsunray-init start