Подскажите, в какую сторону двигаться. Хочу поставить Хсервер в контейнере. Убунту на virtualbox. Поставила гостевые дополнения, пакеты xorg, unity. В конфиг файле контейнера прописала доступ к /dev/dri/card0, tty и /dev/input/mice. Создала их mknodом в контейнере. Пробовала несколько раз запускать с разными пакетами, самый лучший итог - это прогрузка фона и движение мыши, но кнопки ни на мыши, ни на клаве не работают.
может кто сталкивался с таким?
Вот лог файл (запускается Хсервер, экран становится черным, увеличивается, возвращается к старым размерам и появляется консоль).
X.Org X Server 1.18.3
Release Date: 2016-04-04
[ 4370.264] X Protocol Version 11, Revision 0
[ 4370.264] Build Operating System: Linux 3.13.0-86-generic x86_64 Ubuntu
[ 4370.264] Current Operating System: Linux c2 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64
[ 4370.264] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-28-generic root=UUID=d934a245-73df-45c2-b2a1-0c08c60552be ro quiet splash
[ 4370.264] Build Date: 18 May 2016 01:07:07AM
[ 4370.264] xorg-server 2:1.18.3-1ubuntu2.2 (For technical support please see http://www.ubuntu.com/support)
[ 4370.264] Current version of pixman: 0.33.6
[ 4370.264] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 4370.264] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 4370.264] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 8 06:50:13 2016
[ 4370.264] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 4370.265] (==) No Layout section. Using the first Screen section.
[ 4370.265] (==) No screen section available. Using defaults.
[ 4370.265] (**) |-->Screen "Default Screen Section" (0)
[ 4370.265] (**) | |-->Monitor "<default monitor>"
[ 4370.265] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 4370.265] (==) Automatically adding devices
[ 4370.265] (==) Automatically enabling devices
[ 4370.265] (==) Automatically adding GPU devices
[ 4370.265] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 4370.265] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 4370.265] Entry deleted from font path.
[ 4370.265] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 4370.265] Entry deleted from font path.
[ 4370.265] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 4370.265] Entry deleted from font path.
[ 4370.265] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 4370.265] Entry deleted from font path.
[ 4370.265] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 4370.265] Entry deleted from font path.
[ 4370.265] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 4370.265] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 4370.265] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 4370.265] (II) Loader magic: 0x5625a979ada0
[ 4370.265] (II) Module ABI versions:
[ 4370.265] X.Org ANSI C Emulation: 0.4
[ 4370.265] X.Org Video Driver: 20.0
[ 4370.265] X.Org XInput driver : 22.1
[ 4370.265] X.Org Server Extension : 9.0
[ 4370.268] (--) using VT number 8
[ 4370.268] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 4370.268] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 4370.276] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/16777216
[ 4370.276] (II) LoadModule: "glx"
[ 4370.276] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 4370.277] (II) Module glx: vendor="X.Org Foundation"
[ 4370.277] compiled for 1.18.3, module version = 1.0.0
[ 4370.277] ABI class: X.Org Server Extension, version 9.0
[ 4370.277] (==) AIGLX enabled
[ 4370.277] (==) Matched vboxvideo as autoconfigured driver 0
[ 4370.277] (==) Matched vboxvideo as autoconfigured driver 1
[ 4370.277] (==) Matched modesetting as autoconfigured driver 2
[ 4370.277] (==) Matched fbdev as autoconfigured driver 3
[ 4370.277] (==) Matched vesa as autoconfigured driver 4
[ 4370.277] (==) Assigned the driver to the xf86ConfigLayout
[ 4370.277] (II) LoadModule: "vboxvideo"
[ 4370.278] (II) Loading /usr/lib/xorg/modules/drivers/vboxvideo_drv.so
[ 4370.278] (II) Module vboxvideo: vendor="Oracle Corporation"
[ 4370.278] compiled for 1.18.0, module version = 1.0.1
[ 4370.278] Module class: X.Org Video Driver
[ 4370.278] ABI class: X.Org Video Driver, version 20.0
[ 4370.278] (**) Load address of symbol "VBOXVIDEO" is 0x7fd54e15f2e0
[ 4370.278] (II) LoadModule: "modesetting"
[ 4370.278] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 4370.278] (II) Module modesetting: vendor="X.Org Foundation"
[ 4370.278] compiled for 1.18.3, module version = 1.18.3
[ 4370.278] Module class: X.Org Video Driver
[ 4370.278] ABI class: X.Org Video Driver, version 20.0
[ 4370.278] (II) LoadModule: "fbdev"
[ 4370.278] (WW) Warning, couldn't open module fbdev
[ 4370.278] (II) UnloadModule: "fbdev"
[ 4370.278] (II) Unloading fbdev
[ 4370.278] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 4370.278] (II) LoadModule: "vesa"
[ 4370.278] (WW) Warning, couldn't open module vesa
[ 4370.278] (II) UnloadModule: "vesa"
[ 4370.278] (II) Unloading vesa
[ 4370.278] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 4370.278] (==) Matched vboxvideo as autoconfigured driver 0
[ 4370.278] (==) Matched vboxvideo as autoconfigured driver 1
[ 4370.278] (==) Matched modesetting as autoconfigured driver 2
[ 4370.278] (==) Matched fbdev as autoconfigured driver 3
[ 4370.278] (==) Matched vesa as autoconfigured driver 4
[ 4370.278] (==) Assigned the driver to the xf86ConfigLayout
[ 4370.278] (II) LoadModule: "vboxvideo"
[ 4370.278] (II) Loading /usr/lib/xorg/modules/drivers/vboxvideo_drv.so
[ 4370.278] (II) Module vboxvideo: vendor="Oracle Corporation"
[ 4370.278] compiled for 1.18.0, module version = 1.0.1
[ 4370.278] Module class: X.Org Video Driver
[ 4370.278] ABI class: X.Org Video Driver, version 20.0
[ 4370.278] (II) UnloadModule: "vboxvideo"
[ 4370.278] (II) Unloading vboxvideo
[ 4370.278] (II) Failed to load module "vboxvideo" (already loaded, 22053)
[ 4370.278] (II) LoadModule: "modesetting"
[ 4370.278] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 4370.278] (II) Module modesetting: vendor="X.Org Foundation"
[ 4370.278] compiled for 1.18.3, module version = 1.18.3
[ 4370.278] Module class: X.Org Video Driver
[ 4370.278] ABI class: X.Org Video Driver, version 20.0
[ 4370.278] (II) UnloadModule: "modesetting"
[ 4370.278] (II) Unloading modesetting
[ 4370.278] (II) Failed to load module "modesetting" (already loaded, 22053)
[ 4370.278] (II) LoadModule: "fbdev"
[ 4370.278] (WW) Warning, couldn't open module fbdev
[ 4370.278] (II) UnloadModule: "fbdev"
[ 4370.278] (II) Unloading fbdev
[ 4370.278] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 4370.278] (II) LoadModule: "vesa"
[ 4370.278] (WW) Warning, couldn't open module vesa
[ 4370.278] (II) UnloadModule: "vesa"
[ 4370.278] (II) Unloading vesa
[ 4370.278] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 4370.278] (II) VBoxVideo: guest driver for VirtualBox: vbox
[ 4370.278] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 4370.294] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 4370.294] (II) vboxvideo: kernel driver found, not loading.
[ 4370.294] (II) vboxvideo: kernel driver found, not loading.
[ 4370.294] (II) vboxvideo: kernel driver found, not loading.
[ 4370.294] (II) modeset(0): using drv /dev/dri/card0
[ 4370.294] (WW) Falling back to old probe method for modesetting
[ 4370.294] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 4370.294] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 4370.294] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 4370.294] (==) modeset(0): RGB weight 888
[ 4370.294] (==) modeset(0): Default visual is TrueColor
[ 4370.294] (II) Loading sub module "glamoregl"
[ 4370.294] (II) LoadModule: "glamoregl"
[ 4370.295] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 4370.301] (II) Module glamoregl: vendor="X.Org Foundation"
[ 4370.301] compiled for 1.18.3, module version = 1.0.0
[ 4370.301] ABI class: X.Org ANSI C Emulation, version 0.4
[ 4370.301] (II) glamor: OpenGL accelerated X.org driver based.
[ 4370.323] (II) glamor: EGL version 1.4 (DRI2):
[ 4370.324] EGL_MESA_drm_image required.
[ 4370.324] (EE) modeset(0): glamor initialization failed
[ 4370.324] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[ 4370.325] (II) modeset(0): Output VGA-1 has no monitor section
[ 4370.326] (II) modeset(0): EDID for output VGA-1
[ 4370.326] (II) modeset(0): Manufacturer: VBX Model: 0 Serial#: 62849976
[ 4370.326] (II) modeset(0): Year: 1990 Week: 1
[ 4370.326] (II) modeset(0): EDID Version: 1.3
[ 4370.326] (II) modeset(0): Digital Display Input
[ 4370.326] (II) modeset(0): Indeterminate output size
[ 4370.326] (II) modeset(0): Gamma: 2.20
[ 4370.326] (II) modeset(0): DPMS capabilities: StandBy Suspend Off
[ 4370.326] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 4370.326] (II) modeset(0): Default color space is primary color space
[ 4370.326] (II) modeset(0): First detailed timing is preferred mode
[ 4370.326] (II) modeset(0): redX: 0.640 redY: 0.330 greenX: 0.300 greenY: 0.600
[ 4370.326] (II) modeset(0): blueX: 0.150 blueY: 0.060 whiteX: 0.312 whiteY: 0.329
[ 4370.326] (II) modeset(0): Manufacturer's mask: 0
[ 4370.326] (II) modeset(0): Supported detailed timing:
[ 4370.326] (II) modeset(0): clock: 55.5 MHz Image Size: 0 x 0 mm
[ 4370.326] (II) modeset(0): h_active: 952 h_sync: 954 h_sync_end 956 h_blank_end 958 h_border: 0
[ 4370.326] (II) modeset(0): v_active: 959 v_sync: 959 v_sync_end 993 v_blanking: 965 v_border: 0
[ 4370.326] (II) modeset(0): Ranges: V min: 0 V max: 200 Hz, H min: 0 H max: 200 kHz, PixClock max 1005 MHz
[ 4370.326] (II) modeset(0): Monitor name: VBOX monitor
[ 4370.326] (II) modeset(0): EDID (in hex):
[ 4370.326] (II) modeset(0): 00ffffffffffff0058580000b803bf03
[ 4370.326] (II) modeset(0): 0100010380000078eeee91a3544c9926
[ 4370.326] (II) modeset(0): 0f505400000001010101010101010101
[ 4370.326] (II) modeset(0): 010101010101aa15b80630bf06300202
[ 4370.326] (II) modeset(0): 0202000000000000000000fd0000c800
[ 4370.326] (II) modeset(0): c864000a202020202020000000fc0056
[ 4370.326] (II) modeset(0): 424f58206d6f6e69746f720a00000010
[ 4370.326] (II) modeset(0): 000a202020202020202020202020003e
[ 4370.326] (II) modeset(0): Printing probed modes for output VGA-1
[ 4370.326] (II) modeset(0): Modeline "952x959"x59.8 74.75 952 1008 1104 1256 959 962 972 995 -hsync +vsync (59.5 kHz P)
[ 4370.326] (II) modeset(0): Modeline "2560x1600"x60.0 348.50 2560 2752 3032 3504 1600 1603 1609 1658 -hsync +vsync (99.5 kHz e)
[ 4370.326] (II) modeset(0): Modeline "2560x1600"x60.0 268.50 2560 2608 2640 2720 1600 1603 1609 1646 +hsync -vsync (98.7 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1920x1440"x60.0 234.00 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync (90.0 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1856x1392"x60.0 218.25 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync (86.3 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1792x1344"x60.0 204.75 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync (83.6 kHz e)
[ 4370.326] (II) modeset(0): Modeline "2048x1152"x60.0 162.00 2048 2074 2154 2250 1152 1153 1156 1200 +hsync +vsync (72.0 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1920x1200"x59.9 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync (74.6 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1920x1200"x60.0 154.00 1920 1968 2000 2080 1200 1203 1209 1235 +hsync -vsync (74.0 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 -hsync -vsync (67.5 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1600x1200"x60.0 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1400x1050"x60.0 121.75 1400 1488 1632 1864 1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1400x1050"x59.9 101.00 1400 1448 1480 1560 1050 1053 1057 1080 +hsync -vsync (64.7 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1600x900"x60.0 108.00 1600 1624 1704 1800 900 901 904 1000 +hsync +vsync (60.0 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1440x900"x59.9 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1440x900"x59.9 88.75 1440 1488 1520 1600 900 903 909 926 +hsync -vsync (55.5 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1366x768"x59.8 85.50 1366 1436 1579 1792 768 771 774 798 +hsync +vsync (47.7 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1366x768"x60.0 72.00 1366 1380 1436 1500 768 769 772 800 +hsync +vsync (48.0 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1360x768"x60.0 85.50 1360 1424 1536 1792 768 771 777 795 +hsync +vsync (47.7 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1280x800"x59.8 83.50 1280 1352 1480 1680 800 803 809 831 -hsync +vsync (49.7 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1280x800"x59.9 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1280x768"x59.9 79.50 1280 1344 1472 1664 768 771 778 798 -hsync +vsync (47.8 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1280x768"x60.0 68.25 1280 1328 1360 1440 768 771 778 790 +hsync -vsync (47.4 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1280x720"x60.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[ 4370.326] (II) modeset(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 4370.326] (II) modeset(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 4370.326] (II) modeset(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e)
[ 4370.326] (II) modeset(0): Modeline "848x480"x60.0 33.75 848 864 976 1088 480 486 494 517 +hsync +vsync (31.0 kHz e)
[ 4370.326] (II) modeset(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 4370.326] (II) modeset(0): Output VGA-1 connected
[ 4370.326] (II) modeset(0): Using exact sizes for initial modes
[ 4370.326] (II) modeset(0): Output VGA-1 using initial mode 952x959 +0+0
[ 4370.326] (II) modeset(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 4370.326] (==) modeset(0): DPI set to (96, 96)
[ 4370.326] (II) Loading sub module "fb"
[ 4370.326] (II) LoadModule: "fb"
[ 4370.326] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 4370.326] (II) Module fb: vendor="X.Org Foundation"
[ 4370.326] compiled for 1.18.3, module version = 1.0.0
[ 4370.326] ABI class: X.Org ANSI C Emulation, version 0.4
[ 4370.326] (==) Depth 24 pixmap format is 32 bpp
[ 4370.326] (==) modeset(0): Backing store enabled
[ 4370.326] (==) modeset(0): Silken mouse enabled
[ 4370.326] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 4370.326] (==) modeset(0): DPMS enabled
[ 4370.331] (--) RandR disabled
[ 4370.334] (II) SELinux: Disabled on system
[ 4370.334] (II) AIGLX: Screen 0 is not DRI2 capable
[ 4370.334] (EE) AIGLX: reverting to software rendering
[ 4370.336] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 4370.336] (II) AIGLX: Loaded and initialized swrast
[ 4370.336] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 4370.337] (II) modeset(0): Damage tracking initialized
[ 4370.337] (II) modeset(0): Setting screen physical size to 251 x 253
[ 4370.390] (II) modeset(0): EDID vendor "VBX", prod id 0
[ 4370.390] (II) modeset(0): DDCModeFromDetailedTiming: 958x966 Warning: We only handle separate sync.
[ 4370.391] (II) modeset(0): Using EDID range info for horizontal sync
[ 4370.391] (II) modeset(0): Using EDID range info for vertical refresh
[ 4370.393] (II) modeset(0): EDID vendor "VBX", prod id 0
[ 4370.393] (II) modeset(0): DDCModeFromDetailedTiming: 958x966 Warning: We only handle separate sync.
[ 4370.393] (II) modeset(0): Using hsync ranges from config file
[ 4370.393] (II) modeset(0): Using vrefresh ranges from config file
[ 4370.404] (II) modeset(0): Allocate new frame buffer 952x966 stride
[ 4370.616] (II) Server terminated successfully (0). Closing log file.