Re: exporting DISPLAY question/problem



On Nov 21, 6:44 am, Huub <"v.niekerk at hccnet.nl"> wrote:
When login using ssh and -X, ssh will set the DISPLAY variable for you
since it is creating a tunnel for you. Thus you should NOT reexport
the DISPLAY variable to something else.

$ ssh -YX 192.168.30.116

Without exporting:

$ xclock &
[1] 13894
$ Error: Can't open display:

[1] + Done(1) xclock &
$

Any other suggestions?


1) Check the DISPLAY variable. Should be set to something like :
localhost:12:0
2) Check that the AIX package X11.apps.config is installed.
$ lslpp -l | grep X11.apps.config
3) Check that X-Forwarding is allowed thus the /etc/ssh/sshd_config
contains a line with:
X11Forwarding yes

hth
Hajo
.



Relevant Pages


Quantcast