Bug#856351: parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
Package: xinit
Version: 1.3.4-3
running "xinit -- :4" on console /dev/tty1 fails with
X.Org X Server 1.19.1
Release Date: 2017-01-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
Current Operating System: Linux dpcl082.ac.aixigo.de 4.9.13 #1 SMP Sun Feb 26 17:12:37 CET 2017 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.13 root=UUID=eb332fc7-97c7-4ebd-b82f-24e569770822 ro nfs.nfs4_unique_id=e25a4169-41fe-4bc3-a604-1f1e0cd015b2 swapaccount=1 cgroup_enable=memory vsyscall=emulate quiet
Build Date: 20 January 2017 02:50:48AM
xorg-server 2:1.19.1-4 (https://www.debian.org/support)
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/user/.local/share/xorg/Xorg.4.log", Time: Tue Feb 28 11:09:36 2017
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/home/user/.local/share/xorg/Xorg.4.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
UID != 0, of course.
"startx -- :4" works as expected. Wonder why xinit tries /dev/tty0
instead of /dev/tty1?
Please fix for Stretch.
Thanx very much
Harri
[ 16050.034]
X.Org X Server 1.19.1
Release Date: 2017-01-11
[ 16050.043] X Protocol Version 11, Revision 0
[ 16050.046] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[ 16050.049] Current Operating System: Linux ppcl001.ac.aixigo.de 4.9.0-1-amd64 #1 SMP Debian 4.9.6-3 (2017-01-28) x86_64
[ 16050.049] Kernel command line: BOOT_IMAGE=/vmlinuz-4.9.0-1-amd64 root=/dev/mapper/vg00-root ro vsyscall=emulate quiet
[ 16050.055] Build Date: 20 January 2017 02:50:48AM
[ 16050.058] xorg-server 2:1.19.1-4 (https://www.debian.org/support)
[ 16050.061] Current version of pixman: 0.34.0
[ 16050.066] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 16050.066] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 16050.077] (==) Log file: "/home/user/.local/share/xorg/Xorg.4.log", Time: Tue Feb 28 12:37:37 2017
[ 16050.079] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 16050.082] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 16050.082] (==) No Layout section. Using the first Screen section.
[ 16050.082] (==) No screen section available. Using defaults.
[ 16050.082] (**) |-->Screen "Default Screen Section" (0)
[ 16050.082] (**) | |-->Monitor "<default monitor>"
[ 16050.082] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 16050.082] (==) Automatically adding devices
[ 16050.082] (==) Automatically enabling devices
[ 16050.082] (==) Automatically adding GPU devices
[ 16050.082] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 16050.082] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 16050.082] Entry deleted from font path.
[ 16050.082] (==) 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
[ 16050.082] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 16050.082] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 16050.082] (II) Loader magic: 0x55b11880fe00
[ 16050.083] (II) Module ABI versions:
[ 16050.083] X.Org ANSI C Emulation: 0.4
[ 16050.083] X.Org Video Driver: 23.0
[ 16050.083] X.Org XInput driver : 24.1
[ 16050.083] X.Org Server Extension : 10.0
[ 16050.086] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_386
[ 16050.087] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 16050.087] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 16050.089] (--) PCI:*(0:0:2:0) 8086:0a16:17aa:220c rev 9, Mem @ 0xe0000000/4194304, 0xc0000000/536870912, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[ 16050.089] (II) LoadModule: "glx"
[ 16050.089] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 16050.090] (II) Module glx: vendor="X.Org Foundation"
[ 16050.090] compiled for 1.19.1, module version = 1.0.0
[ 16050.090] ABI class: X.Org Server Extension, version 10.0
[ 16050.090] (==) Matched modesetting as autoconfigured driver 0
[ 16050.090] (==) Matched fbdev as autoconfigured driver 1
[ 16050.090] (==) Matched vesa as autoconfigured driver 2
[ 16050.090] (==) Assigned the driver to the xf86ConfigLayout
[ 16050.090] (II) LoadModule: "modesetting"
[ 16050.090] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 16050.090] (II) Module modesetting: vendor="X.Org Foundation"
[ 16050.090] compiled for 1.19.1, module version = 1.19.1
[ 16050.090] Module class: X.Org Video Driver
[ 16050.090] ABI class: X.Org Video Driver, version 23.0
[ 16050.090] (II) LoadModule: "fbdev"
[ 16050.090] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 16050.090] (II) Module fbdev: vendor="X.Org Foundation"
[ 16050.090] compiled for 1.19.0, module version = 0.4.4
[ 16050.090] Module class: X.Org Video Driver
[ 16050.090] ABI class: X.Org Video Driver, version 23.0
[ 16050.090] (II) LoadModule: "vesa"
[ 16050.090] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 16050.090] (II) Module vesa: vendor="X.Org Foundation"
[ 16050.090] compiled for 1.19.0, module version = 2.3.4
[ 16050.090] Module class: X.Org Video Driver
[ 16050.090] ABI class: X.Org Video Driver, version 23.0
[ 16050.090] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 16050.090] (II) FBDEV: driver for framebuffer: fbdev
[ 16050.090] (II) VESA: driver for VESA chipsets: vesa
[ 16050.090] (EE)
Fatal server error:
[ 16050.090] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
[ 16050.090] (EE)
[ 16050.090] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 16050.090] (EE) Please also check the log file at "/home/user/.local/share/xorg/Xorg.4.log" for additional information.
[ 16050.090] (EE)
[ 16050.090] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[ 16050.090] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[ 16050.133] (EE) Server terminated with error (1). Closing log file.
Reply to: