[clue-tech] how do I get gnome desktop to host x sessions from remote servers?

Charles Hutchinson chutchin at geekboi.org
Thu Oct 8 14:32:26 MDT 2009


Do you have "Deny TCP connections to Xserver" checked in the
Administration->Login Window tool?  This is the default and if I remember
correctly (fat chance) disables/enables TCP port 6000 for GDM.

Charlie

On Thu, Oct 8, 2009 at 12:29 PM, David Williams <dkwloki-clue at yahoo.com>wrote:

> Thanks Bruce,
>
> This seems reasonable but so far no luck.
>
> On the desktop I run the following:
>  davidw at atContact-ubuntu:~$ xhost +
>  access control disabled, clients can connect from any host
>  davidw at atContact-ubuntu:~$ xhost
>  access control disabled, clients can connect from any host
>  SI:localuser:davidw
>  davidw at atContact-ubuntu:~$
>
>
> On the server (the x-client side) I run:
>  [davidw at callisto davidw]$ export DISPLAY=192.168.1.133:0.0
>  [davidw at callisto davidw]$ echo $DISPLAY
>  192.168.1.133:0.0
>  [davidw at callisto davidw]$ xhost $DISPLAY
>  xhost:  unable to open display "192.168.1.133:0.0"
>  [davidw at callisto davidw]$ xterm
>  xterm Xt error: Can't open display: 192.168.1.133:0.0
>  [davidw at callisto davidw]$ /sbin/ifconfig eth0
>  eth0      Link encap:Ethernet  HWaddr 00:0C:76:16:D5:C5
>            inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:2883192 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:1730640 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:100
>            RX bytes:330867282 (315.5 Mb)  TX bytes:475892523 (453.8 Mb)
>            Base address:0xa400 Memory:e2000000-e2020000
>
>  [davidw at callisto davidw]$ sudo ping -c 2 -Ieth0 192.168.1.133
>  PING 192.168.1.133 (192.168.1.133) from 192.168.1.5 eth0: 56(84) bytes of
> data.
>  64 bytes from 192.168.1.133: icmp_seq=0 ttl=64 time=0.446 ms
>  64 bytes from 192.168.1.133: icmp_seq=1 ttl=64 time=0.372 ms
>
>  --- 192.168.1.133 ping statistics ---
>  2 packets transmitted, 2 received, 0% packet loss, time 1000ms
>  rtt min/avg/max/mdev = 0.372/0.409/0.446/0.037 ms, pipe 2
>
>
> So, I must be missing something.
> I don't think I have a NAT issue as things work fine when I reboot in
> Windows, and we are on the same subnet (client and server).
> Is there a firewall on Ubuntu?  If so how do I configure it and for what
> port?
>
> Thanks,
> -David
>
> --- On Thu, 10/8/09, Bruce Ediger <bediger at inlumineconsulting.com> wrote:
>
> > From: Bruce Ediger <bediger at inlumineconsulting.com>
> > Subject: Re: [clue-tech] how do I get gnome desktop to host x sessions
> from remote servers?
> > To: dkwloki-clue at yahoo.com, "CLUE technical discussion" <
> clue-tech at cluedenver.org>
> > Date: Thursday, October 8, 2009, 10:49 AM
> > On Thu, 8 Oct 2009, David Williams
> > wrote:
> >
> > > When I run an X using application on my server I get:
> > > Gtk-WARNING **: cannot open display:
> > >
> > > I have exported my DISPLAY variable and this works
> > fine for Windows but not Linux.
> >
> > The X server has to (a) listen for connections on well
> > known TCP port 6000,
> > and (b) allow those connections.
> >
> > If I understand correctly:
> >
> > 1. On Ubuntu box running X server:
> >     xhost +
> > That should allow all hosts to connect to X server
> >
> > 2. On some other box:
> >
> >     export DISPLAY=ubuntu_hostname;0.0
> >     xterm
> >
> > The xterm should show up on the Ubuntu boxes screen.
> >
> > Firewalls or NAT can get in the way, too.
> >
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech
>



-- 

Pablo Picasso<http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html>
- "Computers are useless. They can only give you answers."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue-tech/attachments/20091008/751f5265/attachment.html


More information about the clue-tech mailing list