Installing Nomachine NX Free Edition on Lubuntu 12.04 x64

Usually docs for *buntu are identical, but not this time. This works for Lubuntu. It does not work for Ubuntu. See http://magiksys.blogspot.com/2012/05/ubuntu-1204-and-nomachine-nx.html for tips how to get NX working on Ubuntu.

# If you really don't have ssh yet
apt-get -y install openssh-server

# Download NX Free Edition
mkdir -p /usr/src/nx
cd /usr/src/nx
wget http://64.34.173.142/download/3.5.0/Linux/nxclient_3.5.0-7_amd64.deb
wget http://64.34.173.142/download/3.5.0/Linux/nxnode_3.5.0-9_amd64.deb
wget http://64.34.173.142/download/3.5.0/Linux/FE/nxserver_3.5.0-11_amd64.deb

# Install
dpkg -i nxclient*deb nxnode*deb nxserver*deb

# Add symlink to be compatible with NX that defaults to Gnome
ln -s /usr/bin/lxsession /usr/bin/gnome-session

# Generate SSH key. Default is to let whole world access via SSH (ok, not really but almost)
/usr/NX/scripts/setup/nxserver --keygen

# Copy /usr/NX/share/keys/default.id_dsa.key to your clients renamed to mylinuxservername.key
# Windows: C:\Program Files\NX Client for Windows\share\keys
# Linux: /usr/NX/share/keys

# When creating new connection make sure you use proper key under General > Keys. 
# Also change desktop settings from "Unix: Gnome" to "Unix: Custom" and under
# Settings "Run the following command: startlubuntu" plus "New Virtual Desktop".
 
 

Comments