On Sat, Nov 06, 1999 at 09:07:51PM +0800, Niclas Hedhman wrote:
> 
> How do I connect my running Xserver on LinuxBoxA to clients (such as
> KDE's kfm) on LinuxBoxB??
> 
> Shouldn't that be pretty straight forward?
yes.
it is.
there's two ways I have done this.

#1
 while in X on LinuxBoxA, in an xterm, type
 xhost +LinuxBoxB
 telnet into LinuxBoxB.
 try 
 echo $DISPLAY
 it should respond 
 LinuxBoxA.yourdomain:0.0
 if not
 type
 export DISPLAY=LinuxBoxA.yourdomain:0.0
 NOTE:
  this require a fully qualified domain name
  not just a hostname.
  
 type kfm, and kfm your appear on your screen.

 this relies on you having the same username on both machines,
 I don't know how to fix this if your username isn't the same...
 and is apparently insecure in some way that I don't really understand.
 
 if nothing else, your traffic could be sniffed and Someone else could
 watch everything happening across the network.
 but.. the way I do it is..

#2
 install ssh on both machines
 I believe lawson already gave a pointer to where to get it
 and If you are using debian, all you should need to do is
 apt-get install ssh.

 while in X, in an xterm..
 type 
 ssh LinuxBoxB -l yourusername
 type your password
 then at the prompt, type
 kfm,
 and It should appear on your screen....

advantages to #2
 doesn't require the same username on both boxes
 ssh handles all of the screen writing permissions
 everything going across the network is encrypted.
 ssh has some _really_ nice features, like the ability
 to generate a personal public/private key pair, then
 type in the passphrase _once_ at the beginning of your
 session, and be able to ssh securely to any boxen that
 have ssh set up right, w/o a password
 
 hope this helps

greg
-- 
this is not here

Reply via email to