How do I use XQuartz with ssh on OS X?

Posted by cwd on Super User See other posts from Super User or by cwd
Published on 2012-03-28T17:29:01Z Indexed on 2012/03/28 17:34 UTC
Read the original article Hit count: 190

Filed under:
|
|
|

I've downloaded the latest stable version of XQuartz on my Snow Leopard machine, and I'm trying to make an ssh connection with X forwarding but X11 keeps opening. How can I get OS X to use XQuartz?

  1. I had X11 installed
  2. I downloaded and installed XQuartz
  3. X11 is not open / running
  4. XQuartz is open and running
  5. I try and connect to a remote system using iTerm2: ssh user@remote -X
  6. X11 opens. XQuartz is still open, but I doubt it is doing anything.

I also tried moving X11 to the trash but then the ssh connection will not complete, even though XQuartz is open.

I also get the two warnings which I don't understand how to fix, even after reading the ssh man page.

Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.

© Super User or respective owner

Related posts about osx

Related posts about mac