NoMachine

For instructions specific to CHESS Remote Operations, please see RemoteUserGuide.

Available NoMachine servers and options for new installations.

CLASSE supports four versions of NoMachine. Please submit a ServiceRequest for help selecting or setting up NoMachine for your workstation or desktop.

LNX201

LNX201 is available through NoMachine as a general-use remote login node. Any CPU or memory intensive operations should be run on the CLASSE ComputeFarm or on individual workstations - not on lnx201.

NoMachine

The default version of NoMachine is available free of charge for the following use case.
  1. Only allows access to your physical display (not virtual desktops or individual applications).
  2. Must be on a CLASSE Network or connected to the ClasseVPN (only supports the NX protocol, not SSH).
  3. Only allows one remote connection at a time.

NoMachine Enterprise Desktop

With a license purchase, CLASSE can install the "NoMachine Enterprise Desktop" on your desktop or workstation.
  1. Only allows access to your physical display (not virtual desktops or individual applications).
  2. Allows multiple simultaneous connections to a single desktop (although the owner of the desktop must be connected to approve the connection requests from other users).
  3. Does not require you to be on site or connected to the ClasseVPN (supports the ssh protocol, in addition to NX).

NoMachine Workstation

With an additional license, CLASSE can install the "NoMachine Workstation" on your desktop or workstation.
  1. Allows connecting to both the physical display and creating up to four virtual desktops.
  2. Allows multiple simultaneous connections to a single desktop (although the owner of the desktop must be connected to approve the connection requests from other users).
  3. Does not require you to be on site or connected to the ClasseVPN (supports the ssh protocol, in addition to NX).

Connecting with the NoMachine Client

Client Installation

  1. Download and install the free "NoMachine Enterprise Client" from: https://www.nomachine.com/product&p=NoMachine%20Enterprise%20Client
    • On a CLASSE-managed computer, to complete the installation without admin privileges, please change your installation directory to C:\TEMP\nomachineclient (or any folder under C:\TEMP).

Client Setup

  1. Start NoMachine
  2. click on "Add"
  3. Fill in the details for your desired connection.
    1. For using lnx201 - our general use login node (not appropriate for CPU or memory-intensive applications)
      • Host = "lnx201.classe.cornell.edu"
      • Protocol = "SSH"
    2. For using your own CLASSE Public desktop or workstation
      • Host = the hostname of your desktop or workstation. For example, "lnx1234.classe.cornell.edu"
      • Protocol = "SSH"
    3. For using our cloud server to connect to computers on private subnets.
      • Host = "nomachine.classe.cornell.edu"
      • Protocol = "NX"
  4. If Prompted, select "Password" authentication method, and click on "Continue"
  5. If you get a proxy checkbox, leave "Don't use a proxy" selected, and click "Continue."
  6. Change the connection name if desired, and click on "Done."

Connecting

  1. Start NoMachine, and double-click on the connection created above.
  2. The first time connecting, click "Yes" to accept the remote host certificate and verify its identity.
  3. Login with your CLASSE username and password.
  4. Double click on the computer you'd like to control.
  5. Click "OK" to accept the default Audio streaming setting (if desired).

Virtual Desktops

Depending on the version of nomachine installed on your computer, you may be able to create Virtual desktops in addition to controlling the physical display.

To start a full XFCE virtual desktop:
  1. start a connection to nomachine.classe.cornell.edu using either the NX or SSH protocols
  2. double-click on your desired computer
  3. click on the “New desktop” button (or double-click on “Create a new desktop or custom session”)
  4. double-click on “Create a new virtual desktop”
  5. Select desired display preferences. Good initial defaults might be “Show remote display at its resolution using scrollbars” and “Resize the remote display to match the client monitor” to should give you a nice full-screen display. Please see below for changing the display settings after starting a connection.

To kill an existing virtual desktop or custom session:
  1. start a connection to nomachine.classe.cornell.edu
  2. double-click on your desired computer
  3. right-click on the existing “virtual” session you see
  4. click on “Terminate”

Change connection settings (display, keyboard, etc.).

Once you've connected to your remote computer, enter the key combination Ctrl+Alt+0 to open the menu panel or:
  1. move your cursor to the NoMachine icon in your taskbar and click on it.
    • The NoMachine icon and menu:
      station connect.jpg
  2. Click on "Open menu panel" to open the menu panel of your current connection

Click on "Display" and then "Change settings" to fine-tune quality, performance, resolution, etc.

Click on "Input" and the "Grab the keyboard input" to pass the Windows or Mac OS command keys to the remote computer.

Managing your computers

Please submit a ServiceRequest if you would like the ability to manage NoMachine connections on your desktop or workstation.

Modifying list of trusted users

Unless a user is in your computer's list of trusted users, they won't be able to connect until someone already connected to the display allows their connection. Staff scientists are configurd as "NX Administrators" of their station computers, which allows them to maintain the list of trusted users. Login to your station computer, and in the following commands replace "classeid" with the remote user's classe username.
  • add a new trusted user : sudo /usr/NX/bin/nxserver --useradd classeuser --trusted
  • delete a user : sudo /usr/NX/bin/nxserver --userdel classeuser
  • remove trusted for a user : sudo /usr/NX/bin/nxserver --useredit classeuser --trusted=none
  • view list of users : sudo /usr/NX/bin/nxserver --userlist

Pausing Remote Access, switching between interactive and view-only, and Disconnecting Remote Users

To view current connections when logged in to a desktop, you can use the little NoMachine icon in the upper right on the top menu bar.
  • Hover over "Desktop shared" and click on "Desktop not shared" to disable desktop sharing.
  • Hover over "Connected users" to see a list of connected users that you can disconnect change from view-only to interactive mode

view-only.png

In addition, you should have the ability to view connections and a history using the command line as follows:
  • view list of current sessions : sudo /usr/NX/bin/nxserver --list
  • view historical list of connections : sudo/usr/NX/bin/nxserver --history
  • disconnect a user : sudo /usr/NX/bin/nxserver --disconnect <username, session> (replace <username, session> with either the username or session id of the session you'd like to disconnect)

If connections are disabled using the GUI, they can be re-enabled from the command-line as follows:
  • Check if "Screen sharing" is disabled : sudo /usr/NX/bin/nxserver --userlist
  • Enable "Screen sharing" for the physical display : sudo /usr/NX/bin/nxserver --useredit station_account  --screen-sharing yes (replacing "station_account" with the name of the user logged in to the physical display)

In addition, the nxserver itself can be stopped and started using:
  • stop accepting new connections : sudo /usr/NX/bin/nxserver --stop
  • disconnect existing sessions as described above
  • resume accepting new connections : sudo /usr/NX/bin/nxserver --start

Topic attachments
I Attachment Action Size Date Who Comment
page_peel.jpgjpg page_peel.jpg manage 6 K 31 Jul 2020 - 09:16 AdminDevinBougie 'Page-peel' on the top right to access the session menu
station_connect.jpgjpg station_connect.jpg manage 21 K 08 Feb 2021 - 10:30 UnknownUser  
view-only.pngpng view-only.png manage 90 K 19 Sep 2022 - 10:08 DevinBougie  
This topic: Computing > NoMachine
Topic revision: 29 Nov 2022, DevinBougie
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CLASSE Wiki? Send feedback