Graphical interface remote login install FreeNX Based on NX Technology

Source: Internet
Author: User


Log on to the server using ssh normally

Open the terminal and run

Sudo gedit/etc/apt/sources. list

Add the freeNX source. I have tried other sources provided on the Internet. I only have this source to connect.

Deb feisty-seveas freenx

The deb-src feisty-seveas freenx

Download and install the GPG key


Sudo apt-key add seveas. gpg

Update and install freeNX

Sudo apt-get update

Sudo apt-get install freenx

The installation is complete, but some modifications are required for normal use, mainly because the font file location of the new system has changed.


Open, which is about 266 rows. The original file is:


Replace it with (so many are actually a line of content ):


Or the first line of this file. The original file is:

        AGENT_EXTRA_OPTIONS_X="-fp /usr/share/X11/fonts/misc:/usr/share/X11/fonts/cyrillic:/usr/share/X11/fonts/Type1:/usr/share/X11/fonts/CID:/usr/share/X11/fonts/100dpi:/usr/share/X11/fonts/75dpi:/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType:/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"

Replace it with (Note:-fp is followed by a space ):

        AGENT_EXTRA_OPTIONS_X="-fp /usr/share/fonts/X11/misc/,/usr/share/fonts/X11/Type1/,/usr/share/fonts/X11/75dpi/,/usr/share/fonts/X11/100dpi"

Open another file.

Gedit/etc/nxserver/node. conf

Add a space after the file (Note:-fp ):

        AGENT_EXTRA_OPTIONS_X="-fp /usr/share/fonts/X11/misc/,/usr/share/fonts/X11/Type1/,/usr/share/fonts/X11/75dpi/,/usr/share/fonts/X11/100dpi"

After installation, run the following command to test the NX Server:

Current status:

Nxserver -- status


Nxserver -- restart

However, I found that users can log on without adding them to the NX userlist.

(Later I checked the information and found that the new version of freenx was verified using PAM. As long as the user can log on to ssh, It is very convenient to add the user to the freenx database .)

For the Linux client, you can install it from the source mentioned above:

Sudo apt-get install nxclient

Winxp client above, I use nomachine out, free, download here

Download and install nxclient-3.2.0-10.exe: Enter the session item as needed. The host is, the default port is 22, and the network connection mode is Lan. Next, select Unix-GNOM and set the following expected resolution, for example, 1024*768, by default, the next step is configured. To make the display speed faster, set all available memory in configure-advanced-cache to the maximum.

Then, enter the user name and password to log on. The password is fast and secure. It is applicable to scenarios where multiple users need to share xwindow.

The most frequently asked connection questions on the Internet:

When the xp end cannot be connected, a message such as "freenx -- status =" suincluded, running "may be displayed. I solve this problem.

Delete the C: Program FilesNX Client for windows1_keysserver. id_dsa.key on the xp end so that you can log on.

If you still cannot log on, copy the server/var/lib/nxserver/home/. ssh/client. id-dsa.key to xp C: Program FilesNX Client for windows1_keys to try?

However, the key verification settings should be in the two configuration files mentioned above. The system provides several verification methods, and the key is one of them. You can explore it.

Related Article

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: 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.