Re: X client problem..
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:
Find within that:
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.