Páginas

Thursday, 19 June 2014

Using X11 Forwarding



Sometimes you need to install an application in an Unix server from your workstation (windows) and you need to have a display to do that.

You are going to redirect the display of a remote server (Unix server) into a local computer (workstation) using the X Window System (known as X11) which is a computer software system and network protocol that provides a graphical user interface (GUI).

To use this, you need an X11 server running in your workstation, there are several options Xming, Exceed, Cygwin.

X11 Forwarding:

  • In the Unix server, enable the following option in the file /etc/ssh/sshd_config
X11Forwarding yes


  • Restart ssh service
stopsrc –s sshd; startsrc –s sshd


  • Configure putty in the following way 
  


 After you log in, check the DISPLAY and authentification value

echo $DISPLAY
localhost:10.0
xauth list
server/unix:10  MIT-MAGIC-COOKIE-1  e4d497c05f2c1d0bea7d5ca583b76ca1
server/unix:11  MIT-MAGIC-COOKIE-1  0cea5b082451ec11ca4c89b9dc4bc078 


Now, you are ready to start your installation.


Note: Make sure you have installed X11 filesets in the AIX server

Resources

https://www.ibm.com/developerworks/community/blogs/paixperiences/entry/remotex11aix?lang=en

http://aix4admins.blogspot.com.es/2011/06/using-x11-forwarding-in-ssh-ssh.html

http://gerardnico.com/wiki/linux/cygwinx_remote_client
 

No comments:

Post a Comment