FUNC:NX

From Center for Cognitive Neuroscience
Jump to navigation Jump to search

Using NX to log in remotely

NX is a lot like using the VNC, but it is faster and displays your virtual session in a much more user-friendly way than the VNC. Also, you can copy and paste information from your own laptop into your virtual desktop, which can be really handy. Like the VNC, if you want to use it from home, you will need run the lifesciences VPN so that you can log in.

To use NX, the first thing is to get the client. You can download it from: http://www.nomachine.com/download.php

Once you have the client installed, login to funcserv1 and run "killvnc" (to make sure you don't have an open session). Then start the NX client.

The client should present a window with fields for Login, Password, and Session name. The Login and Password are the same as your username and password for ssh. You can use whatever name you like for the Session.

Then you need to click the Configure button. This should bring up a window for "General" options. For Host, put in "funcserv1.psych.ucla.edu". Under Desktop, select "Unix" and "KDE". Under Display, select the window size you want to use.

Then click the Key button, that will open a window for a "DSA Key". On funcserv1, enter "cat /var/lib/nxserver/client.id_dsa.key", that will print its DSA key. Copy and paste the key from funcserv1 into the NX window (replacing the default key).

Click Save for the DSA Key, then Save and Ok for the Configure window. Then click Login in the NX client window.

It should print some progress messages, then open a window with your funcserv1 desktop.

You close the client, by closing the window. It will present options for Suspend, which leaves your desktop running on funcserv1, and Terminate, which closes it.