I know i can do it in linux, anything similar in osx?


Firstly make sure X11 is installed (it's an optional install on the OS X dvd)

You need to ssh in with X11 forwarding.

Open terminal and type ssh -X username@host where username and host are the relevant details.

This will log you in. Once logged in type gedit and the X11 server on your mac will start and show the gEdit window.

  • hm got Gtk-WARNING **: cannot open display: – Jacopo May 5 '11 at 2:48
  • is you're linux ssh server setup to forward X11 packets? – robzolkos May 5 '11 at 2:55
  • see edit, make sure X11 is installed on your mac too – robzolkos May 5 '11 at 2:57
  • its installed and enabled. Just another bit of diagnostic help when i echo display i get a blank line – Jacopo May 5 '11 at 4:20
  • when I echo $DISPLAY, it says localhost:10.0 – robzolkos May 5 '11 at 4:38

You must log in to answer this question.

Not the answer you're looking for?Browse other questions tagged .