NoMachine, a new example of NX remote control

Source: Internet
Author: User
Article Title: NoMachine, a new example of NX remote control. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
   Preface
====
  
I have searched for a few articles about NX in LinuxSir. Org, and I have only taken it lightly. Therefore, I am writing this article to help you better understand NX. Most of the Traditional remote control methods around xhost + export DISPLAY, ssh-X, VNC and so on, such as http://www.linuxsir.org/bbs/showthread.php? T = 225590 description
  
However, these traditional methods are not secure, they occupy a high transmission bandwidth or are slow, or the server can only connect to one client at a time. NX can fill in all aspects of defects, it has great potential to ban old methods and become a new example of remote control.
  
The history and development background of NX are not mentioned much. It is intended to explain how to set up NX Server and connect to remote control through NX Client. Although the original NoMachine NX Server was released by GPL, It was just freedom-to-use, not free-of-charge, and required $, of course, you can also download the Server version of NoMachine for testing. This article focuses on the free version of NX Server, that is, FreeNX, because FreeNX is not only a GPL release, there is also freedom-to-use, and more importantly, free-of-charge. On the NX Client side, simply use the Client provided by NoMachine.
  
   Linux Server connection
================================
  
1. Linux Server + Linux Client
2. Linux Server + Windows Client
  
First, you don't need to worry about it. It's easy to experience it without installation.
  
Knoppix comes with FreeNX since version 3.6. To implement the first connection method, the simplest and most direct method is to find LiveCD such as Knoppix or Kanotix. No installation is required, you only need to configure it. For the sake of instruction, I will use a Kanotix-2005.3 as the Server, a Knoppix-3.8 as the Client, and use another machine running WinXP Pro as the Client to demonstrate the following steps:
  
Linux Server Settings
  
The Linux Server used in this paper is Kanotix-2005.3, Kanotix is actually the cutting-edge version of Knoppix, not only the software is newer, most adopt Debian Sid, the technology is also more advanced. 2005.4 not available yet, but the 2005.4-Lite-RC17 being tested has kernel with 2.6.14.2, udev, Xorg, and KDE3.4.3 and more advanced than the latest Knoppix-4.0.2
  
1. First find a computer boot Kanotix-2005.3 LiveCD
  
2. The default value of Kanotix is the KDE Desktop Environment. Setting the NX Server in Kanotix is relatively simple. In the main program menu (K menu), choose KANOTIX> Services> Start NX Server.
  
3. The system will prompt that Unionfs has been started and requires two knoppix user passwords to be used for authentication. Here, the knoppix user is the default user name after Kanotix CD is started.
  
4. Then the system will automatically enable sshd.
  
5. Next, you need to Configure FreeNX. When the system asks how to enable FreeNX, select Complete
  
If you want to use Knoppix as the server, the options are similar. Choose KNOPPIX> Services> Start NX Server from the main menu (K menu, then, the system will require a new user nxuser to be created and the password of the nxuser to be entered twice for authentication.
  
Linux Client settings
  
The Linux Client used in this article is a Knoppix-3.8, we have been very familiar with Knoppix, do not introduce. The new version of Knoppix 4.0.2 is the same as that of Knoppix 3.8.
  
1. Another computer boot Knoppix-3.8 LiveCD
  
2. Knoppix is the KDE Desktop Environment by default. Choose "Internet"> "NX Client for Linux"> "NX Connection Wizard" from the main menu (K menu ).
  
3. Start to set NX Connection Wizard,NX-1-Connection-Wizard.png
  
4. Press nextto enter the second page to fill in the serverdata, nx-2-connection-wizard.png
  
5. Renewal
  
6. Next, follow the settings of the Client side. you can click Next to discuss nx-4-login.png.
  
7. Fill in the user name and password for the initial connection, figure nx-5-connecting.png
  
8. Haha, the remote Kanotix KDE Desktop is displayed in front of you, so excited! Figure NX-6-Remote-Kanotix on Knoppix.png
  
9. After the operation is completed, if you want to end the connection task, you only need to select Logout, as if you want to exit the local desktop. See NX-7-Remote Kanotix Logout.png and graph NX-8-Remote kanotix Session Ended.png
  
Windows NX Client settings
  
I found a WinXP Pro as the Client. In fact, all later Win98 versions can be used.
  
1. Use Windows as Client, first to download NX Client for Windows http://www.nomachine.com/download.php, cut to today, the latest version is 1.5.0-132
  
2. the M $ Client is to be installed (unless packaged from one installed computer to another), installed and run it. The interface is similar to the Linux FreeNX Client, fill in the Server information can start to connect, NX-w3-NX Client for Windows.png
  
3. The connection is complete, and the remote Kanotix KDE Desktop is displayed in front of the M $ desktop, as shown in the NX-w4-Remote Kanotix on XP.png
  
4. Remote operations are the same as local operations, so Logout can close the connection task.
  
How have you experienced it? Do you want to officially install FreeNX on your computer?
  
Install Linux FreeNX Server (Debian is used as an example here)
  
NX/FreeNX communication requires ssh protocol. Therefore, the server must first install the ssh server package, such as ssh or openssh-server.
  
FreeNX is written by Fabian Franz according to the gpl nx source code provided by NoMachine. Who is Fabian Franz? The one who compiled knoppix-installer gave countless knoppix users a chance to install knoppix on the hard disk as a shell programmer! Therefore, the most easily obtained FreeNX package is Debian.
  
Modify Your/etc/apt/sources. list
  
Use Kanotix.com as the source and add
  
Deb http://kanotix.com/files/debian ./
  
Then execute
Apt-get install freenx
  
Like me, I like the self-abuse school that uses dpkg-I to install things. If you want to download the deb package on your own, you can also go
  
Http://kanotix.com/files/debian/pool/main/n/nx/
Http://kanotix.com/files/debian/pool/main/f/freenx/
  
Or
Http://debian.tu-bs.de/project/kanot...ool/main/n/nx/
Http://debian.tu-bs.de/project/kanot...main/f/freenx/
  
Download the nx and freenx-related deb packages, including
  
Freenx_0.4.4 + 0.4.5-2sarge1_all.deb
Libxcomp1_1.4.92 + 1.5.0-3sarge2_i386.deb
Libxcompext1_1.4.92 + 1.5.0-3sarge2_i386.deb
Nxlibs_1.4.92 + 1.5.0-3sarge2_i386.deb
Nxagent_1.4.92 + 1.5.0-3sarge2_i386.deb
  
The packages provided by kanotix.com are the same, but the name does not contain the word "sarge.
  
After the installation is complete, select NoMachine keys on the refreshing freenx screen. In this way, your FreeNX Server is set up. to make changes in the future, you only need to execute dpkg-reconfigure freenx.
  
FreeNX Server is flat, and the next part is about to handle the Client.
  
Installation of Linux NX Client
  
NX/FreeNX communication requires ssh protocol. Therefore, the client must first install the ssh client package, such as ssh or openssh-client.
  
Please first go to the http://www.nomachine.com/download.php to download NX Client for Linux, NoMachine provides a variety of Binary Package for download, rpm, deb, tarball and so on. It is basically available for mainstream releases. As of today, the latest version is 1.5.0-131. My website is Debian with XFT, http: // 64.34.161.181/download/1.5.0/... 0-0000_i386.deb
  
And then use dpkg-I for installation.
  
To start NX Client, you only need to execute nxclient. The configuration method is as follows.
  
$ Nxclient &
  
The Windows Client has been specified and is no longer repeated.
  
I believe everyone can now understand how to use NX for remote control.
  
   Conclusion
====
  
Remote control is required. With NX or FreeNX as the Server, the Linux Client has a free option, while the Windows Client does not need to worry about finding X Client for Windows (such as WinaXe, eXceed, cygwin.
  
I have seen the use of Windows XP as a Server display on the FreeNX Client of Knoppix. I guess it's rdesktop. If you have the chance, I will discuss it with you later. I am not very familiar with this article. If there are any mistakes or omissions in this article, please confirm.
  
NX/FreeNX still has many functions not mentioned in this article, such as remote printing, sound configuration, nxproxy proxy, etc. I hope you can explore and discuss them here. Thank you for watching.
    
Click to view the chart
   
Click to view the chart
   
Click to view the chart
   
Click to view the chart
   
Click to view the chart

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.