1 |
Hi, |
2 |
|
3 |
I wish to forward X from machine B to machine A via ssh. Machine A is |
4 |
running an X server. On machine B I have in sshd_config: |
5 |
|
6 |
X11Forwarding yes |
7 |
|
8 |
On machine A I have in ssh_config: |
9 |
|
10 |
ForwardX11 yes |
11 |
|
12 |
I can ssh from A to B without problems but when I try to start a |
13 |
simple application: |
14 |
|
15 |
B ~ $ xclock |
16 |
Error: Can't open display: |
17 |
|
18 |
and |
19 |
|
20 |
B ~ $ echo ${DISPLAY} |
21 |
|
22 |
returns nothing. |
23 |
|
24 |
Having turned up the debugging level for sshd on B to DEBUG3 I see this in |
25 |
the logs: |
26 |
|
27 |
sshd[6659880]: debug2: bind port 6010: Cannot assign requested address |
28 |
|
29 |
This is repeated for ports 6011 to 6999 inclusive. Then: |
30 |
|
31 |
sshd[6659880]: error: Failed to allocate internet-domain X11 display |
32 |
socket. |
33 |
|
34 |
I can't acces the wiki page at the moment so if someone could help |
35 |
with further troubleshooting I'd be most grateful. |
36 |
|
37 |
Thanks, |
38 |
Roger |
39 |
|
40 |
P.S. openssh-4.7_p1-r1 on both boxes. |
41 |
-- |
42 |
gentoo-user@g.o mailing list |