Remote Display Config.sh Using SSH

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).

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

me

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today