On Fri, 24 May 2002, Roberto Armenteros wrote:

> I would like to know how I can connect to an X server
> running in one computer from another computer on the
> internet. Is the X server by default enabled to accept
> connections from the outside? How would I connect from
> it. I would appreciate any directions on how to do
> this "ex, what configuration file is resposable for
> this" or where can i go to find documentation from
> this kind of actions.
> 

There are several ways of doing what you'd like:

1) Run tightvnc  (http://www.tightvnc.com) 
   TightVNC is a "Remote framebuffer" device similar to PCAnywhere. It
   is based on VNC, but has optimizations for slower links. 

2) Tunnel your X session through SSH.

   http://csociety.ecn.purdue.edu/~sigos/projects/ssh/forwarding/

   The first method relies on the automatic forwarding of X built into
   SSH. This will work if the host you're connecting to is directly on
   the Internet. Use the port forwarding technique (ssh -L) to connect
   to a machine that's behind a firewall. If you're connected thusly:
     A <--Internet--> B <--LAN--> C

   traffic between B and C will *not* be encrypted in this method.

3)  Install a VPN between the two machines. 
    Try http://openvpn.sourceforge.net for a fairly straightforward
        utility. There are several other VPNs so search on Google. Once the
        VPN is installed you can use the standard X forwarding mechanisms by
        setting DISPLAY and enabling access via xhost.

To answer your other questions:
  Depends on which you use. The above are my recommendations in order of
  preference, but this depends on what you intend to do.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to