on 12-11-2007 3:21 PM
Dear Linux and SAP Expert:
I am facing a problem, I want to install Oracle 9i on SUSE Linux, I need to use ora<sid> to install it, but when I use xhost +, i am prompted "xhost +: unable to display"
I have already set the followings:
setenv DISPLAY <my hostname>:0.0
xclock is also unable to display.
What can I do???How can I solve this problem?
Really really thanks for your all reply
Hisashi Glay
Hi Glay,
Are you running "xhost +" with the root? You can't execute this with no-root user...
After doing it, su to orasid, export Display, and so on.
Best Regards,
JC Llanes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hisashi Glay,
You can try the following senario also if you are taking VNC over windows machine.
Install the vnc server package i.e vnc-server-x.x.x. and download the vnc client for windows i.e. UltraVNC Win32 Viewer 1.0.1.
After the above activity do the following configuration at server end.
run the command as a root or ora<SID>. Whose graphical login you required.
In our senarion we use ora<SID>.
run the command
vncserver
vncpasswd #This is to set the password for that vnc login
after run the vncserver change the following setting in xstartup file
cat ~/.vnc/xstartup
#!/bin/sh
Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x241010 -ls -title "$VNCDESKTOP Desktop" &
twm &
**************************
chage the below line as follows.
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
Afte this changes kill the vncserver once
vncserver -kill :1
than start the vnc server again.
vncserver
Everything is done now use the gui of that server from windows client machine
hostname:1 or IP Address:1
Hopefully this will resolve your problem
Thanks and Regards,
Kamal Kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hisashi,
i recommend you to use X Forwarding through SSH to your local linux.
Try: yourpc:# ssh -X ora<sid>@hostname.com
The X Protocoll will be tunneled through the ssh Session, which is more save.
Regards
Manuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.