Coredump

Work, play, and everything in-between.

Archive for November 3rd, 2008

Run X apps on Windows

without comments

At work, I connect to remote servers through SSH. Sometimes, I use Hummingbird Exceed to forward X and xterm sessions to colleagues. Hummingbird is not only proprietary, but also prohibitively expensive, so I use the open source alternative at home: XMing.

In PuTTy, I enable X11 forwarding in the config (Connection > SSH > X11). In /etc/ssh/sshd_config on the remote host, I set up the following:

X11Forwarding yes
X11DisplayOffset 0

and do a service sshd restart. Once Xming is fired up and I’m connected to the remote box, I can issue something like xclock &, and the app gets displayed in my Windows machine:

Written by Ian Dexter

November 3rd, 2008 at 8:56 am

Posted in Play

Tagged with , , , ,