Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Question about 'Can't open display: localhost:0.0' RHEL5

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

From: Rich Jesse <rjoralist_at_society.servebeer.com>
Date: Mon, 20 Aug 2007 10:07:29 -0500 (CDT)
Message-ID: <15841.12.17.117.251.1187622449.squirrel@12.17.117.251>


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_at_gmail.com> wrote:
>
> Hi Yao. Looks like you missed the export DISPLAY command....
>
>> [root_at_ern pam.d]# xhost +
>> access control disabled, clients can connect from any host
>> [root_at_ern pam.d]# xhost
>> access control disabled, clients can connect from any host
>> INET:ern
>> SI:localuser:root
>> [root_at_ern pam.d]# su - oracle
>
> [oracle_at_em ~]$ export DISPLAY=":0.0"
>
>> [oracle_at_ern ~]$ xclock
>> Error: Can't open display: localhost:0.0
>> [oracle_at_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.

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Aug 20 2007 - 10:07:29 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US