Remote Display Config.sh Using SSH
By John Graves on Mar 10, 2011
How often I see people look to VNC, NXMachine, RDP, etc to get a windowing environment on a remote system. These products are great and I use them too, but there is a fancy feature in SSH to help.
ssh –X remoteserver
This is a great feature for hooking into headless VirtualBox machines and remote displaying an install wizard.
The remote server must have some lines put in the /etc/ssh/sshd_conf file:
The second line is optional, but the first is required. Restart sshd (sudo /etc/init.d/ssh restart).
Now I can ssh –X remote server
Then run /opt/app/wls10.3.4/wlserver_10.3/common/bin/config.sh to build a new domain.
Note: For some reason, the jdk that comes with WebLogic often fails to work on the remote display. In that case, I modify the config.sh to just use /usr/bin/java (from openjdk-6-jre package).