Access the VNC server from your Linux computer

How to remotely connect to spectrometer computer VNC through your Linux computer

Access the VNC server from your Linux computer

On your Linux computer we will use vncviewer to connect to the VNC server running on the spectrometer computer.

Make sure you have tigervnc viewer installed. 

  • Debian: apt install tigervnc-viewer
  • Fedora: yum(or dnf) install tigervnc-viewer

Open a terminal window on your Linux computer

In the terminal window:

  • Start the vncviewer program with the ‘-via’ option to tunnel through gw1 (or gw2):

vncviewer -via NetID@gw1.nmrfam.wisc.edu fleckvieh.nmrfam.wisc.edu:1

  • Replace NetID with your NetID username
  • Enter the NMRFAM spectrometer computer and VNC session number (provided by a staff member) (e.g. fleckvieh.nmrfam.wisc.edu:1)
  • You will be prompted (in the terminal) to enter your NetID password
  • The next password requested (in a pop-up window) is the VNC password (provided by a staff member)
  • A new window will appear with the desktop from the spectrometer computer.

You can also use the SSH Tunnel function by running:

ssh -L 59XX:<Spectrometer>.nmrfam.wisc.edu:59XX <NETiD>@wisc.edu@gw1.nmrfam.wisc

XX: is the session number provided by a NRMFAM Staff member

After that, in your preferred VNC Viewer, use localhost:XX to access.



Keywords:
Linux, Debian, Ubuntu, CentOS, Arch, VNC 
Doc ID:
148299
Owned by:
ASHLEY H. in NMRFAM
Created:
2025-02-12
Updated:
2025-03-19
Sites:
NMRFAM