There are no tags associated with this article.

How to run visual applications?

You can access visual applications in two ways:

  • X11 forwarding
  • X2GO (NX standard)

X11 forwarding

The simplest (but inefficient for intense pixel graphics, as in satellite imagery analysis programs) is X-over-ssh.  The window of a single application is just displayed on terminal screen.

To allow X11 forwarding:

make sure that /etc/ssh/sshd_config on the virtual machine contains:

X11Forwarding yes
X11DisplayOffset 10

Now you can establish an ssh session including -X parameter:

user@CREODIAS:~$ ssh -X eouser@instance_ip

From manual:

-X Enables X11 forwarding. This can also be specified on a per-host basis in a configuration file.
X11 forwarding should be enabled with caution.
Users with the ability to bypass file permissions on the remote host (for the user's X authorization database) can access the local X11 display through the forwarded connection.
An attacker may then be able to perform activities such as keystroke monitoring.


Other solution is NX standard which, however, requires X2Go software, which is not supported directly by linux distributions. Nevertheless, it can be used and many people prefer it over VNC.  Clients are available for linux, Windows, and Mac. You can gather more information in separate article:

How to use GUI in VM with Linux?

The installation and configuration is well guided on X2Go official site