macOS Core Shell X11 forwarding problem


I am using Core Shell with X11 forwarding in macOS with XQuartz 2.7.11 installed. One of the software I need to forward just 'freeze' once displayed and gave me below error messages:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error: BadValue (integer parameter out of range for operation) 2
Extension: 149 (Uknown extension)
Minor opcode: 3 (Unknown request)
Resource id: 0x0
Do you have any suggestions to fix this problem?

The obvious question first. Do you have X11 installed on your mac? X11 is no longer part of macOS, hasn't been for many years/versions.

When I need X11 I use a vm with native linux. See this thread,


Hi Mikael,

Thanks for the response.
Yes, XQuartz 2.7.11 installed on the MacBook. I totally agree with you, one solution is to use a VM with Linux. But, I would like to use it directly with macOS, if it possible.


I realised while using VirtualBox with Linux:
To forward the software UI run remotely on a Linux computer to my MacBook normally, I need to choose 'VMSVGA' in 'Graphics Controller' option and activate '3D acceleration' option.
Any ideas to do it in MacOS Core Shell?

There is nothing that corresponds to that in macOS as far as I know. The whole reason it's there in Vbox, VMware and Parallels is that they need to emulate a real graphics card.

Regarding XQuartz, I removed it long time ago on my mac since it works poorly and development seems to have stalled. Just got tired spending time to fix stuff.


Stumbled across this article this morning so I decided to test XQuartz again.

I have Docker for mac installed,

I installed XQuartz again via Homebrew, brew cask install xquartz

Set the DISPLAY on my mac and opened up the permissions

xhost +

Started XQuartz and test it with xterm

Then I tested a few of the apps in the article like the xeyes

docker run --rm -ti -e fr3nd/xeyes

All those apps worked fine but some where pretty sluggish.