Commit 770c67e6 authored by Adam Caprez's avatar Adam Caprez
Browse files

Add section on re-enabling Indirect GLX.

Closes #13.
parent ee227fa9
......@@ -48,7 +48,45 @@ weight = "35"
4. Close the xeyes application by "Ctrl + c" from the terminal or click
the close button on the up-right corner of the graphical window.
#### Special note about Indirect GLX
If you are using OS X or Linux, you may need to re-enable indirect GLX (IGLX) in order for
the GUI application to run properly. IGLX was disabled for security reasons starting with version 1.17 (Linux) and XQuartz version 2.7.9 (OS X). More information about this
change is available at [this link](
To re-enable IGLX, use the follwing instructions:
##### OS X
Open a terminal on your Mac, and run the following command:
{{% panel theme="info" header="Enable ILGX on OS X" %}}
{{< highlight bash >}}
$ defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
{{< /highlight >}}
{{% /panel %}}
##### Linux
You will need to create a small Xorg configuration file. This requires `root` access, so
run commands with care.
{{% notice warning %}}
Be extremely cautious running commands as `root`. You can permanently make your system unusable.
{{% /notice %}}
Create a file at `/etc/X11/xorg.conf.d/iglx.conf` with the following contents:
{{% panel theme="info" header="/etc/X11/xorg.conf.d/iglx.conf" %}}
{{< highlight bash >}}
Section "ServerFlags"
Option "IndirectGLX" "on"
{{< /highlight >}}
{{% /panel %}}
Restart X11 by logging out, or by rebooting your machine.
#### Related articles
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment