XQuartz/X11 on Mavericks does not work on my extended desktop.

After installing OSX 10.9 and installing Xquartz I am having an impossible time opening my regular command line generated GUIs, and this error is oddly tied to the use of my second desktop.


Selecting the XQuartz icon, I have no problem opening xterm. However, I am unable to drag the xterm window to my second desktop. It just dissapears. When ssh onto my server, my GUIs face a similar problem: I am unable to bring them onto the second desktop. Oddly, I have another GUI (opens via MATLAB) that ONLY opens on the second desktop, but does not work on the main desktop.


I know Mavericks upgraded their multiple-display setting, but don't know if these are affecting my X11/Xquartz or how to fix them.

MacBook Pro, OS X Mavericks (10.9)

Posted on Oct 23, 2013 5:06 PM

Reply
15 replies

Oct 23, 2013 10:58 PM in response to kred25

Another problem is that if a window is opened on inactive desktop it can go under the top bar and become inaccessible too.

I, among others, filed a bug to Xquartz ( http://xquartz.macosforge.org/trac/timeline ), they said it is Mavericks problem and looked like they didn't want to bother at all. To be honest, I really, really don't like it. X11 system was, probably, the biggest reason for HE/research to move towards Apple/OSX systems. Now Apple does not support X11, Xquartz people don't care, the last update to Xquartz was more than one year ago, bugs accumulate, and it all seems like we are left with unusable but expensive equipment and have to go back to scientific linux/ubuntu etc...

Oct 24, 2013 8:18 AM in response to kred25

A work around is to go into System Preferences->Mission Control and uncheck Displays have separate spaces.


This will put you back into a sort of legacy mode. The new dual monitor features of Mavericks won;t work but X will behave as it did before.


According the mailing list this is a dual problem. There are some changes that need to be made to Xquartz and there are problems in Mavericks. The Xquartz team can only fix there end. Apple will need to fix their end to resolve this as well.


BTW if you are not aware of it there is an Xquartz mailing list where question like this are better asked


https://lists.apple.com/mailman/options/x11-users/jeremyhu%40freedesktop.org


regards

Oct 24, 2013 8:24 AM in response to shelyag

Now Apple does not support X11,

Apple's involvement with X11 has not changed. The X11 development was always separate from the OS team.


What the change with Lion did was to make this separation official. This freed up the X team to work on their schedule and not have to rely on OS releases in order to add features or fix bugs.


You should subscribe to the mailing list I referenced in the above post. Your questions and concerns will receive a more direct reply.


regards

Feb 10, 2014 6:55 AM in response to kred25

I found this work-around, create a small script for where ever you want to open a xquartz window:


Start Xquartz and then run the following script in the first Xterm window


This script opens a light-green window on a monitor to left of my laptop


#!/bin/ksh

# ------------------Down from top-------------------|

# ------------------In from left edge------------| |

# ------------------# of charcters High------| | |

# ------------------# of charcters Wide--| | | |



if [[ ${TERM} = "xterm" ]]; then

/opt/X11/bin/xterm -fn 6x12 -geometry 120x60+810+20 -sl 1500 -vb -bg lightgreen &

else

echo "This is not a X-Window . . . . "

echo " PLEASE start Xquartz and restart your script from the X11 window."

fi


I use a variation of this to open 60 small windows at the same time on 60 different systems on a 30 inch monitor for password changes.

Feb 28, 2014 6:49 PM in response to richbaughman

I typically used Control + Up.


I have upgraded to 10.9.2, and the issue seems almost entirely resolved, without the need to upgrade XQuartz. The window cannot stradle two displays, but can be moved between them. It is possible to make a window "disappear", but it would mean you grabbed the window by the very tip of the left most edge of the window, and then moved it just so that the mouse pointer is not quite into the other desktop yet.

Sep 18, 2014 9:40 AM in response to kred25

I'm adding a reply to this thread because it's the closest I could find to my problem. I use anywhere from 1 to 4 monitors, and when I start up xquartz, the window appears front and center on my main display. The issue is, if I plug or unplug a monitor, the window goes off screen and I can't get it anymore. I can see it in mission control, and I move it in mission control, but no matter what I do, when I leave mission control, it's still off screen. Restarting doesn't help because the window position is saved - I have to get back to the exact configuration with the same monitors I used last to see the window again. The xquartz people say it's an apple issue and won't fix it.


I found that if I remove the xquartz plist file ( ~/Library/Preferences/org.macosforge.xquartz.X11.plist), then the next time I open it, I can see the window again. It's a pita to have to remove this file every time I'm using a different monitor configuration, but at least there's a workaround.

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.

XQuartz/X11 on Mavericks does not work on my extended desktop.

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