For ssh connections this procedure is not required, as X-forwarding for ssh is enabled by default in /etc/ssh_config, so you don't even have to add a "-X" command-line parameter


  • For any other cases, authorise incoming X connections to your workstation first:
    $ xhost +
  • Then, find out  your display port:
    $ env | grep DISPLAY

    For instance, an output of DISPLAY=":100" means that your display port is 100 (which is the default)

  • And, finally, in the remote machine, indicate your display port:

    $ export DISPLAY=<vm-name>.ecmwf.int:<display_port>

    For example

    $ export DISPLAY=c8-beta-001.ecmwf.int:100
    $ run_my_gui_application
  • After you have finished, always remember to disable incoming connections again:
    $ xhost -