Hi Rob,
By default, Devuan uses the seventh tty for X sessions. The permision is
denied because xserver-xorg is not SUID root. If it is called from
another SUID root program (a display manager like slim or lightdm) it
will work. But first, you can try reinstalling xserver-xorg package to
set the correct permissions, once created the user.
Cheers,
Aitor.
On 17/10/15 00:44, Rob <nuisa...@protonmail.com> wrote:
After upgrade tonight came out of Xorg to restart openbox.
I tried to start Xorg but it failed with "xf86OpenConsole cannot open /dev/tty0
( no such file or directory)
/dev/tty0 was there so assumed permission problem. Temporarily added my user to
tty group and tried again.
This time Xorg failed to start with "xf86OpenConsole cannot open Virtual
Console 7 ( permisson denied.)
How to resolve?
Xorg.log below
Thanks
Rob
[ 5450.132]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[ 5450.132] X Protocol Version 11, Revision 0
[ 5450.132] Build Operating System: Linux 4.2.0-1-amd64 x86_64 Debian
[ 5450.132] Current Operating System: Linux debian 3.18.5preempt #1 SMP PREEMPT
Tue Feb 3 21:18:50 GMT 2015 x86_64
[ 5450.132] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.18.5preempt
root=/dev/sda1 ro
[ 5450.132] Build Date: 06 October 2015 07:27:47AM
[ 5450.132] xorg-server 2:1.17.2-3 (http://www.debian.org/support)
[ 5450.132] Current version of pixman: 0.33.2
[ 5450.132] Before reporting problems, checkhttp://wiki.x.org
to make sure that you have the latest version.
[ 5450.132] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5450.133] (==) Log file: "/home/rob/.local/share/xorg/Xorg.0.log", Time: Fri
Oct 16 23:40:02 2015
[ 5450.133] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 5450.133] (==) No Layout section. Using the first Screen section.
[ 5450.133] (==) No screen section available. Using defaults.
[ 5450.133] (**) |-->Screen "Default Screen Section" (0)
[ 5450.133] (**) | |-->Monitor "<default monitor>"
[ 5450.133] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 5450.133] (==) Automatically adding devices
[ 5450.133] (==) Automatically enabling devices
[ 5450.133] (==) Automatically adding GPU devices
[ 5450.133] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 5450.133] Entry deleted from font path.
[ 5450.133] (==) 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
[ 5450.133] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 5450.133] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 5450.133] (II) Loader magic: 0x7f18511c4de0
[ 5450.133] (II) Module ABI versions:
[ 5450.133] X.Org ANSI C Emulation: 0.4
[ 5450.133] X.Org Video Driver: 19.0
[ 5450.133] X.Org XInput driver : 21.0
[ 5450.133] X.Org Server Extension : 9.0
[ 5450.134] (EE) systemd-logind: failed to get session: The name
org.freedesktop.login1 was not provided by any .service files
[ 5450.134] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 5450.134] (EE) /dev/dri/card0: failed to set DRM interface version 1.4:
Permission denied
[ 5450.136] (--) PCI:*(0:1:0:0) 10de:1381:19da:2346 rev 162, Mem @
0xfd000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @
0x0000e000/128, BIOS @ 0x????????/524288
[ 5450.136] (II) LoadModule: "glx"
[ 5450.136] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[ 5450.147] (II) Module glx: vendor="NVIDIA Corporation"
[ 5450.147] compiled for 4.0.2, module version = 1.0.0
[ 5450.147] Module class: X.Org Server Extension
[ 5450.147] (II) NVIDIA GLX Module 340.93 Wed Aug 19 16:23:51 PDT 2015
[ 5450.147] (==) Matched nouveau as autoconfigured driver 0
[ 5450.147] (==) Matched nv as autoconfigured driver 1
[ 5450.147] (==) Matched modesetting as autoconfigured driver 2
[ 5450.147] (==) Matched fbdev as autoconfigured driver 3
[ 5450.147] (==) Matched vesa as autoconfigured driver 4
[ 5450.147] (==) Assigned the driver to the xf86ConfigLayout
[ 5450.147] (II) LoadModule: "nouveau"
[ 5450.147] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 5450.147] (II) Module nouveau: vendor="X.Org Foundation"
[ 5450.147] compiled for 1.17.1, module version = 1.0.11
[ 5450.147] Module class: X.Org Video Driver
[ 5450.147] ABI class: X.Org Video Driver, version 19.0
[ 5450.147] (II) LoadModule: "nv"
[ 5450.148] (WW) Warning, couldn't open module nv
[ 5450.148] (II) UnloadModule: "nv"
[ 5450.148] (II) Unloading nv
[ 5450.148] (EE) Failed to load module "nv" (module does not exist, 0)
[ 5450.148] (II) LoadModule: "modesetting"
[ 5450.148] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 5450.148] (II) Module modesetting: vendor="X.Org Foundation"
[ 5450.148] compiled for 1.17.2, module version = 1.17.2
[ 5450.148] Module class: X.Org Video Driver
[ 5450.148] ABI class: X.Org Video Driver, version 19.0
[ 5450.148] (II) LoadModule: "fbdev"
[ 5450.148] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 5450.148] (II) Module fbdev: vendor="X.Org Foundation"
[ 5450.148] compiled for 1.17.1, module version = 0.4.4
[ 5450.148] Module class: X.Org Video Driver
[ 5450.148] ABI class: X.Org Video Driver, version 19.0
[ 5450.148] (II) LoadModule: "vesa"
[ 5450.148] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 5450.148] (II) Module vesa: vendor="X.Org Foundation"
[ 5450.148] compiled for 1.17.1, module version = 2.3.3
[ 5450.148] Module class: X.Org Video Driver
[ 5450.148] ABI class: X.Org Video Driver, version 19.0
[ 5450.148] (II) NOUVEAU driver Date: Thu Aug 28 03:57:48 2014 +0200
[ 5450.148] (II) NOUVEAU driver for NVIDIA chipset families :
[ 5450.148] RIVA TNT (NV04)
[ 5450.148] RIVA TNT2 (NV05)
[ 5450.148] GeForce 256 (NV10)
[ 5450.148] GeForce 2 (NV11, NV15)
[ 5450.148] GeForce 4MX (NV17, NV18)
[ 5450.148] GeForce 3 (NV20)
[ 5450.148] GeForce 4Ti (NV25, NV28)
[ 5450.148] GeForce FX (NV3x)
[ 5450.148] GeForce 6 (NV4x)
[ 5450.148] GeForce 7 (G7x)
[ 5450.148] GeForce 8 (G8x)
[ 5450.148] GeForce GTX 200 (NVA0)
[ 5450.148] GeForce GTX 400 (NVC0)
[ 5450.148] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 5450.148] (II) FBDEV: driver for framebuffer: fbdev
[ 5450.148] (II) VESA: driver for VESA chipsets: vesa
[ 5450.148] (--) using VT number 7
[ 5450.148] (EE)
Fatal server error:
[ 5450.148] (EE) xf86OpenConsole: Cannot open virtual console 8 (Permission
denied)
[ 5450.148] (EE)
[ 5450.148] (EE)
Please consult the The X.Org Foundation support
athttp://wiki.x.org
for help.
[ 5450.148] (EE) Please also check the log file at
"/home/rob/.local/share/xorg/Xorg.0.log" for additional information.
[ 5450.149] (EE)
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng