You are not logged in.

#1 2019-01-24 17:03:06

lugge
Member
Registered: 2017-03-17
Posts: 38

[SOLVED] X server starts, but nothing showing

OK, so I did a fresh Arch installation in a VirtualBox VM running under an Manjaro host.
I worked through the Installation Guide without issues. Network is up and running.
My next goal is to get X and xterm running before proceeding with i3.

What I did so far:
- created non-root user
- installed xorg-server, xorg-xinit, xterm, VM guest utils
- edited .xinitrc

When calling startx (as normal user, without root) everything seems fine, but no xterm is showing. In fact, the tty I am prints the usual Xorg welcome text, but the tty does not switch to graphic mode.
Instead, tty1 seems freezed.
However, I still can switch and log in to other tty and do stuff.
See attached screenshot for this.

https://i.imgur.com/asDOLfO.png

This is my .xinitrc

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then

    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then


    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi


exec xterm

.local/share/xorg/Xorg.0.log:

[    24.703] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[    24.703] 
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[    24.704] Build Operating System: Linux Arch Linux
[    24.704] Current Operating System: Linux lugge-VM 4.20.3-arch1-1-ARCH #1 SMP PREEMPT Wed Jan 16 22:38:58 UTC 2019 x86_64
[    24.704] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=92947653-85c2-43ac-bfce-e202195e328f rw quiet
[    24.704] Build Date: 25 October 2018  04:42:32PM
[    24.704]  
[    24.704] Current version of pixman: 0.36.0
[    24.704] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    24.704] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    24.704] (==) Log file: "/home/lugge/.local/share/xorg/Xorg.0.log", Time: Thu Jan 24 16:23:47 2019
[    24.739] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    24.759] (==) No Layout section.  Using the first Screen section.
[    24.759] (==) No screen section available. Using defaults.
[    24.759] (**) |-->Screen "Default Screen Section" (0)
[    24.759] (**) |   |-->Monitor "<default monitor>"
[    24.765] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    24.765] (==) Automatically adding devices
[    24.765] (==) Automatically enabling devices
[    24.765] (==) Automatically adding GPU devices
[    24.765] (==) Automatically binding GPU devices
[    24.765] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    24.781] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    24.781] 	Entry deleted from font path.
[    24.808] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    24.808] 	Entry deleted from font path.
[    24.808] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    24.808] 	Entry deleted from font path.
[    24.853] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    24.853] (==) ModulePath set to "/usr/lib/xorg/modules"
[    24.853] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    24.853] (II) Module ABI versions:
[    24.853] 	X.Org ANSI C Emulation: 0.4
[    24.853] 	X.Org Video Driver: 24.0
[    24.853] 	X.Org XInput driver : 24.1
[    24.853] 	X.Org Server Extension : 10.0
[    24.854] (++) using VT number 1

[    24.855] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    24.857] (II) xfree86: Adding drm device (/dev/dri/card0)
[    24.859] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[    24.863] (--) PCI:*(0@0:2:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xf0000000/134217728, 0xf8000000/2097152, I/O @ 0x0000d010/16, BIOS @ 0x????????/131072
[    24.863] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    24.863] (II) LoadModule: "glx"
[    24.882] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    24.991] (II) Module glx: vendor="X.Org Foundation"
[    24.991] 	compiled for 1.20.3, module version = 1.0.0
[    24.991] 	ABI class: X.Org Server Extension, version 10.0
[    24.991] (==) Matched vmware as autoconfigured driver 0
[    24.991] (==) Matched modesetting as autoconfigured driver 1
[    24.991] (==) Matched fbdev as autoconfigured driver 2
[    24.991] (==) Matched vesa as autoconfigured driver 3
[    24.991] (==) Assigned the driver to the xf86ConfigLayout
[    24.991] (II) LoadModule: "vmware"
[    25.000] (WW) Warning, couldn't open module vmware
[    25.000] (EE) Failed to load module "vmware" (module does not exist, 0)
[    25.000] (II) LoadModule: "modesetting"
[    25.000] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    25.036] (II) Module modesetting: vendor="X.Org Foundation"
[    25.036] 	compiled for 1.20.3, module version = 1.20.3
[    25.036] 	Module class: X.Org Video Driver
[    25.036] 	ABI class: X.Org Video Driver, version 24.0
[    25.036] (II) LoadModule: "fbdev"
[    25.036] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    25.046] (II) Module fbdev: vendor="X.Org Foundation"
[    25.046] 	compiled for 1.20.0, module version = 0.5.0
[    25.046] 	Module class: X.Org Video Driver
[    25.046] 	ABI class: X.Org Video Driver, version 24.0
[    25.046] (II) LoadModule: "vesa"
[    25.046] (WW) Warning, couldn't open module vesa
[    25.046] (EE) Failed to load module "vesa" (module does not exist, 0)
[    25.046] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    25.046] (II) FBDEV: driver for framebuffer: fbdev
[    25.046] (II) modeset(0): using drv /dev/dri/card0
[    25.046] (WW) Falling back to old probe method for fbdev
[    25.046] (II) Loading sub module "fbdevhw"
[    25.046] (II) LoadModule: "fbdevhw"
[    25.046] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    25.058] (II) Module fbdevhw: vendor="X.Org Foundation"
[    25.058] 	compiled for 1.20.3, module version = 0.0.2
[    25.058] 	ABI class: X.Org Video Driver, version 24.0
[    25.058] (EE) open /dev/fb0: Permission denied
[    25.058] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    25.058] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    25.058] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    25.058] (==) modeset(0): RGB weight 888
[    25.058] (==) modeset(0): Default visual is TrueColor
[    25.058] (II) Loading sub module "glamoregl"
[    25.058] (II) LoadModule: "glamoregl"
[    25.058] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    25.326] (II) Module glamoregl: vendor="X.Org Foundation"
[    25.326] 	compiled for 1.20.3, module version = 1.0.1
[    25.326] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    26.651] (II) modeset(0): glamor X acceleration enabled on SVGA3D; build: RELEASE;  LLVM;
[    26.651] (II) modeset(0): glamor initialized
[    26.651] (II) modeset(0): Output Virtual-1 has no monitor section
[    26.651] (II) modeset(0): Output Virtual-2 has no monitor section
[    26.651] (II) modeset(0): Output Virtual-3 has no monitor section
[    26.651] (II) modeset(0): Output Virtual-4 has no monitor section
[    26.651] (II) modeset(0): Output Virtual-5 has no monitor section
[    26.652] (II) modeset(0): Output Virtual-6 has no monitor section
[    26.652] (II) modeset(0): Output Virtual-7 has no monitor section
[    26.652] (II) modeset(0): Output Virtual-8 has no monitor section
[    26.652] (II) modeset(0): EDID for output Virtual-1
[    26.652] (II) modeset(0): Printing probed modes for output Virtual-1
[    26.652] (II) modeset(0): Modeline "preferred"x60.0   42.75  800 850 900 950  600 650 700 750 -hsync +vsync (45.0 kHz eP)
[    26.652] (II) modeset(0): Modeline "2560x1600"x60.0  348.50  2560 2752 3032 3504  1600 1603 1609 1658 -hsync +vsync (99.5 kHz e)
[    26.652] (II) modeset(0): Modeline "1920x1440"x60.0  234.00  1920 2048 2256 2600  1440 1441 1444 1500 -hsync +vsync (90.0 kHz e)
[    26.652] (II) modeset(0): Modeline "1856x1392"x60.0  218.25  1856 1952 2176 2528  1392 1393 1396 1439 -hsync +vsync (86.3 kHz e)
[    26.652] (II) modeset(0): Modeline "1792x1344"x60.0  204.75  1792 1920 2120 2448  1344 1345 1348 1394 -hsync +vsync (83.6 kHz e)
[    26.652] (II) modeset(0): Modeline "1920x1200"x59.9  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync (74.6 kHz e)
[    26.652] (II) modeset(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[    26.652] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[    26.652] (II) modeset(0): Modeline "1400x1050"x60.0  121.75  1400 1488 1632 1864  1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[    26.652] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    26.652] (II) modeset(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[    26.652] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[    26.653] (II) modeset(0): Modeline "1360x768"x60.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[    26.653] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 +hsync -vsync (49.7 kHz e)
[    26.653] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    26.653] (II) modeset(0): Modeline "1280x768"x59.9   79.50  1280 1344 1472 1664  768 771 778 798 -hsync +vsync (47.8 kHz e)
[    26.653] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    26.653] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    26.653] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz e)
[    26.653] (II) modeset(0): EDID for output Virtual-2
[    26.653] (II) modeset(0): EDID for output Virtual-3
[    26.653] (II) modeset(0): EDID for output Virtual-4
[    26.653] (II) modeset(0): EDID for output Virtual-5
[    26.653] (II) modeset(0): EDID for output Virtual-6
[    26.653] (II) modeset(0): EDID for output Virtual-7
[    26.653] (II) modeset(0): EDID for output Virtual-8
[    26.653] (II) modeset(0): Output Virtual-1 connected
[    26.653] (II) modeset(0): Output Virtual-2 disconnected
[    26.653] (II) modeset(0): Output Virtual-3 disconnected
[    26.653] (II) modeset(0): Output Virtual-4 disconnected
[    26.653] (II) modeset(0): Output Virtual-5 disconnected
[    26.653] (II) modeset(0): Output Virtual-6 disconnected
[    26.653] (II) modeset(0): Output Virtual-7 disconnected
[    26.653] (II) modeset(0): Output Virtual-8 disconnected
[    26.653] (II) modeset(0): Using exact sizes for initial modes
[    26.653] (II) modeset(0): Output Virtual-1 using initial mode preferred +0+0
[    26.653] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    26.653] (==) modeset(0): DPI set to (96, 96)
[    26.653] (II) Loading sub module "fb"
[    26.653] (II) LoadModule: "fb"
[    26.653] (II) Loading /usr/lib/xorg/modules/libfb.so
[    26.657] (II) Module fb: vendor="X.Org Foundation"
[    26.657] 	compiled for 1.20.3, module version = 1.0.0
[    26.657] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    26.657] (II) UnloadModule: "fbdev"
[    26.657] (II) Unloading fbdev
[    26.657] (II) UnloadSubModule: "fbdevhw"
[    26.657] (II) Unloading fbdevhw
[    26.720] (==) modeset(0): Backing store enabled
[    26.720] (==) modeset(0): Silken mouse disabled
[    26.721] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    26.721] (==) modeset(0): DPMS enabled
[    26.722] (II) modeset(0): [DRI2] Setup complete
[    26.722] (II) modeset(0): [DRI2]   DRI driver: vmwgfx
[    26.722] (II) modeset(0): [DRI2]   VDPAU driver: vmwgfx
[    26.722] (II) Initializing extension Generic Event Extension
[    26.722] (II) Initializing extension SHAPE
[    26.722] (II) Initializing extension MIT-SHM
[    26.722] (II) Initializing extension XInputExtension
[    26.722] (II) Initializing extension XTEST
[    26.722] (II) Initializing extension BIG-REQUESTS
[    26.722] (II) Initializing extension SYNC
[    26.722] (II) Initializing extension XKEYBOARD
[    26.722] (II) Initializing extension XC-MISC
[    26.722] (II) Initializing extension SECURITY
[    26.722] (II) Initializing extension XFIXES
[    26.722] (II) Initializing extension RENDER
[    26.722] (II) Initializing extension RANDR
[    26.722] (II) Initializing extension COMPOSITE
[    26.722] (II) Initializing extension DAMAGE
[    26.722] (II) Initializing extension MIT-SCREEN-SAVER
[    26.722] (II) Initializing extension DOUBLE-BUFFER
[    26.722] (II) Initializing extension RECORD
[    26.722] (II) Initializing extension DPMS
[    26.722] (II) Initializing extension Present
[    26.722] (II) Initializing extension DRI3
[    26.722] (II) Initializing extension X-Resource
[    26.722] (II) Initializing extension XVideo
[    26.722] (II) Initializing extension XVideo-MotionCompensation
[    26.722] (II) Initializing extension GLX
[    26.725] (II) AIGLX: Loaded and initialized vmwgfx
[    26.725] (II) GLX: Initialized DRI2 GL provider for screen 0
[    26.725] (II) Initializing extension XFree86-VidModeExtension
[    26.725] (II) Initializing extension XFree86-DGA
[    26.725] (II) Initializing extension XFree86-DRI
[    26.725] (II) Initializing extension DRI2
[    26.725] (II) modeset(0): Damage tracking initialized
[    26.725] (II) modeset(0): Setting screen physical size to 211 x 158
[    26.864] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    26.864] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    26.864] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    26.864] (II) LoadModule: "libinput"
[    26.864] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    26.876] (II) Module libinput: vendor="X.Org Foundation"
[    26.876] 	compiled for 1.20.1, module version = 0.28.1
[    26.876] 	Module class: X.Org XInput Driver
[    26.876] 	ABI class: X.Org XInput driver, version 24.1
[    26.876] (II) Using input driver 'libinput' for 'Power Button'
[    26.877] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 17 paused 0
[    26.877] (**) Power Button: always reports core events
[    26.877] (**) Option "Device" "/dev/input/event0"
[    26.877] (**) Option "_source" "server/udev"
[    26.889] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    26.889] (II) event0  - Power Button: device is a keyboard
[    26.889] (II) event0  - Power Button: device removed
[    26.889] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0/event0"
[    26.889] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    26.890] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    26.890] (II) event0  - Power Button: device is a keyboard
[    26.890] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[    26.891] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    26.891] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    26.891] (II) Using input driver 'libinput' for 'Sleep Button'
[    26.892] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 20 paused 0
[    26.892] (**) Sleep Button: always reports core events
[    26.892] (**) Option "Device" "/dev/input/event1"
[    26.892] (**) Option "_source" "server/udev"
[    26.892] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[    26.892] (II) event1  - Sleep Button: device is a keyboard
[    26.892] (II) event1  - Sleep Button: device removed
[    26.892] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSLPBN:00/input/input1/event1"
[    26.892] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[    26.893] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[    26.893] (II) event1  - Sleep Button: device is a keyboard
[    26.894] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
[    26.894] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    26.894] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    26.894] (II) Using input driver 'libinput' for 'Video Bus'
[    26.895] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 21 paused 0
[    26.895] (**) Video Bus: always reports core events
[    26.895] (**) Option "Device" "/dev/input/event2"
[    26.895] (**) Option "_source" "server/udev"
[    26.895] (II) event2  - Video Bus: is tagged by udev as: Keyboard
[    26.896] (II) event2  - Video Bus: device is a keyboard
[    26.896] (II) event2  - Video Bus: device removed
[    26.896] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input2/event2"
[    26.896] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[    26.896] (II) event2  - Video Bus: is tagged by udev as: Keyboard
[    26.896] (II) event2  - Video Bus: device is a keyboard
[    26.897] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/event5)
[    26.897] (**) VirtualBox mouse integration: Applying InputClass "evdev pointer catchall"
[    26.897] (**) VirtualBox mouse integration: Applying InputClass "libinput pointer catchall"
[    26.897] (II) Using input driver 'libinput' for 'VirtualBox mouse integration'
[    26.898] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 22 paused 0
[    26.898] (**) VirtualBox mouse integration: always reports core events
[    26.898] (**) Option "Device" "/dev/input/event5"
[    26.898] (**) Option "_source" "server/udev"
[    26.899] (II) event5  - VirtualBox mouse integration: is tagged by udev as: Mouse
[    26.899] (II) event5  - VirtualBox mouse integration: device is a pointer
[    26.899] (II) event5  - VirtualBox mouse integration: device removed
[    26.900] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.0/input/input6/event5"
[    26.900] (II) XINPUT: Adding extended input device "VirtualBox mouse integration" (type: MOUSE, id 9)
[    26.900] (**) Option "AccelerationScheme" "none"
[    26.900] (**) VirtualBox mouse integration: (accel) selected scheme none/0
[    26.900] (**) VirtualBox mouse integration: (accel) acceleration factor: 2.000
[    26.900] (**) VirtualBox mouse integration: (accel) acceleration threshold: 4
[    26.901] (II) event5  - VirtualBox mouse integration: is tagged by udev as: Mouse
[    26.901] (II) event5  - VirtualBox mouse integration: device is a pointer
[    26.901] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/js1)
[    26.901] (II) No input driver specified, ignoring this device.
[    26.901] (II) This device may have been added with another device file.
[    26.902] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/mouse1)
[    26.902] (II) No input driver specified, ignoring this device.
[    26.902] (II) This device may have been added with another device file.
[    26.903] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/event4)
[    26.903] (**) VirtualBox USB Tablet: Applying InputClass "evdev pointer catchall"
[    26.903] (**) VirtualBox USB Tablet: Applying InputClass "libinput pointer catchall"
[    26.903] (II) Using input driver 'libinput' for 'VirtualBox USB Tablet'
[    26.960] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 23 paused 0
[    26.960] (**) VirtualBox USB Tablet: always reports core events
[    26.960] (**) Option "Device" "/dev/input/event4"
[    26.960] (**) Option "_source" "server/udev"
[    26.962] (II) event4  - VirtualBox USB Tablet: is tagged by udev as: Mouse
[    26.962] (II) event4  - VirtualBox USB Tablet: device is a pointer
[    26.962] (II) event4  - VirtualBox USB Tablet: device removed
[    26.962] (**) 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"
[    26.962] (II) XINPUT: Adding extended input device "VirtualBox USB Tablet" (type: MOUSE, id 10)
[    26.962] (**) Option "AccelerationScheme" "none"
[    26.962] (**) VirtualBox USB Tablet: (accel) selected scheme none/0
[    26.962] (**) VirtualBox USB Tablet: (accel) acceleration factor: 2.000
[    26.962] (**) VirtualBox USB Tablet: (accel) acceleration threshold: 4
[    26.963] (II) event4  - VirtualBox USB Tablet: is tagged by udev as: Mouse
[    26.964] (II) event4  - VirtualBox USB Tablet: device is a pointer
[    26.964] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/js0)
[    26.964] (II) No input driver specified, ignoring this device.
[    26.964] (II) This device may have been added with another device file.
[    26.965] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/mouse0)
[    26.965] (II) No input driver specified, ignoring this device.
[    26.965] (II) This device may have been added with another device file.
[    26.966] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[    26.966] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    26.966] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    26.966] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    26.966] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 24 paused 0
[    26.966] (**) AT Translated Set 2 keyboard: always reports core events
[    26.966] (**) Option "Device" "/dev/input/event3"
[    26.966] (**) Option "_source" "server/udev"
[    26.967] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    26.967] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    26.968] (II) event3  - AT Translated Set 2 keyboard: device removed
[    26.968] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[    26.968] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[    26.969] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    26.969] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    26.970] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/event7)
[    26.970] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "evdev pointer catchall"
[    26.970] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "libinput pointer catchall"
[    26.970] (II) Using input driver 'libinput' for 'ImExPS/2 Generic Explorer Mouse'
[    26.971] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 25 paused 0
[    26.971] (**) ImExPS/2 Generic Explorer Mouse: always reports core events
[    26.971] (**) Option "Device" "/dev/input/event7"
[    26.971] (**) Option "_source" "server/udev"
[    26.972] (II) event7  - ImExPS/2 Generic Explorer Mouse: is tagged by udev as: Mouse
[    26.972] (II) event7  - ImExPS/2 Generic Explorer Mouse: device is a pointer
[    26.972] (II) event7  - ImExPS/2 Generic Explorer Mouse: device removed
[    26.972] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input8/event7"
[    26.972] (II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" (type: MOUSE, id 12)
[    26.972] (**) Option "AccelerationScheme" "none"
[    26.972] (**) ImExPS/2 Generic Explorer Mouse: (accel) selected scheme none/0
[    26.973] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration factor: 2.000
[    26.973] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration threshold: 4
[    26.973] (II) event7  - ImExPS/2 Generic Explorer Mouse: is tagged by udev as: Mouse
[    26.974] (II) event7  - ImExPS/2 Generic Explorer Mouse: device is a pointer
[    26.974] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/mouse2)
[    26.974] (II) No input driver specified, ignoring this device.
[    26.974] (II) This device may have been added with another device file.
[    26.975] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[    26.975] (II) No input driver specified, ignoring this device.
[    26.975] (II) This device may have been added with another device file.
[    27.185] failed to add fb -22
[    27.185] (EE) modeset(0): failed to set mode: Invalid argument
[   958.293] (**) Option "fd" "17"
[   958.293] (II) event0  - Power Button: device removed
[   958.294] (**) Option "fd" "20"
[   958.294] (II) event1  - Sleep Button: device removed
[   958.294] (**) Option "fd" "21"
[   958.294] (II) event2  - Video Bus: device removed
[   958.294] (**) Option "fd" "22"
[   958.294] (II) event5  - VirtualBox mouse integration: device removed
[   958.294] (**) Option "fd" "23"
[   958.294] (II) event4  - VirtualBox USB Tablet: device removed
[   958.294] (**) Option "fd" "24"
[   958.294] (II) event3  - AT Translated Set 2 keyboard: device removed
[   958.294] (**) Option "fd" "25"
[   958.294] (II) event7  - ImExPS/2 Generic Explorer Mouse: device removed
[   958.294] (II) AIGLX: Suspending AIGLX clients for VT switch
[   958.310] (II) systemd-logind: got pause for 13:65
[   958.310] (II) systemd-logind: got pause for 13:68
[   958.310] (II) systemd-logind: got pause for 226:0
[   958.310] (II) systemd-logind: got pause for 13:66
[   958.310] (II) systemd-logind: got pause for 13:64
[   958.310] (II) systemd-logind: got pause for 13:69
[   958.310] (II) systemd-logind: got pause for 13:67
[   958.310] (II) systemd-logind: got pause for 13:71
[  1052.276] (II) systemd-logind: got resume for 13:65
[  1052.286] (II) systemd-logind: got resume for 13:68
[  1052.288] (II) systemd-logind: got resume for 226:0
[  1052.288] (II) AIGLX: Resuming AIGLX clients after VT switch
[  1052.290] failed to add fb -22
[  1052.290] (EE) modeset(0): failed to set mode: Invalid argument
[  1052.290] (EE) 
Fatal server error:
[  1052.291] (EE) EnterVT failed for screen 0
[  1052.291] (EE) 
[  1052.291] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  1052.291] (EE) Please also check the log file at "/home/lugge/.local/share/xorg/Xorg.0.log" for additional information.
[  1052.291] (EE) 
[  1052.291] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1052.334] (EE) Server terminated with error (1). Closing log file.

For me it seems there are no big issues. Everything fine.

Any ideas whats going on?

Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code

Last edited by lugge (2019-01-26 08:40:18)

Offline

#2 2019-01-24 20:07:40

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,446

Re: [SOLVED] X server starts, but nothing showing

Did you follow all the steps outlined in https://wiki.archlinux.org/index.php/Vi … nux_guests, specifically the parts about loading the kernel modules and launching the guest services?

Also: what (if anything) is in /home/lugge/.local/share/xorg/Xorg.0.log?

Offline

#3 2019-01-25 03:02:10

dmartins
Member
Registered: 2006-09-23
Posts: 360

Re: [SOLVED] X server starts, but nothing showing

What video controller did you select in the guest settings? The only one I've found to work fully in VirtualBox 6.0, at this point, is VBoxVGA.

This looks odd

[    26.652] (II) modeset(0): Modeline "preferred"x60.0   42.75  800 850 900 950  600 650 700 750 -hsync +vsync (45.0 kHz eP)

[    26.653] (II) modeset(0): Output Virtual-1 using initial mode preferred +0+0

[    27.185] failed to add fb -22
[    27.185] (EE) modeset(0): failed to set mode: Invalid argument

It should not say preferred, it should be an XxY resolution

Did you set any custom video modes from the CLI on the host?

Check: VBoxManage getextradata "<vm-name>"

Offline

#4 2019-01-25 06:47:49

lugge
Member
Registered: 2017-03-17
Posts: 38

Re: [SOLVED] X server starts, but nothing showing

twelveeighty wrote:

Did you follow all the steps outlined in https://wiki.archlinux.org/index.php/Vi … nux_guests, specifically the parts about loading the kernel modules and launching the guest services?

I did and lsmod shows the modules up and running.


twelveeighty wrote:

Also: what (if anything) is in /home/lugge/.local/share/xorg/Xorg.0.log?

The log-file from my first post is my /home/lugge/.local/share/xorg/Xorg.0.log.


dmartins wrote:

What video controller did you select in the guest settings? The only one I've found to work fully in VirtualBox 6.0, at this point, is VBoxVGA.

I'm not sure 'cause I'm not at my machine, but if I remember correctly, VBoxVGA is the default controller.
I did not change this, so this should be OK. Will check later.


dmartins wrote:

Did you set any custom video modes from the CLI on the host?

Check: VBoxManage getextradata "<vm-name>"

No I didn't. I will try this, thank you.


Oh, what I forgot in my first post, I also installed

xf86-video-fbdev
xf86-video-vesa

as suggested in https://bbs.archlinux.org/viewtopic.php?id=216047
right after installing X.

These drivers should be used as fallback.
But from my previous Xorg.0.log, X cannot load them:

...
[    25.046] (II) LoadModule: "vesa"
[    25.046] (WW) Warning, couldn't open module vesa
[    25.046] (EE) Failed to load module "vesa" (module does not exist, 0)
[    25.046] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    25.046] (II) FBDEV: driver for framebuffer: fbdev
[    25.046] (II) modeset(0): using drv /dev/dri/card0
[    25.046] (WW) Falling back to old probe method for fbdev
[    25.046] (II) Loading sub module "fbdevhw"
[    25.046] (II) LoadModule: "fbdevhw"
[    25.046] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    25.058] (II) Module fbdevhw: vendor="X.Org Foundation"
[    25.058] 	compiled for 1.20.3, module version = 0.0.2
[    25.058] 	ABI class: X.Org Video Driver, version 24.0
[    25.058] (EE) open /dev/fb0: Permission denied
....

vesa and fbdev should not be necessary because of Guest Additions, however, if they are installed, X should be able to use them.
Can this be a problem?

Offline

#5 2019-01-25 07:56:28

dmartins
Member
Registered: 2006-09-23
Posts: 360

Re: [SOLVED] X server starts, but nothing showing

If you have the VBoxVGA controller selected, and have the guest additions installed (which the logs suggest you do as /dev/dri/card0 exists), then you are correct - the vesa and fbdev drivers are not needed. However, having the xorg vesa and fbdev drivers installed doesn't seem to make any difference one way or the other. The modesetting driver that is bundled with xorg will be used together with the vboxvideo kernel module - this appears to be happening correctly.

From the logs you shared before, I'm fairly certain the problem is a broken video mode set up on the host side. In the output from the VBoxManage command you'd be looking for and entry called CustomVideoMode<xx>. If you find any, you can remove them with VBoxManage setextradata "<vm-name>" "CustomVideoMode<xx>"

Offline

#6 2019-01-25 11:10:53

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,873

Re: [SOLVED] X server starts, but nothing showing

Are host and guest running same version of virtualbox ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#7 2019-01-26 08:39:44

lugge
Member
Registered: 2017-03-17
Posts: 38

Re: [SOLVED] X server starts, but nothing showing

lugge wrote:

dmartins wrote:

    What video controller did you select in the guest settings? The only one I've found to work fully in VirtualBox 6.0, at this point, is VBoxVGA.

I'm not sure 'cause I'm not at my machine, but if I remember correctly, VBoxVGA is the default controller.
I did not change this, so this should be OK. Will check later.

This was it.
For some reason, the Graphic Controller was set to VMSVGA.
Now, with VBoxVGA, a small white window running xterm is showing.
Shame on me :-)

Fun fact: I now also got it working with VMVGA, but for this one has to install xf86-video-vmware.
But as I'm using VBox and not VMware, I will go with VBoxVGA (got to give VBoxSVGA a try).

Thank you!

Offline

#8 2019-01-26 12:07:55

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,873

Re: [SOLVED] X server starts, but nothing showing

lugge wrote:

Fun fact: I now also got it working with VMVGA, but for this one has to install xf86-video-vmware.
But as I'm using VBox and not VMware, I will go with VBoxVGA (got to give VBoxSVGA a try).

vbox 6 release notes wrote:

Graphics: major update of 3D graphics support for Windows guests, and VMSVGA 3D graphics device emulation on Linux and Solaris guests

phoronix on Vbox 6 beta 3 wrote:

First up, VirtualBox 6.0 Beta 3 enables support for the "VMSVGA" graphics device by default. VMSVGA is VMware's SVGA II graphics adapter. Why this is notable for Linux users is that SVGA II has the nice mainlined and upstreamed graphics driver support with the VMware DRM kernel driver and Gallium3D user-space.

My response to that news is :
Finally oracle sees reason and replaces their crummy video support for linux guests with a decent driver.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

Board footer

Powered by FluxBB