for a new project at work i start searching for a minimal xorg conf, i must install a embedded system with a touchscreen interface for the base installation i keep the minimal packets size
apt-get install –no-install-recommends xinit xserver-xorg-video-intel xserver-xorg-input-synaptics xserver-xorg-input-kbd xserver-xorg-input-mouse xfonts-base xterm
I also added xterm, but apart from that it’s the same. That installs my video driver, a base X server and some input devices. And all without twenty unneeded video drivers.
Apologies if this was a really obvious thing to post, but it has had me confused for a long time.
– – – – –
EDIT: After the above, Xorg functions but a number of errors are displayed on the tty after startx.
(EE) AIGLX error: dlopen of /usr/lib/dri/i915_dri.so failed (/usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering
(EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
(EE) GLX: could not load software renderer
This is fixed by installing one more package, namely libgl1-mesa-dri. Install that and the error goes away.
apt-get install libgl1-mesa-dri
The package was found using apt-file after reading this mailing list post:
apt-file search /usr/lib/dri/swrast_dri.so
apt-file search /usr/lib/dri/i915_dri.so
It turned out that both files were owned by the aforementioned package.