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

  • From: "Rich Jesse" <rjoralist@xxxxxxxxxxxxxxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Mon, 20 Aug 2007 10:07:29 -0500 (CDT)

Better yet, why not just login to the GUI as user "oracle" instead of
logging in as "root" and messing with the X security?  There's no need to
have a root GUI login -- it only needs command line access to complete the
install.

Rich

> On 8/20/07, Yongping Yao <yaoyongping@xxxxxxxxx> wrote:
>
> Hi Yao. Looks like you missed the export DISPLAY command....
>
>>  [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@em ~]$ export DISPLAY=":0.0"
>
>> [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.
>
> And yes, you need to do all of the above from the GUI mode.
>
> Regards,
> NMK.


--
//www.freelists.org/webpage/oracle-l


Other related posts: