Sorry for the brevity – it was quickly written to fill a need. I will try and flesh it out later. This is a minimal ubuntu server setup with just enough gui to function with nx client. We use these for remote access terminals on low powered equipment.
Install ubuntu server 8.04.3 from CD
only select openssh-server, use all other defaults
login and note ip address
ifconfig
change ssh port to non-standard port e.g. 8888
sudo nano /etc/ssh/sshd_config
change port 22 to port 8888, save and exit.
sudo reboot
From remote machine login with ssh
ssh <user>@<ip addr> -p 8888
sudo su
apt-get update
apt-get upgrade -y
–let it work for a while
reboot
log back in after a few minutes
sudo nano /etc/apt/sources.list
add this at the bottom:
deb http://ppa.launchpad.net/freenx-team/ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/freenx-team/ppa/ubuntu hardy main
save and update key, then reload repositories:
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 2a8e3034d018a4ce
sudo apt-get update
Now actually install freenx:
sudo aptitude install freenx
wait 5-10 minutes for it to finish
sudo /usr/lib/nx/nxsetup –install
You should be ready to connect with NX Client from nomachine
optionally Install a few items you may need later:
sudo apt-get install gnome-terminal firefox tsclient libstdc++5