I doubt whether I would have had success without this excellent guide (and the included patches and scripts).
- SRSS needs an older OpenLDAP version. Install libldap-2.2-7 from Debian 3.1 "sarge" (which in turn depends on libssl0.9.7).
- Follow all the steps from the guide mentioned above.
- Init scripts: The display manager GDM should start before the Sun Ray services and stop after them:
update-rc.d -f zsunray-init remove update-rc.d zsunray-init defaults 99 01 update-rc.d -f gdm remove update-rc.d gdm defaults 21 02
- I had some problems getting a working X keyboard extension.
- The SRSS X server "Xnewt" needs an old version of the xkb datasets:
apt-get install xkb-data-legacy
- Execute the xkbinstall-etch script from the guide mentioned above.
- Some links and directories are missing:
cd /opt/SUNWut/lib/xkb ln -s /usr/bin/xkbcomp . mkdir compiled
- Activate XKB support:
/opt/SUNWut/bin/utxconfig -a -k on
- The SRSS X server "Xnewt" needs an old version of the xkb datasets:
- Sound: I was astonished how difficult it is nowadays to set
LD_PRELOAD for all user sessions.
- Nowadays the session manager is started as a child of ssh-agent which
unsets LD_PRELOAD. The /etc/X11/xinit/xinitrc.d/0100.SUNWut script
does some magic to bypass this which doesn't work with Debian.
So put the following line into a new file called
/etc/X11/Xsession.d/51SUNWut-preload
STARTUP="/usr/bin/env LD_PRELOAD=/usr/lib/libc_ut.so $STARTUP"
- KDE has an extra twist. A while ago, KDE processes were started
with the "kdeinit" wrapper. Now we have "start_kdeinit" which is a
SUID-wrapper around the kdeinit wrapper. "start_kdeinit"
does some magic to "prevent getting killed by bad heuristic in
Linux OOM-killer" (quote from the source code), then drops root
privileges and calls kdeinit. And, of course, since it is a SUID program, it
drops LD_PRELOAD.
Way out: Edit /usr/bin/startkde and replace "start_kdeinit" by "kdeinit".
- Nowadays the session manager is started as a child of ssh-agent which
unsets LD_PRELOAD. The /etc/X11/xinit/xinitrc.d/0100.SUNWut script
does some magic to bypass this which doesn't work with Debian.
So put the following line into a new file called
/etc/X11/Xsession.d/51SUNWut-preload
- Debian man should find all the SRSS manpages: add the line
MANDATORY_MANPATH /opt/SUNWut/man
to /etc/manpath.config. - Since we found complaints about missing /var/dt in some log files:
mkdir /var/dt chmod 755 /var/dt
- The /opt/SUNWut/bin/utselect script doesn't work. It crashes when sort issues a warning about deprecated syntax. Please replace "sort +2nr" by "sort -nrk 2" in that script.