Skip to content

Commit ec8c4f2

Browse files
Þorgils HjálmarssonÞorgils Hjálmarsson
authored andcommitted
Added info about LIBGL_ALWAYS_INDIRECT and display number
1 parent 2fb13b9 commit ec8c4f2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/elja/05_visualization.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ PuTTy also offers a visualisation method when connecting to the server. This is
4141

4242
### Using XLaunch
4343
When you've installed XMing find the application called 'XLaunch' and run it. The following window should pop up.
44+
:::note
45+
Display number does not need to be -1 as in the image above, it can be the default of 0.
46+
:::
4447
![display_settings](../assets/x11_display_settings.png)
4548

46-
47-
4849
Choose **Multiple windows** and click on '**Next >** and a new page will appear that goes through the **Session Type**.
4950

5051
![client_startup](../assets/x11_client_startup.png)
5152

5253

53-
5454
On the **Session Type** choose **start no client** and click on **Next** and you should be prompted to the **Additional parameters** section.
5555

5656
![extra_setting](../assets/x11_extra_setting.png)
@@ -59,6 +59,10 @@ On the **Session Type** choose **start no client** and click on **Next** and you
5959

6060

6161
There choose only the **Clipboard** option and press **Next >** and that will move you to **Finish Configuration**
62+
:::note
63+
On newer versions of XLaunch you can only select clipboard and not "Native opengl" it is important that you set the environment variable export LIBGL_ALWAYS_INDIRECT=1.
64+
You can add it to your .bashrc file with the following command 'echo "export LIBGL_ALWAYS_INDIRECT=1" >> $HOME/.bashrc'
65+
:::
6266

6367
![finish_config](../assets/x11_finish_config.png)
6468

0 commit comments

Comments
 (0)