Remote Display Config.sh Using SSH
Posted
by john.graves(at)oracle.com
on Oracle Blogs
See other posts from Oracle Blogs
or by john.graves(at)oracle.com
Published on Thu, 10 Mar 2011 09:08:06 +1100
Indexed on
2011/03/10
0:14 UTC
Read the original article
Hit count: 342
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:
X11Forwarding yes
X11DisplayOffset 10
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).
© Oracle Blogs or respective owner