parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
Lynn Tilby
lynnptilby at gmail.com
Thu Nov 8 02:07:46 UTC 2018
I am trying to bring up a kiosk on an ubuntu 16.04 server install (see log
file below), to avoid gnome and accompanying complications.
NOTE that this command works just fine as root!
/usr/bin/xinit /usr/bin/chromium-browser --window-size=1920,1200
--no-sandbox --kiosk --no-first-run --no-default-browser-check
--disable-translate http://tools.advinow.net/WebKiosk/settings
I am getting the following executing the above command as user kiosk.
.
.
parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
.
.
I have tried MANY fixes and work-arounds!
I have searched
https://www.ubuntu.com/search?q=xinit+Cannot+open+%2Fdev%2Ftty0+%28Permission+denied%29
and not found any solutions.
I have searched https://www.x.org/wiki/FAQErrorMessages and not found any
solutions.
I have read over bug:
https://bugs.launchpad.net/ubuntu/+source/xinit/+bug/1562219
and tried the fixes and work-arounds suggested there, to no avail.
This seems to be a known documented bug. Is there a code update or a
workaround?
Here are the log files:
kiosk at HP4-Dev-Box:~$ cat .local/share/xorg/Xorg.0.log
[ 5248.465]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 5248.470] X Protocol Version 11, Revision 0
[ 5248.472] Build Operating System: Linux 4.4.0-128-generic i686 Ubuntu
[ 5248.473] Current Operating System: Linux HP4-Dev-Box 4.4.0-131-generic
#157-Ubuntu SMP Thu Jul 12 15:49:15 UTC 2018 i686
[ 5248.473] Kernel command line:
BOOT_IMAGE=/boot/vmlinuz-4.4.0-131-generic
root=UUID=690faa85-11be-4563-ad59-b2c17fd7d01e ro
[ 5248.476] Build Date: 10 August 2018 09:33:39AM
[ 5248.477] xorg-server 2:1.18.4-0ubuntu0.8 (For technical support please
see http://www.ubuntu.com/support)
[ 5248.478] Current version of pixman: 0.33.6
[ 5248.481] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 5248.481] Markers: (--) probed, (**) from config file, (==) default
setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5248.485] (==) Log file: "/home/kiosk/.local/share/xorg/Xorg.0.log",
Time: Wed Nov 7 17:44:06 2018
[ 5248.486] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 5248.487] (==) No Layout section. Using the first Screen section.
[ 5248.487] (==) No screen section available. Using defaults.
[ 5248.487] (**) |-->Screen "Default Screen Section" (0)
[ 5248.487] (**) | |-->Monitor "<default monitor>"
[ 5248.487] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 5248.487] (==) Automatically adding devices
[ 5248.487] (==) Automatically enabling devices
[ 5248.487] (==) Automatically adding GPU devices
[ 5248.487] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 5248.487] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not
exist.
[ 5248.487] Entry deleted from font path.
[ 5248.487] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not
exist.
[ 5248.487] Entry deleted from font path.
[ 5248.487] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not
exist.
[ 5248.487] Entry deleted from font path.
[ 5248.487] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 5248.487] Entry deleted from font path.
[ 5248.487] (WW) The directory "/usr/share/fonts/X11/100dpi" does not
exist.
[ 5248.487] Entry deleted from font path.
[ 5248.487] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 5248.487] Entry deleted from font path.
[ 5248.487] (==) FontPath set to:
/usr/share/fonts/X11/misc,
built-ins
[ 5248.487] (==) ModulePath set to
"/usr/lib/i386-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 5248.487] (II) The server relies on udev to provide the list of input
devices.
If no devices become available, reconfigure udev or disable
AutoAddDevices.
[ 5248.487] (II) Loader magic: 0x720700
[ 5248.487] (II) Module ABI versions:
[ 5248.487] X.Org ANSI C Emulation: 0.4
[ 5248.487] X.Org Video Driver: 20.0
[ 5248.487] X.Org XInput driver : 22.1
[ 5248.487] X.Org Server Extension : 9.0
[ 5248.488] (II) systemd-logind: took control of session
/org/freedesktop/login1/session/_315
[ 5248.489] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 5248.489] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8
paused 0
[ 5248.491] (--) PCI:*(0:0:2:0) 8086:591b:103c:836b rev 4, Mem @
0xb2000000/16777216, 0xc0000000/268435456, I/O @ 0x00005000/64
[ 5248.491] (--) PCI: (0:1:0:0) 10de:1c8c:103c:836b rev 161, Mem @
0xb3000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @
0x00004000/128, BIOS @ 0x????????/524288
[ 5248.491] (II) LoadModule: "glx"
[ 5248.491] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 5248.491] (II) Module glx: vendor="X.Org Foundation"
[ 5248.491] compiled for 1.18.4, module version = 1.0.0
[ 5248.491] ABI class: X.Org Server Extension, version 9.0
[ 5248.491] (==) AIGLX enabled
[ 5248.491] (==) Matched intel as autoconfigured driver 0
[ 5248.491] (==) Matched intel as autoconfigured driver 1
[ 5248.491] (==) Matched modesetting as autoconfigured driver 2
[ 5248.491] (==) Matched fbdev as autoconfigured driver 3
[ 5248.491] (==) Matched vesa as autoconfigured driver 4
[ 5248.491] (==) Assigned the driver to the xf86ConfigLayout
[ 5248.491] (II) LoadModule: "intel"
[ 5248.492] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 5248.492] (II) Module intel: vendor="X.Org Foundation"
[ 5248.492] compiled for 1.18.4, module version = 2.99.917
[ 5248.492] Module class: X.Org Video Driver
[ 5248.492] ABI class: X.Org Video Driver, version 20.0
[ 5248.492] (II) LoadModule: "modesetting"
[ 5248.492] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 5248.492] (II) Module modesetting: vendor="X.Org Foundation"
[ 5248.492] compiled for 1.18.4, module version = 1.18.4
[ 5248.492] Module class: X.Org Video Driver
[ 5248.492] ABI class: X.Org Video Driver, version 20.0
[ 5248.492] (II) LoadModule: "fbdev"
[ 5248.492] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 5248.492] (II) Module fbdev: vendor="X.Org Foundation"
[ 5248.492] compiled for 1.18.1, module version = 0.4.4
[ 5248.492] Module class: X.Org Video Driver
[ 5248.492] ABI class: X.Org Video Driver, version 20.0
[ 5248.492] (II) LoadModule: "vesa"
[ 5248.492] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 5248.492] (II) Module vesa: vendor="X.Org Foundation"
[ 5248.492] compiled for 1.18.1, module version = 2.3.4
[ 5248.492] Module class: X.Org Video Driver
[ 5248.492] ABI class: X.Org Video Driver, version 20.0
[ 5248.492] (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
[ 5248.492] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 5248.492] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 5248.492] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200,
6200, P6300
[ 5248.492] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 5248.492] (II) FBDEV: driver for framebuffer: fbdev
[ 5248.492] (II) VESA: driver for VESA chipsets: vesa
[ 5248.492] (EE)
Fatal server error:
[ 5248.492] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission
denied)
[ 5248.492] (EE)
[ 5248.492] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 5248.492] (EE) Please also check the log file at
"/home/kiosk/.local/share/xorg/Xorg.0.log" for additional information.
[ 5248.492] (EE)
kiosk at HP4-Dev-Box:~$
kiosk at HP4-Dev-Box:~$ cat .local/share/xorg/Xorg.0.log
[ 5248.465]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 5248.470] X Protocol Version 11, Revision 0
[ 5248.472] Build Operating System: Linux 4.4.0-128-generic i686 Ubuntu
[ 5248.473] Current Operating System: Linux HP4-Dev-Box 4.4.0-131-generic
#157-Ubuntu SMP Thu Jul 12 15:49:15 UTC 2018 i686
[ 5248.473] Kernel command line:
BOOT_IMAGE=/boot/vmlinuz-4.4.0-131-generic
root=UUID=690faa85-11be-4563-ad59-b2c17fd7d01e ro
[ 5248.476] Build Date: 10 August 2018 09:33:39AM
[ 5248.477] xorg-server 2:1.18.4-0ubuntu0.8 (For technical support please
see http://www.ubuntu.com/support)
[ 5248.478] Current version of pixman: 0.33.6
[ 5248.481] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 5248.481] Markers: (--) probed, (**) from config file, (==) default
setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5248.485] (==) Log file: "/home/kiosk/.local/share/xorg/Xorg.0.log",
Time: Wed Nov 7 17:44:06 2018
[ 5248.486] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 5248.487] (==) No Layout section. Using the first Screen section.
[ 5248.487] (==) No screen section available. Using defaults.
[ 5248.487] (**) |-->Screen "Default Screen Section" (0)
[ 5248.487] (**) | |-->Monitor "<default monitor>"
[ 5248.487] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 5248.487] (==) Automatically adding devices
[ 5248.487] (==) Automatically enabling devices
[ 5248.487] (==) Automatically adding GPU devices
[ 5248.487] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 5248.487] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not
exist.
[ 5248.487] Entry deleted from font path.
[ 5248.487] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not
exist.
[ 5248.487] Entry deleted from font path.
[ 5248.487] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not
exist.
[ 5248.487] Entry deleted from font path.
[ 5248.487] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 5248.487] Entry deleted from font path.
[ 5248.487] (WW) The directory "/usr/share/fonts/X11/100dpi" does not
exist.
[ 5248.487] Entry deleted from font path.
[ 5248.487] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 5248.487] Entry deleted from font path.
[ 5248.487] (==) FontPath set to:
/usr/share/fonts/X11/misc,
built-ins
[ 5248.487] (==) ModulePath set to
"/usr/lib/i386-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 5248.487] (II) The server relies on udev to provide the list of input
devices.
If no devices become available, reconfigure udev or disable
AutoAddDevices.
[ 5248.487] (II) Loader magic: 0x720700
[ 5248.487] (II) Module ABI versions:
[ 5248.487] X.Org ANSI C Emulation: 0.4
[ 5248.487] X.Org Video Driver: 20.0
[ 5248.487] X.Org XInput driver : 22.1
[ 5248.487] X.Org Server Extension : 9.0
[ 5248.488] (II) systemd-logind: took control of session
/org/freedesktop/login1/session/_315
[ 5248.489] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 5248.489] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8
paused 0
[ 5248.491] (--) PCI:*(0:0:2:0) 8086:591b:103c:836b rev 4, Mem @
0xb2000000/16777216, 0xc0000000/268435456, I/O @ 0x00005000/64
[ 5248.491] (--) PCI: (0:1:0:0) 10de:1c8c:103c:836b rev 161, Mem @
0xb3000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @
0x00004000/128, BIOS @ 0x????????/524288
[ 5248.491] (II) LoadModule: "glx"
[ 5248.491] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 5248.491] (II) Module glx: vendor="X.Org Foundation"
[ 5248.491] compiled for 1.18.4, module version = 1.0.0
[ 5248.491] ABI class: X.Org Server Extension, version 9.0
[ 5248.491] (==) AIGLX enabled
[ 5248.491] (==) Matched intel as autoconfigured driver 0
[ 5248.491] (==) Matched intel as autoconfigured driver 1
[ 5248.491] (==) Matched modesetting as autoconfigured driver 2
[ 5248.491] (==) Matched fbdev as autoconfigured driver 3
[ 5248.491] (==) Matched vesa as autoconfigured driver 4
[ 5248.491] (==) Assigned the driver to the xf86ConfigLayout
[ 5248.491] (II) LoadModule: "intel"
[ 5248.492] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 5248.492] (II) Module intel: vendor="X.Org Foundation"
[ 5248.492] compiled for 1.18.4, module version = 2.99.917
[ 5248.492] Module class: X.Org Video Driver
[ 5248.492] ABI class: X.Org Video Driver, version 20.0
[ 5248.492] (II) LoadModule: "modesetting"
[ 5248.492] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 5248.492] (II) Module modesetting: vendor="X.Org Foundation"
[ 5248.492] compiled for 1.18.4, module version = 1.18.4
[ 5248.492] Module class: X.Org Video Driver
[ 5248.492] ABI class: X.Org Video Driver, version 20.0
[ 5248.492] (II) LoadModule: "fbdev"
[ 5248.492] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 5248.492] (II) Module fbdev: vendor="X.Org Foundation"
[ 5248.492] compiled for 1.18.1, module version = 0.4.4
[ 5248.492] Module class: X.Org Video Driver
[ 5248.492] ABI class: X.Org Video Driver, version 20.0
[ 5248.492] (II) LoadModule: "vesa"
[ 5248.492] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 5248.492] (II) Module vesa: vendor="X.Org Foundation"
[ 5248.492] compiled for 1.18.1, module version = 2.3.4
[ 5248.492] Module class: X.Org Video Driver
[ 5248.492] ABI class: X.Org Video Driver, version 20.0
[ 5248.492] (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
[ 5248.492] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 5248.492] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 5248.492] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200,
6200, P6300
[ 5248.492] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 5248.492] (II) FBDEV: driver for framebuffer: fbdev
[ 5248.492] (II) VESA: driver for VESA chipsets: vesa
[ 5248.492] (EE)
Fatal server error:
[ 5248.492] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission
denied)
[ 5248.492] (EE)
[ 5248.492] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 5248.492] (EE) Please also check the log file at
"/home/kiosk/.local/share/xorg/Xorg.0.log" for additional information.
[ 5248.492] (EE)
kiosk at HP4-Dev-Box:~$
THANK YOU! for your help!!!!
Lynn P. Tilby
lynnptilby at gmail.com
C:480 747-4750
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg/attachments/20181107/2603772a/attachment-0001.html>
More information about the xorg
mailing list