on 03-21-2014 9:35 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Obrigadinho pela sua atençâo desde Barcelona !!!
Muito Grande !!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How did you set the DISPLAY variable ?
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.