From owner-freebsd-questions@FreeBSD.ORG Mon Jul 7 13:26:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 542B0106567D for ; Mon, 7 Jul 2008 13:26:29 +0000 (UTC) (envelope-from freebsd@troback.com) Received: from mail.gelita.se (212-162-182-244.skbbip.com [212.162.182.244]) by mx1.freebsd.org (Postfix) with ESMTP id D3D7B8FC0A for ; Mon, 7 Jul 2008 13:26:28 +0000 (UTC) (envelope-from freebsd@troback.com) Received: from itpc02.gelita.swe (212-162-182-242.skbbip.com [212.162.182.242]) by mail.gelita.se (Postfix) with ESMTP id 6B6BA10F90B; Mon, 7 Jul 2008 15:26:17 +0200 (CEST) Date: Mon, 7 Jul 2008 15:27:30 +0200 From: Anders Troback To: Anton Shterenlikht Message-ID: <20080707152730.2ade42be@itpc02.gelita.swe> In-Reply-To: <20080707101711.GA49425@mech-cluster238.men.bris.ac.uk> References: <20080706103842.GA52114@mech-cluster238.men.bris.ac.uk> <20080706141636.02d15667@baal.troback.com> <20080706152408.GA38234@mech-cluster238.men.bris.ac.uk> <20080706200524.4b626fc8@baal.troback.com> <20080707101711.GA49425@mech-cluster238.men.bris.ac.uk> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable MailScanner-NULL-Check: 1216041979.1255@zjP6yfJOfbGxFgl5hk4A7Q X-Troback-MailScanner-Information: Please contact postmaster@troback.com for more information X-Troback-MailScanner: Found to be clean X-Troback-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 3.2, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-Troback-MailScanner-From: freebsd@troback.com X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: minimum xorg install for clients side X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2008 13:26:29 -0000 On Mon, 7 Jul 2008 11:17:11 +0100 Anton Shterenlikht wrote: > On Sun, Jul 06, 2008 at 08:05:24PM +0200, Anders Trob??ck wrote: > > On Sun, 6 Jul 2008 16:24:08 +0100 > > Anton Shterenlikht wrote: > >=20 > > > On Sun, Jul 06, 2008 at 02:16:36PM +0200, Anders Trob??ck wrote: > > > >=20 > > > > If you want to have a remote GUI logon with XDMCP install XDM, > > > > GDM or KDM then you can start X with the -query parameter! > > > >=20 > > > > If this wasn't what you where asking please ask again:-) > > >=20 > > > sorry, I wasn't clear. > > >=20 > > > I have 2 FBSD boxes: a server with no graphics card (S) and a > > > laptop (L). I want to run X applications on S and see the results > > > on L. The applications I run on S are typically xpdf, gs, xfig, > > > display, firefox, etc. > > >=20 > > > While I could install ports/xorg on both boxes, this is probably > > > excessive. Since I won't run any xorg applications on L, I > > > probably don't need xorg-apps on L. Likewise, since I'm not > > > running xorg server on S, I probably don't need xorg-server on S. > > > This is my basic understanding of xorg server-clients model. Is > > > this logic correct? > > >=20 > > > However, I'm not sure on what box (S, L or both) I need: > > > xorg-libraries > > > xorg-fonts > > > xorg-drivers > > > xorg-protos > > >=20 > > > etc. > > >=20 > >=20 > > If you are after a real minimal installation with XDMCP you can do > > like this: > >=20 > > On S: > > x11/xdm > >=20 > > On L: > > x11-servers/xorg-server > > x11-drivers/xf86-input-keyboard > > x11-drivers/xf86-input-mouse > > x11-drivers/xf86-video-intel (or what ever card you have) > > x11-fonts/font-alias > > x11-fonts/font-cursor-misc > > x11-fonts/font-misc-misc > >=20 > > Configure X on L: > > X -configure > > X -config xorg.conf.new > > cp xorg.conf.new /etc/X11/xorg.conf > >=20 > > Configure XDM on S: > > Read http://www.freebsd.org/doc/en/books/handbook/x-xdm.html > >=20 > > Start XDM on S: > > xdm > > (if you want it to start after reboot look for a line about xdm > > (ttyv8) in /etc/ttys, change off to on) > >=20 > > Start X on L: > > X -query S >=20 > Anders thanks >=20 > I tried to follow your guidelines, but cannot see the login prompt > after X -query S. I also cannot see port 177 open on S, only: >=20 > 6000/tcp open X11 >=20 > Should 177/udp and /tcp be open on S? How to do this? >=20 > I've the following line in /etc/ttys: >=20 > ttyv8 "/usr/X11R6/bin/xdm -daemon" xterm on secure >=20 > and: >=20 > % ps ax|grep xdm > 38718 ?? Is 0:00.08 /usr/X11R6/bin/xdm -daemon ttyv8 > 44523 ?? Rs 0:17.61 /usr/local/bin/X :0 > -auth /usr/local/lib/X11/xdm/auth 44524 ?? Ss 0:08.04 xdm: :0 > (xdm) 45544 v4 RL+ 0:00.01 grep xdm > % >=20 > and I commented out this line in xdm-config=20 >=20 > !DisplayManager.requestPort: 0 >=20 > What am I missing? >=20 >=20 > many thanks > anton >=20 How does you /usr/local/lib/X11/xdm/Xaccess look? Try to put: LISTEN xxx.xxx.xxx.xxx where the xxx thing are the ip of S! --=20 Anders Trob=E4ck http://www.troback.com/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" --------------------------------------------