Re: How to export X displays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



techlists@xxxxxxxxxxx wrote:
 -------------- Original message ----------------------
From: Ow Mun Heng <Ow.Mun.Heng@xxxxxxx>
n Wed, 2007-10-10 at 02:14 +0000, techlists@xxxxxxxxxxx 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
ssh -X -Y centos

xclock &

I tried that and am getting this error message. Just ran an nmap scan on 192.168.0.18 and the X server port doesn't appear to be open. How is that enabled?

connect 192.168.0.18 port 6000: Connection refused

its tunnneld from localhost via SSH

you don't mess with setting DISPLAY at all, the ssh -X session should do that for you, DISPLAY will be set to something like...

   $ echo $DISPLAY
   localhost:11.0

[where the :11 will be different for each ssh session]


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux