Skip to content

X11-forwarding

Follow the directions in X11-forwarding for Linux/Mac and Windows. Be sure to add the -X flag to your SSH command when connecting to login node.

Then request an interactive session as described above, but add the --x11 flag to the srun command. Example:

$ srun --x11 --time=01:00:00 --nodes=1 --cpus-per-task=8 --pty /usr/bin/bash

Linux or MacOS

To use SSH with X11-forwarding on your Linux or macOS personal computer to run an X client application installed on an HPC Vega:

Open your SSH terminal client. On the command line, enter your username:

$  ssh -X username@login.vega.izum.si

Log in.

To test if X11-forwarding is working, try running xclock; on the command line, enter:

$ xclock

If X11-forwarding is working, the xclock graphical clock will appear on the desktop of your personal computer.

PuTTY for Windows

To use SSH with X11-forwarding in PuTTY for Windows:

  • Launch your X server application (for example, Xming). Download from Xming and install on your Windows host.
  • Make sure your connection settings for the remote system have Enable X11-forwarding selected; in the "PuTTY Configuration" window, see Connection > SSH > X11. Also setup:

    • X display location = :0.0
    • MIT-Magic-Cookie-1
    • X authority file for local display = point to the Xming.exe executable
  • Open an SSH session to the desired remote system:

    System Hostname
    Vega login.vega.izum.si
  • Log in normally with own username and SSH-key.

To test if X11-forwarding is working, try running xclock; on the command line, enter:

$ xclock

If X11-forwarding is working, the xclock graphical clock will appear on your personal computer's desktop.