View the Most Wanted LQ Wiki articles.
LinuxQuestions.org > Linux Wiki > Nx

From LQWiki

(Redirected from NX)
Jump to: navigation, search

NX aims at providing stateful desktop sessions, similar to VNC, but with sound and requiring much less bandwidth. One NX implementation is FreeNX.

Contents

Install NX as an application

As a first step, create a connection from your local computer to your local computer, just to make sure it works:

rpm -ivh nx*.rpm
  • Setup NX:
nxsetup --install --setup-nomachine-key --clean --purge
  • Start NX as root:
nxserver --start
  • Verify as user root that the NX server is active
nxserver --status
  • Connect to the NX server
nxclient --wizard

Continue as advised.

Now, to connect from a remote host, open the 500# ports in your target host's firewall. If you do not know how to do this, you can also shut down the firewall.

Install NX as display manager

Maybe you have a very old computer and want to make it a thin client to a faster one (the faster one acting as terminal server). Then you want the old computer to display the NX client program right after startup, without a user having to log in. So you want Nx to be your disPlay manager. Here are some changes I did to /etc/init.d/xdm to make this happen:

case "$1" in
    start)
        X &
        export DISPLAY=:0
        /usr/NX/bin/nxclient
        while true; do sleep 9; done

Tweaking NX

Almost everything is very fast and low-latency with NX. However, Window resizing effects are slow. Switch them off, e.g. in KDE using kpersonalizer:

kpersonalizer -> chose Next till you come to the Eyecandy-O-Meter -> Show details -> Window Moving/Resizing Effects

See also


Personal tools