PDA

View Full Version : Minimal install of Xorg - howto?


cpcnw
February 18th, 2009, 08:35
Hi All,

Are there any good step by step tutorials on how to do a minimal install of xorg on FreeBSD?

I just need the server, nv driver and some small apps like xterm and xcalc.

I have done the full build and am certain there is a ton of stuff I will never need as it takes ages and lots of space!

TIA!

SirDice
February 18th, 2009, 08:46
Not really a step by step but start with a full Xorg then one by one turn things off until it breaks.

kamikaze
February 18th, 2009, 10:59
Run make config-recursive on the xorg meta-port and turn everything off you do not need.

richardpl
February 18th, 2009, 13:19
/usr/ports/x11/xorg-minimal

tangram
February 18th, 2009, 19:05
/usr/ports/x11/xorg-minimal

Yep very minimal indeed: vesa driver, keyboard, mouse, fonts, xinit and xauth aside from the server of course.

DemoDoG
February 18th, 2009, 20:44
What else would one need from X except this?

tangram
February 18th, 2009, 23:21
I haven't installed by X using xorg-minimal, but I suppose nothing else would be needed.

Maybe you'd want to install some of the xapps like xcal, xterm, etc.

It's just a matter of installing it and run X -configure, etc.

SR_Ind
February 19th, 2009, 14:46
Yep very minimal indeed: vesa driver, keyboard, mouse, fonts, xinit and xauth aside from the server of course.
"xkbcomp" is missing from xorg-minimal. It is a required package.

nu2fbsd
April 1st, 2010, 14:14
Not really a step by step but start with a full Xorg then one by one turn things off until it breaks.

How to turn things off?

SirDice
April 1st, 2010, 14:17
How to turn things off?
Pkg_delete them.

MG
April 2nd, 2010, 10:14
x11-servers/xorg-server
x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-mouse
x11-drivers/xf86-video-????
x11-fonts/font-alias
x11-fonts/font-cursor-misc
x11-fonts/font-misc-misc

x11/xinit to use startx.

"xkbcomp" is missing from xorg-minimal. It is a required package.

Only if you use Gnome, I think:
pkg_info -R xkbcomp*

Information for xkbcomp-1.0.5:

Required by:
gnome-settings-daemon-2.26.0
libgnomekbd-2.26.0
libxklavier-3.9,1
totem-2.26.1

PhenomII
June 8th, 2010, 07:51
Greetings,
I just performed an x11/xorg-minimal, because I just got some new hardware, and wanted to
test the new Nvidia driver (a custom build/install of the Nvidia blob). I didn't need/want
everything. So after a:
# cd /usr/ports/x11/xorg-minimal
# make install clean

I checked to see if there was anything required to use X, or anything missing that I thought
I would want/need.
Turns out that most - if not all of the fonts Xorg(1) (https://ultimatedns.net/man/?query=Xorg) requires, in order to run are not installed. Easily fixed:
# cd /usr/ports/x11-fonts/
# make install clean

You will almost certainly want some of the common X applications. In the following, will be given the opportunity to pick-and-choose which apps get installed:
# cd /usr/ports/x11/xorg-apps/
# make
You'll be presented with a dialog that allows you to choose which X applications will get installed. When MAKE(1) (https://ultimatedns.net/man/?query=make)
completes, simply perform:
# make install clean
That's it! You should have everything you want/need - without all the things you don't. :)

HTH
Best wishes.

Beastie
June 8th, 2010, 13:18
@PhenomII: so in other words, you installed the full Xorg, minus ~30 tiny ports (< 2MB), a few extra video card drivers (< 900KB) and the documentation.

john_doe
June 9th, 2010, 08:41
x11-fonts/font-alias
x11-fonts/font-cursor-misc
x11-fonts/font-misc-miscThey're not really needed, built-ins are always included (http://cgit.freedesktop.org/xorg/xserver/commit/?id=49b93df).ls $LOCALBASE/lib/X11/fonts/**/*(#i).pcf*
zsh: no matches found: /usr/local/lib/X11/fonts/**/*(#i).pcf*I'm writing you from a machine that only has x11-fonts/dejavu installed.

Besides, for TTF fonts you don't have to set FontPath in xorg.conf or via xset(1) (http://man.freebsd.org/xset/1&manpath=FreeBSD+Ports). It just automagically works with default fontconfig files in conf.d directory.

ronnylov
November 26th, 2010, 13:18
If I only need to use an external X-server (using X forwarding with ssh -X) I have been told that there is no need to install the X server on the remote machine. But I need X11 on the remote machine? What does this mean, is none of these packages necessary then on the remote machine?

Let's say I install a GUI software and all of it's dependecies I can then just connect the X-server on my local machine and no need to install xorg on the remote machine?

SirDice
November 26th, 2010, 14:03
You don't need a full xorg installation or have it running on the remote machine. You do need several xorg libraries so it's usually just simpler to install xorg.

phoenix
November 26th, 2010, 17:12
Just install the X application on the remote server. It will only pull in the dependencies for the X client libraries.

On the local machine, you need to have a full X server running, in order to display the graphics from the remote app.