Re: exporting DISPLAY question/problem



Then check why the DISPLAY variable is not set.
- XAUTH might be missing of not found

How do I check?
$ ssh -v- -v -v <server>
OpenSSH_4.5p1, OpenSSL 0.9.8b 04 May 2006
debug1: Reading configuration data /etc/ssh/ssh_config
<snip>
debug3: Ignored env SSH_AUTH_SOCK
<snip>
debug3: Ignored env XAUTHORITY
<snip>


- DISPLAY variable will be set for some reason by your login
envrionment
( ksh: .profile, .kshrc )

Not set by either one.


- Run ssh in debug mode
$ ssh -v -v -v AixHost

- Run the sshd in debug mode and forground

2) Check that the AIX package X11.apps.config is installed.
$ lslpp -l | grep X11.apps.config
$ lslpp -l | grep X11.apps.config
X11.apps.config 5.3.0.0 COMMITTED AIXwindows Configuration
A little bit out dated. Might be also the cause of the problem

If so: I don't have a NIM-server. How can I update this then?



3) Check that X-Forwarding is allowed thus the /etc/ssh/sshd_config
contains a line with:
X11Forwarding yes
Host *
ForwardAgent yes
ForwardX11 yes
What Version of ssh are you using ?

$ lslpp -l | grep openssh
openssh.base.client 4.3.0.5301 COMMITTED Open Secure Shell Commands
openssh.base.server 4.3.0.5301 COMMITTED Open Secure Shell Server
openssh.license 4.3.0.5301 COMMITTED Open Secure Shell License
openssh.man.en_US 4.3.0.5301 COMMITTED Open Secure Shell
openssh.msg.en_US 4.3.0.5301 COMMITTED Open Secure Shell Messages -
openssh.base.client 4.3.0.5301 COMMITTED Open Secure Shell Commands
openssh.base.server 4.3.0.5301 COMMITTED Open Secure Shell Server

.


Quantcast