Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Question about 'Can't open display: localhost:0.0' RHEL5
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-lReceived on Mon Aug 20 2007 - 10:07:29 CDT
![]() |
![]() |