[plug] Windows X-client
Peter Wright
pete at akira.apana.org.au
Wed Feb 20 11:57:21 WST 2002
On Tue, Feb 19, 2002 at 06:06:10PM +0800, Adam Ashley wrote:
> you should definatly try tightvnc, i use it to access my desktop system at
> home from work over a 56k modem with the home system running at 1152x864,
> 16bit colour, and its perfectly usable.
Having just last night used tightvnc on a 1152x864 desktop with max
compression over a _33.6K_ dialup - it's fantastic. You don't even have to
have the desktop set to 8-bit colour depth, you can just tell the vncviewer
to use 8-bit. Looks a bit "funny" (ho ho ho), but still good.
vncviewer -encodings 'tight copyrect' -compresslevel 9 -bgr233 [<HOST>][:<DISPLAY#>]
When using this last night, I also used a ssh tunnel inside another ssh
tunnel, just for extra bonus points :).
First, from a linux machine at work:
root at linux-au # ssh -2 -R 7777:localhost:22 pete at my-dialup.com.au
Log in and leave it there, go home...
Once home, I log in to the my-dialup machine and
pete at my-dialup $ ssh -2 -p 7777 pwright at localhost
I log in...and hey presto, I've drilled a hole through my work's firewall
to the linux-au machine. Hmmm. :)
However, it doesn't stop there, ladies and gentlemen. Oh no. Instead of (or
hell, in addition to) the above, I can do this:
pete at my-dialup $ ssh -2 -p 7777 -L 5900:my-workstation:5900 pwright at localhost
Then I can magically (from another shell):
pete at my-dialup $ vncviewer -encodings 'tight copyrect' -compresslevel 9 -bgr233 localhost
The vncviewer (part of tightvnc) will connect through the ssh tunnel on
localhost (5900 is the "listen" port VNC uses - I'm trying to make
localhost look like a VNC server) to my-workstation (a Windows machine that
can be accessed from the linux-au machine), which has a TightVNC server
running on it. I enter my "password" for that VNC server and woohoo! I have
a lovely VNC display on my-dialup.
Cool, hey? :)
> Adam
Pete, who gets excited by strange things.
--
http://akira.apana.org.au/~pete/
If a listener nods his head when you're explaining your program, wake him up.
More information about the plug
mailing list