Sunday, August 22, 2010

Enabling X11 Forwading for AIX Server

Forwarding the X11 display from AIX machines to client machine:

     1. Use putty to connect to AIX machine with SSH Protocol
     2. Open Putty from your client machine.
     3. On left panel, click on Connection -> X11. On right panel click on Enable X11 forwarding check box.
     4. On left panel of putty, click on Session and then click on save option shown on right side
     5. Enter AIX machine name on Host Name field  and choose SSH as protocol. Click on open.
     6. Provide root user credentials to login
     7. In root prompt enter folling
        cd /etc/ssh
         vi sshd_config

     8. Change following options.
        Un comment following lines and change the arguments as follows for all occurences in the file.
         X11Forwarding yes
         AllowTcpForwarding yes
     9. Stop the ssh service as
         stopsrc -s sshd
    10. Start the ssh service as
         startsrc -s sshd
    11. Start the XWinServer or any X server on client machine.
    12. Take a new session for the AIX server and try xterm after logging in.           

No comments:

Post a Comment