Difference between revisions of "Install NX Server on Raspberry Pi"

From TIAO's Wiki
Jump to: navigation, search

10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!
(Getting the source)
(Getting the source)
Line 16: Line 16:
  
 
== How to install NX server on Raspberry Pi ==
 
== 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:
 +
<pre>
 +
sudo apt-get install xutils-dev expect xorg-dev libjpeg8-dev libpng12-dev
 +
</pre>
  
 
=== Getting the source ===
 
=== Getting the source ===
 
NoMachine has released the component source [here http://www.nomachine.com/sources.php].  There is also a official [guide http://www.nomachine.com/documents/technology/building-components-3.x.php] 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):
 
NoMachine has released the component source [here http://www.nomachine.com/sources.php].  There is also a official [guide http://www.nomachine.com/documents/technology/building-components-3.x.php] 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):
<pre>
+
 
nxproxy-3.5.0-1
+
* nxproxy-3.5.0-1
nxcomp-3.5.0-2
+
* nxcomp-3.5.0-2
nxcompext-3.5.0-1
+
* nxcompext-3.5.0-1
nxcompshad-3.5.0-2
+
* nxcompshad-3.5.0-2
nx-X11-3.5.0-2
+
* nx-X11-3.5.0-2
nxauth-3.5.0-1
+
* nxauth-3.5.0-1
nxagent-3.5.0-9
+
* nxagent-3.5.0-9
nxscripts-3.5.0-1
+
* nxscripts-3.5.0-1
</pre>
+
 
  
 
You can SSH to your Pi and use "wget" to download the files.
 
You can SSH to your Pi and use "wget" to download the files.

Revision as of 14:15, 13 September 2012








Buy Game Console Adapters from http://www.easymg.com or http://www.diygadget.com

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

Getting the source

NoMachine has released the component source [here http://www.nomachine.com/sources.php]. There is also a official [guide http://www.nomachine.com/documents/technology/building-components-3.x.php] 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 $



Download and unpack all the components into ~/devel/nx and you will end up with the following directories:




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!