Date: Wed, 3 Jul 2013 08:26:09 -0700 (PDT) From: Bill Tillman <btillman99@yahoo.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: X client without X server Message-ID: <1372865169.34030.YahooMailNeo@web165004.mail.bf1.yahoo.com> In-Reply-To: <201307031317.r63DHQqR034336@mech-cluster241.men.bris.ac.uk> References: <CA%2Bg%2BBvggCPtF-AMSc_PanaPtBAD2K_TRDgQzdtTrbd-M43QLKw@mail.gmail.com> <201307031317.r63DHQqR034336@mech-cluster241.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
=0A=0A=0A=0A________________________________=0A From: Anton Shterenlikht <m= exas@bris.ac.uk>=0ATo: mexas@bristol.ac.uk; olivier2553@gmail.com =0ACc: on= @cs.ait.ac.th; freebsd-questions@freebsd.org =0ASent: Wednesday, July 3, 20= 13 9:17 AM=0ASubject: Re: X client without X server=0A =0A=0A=A0=A0=A0 From= olivier2553@gmail.com Wed Jul=A0 3 13:09:25 2013=0A=0A=A0=A0=A0 Anton,=0A= =0A=A0=A0=A0 On Wed, Jul 3, 2013 at 5:47 PM, Anton Shterenlikht <mexas@bris= .ac.uk> wrote:=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 Date: Wed, 3 Jul 2013 10:55:48= +0700 (ICT)=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 From: Olivier Nicole <Olivier.Ni= cole@cs.ait.ac.th>=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 To: freebsd-questions@free= bsd.org=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 Subject: X client without X server=0A= =A0=A0=A0 >=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 Hi,=0A=A0=A0=A0 >=0A=A0=A0=A0 >= =A0 =A0 =A0 =A0 Is there a way to install an X client without automaticall= y install an=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 X server?=0A=A0=A0=A0 >=0A=A0=A0= =A0 >=A0 =A0 =A0 =A0 On all my systems, I throw xterm and emacs, as the pr= imary tools I use=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 for management, but the dis= play is always remote, I never, ever, run X=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 o= n the machine, but still it install X server, fonts and a lot of=0A=A0=A0= =A0 >=A0 =A0 =A0 =A0 useless junk like xcalc.=0A=A0=A0=A0 >=0A=A0=A0=A0 >= =A0 =A0 =A0 =A0 Is there a way to install xterm and only the libraries tha= t are needed=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 to run xterm?=0A=A0=A0=A0 >=0A= =A0=A0=A0 >=A0 =A0 =A0 =A0 TIA,=0A=A0=A0=A0 >=0A=A0=A0=A0 >=A0 =A0 =A0 =A0= Olivier=0A=A0=A0=A0 >=0A=A0=A0=A0 > I've been doing this for years.=0A=A0= =A0=A0 > What's the problem?=0A=A0=A0=A0 >=0A=A0=A0=A0 > Just install xterm= , or whatever you need.=0A=A0=A0=A0 > All the necessary libs will be pulled= in, e.g.:=0A=A0=A0=A0 >=0A=A0=A0=A0 > $ pkg info -xd xterm=0A=A0=A0=A0 > x= term-293:=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 xproto-7.0.24=0A=A0=A0=A0 >=A0 =A0 = =A0 =A0 xextproto-7.2.1=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 renderproto-0.11.1= =0A=A0=A0=A0 >=A0 =A0 =A0 =A0 printproto-1.0.5=0A=A0=A0=A0 >=A0 =A0 =A0 = =A0 libxcb-1.9.1=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 libXrender-0.9.8=0A=A0=A0= =A0 >=A0 =A0 =A0 =A0 libXpm-3.5.10=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 libXp-1.0= .2,1=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 libXext-1.3.2,1=0A=A0=A0=A0 >=A0 =A0 =A0= =A0 libXdmcp-1.1.1=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 libXau-1.0.8=0A=A0=A0=A0= >=A0 =A0 =A0 =A0 libX11-1.6.0,1=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 libSM-1.2.1= ,1=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 libICE-1.0.8,1=0A=A0=A0=A0 >=A0 =A0 =A0 = =A0 kbproto-1.0.6=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 libXt-1.1.4,1=0A=A0=A0=A0 = >=A0 =A0 =A0 =A0 libXmu-1.1.1,1=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 libXaw-1.0.1= 1,2=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 libXft-2.3.1=0A=A0=A0=A0 >=A0 =A0 =A0 =A0= fontconfig-2.9.0,1=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 expat-2.0.1_2=0A=A0=A0= =A0 >=A0 =A0 =A0 =A0 freetype2-2.4.12_1=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 pkgc= onf-0.9.2_1=0A=A0=A0=A0 >=A0 =A0 =A0 =A0 pcre-8.33=0A=A0=A0=A0 >=A0 =A0 = =A0 =A0 libpthread-stubs-0.3_3=0A=A0=A0=A0 >=0A=A0=A0=A0 > Obviously xterm= does not depend on xorg-server.=0A=0A=A0=A0=A0 But for some reason, xorg-s= erver gets installed too. And tons of fonts, and ...=0A=0A=A0=A0=A0 It coul= d be emacs, or cvsup, these are the 3 X Window clients I install.=0A=0AI do= n't use emacs, but you can quickly check,=0Aprior to installing, what other= ports will be=0Arequired, e.g. do=0A=0Amake -C /usr/ports/ search name=3De= macs-24=0A=0AYou might be familiar with this already, but=0Aif not, the B-d= eps are those ports which=0Aare required to build your port, and R-deps=0Aa= re required to run your port. For emacs-24,=0Aboth the default and the deve= l branches, you=0Asee that they depend on xorg-fonts-truetype-7.7_1=0Aand l= ots of other libs, but not on xorg-server.=0Anet/cvsup has a lot fewer depe= ndencies, again=0Ano xorg-server.=0A=0AIn general X server is only required= by the ports=0Arunning on the graphical side - screen, mouse, kbd, etc.,= =0Ae.g.:=0A=0A$ pkg info -xr xorg-server=0Axorg-server-1.7.7_8,1:=0A=A0 =A0= =A0 =A0 xf86-input-keyboard-1.7.0=0A=A0 =A0 =A0 =A0 xf86-input-mouse-1.9.0= =0A=A0 =A0 =A0 =A0 xf86-video-vesa-2.3.2=0A=A0 =A0 =A0 =A0 nvidia-driver-31= 0.44_1=0A$=0A=0ASo I'd say something is wrong with your installation=0Aif x= org-server is being pulled in when you build=0Aemacs, xterm or cvsup.=0A=0A= Post the output from "pkg info -aq".=0AMaybe this will give us a hint.=0A= =0AAnton=0A=0A_______________________________________________=0Afreebsd-que= stions@freebsd.org mailing list=0Ahttp://lists.freebsd.org/mailman/listinfo= /freebsd-questions=0ATo unsubscribe, send any mail to "freebsd-questions-un= subscribe@freebsd.org"=0A=0AJust my 2=A2 worth on this. Sure, one always wa= nts to keep overhead low. But the days of limited RAM, small hard drives, e= tc...are long since behind us. I remember in 1994 when and IT consultant ca= me in and built a Novell server for us with a whopping 1 GB hard drive. And= back then how we thought with a 1 GB hard drive we'd never run out of spac= e. Well these days one could easily run out of space with such a small hard= drive. But with today's systems having 2 or 3 TB drives and GB's of RAM, s= omething as trivial as X-Server should not be a problem. If you don't need = it, don't run it. But to worry about the space it takes up is kind of a moo= t point these days. And like some of the other replies mentioned, xterm may= not require it, but one of xterm's dependencies may. I run Asterisk routin= ely on my systems and I'm always amazed at how installing one port requires= no less than 38 other ports to be installed as well.=0A From owner-freebsd-questions@FreeBSD.ORG Wed Jul 3 15:52:39 2013 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> 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 EEA2A4B0 for <freebsd-questions@freebsd.org>; Wed, 3 Jul 2013 15:52:39 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id BEFCC1483 for <freebsd-questions@freebsd.org>; Wed, 3 Jul 2013 15:52:39 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa03.fnfis.com (8.14.5/8.14.5) with ESMTP id r63FqMAw010138 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 3 Jul 2013 10:52:22 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT06.FNFIS.com ([10.132.206.17]) with mapi id 14.02.0309.002; Wed, 3 Jul 2013 10:52:22 -0500 From: "Teske, Devin" <Devin.Teske@fisglobal.com> To: Olivier Nicole <Olivier.Nicole@cs.ait.ac.th> Subject: Re: X client without X server Thread-Topic: X client without X server Thread-Index: AQHOd6E+FEQAEmM5NE+9WXzzFp1ICZlTbysA Date: Wed, 3 Jul 2013 15:52:21 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201FADBD3@ltcfiswmsgmb21> References: <201307030355.r633tmGL019936@banyan.cs.ait.ac.th> In-Reply-To: <201307030355.r633tmGL019936@banyan.cs.ait.ac.th> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] Content-Type: text/plain; charset="us-ascii" Content-ID: <B922253D68E0A84493B3E484E9B59D59@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-07-03_09:2013-07-03,2013-07-03,1970-01-01 signatures=0 Cc: FreeBSD Questions <freebsd-questions@freebsd.org> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske <dteske@freebsd.org> List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Wed, 03 Jul 2013 15:52:40 -0000 On Jul 2, 2013, at 8:55 PM, Olivier Nicole wrote: > Hi, >=20 > Is there a way to install an X client without automatically install an > X server? >=20 > 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. >=20 If you never run emacs in X11 mode, but instead run emacs within the XTerm,= might I suggest that you look into the "emacs-nox11" package (/usr/ports/e= ditors/emacs-nox11). This should cut down on the number of dependencies significantly, but if yo= u run emacs directly as an X11 program, then "emacs-nox11" will not provide= that functionality -- so this suggestion is [again] only helpful if you're= used to just running emacs in the XTerm. On the vim side of things, I tend to shoot for "vim-lite" instead of "vim".= Same reason, fewer dependencies. > Is there a way to install xterm and only the libraries that are needed > to run xterm? >=20 You could always go the binary package route. force-install the binary package, then do an "ldd" on xterm to find out wha= t's missing. Then compare what's missing to the packing-list's @pkgdep entr= ies (/var/db/pkg/xterm*/+CONTENTS for non-pkgng systems; for pkgng systems,= [guessing] pkg info -dx xterm) --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1372865169.34030.YahooMailNeo>