You are not logged in.
Hi guys,
I have successfully installed Arch as a guest VM in FreeNAS11, but it fails to start the GUI.
I've installed the xf86-video-fbdev driver and configured the xorg.conf accordingly.
The xorg.conf file is:
Section "Monitor"
Identifier "Monitor0"
EndSection
Section "Device"
Identifier "Device0"
Option "UseFBDev" "true"
Driver "fbdev"
# Driver "vesa"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
# Modes "1024x768_75.00"
EndSubSection
EndSectionThe error in the Xorg log the the following:
[ 6.811] (--) Log file renamed from "/var/log/Xorg.pid-704.log" to "/var/log/Xorg.0.log"
[ 6.812] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 6.813]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 6.813] Build Operating System: Linux Arch Linux
[ 6.813] Current Operating System: Linux archlinuxvm 5.6.4-arch1-1 #1 SMP PREEMPT Mon, 13 Apr 2020 12:21:19 +0000 x86_64
[ 6.813] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=0b29647a-81b9-43d4-acf7-43dc21bdc92c rw loglevel=3 quiet
[ 6.813] Build Date: 30 March 2020 05:05:45AM
[ 6.814]
[ 6.814] Current version of pixman: 0.38.4
[ 6.814] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 6.814] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 6.815] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 20 00:14:43 2020
[ 6.818] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 6.818] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 6.820] (==) No Layout section. Using the first Screen section.
[ 6.821] (**) |-->Screen "Screen0" (0)
[ 6.822] (**) | |-->Monitor "Monitor0"
[ 6.823] (==) No device specified for screen "Screen0".
Using the first device section listed.
[ 6.824] (**) | |-->Device "Device0"
[ 6.824] (==) Automatically adding devices
[ 6.824] (==) Automatically enabling devices
[ 6.824] (==) Automatically adding GPU devices
[ 6.824] (==) Automatically binding GPU devices
[ 6.824] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 6.826] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[ 6.826] Entry deleted from font path.
[ 6.826] (Run 'mkfontdir' on "/usr/share/fonts/misc").
[ 6.826] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 6.826] Entry deleted from font path.
[ 6.826] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 6.826] Entry deleted from font path.
[ 6.826] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 6.826] Entry deleted from font path.
[ 6.828] (==) FontPath set to:
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 6.828] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 6.828] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 6.828] (II) Module ABI versions:
[ 6.828] X.Org ANSI C Emulation: 0.4
[ 6.829] X.Org Video Driver: 24.1
[ 6.829] X.Org XInput driver : 24.1
[ 6.829] X.Org Server Extension : 10.0
[ 6.830] (++) using VT number 1
[ 6.833] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[ 6.836] (--) PCI:*(0@0:29:0) fb5d:40fb:0000:0000 rev 0, Mem @ 0xc0006000/128, 0xc1000000/16777216, BIOS @ 0x????????/131072
[ 6.836] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 6.836] (II) LoadModule: "glx"
[ 6.839] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 6.844] (II) Module glx: vendor="X.Org Foundation"
[ 6.844] compiled for 1.20.8, module version = 1.0.0
[ 6.844] ABI class: X.Org Server Extension, version 10.0
[ 6.844] (II) LoadModule: "fbdev"
[ 6.845] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 6.846] (II) Module fbdev: vendor="X.Org Foundation"
[ 6.846] compiled for 1.20.0, module version = 0.5.0
[ 6.846] Module class: X.Org Video Driver
[ 6.846] ABI class: X.Org Video Driver, version 24.0
[ 6.846] (II) FBDEV: driver for framebuffer: fbdev
[ 6.847] (II) Loading sub module "fbdevhw"
[ 6.847] (II) LoadModule: "fbdevhw"
[ 6.847] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 6.850] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 6.850] compiled for 1.20.8, module version = 0.0.2
[ 6.851] ABI class: X.Org Video Driver, version 24.1
[ 6.851] (EE) Unable to find a valid framebuffer device
[ 6.851] (WW) Falling back to old probe method for fbdev
[ 6.851] (II) Loading sub module "fbdevhw"
[ 6.851] (II) LoadModule: "fbdevhw"
[ 6.852] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 6.852] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 6.852] compiled for 1.20.8, module version = 0.0.2
[ 6.852] ABI class: X.Org Video Driver, version 24.1
[ 6.852] (II) FBDEV(1): using default device
[ 6.852] (EE) Screen 0 deleted because of no matching config section.
[ 6.852] (II) UnloadModule: "fbdev"
[ 6.853] (II) UnloadSubModule: "fbdevhw"
[ 6.853] (**) FBDEV(0): Depth 16, (--) framebuffer bpp 16
[ 6.853] (==) FBDEV(0): RGB weight 565
[ 6.853] (==) FBDEV(0): Default visual is TrueColor
[ 6.853] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 6.853] (II) FBDEV(0): hardware: EFI VGA (video memory: 3072kB)
[ 6.854] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[ 6.854] (II) FBDEV(0): checking modes against framebuffer device...
[ 6.854] (II) FBDEV(0): checking modes against monitor...
[ 6.854] (II) FBDEV(0): Virtual size is 1024x768 (pitch 1024)
[ 6.854] (**) FBDEV(0): Built-in mode "current": 78.7 MHz, 59.9 kHz, 75.7 Hz
[ 6.854] (II) FBDEV(0): Modeline "current"x0.0 78.65 1024 1056 1184 1312 768 772 776 792 -hsync -vsync -csync (59.9 kHz b)
[ 6.854] (==) FBDEV(0): DPI set to (96, 96)
[ 6.855] (II) Loading sub module "fb"
[ 6.855] (II) LoadModule: "fb"
[ 6.855] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 6.856] (II) Module fb: vendor="X.Org Foundation"
[ 6.856] compiled for 1.20.8, module version = 1.0.0
[ 6.857] ABI class: X.Org ANSI C Emulation, version 0.4
[ 6.857] (**) FBDEV(0): using shadow framebuffer
[ 6.857] (II) Loading sub module "shadow"
[ 6.857] (II) LoadModule: "shadow"
[ 6.857] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 6.858] (II) Module shadow: vendor="X.Org Foundation"
[ 6.858] compiled for 1.20.8, module version = 1.1.0
[ 6.858] ABI class: X.Org ANSI C Emulation, version 0.4
[ 6.858] (EE) FBDEV(0): FBIOPUT_VSCREENINFO succeeded but modified mode
[ 6.859] (EE) FBDEV(0): mode initialization failed
[ 6.859] (EE)
Fatal server error:
[ 6.859] (EE) AddScreen/ScreenInit failed for driver 0
[ 6.859] (EE)
[ 6.859] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 6.860] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 6.860] (EE)
[ 6.863] (EE) Server terminated with error (1). Closing log file.Anyone have the solution to this ?
Thanks
Offline
I managed to find an alternative and start the GUI.
The following packages are required to start the GUI:
xf86-video-dummy
x11vnc
Also lightdm must be used instead of gdm (gdm, after login, failed to display anything)
For X server to properly start the following xorg.conf file was needed:
Section "Monitor"
Identifier "dummy_monitor"
HorizSync 28.0-80.0
VertRefresh 48.0-75.0
Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118
EndSection
Section "Device"
Identifier "dummy_card"
VideoRam 256000
Driver "dummy"
EndSection
Section "Screen"
Identifier "dummy_screen"
Device "dummy_card"
Monitor "dummy_monitor"
SubSection "Display"
EndSubSection
EndSectionIn the end, start the vnc server with the following command (as root)
x11vnc -noxdamage -display :0 -forever -auth /run/lightdm/root/\:0 -o /var/log/x11vnc.log -bgOffline