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.
- Modify the /etc/ssh/sshd_config file to allow X11 forwarding:
- Save the file, and restart /etc/init.d/sshd:
- Log out, then log back in using ssh -X:
- Set the DISPLAY variable using:
- Set the PATH to include /usr/openwin/bin:
- Finally, execute a graphical application:
# vi /etc/ssh/sshd_config => Change X11Forwarding to 'yes'
# /etc/init.d/sshd restart
$ ssh -X blade
$ export DISPLAY=localhost:10.0
$ export PATH=$PATH:/usr/openwin/bin
$ xcalc &