Re: X client problem..
> 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"
Try setting DISPLAY to the IP address of A, with :0 after it of
course.
Maybe host A is having port 6000 blocked so xterm can't contact
A's X server to have it display its stuff.
If that is the case, then let ssh manage the X connection; by using
ssh/slogin's -X option you then *don't* set DISPLAY, because you
would be overwriting the value ssh/sshd have negotiated, which is
a socket or pipe (can't remember which) that redirects X traffic
over the SSH connection.
So:
(a) xhost +B
slogin B
export DISPLAY=1.2.3.4:0
xterm &
or:
(b) slogin -X B
echo $DISPLAY <--- see! it's already set
to localhost:something
xterm &
Alexis
Reply to: