Calling XQuartz from Python causing logout

I've been running a python script with a function call open GUI interface in ASE package (https://wiki.fysik.dtu.dk/ase/ase/gui/gui.html) with 'XQuartz' as the X-Window System on my Mac. Everytime the GUI interface is called, the system crashes with a static/snowy screen and returns to a user login page. Upon logging back into the user account, all the applications that were last opened started reopening like a system restart.


  1. The issue DID NOT repeat in the safe mode.
  2. Removing the login items and restarting the system did not fix the issue.
  3. Issue repeated in a new user account.


Please help me understand and fix this issue.


Mac OS version: 10.14.6

XQuartz version: 2.7.11

Python version: 3.6



Thank you,

Viswanath.

Everytime the GUI interface is called, the system crashes with a static/snowy screen and returns to a user login page.

This sort of ‘half panic’, where you get dumped back at the login screen, is indicative of a window server crash. The window server should never crash, so problems like this are always bugworthy. I’d appreciate you filing a bug about this, making sure to attach a sysdiagnose log taken shortly after the problem occurs.

Please post your bug number, just for the record.

As to what you can do to avoid this problem, I don’t have a lot to say on that front. My experience is very limited XQuartz. My recommendation is that you raise this via their support channel, where you’re more likely to connect up with folks with relevant experience.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Calling XQuartz from Python causing logout
 
 
Q