https://www.ibm.com/developerworks/mydeveloperworks/blogs/paixperiences/entry/remotex11aix?lang=en
Forward GUI installer to Windows from Unix.
First download Cygwin or X Manager, and enable X11 fowwarding as below in PuTTY. Start X server.
[@more@]Forward GUI installer to Windows from Unix.
First download Cygwin or X Manager, and enable X11 fowwarding as below in PuTTY. Start X server.

- Use putty to login to the server. Here is a issue incurred: after use my own account to log on, then sudo su – oracle, unable to start xclock, echo $DISPLAY also shows nothing. It’s OK if use account oracle to login directly.
bash-4.2$ echo $DISPLAY
localhost:10.0
bash-4.2$ xclock
We can use xclock to test the X windows.
Basic overview of X11 Windows architecture
an application e.g. xclock is an X11 client the application's content is displayed by an X11 server
Your workstation
Install Cygwin from www.cygwin.org select at least the following extra packages: xorg-server xinit xauth xclock xterm xhost Make an entry in your Startup folder: C:c ygwi nbi nru n.ex e /usr/bin/bash.exe -l -c /usr /bin /sta rtxw in.e xe
C:UsersIBM_ADMIN> netstat -atn | findstr 6000 TCP 0.0.0.0:6000 0.0.0.0:0 LISTENING InHost TCP [::]:6000 [::]:0 LISTENING InHost
Remote AIX server
Direct X11 TCP/IP connection
SSH X11 port forwarding
you do not care about network infrastructure, VPNs, NATs and firewalls between you and the target server. All you need is a working ssh connection you do not care about DISPLAY anymore X11 session is automatically authenticated X11 session is automatically encrypted
# grep X11Forwarding /etc /ssh /ssh d_co nfig X11Forwarding yes
stopsrc –s sshd; sleep 2; startsrc –s sshd
# echo $DISPLAY DISP LAY= loca lhos t:10 # xauth list server/unix:10 MIT-MAGIC-COOKIE-1 6299 5647 96e4 cf08 9e38 619a 354c fdcc
Issues
I run xclock, but it hangs out and does not display anything
Realy? An X11 windows can open underneath other windows. Check again. A DISPLAY variable is not set or is set incorrectly. In this case it takes few minutes for an application to terminate. An X11 server is not running on your local machine.
I use ssh the X11 forwarding, but the DISPLAY variable is not set
Check X11Forwarding directive in sshd_config Check that ssh client has X11 forwarding option set The AIX machine is missing xauth programm. Install X11.apps.config fileset. There are some older OpenSSH or OpenSSL versions that are buggy. I have had issues with OpenSSH versions 4.6.X, OpenSSH_4.3p2, OpenSSL 0.9.7l 28
