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

  • From: "Nadeem M. Khan" <nadeem.m.khan@xxxxxxxxx>
  • To: yaoyongping@xxxxxxxxx
  • Date: Mon, 20 Aug 2007 20:06:29 +0530

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: