Thursday, June 23, 2011

Forwarding X in snow leopard

Just picked this up from a blog http://blog.carldr.com/ as I needed to forward GUI apps over SSH.

The answer was just to replace localhost with 127.0.0.1.

Start Terminal from utilities
run "startx" in the terminal
right click on the dock (my recent fav trick) run "xterm" from Applications menu.

The next are commands to run in the xterm.

xhost +
ssh -R 6000:127.0.0.1:5000 myserver

Now, you can run your GUI app

I still have habits to do the xhost +, sometimes it's just conditioning and I'm not even sure if the commands are useful.

No comments:

Splitting the home network

Who wouldn't want to separate the traffic at home for security reasons. The more common ones include wireless guest and wireless users. ...