Xserver errors with Virtualbox - open /dev/dri/card0: No such file or directory
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Xserver errors with Virtualbox - open /dev/dri/card0: No such file or directory
This is my first time with BLFS and I am at Chapter 24 X Window System Environment.
After installing packages in this chapter, now I am trying startx. Xserver failed and shutdown with error.
I did reinstall few packages in hope to resolve, but couldn't able to pinpoint what I am missing.
I presume the cause is in the below line, but not sure how to fix it.
[ 1414.752] (EE) open /dev/dri/card0: No such file or directory
Full log is below
Code:
[ 1414.731]
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
[ 1414.731] Build Operating System: Linux 5.13.0-28-generic x86_64
[ 1414.731] Current Operating System: Linux lfs 5.13.12 #1 SMP Wed Jan 26 17:53:04 GMT 2022 x86_64
[ 1414.731] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.13.12-lfs-11.0 root=/dev/sdb3
[ 1414.731] Build Date: 05 February 2022 04:54:02PM
[ 1414.731]
[ 1414.734] Current version of pixman: 0.40.0
[ 1414.734] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1414.734] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1414.736] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 7 13:30:29 2022
[ 1414.736] (==) Using system config directory "/usr/X11/share/X11/xorg.conf.d"
[ 1414.736] (==) No Layout section. Using the first Screen section.
[ 1414.736] (==) No screen section available. Using defaults.
[ 1414.736] (**) |-->Screen "Default Screen Section" (0)
[ 1414.736] (**) | |-->Monitor "<default monitor>"
[ 1414.736] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1414.736] (==) Automatically adding devices
[ 1414.736] (==) Automatically enabling devices
[ 1414.736] (==) Automatically adding GPU devices
[ 1414.736] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1414.736] (WW) `fonts.dir' not found (or not valid) in "/usr/X11/share/fonts/X11/misc/".
[ 1414.736] Entry deleted from font path.
[ 1414.736] (Run 'mkfontdir' on "/usr/X11/share/fonts/X11/misc/").
[ 1414.736] (WW) `fonts.dir' not found (or not valid) in "/usr/X11/share/fonts/X11/100dpi/".
[ 1414.736] Entry deleted from font path.
[ 1414.736] (Run 'mkfontdir' on "/usr/X11/share/fonts/X11/100dpi/").
[ 1414.736] (WW) `fonts.dir' not found (or not valid) in "/usr/X11/share/fonts/X11/75dpi/".
[ 1414.736] Entry deleted from font path.
[ 1414.736] (Run 'mkfontdir' on "/usr/X11/share/fonts/X11/75dpi/").
[ 1414.736] (==) FontPath set to:
/usr/X11/share/fonts/X11/TTF/,
/usr/X11/share/fonts/X11/OTF/,
/usr/X11/share/fonts/X11/Type1/
[ 1414.736] (==) ModulePath set to "/usr/X11/lib/xorg/modules"
[ 1414.736] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 1414.736] (II) Loader magic: 0x619c20
[ 1414.736] (II) Module ABI versions:
[ 1414.736] X.Org ANSI C Emulation: 0.4
[ 1414.736] X.Org Video Driver: 24.1
[ 1414.736] X.Org XInput driver : 24.1
[ 1414.736] X.Org Server Extension : 10.0
[ 1414.739] (--) PCI:*(0@0:2:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xe0000000/33554432, 0xf0000000/2097152, I/O @ 0x0000d010/16, BIOS @ 0x????????/131072
[ 1414.739] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 1414.739] (II) LoadModule: "glx"
[ 1414.739] (II) Loading /usr/X11/lib/xorg/modules/extensions/libglx.so
[ 1414.739] (II) Module glx: vendor="X.Org Foundation"
[ 1414.739] compiled for 1.20.13, module version = 1.0.0
[ 1414.739] ABI class: X.Org Server Extension, version 10.0
[ 1414.739] (==) Matched vmware as autoconfigured driver 0
[ 1414.739] (==) Matched modesetting as autoconfigured driver 1
[ 1414.739] (==) Matched fbdev as autoconfigured driver 2
[ 1414.739] (==) Matched vesa as autoconfigured driver 3
[ 1414.739] (==) Assigned the driver to the xf86ConfigLayout
[ 1414.739] (II) LoadModule: "vmware"
[ 1414.739] (II) Loading /usr/X11/lib/xorg/modules/drivers/vmware_drv.so
[ 1414.749] (II) Module vmware: vendor="X.Org Foundation"
[ 1414.749] compiled for 1.20.13, module version = 13.3.0
[ 1414.749] Module class: X.Org Video Driver
[ 1414.749] ABI class: X.Org Video Driver, version 24.1
[ 1414.749] (II) LoadModule: "modesetting"
[ 1414.749] (II) Loading /usr/X11/lib/xorg/modules/drivers/modesetting_drv.so
[ 1414.749] (II) Module modesetting: vendor="X.Org Foundation"
[ 1414.749] compiled for 1.20.13, module version = 1.20.13
[ 1414.749] Module class: X.Org Video Driver
[ 1414.749] ABI class: X.Org Video Driver, version 24.1
[ 1414.749] (II) LoadModule: "fbdev"
[ 1414.749] (II) Loading /usr/X11/lib/xorg/modules/drivers/fbdev_drv.so
[ 1414.749] (II) Module fbdev: vendor="X.Org Foundation"
[ 1414.749] compiled for 1.20.13, module version = 0.4.4
[ 1414.749] Module class: X.Org Video Driver
[ 1414.749] ABI class: X.Org Video Driver, version 24.1
[ 1414.749] (II) LoadModule: "vesa"
[ 1414.750] (II) Loading /usr/X11/lib/xorg/modules/drivers/vesa_drv.so
[ 1414.750] (II) Module vesa: vendor="X.Org Foundation"
[ 1414.750] compiled for 1.20.13, module version = 2.3.3
[ 1414.750] Module class: X.Org Video Driver
[ 1414.750] ABI class: X.Org Video Driver, version 24.1
[ 1414.750] (II) vmware: driver for VMware SVGA: vmware0405, vmware0710
[ 1414.750] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 1414.750] (II) FBDEV: driver for framebuffer: fbdev
[ 1414.750] (II) VESA: driver for VESA chipsets: vesa
[ 1414.750] (++) using VT number 7
[ 1414.752] (WW) Falling back to old probe method for modesetting
[ 1414.752] (EE) open /dev/dri/card0: No such file or directory
[ 1414.752] (WW) Falling back to old probe method for fbdev
[ 1414.752] (II) Loading sub module "fbdevhw"
[ 1414.752] (II) LoadModule: "fbdevhw"
[ 1414.752] (II) Loading /usr/X11/lib/xorg/modules/libfbdevhw.so
[ 1414.752] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 1414.752] compiled for 1.20.13, module version = 0.0.2
[ 1414.752] ABI class: X.Org Video Driver, version 24.1
[ 1414.752] (EE) open /dev/fb0: No such file or directory
[ 1414.752] (WW) Falling back to old probe method for vesa
[ 1414.752] (II) vmware(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 1414.930] (EE) vmware(0): Failed to open drm.
[ 1414.930] (WW) vmware(0): Disabling 3D support.
[ 1414.930] (WW) vmware(0): Disabling Render Acceleration.
[ 1414.930] (WW) vmware(0): Disabling RandR12+ support.
[ 1414.930] (--) vmware(0): VMware SVGA regs at (0xd010, 0xd011)
[ 1414.930] (II) Loading sub module "vgahw"
[ 1414.930] (II) LoadModule: "vgahw"
[ 1414.930] (II) Loading /usr/X11/lib/xorg/modules/libvgahw.so
[ 1414.930] (II) Module vgahw: vendor="X.Org Foundation"
[ 1414.930] compiled for 1.20.13, module version = 0.1.0
[ 1414.930] ABI class: X.Org Video Driver, version 24.1
[ 1415.374] (--) vmware(0): caps: 0x00F6C2A0
[ 1415.375] (--) vmware(0): depth: 24
[ 1415.375] (--) vmware(0): bpp: 32
[ 1415.375] (--) vmware(0): vram: 19922944
[ 1415.375] (--) vmware(0): pbase: 0xe0000000
[ 1415.375] (--) vmware(0): mwidt: 2048
[ 1415.375] (--) vmware(0): mheig: 2048
[ 1415.375] (--) vmware(0): depth: 24
[ 1415.375] (--) vmware(0): bpp: 32
[ 1415.375] (--) vmware(0): w.red: 8
[ 1415.375] (--) vmware(0): w.grn: 8
[ 1415.375] (--) vmware(0): w.blu: 8
[ 1415.375] (--) vmware(0): vis: 4
[ 1415.375] (==) vmware(0): Depth 24, (==) framebuffer bpp 32
[ 1415.375] (==) vmware(0): RGB weight 888
[ 1415.375] (==) vmware(0): Default visual is TrueColor
[ 1415.375] (==) vmware(0): Using HW cursor
[ 1415.375] (==) vmware(0): Will set up a driver mode with dimensions 800x600.
[ 1415.375] (==) vmware(0): Using gamma correction (1.0, 1.0, 1.0)
[ 1415.375] (II) vmware(0): Clock range: 0.00 to 400000.00 MHz
[ 1415.375] (II) vmware(0): Not using default mode "320x175" (bad mode clock/interlace/doublescan)
[ 1415.375] (II) vmware(0): Not using default mode "320x200" (bad mode clock/interlace/doublescan)
[ 1415.375] (II) vmware(0): Not using default mode "360x200" (bad mode clock/interlace/doublescan)
--- more resolution related messages
Code:
[ 1415.375] (**) vmware(0): Default mode "1856x1392": 218.3 MHz, 86.4 kHz, 60.0 Hz
[ 1415.375] (II) vmware(0): Modeline "1856x1392"x60.0 218.30 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync (86.4 kHz d)
[ 1415.375] (**) vmware(0): Default mode "1792x1344": 261.0 MHz, 106.3 kHz, 75.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1792x1344"x75.0 261.00 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync (106.3 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1792x1344": 204.8 MHz, 83.7 kHz, 60.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1792x1344"x60.0 204.80 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync (83.7 kHz d)
[ 1415.376] (**) vmware(0): Default mode "2048x1152": 197.0 MHz, 71.6 kHz, 59.9 Hz
[ 1415.376] (II) vmware(0): Modeline "2048x1152"x59.9 197.00 2048 2184 2400 2752 1152 1155 1160 1195 -hsync +vsync (71.6 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1920x1200": 193.2 MHz, 74.6 kHz, 59.9 Hz
[ 1415.376] (II) vmware(0): Modeline "1920x1200"x59.9 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync (74.6 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1920x1080": 173.0 MHz, 67.2 kHz, 60.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1920x1080"x60.0 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1600x1200": 229.5 MHz, 106.2 kHz, 85.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1600x1200"x85.0 229.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (106.2 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1600x1200": 202.5 MHz, 93.8 kHz, 75.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1600x1200"x75.0 202.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (93.8 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1600x1200": 189.0 MHz, 87.5 kHz, 70.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1600x1200"x70.0 189.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (87.5 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1600x1200": 175.5 MHz, 81.2 kHz, 65.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1600x1200"x65.0 175.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (81.2 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1600x1200": 162.0 MHz, 75.0 kHz, 60.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1600x1200"x60.0 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1680x1050": 146.2 MHz, 65.3 kHz, 60.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1400x1050": 155.8 MHz, 81.5 kHz, 74.8 Hz
[ 1415.376] (II) vmware(0): Modeline "1400x1050"x74.8 155.80 1400 1464 1784 1912 1050 1052 1064 1090 +hsync +vsync (81.5 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1400x1050": 122.0 MHz, 64.9 kHz, 60.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1400x1050"x60.0 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1600x900": 118.2 MHz, 56.0 kHz, 59.9 Hz
[ 1415.376] (II) vmware(0): Modeline "1600x900"x59.9 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync (56.0 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1280x1024": 157.5 MHz, 91.1 kHz, 85.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1280x1024"x85.0 157.50 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync (91.1 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1400x900": 103.5 MHz, 56.0 kHz, 60.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1400x900"x60.0 103.50 1400 1480 1624 1848 900 903 913 934 -hsync +vsync (56.0 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1280x960": 148.5 MHz, 85.9 kHz, 85.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1280x960"x85.0 148.50 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync (85.9 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1368x768": 85.2 MHz, 47.8 kHz, 59.9 Hz
[ 1415.376] (II) vmware(0): Modeline "1368x768"x59.9 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync (47.8 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1280x800": 83.5 MHz, 49.7 kHz, 59.8 Hz
[ 1415.376] (II) vmware(0): Modeline "1280x800"x59.8 83.50 1280 1352 1480 1680 800 803 809 831 -hsync +vsync (49.7 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1280x720": 74.5 MHz, 44.8 kHz, 59.9 Hz
[ 1415.376] (II) vmware(0): Modeline "1280x720"x59.9 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync (44.8 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1024x768"x85.0 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync (68.7 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1024x768": 78.8 MHz, 60.0 kHz, 75.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1024x768"x75.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
[ 1415.376] (II) vmware(0): Modeline "1024x768"x70.1 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
[ 1415.376] (II) vmware(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d)
[ 1415.376] (**) vmware(0): Default mode "1024x576": 46.5 MHz, 35.9 kHz, 59.9 Hz
[ 1415.376] (II) vmware(0): Modeline "1024x576"x59.9 46.50 1024 1064 1160 1296 576 579 584 599 -hsync +vsync (35.9 kHz d)
[ 1415.376] (**) vmware(0): Default mode "832x624": 57.3 MHz, 49.7 kHz, 74.6 Hz
[ 1415.376] (II) vmware(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz d)
[ 1415.376] (**) vmware(0): Default mode "960x540": 40.8 MHz, 33.5 kHz, 59.6 Hz
[ 1415.376] (II) vmware(0): Modeline "960x540"x59.6 40.75 960 992 1088 1216 540 543 548 562 -hsync +vsync (33.5 kHz d)
[ 1415.376] (**) vmware(0): Default mode "800x600": 56.3 MHz, 53.7 kHz, 85.1 Hz
[ 1415.376] (II) vmware(0): Modeline "800x600"x85.1 56.30 800 832 896 1048 600 601 604 631 +hsync +vsync (53.7 kHz d)
[ 1415.376] (**) vmware(0): Default mode "800x600": 49.5 MHz, 46.9 kHz, 75.0 Hz
[ 1415.376] (II) vmware(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz d)
[ 1415.376] (**) vmware(0): Default mode "800x600": 50.0 MHz, 48.1 kHz, 72.2 Hz
[ 1415.376] (II) vmware(0): Modeline "800x600"x72.2 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz d)
[ 1415.376] (**) vmware(0): Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
[ 1415.376] (II) vmware(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
[ 1415.376] (**) vmware(0): Default mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz
[ 1415.376] (II) vmware(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 1415.376] (**) vmware(0): Default mode "864x486": 32.5 MHz, 30.3 kHz, 59.9 Hz
[ 1415.376] (II) vmware(0): Modeline "864x486"x59.9 32.50 864 888 968 1072 486 489 494 506 -hsync +vsync (30.3 kHz d)
[ 1415.376] (**) vmware(0): Default mode "640x480": 36.0 MHz, 43.3 kHz, 85.0 Hz
[ 1415.376] (II) vmware(0): Modeline "640x480"x85.0 36.00 640 696 752 832 480 481 484 509 -hsync -vsync (43.3 kHz d)
[ 1415.376] (**) vmware(0): Default mode "640x480": 31.5 MHz, 37.5 kHz, 75.0 Hz
[ 1415.376] (II) vmware(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz d)
[ 1415.376] (**) vmware(0): Default mode "640x480": 31.5 MHz, 37.9 kHz, 72.8 Hz
[ 1415.376] (II) vmware(0): Modeline "640x480"x72.8 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz d)
[ 1415.376] (**) vmware(0): Default mode "640x480": 25.2 MHz, 31.5 kHz, 59.9 Hz
[ 1415.376] (II) vmware(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
[ 1415.376] (**) vmware(0): Default mode "720x405": 22.5 MHz, 25.1 kHz, 59.5 Hz
[ 1415.376] (II) vmware(0): Modeline "720x405"x59.5 22.50 720 744 808 896 405 408 413 422 -hsync +vsync (25.1 kHz d)
[ 1415.376] (**) vmware(0): Default mode "720x400": 35.5 MHz, 37.9 kHz, 85.0 Hz
[ 1415.376] (II) vmware(0): Modeline "720x400"x85.0 35.50 720 756 828 936 400 401 404 446 -hsync +vsync (37.9 kHz d)
[ 1415.376] (**) vmware(0): Default mode "640x400": 31.5 MHz, 37.9 kHz, 85.1 Hz
[ 1415.376] (II) vmware(0): Modeline "640x400"x85.1 31.50 640 672 736 832 400 401 404 445 -hsync +vsync (37.9 kHz d)
[ 1415.376] (**) vmware(0): Default mode "640x360": 18.0 MHz, 22.5 kHz, 59.8 Hz
[ 1415.376] (II) vmware(0): Modeline "640x360"x59.8 18.00 640 664 720 800 360 363 368 376 -hsync +vsync (22.5 kHz d)
[ 1415.376] (**) vmware(0): Default mode "640x360": 17.8 MHz, 22.2 kHz, 59.3 Hz
[ 1415.376] (II) vmware(0): Modeline "640x360"x59.3 17.75 640 688 720 800 360 363 368 374 +hsync -vsync (22.2 kHz d)
[ 1415.376] (**) vmware(0): Default mode "640x350": 31.5 MHz, 37.9 kHz, 85.1 Hz
[ 1415.376] (II) vmware(0): Modeline "640x350"x85.1 31.50 640 672 736 832 350 382 385 445 +hsync -vsync (37.9 kHz d)
[ 1415.376] (==) vmware(0): DPI set to (96, 96)
[ 1415.376] (II) Loading sub module "fb"
[ 1415.376] (II) LoadModule: "fb"
[ 1415.376] (II) Loading /usr/X11/lib/xorg/modules/libfb.so
[ 1415.376] (II) Module fb: vendor="X.Org Foundation"
[ 1415.377] compiled for 1.20.13, module version = 1.0.0
[ 1415.377] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1415.377] (II) Loading sub module "shadowfb"
[ 1415.377] (II) LoadModule: "shadowfb"
[ 1415.377] (II) Loading /usr/X11/lib/xorg/modules/libshadowfb.so
[ 1415.377] (II) Module shadowfb: vendor="X.Org Foundation"
[ 1415.377] compiled for 1.20.13, module version = 1.0.0
[ 1415.377] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1415.377] (II) Loading sub module "ramdac"
[ 1415.377] (II) LoadModule: "ramdac"
[ 1415.377] (II) Module "ramdac" already built-in
[ 1415.377] (II) UnloadModule: "modesetting"
[ 1415.377] (II) Unloading modesetting
[ 1415.377] (II) UnloadModule: "fbdev"
[ 1415.377] (II) Unloading fbdev
[ 1415.377] (II) UnloadSubModule: "fbdevhw"
[ 1415.377] (II) Unloading fbdevhw
[ 1415.377] (II) UnloadModule: "vesa"
[ 1415.377] (II) Unloading vesa
[ 1415.377] (II) vmware(0): Initialized VMWARE_CTRL extension version 0.2
[ 1415.377] (II) vmware(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[ 1415.827] (==) vmware(0): Backing store enabled
[ 1415.827] (==) vmware(0): Silken mouse enabled
[ 1415.827] (EE) vmware(0): Hardware cursor initialization failed
[ 1415.830] (II) Initializing extension Generic Event Extension
[ 1415.830] (II) Initializing extension SHAPE
[ 1415.830] (II) Initializing extension MIT-SHM
[ 1415.830] (II) Initializing extension XInputExtension
[ 1415.830] (II) Initializing extension XTEST
[ 1415.830] (II) Initializing extension BIG-REQUESTS
[ 1415.830] (II) Initializing extension SYNC
[ 1415.830] (II) Initializing extension XKEYBOARD
[ 1415.830] (II) Initializing extension XC-MISC
[ 1415.830] (II) Initializing extension XFIXES
[ 1415.830] (II) Initializing extension RENDER
[ 1415.830] (II) Initializing extension RANDR
[ 1415.830] (II) Initializing extension COMPOSITE
[ 1415.830] (II) Initializing extension DAMAGE
[ 1415.830] (II) Initializing extension MIT-SCREEN-SAVER
[ 1415.830] (II) Initializing extension DOUBLE-BUFFER
[ 1415.830] (II) Initializing extension RECORD
[ 1415.830] (II) Initializing extension DPMS
[ 1415.830] (II) Initializing extension Present
[ 1415.830] (II) Initializing extension DRI3
[ 1415.830] (II) Initializing extension X-Resource
[ 1415.830] (II) Initializing extension XVideo
[ 1415.830] (II) Initializing extension XVideo-MotionCompensation
[ 1415.830] (II) Initializing extension GLX
[ 1415.830] (II) AIGLX: Screen 0 is not DRI2 capable
[ 1415.835] (II) IGLX: Loaded and initialized swrast
[ 1415.835] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 1415.835] (II) Initializing extension XFree86-VidModeExtension
[ 1415.835] (II) Initializing extension XFree86-DGA
[ 1415.835] (II) Initializing extension XFree86-DRI
[ 1415.835] (II) Initializing extension DRI2
[ 1415.864] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 1415.864] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 1415.864] (II) LoadModule: "libinput"
[ 1415.865] (II) Loading /usr/X11/lib/xorg/modules/input/libinput_drv.so
[ 1415.865] (II) Module libinput: vendor="X.Org Foundation"
[ 1415.865] compiled for 1.20.13, module version = 1.1.0
[ 1415.865] Module class: X.Org XInput Driver
[ 1415.865] ABI class: X.Org XInput driver, version 24.1
[ 1415.865] (II) Using input driver 'libinput' for 'Power Button'
[ 1415.865] (**) Power Button: always reports core events
[ 1415.865] (**) Option "Device" "/dev/input/event0"
[ 1415.865] (**) Option "_source" "server/udev"
[ 1415.866] (II) event0 - Power Button: is tagged by udev as: Keyboard
[ 1415.866] (II) event0 - Power Button: device is a keyboard
[ 1415.866] (II) event0 - Power Button: device removed
[ 1415.881] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0/event0"
[ 1415.881] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 1415.882] (II) event0 - Power Button: is tagged by udev as: Keyboard
[ 1415.882] (II) event0 - Power Button: device is a keyboard
[ 1415.883] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 1415.883] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[ 1415.883] (II) Using input driver 'libinput' for 'Sleep Button'
[ 1415.883] (**) Sleep Button: always reports core events
[ 1415.883] (**) Option "Device" "/dev/input/event1"
[ 1415.883] (**) Option "_source" "server/udev"
[ 1415.884] (II) event1 - Sleep Button: is tagged by udev as: Keyboard
[ 1415.884] (II) event1 - Sleep Button: device is a keyboard
[ 1415.884] (II) event1 - Sleep Button: device removed
[ 1415.901] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSLPBN:00/input/input1/event1"
[ 1415.901] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[ 1415.902] (II) event1 - Sleep Button: is tagged by udev as: Keyboard
[ 1415.903] (II) event1 - Sleep Button: device is a keyboard
[ 1415.903] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
[ 1415.903] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[ 1415.903] (II) Using input driver 'libinput' for 'Video Bus'
[ 1415.903] (**) Video Bus: always reports core events
[ 1415.903] (**) Option "Device" "/dev/input/event2"
[ 1415.903] (**) Option "_source" "server/udev"
[ 1415.904] (II) event2 - Video Bus: is tagged by udev as: Keyboard
[ 1415.904] (II) event2 - Video Bus: device is a keyboard
[ 1415.905] (II) event2 - Video Bus: device removed
[ 1415.922] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input2/event2"
[ 1415.922] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[ 1415.923] (II) event2 - Video Bus: is tagged by udev as: Keyboard
[ 1415.923] (II) event2 - Video Bus: device is a keyboard
[ 1415.924] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/event5)
[ 1415.924] (**) VirtualBox USB Tablet: Applying InputClass "libinput pointer catchall"
[ 1415.924] (II) Using input driver 'libinput' for 'VirtualBox USB Tablet'
[ 1415.924] (**) VirtualBox USB Tablet: always reports core events
[ 1415.924] (**) Option "Device" "/dev/input/event5"
[ 1415.924] (**) Option "_source" "server/udev"
[ 1415.977] (II) event5 - VirtualBox USB Tablet: is tagged by udev as: Mouse
[ 1415.978] (II) event5 - VirtualBox USB Tablet: device is a pointer
[ 1415.978] (II) event5 - VirtualBox USB Tablet: device removed
[ 1415.993] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.0/usb2/2-1/2-1:1.0/0003:80EE:0021.0001/input/input6/event5"
[ 1415.993] (II) XINPUT: Adding extended input device "VirtualBox USB Tablet" (type: MOUSE, id 9)
[ 1415.993] (**) Option "AccelerationScheme" "none"
[ 1415.993] (**) VirtualBox USB Tablet: (accel) selected scheme none/0
[ 1415.993] (**) VirtualBox USB Tablet: (accel) acceleration factor: 2.000
[ 1415.993] (**) VirtualBox USB Tablet: (accel) acceleration threshold: 4
[ 1416.046] (II) event5 - VirtualBox USB Tablet: is tagged by udev as: Mouse
[ 1416.046] (II) event5 - VirtualBox USB Tablet: device is a pointer
[ 1416.046] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[ 1416.046] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[ 1416.046] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[ 1416.046] (**) AT Translated Set 2 keyboard: always reports core events
[ 1416.046] (**) Option "Device" "/dev/input/event3"
[ 1416.046] (**) Option "_source" "server/udev"
[ 1416.047] (II) event3 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 1416.047] (II) event3 - AT Translated Set 2 keyboard: device is a keyboard
[ 1416.047] (II) event3 - AT Translated Set 2 keyboard: device removed
[ 1416.061] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[ 1416.061] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[ 1416.061] (II) event3 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 1416.061] (II) event3 - AT Translated Set 2 keyboard: device is a keyboard
[ 1416.062] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/event4)
[ 1416.062] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "libinput pointer catchall"
[ 1416.062] (II) Using input driver 'libinput' for 'ImExPS/2 Generic Explorer Mouse'
[ 1416.062] (**) ImExPS/2 Generic Explorer Mouse: always reports core events
[ 1416.062] (**) Option "Device" "/dev/input/event4"
[ 1416.062] (**) Option "_source" "server/udev"
[ 1416.063] (II) event4 - ImExPS/2 Generic Explorer Mouse: is tagged by udev as: Mouse
[ 1416.063] (II) event4 - ImExPS/2 Generic Explorer Mouse: device is a pointer
[ 1416.063] (II) event4 - ImExPS/2 Generic Explorer Mouse: device removed
[ 1416.077] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input5/event4"
[ 1416.077] (II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" (type: MOUSE, id 11)
[ 1416.077] (**) Option "AccelerationScheme" "none"
[ 1416.077] (**) ImExPS/2 Generic Explorer Mouse: (accel) selected scheme none/0
[ 1416.077] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration factor: 2.000
[ 1416.077] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration threshold: 4
[ 1416.078] (II) event4 - ImExPS/2 Generic Explorer Mouse: is tagged by udev as: Mouse
[ 1416.078] (II) event4 - ImExPS/2 Generic Explorer Mouse: device is a pointer
[ 1416.103] (II) event0 - Power Button: device removed
[ 1416.114] (II) event1 - Sleep Button: device removed
[ 1416.127] (II) event2 - Video Bus: device removed
[ 1416.139] (II) event5 - VirtualBox USB Tablet: device removed
[ 1416.171] (II) event3 - AT Translated Set 2 keyboard: device removed
[ 1416.183] (II) event4 - ImExPS/2 Generic Explorer Mouse: device removed
[ 1416.199] (II) UnloadModule: "libinput"
[ 1416.199] (II) UnloadModule: "libinput"
[ 1416.199] (II) UnloadModule: "libinput"
[ 1416.199] (II) UnloadModule: "libinput"
[ 1416.199] (II) UnloadModule: "libinput"
[ 1416.199] (II) UnloadModule: "libinput"
[ 1416.650] (II) Server terminated successfully (0). Closing log file.
Last edited by RanjitRobin; 02-09-2022 at 01:52 PM.
I have similar problem in the past, perhaps it could be useful.
type "lspci" or "lspci -vv | grep VGA"
then you write down the VGA
I am using qemu too, I get "QXL Paravirtual Graphic card"
After that,
hopefully you haven't delete linux-5.13.12 from LFS that you have installed. cd linux-5.13.12 then run "make menuconfig"
search with type "/" your VGA, for my case I type "QXL"
Enable it, after that save and type make, see again LFS book version 11 System V (we are following the same book) at chapter 10 Linux-5.13.12 type again the command
"cp -iv arch/x86/boot/bzImage /boot/vmlinuz-5.13.12-lfs-11.0"
"cp -iv System.map /boot/System.map-5.13.12"
"cp -iv .config /boot/config-5.13.12"
reboot your system, if it is still not working browse for a "driver of your virtual VGA" in internet you then have to install it manually.
redo elogind and the kernel config for vm. Ya dont mention what type of vm it is. vbox/vmware/qemu. New builders should build on real hware when they don't know what they are doing on a vm. PEBKAC.
I have similar problem in the past, perhaps it could be useful.
type "lspci" or "lspci -vv | grep VGA"
then you write down the VGA
I am using qemu too, I get "QXL Paravirtual Graphic card"
After that,
hopefully you haven't delete linux-5.13.12 from LFS that you have installed. cd linux-5.13.12 then run "make menuconfig"
search with type "/" your VGA, for my case I type "QXL"
Enable it, after that save and type make, see again LFS book version 11 System V (we are following the same book) at chapter 10 Linux-5.13.12 type again the command
"cp -iv arch/x86/boot/bzImage /boot/vmlinuz-5.13.12-lfs-11.0"
"cp -iv System.map /boot/System.map-5.13.12"
"cp -iv .config /boot/config-5.13.12"
reboot your system, if it is still not working browse for a "driver of your virtual VGA" in internet you then have to install it manually.
Thanks for your suggestion, I will give it a try.
Meanwhile, I've noticed .xinitrc file was missing in the home directory.
I have created one with the following content
With this, I've managed to run startx successfully.
It brings a blank screen with a bottom panel. I could right-click and start xterm, from which I could launch X apps.
The original error is still present though, but it didn't stop me from using X. I will find the cause and post it here.
I do like the convenience of VM(virtual box), I guess it is easy to try in the physical machine when hit with a brick wall.
Last edited by RanjitRobin; 04-01-2022 at 08:20 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.