xhost + problems

Erik Bågfors zindar at gmail.com
Thu May 12 12:23:02 UTC 2005

On 12 May 2005 14:08:17 +0200, Niels L. Ellegaard <gnalle at ruc.dk> wrote:
> Sam Tygier <samtygier at yahoo.co.uk> writes:
> > you haven't go a firewall set up on either machine have you?
> > can you run ethereal and see if the packets are getting stuck somewhere
> Thanks for all the answers. I spelled DISPLAY correctly, but I still
> have problems
> [lpc2~]$ setenv DISPLAY niels:0.0
> [lpc2~]$ gv
> (gv:26655): Gtk-WARNING **: cannot open display: niels:0.0
> I fired up etheral, but I don't really understand what I am getting.
> I am recieving packages that look like this
> Telnet Data
> 39365 > x11 [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=3143854209 TSER=0 WS=0
> I am sending packages that look like this
> 32941 > telnet [ACK] Seq=1 Ack=1 Win=1460 Len=0 TSV=10240824 TSER=3143853971
> x11 > 39365 [RST,ACK] seq=0 ack=0 win= 0 len=0
> I know that SSH is insecure, but as part of my job I have to use a
> programs on machines that do not have SSH installed (or no forwardx11
> set in the config file). Everything is happening on a well secured
> intranet, so I am not afraid.

ssh is not insecure... :)

Anyway, Have you removed the "nolisten tcp" flag?
ps -ef | grep X

I'm guessing it looks like this
/usr/X11R6/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7

if so... the X server does not listen to remove tcp connections. No
xhost + will ever solve that


More information about the ubuntu-users mailing list