|
|
# X forwarding of applications using OpenGL
|
|
|
|
|
|
In order allow for X forwarding of applications such as XSOCS or Silx, the
|
|
|
`DISPLAY` variable must be correctly set. To do so, first `ssh` with X
|
|
|
forwarding enabled:
|
|
|
|
|
|
```bash
|
|
|
$ ssh -X -P 5022 <username>@firewall.esrf.fr
|
|
|
```
|
|
|
|
|
|
Then enable the local display:
|
|
|
|
|
|
```bash
|
|
|
$ xhost +localhost
|
|
|
localhost being added to access control list
|
|
|
```
|
|
|
|
|
|
Check that it has worked correctly:
|
|
|
|
|
|
```bash
|
|
|
$ echo $DISPLAY
|
|
|
localhost:506.0
|
|
|
```
|
|
|
|
|
|
You are now ready to use OpenGL. |