From owner-freebsd-questions Fri Dec 20 4:46:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CBAF37B405 for ; Fri, 20 Dec 2002 04:46:42 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 160C443ED8 for ; Fri, 20 Dec 2002 04:46:41 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gBKCkOQn091362 for ; Fri, 20 Dec 2002 12:46:24 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gBKCkJxg091361 for freebsd-questions@FreeBSD.ORG; Fri, 20 Dec 2002 12:46:19 GMT Date: Fri, 20 Dec 2002 12:46:19 +0000 From: Matthew Seaman To: freebsd-questions Subject: Re: Running X-clients on remote hosts. Message-ID: <20021220124619.GA90664@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions References: <20021219184204.I958-100000@aqua.lan.palfreman.com> <20021219224454.GA85773@happy-idiot-talk.infracaninophi> <20021220104417.GA1662@nagual.st> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021220104417.GA1662@nagual.st> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-3.3 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_02_03, TO_LOCALPART_EQ_REAL,USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Dec 20, 2002 at 11:44:17AM +0100, dick hoogendijk wrote: > > How to make X listen on the network depends on how you start the X > > server. If you use startx(1), then you just need to invoke it as: > > > > startx -listen_tcp > > Hmm, well, this definately does not work for me ;-/ So, what happens if you try and start X listening on the network? What version of XFree86 do you have installed? You need at least XFree86-clients-4.2.0_1 according to my reading of the CVS logs: http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11/XFree86-4-clients/Makefile?rev=1.96&content-type=text/x-cvsweb-markup It should be pretty obvious if your startx(1) understands the -listen_tcp flag just by reading the script. Of course, if it doesn't understand the -listen_tcp flag then it probably defaults to listening on the network anyhow. What does: netstat -an | grep '\.60[0-9][0-9]' or sockstat | grep ':60[0-9][0-9]' return? How about: ps -axwww | grep /usr/X11R6/bin/X You need for something to be listening at about port 6000+n (where n is zero or more, but usually less than 20) in order to have any hope of running X over the network. If X *is* listening for network connections, then I'd start looking at firewall rulesets or the like to discover what's blocking the traffic. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message