Many of you will certainly annoy the lack of access to a remote desktop Linux systems that sell various hosting companies. In this short article, it presents you how you can easily install remote desktop called NX Server via SSH using a program such as putty packages for Windows. We need to connect via SSH with our VPS
1.first needs to be changed sources.list: current path
nano /etc/apt/sources.list
2. You should add the following two lines and save:
deb http://ftp.debian.org/debian lenny main contrib non-free
deb-src http://ftp.debian.org/debian lenny main contrib non-free
Update the system:
apt-get update
Controls whether the system has all the updates, if you do not then you should install the missing:
apt-get dist-upgrade
Xorg installation window manager (at the end of the installation, the system may ask a few questions, at which we suggest you keep just the default settings):
GDM - the best choice if it is to be used Gnome
Now you need to install the selected manager. Suitable for this command are:
apt-get install gdm
next install
apt-get install gnome
restart the system
To ensure that the X-Server is started, the system should be restarted:
shutdown -r now
Immediately after logging should be created a new user, who will be using the GUI:
adduser mynewusername
Then you will be prompted for a password for the newly created user, they should be entered here.
Install server NX
Before you begin installing NX server, specify the following command in the console (without the NX server installation package can create problems):
apt-get install libaudiofile0
Now the NX server must be configured to allow access through a different system. To this must be obtained following the NX server packages:
Once downloaded, these 3 packages should be installed by dpkg:
To install a 32-bit:
dpkg -i nxclient_3.5.0-7_i386.deb
dpkg -i nxnode_3.5.0-9_i386.deb
dpkg -i nxserver_3.5.0-11_i386.deb
For the 64-bit:
dpkg -i nxclient_3.5.0-7_amd64.deb
dpkg -i nxnode_3.5.0-9_amd64.deb
dpkg -i nxserver_3.5.0-11_amd64.deb
To ensure that applications operate, it must be re-run the following commands:
/etc/init.d/ssh restart
/etc/init.d/nxserver restart
The system is now installed.
Client desktop for windows is here
https://www.nomachine.com/download
1.first needs to be changed sources.list: current path
nano /etc/apt/sources.list
2. You should add the following two lines and save:
deb http://ftp.debian.org/debian lenny main contrib non-free
deb-src http://ftp.debian.org/debian lenny main contrib non-free
Update the system:
apt-get update
Controls whether the system has all the updates, if you do not then you should install the missing:
apt-get dist-upgrade
Xorg installation window manager (at the end of the installation, the system may ask a few questions, at which we suggest you keep just the default settings):
GDM - the best choice if it is to be used Gnome
Now you need to install the selected manager. Suitable for this command are:
apt-get install gdm
next install
apt-get install gnome
restart the system
To ensure that the X-Server is started, the system should be restarted:
shutdown -r now
Immediately after logging should be created a new user, who will be using the GUI:
adduser mynewusername
Then you will be prompted for a password for the newly created user, they should be entered here.
Install server NX
Before you begin installing NX server, specify the following command in the console (without the NX server installation package can create problems):
apt-get install libaudiofile0
Now the NX server must be configured to allow access through a different system. To this must be obtained following the NX server packages:
- OS 32-bitj:
- wget http://uni-smr.ac.ru/archive/linux/distr/special/servers-and-clusters/NX/nxclient_3.5.0-7_i386 (1).deb
- wget http://uni-smr.ac.ru/archive/linux/distr/special/servers-and-clusters/NX/nxnode_3.5.0-9_i386.deb
- wget http://uni-smr.ac.ru/archive/linux/distr/special/servers-and-clusters/NX/nxserver_3.5.0-11_i386.deb
- OS 64-bit:
- wget http://uni-smr.ac.ru/archive/linux/distr/special/servers-and-clusters/NX/nxclient_3.5.0-7_amd64.deb
- wget http://uni-smr.ac.ru/archive/linux/distr/special/servers-and-clusters/NX/nxnode_3.5.0-9_amd64.deb
- wget http://uni-smr.ac.ru/archive/linux/distr/special/servers-and-clusters/NX/nxserver_3.5.0-11_amd64.deb
Once downloaded, these 3 packages should be installed by dpkg:
To install a 32-bit:
dpkg -i nxclient_3.5.0-7_i386.deb
dpkg -i nxnode_3.5.0-9_i386.deb
dpkg -i nxserver_3.5.0-11_i386.deb
For the 64-bit:
dpkg -i nxclient_3.5.0-7_amd64.deb
dpkg -i nxnode_3.5.0-9_amd64.deb
dpkg -i nxserver_3.5.0-11_amd64.deb
To ensure that applications operate, it must be re-run the following commands:
/etc/init.d/ssh restart
/etc/init.d/nxserver restart
The system is now installed.
Client desktop for windows is here
https://www.nomachine.com/download
Last edited: