08-12-2003 02:34 AM - edited 03-02-2019 09:31 AM
hi,
i would like to use the user tracking tool in cli mode (./ut -cli -query all -export /tmp/UTexport admin admin),
but i get the following message:
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at <Unloaded Method>
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName0(Compiled Code)
at java.lang.Class.forName(Compiled Code)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:63)
at java.awt.Font.initializeFont(Font.java:262)
at java.awt.Font.<init>(Font.java:292)
at javax.swing.plaf.metal.DefaultMetalTheme.<init>(DefaultMetalTheme.java:59)
at javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java:709)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:713)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:363)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:390)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:850)
at javax.swing.UIManager.initialize(UIManager.java:926)
at javax.swing.UIManager.maybeInitialize(UIManager.java:948)
at javax.swing.UIManager.getUI(UIManager.java:559)
at javax.swing.JPanel.updateUI(JPanel.java:110)
at javax.swing.JPanel.<init>(JPanel.java:70)
at javax.swing.JPanel.<init>(JPanel.java:100)
at com.cisco.nm.ani.clients.ut.UT.<init>(UT.java:213)
at com.cisco.nm.ani.clients.ut.UT.main(UT.java:202)
we use works 2000 on solaris but we have no running X11 server, because our server has no graphic card installed.
any suggestions are welcome,
thanks in advance
Peter
08-12-2003 09:49 AM
Can you run it from the console window of the CW2K server itself?
08-12-2003 09:44 PM
we installed works 2000 on solaris and if i connect to this server via ssh or telent, i get the same message.
08-25-2003 05:23 AM
You do need an X-server on your workstation to run UT. Moreover, you need to set the Unix DISPLAY variable on the X-client (=CW2000 server) to point to your workstation:
CW2000-server$ set DISPLAY=your_host_name:0
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide