When you are exporting the Display to other machines, make sure you have entered the command xhost+ on that machine. This command allows the other machines to export their display on this machine. There can be many security constraints. You need to check ssh –X MachineIP is not required by xhost +?
Reasons:
Sometimes JCONSOLE does not allow all its processes. Since those JVM run with different users and you are trying to export the DISPLAY with another user. So it is better to follow C_DIR > sudo./jconsole.
WEBSPHERE:
In was ( WEBSPAHERE); jconsole was not able to connect its java server process. At that time just go to the link, and then try again to connect. It is also possible that this page is initializing some variables to enable jconsole to connect with the server.
WAS -> Console -> Application servers -> server1 -> Process definition -> Java virtual machine.
NX clients for windows:
- Through this Windows machine, Connect to Unix box where GUI console is available.
- Move SSH to the AIX box from the UNIX box.
- Set the display like “export DISPLAY = UNIXMACHINE:NXClientPORTConnectedMentionedOnTitle”
- Now when you launch any program, that requires DISPLAY, it will be launched on the UNIX box.