[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Building Xorg using Linux from Scratch [WAS Re: Can the latest stable Debian be compelled to run in vesa mode, rather than the motherboard graphics card, if the said card doesn't have drivers available? How?]



On Mon, Apr 19, 2021 at 09:40:54AM +0530, Susmita/Rajib wrote:
> Would the setps as described in the following link be necessary?
> http://www.linuxfromscratch.org/blfs/view/svn/x/xorg-server.html
> 
> -----------------------------------------------------------------------
> Installation of Xorg Server
> 
> Install the server by running the following commands:
> 
> ./configure $XORG_CONFIG            \
>             --enable-glamor         \
>             --enable-suid-wrapper   \
>             --with-xkb-output=/var/lib/xkb &&
> make
> 
> To test the results, issue: make check. You will need to run ldconfig
> as the root user first or some tests may fail.
> 
> Now as the root user:
> 
> make install &&
> mkdir -pv /etc/X11/xorg.conf.d &&
> cat >> /etc/sysconfig/createfiles << "EOF"
> /tmp/.ICE-unix dir 1777 root root
> /tmp/.X11-unix dir 1777 root root
> EOF
> 
> Command Explanations
> 
> --enable-glamor: Build the Glamor DIX (Device Independent X) module
> which is currently used by: R600 or later radeon video chipsets, the
> modesetting driver (which is part of this package) for hardware using
> KMS which offers acceleration, and (optionally) the intel driver.
> 
> --enable-suid-wrapper: Builds the suid-root wrapper for legacy driver
> support on rootless xserver systems.
> 
> --disable-systemd-logind: This switch disables elogind integration
> allowing Xorg Server to work without having the PAM module configured.
> 
> --enable-install-setuid: This switch restores the setuid bit to the
> Xorg executable allowing Xorg Server to work with a virtual terminal
> designated on the startx command line.
> 
> cat >> /etc/sysconfig/createfiles...: This command creates the
> /tmp/.ICE-unix and /tmp/.X11-unix directories at startup, and ensures
> that the permissions and ownership are correct as required by the
> server.
> 
> --enable-dmx: Builds the DMX (Distributed Multihead X) server.
> 
> --enable-kdrive: This option allows the configure script to enable
> Xephyr if its dependencies are met.
> -----------------------------------------------------------------------
> 
> Best,
> Rajib
> 

Hi Rajib,

Under NO ACCOUNT do this. Mixing LFS instructions and Debian is a recipe
for a disaster. As Felix Miata has said elsewhere: either the Nouveau
drivers or, exceptionally, Nvidia drivers built the Debian way should 
work for you.

All the best,

Andy C.


Reply to: