我面临着使我的一些在 XQuartz 下运行的应用程序工作的问题。这发生在我将操作系统更新到 Sierra 版本之后。以前的操作系统版本没有这些问题。当我尝试打开我的任何应用程序(如 Winskin)和我所在领域的其他应用程序时。我收到标题为无法打开应用程序 X11的错误消息。并在启动 X11 服务器时出现错误:“无法激活核心设备”。这是给温斯金的。在另一个应用程序 ADF、ADF 中,我收到“启动 X11 服务器时发生错误:“无法识别的选项:-iglx”。我在网上查了一下,还没有找到解决方案。任何建议都将不胜感激。谢谢!
1 回答
The problem is likely that the remote machine wants to use "Indirect GLX", and that is disabled on your Mac. From this web page: https://www.visitusers.org/index.php?title=Re-enabling_INdirect_glx_on_your_X_server, the instructions for MacOS are to run this in your terminal:
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
You have to restart XQuartz after this, and things should work again.
Do note however, that the reason IGLX is normally disabled is that it's a likely security risk: make sure you trust the application that's running remotely if you choose to do this. See this commit to xorg
for some discussion: https://gitlab.freedesktop.org/xorg/xserver/commit/d0da0e9c3bb8fe0cd4879ecb24d21715bfaa209b.