

No custom xinit files either.Have macports installed, but not X11 from there. I do not have anything in $HOME/.MacOSX/ folder. ssh_config file and system-level ssh_config has XAuthLocation line added by XQuartz. I have not been logging into remote systems lately so I cannot say anything about that. I have been trying to compare the files in LaunchAgents and other possible places between my current user and new one and have not find anything helpful. Removing and reinstalling XQuartz does nothing - which is obvious, because the problem does not seem to be on system level. Once installed, run this command from Terminal.
#Xquartz m1 mac install#
Visit MacPorts to install it on your system. restart your Mac (this step can solve 'cannot open display') open the terminal application in XQuartz and input xterm to test. This is currently tested and supported on Tiger and newer versions of macOS.
#Xquartz m1 mac download#
On my current user there is no way to bring XQuartz up by other application and when this is tried from command line, then only answer is "cannot open display". download the latest version install it as the instructions. When I am logged in as new user, wireshark and other X11 applications will bring XQuartz up and everything works as it should. Switching the shell to zshell does not change anything - still the same empty line. It looks like it should under new user ("/tmp/launch-egVRmr/org.x:0"-ish), but under my current user I get only an empty line as answer to echo $DISPLAY. If your OS is older than 10.11 you may already have XQuartz installed as part of the MacOS (but frankly you shouldn’t be running an OS that old). I can see that it tries to open it but fails and closes and again immediately. XQuartz is the environment that R and R-Commander reside in on the Mac. On both OS I tried to install gedit manually and via homebrew and on both it doesnt open at all.
#Xquartz m1 mac pro#
Of course, if it's something in your shell profile clobbering $DISPLAY, then it may be a bit tricky to check the first two without opening a shell.but not impossible. I have the same issue with gedit on my Intel iMac 2015 and my MacBook Pro M1 (both latest possible versions). If so, when is the socket getting clobbered? If so, is the job completing successfully (ie, is there a socket at some point) So I think the troubleshooting steps should be:Ĭonfirm you have the Launch Agent in the correct location (/Library/LaunchAgents/.plist) ĭetermine if launchd is running the job (ie, are permissions correct, etc, etc) Works perfectly well on Intel based Mac rinning. When focus is moved to another MacOS widow the IntelliJ window displays normally.

For what it's worth, I've just confirmed that the socket is supposed to be launched by a User Launch Agent named, with the following contents: Running XQuartz 2.8.1 M1 mac mini client to display IntelliJ 2021.2.1 Java IDE from Ubuntu 20 using IntelliJ Light (default) mode cases the display to turn black when the window has focus making it unusable. So like he said, something must be clobbering the $DISPLAY variable.
