Solaris graphical applications can be piped through a secure shell connection, and displayed on a remote system. This allows you to run graphical applications from a headless system.


  1. Modify the /etc/ssh/sshd_config file to allow X11 forwarding:
  2. # vi /etc/ssh/sshd_config
    
      => Change X11Forwarding to 'yes'
    
  3. Save the file, and restart /etc/init.d/sshd:
  4. # /etc/init.d/sshd restart
    
  5. Log out, then log back in using ssh -X:
  6. $ ssh -X blade
    
  7. Set the DISPLAY variable using:
  8. $ export DISPLAY=localhost:10.0
    
  9. Set the PATH to include /usr/openwin/bin:
  10. $ export PATH=$PATH:/usr/openwin/bin
    
  11. Finally, execute a graphical application:
  12. $ xcalc &