Error when opening smconsole after upgrade RH8 socket in Policy Server
search cancel

Error when opening smconsole after upgrade RH8 socket in Policy Server

book

Article ID: 396250

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction


Running smconsole program on the Policy Server Linux machine, the program doesn't start and the command line reports the error:

$ smconsole
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
      at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
      at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
      at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
      at java.security.AccessController.doPrivileged(Native Method)

Putty configuration for X Forwarding:

  X11 forwarding
    o Enable X11 forwarding
    X display location 10.0.0.1:0.0
    Remote X11 authentication protocol
    X MIT-Magic-Cookie-1
    X authority file for local display
    /user/.Xauthority

 

Resolution


Install Xming on the laptop, and run it that way on Windows:

  "C:\Program Files (x86)\Xming\Xming.exe" :0 -clipboard -multiwindow -ac

Once connected, the DISPLAY environment variable is set to localhost:10.0:

# echo $DISPLAY
localhost:10.0

and the smconsole appear on the Laptop.