cancel
Showing results for 
Search instead for 
Did you mean: 

XCLOCK not working with ora<sid> user (./RUNINSTALLER)

Former Member
0 Kudos

Hello,

I´m doing the installation of a SAP system in a Suse linux (SLES 11) with Oracle 11.2.0.3. I´m in the phase "Install database server software" at SWPM tool. For the database installation, I need to log in with ora<sid> user and run the ./RUNINSTALLER.

But for this I need the xclock. For this I need to set the DISPLAY variable, I did that to localhost:0.0, I try other values like <IP address>:0.0 ; <hostname>:0.0 and so on... but everytime I try to run the xclock command it show me an error:

sapsleora:oras1o 25> xclock
No protocol specified
Error: Can't open display: :0.0

For this reason I can´t start the oracle database installation with the ora<sid> user (./RUNINSTALLER)!

Can you help me please, can you tell me how to put the xclock / xyes working?

Kind regards,

samid raif

Accepted Solutions (1)

Accepted Solutions (1)

joo_migueldimas
Active Participant
0 Kudos

Hello samid raif,

I already had this problem in linux during the oracle database software installation and I solved with the following procedure. Try this: open a new session GNOME terminal and with root user run "echo $DISPLAY", we assume that the output is ":0.0". Then in the same gnome session, log on with ora<sid> user ("su - ora<sid>") and then type the command "bash". Now run "declare -x DISPLAY=":0.0"" and after that run "xclock" or "xeyes" (you will see the X window), then you need to exit the bash shell, type "exit"! Now you must set the DISPLAY variable (with ora<sid>) and point it to the output of echo $DISPLAY command with root user "setenv DISPLAY :0.0" then check the DISPLAY variable with "echo $DISPLAY" (output will be = ":0.0") and then run again the command "xclock"!

Now I believe that you can see the X window!

Hope it helps.

Regards,

João Dimas

Former Member
0 Kudos

Hello João Dimas,

Your tips worked like a charm!

Many thanks,

samid raif

Answers (4)

Answers (4)

former_member686472
Participant
0 Kudos

hi ,

use vnc for genrate the session and for xclock .

download vnc and give command vncserver it will generate session id then use vnc and install ur software .

Regards ,

Arpit

albert_vivesleal
Explorer
0 Kudos

Obrigadinho pela sua atençâo desde Barcelona !!!

Muito Grande !!!!

Former Member
0 Kudos

Hi Samid,

Have you got Exceed, Xmanager, Xming installed on your laptop/ desktop. If yes open one more session of exceed and then try using setenv command.

With your query it looks like you havne't closed the current SAP session, if yes (you haven't) then while settting env variable you have to choose setenv DISPLAY <hostname>:1.0 if you have closed the old session then 0:0 should work.

Try from <Sidadm> if it coming with sidadm or is it user specific, invetigate.


Hope it helps.

Regards,

Deepanshu sharma

Former Member
0 Kudos

Hello Deepanshu sharma,

I already said here before that I did exactly that, but unfortunately it didn´t work!

Any tips?

BR

samid raif

sivakumar_kilari3
Active Contributor
0 Kudos

Hi Samid,

Try another method

1. Login your SAP server with xmanager GUI mode ( ORASID user)

2. use command prompt and try start installation.

Thanks

Siva

Reagan
Advisor
Advisor
0 Kudos

How did you set the DISPLAY variable ?

Regards

RB

Former Member
0 Kudos

Hi Reagan,

I´m using the csh shell so I set the DISPLAY variable with the following command:

setenv DISPLAY sapsleora:0.0

or

setenv DISPLAY :0.0

or

setenv DISPLAY 192.168.183.133:0.0

But it returns with that error.

Kind regards,

samid raif

Reagan
Advisor
Advisor
0 Kudos

Try this

as root

xhost +

su - orasid

setenv DISPLAY hostname:1.0

xclock

Regards

RB

Former Member
0 Kudos

Hi Reagan,

It didn't work:

/root# xhost +

access control disabled, clients can connect from any host

/root# su - oras1o

sapsleora:oras1o 51> setenv DISPLAY sapsleora:1.0

sapsleora:oras1o 52> xclock

Error: Can't open display: sapsleora:1.0

sapsleora:oras1o 53>

Any tips?

regards,

samid raif

Reagan
Advisor
Advisor
0 Kudos

Hello Samid

Do you have have VNC Server installed on the server ?

If yes then start the VNC server and then connect using VNC Viewer

Regards

RB

Former Member
0 Kudos

Hi Reagan,

I don´t have VNC Server installed on the SLES server

I don´t know if this is related or not but the hosts file (/etc/hosts) has the following entries:


#

127.0.0.1    localhost

# special IPv6 addresses

::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

ff00::0         ipv6-mcastprefix

ff02::1         ipv6-allnodes

ff02::2         ipv6-allrouters

ff02::3         ipv6-allhosts

192.168.183.133 sapsleora

Any problem here?

Kind regards,

samid raif

Former Member
0 Kudos

Hi Samid,

Can you please hast # entry 127.0.0.1 and try

Regards,

Deepanshu Sharma

Former Member
0 Kudos

Hello Deepanshu Sharma,

And then? I set the DISPLAY variable with ora<sid> user as what?

setenv DISPLAY :0.0 !?

Kind regards,

samid raif