Remote Desktop tool-NoMachine

Source: Internet
Author: User
Tags install node ssh port

Remote Desktop software is often used in Linux. I have been using Xmanager and VNC. Today we see a new software: NoMachine. NoMachine NX is a fast Terminal Server and virtual desktop software based on X11 protocol. It is said that the speed is faster than VNC, and can even run in a 10 k bandwidth environment. And the picture is clearer than that of VNC.
 
NoMachine official website address: http://www.nomachine.com/
 
To use NoMachine, you must configure the server and client.
 
I. Server

The server needs to install three packages:
Nxserver-3.4.0-12.i386.rpm
Nxnode-3.4.0-11.i386.rpm
Nxclient-3.4.0-7.i386.rpm
 
Linux 32bit:
Http://www.nomachine.com/download-package.php? Prod_Id = 1, 2068
 
 
The following is a usage description on the NoMachine web page:

1. Download the RPMs
2. Change your working directory to the location where you saved the package and install it by running from a console:

# Sudo rpm-I nxclient-3.4.0-7.x86_64.rpm
# Sudo rpm-I nxnode-3.4.0-14.x86_64.rpm
# Sudo rpm-I nxserver-3.4.0-14.x86_64.rpm
If you don't have the sudo utility installed, log on as superuser ("root") and run the commands without sudo.
Note: click here for detailed instructions on how to install the NX Client, NX Node and NX Server packages. the NX service can be controlled by the command/usr/NX/bin/nxserver -- status | -- start | -- stop | -- restart. additional commands are available to configure the server. try/usr/NX/bin/nxserver -- help for more information. please, don't forget to download and read the NX Server Administrator's Guide available here.

 
 
[Root @ rac2/] # mkdir/windows
[Root @ rac2/] # mount-o username = dave, password = 888 // 192.168.6.80/tmp/windows
[Root @ rac2/] # cd windows/
[Root @ rac2 windows] # ls
Nxclient-3.4.0-7.i386.rpm nxnode-3.4.0-14.i386.rpm nxserver-3.4.0-14.i386.rpm
[Root @ rac2 windows] # ls-lrt
Total 17033
-RwxrwSrwx 1 root 6928970 Nov 11 nxserver-3.4.0-14.i386.rpm
-RwxrwSrwx 1 root 6033923 Nov 11 nxnode-3.4.0-14.i386.rpm
-RwxrwSrwx 1 root 4477229 Nov 11 nxclient-3.4.0-7.i386.rpm
[Root @ rac2 windows] # rpm-ivh *. rpm
Error: failed to stat/mnt: Host is down
Preparing... ######################################## ### [100%]
1: nxclient ####################################### #### [33%]
Showing file:/usr/NX/share/documents/client/cups-info
 
CUPS Printing Backend
 
The NX Client set-up procedure detected that your "ipp cups" printing
Backend doesn't allow printing from the NX session. In order to have
Printing support in your NX system, you need to set proper permissions
On the IPP backend. Please execute:
 
Chmod 755/usr/lib/cups/backend/ipp
2: nxnode ####################################### #### [67%]
NX> 700 Starting: install node operation at: Thu Nov 11 18:58:13 2010.
NX> 700 Autodetected system 'redhat '.
NX> 700 Install log is '/usr/NX/var/log/install '.
NX> 700 Creating configuration in/usr/NX/etc/node. cfg.
NX & gt; 700 Inspecting local CUPS environment.
NX> 700 Generating CUPS entries in:/usr/NX/etc/node. cfg.
NX> 700 Installation of version: 3.4.0-14 completed.
NX & gt; 700 Bye.
 
3: nxserver ####################################### #### [100%]
NX & gt; 700 Installing: server at: Thu Nov 11 18:58:27 2010.
NX> 700 Autodetected system: redhat.
NX> 700 Install log is:/usr/NX/var/log/install.
NX & gt; 700 Creating configuration file:/usr/NX/etc/server. cfg.
NX & gt; 723 Cannot start NX statistics:
NX> 709 NX statistics are disabled for this server.
NX> 700 Version '3. 4.0-14 'installation completed.
NX> 700 Showing file:/usr/NX/share/documents/server/install-notices
...
 
NX & gt; 700 Bye.
 
[Root @ rac2 windows] #
 
 
The above prompts us to execute the script:
[Root @ rac1 windows] # chmod 755/usr/lib/cups/backend/ipp
 
 
View NXserver:
[Root @ rac2 Server] #/usr/NX/bin/nxserver -- status
NX> 900 Connecting to server...
NX> 110 NX Server is running.
NX & gt; 999 Bye.
[Root @ rac2 Server] #
 
 
Ii. Client
 
 
Download Windows client:
Http://www.nomachine.com/download-client-windows.php
 
 
After installation, connect to the server.
 
After running, check the Configuration:
 

 
Here we need to enter the Host and remote desktop type. Currently, KDE and GNOME are basically used. If only one is installed in Linux, select the correct one.
 

There is also a network type.
 
 

 
 
 
Connected image:

 
 
 
 
 
There are two points to note:
 
1. the root user cannot be used for connection.
2. If you encounter any problems, check the environment variables:
 
To launch a desktop session, KDE or GNOME, the corresponding
Commands, either startkde or gnome-session must be set in the PATH.

If the command is not available in the PATH, an error message like:

"Cannot run 'startkde'. Please check that the requested application is in
The system PATH and that you have the rights to execute it ."
 
The NoMachine official website describes this error:
Http://www.nomachine.com/ar/view.php? Ar_id = AR06D00398



3. Modify the NoMachine Port
NoMachine and SSH use the same channel. Therefore, if the SSH port is modified, the NoMachine port must also be modified.
 
 
Two configuration files for NoMachine Port:
 
File 1:/usr/NX/etc/server. cfg
 
Modify the following two parameters:
SSHDPort = "222"
ServerName = "ds-nb-dbserver"
-- This is from the/etc/hosts file.
 
File 2:/usr/NX/etc/node. cfg
 
Modify the following three parameters:
NodeName = "ds-nb-dbserver"
SSHDPort = "222"
SSHDAuthPort = "222"
 
 
SSH port configuration file:/etc/ssh/sshd_config
The modified port must be consistent with NoMachine:
Port 222
 
Remember to add the port in the firewall:

Linux iptables Firewall adds and deletes ports

Http://www.bkjia.com/Article/201202/119414.html

Restart SSH and Port:
[Root @ ds-nb-dbserver Linux32bitServer] #/usr/NX/bin/nxserver -- stop
NX & gt; 123 Service stopped.
NX> 153 Stopping NX server monitor.
NX> 153 NX server monitor alreadystopped.
NX & gt; 999 Bye.
[Root @ ds-nb-dbserver Linux32bitServer] #/usr/NX/bin/nxserver -- start
NX & gt; 122 Service started.
NX & gt; 999 Bye.
[Root @ ds-nb-dbserver Linux32bitServer] #/usr/NX/bin/nxserver -- status
NX> 900 Connecting to server...
NX> 110 NX Server is running.
NX & gt; 999 Bye.
 
/Etc/init. d/ssh restart


 
 
 

Bytes -------------------------------------------------------------------------------------------------------
All rights reserved. reprinted articles are allowed, but source addresses must be indicated by links. Otherwise, the documents will be held legally responsible!
Blog: http://blog.csdn.net/tianlesoftware

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.