Re: Putty + AIX + X11 forwarding
From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 01/30/04
- Previous message: Tamas: "Displaying HTML entities"
- In reply to: dba2adm_at_yahoo.com: "Putty + AIX + X11 forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 30 Jan 2004 22:31:16 +0000 (UTC)
In article <903bd22e.0401301013.722c6109@posting.google.com>,
<dba2adm@yahoo.com> wrote:
>I have Xmanager running on my PC as the X-Server and Putty as my ssh
>client for my AIX server. I have "enable X11 forwarding" under "SSH"
>-> "Tunnels" and has the "X display location" as "localhost:0". I even
>tried to set the value same as the IP of my local PC.
>
>When I connect to the AIX machine using putty, I don't see the DISPLAY
>variable set.
>
>I could set the DISPLAY to my pc's ip address on the ssh session on
>AIX by "export DISPLAY=xxx.xxx.xxx.xxx:0" [...]
Don't do that. sshd should set the DISPLAY variable and xauth creds
for you. If you have to mess with either then there's something
wrong[1].
You don't specify which SSH server you're using. The following assumes
OpenSSH, details will vary for other servers:
Make sure that X forwarding is on in the server config (ie
"X11Forwarding yes" in sshd_config).
If xauth was not in the path at build time, sshd may not have a default
location for xauth. Try adding "XauthLocation /usr/X11/bin/xauth" to
sshd_config (I think that's the path on AIX, you should check it).
Both of those will require the sshd server to be restarted to take effect.
If neither work, please specify what your SSH server software is (and
what version).
[1] Actually, this isn't strictly true, but if you know that then you
should know when to do it.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Previous message: Tamas: "Displaying HTML entities"
- In reply to: dba2adm_at_yahoo.com: "Putty + AIX + X11 forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|