Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Not able to open Configtool

Dear Experts,

I'm not able to open configtool by using below path


here I'm getting below error.


Xlib: connection to ":1.0" refused by server

Xlib: No protocol specified


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(

at sun.reflect.NativeMethodAccessorImpl.invoke(

at sun.reflect.DelegatingMethodAccessorImpl.invoke(

at java.lang.reflect.Method.invoke(


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

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

at sun.awt.X11GraphicsEnvironment.<clinit>(

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

at java.lang.J9VMInternals.initialize(

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

at java.lang.Class.forName(

at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(

at java.awt.Window.init(

at java.awt.Window.<init>(

at java.awt.Frame.<init>(

at javax.swing.JFrame.<init>(





We are running EP 7.02,

Please letme know how to resolve this....

Thanks in advance.



Former Member
Former Member replied

Hi Mahesh,

It is very clear with the logs that you have not set the DISPLAY variable for SIDADM user.

You will be to set the DISPLAY variable similar to the above post and also you can set it using export DISPLAY=localhost:0.0

I guess root user should be you reference for maintaining xauth parameters.

With root user, try executing xclock, if clock pop up then DISPLAY variable is set for root user.

As root, execute xauth list

it will start with hostname/unix:0 MIT-MAGIC-COOKIE-1 f509b3235c4e8a4745ea33d76740f3df

Now do a su - sidadm

then enter xauth add unix:0 MIT-MAGIC-COOKIE-1 f509b3235c4e8a4745ea33d76740f3df

then setenv DISPLAY 0.0

or export DISPLAY=0.0

This should work.


Jaianandh V

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question