Install NX Server on Raspberry Pi
10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!
Buy Game Console Adapters from http://www.easymg.com or http://www.diygadget.com
Contents
What is Raspberry Pi
Why you need NX server
How to install NX server on Raspberry Pi
Prepare the build environment
You need the following packages to build NX server. Use apt-get to install them on your pi:
- xutils-dev
- expect
- xorg-dev
- libjpeg8-dev
- libpng12-dev
Command:
sudo apt-get install xutils-dev expect xorg-dev libjpeg8-dev libpng12-dev
Compiling NX components
NoMachine has released the component source here. There is also a official guide to compiling the components and it is a good source of information. The components you need to build the NX servers are (as of Sept 13/2012, you may see a different version, but component name won't change):
- nxproxy-3.5.0-1
- nxcomp-3.5.0-2
- nxcompext-3.5.0-1
- nxcompshad-3.5.0-2
- nx-X11-3.5.0-2
- nxauth-3.5.0-1
- nxagent-3.5.0-9
- nxscripts-3.5.0-1
You can SSH to your Pi and use "wget" to download the files.
Now you should have total 8 files:
pi@raspberrypi /work/nx $ ls -l total 22180 -rw-r--r-- 1 pi pi 1510400 Jul 12 16:40 nxagent-3.5.0-9.tar.gz -rw-r--r-- 1 pi pi 30671 Jul 12 16:39 nxauth-3.5.0-1.tar.gz -rw-r--r-- 1 pi pi 532999 Jul 12 16:40 nxcomp-3.5.0-2.tar.gz -rw-r--r-- 1 pi pi 91725 Jul 12 16:40 nxcompext-3.5.0-1.tar.gz -rw-r--r-- 1 pi pi 77293 Jul 12 16:39 nxcompshad-3.5.0-2.tar.gz -rw-r--r-- 1 pi pi 80194 Jul 12 16:39 nxproxy-3.5.0-1.tar.gz -rw-r--r-- 1 pi pi 25664 Jul 12 16:39 nxscripts-3.5.0-1.tar.gz -rw-r--r-- 1 pi pi 20345475 Jul 12 16:39 nx-X11-3.5.0-2.tar.gz pi@raspberrypi /work/nx $
Unpack all files (use "tar -xzvf <filename>" command), you should have the following directories (I moved gz files to a different directory):
pi@raspberrypi /work/nx $ ls -l total 32 drwxr-xr-x 2 pi pi 12288 Jun 15 2011 nxcomp drwxr-xr-x 2 pi pi 4096 May 9 2011 nxcompext drwxr-xr-x 2 pi pi 4096 May 9 2011 nxcompshad drwxr-xr-x 3 pi pi 4096 May 9 2011 nxproxy drwxr-xr-x 2 pi pi 4096 May 9 2011 nxscripts drwxr-xr-x 10 pi pi 4096 Aug 5 2011 nx-X11 pi@raspberrypi /work/nx $
Now compile individual components, it may take a while, so go grab a cup of coffee and relax:
cd nxcomp ./configure make cd nxcompext ./configure make cd nxcompshad ./configure make cd nxproxy ./configure make cd nx-X11 make World
Buy Game Console Adapters from http://www.easymg.com or http://www.diygadget.com
10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!