I have read several times that it is best that Groupwise management be done by running ConsoleOne from the server console rather than from a remote pc. All good advice except C1 via VNC does not work for me :-(.

Current setup:
OES2 SP1 with ConsoleOne 1.3.6f
On server and workstation tightvnc-1.2.9-201.17

C1 works perfectly at the server console.

I can connect to the server no problems with VNC:
>vncviewer server2:1
and it appears to work fine, that is until I try to launch ConsoleOne, which gives me the following error:

##############################################
# ./ConsoleOne [5Pshutdown./ConsoleOne

/usr/bin/expr: warning: unportable BRE: `^.*-> \\(.*\\)$': using `^' as the first character

of the basic regular expression is not portable; it is being ignored

/usr/bin/expr: warning: unportable BRE: `^/': using `^' as the first character

of the basic regular expression is not portable; it is being ignored

Xlib: connection to "127.0.0.1:1.0" refused by server


Xlib: No protocol specified




java.lang.InternalError: Can't connect to X11 window server using '127.0.0.1:1.0' as the value of the DISPLAY variable.

at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)

at sun.awt.X11GraphicsEnvironment.access$000(X11Graph icsEnvironment.java:95)

at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEn vironment.java:184)

at java.security.AccessController.doPrivileged(Access Controller.java:193)

at sun.awt.X11GraphicsEnvironment.<clinit>(X11Graphic sEnvironment.java:173)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:177)

at java.lang.Class.forNameImpl(Native Method)

at java.lang.Class.forName(Class.java:127)

at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(GraphicsEnvironment.java:99)

at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:177)

at java.lang.Class.forNameImpl(Native Method)

at java.lang.Class.forName(Class.java:127)

at java.awt.Toolkit$2.run(Toolkit.java:864)

at java.security.AccessController.doPrivileged(Access Controller.java:193)

at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:84 7)

at com.novell.application.console.shell.ConsoleShell. start(ConsoleShell.java)

at com.novell.application.console.shell.Console.main( Console.java)

Exception in thread "main" java.lang.NoClassDefFoundError: sun.awt.X11.XToolkit (initialization failure)

at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:123)

at java.lang.Class.forNameImpl(Native Method)

at java.lang.Class.forName(Class.java:127)

at java.awt.Toolkit$2.run(Toolkit.java:864)

at java.security.AccessController.doPrivileged(Access Controller.java:193)

at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:84 7)

at javax.swing.UIManager.initialize(UIManager.java:12 96)

at javax.swing.UIManager.maybeInitialize(UIManager.ja va:1279)

at javax.swing.UIManager.getUI(UIManager.java:885)

at javax.swing.JOptionPane.updateUI(JOptionPane.java: 1841)

at javax.swing.JOptionPane.<init>(JOptionPane.java:18 04)

at javax.swing.JOptionPane.showOptionDialog(JOptionPa ne.java:862)

at javax.swing.JOptionPane.showMessageDialog(JOptionP ane.java:676)

at javax.swing.JOptionPane.showMessageDialog(JOptionP ane.java:647)

at com.novell.application.console.shell.ConsoleShell. start(ConsoleShell.java)

at com.novell.application.console.shell.Console.main( Console.java)

Caused by: java.lang.Throwable: java.lang.InternalError: Can't connect to X11 window server using '127.0.0.1:1.0' as the value of the DISPLAY variable.

at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)

at sun.awt.X11GraphicsEnvironment.access$000(X11Graph icsEnvironment.java:95)

at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEn vironment.java:184)

at java.security.AccessController.doPrivileged(Access Controller.java:193)

at sun.awt.X11GraphicsEnvironment.<clinit>(X11Graphic sEnvironment.java:173)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:177)

at java.lang.Class.forNameImpl(Native Method)

at java.lang.Class.forName(Class.java:127)

at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(GraphicsEnvironment.java:99)

at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:177)

at java.lang.Class.forNameImpl(Native Method)

at java.lang.Class.forName(Class.java:127)

at java.awt.Toolkit$2.run(Toolkit.java:864)

at java.security.AccessController.doPrivileged(Access Controller.java:193)

at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:84 7)

... 2 more
##############################################
I have tried running TightVNC from both SLED 10SP1 and a Win XP pc, and both have the same result.

I applied some Sun Java patches, and rebooted the server, but that has not helped. Installed Java versions are:
java-1_5_0-ibm-unrestricted-security-policies-1.4.2-6
javamail-1.3.3_01-14.2
java-1_5_0-ibm-devel-1.5.0_sr3-13.10
java-1_4_2-sun-1.4.2.16-0.2
java-1_5_0-ibm-alsa-1.5.0_sr3-13.10
java-1_5_0-ibm-1.5.0_sr3-13.10

I find these sort of Java errors vey puzzling. If any application works at the console, shouldn't it work the same over VNC?
Has anyone experienced this before?
Is TightVNC the VNC product to use?
What is the best recommended method for graphical remote control?