当我尝试通过 SSH 终端远程打开应用程序“gmsh”时,出现以下错误。我该如何修复它?
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
XRequest.149: BadValue (integer parameter out of range for operation) 0x0
XRequest.149: GLXBadContext 0x0
XRequest.149: GLXBadContext 0x0
XRequest.149: BadMatch (invalid parameter attributes) 0xa00006
XRequest.149: BadMatch (invalid parameter attributes) 0xa00006
XRequest.149: BadMatch (invalid parameter attributes) 0xa00006
答案1
defaults write org.xquartz.X11 enable_iglx -bool true
在本地终端运行后,它可以工作。