![]() ![]() After I execute echo $DISPLAY, the terminal just output blank space. But it didn't automatically set the DISPLAY like yours /private/tmp/0S1Q/org.xquartz:0. I use the brew install xquartz, and it installs the latest version. Actually, I reinstall xquartz2.8 for several times. But that's under the condition that the DISPLAY variable is set correctly. This includes ssh -X, provided that XAuthLocation has been set correctly, see #174. On my Mac (Intel MacBook Pro, MacOS Monterey 12.1, XQuartz 2.7.11), I managed to get what you seem to want: every X11 application that I start from a normal MacOS Terminal starts XQuartz for me automatically. Note that the XQuartz installation should do this for you automatically, without you having to tinker with it. This should mean that every attempt to access the X11 display on the Mac should cause launchd to start XQuartz if it isn't already running. Important: After installing XQuartz, be sure to log out and log back in (or reboot the system) to allow XQuartz/X11 to function properly.Īt this point, launch IDL or ENVI from its launch icon to see if X11 will run automatically when IDL or ENVI is started./private/tmp/0S1Q/org.xquartz:0 If so, those errors can be ignored.Īfter uninstalling XQuartz, reinstall (preferably) the latest compatible version of the XQuartz software. Note that the first two commands above may return an error if XQuartz is not properly configured as a service on the system at the time the commands are issued. Sudo rm -rf /opt/X11* /Library/Launch*/.*/Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz Sudo launchctl unload /Library/LaunchDaemons/_ist Launchctl unload /Library/LaunchAgents/.plist If needed, below are the four commands from the above referenced web page: To explicitly uninstall XQuartz, issue from an Apple Terminal window the shell commands listed in the following section of the XQuartz X11 FAQ page: However, you may wish to uninstall and then reinstall the same version of XQuartz if you believe the current installation may be corrupted (for example, corruption caused by operating system migration). Upgrading to a newer version of XQuartz doesn't seem to require that you first manually uninstall the older version of XQuartz. If you are unfamiliar with or uncomfortable working with “sudo” or commands like below, please contact your system administrator or a Mac OS X expert for further assistance. ![]() ![]() Warning: The following instructions and the use of "sudo" can affect system level files and system services and cause damage to your operating system if not done properly. If this might be the case, uninstallation/reinstallation of XQuartz help to may fix the problem. If logging out/in does not fix the problem, and if the user has migrated their XQuartz installation from an older version of the operating system or from a different machine, it is possible that the XQuartz installation has become corrupted or is no longer properly configured because of the operating system migration or upgrade. If a user has just installed XQuartz on their Mac OS X system, the problem may be as simple as logging out and then logging back in again, or even rebooting the system, to allow XQuartz to finalize its configuration. Source /Application/exelis/idl84/bin/idl_setup.bash Source /Application/exelis/envi52/bin/envi_setup.bash For example, for ENVI+IDL 5.2 (from a Bash shell): Some IDL and ENVI users on Mac OS X (10.7 or later) have reported that X11 fails to launch automatically when IDL or ENVI is started by double clicking on the application launch icon.ġ.) X11/XQuartz configuration is not completeġ.) X11/XQuartz configuration is not complete:Īn indication that this might be the problem is to try the following:įirst launch XQuartz/X11 and then from an X11 Terminal window (not an Apple Terminal window) launch ENVI or IDL. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |