The explanation of this work will be given in 2 parts. The first deals with how we use and test this environment and second with the packages required.
Temporaririly, a fixed Xorg.conf file is used. Subsequently, startx-like script should dynamically create the appropriate x-conf file for each workstation.
We have defined 2 screens - shell and login. The login screen entry contains the following lines:
#!/bin/bash
echo "tty=" `tty`
exec /sbin/getty 19200 `tty`
Since /tmp is root owned, we need to run the following command from the shell screen
chomd -R 777 /tmp
Sign in from the login screen and fire the lollowing script
PATH=$PATH:/usr/X11R6/bin
export PATH
xinit -- -config Xorg.conf
The file .xinitrc should execute the window manager session - so one of the following two lines should be present
exec matchbox-session
exec /bin/icewm
In the terminal, 'xhost server', then ssh to the server, set the DISPLAY variable and start the desired application, e.g. firefox.