[solved] problems logging out of a VT while X is running

Everything about X, Gnome, KDE, ... and everything running on it

[solved] problems logging out of a VT while X is running

Postby badalisc » 2017-08-02 21:55

Hello,

I just installed Debian 9.1 (amd64, default kernel) without desktop environment on my small laptop and subsequently installed the "xorg" and "fluxbox" packages.
Running "startx" right after the installation fails. Log:
Code: Select all
[  1016.028]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[  1016.029] X Protocol Version 11, Revision 0
[  1016.029] Build Operating System: Linux 4.9.0-3-amd64 x86_64 Debian
[  1016.029] Current Operating System: Linux debian 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64
[  1016.029] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-3-amd64 root=/dev/sda1 ro quiet
[  1016.030] Build Date: 07 July 2017  06:14:06AM
[  1016.030] xorg-server 2:1.19.2-1+deb9u1 (https://www.debian.org/support)
[  1016.030] Current version of pixman: 0.34.0
[  1016.031]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[  1016.031] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1016.032] (==) Log file: "/home/joe/.local/share/xorg/Xorg.0.log", Time: Wed Aug  2 20:00:45 2017
[  1016.060] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1016.088] (==) No Layout section.  Using the first Screen section.
[  1016.088] (==) No screen section available. Using defaults.
[  1016.088] (**) |-->Screen "Default Screen Section" (0)
[  1016.088] (**) |   |-->Monitor "<default monitor>"
[  1016.105] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[  1016.105] (==) Automatically adding devices
[  1016.105] (==) Automatically enabling devices
[  1016.105] (==) Automatically adding GPU devices
[  1016.105] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1016.178] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  1016.178]    Entry deleted from font path.
[  1016.184] (==) 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
[  1016.185] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1016.185] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1016.185] (II) Loader magic: 0x5578e681de00
[  1016.185] (II) Module ABI versions:
[  1016.185]    X.Org ANSI C Emulation: 0.4
[  1016.185]    X.Org Video Driver: 23.0
[  1016.185]    X.Org XInput driver : 24.1
[  1016.185]    X.Org Server Extension : 10.0
[  1016.187] (++) using VT number 1

[  1016.192] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[  1016.194] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1016.196] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[  1016.200] (--) PCI:*(0:0:2:0) 8086:a011:1043:8446 rev 2, Mem @ 0xf7e00000/524288, 0xd0000000/268435456, 0xf7d00000/1048576, I/O @ 0x0000dc00/8, BIOS @ 0x????????/131072
[  1016.201] (--) PCI: (0:0:2:1) 8086:a012:1043:8446 rev 2, Mem @ 0xf7e80000/524288
[  1016.201] (II) LoadModule: "glx"
[  1016.210] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1016.371] (II) Module glx: vendor="X.Org Foundation"
[  1016.371]    compiled for 1.19.2, module version = 1.0.0
[  1016.371]    ABI class: X.Org Server Extension, version 10.0
[  1016.371] (==) Matched intel as autoconfigured driver 0
[  1016.371] (==) Matched intel as autoconfigured driver 1
[  1016.371] (==) Matched modesetting as autoconfigured driver 2
[  1016.371] (==) Matched fbdev as autoconfigured driver 3
[  1016.371] (==) Matched vesa as autoconfigured driver 4
[  1016.371] (==) Assigned the driver to the xf86ConfigLayout
[  1016.371] (II) LoadModule: "intel"
[  1016.372] (WW) Warning, couldn't open module intel
[  1016.372] (II) UnloadModule: "intel"
[  1016.372] (II) Unloading intel
[  1016.372] (EE) Failed to load module "intel" (module does not exist, 0)
[  1016.372] (II) LoadModule: "modesetting"
[  1016.372] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  1016.379] (II) Module modesetting: vendor="X.Org Foundation"
[  1016.379]    compiled for 1.19.2, module version = 1.19.2
[  1016.379]    Module class: X.Org Video Driver
[  1016.379]    ABI class: X.Org Video Driver, version 23.0
[  1016.379] (II) LoadModule: "fbdev"
[  1016.380] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  1016.401] (II) Module fbdev: vendor="X.Org Foundation"
[  1016.401]    compiled for 1.19.0, module version = 0.4.4
[  1016.401]    Module class: X.Org Video Driver
[  1016.401]    ABI class: X.Org Video Driver, version 23.0
[  1016.401] (II) LoadModule: "vesa"
[  1016.402] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  1016.410] (II) Module vesa: vendor="X.Org Foundation"
[  1016.410]    compiled for 1.19.0, module version = 2.3.4
[  1016.410]    Module class: X.Org Video Driver
[  1016.410]    ABI class: X.Org Video Driver, version 23.0
[  1016.410] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1016.410] (II) FBDEV: driver for framebuffer: fbdev
[  1016.410] (II) VESA: driver for VESA chipsets: vesa
[  1016.410] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[  1016.411] (II) modeset(0): using drv /dev/dri/card0
[  1016.411] (WW) Falling back to old probe method for fbdev
[  1016.411] (II) Loading sub module "fbdevhw"
[  1016.411] (II) LoadModule: "fbdevhw"
[  1016.411] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[  1016.444] (II) Module fbdevhw: vendor="X.Org Foundation"
[  1016.444]    compiled for 1.19.2, module version = 0.0.2
[  1016.444]    ABI class: X.Org Video Driver, version 23.0
[  1016.444] (WW) Falling back to old probe method for vesa
[  1016.444] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1016.444] (II) modeset(0): Creating default Display subsection in Screen section
   "Default Screen Section" for depth/fbbpp 24/32
[  1016.444] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  1016.444] (==) modeset(0): RGB weight 888
[  1016.445] (==) modeset(0): Default visual is TrueColor
[  1016.445] (II) Loading sub module "glamoregl"
[  1016.445] (II) LoadModule: "glamoregl"
[  1016.446] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  1016.557] (II) Module glamoregl: vendor="X.Org Foundation"
[  1016.557]    compiled for 1.19.2, module version = 1.0.0
[  1016.557]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1016.557] (II) glamor: OpenGL accelerated X.org driver based.
[  1016.859] (II) glamor: EGL version 1.4 (DRI2):
[  1016.956] (II) modeset(0): glamor initialized
[  1016.957] (II) modeset(0): Output LVDS-1 has no monitor section
[  1016.976] (II) modeset(0): Output VGA-1 has no monitor section
[  1016.977] (II) modeset(0): EDID for output LVDS-1
[  1016.977] (II) modeset(0): Manufacturer: HSD  Model: 4b6  Serial#: 154598
[  1016.977] (II) modeset(0): Year: 2011  Week: 22
[  1016.977] (II) modeset(0): EDID Version: 1.3
[  1016.977] (II) modeset(0): Digital Display Input
[  1016.977] (II) modeset(0): Max Image Size [cm]: horiz.: 27  vert.: 15
[  1016.977] (II) modeset(0): Gamma: 2.20
[  1016.977] (II) modeset(0): No DPMS capabilities specified
[  1016.977] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[  1016.977] (II) modeset(0): First detailed timing is preferred mode
[  1016.977] (II) modeset(0): redX: 0.591 redY: 0.354   greenX: 0.322 greenY: 0.547
[  1016.977] (II) modeset(0): blueX: 0.153 blueY: 0.098   whiteX: 0.313 whiteY: 0.329
[  1016.978] (II) modeset(0): Manufacturer's mask: 0
[  1016.978] (II) modeset(0): Supported detailed timing:
[  1016.978] (II) modeset(0): clock: 71.9 MHz   Image Size:  270 x 150 mm
[  1016.978] (II) modeset(0): h_active: 1366  h_sync: 1414  h_sync_end 1480 h_blank_end 1486 h_border: 0
[  1016.978] (II) modeset(0): v_active: 768  v_sync: 774  v_sync_end 782 v_blanking: 806 v_border: 0
[  1016.978] (II) modeset(0): 
[  1016.978] (II) modeset(0): Monitor name: HSD121PHW1
[  1016.978] (II) modeset(0): EDID (in hex):
[  1016.978] (II) modeset(0):    00ffffffffffff002264b604e65b0200
[  1016.978] (II) modeset(0):    16150103801b0f780a6845975a528c27
[  1016.978] (II) modeset(0):    19505400000001010101010101010101
[  1016.978] (II) modeset(0):    010101010101161c5678500026303042
[  1016.979] (II) modeset(0):    68000e9610000019000000fe00000000
[  1016.979] (II) modeset(0):    00000000000000000000000000fc0048
[  1016.979] (II) modeset(0):    5344313231504857310a202000000010
[  1016.979] (II) modeset(0):    000a20202020202020202020202000fa
[  1016.980] (II) modeset(0): Printing probed modes for output LVDS-1
[  1016.980] (II) modeset(0): Modeline "1366x768"x60.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
[  1016.981] (II) modeset(0): Modeline "1360x768"x59.8   84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync (47.7 kHz d)
[  1016.981] (II) modeset(0): Modeline "1360x768"x60.0   72.00  1360 1408 1440 1520  768 771 781 790 +hsync -vsync (47.4 kHz d)
[  1016.981] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[  1016.981] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[  1016.981] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[  1016.981] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[  1016.981] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[  1016.981] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[  1016.981] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[  1016.981] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[  1016.981] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[  1016.981] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[  1016.982] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[  1016.982] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[  1016.982] (II) modeset(0): Modeline "800x512"x120.3   51.56  800 800 828 832  512 512 514 515 doublescan +hsync +vsync (62.0 kHz d)
[  1016.982] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[  1016.982] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[  1016.982] (II) modeset(0): Modeline "720x450"x119.8   53.25  720 760 836 952  450 451 454 467 doublescan -hsync +vsync (55.9 kHz d)
[  1016.982] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[  1016.982] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[  1016.982] (II) modeset(0): Modeline "680x384"x119.6   42.38  680 716 784 888  384 385 390 399 doublescan -hsync +vsync (47.7 kHz d)
[  1016.982] (II) modeset(0): Modeline "680x384"x119.9   36.00  680 704 720 760  384 385 390 395 doublescan +hsync -vsync (47.4 kHz d)
[  1016.982] (II) modeset(0): Modeline "576x432"x120.1   40.81  576 608 668 760  432 432 434 447 doublescan -hsync +vsync (53.7 kHz d)
[  1016.982] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[  1016.983] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[  1016.983] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[  1016.983] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[  1017.001] (II) modeset(0): EDID for output VGA-1
[  1017.001] (II) modeset(0): Output LVDS-1 connected
[  1017.001] (II) modeset(0): Output VGA-1 disconnected
[  1017.001] (II) modeset(0): Using exact sizes for initial modes
[  1017.001] (II) modeset(0): Output LVDS-1 using initial mode 1366x768 +0+0
[  1017.001] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[  1017.001] (==) modeset(0): DPI set to (96, 96)
[  1017.001] (II) Loading sub module "fb"
[  1017.001] (II) LoadModule: "fb"
[  1017.002] (II) Loading /usr/lib/xorg/modules/libfb.so
[  1017.010] (II) Module fb: vendor="X.Org Foundation"
[  1017.010]    compiled for 1.19.2, module version = 1.0.0
[  1017.010]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1017.010] (II) UnloadModule: "fbdev"
[  1017.010] (II) Unloading fbdev
[  1017.010] (II) UnloadSubModule: "fbdevhw"
[  1017.010] (II) Unloading fbdevhw
[  1017.011] (II) UnloadModule: "vesa"
[  1017.011] (II) Unloading vesa
[  1017.012] (==) Depth 24 pixmap format is 32 bpp
[  1017.020] (WW) glamor requires at least 128 instructions (64 reported)
[  1017.020] (EE) modeset(0): Failed to initialize glamor at ScreenInit() time.
[  1017.020] (EE)
Fatal server error:
[  1017.020] (EE) AddScreen/ScreenInit failed for driver 0
[  1017.020] (EE)
[  1017.020] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[  1017.020] (EE) Please also check the log file at "/home/joe/.local/share/xorg/Xorg.0.log" for additional information.
[  1017.020] (EE)
[  1017.048] (EE) Server terminated with error (1). Closing log file.

Then I installed "xserver-xorg-video-intel" (package description says: "discouraged if your hw is new enough", but I didn't know what to try).
As a result, startx doesn't fail anymore and I have a working fluxbox, but there is another problem (not so easy to describe but I hope this gives a clue):

1) I login as joe on tty1
2) I run startx -> I'm in fluxbox
3) I press ctrl-alt-f2 -> I'm at tty2 login prompt
4) I login as joe on tty2
5) I logout ->
  • the fluxbox screen is displayed (instead of the tty2 login prompt)
  • mouse is dead
  • keyboard:
    • fluxbox hotkeys don't work
    • ctrl-alt-del reboot the system instead of exiting fluxbox
    • alt-f* and ctrl-alt-f* have no effect, except alt-f1 that gives me an entirely black screen
6) I press alt-f1 -> get a black screen
  • now the keyboard is completely dead, ctrl-alt-f* and ctrl-alt-del have no effect
7) I plug in or replug a usb keyboard -> the usb keyboard works
  • ctr-alt-f* can switch VT. tty1 stays black
  • ctr-alt-del on tty1 exits fluxbox getting rid of the black screen and back to the shell

User joe is a member of groups: joe, cdrom, floppy, audio, dip, video, plugdev, netdev, bluetooth.
If I skip step #5 (logout) everything works fine (I can switch to a working fluxbox with alt-f1).
If I login as root in step #1 the problem remains the same (also tried "xserver-xorg-legacy" + "needs_root_rights = yes").
If I login as root in step #4 there is no problem at logout (!) (I get the tty2 login prompt as expected and can switch to a working fluxbox with alt-f1).
If I login as a different user (not joe or root) in step #4 the problem remains the same.

X log:
Code: Select all
[  1517.973]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[  1517.973] X Protocol Version 11, Revision 0
[  1517.973] Build Operating System: Linux 4.9.0-3-amd64 x86_64 Debian
[  1517.974] Current Operating System: Linux debian 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64
[  1517.974] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-3-amd64 root=/dev/sda1 ro quiet
[  1517.974] Build Date: 07 July 2017  06:14:06AM
[  1517.975] xorg-server 2:1.19.2-1+deb9u1 (https://www.debian.org/support)
[  1517.975] Current version of pixman: 0.34.0
[  1517.975]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[  1517.975] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1517.977] (==) Log file: "/home/joe/.local/share/xorg/Xorg.0.log", Time: Wed Aug  2 20:09:07 2017
[  1517.979] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1517.979] (==) No Layout section.  Using the first Screen section.
[  1517.979] (==) No screen section available. Using defaults.
[  1517.979] (**) |-->Screen "Default Screen Section" (0)
[  1517.979] (**) |   |-->Monitor "<default monitor>"
[  1517.980] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[  1517.980] (==) Automatically adding devices
[  1517.980] (==) Automatically enabling devices
[  1517.980] (==) Automatically adding GPU devices
[  1517.980] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1517.980] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  1517.980]    Entry deleted from font path.
[  1517.980] (==) 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
[  1517.980] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1517.980] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1517.980] (II) Loader magic: 0x55837f0c6e00
[  1517.980] (II) Module ABI versions:
[  1517.980]    X.Org ANSI C Emulation: 0.4
[  1517.980]    X.Org Video Driver: 23.0
[  1517.980]    X.Org XInput driver : 24.1
[  1517.980]    X.Org Server Extension : 10.0
[  1517.983] (++) using VT number 1

[  1517.988] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_37
[  1517.990] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1517.992] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[  1517.997] (--) PCI:*(0:0:2:0) 8086:a011:1043:8446 rev 2, Mem @ 0xf7e00000/524288, 0xd0000000/268435456, 0xf7d00000/1048576, I/O @ 0x0000dc00/8, BIOS @ 0x????????/131072
[  1517.997] (--) PCI: (0:0:2:1) 8086:a012:1043:8446 rev 2, Mem @ 0xf7e80000/524288
[  1517.997] (II) LoadModule: "glx"
[  1517.998] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1518.005] (II) Module glx: vendor="X.Org Foundation"
[  1518.005]    compiled for 1.19.2, module version = 1.0.0
[  1518.005]    ABI class: X.Org Server Extension, version 10.0
[  1518.005] (==) Matched intel as autoconfigured driver 0
[  1518.005] (==) Matched intel as autoconfigured driver 1
[  1518.005] (==) Matched modesetting as autoconfigured driver 2
[  1518.005] (==) Matched fbdev as autoconfigured driver 3
[  1518.005] (==) Matched vesa as autoconfigured driver 4
[  1518.005] (==) Assigned the driver to the xf86ConfigLayout
[  1518.005] (II) LoadModule: "intel"
[  1518.005] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  1518.006] (II) Module intel: vendor="X.Org Foundation"
[  1518.006]    compiled for 1.19.0, module version = 2.99.917
[  1518.007]    Module class: X.Org Video Driver
[  1518.007]    ABI class: X.Org Video Driver, version 23.0
[  1518.007] (II) LoadModule: "modesetting"
[  1518.007] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  1518.007] (II) Module modesetting: vendor="X.Org Foundation"
[  1518.007]    compiled for 1.19.2, module version = 1.19.2
[  1518.008]    Module class: X.Org Video Driver
[  1518.008]    ABI class: X.Org Video Driver, version 23.0
[  1518.008] (II) LoadModule: "fbdev"
[  1518.008] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  1518.008] (II) Module fbdev: vendor="X.Org Foundation"
[  1518.008]    compiled for 1.19.0, module version = 0.4.4
[  1518.008]    Module class: X.Org Video Driver
[  1518.009]    ABI class: X.Org Video Driver, version 23.0
[  1518.009] (II) LoadModule: "vesa"
[  1518.009] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  1518.010] (II) Module vesa: vendor="X.Org Foundation"
[  1518.010]    compiled for 1.19.0, module version = 2.3.4
[  1518.010]    Module class: X.Org Video Driver
[  1518.010]    ABI class: X.Org Video Driver, version 23.0
[  1518.010] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
   i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
   915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
   Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
   GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[  1518.011] (II) intel: Driver for Intel(R) HD Graphics
[  1518.011] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[  1518.012] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[  1518.012] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1518.012] (II) FBDEV: driver for framebuffer: fbdev
[  1518.012] (II) VESA: driver for VESA chipsets: vesa
[  1518.012] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[  1518.012] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20160919
[  1518.012] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20161206-1 (Timo Aaltonen <tjaalton@debian.org>)
[  1518.012] (II) intel(0): SNA compiled for use with valgrind
[  1518.013] (WW) Falling back to old probe method for modesetting
[  1518.013] (WW) Falling back to old probe method for fbdev
[  1518.013] (II) Loading sub module "fbdevhw"
[  1518.013] (II) LoadModule: "fbdevhw"
[  1518.014] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[  1518.014] (II) Module fbdevhw: vendor="X.Org Foundation"
[  1518.014]    compiled for 1.19.2, module version = 0.0.2
[  1518.014]    ABI class: X.Org Video Driver, version 23.0
[  1518.014] (WW) Falling back to old probe method for vesa
[  1518.014] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1518.015] (--) intel(0): Integrated Graphics Chipset: Intel(R) Pineview GM
[  1518.015] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3; using a maximum of 2 threads
[  1518.015] (II) intel(0): Creating default Display subsection in Screen section
   "Default Screen Section" for depth/fbbpp 24/32
[  1518.015] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[  1518.015] (==) intel(0): RGB weight 888
[  1518.015] (==) intel(0): Default visual is TrueColor
[  1518.016] (II) intel(0): Output LVDS1 has no monitor section
[  1518.061] (II) intel(0): Enabled output LVDS1
[  1518.061] (II) intel(0): Output VGA1 has no monitor section
[  1518.062] (II) intel(0): Enabled output VGA1
[  1518.062] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[  1518.062] (II) intel(0): Output VIRTUAL1 has no monitor section
[  1518.062] (II) intel(0): Enabled output VIRTUAL1
[  1518.063] (--) intel(0): Output LVDS1 using initial mode 1366x768 on pipe 1
[  1518.063] (==) intel(0): TearFree disabled
[  1518.063] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[  1518.063] (==) intel(0): DPI set to (96, 96)
[  1518.063] (II) Loading sub module "dri3"
[  1518.063] (II) LoadModule: "dri3"
[  1518.063] (II) Module "dri3" already built-in
[  1518.063] (II) Loading sub module "dri2"
[  1518.063] (II) LoadModule: "dri2"
[  1518.063] (II) Module "dri2" already built-in
[  1518.063] (II) Loading sub module "present"
[  1518.063] (II) LoadModule: "present"
[  1518.063] (II) Module "present" already built-in
[  1518.063] (II) UnloadModule: "modesetting"
[  1518.063] (II) Unloading modesetting
[  1518.064] (II) UnloadModule: "fbdev"
[  1518.064] (II) Unloading fbdev
[  1518.064] (II) UnloadSubModule: "fbdevhw"
[  1518.064] (II) Unloading fbdevhw
[  1518.064] (II) UnloadModule: "vesa"
[  1518.064] (II) Unloading vesa
[  1518.064] (==) Depth 24 pixmap format is 32 bpp
[  1518.065] (II) intel(0): SNA initialized with Alviso (gen3) backend
[  1518.065] (==) intel(0): Backing store enabled
[  1518.065] (==) intel(0): Silken mouse enabled
[  1518.078] (II) intel(0): HW Cursor enabled
[  1518.078] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  1518.093] (==) intel(0): DPMS enabled
[  1518.093] (==) intel(0): Display hotplug detection enabled
[  1518.094] (II) intel(0): [XvMC] i915_xvmc driver initialized.
[  1518.094] (II) intel(0): [DRI2] Setup complete
[  1518.094] (II) intel(0): [DRI2]   DRI driver: i915
[  1518.094] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[  1518.094] (II) intel(0): direct rendering: DRI2 enabled
[  1518.094] (II) intel(0): hardware support for Present enabled
[  1518.094] (--) RandR disabled
[  1518.111] (II) SELinux: Disabled on system
[  1518.136] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  1518.137] (II) AIGLX: enabled GLX_ARB_create_context
[  1518.137] (II) AIGLX: enabled GLX_ARB_create_context_profile
[  1518.137] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[  1518.137] (II) AIGLX: enabled GLX_INTEL_swap_event
[  1518.137] (II) AIGLX: enabled GLX_SGI_swap_control
[  1518.137] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[  1518.137] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[  1518.137] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[  1518.137] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[  1518.137] (II) AIGLX: Loaded and initialized i915
[  1518.137] (II) GLX: Initialized DRI2 GL provider for screen 0
[  1518.153] (II) intel(0): switch to mode 1366x768@60.0 on LVDS1 using pipe 1, position (0, 0), rotation normal, reflection none
[  1518.157] (II) intel(0): Setting screen physical size to 361 x 203
[  1518.635] (II) config/udev: Adding input device Power Button (/dev/input/event6)
[  1518.635] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  1518.635] (II) LoadModule: "libinput"
[  1518.635] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  1518.697] (II) Module libinput: vendor="X.Org Foundation"
[  1518.697]    compiled for 1.19.0, module version = 0.23.0
[  1518.697]    Module class: X.Org XInput Driver
[  1518.697]    ABI class: X.Org XInput driver, version 24.1
[  1518.697] (II) Using input driver 'libinput' for 'Power Button'
[  1518.699] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 20 paused 0
[  1518.700] (**) Power Button: always reports core events
[  1518.700] (**) Option "Device" "/dev/input/event6"
[  1518.700] (**) Option "_source" "server/udev"
[  1518.702] (II) input device 'Power Button', /dev/input/event6 is tagged by udev as: Keyboard
[  1518.702] (II) input device 'Power Button', /dev/input/event6 is a keyboard
[  1518.703] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input8/event6"
[  1518.703] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  1518.703] (**) Option "xkb_model" "pc105"
[  1518.703] (**) Option "xkb_layout" "us"
[  1518.705] (II) input device 'Power Button', /dev/input/event6 is tagged by udev as: Keyboard
[  1518.705] (II) input device 'Power Button', /dev/input/event6 is a keyboard
[  1518.707] (II) config/udev: Adding input device Video Bus (/dev/input/event10)
[  1518.707] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[  1518.707] (II) Using input driver 'libinput' for 'Video Bus'
[  1518.709] (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 23 paused 0
[  1518.709] (**) Video Bus: always reports core events
[  1518.709] (**) Option "Device" "/dev/input/event10"
[  1518.709] (**) Option "_source" "server/udev"
[  1518.710] (II) input device 'Video Bus', /dev/input/event10 is tagged by udev as: Keyboard
[  1518.710] (II) input device 'Video Bus', /dev/input/event10 is a keyboard
[  1518.711] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input12/event10"
[  1518.711] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[  1518.711] (**) Option "xkb_model" "pc105"
[  1518.711] (**) Option "xkb_layout" "us"
[  1518.712] (II) input device 'Video Bus', /dev/input/event10 is tagged by udev as: Keyboard
[  1518.713] (II) input device 'Video Bus', /dev/input/event10 is a keyboard
[  1518.714] (II) config/udev: Adding input device Power Button (/dev/input/event5)
[  1518.714] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  1518.714] (II) Using input driver 'libinput' for 'Power Button'
[  1518.716] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 24 paused 0
[  1518.716] (**) Power Button: always reports core events
[  1518.716] (**) Option "Device" "/dev/input/event5"
[  1518.716] (**) Option "_source" "server/udev"
[  1518.718] (II) input device 'Power Button', /dev/input/event5 is tagged by udev as: Keyboard
[  1518.718] (II) input device 'Power Button', /dev/input/event5 is a keyboard
[  1518.718] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input7/event5"
[  1518.719] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[  1518.719] (**) Option "xkb_model" "pc105"
[  1518.719] (**) Option "xkb_layout" "us"
[  1518.720] (II) input device 'Power Button', /dev/input/event5 is tagged by udev as: Keyboard
[  1518.720] (II) input device 'Power Button', /dev/input/event5 is a keyboard
[  1518.722] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
[  1518.722] (II) No input driver specified, ignoring this device.
[  1518.722] (II) This device may have been added with another device file.
[  1518.723] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
[  1518.723] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[  1518.723] (II) Using input driver 'libinput' for 'Sleep Button'
[  1518.725] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 25 paused 0
[  1518.725] (**) Sleep Button: always reports core events
[  1518.725] (**) Option "Device" "/dev/input/event4"
[  1518.726] (**) Option "_source" "server/udev"
[  1518.727] (II) input device 'Sleep Button', /dev/input/event4 is tagged by udev as: Keyboard
[  1518.727] (II) input device 'Sleep Button', /dev/input/event4 is a keyboard
[  1518.727] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input6/event4"
[  1518.727] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[  1518.727] (**) Option "xkb_model" "pc105"
[  1518.727] (**) Option "xkb_layout" "us"
[  1518.729] (II) input device 'Sleep Button', /dev/input/event4 is tagged by udev as: Keyboard
[  1518.729] (II) input device 'Sleep Button', /dev/input/event4 is a keyboard
[  1518.731] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event8)
[  1518.731] (II) No input driver specified, ignoring this device.
[  1518.731] (II) This device may have been added with another device file.
[  1518.732] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event9)
[  1518.732] (II) No input driver specified, ignoring this device.
[  1518.733] (II) This device may have been added with another device file.
[  1518.735] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event1)
[  1518.735] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[  1518.735] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[  1518.738] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 26 paused 0
[  1518.738] (**) Logitech USB Receiver: always reports core events
[  1518.738] (**) Option "Device" "/dev/input/event1"
[  1518.738] (**) Option "_source" "server/udev"
[  1518.739] (II) input device 'Logitech USB Receiver', /dev/input/event1 is tagged by udev as: Keyboard
[  1518.739] (II) input device 'Logitech USB Receiver', /dev/input/event1 is a keyboard
[  1518.740] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0/0003:046D:C505.0001/input/input3/event1"
[  1518.740] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 10)
[  1518.740] (**) Option "xkb_model" "pc105"
[  1518.740] (**) Option "xkb_layout" "us"
[  1518.742] (II) input device 'Logitech USB Receiver', /dev/input/event1 is tagged by udev as: Keyboard
[  1518.742] (II) input device 'Logitech USB Receiver', /dev/input/event1 is a keyboard
[  1518.744] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event2)
[  1518.744] (**) Logitech USB Receiver: Applying InputClass "libinput pointer catchall"
[  1518.745] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[  1518.745] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[  1518.747] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 27 paused 0
[  1518.747] (**) Logitech USB Receiver: always reports core events
[  1518.747] (**) Option "Device" "/dev/input/event2"
[  1518.747] (**) Option "_source" "server/udev"
[  1518.750] (II) input device 'Logitech USB Receiver', /dev/input/event2 is tagged by udev as: Keyboard Mouse
[  1518.750] (II) input device 'Logitech USB Receiver', /dev/input/event2 is a pointer caps
[  1518.750] (II) input device 'Logitech USB Receiver', /dev/input/event2 is a keyboard
[  1518.750] (II) libinput: Logitech USB Receiver: needs a virtual subdevice
[  1518.751] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.1/0003:046D:C505.0002/input/input4/event2"
[  1518.751] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: MOUSE, id 11)
[  1518.752] (**) Option "AccelerationScheme" "none"
[  1518.752] (**) Logitech USB Receiver: (accel) selected scheme none/0
[  1518.752] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[  1518.752] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[  1518.754] (II) input device 'Logitech USB Receiver', /dev/input/event2 is tagged by udev as: Keyboard Mouse
[  1518.754] (II) input device 'Logitech USB Receiver', /dev/input/event2 is a pointer caps
[  1518.754] (II) input device 'Logitech USB Receiver', /dev/input/event2 is a keyboard
[  1518.756] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse0)
[  1518.756] (II) No input driver specified, ignoring this device.
[  1518.756] (II) This device may have been added with another device file.
[  1518.758] (II) config/udev: Adding input device USB2.0 UVC VGA WebCam (/dev/input/event11)
[  1518.758] (**) USB2.0 UVC VGA WebCam: Applying InputClass "libinput keyboard catchall"
[  1518.758] (II) Using input driver 'libinput' for 'USB2.0 UVC VGA WebCam'
[  1518.760] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 28 paused 0
[  1518.760] (**) USB2.0 UVC VGA WebCam: always reports core events
[  1518.760] (**) Option "Device" "/dev/input/event11"
[  1518.760] (**) Option "_source" "server/udev"
[  1518.762] (II) input device 'USB2.0 UVC VGA WebCam', /dev/input/event11 is tagged by udev as: Keyboard
[  1518.762] (II) input device 'USB2.0 UVC VGA WebCam', /dev/input/event11 is a keyboard
[  1518.762] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb5/5-6/5-6:1.0/input/input13/event11"
[  1518.762] (II) XINPUT: Adding extended input device "USB2.0 UVC VGA WebCam" (type: KEYBOARD, id 12)
[  1518.762] (**) Option "xkb_model" "pc105"
[  1518.762] (**) Option "xkb_layout" "us"
[  1518.764] (II) input device 'USB2.0 UVC VGA WebCam', /dev/input/event11 is tagged by udev as: Keyboard
[  1518.764] (II) input device 'USB2.0 UVC VGA WebCam', /dev/input/event11 is a keyboard
[  1518.766] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  1518.767] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[  1518.767] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[  1518.769] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 29 paused 0
[  1518.769] (**) AT Translated Set 2 keyboard: always reports core events
[  1518.769] (**) Option "Device" "/dev/input/event0"
[  1518.769] (**) Option "_source" "server/udev"
[  1518.770] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is tagged by udev as: Keyboard
[  1518.770] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is a keyboard
[  1518.770] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[  1518.770] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 13)
[  1518.770] (**) Option "xkb_model" "pc105"
[  1518.771] (**) Option "xkb_layout" "us"
[  1518.772] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is tagged by udev as: Keyboard
[  1518.773] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is a keyboard
[  1518.774] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[  1518.774] (II) No input driver specified, ignoring this device.
[  1518.774] (II) This device may have been added with another device file.
[  1518.806] (**) Logitech USB Receiver: Applying InputClass "libinput pointer catchall"
[  1518.806] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[  1518.806] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[  1518.807] (II) systemd-logind: returning pre-existing fd for /dev/input/event2 13:66
[  1518.807] (**) Logitech USB Receiver: always reports core events
[  1518.807] (**) Option "Device" "/dev/input/event2"
[  1518.807] (**) Option "_source" "_driver/libinput"
[  1518.807] (II) libinput: Logitech USB Receiver: is a virtual subdevice
[  1518.807] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.1/0003:046D:C505.0002/input/input4/event2"
[  1518.807] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 14)
[  1518.807] (**) Option "xkb_model" "pc105"
[  1518.808] (**) Option "xkb_layout" "us"
[  1520.064] (II) intel(0): EDID vendor "HSD", prod id 1206
[  1520.064] (II) intel(0): Printing DDC gathered Modelines:
[  1520.064] (II) intel(0): Modeline "1366x768"x0.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
[  1529.712] (**) Option "fd" "20"
[  1529.713] (**) Option "fd" "23"
[  1529.714] (**) Option "fd" "24"
[  1529.715] (**) Option "fd" "25"
[  1529.715] (**) Option "fd" "26"
[  1529.716] (**) Option "fd" "27"
[  1529.717] (**) Option "fd" "28"
[  1529.717] (**) Option "fd" "29"
[  1529.718] (**) Option "fd" "27"
[  1529.718] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1529.840] (II) systemd-logind: got pause for 13:70
[  1529.840] (II) systemd-logind: got pause for 13:65
[  1529.840] (II) systemd-logind: got pause for 13:74
[  1529.840] (II) systemd-logind: got pause for 13:66
[  1529.840] (II) systemd-logind: got pause for 13:68
[  1529.840] (II) systemd-logind: got pause for 226:0
[  1529.840] (II) systemd-logind: got pause for 13:64
[  1529.840] (II) systemd-logind: got pause for 13:69
[  1529.840] (II) systemd-logind: got pause for 13:75
[  1555.964] (II) systemd-logind: got resume for 13:70
[  1555.980] (II) systemd-logind: got resume for 13:65
[  1555.996] (II) systemd-logind: got resume for 13:74
[  1556.012] (II) systemd-logind: got resume for 13:66
[  1556.029] (II) systemd-logind: got resume for 13:68
[  1556.029] (II) systemd-logind: got resume for 226:0
[  1556.054] (II) AIGLX: Resuming AIGLX clients after VT switch
[  1556.054] (II) intel(0): switch to mode 1366x768@60.0 on LVDS1 using pipe 1, position (0, 0), rotation normal, reflection none
[  1556.123] (II) failed to create input device '/dev/input/event6'.
[  1556.157] [dix] couldn't enable device 6
[  1556.158] (II) failed to create input device '/dev/input/event10'.
[  1556.158] [dix] couldn't enable device 7
[  1556.159] (II) failed to create input device '/dev/input/event4'.
[  1556.159] [dix] couldn't enable device 9
[  1556.160] (II) failed to create input device '/dev/input/event1'.
[  1556.160] [dix] couldn't enable device 10
[  1556.162] (II) failed to create input device '/dev/input/event2'.
[  1556.162] [dix] couldn't enable device 11
[  1556.162] [dix] couldn't enable device 14
[  1556.165] (II) systemd-logind: got resume for 13:64
[  1556.166] (II) failed to create input device '/dev/input/event0'.
[  1556.166] [dix] couldn't enable device 13
[  1556.166] (II) systemd-logind: got resume for 13:69
[  1556.167] (II) failed to create input device '/dev/input/event5'.
[  1556.167] [dix] couldn't enable device 8
[  1556.167] (II) systemd-logind: got resume for 13:75
[  1556.169] (II) failed to create input device '/dev/input/event11'.
[  1556.169] [dix] couldn't enable device 12
[  1556.169] (II) systemd-logind: got pause for 13:70
[  1556.169] (II) systemd-logind: got pause for 13:65
[  1556.169] (II) systemd-logind: got pause for 13:74
[  1556.170] (II) systemd-logind: got pause for 13:66
[  1556.170] (II) systemd-logind: got pause for 13:68
[  1556.170] (II) systemd-logind: got pause for 226:0
[  1556.170] (II) systemd-logind: got pause for 13:64
[  1556.170] (II) systemd-logind: got pause for 13:69
[  1556.170] (II) systemd-logind: got pause for 13:75
[  1681.658] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1681.659] (II) AIGLX: Resuming AIGLX clients after VT switch
[  1681.659] (II) intel(0): switch to mode 1366x768@60.0 on LVDS1 using pipe 1, position (0, 0), rotation normal, reflection none
[  1681.678] (EE) intel(0): failed to set mode: Permission denied [13]
[  1681.679] (WW) intel(0): failed to restore desired modes on VT switch
[  1681.679] (EE) intel(0): sna_mode_shutdown_crtc: invalid state found on pipe 1, disabling CRTC:28
[  1681.692] (II) systemd-logind: got resume for 13:70
[  1681.708] (II) systemd-logind: got resume for 13:65
[  1681.724] (II) systemd-logind: got resume for 13:74
[  1681.740] (II) systemd-logind: got resume for 13:66
[  1681.756] (II) systemd-logind: got resume for 13:68
[  1681.757] (II) systemd-logind: got resume for 226:0
[  1681.757] (II) AIGLX: Resuming AIGLX clients after VT switch
[  1681.757] (EE) intel(0): sna_mode_shutdown_crtc: invalid state found on pipe 1, disabling CRTC:28
[  1682.030] [dix] couldn't enable device 6
[  1682.030] [dix] couldn't enable device 7
[  1682.030] [dix] couldn't enable device 9
[  1682.030] [dix] couldn't enable device 10
[  1682.030] [dix] couldn't enable device 11
[  1682.030] [dix] couldn't enable device 14
[  1682.031] (II) systemd-logind: got resume for 13:64
[  1682.032] [dix] couldn't enable device 13
[  1682.032] (II) systemd-logind: got resume for 13:69
[  1682.032] [dix] couldn't enable device 8
[  1682.032] (II) systemd-logind: got resume for 13:75
[  1682.032] [dix] couldn't enable device 12
[  1715.148] (II) config/udev: removing device Logitech USB Receiver
[  1715.148] (II) UnloadModule: "libinput"
[  1715.149] (II) systemd-logind: releasing fd for 13:65
[  1715.231] (II) config/udev: removing device Logitech USB Receiver
[  1715.233] (II) UnloadModule: "libinput"
[  1715.233] (II) systemd-logind: not releasing fd for 13:66, still in use
[  1715.233] (II) config/udev: removing device Logitech USB Receiver
[  1715.234] (II) UnloadModule: "libinput"
[  1715.234] (II) systemd-logind: releasing fd for 13:66
[  1728.007] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse0)
[  1728.007] (II) No input driver specified, ignoring this device.
[  1728.007] (II) This device may have been added with another device file.
[  1728.053] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event1)
[  1728.054] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[  1728.054] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[  1728.056] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 26 paused 0
[  1728.057] (**) Logitech USB Receiver: always reports core events
[  1728.057] (**) Option "Device" "/dev/input/event1"
[  1728.057] (**) Option "_source" "server/udev"
[  1728.060] (II) input device 'Logitech USB Receiver', /dev/input/event1 is tagged by udev as: Keyboard
[  1728.060] (II) input device 'Logitech USB Receiver', /dev/input/event1 is a keyboard
[  1728.060] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0/0003:046D:C505.0003/input/input14/event1"
[  1728.060] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 10)
[  1728.061] (**) Option "xkb_model" "pc105"
[  1728.061] (**) Option "xkb_layout" "us"
[  1728.061] (WW) Option "xkb_variant" requires a string value
[  1728.061] (WW) Option "xkb_options" requires a string value
[  1728.068] (II) input device 'Logitech USB Receiver', /dev/input/event1 is tagged by udev as: Keyboard
[  1728.068] (II) input device 'Logitech USB Receiver', /dev/input/event1 is a keyboard
[  1728.070] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event2)
[  1728.070] (**) Logitech USB Receiver: Applying InputClass "libinput pointer catchall"
[  1728.070] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[  1728.070] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[  1728.072] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 31 paused 0
[  1728.072] (**) Logitech USB Receiver: always reports core events
[  1728.072] (**) Option "Device" "/dev/input/event2"
[  1728.072] (**) Option "_source" "server/udev"
[  1728.074] (II) input device 'Logitech USB Receiver', /dev/input/event2 is tagged by udev as: Keyboard Mouse
[  1728.074] (II) input device 'Logitech USB Receiver', /dev/input/event2 is a pointer caps
[  1728.074] (II) input device 'Logitech USB Receiver', /dev/input/event2 is a keyboard
[  1728.075] (II) libinput: Logitech USB Receiver: needs a virtual subdevice
[  1728.075] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.1/0003:046D:C505.0004/input/input15/event2"
[  1728.075] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: MOUSE, id 11)
[  1728.076] (**) Option "AccelerationScheme" "none"
[  1728.076] (**) Logitech USB Receiver: (accel) selected scheme none/0
[  1728.076] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[  1728.076] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[  1728.077] (II) input device 'Logitech USB Receiver', /dev/input/event2 is tagged by udev as: Keyboard Mouse
[  1728.078] (II) input device 'Logitech USB Receiver', /dev/input/event2 is a pointer caps
[  1728.078] (II) input device 'Logitech USB Receiver', /dev/input/event2 is a keyboard
[  1728.078] (**) Logitech USB Receiver: Applying InputClass "libinput pointer catchall"
[  1728.078] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[  1728.078] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[  1728.078] (II) systemd-logind: returning pre-existing fd for /dev/input/event2 13:66
[  1728.078] (**) Logitech USB Receiver: always reports core events
[  1728.078] (**) Option "Device" "/dev/input/event2"
[  1728.078] (**) Option "_source" "_driver/libinput"
[  1728.078] (II) libinput: Logitech USB Receiver: is a virtual subdevice
[  1728.079] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.1/0003:046D:C505.0004/input/input15/event2"
[  1728.079] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 14)
[  1728.079] (**) Option "xkb_model" "pc105"
[  1728.079] (**) Option "xkb_layout" "us"
[  1728.079] (WW) Option "xkb_variant" requires a string value
[  1728.079] (WW) Option "xkb_options" requires a string value
[  1739.565] (**) Option "fd" "26"
[  1739.566] (**) Option "fd" "31"
[  1739.567] (**) Option "fd" "31"
[  1739.567] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1739.645] (II) systemd-logind: got pause for 13:70
[  1739.645] (II) systemd-logind: got pause for 13:65
[  1739.645] (II) systemd-logind: got pause for 13:74
[  1739.645] (II) systemd-logind: got pause for 13:66
[  1739.645] (II) systemd-logind: got pause for 13:68
[  1739.645] (II) systemd-logind: got pause for 226:0
[  1739.645] (II) systemd-logind: got pause for 13:64
[  1739.645] (II) systemd-logind: got pause for 13:69
[  1739.646] (II) systemd-logind: got pause for 13:75
[  1748.493] (II) systemd-logind: got resume for 13:70
[  1748.509] (II) systemd-logind: got resume for 13:65
[  1748.525] (II) systemd-logind: got resume for 13:74
[  1748.540] (II) systemd-logind: got resume for 13:66
[  1748.564] (II) systemd-logind: got resume for 13:68
[  1748.565] (II) systemd-logind: got resume for 226:0
[  1748.565] (II) AIGLX: Resuming AIGLX clients after VT switch
[  1748.565] (EE) intel(0): sna_mode_shutdown_crtc: invalid state found on pipe 1, disabling CRTC:28
[  1748.850] (II) input device 'Logitech USB Receiver', /dev/input/event1 is tagged by udev as: Keyboard
[  1748.850] (II) input device 'Logitech USB Receiver', /dev/input/event1 is a keyboard
[  1748.852] (II) input device 'Logitech USB Receiver', /dev/input/event2 is tagged by udev as: Keyboard Mouse
[  1748.852] (II) input device 'Logitech USB Receiver', /dev/input/event2 is a pointer caps
[  1748.853] (II) input device 'Logitech USB Receiver', /dev/input/event2 is a keyboard
[  1748.854] (II) systemd-logind: got resume for 13:64
[  1748.854] (II) systemd-logind: got resume for 13:69
[  1748.854] (II) systemd-logind: got resume for 13:75
[  1751.405] (**) Option "fd" "24"
[  1751.406] (**) Option "fd" "26"
[  1751.406] (**) Option "fd" "26"
[  1751.407] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1751.481] (II) systemd-logind: got pause for 13:70
[  1751.482] (II) systemd-logind: got pause for 13:65
[  1751.482] (II) systemd-logind: got pause for 13:74
[  1751.482] (II) systemd-logind: got pause for 13:66
[  1751.482] (II) systemd-logind: got pause for 13:68
[  1751.482] (II) systemd-logind: got pause for 226:0
[  1751.482] (II) systemd-logind: got pause for 13:64
[  1751.482] (II) systemd-logind: got pause for 13:69
[  1751.482] (II) systemd-logind: got pause for 13:75
[  1755.564] (II) systemd-logind: got resume for 13:70
[  1755.580] (II) systemd-logind: got resume for 13:65
[  1755.604] (II) systemd-logind: got resume for 13:74
[  1755.628] (II) systemd-logind: got resume for 13:66
[  1755.661] (II) systemd-logind: got resume for 13:68
[  1755.661] (II) systemd-logind: got resume for 226:0
[  1755.661] (II) AIGLX: Resuming AIGLX clients after VT switch
[  1755.661] (EE) intel(0): sna_mode_shutdown_crtc: invalid state found on pipe 1, disabling CRTC:28
[  1755.928] (II) input device 'Logitech USB Receiver', /dev/input/event1 is tagged by udev as: Keyboard
[  1755.928] (II) input device 'Logitech USB Receiver', /dev/input/event1 is a keyboard
[  1755.931] (II) input device 'Logitech USB Receiver', /dev/input/event2 is tagged by udev as: Keyboard Mouse
[  1755.931] (II) input device 'Logitech USB Receiver', /dev/input/event2 is a pointer caps
[  1755.931] (II) input device 'Logitech USB Receiver', /dev/input/event2 is a keyboard
[  1755.933] (II) systemd-logind: got resume for 13:64
[  1755.933] (II) systemd-logind: got resume for 13:69
[  1755.933] (II) systemd-logind: got resume for 13:75
[  1764.191] (**) Option "fd" "24"
[  1764.192] (**) Option "fd" "26"
[  1764.192] (**) Option "fd" "26"
[  1764.194] (II) UnloadModule: "libinput"
[  1764.194] (II) systemd-logind: not releasing fd for 13:66, still in use
[  1764.194] (II) UnloadModule: "libinput"
[  1764.194] (II) systemd-logind: releasing fd for 13:66
[  1764.232] (II) UnloadModule: "libinput"
[  1764.232] (II) systemd-logind: releasing fd for 13:65
[  1764.272] (II) UnloadModule: "libinput"
[  1764.272] (II) systemd-logind: releasing fd for 13:64
[  1764.304] (II) UnloadModule: "libinput"
[  1764.304] (II) systemd-logind: releasing fd for 13:75
[  1764.336] (II) UnloadModule: "libinput"
[  1764.336] (II) systemd-logind: releasing fd for 13:68
[  1764.356] (II) UnloadModule: "libinput"
[  1764.356] (II) systemd-logind: releasing fd for 13:69
[  1764.372] (II) UnloadModule: "libinput"
[  1764.372] (II) systemd-logind: releasing fd for 13:74
[  1764.388] (II) UnloadModule: "libinput"
[  1764.388] (II) systemd-logind: releasing fd for 13:70
[  1764.459] (II) Server terminated successfully (0). Closing log file.

The closest case I found on the web is this, but I'm not sure it's related (and no solution): http://www.linuxquestions.org/questions ... 175562477/

I haven't created an xorg.conf nor made any other changes to the configuration, should I?
I haven't tried a display manager and I don't want one, I just want to run startx from the console.
The same laptop was running Slackware and fluxbox before, with no problems. I'm also new to systemd.

Any idea on how to proceed to diagnose the problem is very welcome!

Laptop model: asus eeepc 1215p, cpu: atom n570, video: intel gma 3150
Last edited by badalisc on 2017-08-08 18:42, edited 2 times in total.
badalisc
 
Posts: 3
Joined: 2017-08-02 19:55

Re: problems logging out of a VT while X is running in anoth

Postby debiman » 2017-08-03 08:28

hm.

random thoughts:

try another windowmanager?
try installing & using a display/login manager?
try installing jessie (oldstable) instead on this old, old hardware?
try uninstalling intel drivers?
try nomodeset on grub linux command line?
User avatar
debiman
 
Posts: 1619
Joined: 2013-03-12 07:18

Re: problems logging out of a VT while X is running in anoth

Postby badalisc » 2017-08-03 13:15

Thank you for the reply and ideas!
try another windowmanager?

I just tried AfterStep, Enlightenment, IceWm, JWM, Metacity, Openbox, Sapphire and Window Maker, same result. Not a fluxbox issue I think.
try installing & using a display/login manager?

I tried xdm. It boots directly to a gui login prompt on vt7 which starts a working fluxbox. Vt 1 through 6 are still available for text login.
I can't reproduce the problem unless I use startx manually from the console!

Of course I would like to understand the cause, but I think I can do without startx if the problem never comes back with xdm, thanks!

The "failed to set mode: Permission denied" and "couldn't enable device *" logs, as well as the fact that logging out as root doesn't cause the problem, makes me think of a permission issue, but I have no idea how to find out.
try installing jessie (oldstable) instead on this old, old hardware?

I wanted stretch for a specific reason and that's why I replaced the existing Slackware installation.

Actually I considered buying new hardware but I found very limited choices of netbooks (<= 12" and low cost). They were much more common in 2011 when I got this one (pre installed Ubuntu).
Then I decided to just buy a new battery instead, so as to avoid unexpected issues with new hardware... :D
try uninstalling intel drivers?

I tried a few times, but I've never been able to start X without them installed (except in the case below).
try nomodeset on grub linux command line?

Tried. Both with and without intel driver.
X is successfully started in both cases, but the max. resolution is 1024x768.

The problem is nearly the same, except that in step #6, pressing alt-f1 just gives me a flicker instead of a black screen, and replugging the keyboard has no effect as well as ctrl-alt-del. My only option is the power button.
badalisc
 
Posts: 3
Joined: 2017-08-02 19:55

Re: problems logging out of a VT while X is running in anoth

Postby debiman » 2017-08-08 04:54

glad to hear it works with xdm.

about post #1 - we missed an important point - startx fails for 2 very different reasons in the 2 logs!
the first:
Code: Select all
[  1017.020] (WW) glamor requires at least 128 instructions (64 reported)
[  1017.020] (EE) modeset(0): Failed to initialize glamor at ScreenInit() time.
[  1017.020] (EE)
Fatal server error:
[  1017.020] (EE) AddScreen/ScreenInit failed for driver 0

only the second is permissions related, and i'm guessing you messed something up while trying to fix things.
just undo that, you should be back to the first error.
it's up to you what the error messages mean, and if there's a fix.
suggested search terms: "debian stretch eeepc atom intel glamor gma 3150" or "modeset failed to initialize glamor" etc.
Last edited by debiman on 2017-08-08 06:49, edited 2 times in total.
User avatar
debiman
 
Posts: 1619
Joined: 2013-03-12 07:18

Re: problems logging out of a VT while X is running in anoth

Postby pylkko » 2017-08-08 06:17

I think one of the changes in Debian 9 was that X no longer runs as root and now logind takes care of the credentials stuff and that x must be launched from the same virtual terminal as was used to log in, this requiring a driver that allows the kernel to do mode setting. I'm pretty sure that intel gma should work with either the x driver or intel.

here is also a bug that sounds exactly like what you have. there is a proposed solution to take out the clear screen option from bash conf file.

https://bugs.debian.org/cgi-bin/bugrepo ... bug=805605

"It seems that clear_console X when it's running as non-root."
https://bugs.debian.org/cgi-bin/bugrepo ... bug=810660
https://bugs.freedesktop.org/show_bug.cgi?id=93164
User avatar
pylkko
 
Posts: 1213
Joined: 2014-11-06 19:02

Re: problems logging out of a VT while X is running in anoth

Postby badalisc » 2017-08-08 14:53

debiman wrote:about post #1 - we missed an important point - startx fails for 2 very different reasons in the 2 logs!

startx fails only in the first log.
In the second log, fluxbox is started and working. The permission related errors happen in the middle, when I logout from another vt and experience the "freeze" described. Even the termination is not abnormal because the fluxbox exit hotkey works after replugging the keyboard.

The only thing I did in between was to install "xserver-xorg-video-intel" ("xserver-xorg-video-all" recommends "xserver-xorg-video-intel" but I didn't take it at first). Even after a fresh Debian install I get similar logs.
pylkko wrote:I think one of the changes in Debian 9 was that X no longer runs as root and now logind takes care of the credentials stuff and that x must be launched from the same virtual terminal as was used to log in, this requiring a driver that allows the kernel to do mode setting.

As I mentioned in post #1, I tried installing "xserver-xorg-legacy" and setting "needs_root_rights = yes" to emulate the old behavior but no difference (conversely if I do the logout part as root everything works fine).
pylkko wrote:I'm pretty sure that intel gma should work with either the x driver or intel.

I've been unable to start X without the intel driver so far, even after a fresh install (except with nomodeset and "needs_root_rights = yes" at low resolution, see post #3).
I don't know if the "logout" problem is related to the intel driver, but now I have workarounds so it has become less urgent to make it work without.
But I'll do some search on the error message, as suggested by debiman.
pylkko wrote:here is also a bug that sounds exactly like what you have. there is a proposed solution to take out the clear screen option from bash conf file.

That is certainly my problem, great find! The workaround works.

Thanks!
badalisc
 
Posts: 3
Joined: 2017-08-02 19:55

Re: problems logging out of a VT while X is running in anoth

Postby pylkko » 2017-08-08 18:12

maybe mark as "solved" for posterity

(although technically only a "work around")
User avatar
pylkko
 
Posts: 1213
Joined: 2014-11-06 19:02


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable