LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot connect to X11 window server using ":).0" as DISPLAY variable (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-connect-to-x11-window-server-using-0-as-display-variable-324672/)

cclack 05-18-2005 09:30 AM

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

bathory 05-18-2005 10:08 AM

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.

cclack 05-18-2005 10:31 AM

Hi,

thanks for the quick reply - that's worked now (i didn't even know there was an xterm command before!)

Cheers

CentOSUser 09-06-2007 09:30 PM

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!!!

AlucardZero 09-06-2007 09:32 PM

Quote:

Originally Posted by CentOSUser (Post 2883948)
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!!!


Post your own topic and don't bump two-year old questions.


All times are GMT -5. The time now is 07:59 PM.