Friday, July 13, 2012

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 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

# 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".

No comments:

Post a Comment

Got something to say?!