Re: Question about "Can't open display: localhost:0.0" RHEL5

  • From: "Yongping Yao" <yaoyongping@xxxxxxxxx>
  • To: "edwin devadanam" <edwin_kodamala@xxxxxxxxx>, oracle-l <oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 20 Aug 2007 23:01:18 +0800

Yes, I tried xhost +hostname. It didn't help.
Now I solved this problem. But I cannot understand it :(
My installation now hangs on 33% :(

On 8/20/07, edwin devadanam <edwin_kodamala@xxxxxxxxx> wrote:
>
> Did u try this xhost +hostname(or) ip_of_server ?
>
> -Edwin.K
>
> *Yongping Yao <yaoyongping@xxxxxxxxx>* wrote:
>
> I'm trying to install Oracle 11g on RHEL5. But after I add user  oracle,
> it cannot log in XWindow. I can log in as root.
> I tried "xhost +" or "xhost +si:localuser:oracle", but it seems like:
>
> [root@ern pam.d]# xhost +
> access control disabled, clients can connect from any host
> [root@ern pam.d]# xhost
> access control disabled, clients can connect from any host
> INET:ern
> SI:localuser:root
> [root@ern pam.d]# su - oracle
> [oracle@ern ~]$ xclock
> Error: Can't open display: localhost:0.0
> [oracle@ern ~]$
>
> And after restarting the machine, it didn't work either.
> I stopped SELinux through GUI tools. Can anyone help me out?
> Thanks in advance.
>
> --
> Yao Yongping
> Learning Oracle, UNIX/Linux...
> Love Reading, Classical Music, Philosophy, Economics etc.
> Blog:  http://spaces.msn.com/yaoyp/
>
>
> ------------------------------
> Building a website is a piece of cake.
> Yahoo! Small Business gives you all the tools to get 
> online.<http://us.rd.yahoo.com/evt=48251/*http://smallbusiness.yahoo.com/webhosting/?p=PASSPORTPLUS>
>
>


-- 
Yao Yongping
Learning Oracle, UNIX/Linux...
Love Reading, Classical Music, Philosophy, Economics etc.
Blog:  http://spaces.msn.com/yaoyp/

Other related posts: