Xquartz和MacOS Sierra [英] Xquartz and MacOS Sierra

查看:258
本文介绍了Xquartz和MacOS Sierra的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使某些在XQuartz下运行的应用程序正常工作时,我面临着问题.我将操作系统更新为Sierra版本后,便发生了这种情况.以前的操作系统版本没有这些问题. 当我尝试打开我的任何应用程序(如Winskin)以及该领域的其他应用程序时.我收到标题为无法打开应用程序X11 的错误消息.并接着显示启动X11服务器时发生的错误:无法激活核心设备."这是温斯金的.在另一个应用程序ADF中,ADF出现启动X11服务器时发生错误:无法识别的选项:-iglx". 我在网上查找了该信息,但尚未找到解决方案.任何意见,将不胜感激. 谢谢 !

I am facing issue to make some of my applications that run under XQuartz work. This happened after I have updated my OS to Sierra version. I didn't have these issues with the previous OS versions. when I try to Open any of my application like Winskin, and other applications in my field. I get the error message that is titled The application X11 could not be opened. and follows with An error occurred while starting the X11 server: "Failed to activate core devices." this for Winskin. in another application, ADF, ADF I got "An error occurred while starting the X11 server: "Unrecognized option: -iglx". I looked it up online, I haven't find a solution yet. Any advice would be appreciated. Thank you !

推荐答案

问题很可能是远程计算机要使用间接GLX",并且在Mac上已将其禁用.在此网页上: https://www.visitusers.org/index.php ?title = Re-enabling_INdirect_glx_on_your_X_server ,MacOS的说明是在您的终端上运行它:

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

此后,您必须重新启动XQuartz,然后一切应该会再次正常工作.

You have to restart XQuartz after this, and things should work again.

但是请注意,通常禁用IGLX的原因是它可能存在安全风险:如果选择执行此操作,请确保您信任远程运行的应用程序.请参阅对xorg的提交以进行一些讨论: https://gitlab.freedesktop.org /xorg/xserver/commit/d0da0e9c3bb8fe0cd4879ecb24d21715bfaa209b .

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.

这篇关于Xquartz和MacOS Sierra的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆