I'm running an RPi 4b with a 3.5" waveshare lcd screen using the latest Bullseye OS (Bookworm doesn't work at all with the waveshare screen).
I've got everything configures and loaded but keep getting a fatal server error "xf86OpenConsole: Cannot open virtual console 2 (Permission denied)" when I run startx. Error message is below.
Here's he output of the log file.
I've googled this, and set the tty2 permission to 755, and added the login user b2400 to the tty group, but I still get the error. X.org wiki didn't give me any ideas either.
Any one have any ideas?
Thanks,
GWFAMI
I've got everything configures and loaded but keep getting a fatal server error "xf86OpenConsole: Cannot open virtual console 2 (Permission denied)" when I run startx. Error message is below.
Code:
b2400@b2400:~ $ startxX.Org X Server 1.20.11X Protocol Version 11, Revision 0Build Operating System: linux DebianCurrent Operating System: Linux b2400 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=480 bcm2708_fb.fbheight=320 bcm2708_fb.fbswap=1 smsc95xx.macaddr=D8:3A:DD:5E:F9:4F vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash fbcon=map:10 fbcon=font:ProFont6x11Build Date: 30 March 2023 01:46:14PMxorg-server 2:1.20.11-1+rpt3+deb11u6 (https://www.debian.org/support) Current version of pixman: 0.40.0Before reporting problems, check http://wiki.x.orgto 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/b2400/.local/share/xorg/Xorg.1.log", Time: Fri Dec 22 23:43:09 2023(==) Using config directory: "/etc/X11/xorg.conf.d"(==) Using system config directory "/usr/share/X11/xorg.conf.d"(EE) Fatal server error:(EE) xf86OpenConsole: Cannot open virtual console 2 (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/b2400/.local/share/xorg/Xorg.1.log" for additional information.(EE) (EE) Server terminated with error (1). Closing log file.^Cxinit: giving upxinit: unable to connect to X server: Connection refusedxinit: unexpected signal
Code:
b2400@b2400:~ $ cat /home/b2400/.local/share/xorg/Xorg.1.log[ 924.795] X.Org X Server 1.20.11X Protocol Version 11, Revision 0[ 924.795] Build Operating System: linux Debian[ 924.796] Current Operating System: Linux b2400 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64[ 924.796] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=480 bcm2708_fb.fbheight=320 bcm2708_fb.fbswap=1 smsc95xx.macaddr=D8:3A:DD:5E:F9:4F vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash fbcon=map:10 fbcon=font:ProFont6x11[ 924.796] Build Date: 30 March 2023 01:46:14PM[ 924.796] xorg-server 2:1.20.11-1+rpt3+deb11u6 (https://www.debian.org/support) [ 924.796] Current version of pixman: 0.40.0[ 924.796] Before reporting problems, check http://wiki.x.orgto make sure that you have the latest version.[ 924.796] Markers: (--) probed, (**) from config file, (==) default setting,(++) from command line, (!!) notice, (II) informational,(WW) warning, (EE) error, (NI) not implemented, (??) unknown.[ 924.796] (==) Log file: "/home/b2400/.local/share/xorg/Xorg.1.log", Time: Fri Dec 22 23:45:10 2023[ 924.797] (==) Using config directory: "/etc/X11/xorg.conf.d"[ 924.797] (==) Using system config directory "/usr/share/X11/xorg.conf.d"[ 924.798] (==) No Layout section. Using the first Screen section.[ 924.798] (==) No screen section available. Using defaults.[ 924.798] (**) |-->Screen "Default Screen Section" (0)[ 924.798] (**) | |-->Monitor "<default monitor>"[ 924.798] (==) No monitor specified for screen "Default Screen Section".Using a default monitor configuration.[ 924.798] (**) Option "Debug" "dmabuf_capable"[ 924.798] (==) Automatically adding devices[ 924.798] (==) Automatically enabling devices[ 924.798] (==) Automatically adding GPU devices[ 924.799] (==) Max clients allowed: 256, resource mask: 0x1fffff[ 924.799] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.[ 924.799] Entry deleted from font path.[ 924.799] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.[ 924.799] Entry deleted from font path.[ 924.799] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.[ 924.799] Entry deleted from font path.[ 924.799] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.[ 924.799] Entry deleted from font path.[ 924.799] (==) FontPath set to:/usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/100dpi,built-ins[ 924.799] (==) ModulePath set to "/usr/lib/xorg/modules"[ 924.799] (II) The server relies on udev to provide the list of input devices.If no devices become available, reconfigure udev or disable AutoAddDevices.[ 924.799] (II) Loader magic: 0x556b8bde28[ 924.799] (II) Module ABI versions:[ 924.799] X.Org ANSI C Emulation: 0.4[ 924.799] X.Org Video Driver: 24.1[ 924.799] X.Org XInput driver : 24.1[ 924.799] X.Org Server Extension : 10.0[ 924.801] (--) using VT number 2[ 924.801] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration[ 924.802] (II) no primary bus or device found[ 924.802] (II) LoadModule: "glx"[ 924.803] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so[ 924.806] (II) Module glx: vendor="X.Org Foundation"[ 924.806] compiled for 1.20.11, module version = 1.0.0[ 924.806] ABI class: X.Org Server Extension, version 10.0[ 924.806] (==) Matched modesetting as autoconfigured driver 0[ 924.806] (==) Matched fbdev as autoconfigured driver 1[ 924.806] (==) Assigned the driver to the xf86ConfigLayout[ 924.806] (II) LoadModule: "modesetting"[ 924.806] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so[ 924.808] (II) Module modesetting: vendor="X.Org Foundation"[ 924.808] compiled for 1.20.11, module version = 1.20.11[ 924.808] Module class: X.Org Video Driver[ 924.808] ABI class: X.Org Video Driver, version 24.1[ 924.808] (II) LoadModule: "fbdev"[ 924.808] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so[ 924.808] (II) Module fbdev: vendor="X.Org Foundation"[ 924.808] compiled for 1.20.0, module version = 0.5.0[ 924.808] Module class: X.Org Video Driver[ 924.808] ABI class: X.Org Video Driver, version 24.0[ 924.809] (II) modesetting: Driver for Modesetting Kernel Drivers: kms[ 924.809] (II) FBDEV: driver for framebuffer: fbdev[ 924.809] (EE) Fatal server error:[ 924.809] (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)[ 924.809] (EE) [ 924.809] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 924.809] (EE) Please also check the log file at "/home/b2400/.local/share/xorg/Xorg.1.log" for additional information.[ 924.809] (EE) [ 924.809] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor[ 924.810] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor[ 924.810] (EE) Server terminated with error (1). Closing log file.b2400@b2400:~ $
Any one have any ideas?
Thanks,
GWFAMI
Statistics: Posted by gwfami — Sat Dec 23, 2023 5:48 am