![]() Messed it up, got confused, want to start over? (Leopard)īefore you start deleting anything, make sure you have a Leopard’s installation DVD available and downloaded the latest update of X11 from this site. After logging out and back in,Īpple’s X11.app will be default. plist as described in theįirst question. If you want to makeĪpple’s X11.app the default server (owning the launchd $DISPLAY socket), then you should disable the Just launch X11.app rather than XQuartz.app to get the older server. ![]() XQuartz does not replace the system X11 on Snow Leopard, so you can go back to the Apple-provided X11.app 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 You can change the initial application launched by XQuartz.app to something else by doing the following: If step 5 outputs anything other than localhost:xx.0, then your remote configuration is overriding theĭISPLAY environment variable set by sshd on the remote side. In thisĬase, you must fix the configuration on the remote side. If step 5 does not output anything, then step 6’s results probably include X11Forwarding no. If you get any other messages: use ‘ssh -vvv -X remote’ to obtain more information. If you get any messages about ‘xauth’: see above. Step 4 should not return any error or warning messages. It is probably a commercial program that uses X11 contact your vendor for an updated version. If it begins with /opt/local, it is MacPorts if it begins with /sw, it is Fink. If step 3 outputs anything, it indicates that a system-wide change was made that is overriding yourĮnvironment. If step 2 outputs anything, it indicates that a configuration file in your home directory may be theĬulprit try creating a new user and repeating the steps with that user. If step 1 returns :0, localhost:0 or anything similar, you have a configuration file that is overriding remote $ grep X11 /etc/ssh/sshd_config ~/.ssh/* local $ grep -r DISPLAY /opt/local/etc /sw/etc /etc 2>/dev/null local $ grep DISPLAY ~/.*rc ~/.login ~/.*profile ~/.MacOSX/ist 2>/dev/null Edit or create the file “~/.ssh/config” on the Mac and add these three lines:.Enable the first option: “Authenticate connections”. Start XQuartz, go to Preferences with “Cmd-,” and go to the Security tab.Ssh -Y : “Warning: No xauth data using fake authentication data for X11 forwarding.” Ssh -X : “Warning: untrusted X11 forwarding setup failed: xauth key data not generated.” ![]() SSH will suddenly fail with one of the following error messages: Unfortunately, these two files are often overwritten during a macOS update,Īnd the specific SSH settings that XQuartz needs are then lost. The XQuartz installer should automatically point SSH to the correct location of xauth by editing ssh_config and sshd_configĭuring its post-install script. Have an administrator edit that system’s sshd_config file. If you are sshing to another system, be sure that remote server allows ssh forwarding. Tighter security, it is preferred over ‘ssh -Y’ see the SSH manual. You can forward X11 over an SSH connection by using either ‘ssh -X’ or ‘ssh -Y’. (MacPorts' X11.app) launchctl unload -w /Library/LaunchAgents/ (Apple's X11.app) launchctl unload -w /System/Library/LaunchAgents/org.x.ist (XQuartz.app 2.7.x and earlier) launchctl unload -w /Library/LaunchAgents/.plist (XQuartz.app 2.8.x and later) launchctl unload -w /Library/LaunchAgents/
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |