Cannot open remote display

Scot L. Harris webid at cfl.rr.com
Mon Feb 7 14:07:37 UTC 2005


On Mon, 2005-02-07 at 08:40, A. Lanza wrote:

> 
> I'd like also to get my server display in my laptop display. How can i
> do that? May i use a remote control tool? Will it be secure if i go
> through a public WAN connection?

The easiest method to get a full desktop view of linux machine would be
to use VNC.  NOTE: in a default configuration VNC is NOT secure over any
network.  However it can be tunneled over ssh which does a good job of
securing such connections.  The VNC site contains some decent
documentation on how to do this.  If you have trouble with it ask again
on the list and I or someone else can try to help.  (been awhile since I
did this but I know it works)

Having said that, you will most likely find that you don't really need
or want the full desktop view of your system.  First off it will be slow
even over cable modem type connections.  And over dial up I think you
will find it unusable for the most part except for the most basic
things.

I use ssh to forward X11 windows over broadband connections all the
time.  This keeps the amount of data transfered to the particular
applications I want to run, no overhead from sending an entire desktop. 
You can even create custom launchers that automatically run the program
or script on the remote system and export the display to your local
machine.  You get a nice windowized prompt for the ssh password and then
the window for your application shows up on your desktop.  So it looks
as if it is fully integrated into your local desktop.

ssh -X ipofremotemachine scripttorunonremotemachine

is the format for doing that.  Test it from a CLI first then setup a
custom launcher with that command.


-- 
Scot L. Harris
webid at cfl.rr.com

The way to make a small fortune in the commodities market is to start
with a large fortune. 




More information about the fedora-list mailing list