cancel
Showing results for 
Search instead for 
Did you mean: 

Can't connect to X11 Windows Server - Error

Former Member
0 Kudos

Dear All,

Greetings!!

We had successfully installed ECC6.0 EHP7 with HANA Database on SUSE 11 SP3. Now we are in the process of upgrading the components in the ECC via SUM. When we try to start the upgrade via SUM using <SID>ADM userid in the Linux Machine, we are getting an JAVA Error like "Can't connect to X11 Windows Server". Please find the complete error log in the attached screenshot (SUM.pmg).

But when we try the same with the root userid, we can able to see the SUM GUI Opening Screen.

Please help us with suggestions or solutions at the earliest.

Regards,

Ela

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member189797
Active Contributor
0 Kudos

Hello Ella,

Please follow the SUM upgrade guide for starting the SUM tool.

Start the SL controller on primary application server with command :
./STARTUP

After this, you can access the GUI from the browser :
http://<host>:4239/

Problem you described, seems to be related to variables.
Please set the variable DISPLAY for the SIDADM user.

Thanks.

Regards,
Gaurav

Reagan
Advisor
Advisor
0 Kudos

How are you starting the SUM tool ?

You can start the SUM tool but executing the STARTUP script in the background and then use a browser to access the tool using the URL http://localhost:4239

But if you want DISPLAY to be set then what is the output for xclock ?

su - sidadm

xclock

Regards

RB

divyanshu_srivastava3
Active Contributor
0 Kudos

Please set display variable using set env or export command.

Former Member
0 Kudos

Yes thanks for the reply.

I have tried with the below commands

setenv DISPLAY:0.0

export DISPLAY=:0.0

But its not working here 😞

Regards

Ela

divyanshu_srivastava3
Active Contributor
0 Kudos

What is your shell for sidasm user

Run echo $ SHELL

Use export DISPLAY=localhost:0.X

Where x is your session number

divyanshu_srivastava3
Active Contributor
0 Kudos

If you shell uses setenv then use

setenv DISPLAY localhost:0.0

Also you can try using 127.0.0.1 in place of local host to set display.

Former Member
0 Kudos

SIDADM's shell is csh.

Please refer the attached screenshots.

former_member189797
Active Contributor
0 Kudos

use setenv command as suggested above.

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Elan,

Does sidadm have support to user Xwindow/Term services ?

Since your current shell is not supporting export, use setenv command.

Or change your shell to bash and try again with above commands.

You can compare environment variables of root with sidadm  for Xterm/display services and add them to sidadm.

Regards

Former Member
0 Kudos

Hello Chezhian,

Which X window tool do you have in your PC ?

regards

Vagesan