Skip to content

Mouse and Keyboard not working in Xorg #185

@Clockiscool1234

Description

@Clockiscool1234

Mouse and keyboard doesnt work when running a Xorg xserver on Debian, but /dev/input/event0 and event1 have data when moving the mouse or typing

Screen.Recording.2025-06-05.095437.mp4

Dockerfile:

FROM --platform=i386 i386/debian:buster
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get clean && apt-get update && apt-get -y upgrade
RUN apt-get -y install xserver-xorg-core \
	xserver-xorg-input-libinput x11-apps \
	xfonts-100dpi xfonts-75dpi xfonts-scalable xinit
RUN apt-get -y remove xserver-xorg-video-amdgpu \
	xserver-xorg-video-ati xserver-xorg-video-intel \
	xserver-xorg-video-nouveau xserver-xorg-video-qxl \
	xserver-xorg-video-radeon xserver-xorg-video-vmware

WORKDIR /root
ENV HOME="/root" TERM="xterm" USER="root" SHELL="/bin/bash" EDITOR="nano" LANG="en_US.UTF-8" LC_ALL="C" DISPLAY=:0
CMD [ "/bin/bash" ]

Xorg log:

[    56.156] config/udev: failed to bind the udev monitor
[    56.288] [config] failed to pre-init udev
[    56.292] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[    56.297] Build Operating System: Linux 5.10.0-10-amd64 i686 Debian
[    56.300] Current Operating System: Linux  4.15.0-54-cheerpx  i386
[    56.305] Build Date: 18 December 2021  09:05:36AM
[    56.309] xorg-server 2:1.20.4-1+deb10u4 (https://www.debian.org/support) 
[    56.314] Current version of pixman: 0.36.0
[    56.318]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    56.321] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    56.473] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun  5 14:31:07 2025
[    56.658] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    56.747] (==) No Layout section.  Using the first Screen section.
[    56.749] (==) No screen section available. Using defaults.
[    56.751] (**) |-->Screen "Default Screen Section" (0)
[    56.753] (**) |   |-->Monitor "<default monitor>"
[    56.916] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    56.927] (==) Automatically adding devices
[    56.929] (==) Automatically enabling devices
[    56.931] (==) Automatically adding GPU devices
[    56.937] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    57.124] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    57.127]    Entry deleted from font path.
[    57.317] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
[    57.319] (==) ModulePath set to "/usr/lib/xorg/modules"
[    57.321] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    57.323] (II) Loader magic: 0x557ce740
[    57.325] (II) Module ABI versions:
[    57.327]    X.Org ANSI C Emulation: 0.4
[    57.328]    X.Org Video Driver: 24.0
[    57.330]    X.Org XInput driver : 24.1
[    57.331]    X.Org Server Extension : 10.0
[    57.362] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory)
[    57.365] (--) using VT number 2

[    57.368] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    57.381] (II) no primary bus or device found
[    57.386] (II) LoadModule: "glx"
[    57.464] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    57.930] (II) Module glx: vendor="X.Org Foundation"
[    57.933]    compiled for 1.20.4, module version = 1.0.0
[    57.935]    ABI class: X.Org Server Extension, version 10.0
[    57.940] (==) Matched modesetting as autoconfigured driver 0
[    57.943] (==) Matched fbdev as autoconfigured driver 1
[    57.945] (==) Matched vesa as autoconfigured driver 2
[    57.948] (==) Assigned the driver to the xf86ConfigLayout
[    57.950] (II) LoadModule: "modesetting"
[    57.958] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    57.973] (II) Module modesetting: vendor="X.Org Foundation"
[    57.975]    compiled for 1.20.4, module version = 1.20.4
[    57.977]    Module class: X.Org Video Driver
[    57.999]    ABI class: X.Org Video Driver, version 24.0
[    58.002] (II) LoadModule: "fbdev"
[    58.010] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    58.068] (II) Module fbdev: vendor="X.Org Foundation"
[    58.071]    compiled for 1.20.0, module version = 0.5.0
[    58.073]    Module class: X.Org Video Driver
[    58.074]    ABI class: X.Org Video Driver, version 24.0
[    58.076] (II) LoadModule: "vesa"
[    58.082] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    58.120] (II) Module vesa: vendor="X.Org Foundation"
[    58.122]    compiled for 1.20.1, module version = 2.4.0
[    58.124]    Module class: X.Org Video Driver
[    58.126]    ABI class: X.Org Video Driver, version 24.0
[    58.129] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    58.134] (II) FBDEV: driver for framebuffer: fbdev
[    58.139] (II) VESA: driver for VESA chipsets: vesa
[    58.151] xf86EnableIOPorts: failed to set IOPL for I/O (Function not implemented)
[    58.153] (WW) Falling back to old probe method for modesetting
[    58.160] (II) modeset(0): using default device
[    58.166] (WW) Falling back to old probe method for fbdev
[    58.169] (II) Loading sub module "fbdevhw"
[    58.171] (II) LoadModule: "fbdevhw"
[    58.187] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    58.216] (II) Module fbdevhw: vendor="X.Org Foundation"
[    58.221]    compiled for 1.20.4, module version = 0.0.2
[    58.223]    ABI class: X.Org Video Driver, version 24.0
[    58.228] (EE) open /dev/fb0: No such file or directory
[    58.232] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    58.239] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    58.243] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    58.249] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[    58.252] (==) modeset(0): RGB weight 888
[    58.253] (==) modeset(0): Default visual is TrueColor
[    58.255] (II) Loading sub module "glamoregl"
[    58.257] (II) LoadModule: "glamoregl"
[    58.274] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    58.643] (II) Module glamoregl: vendor="X.Org Foundation"
[    58.648]    compiled for 1.20.4, module version = 1.0.1
[    58.650]    ABI class: X.Org ANSI C Emulation, version 0.4
[    67.554] (EE) modeset(0): eglInitialize() failed
[    67.655] (EE) modeset(0): glamor initialization failed
[    67.660] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[    67.669] (II) modeset(0): Output None-0 has no monitor section
[    67.696] (II) modeset(0): EDID for output None-0
[    67.758] (II) modeset(0): Printing probed modes for output None-0
[    67.764] (II) modeset(0): Modeline ""x0.0    0.00  800 800 800 800  600 600 600 600 (0.0 kHz)
[    67.768] (II) modeset(0): Output None-0 connected
[    67.776] (II) modeset(0): Using exact sizes for initial modes
[    67.779] (II) modeset(0): Output None-0 using initial mode  +0+0
[    67.791] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    67.793] (==) modeset(0): DPI set to (96, 96)
[    67.795] (II) Loading sub module "fb"
[    67.796] (II) LoadModule: "fb"
[    67.808] (II) Loading /usr/lib/xorg/modules/libfb.so
[    67.842] (II) Module fb: vendor="X.Org Foundation"
[    67.843]    compiled for 1.20.4, module version = 1.0.0
[    67.845]    ABI class: X.Org ANSI C Emulation, version 0.4
[    67.847] (II) UnloadModule: "fbdev"
[    67.850] (II) Unloading fbdev
[    67.855] (II) UnloadSubModule: "fbdevhw"
[    67.858] (II) Unloading fbdevhw
[    67.862] (II) UnloadModule: "vesa"
[    67.890] (II) Unloading vesa
[    67.980] (==) modeset(0): Backing store enabled
[    67.984] (==) modeset(0): Silken mouse enabled
[    68.082] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    68.158] (==) modeset(0): DPMS enabled
[    68.165] (II) Initializing extension Generic Event Extension
[    68.176] (II) Initializing extension SHAPE
[    68.183] (II) Initializing extension MIT-SHM
[    68.190] (II) Initializing extension XInputExtension
[    68.212] (II) Initializing extension XTEST
[    68.226] (II) Initializing extension BIG-REQUESTS
[    68.233] (II) Initializing extension SYNC
[    68.268] (II) Initializing extension XKEYBOARD
[    68.275] (II) Initializing extension XC-MISC
[    68.285] (II) Initializing extension SECURITY
[    68.293] (II) Initializing extension XFIXES
[    68.322] (II) Initializing extension RENDER
[    68.332] (II) Initializing extension RANDR
[    68.342] (II) Initializing extension COMPOSITE
[    68.404] (II) Initializing extension DAMAGE
[    68.413] (II) Initializing extension MIT-SCREEN-SAVER
[    68.420] (II) Initializing extension DOUBLE-BUFFER
[    68.428] (II) Initializing extension RECORD
[    68.434] (II) Initializing extension DPMS
[    68.441] (II) Initializing extension Present
[    68.453] (II) Initializing extension DRI3
[    68.456] (II) Initializing extension X-Resource
[    68.463] (II) Initializing extension XVideo
[    68.470] (II) Initializing extension XVideo-MotionCompensation
[    68.472] (II) Initializing extension SELinux
[    68.474] (II) SELinux: Disabled on system
[    68.476] (II) Initializing extension GLX
[    68.487] (II) AIGLX: Screen 0 is not DRI2 capable
[    68.930] (II) IGLX: Loaded and initialized swrast
[    68.935] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    68.937] (II) Initializing extension XFree86-VidModeExtension
[    68.945] (II) Initializing extension XFree86-DGA
[    68.952] (II) Initializing extension XFree86-DRI
[    68.955] (II) Initializing extension DRI2
[    69.001] (II) modeset(0): Damage tracking initialized
[    69.007] (II) modeset(0): Setting screen physical size to 211 x 158
[    73.716] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory)
[    83.723] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory)
[    93.734] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions