Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2024 03:24:22 -0500
From:      grarpamp <grarpamp@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Installing/running X11
Message-ID:  <CAD2Ti29eE=fTYzcqCjg0dtZm0fD%2BF5Hz8m72qvRd9_z8VCgT=Q@mail.gmail.com>
In-Reply-To: <20240203144851.d47zguvjtisjdsz4@yosemite.mars.lan>
References:  <20240203144851.d47zguvjtisjdsz4@yosemite.mars.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/3/24, Paul M Foster <paulf@quillandmouse.com> wrote:
> X won't start

https://docs.freebsd.org/en/books/handbook/x11/

Identify the GPU.
After the correct kernel module files for that are physically
installed on disk, the simplest functional configless X test is:

# from video group, or as root
Xorg &
# as unpriviledged user
xterm -display :0 &
# press through the alt-F[keys] and ctrl-alt-F[keys]
# till you find all the screens, then
twm -display :0 &
firefox --display=:0 &

Xorg can trigger autoload of the necessary modules,
kldstat before and after will show that.

Nothing else is needed for this test,
nor to test firefox and many other apps.

None of xdm, xfce, hald, or dbus are needed for this test.

Without the below, nobody will know what actual video
bits the box needs, so they can't say anything about
drm-kmod, xf86-video-intel, or i915kms.

If it doesn't work, you'll need to post...
- grep '^CPU' /var/run/dmesg.boot
- uname -vmpKU
- GPU part number
- pciconf -lv | egrep -B3 -A1 display
- dmesg -a  # sanitized
- kldstat
- output from Xorg
- /var/log/Xorg.0.log



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD2Ti29eE=fTYzcqCjg0dtZm0fD%2BF5Hz8m72qvRd9_z8VCgT=Q>