Re: exporting DISPLAY question/problem



On 21 Nov., 08:40, Huub <"v.niekerk at hccnet.nl"> wrote:
1) Check the DISPLAY variable. Should be set to something like :
localhost:12:0

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

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

- 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


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 ?

hth
Hajo

.



Relevant Pages

  • Re: ssh-agent fun
    ... > ssh 2 ... It would only make sense to have ForwardAgent yes on box 2 if you were ... have to be forwarded from box 1, unless ssh-agent was running somewhere on ...
    (comp.os.linux.networking)
  • Partial SNAFUs - X11Forwarding etc.
    ... Having some fun setting up SSH. ... ForwardAgent no ... consolecommand "ssh -XY username@P2" ... Then there is the question of introducing a working command like "ssh ...
    (comp.security.ssh)
  • Re: cant start X11 consolehelper apps on remote SSH server
    ... Running suid programs from sudo only changes the the effective uid and not the real uid. ... The ssh tunnel will refuse a connection from root unless allowed. ... ForwardAgent yes ...
    (Fedora)
  • Re: x11 cookie expires after some time
    ... > perhaps someone can explain me why I can't execute a x-program via a ssh ... > session after some time. ... > The session wasn't interrupted nor did I modify anything else, just the ssh ... > wasn't ForwardAgent, but ForwardX11Trusted that appears to have fixed the ...
    (freebsd-questions)
  • RE: Using public key pair to authenticate
    ... Most people would start SSH server in debug mode, "sshd -d", and also ... Apparently the public key authentication method is not ...
    (SSH)

Quantcast