Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jan 2007 08:19:02 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Christian Walther" <cptsalek@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Unable to connect to remote X server using X -query
Message-ID:  <44ejqec2bd.fsf@Lowell-Desk.lan>
In-Reply-To: <14989d6e0612290311o6174782i9587286860bd177@mail.gmail.com> (Christian Walther's message of "Fri, 29 Dec 2006 12:11:02 %2B0100")
References:  <14989d6e0612290311o6174782i9587286860bd177@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Christian Walther" <cptsalek@gmail.com> 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 <ip> -fp tcp/<ip>: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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ejqec2bd.fsf>