cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
345
Views
0
Helpful
3
Replies

user tracking in cli mode

p.ruester
Level 1
Level 1

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

3 Replies 3

rmushtaq
Level 8
Level 8

Can you run it from the console window of the CW2K server itself?

we installed works 2000 on solaris and if i connect to this server via ssh or telent, i get the same message.

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: