From owner-freebsd-questions@FreeBSD.ORG Mon Jan 1 13:19:07 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5AB1916A407 for ; Mon, 1 Jan 2007 13:19:07 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 33D4C13C45B for ; Mon, 1 Jan 2007 13:19:07 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 1211 invoked from network); 1 Jan 2007 13:19:06 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 1 Jan 2007 13:19:06 -0000 Received: from Lowell-Desk.localdomain (Lowell-Desk.lan [172.30.250.10]) by be-well.ilk.org (Postfix) with ESMTP id 139352842E; Mon, 1 Jan 2007 08:19:03 -0500 (EST) Received: by Lowell-Desk.localdomain (Postfix, from userid 1147) id 14F981D095; Mon, 1 Jan 2007 08:19:02 -0500 (EST) To: "Christian Walther" References: <14989d6e0612290311o6174782i9587286860bd177@mail.gmail.com> From: Lowell Gilbert Date: Mon, 01 Jan 2007 08:19:02 -0500 In-Reply-To: <14989d6e0612290311o6174782i9587286860bd177@mail.gmail.com> (Christian Walther's message of "Fri, 29 Dec 2006 12:11:02 +0100") Message-ID: <44ejqec2bd.fsf@Lowell-Desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: Unable to connect to remote X server using X -query X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jan 2007 13:19:07 -0000 "Christian Walther" writes: > I'm on > > $ uname -a > FreeBSD pixie.alashan.dyndns.org 6.1-RELEASE-p10 FreeBSD > 6.1-RELEASE-p10 #1: Thu Nov 16 17:15:03 CET 2006 > root@pixie.alashan.dyndns.org:/usr/obj/usr/src/sys/PIXIE i386 > > running > > $ pkg_info|grep ^xorg-server > xorg-server-6.9.0_5 X.Org X server and related programs > > I set up two of my machines in my network to allow remote logins via > xdm and gdm. Both are Linux machines, one is a current Ubuntu release > running gdm, the other one a decent Debian/testing running xdm. I'd > like to connect to both machines using the command > > $ X -query -fp tcp/:7100 > > The X-Server starts, but it justs sits there, displaying the default > background. After a certain period of time the server is restarted, > without any error message on the console or in /var/log/Xorg.0.log > I checked the xdm/gdm configuration a couple of times, but I can use > any other none FreeBSD-host in my network to successfully connect to > the Display Manager on both machines. I even checked this with a > NetBSD machine. > I browsed through the manual and the FAQs, but I didn't find any > section that gave me a clue of what is going on. There is no Firewall > configured on my FreeBSD machine, and there is no security level set: > > # sysctl -h kern.securelevel > kern.securelevel: -1 > > X runs just fine when being executed locally, either via startx or via > /etc/ttys using xdm. > > Did I miss something? Hmm. It looks okay so far, but I haven't used this kind of environment in years (so take that with a grain of salt). I would try debugging through the init file (.xinitrc, if the user has one) -- perhaps putting some checkpoints in that script which will write out to local files. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/