Using X11 Forwarding to Run Remote Graphical Applications

Using X11 Forwarding to Run Remote Graphical Applications

You can run remote graphical applications using regular SSH clients, though responsiveness will be limited. For this reason, we recommend running only simple graphical applications this way. Big desktop applications, especially those that are intended to be run under full desktop environments, or that otherwise have many runtime dependencies, are not well suited to X11 forwarding.

Via the OpenSSH Client (Linux)

Simply run any normal ssh command with the -X option. Remote commands that would normally launch graphical applications will run them in your local graphical environment.

Via PuTTY (Windows)

  1. Download and install VcXsrv (X11 server), use the default options.

  2. Run the application called "XLaunch" (icon on the desktop), use the default settings, on the last window, click on the Finish button.

  3. Download and open PuTTY

  4. Set the host name to athena.hprc.vcu.edu and port 22

  5. Select SSH → X11 → Enable X11 forwarding

  6. Finally, click on the Open button, provide your user and password to the cluster. You will be able to open graphical applications