Sunday, April 27, 2008

Tunnel X Windows through SSH

SSH is frequently used to tunnel insecure traffic over the Internet, and easy to user:

$ ssh -X user@server.corp.com
$ ssh -X user@202.54.1.2

You can requests compression of all data to improve up user experience (good for a low speed link such as wan link) using -c:
$ ssh -c -X user@202.54.1.2

Once logged in you can fire up any X windows program:
$ xeys &
$ oowriter &

To start kde type:
$ startkde &

To start default desktop type:
$ startx

No comments: