Cannot connect to X11 window server using ":).0" as DISPLAY variable
Hi,
I'm totally new to Linux and only just installed RedHat Enterprise 4 on a machine today. I've got the basics set and i'm now trying to install Oracle 10g. I've been following the installation guide from the Oracle website -extracted the Oracle files from the download and set up the Oracle users etc but when i try and run the installer (logged on as the Oracle user) i get the message 'Can't connect to X11 windows server using ':0.0' as DISPLAY variable. I've tried changing the DISPLAY to localhost, localhost:0.0, ipaddress:0.0 and anything else i can think of but get the same error each time. I've tried running xhost +localhost under the root user (which most searches seem to bring up as a solution) but it doesn't seem to help. Any ideas would be great. Cheers |
From one xterm run "su oracle-user" then run "export DISPLAY=localhost:0.0"
From another xterm run: "xhost +" and then from the first xterm run the installer. |
Hi,
thanks for the quick reply - that's worked now (i didn't even know there was an xterm command before!) Cheers |
xhost +
when I try to run "xhost +" I am getting this err msg:
access control disabled, clients can connect from any hosts. I am new to linux; I am using CentOS 5.0. Please help!!! |
Quote:
Post your own topic and don't bump two-year old questions. |
All times are GMT -5. The time now is 06:57 PM. |