...
Excerpt |
---|
Unlike personal computers running operating systems such as Windows, MacOS or Ubuntu, our systems do not provide a graphical windowing environment. Nevertheless, some of the tools provided on Pawsey systems do have Graphical User Interfaces (GUIs). GUI applications on Pawsey supercomputers are typically based on the X Window System (external site), also known as X11 or simply shortened to X. Typical examples of these applications are debuggers and profilers. Here we explain how to use the X X11 forwarding option of SSH to view and control these applications remotely. |
...
Although X can be used remotely without SSH, it is insecure and blocked by most firewalls. SSH X11 forwarding fixes both these issues and also automatically sets automatically the DISPLAY environment variable.
...
Current macOS operating systems do not have the X windows system. Mac users should install the XQuartz (external site) package to use SSH with X X11 forwarding.
After the installation, users may also need to indicate the path where the xauth program is. To do so, users must edit the ~/.ssh/config
file and add the path under The Host *
entry, as shown in listing 1.
...
Code Block | ||
---|---|---|
| ||
username@setonix> echo $DISPLAY localhost:34.0 username@setonix> |
NOTE: The first number in the output may be different
You should now be able to invoke your graphical application, and have any windows it opens appear on you local desktop.
Improved Performance
X X11 forwarding over SSH does not perform well over long distances. The user can try to improve performance over long distances with SSH compression. This can be activated by using the -C
option in the ssh
command line:
...