| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
|
| I use "ssh -X" to login to a aix machine successfully. However X applications fail to run. Please help to solve this problem. local$ uname -a Linux linux1 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 i686 i686 i386 GNU/Linux local$ ssh -X -o StrictHostKeyChecking=no twong-at-aix1.chrysalis-its.com twong-at-aix1.chrysalis-its.com's password: Last unsuccessful login: Fri Aug 8 10:50:29 CDT 2008 on ssh from 172.20.11.66 Last login: Fri Aug 8 13:56:17 CDT 2008 on /dev/pts/5 from 172.20.11.66 $ xterm xterm Xt error: Can't open display: $ xclock Error: Can't open display: $ uname -a AIX aix1 3 5 00CC111E4C00 |
|
#2
|
| TsanChung wrote: > I use "ssh -X" to login to a aix machine successfully. > However X applications fail to run. > Please help to solve this problem. > local$ uname -a > Linux linux1 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 > i686 i686 i386 GNU/Linux > local$ ssh -X -o StrictHostKeyChecking=no twong-at-aix1.chrysalis-its.com > twong-at-aix1.chrysalis-its.com's password: > Last unsuccessful login: Fri Aug 8 10:50:29 CDT 2008 on ssh from > 172.20.11.66 > Last login: Fri Aug 8 13:56:17 CDT 2008 on /dev/pts/5 from > 172.20.11.66 > $ xterm > xterm Xt error: Can't open display: > $ xclock > Error: Can't open display: > $ uname -a > AIX aix1 3 5 00CC111E4C00 > It looks like you don't have your DISPLAY environment variable set to point to your X server. Jim Lahue |
|
#3
|
| On 08/14/2008 01:04 AM, Jim Lahue wrote: > It looks like you don't have your DISPLAY environment variable set to > point to your X server. > > Jim Lahue Jim, one does not set DISPLAY for SSH X11 forwarding. Perhaps the OP is missing 'xauth' on his system. I think it's provided by X11.apps.config. cheers Niel |
|
#4
|
| On 2008-08-13, TsanChung > I use "ssh -X" to login to a aix machine successfully. > However X applications fail to run. > Please help to solve this problem. > local$ uname -a > Linux linux1 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 > i686 i686 i386 GNU/Linux > local$ ssh -X -o StrictHostKeyChecking=no twong-at-aix1.chrysalis-its.com > twong-at-aix1.chrysalis-its.com's password: > Last unsuccessful login: Fri Aug 8 10:50:29 CDT 2008 on ssh from > 172.20.11.66 > Last login: Fri Aug 8 13:56:17 CDT 2008 on /dev/pts/5 from > 172.20.11.66 > $ xterm > xterm Xt error: Can't open display: > $ xclock > Error: Can't open display: > $ uname -a > AIX aix1 3 5 00CC111E4C00 Are you sure X11 forwarding is enabled in the SSHD config? Check for an entry like: X11Forwarding yes Regards, Frank |
|
#5
|
| On Thu, 14 Aug 2008 09:25:33 +0200, Frank Fegert wrote: > On 2008-08-13, TsanChung >> I use "ssh -X" to login to a aix machine successfully. However X >> applications fail to run. >> Please help to solve this problem. >> local$ uname -a >> Linux linux1 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 i686 >> i686 i386 GNU/Linux >> local$ ssh -X -o StrictHostKeyChecking=no twong-at-aix1.chrysalis-its.com >> twong-at-aix1.chrysalis-its.com's password: Last unsuccessful login: Fri >> Aug 8 10:50:29 CDT 2008 on ssh from 172.20.11.66 >> Last login: Fri Aug 8 13:56:17 CDT 2008 on /dev/pts/5 from >> 172.20.11.66 >> $ xterm >> xterm Xt error: Can't open display: >> $ xclock >> Error: Can't open display: >> $ uname -a >> AIX aix1 3 5 00CC111E4C00 > > Are you sure X11 forwarding is enabled in the SSHD config? Check for an > entry like: > X11Forwarding yes > > Regards, > > Frank Depending on the server TL, there may be a bug in the sshd daemon that prevents X11 forwarding from working. If X11 forwarding is turned on in the /etc/ssh/sshd_config file, and xauth is installed, then you may need to add the following line to the sshd_config file and restart the service (using 'stopsrc' and 'startsrc'; not 'refresh'): XAuthLocation /usr/bin/X11/xauth |
|
#6
|
| On Aug 14, 2:21*am, Niel Lambrechts > On 08/14/2008 01:04 AM, Jim Lahue wrote: > > > It looks like you don't have your DISPLAY environment variable set to > > point to your X server. > > > Jim Lahue > > Jim, one does not set DISPLAY for SSH X11 forwarding. > > Perhaps the OP is missing 'xauth' on his system. I think it's provided > by X11.apps.config. > > cheers > Niel # lslpp -l | grep X11.apps.config X11.apps.config 5.3.0.0 COMMITTED AIXwindows Configuration lslpp: 0504-125 Error while processing fileset c08e25dff488c9a718b73eb37355c503. lslpp: 0504-307 No match was found for the SWVPD data search. What should I do? |
|
#7
|
| On Aug 14, 3:25*am, Frank Fegert > On 2008-08-13, TsanChung > > > > > I use "ssh -X" to login to a aix machine successfully. > > However X applications fail to run. > > Please help to solve this problem. > > local$ uname -a > > Linux linux1 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 > > i686 i686 i386 GNU/Linux > > local$ ssh -X -o StrictHostKeyChecking=no tw...@aix1.chrysalis-its.com > > tw...@aix1.chrysalis-its.com's password: > > Last unsuccessful login: Fri Aug *8 10:50:29 CDT 2008 on ssh from > > 172.20.11.66 > > Last login: Fri Aug *8 13:56:17 CDT 2008 on /dev/pts/5 from > > 172.20.11.66 > > $ xterm > > xterm Xt error: Can't open display: > > $ xclock > > Error: Can't open display: > > $ uname -a > > AIX aix1 3 5 00CC111E4C00 > > Are you sure X11 forwarding is enabled in the SSHD config? > Check for an entry like: > * X11Forwarding yes > > Regards, > > * * * * Frank # grep X11Forwarding /etc/ssh/sshd_config #X11Forwarding no X11Forwarding yes |
|
#8
|
| On Aug 14, 8:35*am, "F. Michael Orr" > On Thu, 14 Aug 2008 09:25:33 +0200, Frank Fegert wrote: > > On 2008-08-13, TsanChung > >> I use "ssh -X" to login to a aix machine successfully. However X > >> applications fail to run. > >> Please help to solve this problem. > >> local$ uname -a > >> Linux linux1 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 i686 > >> i686 i386 GNU/Linux > >> local$ ssh -X -o StrictHostKeyChecking=no tw...@aix1.chrysalis-its.com > >> tw...@aix1.chrysalis-its.com's password: Last unsuccessful login: Fri > >> Aug *8 10:50:29 CDT 2008 on ssh from 172.20.11.66 > >> Last login: Fri Aug *8 13:56:17 CDT 2008 on /dev/pts/5 from > >> 172.20.11.66 > >> $ xterm > >> xterm Xt error: Can't open display: > >> $ xclock > >> Error: Can't open display: > >> $ uname -a > >> AIX aix1 3 5 00CC111E4C00 > > > Are you sure X11 forwarding is enabled in the SSHD config? Check for an > > entry like: > > * X11Forwarding yes > > > Regards, > > > * * * * Frank > > Depending on the server TL, there may be a bug in the sshd daemon that > prevents X11 forwarding from working. *If X11 forwarding is turned on in > the /etc/ssh/sshd_config file, and xauth is installed, then you may need > to add the following line to the sshd_config file and restart the service > (using 'stopsrc' and 'startsrc'; not 'refresh'): > > XAuthLocation /usr/bin/X11/xauth I added "XAuthLocation /usr/bin/X11/xauth" to the /etc/ssh/sshd_config file and xauth is installed. aix# lssrc -s sshd 0513-085 The sshd Subsystem is not on file. aix# stopsrc -s sshd 0513-085 The sshd Subsystem is not on file. aix# startsrc -s sshd 0513-085 The sshd Subsystem is not on file. aix# ps -ef|grep ssh root 585820 1 0 07:57:57 - 0:00 /usr/sbin/sshd root 1495206 585820 0 07:58:20 - 0:00 sshd: root-at-pts/2 aix# kill -HUP 585820 1495206 Connection closed by remote host. local$ ssh -X aix1 aix# xclock Error: Can't open display: aix# ps -ef|grep ssh root 1486932 1495208 0 08:35:07 - 0:00 sshd: root-at-pts/0 root 1495208 1 0 08:35:01 - 0:00 /usr/sbin/sshd |
|
#9
|
| aix ssh daemon: $ ssh -v OpenSSH_3.9p1_CASPUR-K5/AFS-2, OpenSSL 0.9.7e 25 Oct 2004 linux ssh client: # ssh -v OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006 |
|
#10
|
| Niel Lambrechts wrote: > On 08/14/2008 01:04 AM, Jim Lahue wrote: > >> It looks like you don't have your DISPLAY environment variable set to >> point to your X server. >> >> Jim Lahue > > > Jim, one does not set DISPLAY for SSH X11 forwarding. > > Perhaps the OP is missing 'xauth' on his system. I think it's provided > by X11.apps.config. > > cheers > Niel Well, that'll teach me to talk about things that I don't do :-) So, I assume that the DISPLAY variable is supposed to be set up for him via SSH. Jim Lahue |
![]() |
| Thread Tools | |
| Display Modes | |