How to link newer version of XQuartz to terminal

Hello,


I'm logging into a Linux machine from my Macbook (High Sierra 10.13.6), using ssh -XY IPaddress. One of the programs I use on the Linux machine has a GUI which isn't displaying correctly. After some investigation I believe that the issue is due to Xquartz. I installed a newere version of Xquartz (v2.8) but when I use ssh over the terminal it opens X11 v1.20.11. I've done some digging and realised that the old X11 comes from Macports. Is it possible to upgrade the X11 in Macports or somehow link the terminal app to a newer version of Xquartz?


Thanks in advance,


Emma

Posted on Mar 29, 2024 3:02 AM

Reply
2 replies

Mar 29, 2024 7:28 AM in response to estewart1994

In X, the server usually has the display, and the apps are the clients and the clients can be local or remote.


ssh -Y shuts off connection security, and should only be used with remote systems that are entirely trusten.


Usual path is to launch the X Window Server (launch the X11 / XQuartz app), launch XTerm, and ssh -X or ssh -Y or other such from within XTerm to the remote host that will run the X client app., and run the X app. Maybe launch xclock as a test on the X client host.


In the case of ssh -X and ssh -Y, the network connection is routed through the ssh tunnel, so you get whatever is running locally on the X Window System server; whatever is running XTerm ssh on XQuartz, in this case.


If you have two X servers around, yeah, that can (might) get tangled. Remove one, or don’t start one.


Now…


What are the (presumably) X-related error messages shown, if any?


One app is not displaying correctly? Other apps are working? Any pattern to the working and non-working apps?


Are any if the apps involved expecting Wayland, maybe?


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.

How to link newer version of XQuartz to terminal

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