martedì 23 dicembre 2014

How to simply display Aix remote Gui with Putty and Xming?

Who never struggled with exporting display and failed? I did it.
These steps below save to me a lot of time when I forget how to do:

On the Aix side:

1) edit file/etc/ssh/sshd_config  and set the following properties to yes.

X11Forwarding yes
X11UseLocalhost yes
PermitRootLogin yes

2) Stop the ssh service:
stopsrc -s sshd

3) Restart the ssh service:
startsrc -s sshd

On client side:

4) Start Xming server (you can download it from http://sourceforge.net/projects/xming/)

5) Open a putty and specify "enable X11 forwardingon the X11 options and open the SSH session to the AIX host.

6) Verify the remote graphical panels are displayed on the client side. For the last one on the world that still does not know how to do: open a shell on the Aix box and running the most famous graphical test application "xclock".

Remember with ssh you do not need to export the display on the Aix shell, but just open the graphical application. If you access to the remote system with telnet you have first to export the display on the shell you need to running the graphical application.

Nessun commento:

Posta un commento