Problem

  • Product Name: VisiBroker
  • Product Version: All
  • Platform: Unix
We need to run lmadm on AIX machine from PC via network connection. However, it terminates by the error:

java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
 at java.lang.Class.forName1(Native Method)

Resolution

On host,  export DISPLAY environment variable as follows:

# export DISPLAY=localhost:0.0

and run Xserver on the PC.

Then, run PuTTY using the SSH connection with options below:

Connection type:SSH
Option controlling SSH X11 forwarding
Enable X11 forwarding - check
X display location : localhost:0
Remote X11 authentication protocol
MIT-Magic-Cookie-1 - check

After this setup, running lmadm GUI tool on the host via the PuTTY/ssh will bring the GUI on the PC's screen.
 
Incident #2427775