X11 error

Hello,


I am trying to open XQuartz from command window, and the following error occurs:

' X11 Driver unable to open X windows connection.'


I tried to clear and reinstall xQuartz but it the bug does not fix.

I am using MacOS Monterey12.4


Could you help me?


Thanks

MacBook Air 13″, macOS 12.4

Posted on Jul 1, 2022 3:44 AM

Reply
3 replies
Sort By: 

Jul 4, 2022 11:09 AM in response to BeatrizBlanco

I have XQuartz 2.8.1 installed on my 14" MacBook Pro (M1 Pro CPU chip)

When I issue the command

/opt/X11/bin/xclock

I get the following on my screen.


When I want to display X11 output from a remote Linux/Solaris/AIX system (its a work thing), then I

ssh -Y username@remote.system.address

and issue the command that starts an X11 based app. Generally, I always use xclock to make sure my ssh -Y connection is working correct before I start with the more intense X11 remote app. On Linux /bin/xclock is what I use. AIX is /usr/bin/X11/xclock, and /usr/X11/bin/xclock on Solaris.

Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

X11 error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.