From owner-freebsd-questions@FreeBSD.ORG Wed Jul 3 13:17:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5D29A11D for ; Wed, 3 Jul 2013 13:17:37 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog118.obsmtp.com (eu1sys200aog118.obsmtp.com [207.126.144.145]) by mx1.freebsd.org (Postfix) with ESMTP id A7E2A1C0B for ; Wed, 3 Jul 2013 13:17:36 +0000 (UTC) Received: from mail-ea0-f182.google.com ([209.85.215.182]) (using TLSv1) by eu1sys200aob118.postini.com ([207.126.147.11]) with SMTP ID DSNKUdQkaqjZdvX8OKX40aukdw77nLsFHfN1@postini.com; Wed, 03 Jul 2013 13:17:36 UTC Received: by mail-ea0-f182.google.com with SMTP id d10so73530eaj.41 for ; Wed, 03 Jul 2013 06:17:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:message-id:to:subject:cc:reply-to:in-reply-to :x-gm-message-state; bh=iocYGdxlBialOUYDJ1pbX2azsNcRQGXm927uRUadexc=; b=JOGMpazOPofhGGvJnC3PS9Bj6VUH/Twzx2up/dJYPvQ7SASS0XR7yF04C8moO5PTfO zkuKYftLmW6d6/vcK1RjB61GSFDlItP/Hqe+WDWiCYzFNiRAA4TEMBhhKBSeSfNNssNh gwTzTiudy3z/oVEvk72Y49UeEbt7yY/xfD1j789M3UG3euQwhxsHVc6Q50LgoSJgeC/Z WIvYoCsPI2kPijyoJpGiLEyDOlLCIeikGBTi82YEDNBhWAHhEYZ7lAFnUjkQqB9fJeS+ lN4TCO/nuT3aKjkIJYRIIttpBmRmNrBKdzTW9YhTH6zco185JoUKl7TKvvDZmxhkxDN9 EuMQ== X-Received: by 10.14.95.135 with SMTP id p7mr1178487eef.16.1372857449855; Wed, 03 Jul 2013 06:17:29 -0700 (PDT) X-Received: by 10.14.95.135 with SMTP id p7mr1178482eef.16.1372857449762; Wed, 03 Jul 2013 06:17:29 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id ci50sm44174384eeb.12.2013.07.03.06.17.27 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Jul 2013 06:17:28 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r63DHQk3034337 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 3 Jul 2013 14:17:26 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r63DHQqR034336; Wed, 3 Jul 2013 14:17:26 +0100 (BST) (envelope-from mexas) Date: Wed, 3 Jul 2013 14:17:26 +0100 (BST) From: Anton Shterenlikht Message-Id: <201307031317.r63DHQqR034336@mech-cluster241.men.bris.ac.uk> To: mexas@bristol.ac.uk, olivier2553@gmail.com Subject: Re: X client without X server In-Reply-To: X-Gm-Message-State: ALoCoQmNtXff5B6F4ryEpolfeqYb0SrJjIaP5mq5yP+HM0qbO2FjKBAAyhPg5DlQBwz4oD4xKe4S6VL1JwN9uXQr6NO3uJfOksQ2m40YX3EzB0F6lju/UqEnfye/bBVzSLnnj53lHD7BOpKeemjnkTMzXv7n2OKHL2iy1HgMqPt1ybbsrU8oGc9zTIZVpnly+Fbs9DeXX6WM Cc: on@cs.ait.ac.th, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2013 13:17:37 -0000 From olivier2553@gmail.com Wed Jul 3 13:09:25 2013 Anton, On Wed, Jul 3, 2013 at 5:47 PM, Anton Shterenlikht wrote: > Date: Wed, 3 Jul 2013 10:55:48 +0700 (ICT) > From: Olivier Nicole > To: freebsd-questions@freebsd.org > Subject: X client without X server > > Hi, > > Is there a way to install an X client without automatically install an > X server? > > On all my systems, I throw xterm and emacs, as the primary tools I use > for management, but the display is always remote, I never, ever, run X > on the machine, but still it install X server, fonts and a lot of > useless junk like xcalc. > > Is there a way to install xterm and only the libraries that are needed > to run xterm? > > TIA, > > Olivier > > I've been doing this for years. > What's the problem? > > Just install xterm, or whatever you need. > All the necessary libs will be pulled in, e.g.: > > $ pkg info -xd xterm > xterm-293: > xproto-7.0.24 > xextproto-7.2.1 > renderproto-0.11.1 > printproto-1.0.5 > libxcb-1.9.1 > libXrender-0.9.8 > libXpm-3.5.10 > libXp-1.0.2,1 > libXext-1.3.2,1 > libXdmcp-1.1.1 > libXau-1.0.8 > libX11-1.6.0,1 > libSM-1.2.1,1 > libICE-1.0.8,1 > kbproto-1.0.6 > libXt-1.1.4,1 > libXmu-1.1.1,1 > libXaw-1.0.11,2 > libXft-2.3.1 > fontconfig-2.9.0,1 > expat-2.0.1_2 > freetype2-2.4.12_1 > pkgconf-0.9.2_1 > pcre-8.33 > libpthread-stubs-0.3_3 > > Obviously xterm does not depend on xorg-server. But for some reason, xorg-server gets installed too. And tons of fonts, and ... It could be emacs, or cvsup, these are the 3 X Window clients I install. I don't use emacs, but you can quickly check, prior to installing, what other ports will be required, e.g. do make -C /usr/ports/ search name=emacs-24 You might be familiar with this already, but if not, the B-deps are those ports which are required to build your port, and R-deps are required to run your port. For emacs-24, both the default and the devel branches, you see that they depend on xorg-fonts-truetype-7.7_1 and lots of other libs, but not on xorg-server. net/cvsup has a lot fewer dependencies, again no xorg-server. In general X server is only required by the ports running on the graphical side - screen, mouse, kbd, etc., e.g.: $ pkg info -xr xorg-server xorg-server-1.7.7_8,1: xf86-input-keyboard-1.7.0 xf86-input-mouse-1.9.0 xf86-video-vesa-2.3.2 nvidia-driver-310.44_1 $ So I'd say something is wrong with your installation if xorg-server is being pulled in when you build emacs, xterm or cvsup. Post the output from "pkg info -aq". Maybe this will give us a hint. Anton