General

NoMachine

Important notes

  • Do not attempt to do heavy computing on the NoMachine servers.  The NoMachine servers are intended to be gateways into other SLAC resources. After connecting to the NoMachine gateway, then ssh to other SLAC machines to perform actual compute intensive work.
  • The NoMachine servers are rebooted monthly.  This is to allow for a server maintenance window and to allow for updated kernel RPMs to be activated which fix security vulnerabilities.

Installation and Usage instructions

  • Download and install the NoMachine Enterprise client application (or find it in the "Self Service" Jamf application on centrally managed Macs)
  • Click "Add" to add a new connection
    • next to "Name", enter a name for this connection, such as nx4.slac.stanford.edu
    • next to "Host", enter the hostname: nx4.slac.stanford.edu
    • click on the "Protocol" drop-down menu, and choose "SSH"
    • click "Connect"

  • Enter your SLAC username (Windows) and password when prompted.
  • Click on "New desktop" to start a new session
  • Double click on "Create a new virtual desktop"
  • After clicking through the welcome screens (which explain some configuration options), you will get a Linux MATE Desktop environment.
  • A useful display configuration setting to know about is "resize remote display". 
    • You can set it (or verify the setting) by selecting the NoMachine menu icon in the upper right of the desktop, and select "Open the menu panel".

    • Click on "Display"
    • Select "Resize remote display"
    • Click the left arrow in the upper left (two times) to return to your Linux Desktop (or press the 'esc' key twice)
    • Now when you resize your NoMachine Desktop window, the remote display will resize appropriately to fit the window.
  • You can quit NoMachine, and your connection to "nx4.slac.stanford.edu" will be saved, and your previous Desktop session should be saved also, and you can reconnect to it.

You can run a single "xterm" or "gnome-session" floating window, if you prefer.  This floating window works seamlessly in your native desktop or laptop environment. To try this, select "New Desktop", then "Create a new custom session" (instead of "Create a new virtual desktop").  You can enter "mate-terminal" in the "Run the following command" box to run a single mate-terminal, and you can then start other X11 programs from that gnome-terminal (after ssh'ing to another machine if necessary). It takes a few seconds for the gnome-terminal to appear, and you can minimize the other NoMachine windows to get them out of the way after your gnome-terminal starts.



Connectivity Details

server address

nx4.slac.stanford.edu

protocol SSH (Port 22)

 

Documentation

Enterprise Terminal Server v6 - Install and Config Guide https://www.nomachine.com/DT06O00142
SLAC NoMachine slack channel https://slac.slack.com/app_redirect?channel=comp-NoMachine

 

There are three load balanced servers providing resources, and each of them has 16 CPU cores, and 128 GB of memory. If you need to debug or test something, you can ssh directly into the members of the cluster, however the NoMachine interface and login is accessed using the “nx4.slac.stanford.edu” server name. The member hostnames of the NoMachine cluster are nx4.slac.stanford.edu, nx5.slac.stanford.edu, and nx6.slac.stanford.edu.

The local /home directory is not currently backed up. The local /home directory is not intended for permanent storage.

Desktop environment

The desktop environment installed is XFCE, which was chosen for the balance of user friendliness, and also being lightweight on memory and cpu requirements.

Terminal emulation

The recommended terminal emulation program is mate-terminal. Other choices which are installed include xterm, gnome-terminal, and xfce4-terminal.

Browser access

We recommend using the NoMachine client application (as described above), but if you want to try the browser access, you can use this URL:
https://nx4.slac.stanford.edu:4443

Increase screen blanking time

Click the battery icon at the top right to open power manager. From there go to Display and move the "Blank After" slider. If the slider is moved to the left screen blanking will be set never.

 

Printing Using the GUI

Make sure SLAC is entered as the DOMAIN (see example below)

Printing Using the Terminal

This can be done via terminal or any GUI application with support such as Firefox and Okular (pdf viewer).

List all the printers, when prompted enter your AD password.

smbclient -W SLAC -L 'print03' '\\print03\'

Printing via terminal

smbclient -W SLAC -U username //print03/PrinterName -c "print /path/to/file

Printing via terminal using Kerberos token

smbclient -k //print03/PrinterName -c "print /path/to/file"

Vendor's Comprehensive Guides

General NoMachine Documentation

Getting started with NoMachine

Quick Guide to the NoMachine User Interface