[CentOS] How to export X displays

Wed Oct 10 13:11:48 UTC 2007
Bent Terp <bent at nagstrup.dk>

On 10/10/07, techlists at comcast.net <techlists at comcast.net> wrote:
> I have a CentOS server at home and want to view the X display on a laptop running Ubuntu, and not having much success.
>
> Here's what's been tried so far:
>
> I ran this command on the CentOS server:
>
> export DISPLAY=192.168.0.18:0.0
>
>
> And ran this command on the Ubuntu laptop:
>
> xauth +192.168.0.2
>
>
> When I try to run, say, xclock on the Ubuntu laptop, this is the error message I'm getting:
>
> [root at centos-ws ~]# xclock
> Error: Can't open display: 192.168.0.18:0.0
>
> I'm assuming there's an important little detail I'm missing somewhere, but don't know what.
>
> Any suggestions?

I often run into this when I forget to install xorg-x11-xauth on the
server. I'd suggest you check that with 'rpmquery xorg-x11-xauth' and
otherwise install it, then try a new ssh -Y login

regards,
  Bent

>
> Paul
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>