SSH X Window Forwarding

I was using Mac’s X11 terminal to run a GUI application remotely, when suddenly it gave the dreaded:
Tk initialization failed: no display name and no $DISPLAY environment variable.

Why? There’s no way my machine couldn’t handle X Window Forwarding.

Turns out to enable X Window Forwarding, you need to include the -X command line argument:
ssh -X you@server

This is like checking the enable X11 forwarding box in Putty.

Posted on November 3, 2010, in Computer Configurations and tagged . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: