On Wed, Aug 18, 2004 at 11:41:37AM -0400, Ishwar Rattan wrote: > > System is Kanotix-bug-hunter-07-A (debianunstable based). > > Call this box machine A > I want to run xterm from machine B > > Steps tried: > > on A --> xhost +B > loggged into B(via ssh) and --> export DISPLAY=A:0; xterm > > results in > ... Can't open display "A:0"
You should use ssh with X11forwarding. Using Xhost is the worst thing you can do, since anyone can connect to your machine, and none of it is encrupted. Therefore, you should run sshd (the daemon) on machine B, and edit the file: /etc/ssh/sshd_config Find within that: X11Forwarding no and replace 'no' with 'yes'. Then restart sshd on machine B. From machine A, do: ssh -X machineB login, and then run xterm. Voila. -- Thomas Adam -- "Frankly, Mr. Shankly, since you ask. You are a flatulent pain in the arse." -- Morrissey. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]