Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

user tracking in cli mode

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
Blue

Re: user tracking in cli mode

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

New Member

Re: user tracking in cli mode

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

New Member

Re: user tracking in cli mode

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

97
Views
0
Helpful
3
Replies