"Severauth.xxxx, no screens found." Trouble starting Xorg.

This is my first time using FreeBSD and I am trying to install Xorg. I've been following the tutorial from the docs and also
View: https://youtu.be/59w2UMZistg?si=WCDGfRFgBSOoZSd4
this tutorial on youtube. I'm running Freebsd through a QEMU virtual machine. However, every time I type startx I get xauth: file /root/.serverauth.2194 does not exist . The logs below are from /var/log/Xorg.0.log

Code:
X.Org X Server 1.21.1.14 
X Protocol Version 11, Revision 0
693.523] Current Operating System: FreeBSD daemonik 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2 n-269506-c8918d6c7412 GENERIC amd64
Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 19 08:20:43 2025 (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
Parse error on line 2 of section Device in file /usr/local/etc/X11/xorg.conf.d/20-intel.conf "Indentifier" is not a valid keyword in this section.
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
for help.
at http://wiki.x.org
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
root@freebsd:~# cd /root/
root@freebsd:~# Xorg -configure
X.Org X Server 1.21.1.14
X Protocol Version 11, Revision 0
Current Operating System: FreeBSD freebsd 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64 Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 19 08:21:27 2025 List of video drivers:
scfb
modesetting
vesa
scfb trace: probe start
(++) Using config file: "/root/xorg.conf.new"
(==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
Parse error on line 2 of section Device in file /usr/local/etc/X11/xorg.conf.d/20-intel.conf "Indentifier" is not a valid keyword in this section.
(EE) Server terminated with error (2). Closing log file.
xinit giving up
xinit unable to connect to X server: connection refused
xinit server error
So far I have tried
- running Xorg as root and as user
- downloading xf86-intel-video
- updating packages
- restarting system

I still don't know what the issue is :( No matter how I've fiddled with it, 'Severauth:2xxx' has a different error number each time, but the logs don't change. Any help or points in the right direction would be appreciated, thank you.
 
The typo is irrelevant, you're not going to be using the Intel or modesetting driver on a QEMU VM in any case.
 
Yeah, might need to move this to "Emulation and Virtualization" as this small, but important, detail is easily overlooked.

You may get Xorg to work if you can EUFI boot the VM, then use the scfb(4) framebuffer driver in X (it should pick this up automagically).
 
Isn't there a typo in the file? Indentifier should be Identifier, at least.
It's worth trying fix the typo fisrt before actually removing the file.
Fixed the typo and got a new error! How curious!
Code:
317.5231
X.Org X Server 1.21.1.14
X Protocol Version 11, Revision 0
[ 317.5231 Current Operating System: FreeBSD daemonik 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GE 317.5231
317.5231 Current version of pixman: 0.42.2
[
[
[
317.5231
[
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
317.5231 Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
317.523] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan 22 20:46:29 2025 317.533] (==) Using config file: "/etc/xorg.conf"
[
[
[
317.533] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 317.533] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d" 317.533] (==) ServerLayout "X.org Configured"
-->Screen "Screen0" (0)
-->Monitor "Monitor0"
-->Device "Card0"
-->GPUDevice "Card0"
[
[
317.533] (**)
[
317.533] (**) |
[
317.533] (**) |
[ 317.533] (**) |
[
317.533] (**)
-->Input Device "Mouse0"
[
317.533] (**)
[
[
-->Input Device "Keyboard0"
317.533] (**) Allowing byte-swapped clients 317.533] (==) Automatically adding devices
[
317.533] (==) Automatically enabling devices.
[
317.533] (==) Automatically adding GPU devices.
[
317.533] (==) Automatically binding GPU devices
[
317.533] (==) Max clients allowed: 256, resource mask: 0x1fffff
[
317.543] (**) FontPath set to:
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/,
catalogue:/usr/local/etc/X11/fontpath.d,
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/,
catalogue:/usr/local/etc/X11/fontpath.d
file "/var/log/Xorg.0.log", 100 lines
yeah i have no idea what's up with this. i still get "no screens found" so im gonna see if i can boot this as uefi like sirdice mentioned and if not ill go to virtualization if this is a VM thing.
 
This is my first time using FreeBSD
Welcome.

Disclaimer: I have zero experience with running FreeBSD inside QEMU.

Please follow SirDice's advice and don't just fix the typo but remove this line altogether. You're trying to use inside a VM a driver that's meant for use on real hardware, that won't work.

Actually you should remove all manual Xorg configuration and start from there. Remove all contents of /usr/local/etc/X11/xorg.conf.d/, also remove any /usr/local/etc/X11/xorg.conf and/or /etc/X11/xorg.conf you may have.

Make sure x11-drivers/xf86-video-scfb is installed.

x11-drivers/xf86-video-qxl and x11-drivers/xf86-video-vmware could also be relevant, I don't know what QEMU uses.

Then run startx. What happens?
 
I got another curious result when I did startx!
Code:
X.Org X Server 1.21.1.14
X Protocol Version 11, Revision 0
[2673.183] Current Operating System: FreeBSD daemonik 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64 [2673.183] [2673.183] Current version of pixman: 0.42.2
[2673.183] Before reporting problems, check http://wiki.x.org
[
to make sure that you have the latest version.
[2673. 1831 Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[2673.183] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 24 22:16:58 2025 2673.183] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 2673.183] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d" 2673.183] (==) ServerLayout "XSPICE Example'
2673.183] (**) -->Screen "XSPICE Screen" (0)
-->Monitor "Configured Monitor"
[
[
[
2673.183] (**) |
[
2673.183] (**) | -->Device "XSPICE"
[ 2673.183] (**)
[
2673.1831 (**)
-->Input Device "XSPICE POINTER"
[
-->Input Device "XSPICE KEYBOARD"
2673.183] (**) Option "AutoAddDevices" "False"
[ 2673.183] (**) Allowing byte-swapped clients 2673.183] (**) Not automatically adding devices
[
[
[
2673.183] (==) Automatically enabling devices
2673.183] (==) Automatically adding GPU devices
[ 2673.183] (==) Automatically binding GPU devices
[
2673.183] (==) Max clients allowed: 256, resource mask: 0x1fffff [2673.183] (==) FontPath set to:
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/,
catalogue:/usr/local/etc/X11/fontpath.d
[2673.183] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[2673.183] (==) |-->Input Device "<default pointer>"
[
2673.183] (==) |-->Input Device "<default keyboard>"
[2673.183] (==) The core pointer device wasn't specified explicitly in the layout. Using the default mouse configuration.
[2673. 183] (==) The core keyboard device wasn't specified explicitly in the layout. Using the default keyboard configuration.
[2673.183] (II) Module ABI versions:
file "/var/log/Xorg.0.log", 110 lines

I have an entirely different error now. I removed the physical hardware intel packages I installed, as well as all of my xorg configs (aside from xinit, however judging by the logs I don't think it's looking at this) and installed these new packages, then did startx, and I got this. The only thing in those "xorg" directories are the things I just installed. The only thing now that remains is the "serverauth (numbers)."
 
Back
Top