(Attached file was missing in last mail)
I tried to reproduce the error. As a result to restart my service, I get this message:
$ sudo systemctl status startkladde.service ● startkladde.service - Startkladde Loaded: loaded (/etc/systemd/system/startkladde.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2017-09-01 20:40:20 CEST; 27s ago Process: 16377 ExecStart=/usr/bin/sudo -u startkladde startx /usr/local/bin/startkladde_wrapper (code=exited, status=1/FAILURE) Main PID: 16377 (code=exited, status=1/FAILURE)
Sep 01 20:40:05 startkladde sudo[16377]: (EE) Please also check the log file at "/home/startkladde/.local/share/xorg/Xorg.0.log" for additional information. Sep 01 20:40:05 startkladde sudo[16377]: (EE) Sep 01 20:40:05 startkladde sudo[16377]: (EE) Server terminated with error (1). Closing log file. Sep 01 20:40:20 startkladde sudo[16377]: xinit: giving up Sep 01 20:40:20 startkladde sudo[16377]: xinit: unable to connect to X server: Connection refused Sep 01 20:40:20 startkladde sudo[16377]: xinit: server error Sep 01 20:40:20 startkladde systemd[1]: startkladde.service: Main process exited, code=exited, status=1/FAILURE Sep 01 20:40:20 startkladde systemd[1]: Failed to start Startkladde. Sep 01 20:40:20 startkladde systemd[1]: startkladde.service: Unit entered failed state. Sep 01 20:40:20 startkladde systemd[1]: startkladde.service: Failed with result 'exit-code'.
File Xorg.0.log is attached. I guess the fault is here: Fatal server error: [ 9889.428] (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
This system has be fresh upgraded from Debian 8.9 to 9.1. Before the upgrade this was working.
|
[ 9889.411] X.Org X Server 1.19.2 Release Date: 2017-03-02 [ 9889.412] X Protocol Version 11, Revision 0 [ 9889.412] Build Operating System: Linux 4.9.0-3-amd64 x86_64 Debian [ 9889.412] Current Operating System: Linux startkladde 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 [ 9889.412] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-3-amd64 root=UUID=9a3884ef-d753-4ce0-ad42-e78bfd8075ea ro reboot=bios splash [ 9889.412] Build Date: 07 July 2017 06:14:06AM [ 9889.412] xorg-server 2:1.19.2-1+deb9u1 (https://www.debian.org/support) [ 9889.412] Current version of pixman: 0.34.0 [ 9889.412] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 9889.412] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 9889.412] (==) Log file: "/home/startkladde/.local/share/xorg/Xorg.0.log", Time: Fri Sep 1 20:40:05 2017 [ 9889.412] (==) Using config file: "/etc/X11/xorg.conf" [ 9889.412] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 9889.412] (==) ServerLayout "X.org Configured" [ 9889.412] (**) |-->Screen "Screen0" (0) [ 9889.412] (**) | |-->Monitor "Monitor0" [ 9889.413] (**) | |-->Device "Card0" [ 9889.413] (**) | |-->GPUDevice "Card1" [ 9889.413] (**) |-->Input Device "Mouse0" [ 9889.413] (**) |-->Input Device "Keyboard0" [ 9889.413] (==) Automatically adding devices [ 9889.413] (==) Automatically enabling devices [ 9889.413] (==) Automatically adding GPU devices [ 9889.413] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 9889.413] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 9889.413] Entry deleted from font path. [ 9889.413] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 9889.413] Entry deleted from font path. [ 9889.413] (**) 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, /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 [ 9889.413] (**) ModulePath set to "/usr/lib/xorg/modules" [ 9889.413] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. [ 9889.413] (WW) Disabling Mouse0 [ 9889.413] (WW) Disabling Keyboard0 [ 9889.413] (II) Loader magic: 0x558534a5be00 [ 9889.413] (II) Module ABI versions: [ 9889.413] X.Org ANSI C Emulation: 0.4 [ 9889.413] X.Org Video Driver: 23.0 [ 9889.413] X.Org XInput driver : 24.1 [ 9889.413] X.Org Server Extension : 10.0 [ 9889.414] (--) using VT number 2 [ 9889.414] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 9889.415] (II) xfree86: Adding drm device (/dev/dri/card0) [ 9889.423] (--) PCI:*(0:0:2:0) 8086:27a2:17aa:201a rev 3, Mem @ 0xee100000/524288, 0xd0000000/268435456, 0xee200000/262144, I/O @ 0x00001800/8, BIOS @ 0x????????/131072 [ 9889.423] (--) PCI: (0:0:2:1) 8086:27a6:17aa:201a rev 3, Mem @ 0xee180000/524288 [ 9889.424] (II) "glx" will be loaded. This was enabled by default and also specified in the config file. [ 9889.424] (II) LoadModule: "glx" [ 9889.424] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 9889.426] (II) Module glx: vendor="X.Org Foundation" [ 9889.426] compiled for 1.19.2, module version = 1.0.0 [ 9889.426] ABI class: X.Org Server Extension, version 10.0 [ 9889.426] (II) LoadModule: "intel" [ 9889.426] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so [ 9889.427] (II) Module intel: vendor="X.Org Foundation" [ 9889.427] compiled for 1.19.0, module version = 2.99.917 [ 9889.427] Module class: X.Org Video Driver [ 9889.427] ABI class: X.Org Video Driver, version 23.0 [ 9889.427] (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 [ 9889.427] (II) intel: Driver for Intel(R) HD Graphics [ 9889.427] (II) intel: Driver for Intel(R) Iris(TM) Graphics [ 9889.427] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics [ 9889.427] (EE) Fatal server error: [ 9889.428] (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) [ 9889.428] (EE) [ 9889.428] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 9889.428] (EE) Please also check the log file at "/home/startkladde/.local/share/xorg/Xorg.0.log" for additional information. [ 9889.428] (EE) [ 9889.428] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor [ 9889.428] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor [ 9889.428] (EE) Server terminated with error (1). Closing log file.