You are not logged in.

#1 2019-05-02 20:58:13

neopium
Member
Registered: 2019-05-02
Posts: 85

[SOLVED] Cannot start X in virtualbox

I have started to create my own archiso because installing arch is fun, but automating it is even funnier ;-).

Before actually using it on my computer to do a fresh installation, I'm testing it on virtual box.

It's clearly a work in progress, but the source files can be found here: https://gitlab.com/neopium/archlinux

This is not supposed to be generic, it's only supposed to work on my computer. For instance, I want my system in GB English, but I use an azerty French keyboard and this is hardcoded because it's probably not going to change in my setup.

So, I have mainly two scripts that I have customized.

The first one, is https://gitlab.com/neopium/archlinux/bl … irootfs.sh.

It is used to create the ISO itself. Nothing fancy, really.

The second one is more interesting: it's the script that I'm executing to automatically install my minimal setup when running the live ISO: https://gitlab.com/neopium/archlinux/bl … ll-arch.sh

Again, it's a work in progress. Some things are still hardcoded. For instance, it assumes the partitions are already created, /boot is on /dev/sda1 and / is on /dev/sda2.

I retrieve the hostname, user name and password, format the disk, install some basic packages (the list is not fixed yet), install grub, set the locale and time zone, create the user and add it to the sudoers and finally activate internet.

Here is the command that installs the packages:

pacstrap -i /mnt base base-devel git curl wget openssh zsh zsh-completions networkmanager btrfs-progs ntfs-3g grub \
	os-prober xorg xorg-xinit xorg-apps xf86-video-fbdev mesa bspwm sxhkd xf86-video-intel xf86-input-synaptics nvidia \
	nvidia-utils lib32-nvidia-utils kitty rofi neovim alsa-utils pulseaudio dunst

I also have a third script that installs packages that are only relevant to virtual box: https://gitlab.com/neopium/archlinux/bl … tualbox.sh

arch-chroot /mnt pacman -S virtualbox-guest-modules-arch
arch-chroot /mnt pacman -S virtualbox-guest-utils

Then I restart my virtualbox, login with my user account. But when I type startx, it doesn't work.

Here is the Xorg.0.log file:

[   234.433] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   234.434] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[   234.436] Build Operating System: Linux Arch Linux
[   234.437] Current Operating System: Linux vbox 5.0.10-arch1-1-ARCH #1 SMP PREEMPT Sat Apr 27 20:06:45 UTC 2019 x86_64
[   234.438] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=3ef9d02d-62dd-4bf3-a1f1-f3898131eb0c rw quiet
[   234.439] Build Date: 27 February 2019  04:04:00PM
[   234.440]  
[   234.440] Current version of pixman: 0.38.4
[   234.441] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   234.441] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   234.442] (==) Log file: "/home/ben/.local/share/xorg/Xorg.0.log", Time: Thu May  2 21:36:15 2019
[   234.443] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   234.443] (==) No Layout section.  Using the first Screen section.
[   234.443] (==) No screen section available. Using defaults.
[   234.443] (**) |-->Screen "Default Screen Section" (0)
[   234.443] (**) |   |-->Monitor "<default monitor>"
[   234.443] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   234.443] (==) Automatically adding devices
[   234.443] (==) Automatically enabling devices
[   234.443] (==) Automatically adding GPU devices
[   234.443] (==) Automatically binding GPU devices
[   234.443] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   234.443] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[   234.443] 	Entry deleted from font path.
[   234.443] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[   234.443] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   234.443] 	Entry deleted from font path.
[   234.443] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   234.443] 	Entry deleted from font path.
[   234.443] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   234.443] 	Entry deleted from font path.
[   234.443] (==) FontPath set to:
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   234.443] (==) ModulePath set to "/usr/lib/xorg/modules"
[   234.443] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   234.443] (II) Module ABI versions:
[   234.443] 	X.Org ANSI C Emulation: 0.4
[   234.443] 	X.Org Video Driver: 24.0
[   234.443] 	X.Org XInput driver : 24.1
[   234.443] 	X.Org Server Extension : 10.0
[   234.444] (++) using VT number 1

[   234.445] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   234.446] (II) xfree86: Adding drm device (/dev/dri/card0)
[   234.447] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[   234.448] (--) PCI:*(0@0:2:0) 80ee:beef:15ad:0405 rev 0, Mem @ 0xe0000000/16777216, 0x40000000/2097152, I/O @ 0x00001000/16, BIOS @ 0x????????/131072
[   234.448] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   234.448] (II) LoadModule: "glx"
[   234.448] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   234.450] (II) Module glx: vendor="X.Org Foundation"
[   234.450] 	compiled for 1.20.4, module version = 1.0.0
[   234.450] 	ABI class: X.Org Server Extension, version 10.0
[   234.450] (==) Matched vboxvideo as autoconfigured driver 0
[   234.450] (==) Matched modesetting as autoconfigured driver 1
[   234.450] (==) Matched fbdev as autoconfigured driver 2
[   234.450] (==) Matched vesa as autoconfigured driver 3
[   234.450] (==) Assigned the driver to the xf86ConfigLayout
[   234.450] (II) LoadModule: "vboxvideo"
[   234.450] (WW) Warning, couldn't open module vboxvideo
[   234.450] (EE) Failed to load module "vboxvideo" (module does not exist, 0)
[   234.450] (II) LoadModule: "modesetting"
[   234.450] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   234.451] (II) Module modesetting: vendor="X.Org Foundation"
[   234.451] 	compiled for 1.20.4, module version = 1.20.4
[   234.451] 	Module class: X.Org Video Driver
[   234.451] 	ABI class: X.Org Video Driver, version 24.0
[   234.451] (II) LoadModule: "fbdev"
[   234.451] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   234.451] (II) Module fbdev: vendor="X.Org Foundation"
[   234.451] 	compiled for 1.20.0, module version = 0.5.0
[   234.451] 	Module class: X.Org Video Driver
[   234.451] 	ABI class: X.Org Video Driver, version 24.0
[   234.451] (II) LoadModule: "vesa"
[   234.451] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   234.451] (II) Module vesa: vendor="X.Org Foundation"
[   234.451] 	compiled for 1.20.0, module version = 2.4.0
[   234.451] 	Module class: X.Org Video Driver
[   234.451] 	ABI class: X.Org Video Driver, version 24.0
[   234.451] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   234.451] (II) FBDEV: driver for framebuffer: fbdev
[   234.451] (II) VESA: driver for VESA chipsets: vesa
[   234.451] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   234.451] (II) modeset(0): using drv /dev/dri/card0
[   234.451] (WW) Falling back to old probe method for fbdev
[   234.451] (II) Loading sub module "fbdevhw"
[   234.451] (II) LoadModule: "fbdevhw"
[   234.451] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   234.451] (II) Module fbdevhw: vendor="X.Org Foundation"
[   234.451] 	compiled for 1.20.4, module version = 0.0.2
[   234.451] 	ABI class: X.Org Video Driver, version 24.0
[   234.451] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   234.451] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   234.451] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   234.451] (==) modeset(0): RGB weight 888
[   234.451] (==) modeset(0): Default visual is TrueColor
[   234.451] (II) Loading sub module "glamoregl"
[   234.451] (II) LoadModule: "glamoregl"
[   234.452] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   234.454] (II) Module glamoregl: vendor="X.Org Foundation"
[   234.454] 	compiled for 1.20.4, module version = 1.0.1
[   234.454] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   234.506] (II) modeset(0): Refusing to try glamor on llvmpipe
[   234.507] (EE) modeset(0): glamor initialization failed
[   234.507] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[   234.509] (II) modeset(0): Output VGA-1 has no monitor section
[   234.509] (II) modeset(0): EDID for output VGA-1
[   234.509] (II) modeset(0): Manufacturer: VBX  Model: 0  Serial#: 41747688
[   234.509] (II) modeset(0): Year: 1990  Week: 1
[   234.509] (II) modeset(0): EDID Version: 1.3
[   234.509] (II) modeset(0): Digital Display Input
[   234.509] (II) modeset(0): Indeterminate output size
[   234.509] (II) modeset(0): Gamma: 2.20
[   234.509] (II) modeset(0): DPMS capabilities: StandBy Suspend Off
[   234.509] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[   234.509] (II) modeset(0): Default color space is primary color space
[   234.509] (II) modeset(0): First detailed timing is preferred mode
[   234.509] (II) modeset(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
[   234.509] (II) modeset(0): blueX: 0.150 blueY: 0.060   whiteX: 0.312 whiteY: 0.329
[   234.509] (II) modeset(0): Manufacturer's mask: 0
[   234.509] (II) modeset(0): Supported detailed timing:
[   234.509] (II) modeset(0): clock: 48.7 MHz   Image Size:  0 x 0 mm
[   234.509] (II) modeset(0): h_active: 1256  h_sync: 1258  h_sync_end 1260 h_blank_end 1262 h_border: 0
[   234.509] (II) modeset(0): v_active: 637  v_sync: 637  v_sync_end 671 v_blanking: 643 v_border: 0
[   234.509] (II) modeset(0): Ranges: V min: 0 V max: 200 Hz, H min: 0 H max: 200 kHz, PixClock max 1005 MHz
[   234.509] (II) modeset(0): Monitor name: VBOX monitor
[   234.509] (II) modeset(0): EDID (in hex):
[   234.509] (II) modeset(0): 	00ffffffffffff0058580000e8047d02
[   234.509] (II) modeset(0): 	0100010380000078eeee91a3544c9926
[   234.509] (II) modeset(0): 	0f505400000001010101010101010101
[   234.509] (II) modeset(0): 	0101010101010413e806407d06200202
[   234.509] (II) modeset(0): 	0202000000000000000000fd0000c800
[   234.509] (II) modeset(0): 	c864000a202020202020000000fc0056
[   234.509] (II) modeset(0): 	424f58206d6f6e69746f720a00000010
[   234.509] (II) modeset(0): 	000a202020202020202020202020000a
[   234.509] (II) modeset(0): Printing probed modes for output VGA-1
[   234.509] (II) modeset(0): Modeline "1256x637"x60.0   63.85  1256 1312 1432 1608  637 640 650 662 -hsync +vsync (39.7 kHz P)
[   234.509] (II) modeset(0): Modeline "2560x1600"x60.0  348.50  2560 2752 3032 3504  1600 1603 1609 1658 -hsync +vsync (99.5 kHz e)
[   234.509] (II) modeset(0): Modeline "2560x1600"x60.0  268.50  2560 2608 2640 2720  1600 1603 1609 1646 +hsync -vsync (98.7 kHz e)
[   234.509] (II) modeset(0): Modeline "1920x1440"x60.0  234.00  1920 2048 2256 2600  1440 1441 1444 1500 -hsync +vsync (90.0 kHz e)
[   234.509] (II) modeset(0): Modeline "1856x1392"x60.0  218.25  1856 1952 2176 2528  1392 1393 1396 1439 -hsync +vsync (86.3 kHz e)
[   234.509] (II) modeset(0): Modeline "1792x1344"x60.0  204.75  1792 1920 2120 2448  1344 1345 1348 1394 -hsync +vsync (83.6 kHz e)
[   234.509] (II) modeset(0): Modeline "2048x1152"x60.0  162.00  2048 2074 2154 2250  1152 1153 1156 1200 +hsync +vsync (72.0 kHz e)
[   234.509] (II) modeset(0): Modeline "1920x1200"x59.9  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync (74.6 kHz e)
[   234.509] (II) modeset(0): Modeline "1920x1200"x60.0  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync (74.0 kHz e)
[   234.509] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 -hsync -vsync (67.5 kHz e)
[   234.510] (II) modeset(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[   234.510] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[   234.510] (II) modeset(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[   234.510] (II) modeset(0): Modeline "1400x1050"x60.0  121.75  1400 1488 1632 1864  1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[   234.510] (II) modeset(0): Modeline "1400x1050"x59.9  101.00  1400 1448 1480 1560  1050 1053 1057 1080 +hsync -vsync (64.7 kHz e)
[   234.510] (II) modeset(0): Modeline "1600x900"x60.0  108.00  1600 1624 1704 1800  900 901 904 1000 +hsync +vsync (60.0 kHz e)
[   234.510] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[   234.510] (II) modeset(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[   234.510] (II) modeset(0): Modeline "1440x900"x59.9   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[   234.510] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[   234.510] (II) modeset(0): Modeline "1366x768"x59.8   85.50  1366 1436 1579 1792  768 771 774 798 +hsync +vsync (47.7 kHz e)
[   234.510] (II) modeset(0): Modeline "1366x768"x60.0   72.00  1366 1380 1436 1500  768 769 772 800 +hsync +vsync (48.0 kHz e)
[   234.510] (II) modeset(0): Modeline "1360x768"x60.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[   234.510] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
[   234.510] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[   234.510] (II) modeset(0): Modeline "1280x768"x59.9   79.50  1280 1344 1472 1664  768 771 778 798 -hsync +vsync (47.8 kHz e)
[   234.510] (II) modeset(0): Modeline "1280x768"x60.0   68.25  1280 1328 1360 1440  768 771 778 790 +hsync -vsync (47.4 kHz e)
[   234.510] (II) modeset(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[   234.510] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   234.510] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   234.510] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[   234.510] (II) modeset(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[   234.510] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   234.510] (II) modeset(0): Output VGA-1 connected
[   234.510] (II) modeset(0): Using exact sizes for initial modes
[   234.510] (II) modeset(0): Output VGA-1 using initial mode 1256x637 +0+0
[   234.510] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   234.510] (==) modeset(0): DPI set to (96, 96)
[   234.510] (II) Loading sub module "fb"
[   234.510] (II) LoadModule: "fb"
[   234.510] (II) Loading /usr/lib/xorg/modules/libfb.so
[   234.510] (II) Module fb: vendor="X.Org Foundation"
[   234.510] 	compiled for 1.20.4, module version = 1.0.0
[   234.510] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   234.510] (II) UnloadModule: "fbdev"
[   234.510] (II) Unloading fbdev
[   234.510] (II) UnloadSubModule: "fbdevhw"
[   234.510] (II) Unloading fbdevhw
[   234.510] (II) UnloadModule: "vesa"
[   234.510] (II) Unloading vesa
[   234.510] (==) modeset(0): Backing store enabled
[   234.510] (==) modeset(0): Silken mouse disabled
[   234.510] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[   234.511] (==) modeset(0): DPMS enabled
[   234.511] (II) Initializing extension Generic Event Extension
[   234.511] (II) Initializing extension SHAPE
[   234.511] (II) Initializing extension MIT-SHM
[   234.511] (II) Initializing extension XInputExtension
[   234.511] (II) Initializing extension XTEST
[   234.511] (II) Initializing extension BIG-REQUESTS
[   234.511] (II) Initializing extension SYNC
[   234.511] (II) Initializing extension XKEYBOARD
[   234.511] (II) Initializing extension XC-MISC
[   234.511] (II) Initializing extension SECURITY
[   234.511] (II) Initializing extension XFIXES
[   234.511] (II) Initializing extension RENDER
[   234.511] (II) Initializing extension RANDR
[   234.511] (II) Initializing extension COMPOSITE
[   234.511] (II) Initializing extension DAMAGE
[   234.511] (II) Initializing extension MIT-SCREEN-SAVER
[   234.511] (II) Initializing extension DOUBLE-BUFFER
[   234.511] (II) Initializing extension RECORD
[   234.511] (II) Initializing extension DPMS
[   234.511] (II) Initializing extension Present
[   234.511] (II) Initializing extension DRI3
[   234.511] (II) Initializing extension X-Resource
[   234.511] (II) Initializing extension XVideo
[   234.511] (II) Initializing extension XVideo-MotionCompensation
[   234.511] (II) Initializing extension GLX
[   234.511] (II) AIGLX: Screen 0 is not DRI2 capable
[   234.515] (II) IGLX: Loaded and initialized swrast
[   234.515] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   234.515] (II) Initializing extension XFree86-VidModeExtension
[   234.515] (II) Initializing extension XFree86-DGA
[   234.515] (II) Initializing extension XFree86-DRI
[   234.515] (II) Initializing extension DRI2
[   234.515] (II) modeset(0): Damage tracking initialized
[   234.515] (II) modeset(0): Setting screen physical size to 332 x 168
[   234.572] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   234.572] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   234.572] (II) LoadModule: "libinput"
[   234.572] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   234.573] (II) Module libinput: vendor="X.Org Foundation"
[   234.573] 	compiled for 1.20.3, module version = 0.28.2
[   234.573] 	Module class: X.Org XInput Driver
[   234.573] 	ABI class: X.Org XInput driver, version 24.1
[   234.573] (II) Using input driver 'libinput' for 'Power Button'
[   234.575] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 13 paused 0
[   234.575] (**) Power Button: always reports core events
[   234.575] (**) Option "Device" "/dev/input/event0"
[   234.575] (**) Option "_source" "server/udev"
[   234.576] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   234.576] (II) event0  - Power Button: device is a keyboard
[   234.576] (II) event0  - Power Button: device removed
[   234.576] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0/event0"
[   234.576] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   234.577] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   234.577] (II) event0  - Power Button: device is a keyboard
[   234.577] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[   234.577] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   234.577] (II) Using input driver 'libinput' for 'Sleep Button'
[   234.578] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 16 paused 0
[   234.578] (**) Sleep Button: always reports core events
[   234.578] (**) Option "Device" "/dev/input/event1"
[   234.578] (**) Option "_source" "server/udev"
[   234.578] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   234.578] (II) event1  - Sleep Button: device is a keyboard
[   234.578] (II) event1  - Sleep Button: device removed
[   234.578] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSLPBN:00/input/input1/event1"
[   234.578] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[   234.579] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   234.579] (II) event1  - Sleep Button: device is a keyboard
[   234.580] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
[   234.580] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   234.580] (II) Using input driver 'libinput' for 'Video Bus'
[   234.580] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 17 paused 0
[   234.580] (**) Video Bus: always reports core events
[   234.580] (**) Option "Device" "/dev/input/event2"
[   234.580] (**) Option "_source" "server/udev"
[   234.581] (II) event2  - Video Bus: is tagged by udev as: Keyboard
[   234.581] (II) event2  - Video Bus: device is a keyboard
[   234.581] (II) event2  - Video Bus: device removed
[   234.581] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input2/event2"
[   234.581] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[   234.582] (II) event2  - Video Bus: is tagged by udev as: Keyboard
[   234.582] (II) event2  - Video Bus: device is a keyboard
[   234.582] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/event5)
[   234.583] (**) VirtualBox mouse integration: Applying InputClass "libinput pointer catchall"
[   234.583] (II) Using input driver 'libinput' for 'VirtualBox mouse integration'
[   234.583] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 18 paused 0
[   234.583] (**) VirtualBox mouse integration: always reports core events
[   234.583] (**) Option "Device" "/dev/input/event5"
[   234.583] (**) Option "_source" "server/udev"
[   234.584] (II) event5  - VirtualBox mouse integration: is tagged by udev as: Mouse
[   234.584] (II) event5  - VirtualBox mouse integration: device is a pointer
[   234.584] (II) event5  - VirtualBox mouse integration: device removed
[   234.584] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.0/input/input6/event5"
[   234.584] (II) XINPUT: Adding extended input device "VirtualBox mouse integration" (type: MOUSE, id 9)
[   234.585] (**) Option "AccelerationScheme" "none"
[   234.585] (**) VirtualBox mouse integration: (accel) selected scheme none/0
[   234.585] (**) VirtualBox mouse integration: (accel) acceleration factor: 2.000
[   234.585] (**) VirtualBox mouse integration: (accel) acceleration threshold: 4
[   234.585] (II) event5  - VirtualBox mouse integration: is tagged by udev as: Mouse
[   234.585] (II) event5  - VirtualBox mouse integration: device is a pointer
[   234.586] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/js1)
[   234.586] (II) No input driver specified, ignoring this device.
[   234.586] (II) This device may have been added with another device file.
[   234.586] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/mouse1)
[   234.586] (II) No input driver specified, ignoring this device.
[   234.586] (II) This device may have been added with another device file.
[   234.586] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/event4)
[   234.586] (**) VirtualBox USB Tablet: Applying InputClass "libinput pointer catchall"
[   234.587] (II) Using input driver 'libinput' for 'VirtualBox USB Tablet'
[   234.641] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 19 paused 0
[   234.642] (**) VirtualBox USB Tablet: always reports core events
[   234.642] (**) Option "Device" "/dev/input/event4"
[   234.642] (**) Option "_source" "server/udev"
[   234.644] (II) event4  - VirtualBox USB Tablet: is tagged by udev as: Mouse
[   234.644] (II) event4  - VirtualBox USB Tablet: device is a pointer
[   234.645] (II) event4  - VirtualBox USB Tablet: device removed
[   234.645] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.0/usb1/1-1/1-1:1.0/0003:80EE:0021.0001/input/input5/event4"
[   234.645] (II) XINPUT: Adding extended input device "VirtualBox USB Tablet" (type: MOUSE, id 10)
[   234.645] (**) Option "AccelerationScheme" "none"
[   234.645] (**) VirtualBox USB Tablet: (accel) selected scheme none/0
[   234.645] (**) VirtualBox USB Tablet: (accel) acceleration factor: 2.000
[   234.645] (**) VirtualBox USB Tablet: (accel) acceleration threshold: 4
[   234.647] (II) event4  - VirtualBox USB Tablet: is tagged by udev as: Mouse
[   234.647] (II) event4  - VirtualBox USB Tablet: device is a pointer
[   234.648] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/js0)
[   234.648] (II) No input driver specified, ignoring this device.
[   234.648] (II) This device may have been added with another device file.
[   234.649] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/mouse0)
[   234.649] (II) No input driver specified, ignoring this device.
[   234.649] (II) This device may have been added with another device file.
[   234.650] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[   234.650] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[   234.650] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[   234.652] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 20 paused 0
[   234.652] (**) AT Translated Set 2 keyboard: always reports core events
[   234.652] (**) Option "Device" "/dev/input/event3"
[   234.652] (**) Option "_source" "server/udev"
[   234.653] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   234.653] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[   234.654] (II) event3  - AT Translated Set 2 keyboard: device removed
[   234.654] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[   234.654] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[   234.656] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   234.656] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[   234.658] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/event7)
[   234.658] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "libinput pointer catchall"
[   234.658] (II) Using input driver 'libinput' for 'ImExPS/2 Generic Explorer Mouse'
[   234.659] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 21 paused 0
[   234.659] (**) ImExPS/2 Generic Explorer Mouse: always reports core events
[   234.659] (**) Option "Device" "/dev/input/event7"
[   234.659] (**) Option "_source" "server/udev"
[   234.659] (II) event7  - ImExPS/2 Generic Explorer Mouse: is tagged by udev as: Mouse
[   234.660] (II) event7  - ImExPS/2 Generic Explorer Mouse: device is a pointer
[   234.660] (II) event7  - ImExPS/2 Generic Explorer Mouse: device removed
[   234.660] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input8/event7"
[   234.660] (II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" (type: MOUSE, id 12)
[   234.660] (**) Option "AccelerationScheme" "none"
[   234.660] (**) ImExPS/2 Generic Explorer Mouse: (accel) selected scheme none/0
[   234.660] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration factor: 2.000
[   234.660] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration threshold: 4
[   234.661] (II) event7  - ImExPS/2 Generic Explorer Mouse: is tagged by udev as: Mouse
[   234.661] (II) event7  - ImExPS/2 Generic Explorer Mouse: device is a pointer
[   234.661] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/mouse2)
[   234.661] (II) No input driver specified, ignoring this device.
[   234.661] (II) This device may have been added with another device file.
[   234.662] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[   234.662] (II) No input driver specified, ignoring this device.
[   234.662] (II) This device may have been added with another device file.
[   234.667] (II) modeset(0): EDID vendor "VBX", prod id 0
[   234.667] (II) modeset(0): DDCModeFromDetailedTiming: 1256x637 Warning: We only handle separate sync.
[   234.667] (II) modeset(0): Using EDID range info for horizontal sync
[   234.667] (II) modeset(0): Using EDID range info for vertical refresh
[   234.679] (**) Option "fd" "13"
[   234.679] (II) event0  - Power Button: device removed
[   234.679] (**) Option "fd" "16"
[   234.679] (II) event1  - Sleep Button: device removed
[   234.679] (**) Option "fd" "17"
[   234.679] (II) event2  - Video Bus: device removed
[   234.680] (**) Option "fd" "18"
[   234.680] (II) event5  - VirtualBox mouse integration: device removed
[   234.680] (**) Option "fd" "19"
[   234.680] (II) event4  - VirtualBox USB Tablet: device removed
[   234.680] (**) Option "fd" "20"
[   234.680] (II) event3  - AT Translated Set 2 keyboard: device removed
[   234.680] (**) Option "fd" "21"
[   234.680] (II) event7  - ImExPS/2 Generic Explorer Mouse: device removed
[   234.680] (II) UnloadModule: "libinput"
[   234.680] (II) systemd-logind: releasing fd for 13:71
[   234.691] (II) UnloadModule: "libinput"
[   234.691] (II) systemd-logind: releasing fd for 13:67
[   234.700] (II) UnloadModule: "libinput"
[   234.701] (II) systemd-logind: releasing fd for 13:68
[   234.721] (II) UnloadModule: "libinput"
[   234.721] (II) systemd-logind: releasing fd for 13:69
[   234.741] (II) UnloadModule: "libinput"
[   234.741] (II) systemd-logind: releasing fd for 13:66
[   234.761] (II) UnloadModule: "libinput"
[   234.761] (II) systemd-logind: releasing fd for 13:65
[   234.771] (II) UnloadModule: "libinput"
[   234.771] (II) systemd-logind: releasing fd for 13:64
[   234.787] (II) Server terminated successfully (0). Closing log file.

I guess I missed a step in the installation/configuration of xorg, but I don't know which one.

I have two error messages:

(EE) Failed to load module "vboxvideo" (module does not exist, 0)
(EE) modeset(0): glamor initialization failed

Can anyone help?

Last edited by neopium (2019-05-03 10:16:53)

Offline

#2 2019-05-02 21:11:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Cannot start X in virtualbox

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-05-03 07:28:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,659

Re: [SOLVED] Cannot start X in virtualbox

These errors are normal if you don't have acceleration set up in virtualbox. FWIW from that log xorg starts up and exits cleanly. What do you expect to see on startx? Also just as a general disclaimer you usually don't want to add your user to all those groups (apart from wheel,uucp) as systemd should handle proper access to them.

Offline

#4 2019-05-03 10:16:29

neopium
Member
Registered: 2019-05-02
Posts: 85

Re: [SOLVED] Cannot start X in virtualbox

Thank you for your answer

V1del wrote:

What do you expect to see on startx?.

I think that's the question I should have asked myself first :-D.

I expected my WM to launch. But actually, there is nowhere in my installation where I ask for it to start. So it does not start.

I installed lighdm and it now works: I see the graphical login. And when I log in, my WM is launched.

V1del wrote:

Also just as a general disclaimer you usually don't want to add your user to all those groups (apart from wheel,uucp) as systemd should handle proper access to them.

I didn't know, I've seen that in a tutorial. I thought it was necessary to control the audio with special rights for instance. I've removed those groups.

Offline

Board footer

Powered by FluxBB