Мне удалось запустить «Рабочие столы Gnome» в Docker контейнерах, размещенных на CentOS7. Docker работает в режиме --privileged
. Доступ к каждому контейнеру GUI осуществляется через переадресацию X11.
Иногда странное поведение при использовании клавиатуры или мыши в одном контейнере, входные данные отправляются в другой контейнер.
Я подозреваю, что создание клавиатуры и мышей evdev запись в /usr/share/X11/xorg.conf.d/10-evdev.conf unique может решить эту проблему. Вместо catchall
, какие возможные значения попробовать?
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection