Ivy Zhou likes this. FAQ Getting started Forum: September 30, , Tags cannot connet to x server , linux , mac os x , ssh Thread Tools. BB code is On. Smilies are On. Trackbacks are On. Pingbacks are On.
Refbacks are On. Forum Rules. All times are GMT The time now is Add Thread to del. Recent Entries. Best Entries. Best Blogs.
.Xresources or .Xdefaults?
Search Blogs. Mac Os x system can't connect to X server when using ssh to access Linux system.
User Name. Remember Me. Members List. Mark Forums Read.
- terminal - Can't run "ssh -X" on MacOS Sierra - Stack Overflow;
- microsoft office for mac 2011 tutorial!
- data recovery software mac reviews.
- como copiar archivos grandes en mac.
Thread Tools. Sep Location: Singapore Posts: Kenster I found one reference to X11 that might be the problem. Any thoughts on what could have happened? Or should I just wait for an update from XQuartz or something? I've solved my problem by reinstalling XQuartz on High Sierra. The ServerAliveInterval line is also an optional preference. Christian Christian 1, 10 I have been using ssh -Y for years now. However there does still seem to be a new problem with Sierra: If the remote window is using OpenGL, then it fails in various ways depending on the X-server.
XQuartz seems to just give up, whereas someone else reports that xorg doesn't crash but also doesn't re-paint damaged windows. On Thanks for finding the setting. I think it makes sense to put the XAuthLocation for all.
Connect to Linux from Mac OS X by using Terminal
Maybe the other settings can be per-user, but I haven't tried it. To re-enable xAuth on macOS Sierra: I made the following changes below too although it sounds like this might be enough. This was probably the golden step that explained why reinstalling worked. Restart ssh via the terminal. I did this by running: Matt Widjaja Matt Widjaja 3 6. I tried doing this but it didn't change anything for me.
Any thoughts on what might be different with my machine? Did you try reinstalling whatever xAuth tool your Mac's using my guess would be X11 as well? I did that too. I was skeptical if that's all it takes, so that's why I didn't mention it, but I guess that's the other thing I tried.
Mac Os x system can't connect to X server when using ssh to access Linux system
Reinstalling XQuartz finally made it work! Didn't occur to me to try that because I was waiting for a new version of XQuartz. I think Matt's observation of the XAuthLocation being required is the key. I had only X11Forwarding yes turned on the display offset defaults to 10, so I left that unset , and X still didn't work, but once I set XAuthLocation, I am now able to use X11 on my mini.
MattWidjaja you get extra bonus points for including the instructions to reset sshd on OSX -- thanks!!! When I try -Y I still get this error: No xauth data; using fake authentication data for X11 forwarding. Peter Edwards Peter Edwards 51 4. This simple fix works for me too.
- roxio video capture usb for mac!
- apple mac clean up tools.
- Problems with X11 - Can't open display - Apple Community.
- diashow unter mac os x.
Thanks a lot! Naturally you need to restart existing ssh connections. I got stuck for a while that connections with ControlPersist needed to shut down completely before this setting took effect — it evidently applies only to master connections, not slave connections. My solution to this was the following.