Mailing List Archive

Cannot open virtual console 7 (Permission denied)
This is a new installation and I'm getting an error on starting X

Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)

(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused

cat /home/fd/.local/share/xorg/Xorg.0.log
[ 1876.134]
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[ 1876.134] Build Operating System: Linux 5.4.97-gentoo x86_64 Gentoo
[ 1876.134] Current Operating System: Linux amd_ma 5.4.97-gentoo #2 SMP Thu Apr 8 01:43:59 MDT 2021 x86_64
[ 1876.134] Kernel command line: BOOT_IMAGE=/vmlinuz-5.4.97-gentoo root=/dev/nvme0n1p2 ro
[ 1876.134] Build Date: 08 April 2021 02:15:43AM
[ 1876.134]
[ 1876.134] Current version of pixman: 0.40.0
[ 1876.134] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1876.134] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1876.134] (==) Log file: "/home/fd/.local/share/xorg/Xorg.0.log", Time: Thu Apr 8 02:20:36 2021
[ 1876.134] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1876.135] (==) No Layout section. Using the first Screen section.
[ 1876.135] (==) No screen section available. Using defaults.
[ 1876.135] (**) |-->Screen "Default Screen Section" (0)
[ 1876.135] (**) | |-->Monitor "<default monitor>"
[ 1876.135] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1876.135] (==) Automatically adding devices
[ 1876.135] (==) Automatically enabling devices
[ 1876.135] (==) Automatically adding GPU devices
[ 1876.135] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1876.135] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 1876.135] Entry deleted from font path.
[ 1876.135] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 1876.135] Entry deleted from font path.
[ 1876.135] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 1876.135] Entry deleted from font path.
[ 1876.135] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 1876.135] Entry deleted from font path.
[ 1876.135] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 1876.135] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 1876.135] Entry deleted from font path.
[ 1876.135] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 1876.135] (==) FontPath set to:
/usr/share/fonts/misc/
[ 1876.135] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 1876.135] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 1876.135] (II) Loader magic: 0x55dba31b2d00
[ 1876.135] (II) Module ABI versions:
[ 1876.135] X.Org ANSI C Emulation: 0.4
[ 1876.135] X.Org Video Driver: 24.1
[ 1876.135] X.Org XInput driver : 24.1
[ 1876.135] X.Org Server Extension : 10.0
[ 1876.135] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory)
[ 1876.135] (--) using VT number 7

[ 1876.135] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 1876.137] (--) PCI:*(9@0:0:0) 1002:15d8:1043:876b rev 200, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfce00000/524288, I/O @ 0x0000e000/256
[ 1876.137] (II) LoadModule: "glx"
[ 1876.137] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 1876.137] (II) Module glx: vendor="X.Org Foundation"
[ 1876.137] compiled for 1.20.10, module version = 1.0.0
[ 1876.137] ABI class: X.Org Server Extension, version 10.0
[ 1876.137] (==) Matched ati as autoconfigured driver 0
[ 1876.137] (==) Matched modesetting as autoconfigured driver 1
[ 1876.137] (==) Matched fbdev as autoconfigured driver 2
[ 1876.137] (==) Matched vesa as autoconfigured driver 3
[ 1876.137] (==) Assigned the driver to the xf86ConfigLayout
[ 1876.137] (II) LoadModule: "ati"
[ 1876.138] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[ 1876.138] (II) Module ati: vendor="X.Org Foundation"
[ 1876.138] compiled for 1.20.10, module version = 19.1.0
[ 1876.138] Module class: X.Org Video Driver
[ 1876.138] ABI class: X.Org Video Driver, version 24.1
[ 1876.138] (II) LoadModule: "radeon"
[ 1876.138] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[ 1876.138] (II) Module radeon: vendor="X.Org Foundation"
[ 1876.138] compiled for 1.20.10, module version = 19.1.0
[ 1876.138] Module class: X.Org Video Driver
[ 1876.138] ABI class: X.Org Video Driver, version 24.1
[ 1876.138] (II) LoadModule: "modesetting"
[ 1876.138] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 1876.138] (II) Module modesetting: vendor="X.Org Foundation"
[ 1876.138] compiled for 1.20.10, module version = 1.20.10
[ 1876.138] Module class: X.Org Video Driver
[ 1876.138] ABI class: X.Org Video Driver, version 24.1
[ 1876.138] (II) LoadModule: "fbdev"
[ 1876.138] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[ 1876.138] (II) Module fbdev: vendor="X.Org Foundation"
[ 1876.138] compiled for 1.20.10, module version = 0.5.0
[ 1876.138] Module class: X.Org Video Driver
[ 1876.138] ABI class: X.Org Video Driver, version 24.1
[ 1876.138] (II) LoadModule: "vesa"
[ 1876.138] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[ 1876.138] (II) Module vesa: vendor="X.Org Foundation"
[ 1876.138] compiled for 1.20.10, module version = 2.5.0
[ 1876.138] Module class: X.Org Video Driver
[ 1876.138] ABI class: X.Org Video Driver, version 24.1
[ 1876.138] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
ATI Radeon Mobility X600 (M24), ATI FireMV 2400,
ATI Radeon Mobility X300 (M24), ATI FireGL M24 GL,
ATI Radeon X600 (RV380), ATI FireGL V3200 (RV380),
ATI Radeon IGP320 (A3), ATI Radeon IGP330/340/350 (A4),
ATI Radeon 9500, ATI Radeon 9600TX, ATI FireGL Z1, ATI Radeon 9800SE,
ATI Radeon 9800, ATI FireGL X2, ATI Radeon 9600, ATI Radeon 9600SE,
ATI Radeon 9600XT, ATI FireGL T2, ATI Radeon 9650, ATI FireGL RV360,
ATI Radeon 7000 IGP (A4+), ATI Radeon 8500 AIW,
ATI Radeon IGP320M (U1), ATI Radeon IGP330M/340M/350M (U2),
ATI Radeon Mobility 7000 IGP, ATI Radeon 9000/PRO, ATI Radeon 9000,
ATI Radeon X800 (R420), ATI Radeon X800PRO (R420),
ATI Radeon X800SE (R420), ATI FireGL X3 (R420),
ATI Radeon Mobility 9800 (M18), ATI Radeon X800 SE (R420),
ATI Radeon X800XT (R420), ATI Radeon X800 VE (R420),
ATI Radeon X850 (R480), ATI Radeon X850 XT (R480),
ATI Radeon X850 SE (R480), ATI Radeon X850 PRO (R480),
ATI Radeon X850 XT PE (R480), ATI Radeon Mobility M7,
ATI Mobility FireGL 7800 M7, ATI Radeon Mobility M6,
ATI FireGL Mobility 9000 (M9), ATI Radeon Mobility 9000 (M9),
ATI Radeon 9700 Pro, ATI Radeon 9700/9500Pro, ATI FireGL X1,
ATI Radeon 9800PRO, ATI Radeon 9800XT,
ATI Radeon Mobility 9600/9700 (M10/M11),
ATI Radeon Mobility 9600 (M10), ATI Radeon Mobility 9600 (M11),
ATI FireGL Mobility T2 (M10), ATI FireGL Mobility T2e (M11),
ATI Radeon, ATI FireGL 8700/8800, ATI Radeon 8500, ATI Radeon 9100,
ATI Radeon 7500, ATI Radeon VE/7000, ATI ES1000,
ATI Radeon Mobility X300 (M22), ATI Radeon Mobility X600 SE (M24C),
ATI FireGL M22 GL, ATI Radeon X800 (R423), ATI Radeon X800PRO (R423),
ATI Radeon X800LE (R423), ATI Radeon X800SE (R423),
ATI Radeon X800 XTP (R430), ATI Radeon X800 XL (R430),
ATI Radeon X800 SE (R430), ATI Radeon X800 (R430),
ATI FireGL V7100 (R423), ATI FireGL V5100 (R423),
ATI FireGL unknown (R423), ATI Mobility FireGL V5000 (M26),
ATI Mobility Radeon X700 XL (M26), ATI Mobility Radeon X700 (M26),
ATI Radeon X550XTX, ATI Radeon 9100 IGP (A5),
ATI Radeon Mobility 9100 IGP (U3), ATI Radeon XPRESS 200,
ATI Radeon XPRESS 200M, ATI Radeon 9250, ATI Radeon 9200,
ATI Radeon 9200SE, ATI FireMV 2200, ATI Radeon X300 (RV370),
ATI Radeon X600 (RV370), ATI Radeon X550 (RV370),
ATI FireGL V3100 (RV370), ATI FireMV 2200 PCIE (RV370),
ATI Radeon Mobility 9200 (M9+), ATI Mobility Radeon X800 XT (M28),
ATI Mobility FireGL V5100 (M28), ATI Mobility Radeon X800 (M28),
ATI Radeon X850, ATI unknown Radeon / FireGL (R480),
ATI Radeon X800XT (R423), ATI FireGL V5000 (RV410),
ATI Radeon X700 XT (RV410), ATI Radeon X700 PRO (RV410),
ATI Radeon X700 SE (RV410), ATI Radeon X700 (RV410),
ATI Radeon X1800, ATI Mobility Radeon X1800 XT,
ATI Mobility Radeon X1800, ATI Mobility FireGL V7200,
ATI FireGL V7200, ATI FireGL V5300, ATI Mobility FireGL V7100,
ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
ATI Mobility Radeon X1400, ATI Radeon X1550 64-bit,
ATI Mobility Radeon X1300, ATI Radeon X1300, ATI FireGL V3300,
ATI FireGL V3350, ATI Mobility Radeon X1450,
ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
ATI FireMV 2250, ATI Radeon X1650, ATI Mobility FireGL V5200,
ATI Mobility Radeon X1600, ATI Radeon X1300 XT/X1600 Pro,
ATI FireGL V3400, ATI Mobility FireGL V5250,
ATI Mobility Radeon X1700, ATI Mobility Radeon X1700 XT,
ATI FireGL V5200, ATI Radeon X2300HD, ATI Mobility Radeon HD 2300,
ATI Radeon X1950, ATI Radeon X1900, ATI AMD Stream Processor,
ATI RV560, ATI Mobility Radeon X1900, ATI Radeon X1950 GT, ATI RV570,
ATI FireGL V7400, ATI Radeon 9100 PRO IGP,
ATI Radeon Mobility 9200 IGP, ATI Radeon X1200, ATI RS740,
ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro,
ATI Radeon HD 2900 GT, ATI FireGL V8650, ATI FireGL V8600,
ATI FireGL V7600, ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
ATI Radeon HD 4850 x2, ATI FirePro V8750 (FireGL),
ATI FirePro V7760 (FireGL), ATI Mobility RADEON HD 4850,
ATI Mobility RADEON HD 4850 X2, ATI FirePro RV770,
AMD FireStream 9270, AMD FireStream 9250, ATI FirePro V8700 (FireGL),
ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
ATI FirePro M7750, ATI M98, ATI Mobility Radeon HD 4650,
ATI Radeon RV730 (AGP), ATI Mobility Radeon HD 4670,
ATI FirePro M5750, ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI RV610,
ATI Radeon HD 2400 XT, ATI Radeon HD 2400 Pro,
ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, ATI Radeon HD 2350,
ATI Mobility Radeon HD 2400 XT, ATI Mobility Radeon HD 2400,
ATI RADEON E2400, ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
ATI Mobility Radeon HD 3850 X2, ATI Mobility Radeon HD 3870,
ATI Mobility Radeon HD 3870 X2, ATI Radeon HD3870 X2,
ATI FireGL V7700, ATI Radeon HD3690, AMD Firestream 9170,
ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon HD 4350,
ATI Mobility Radeon 4300 Series, ATI Mobility Radeon 4500 Series,
ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
ATI FireGL V3600, ATI Radeon HD 2600 LE,
ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
ATI Radeon HD 3450, ATI Radeon HD 3430, ATI FirePro V3700,
ATI FireMV 2450, ATI Radeon HD 3600 Series, ATI Radeon HD 3650 AGP,
ATI Radeon HD 3600 PRO, ATI Radeon HD 3600 XT,
ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
ATI Radeon HD 3300 Graphics, ATI Radeon 3000 Graphics, SUMO, SUMO2,
ATI Radeon HD 4200, ATI Radeon 4100, ATI Mobility Radeon HD 4200,
ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics,
AMD Radeon HD 6300 Series Graphics,
AMD Radeon HD 6200 Series Graphics, PALM, CYPRESS,
ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
AMD Firestream 9350, ATI Radeon HD 5800 Series,
ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series,
REDWOOD, ATI Mobility Radeon Graphics, CEDAR, ATI FirePro 2270,
ATI Radeon HD 5450, CAYMAN, AMD Radeon HD 6900 Series,
AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS,
AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, CAICOS,
ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI,
MULLINS, KAVERI, HAWAII
[ 1876.139] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 1876.139] (II) FBDEV: driver for framebuffer: fbdev
[ 1876.139] (II) VESA: driver for VESA chipsets: vesa
[ 1876.139] (EE)
Fatal server error:
[ 1876.139] (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)


emerge --info
Portage 3.0.13 (python 3.8.8-final-0, default/linux/amd64/17.1/desktop, gcc-10.2.0, glibc-2.32-r7, 5.4.97-gentoo x86_64)
=================================================================
System uname: Linux-5.4.97-gentoo-x86_64-AMD_Ryzen_5_3400G_with_Radeon_Vega_Graphics-with-glibc2.2.5
KiB Mem: 14296916 total, 13730752 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Fri, 26 Mar 2021 00:45:01 +0000
Head commit of repository gentoo: 8ec83dba82e65f6e08762983379376767e58400b
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash: 5.0_p18::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.30.3::gentoo
dev-lang/python: 3.8.8::gentoo, 3.9.2::gentoo
dev-util/cmake: 3.18.5::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/openrc: 0.42.1-r1::gentoo
sys-apps/sandbox: 2.20::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake: 1.16.2-r1::gentoo
sys-devel/binutils: 2.35.1-r1::gentoo
sys-devel/gcc: 10.2.0-r5::gentoo
sys-devel/gcc-config: 2.3.3::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc: 2.32-r7::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/gnupg/qualified.txt /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /var/spool/fax/etc/xferfaxlog"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.osuosl.org/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acpi alsa amd64 apache2 bluetooth branding bzip2 cairo cdda cdr cgi cleartype cli corefonts crypt cups dbus dri dts dvd dvdr elogind emboss encode exif fam flac foomaticdb fortran gdbm gif gimp gimpprint gpm gtk gui iconv icu ipv6 java jpeg kpathsea lcms libglvnd libnotify libtirpc lock mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 qtk readline scanner sdl seccomp session spell split-usr ssl startup-notification svg tcpd tetex thunar tiff truetype type1 udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-CA" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Re: Cannot open virtual console 7 (Permission denied) [ In reply to ]
On 4/7/21 6:24 PM, thelma@sys-concept.com wrote:
> This is a new installation and I'm getting an error on starting X
>
> Fatal server error:
> (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
>
> (EE) Server terminated with error (1). Closing log file.
> xinit: giving up
> xinit: unable to connect to X server: Connection refused
>
[snip]

I've followed instruction from:
https://wiki.gentoo.org/wiki/AMDGPU

but they don't list my AMD build-in graphic: AMD Ryzen 5 3400G with Radeon Vega Graphics

lspci | grep -i VGA
09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c8)

I'm not sure which firmware to load for the above integrated GPU with AMD

Here is a list of "locate picasso"

/lib/firmware/amdgpu/picasso_asd.bin
/lib/firmware/amdgpu/picasso_ce.bin
/lib/firmware/amdgpu/picasso_gpu_info.bin
/lib/firmware/amdgpu/picasso_me.bin
/lib/firmware/amdgpu/picasso_mec.bin
/lib/firmware/amdgpu/picasso_mec2.bin
/lib/firmware/amdgpu/picasso_pfp.bin
/lib/firmware/amdgpu/picasso_rlc.bin
/lib/firmware/amdgpu/picasso_rlc_am4.bin
/lib/firmware/amdgpu/picasso_sdma.bin
/lib/firmware/amdgpu/picasso_ta.bin
/lib/firmware/amdgpu/picasso_vcn.bin
Re: Cannot open virtual console 7 (Permission denied) [ In reply to ]
On 2021-04-07 18:24-0600 thelma@sys-concept.com wrote:

> This is a new installation and I'm getting an error on starting X
>
> Fatal server error:
> (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission
> denied)
[…]
> [ 1876.135] (EE) dbus-core: error connecting to system bus:
> org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket
> /run/dbus/system_bus_socket: No such file or directory) [ 1876.135]

It seems you didn't start elogind[1][2] and dbus. Both are required for
non-root Xorg.

[1] https://wiki.gentoo.org/wiki/Elogind
[2] https://wiki.gentoo.org/wiki/Non_root_Xorg#Cannot_start_Xorg_as_regular_user

--
Get my PGP key with `gpg --locate-keys tastytea@tastytea.de` or at
<https://tastytea.de/tastytea.asc>.
Re: Cannot open virtual console 7 (Permission denied) [ In reply to ]
When in loaded IN kernel, under: -*- Firmware loading facility

all the drivers listed by: echo amdgpu/picasso_{ce,k_smc,mc,me,mec2,mec,pfp,rlc,sdma1,sdma,smc,uvd,vce}.bin

(amdgpu/picasso_ce.bin amdgpu/picasso_k_smc.bin amdgpu/picasso_mc.bin amdgpu/picasso_me.bin amdgpu/picasso_mec2.bin amdgpu/picasso_mec.bin amdgpu/picasso_pfp.bin amdgpu/picasso_rlc.bin amdgpu/picasso_sdma1.bin amdgpu/picasso_sdma.bin amdgpu/picasso_smc.bin amdgpu/picasso_uvd.bin amdgpu/picasso_vce.bin)

I'm getting kernel error when compiling:
...
CC drivers/base/firmware_loader/main.o
UPD drivers/base/firmware_loader/builtin/amdgpu/picasso_ce.bin.gen.S
AS drivers/base/firmware_loader/builtin/amdgpu/picasso_ce.bin.gen.o
UPD drivers/base/firmware_loader/builtin/amdgpu/picasso_k_smc.bin.gen.S
make[4]: *** No rule to make target '/lib/firmware/amdgpu/picasso_k_smc.bin', needed by 'drivers/base/firmware_loader/builtin/amdgpu/picasso_k_smc.bin.gen.o'. Stop.
make[3]: *** [scripts/Makefile.build:496: drivers/base/firmware_loader/builtin] Error 2
make[2]: *** [scripts/Makefile.build:496: drivers/base/firmware_loader] Error 2
make[1]: *** [scripts/Makefile.build:496: drivers/base] Error 2
make: *** [Makefile:1726: drivers] Error 2

Any suggestion?
Re: Cannot open virtual console 7 (Permission denied) [ In reply to ]
On 4/7/21 8:18 PM, tastytea wrote:
> On 2021-04-07 18:24-0600 thelma@sys-concept.com wrote:
>
>> This is a new installation and I'm getting an error on starting X
>>
>> Fatal server error:
>> (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission
>> denied)
> […]
>> [ 1876.135] (EE) dbus-core: error connecting to system bus:
>> org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket
>> /run/dbus/system_bus_socket: No such file or directory) [ 1876.135]
>
> It seems you didn't start elogind[1][2] and dbus. Both are required for
> non-root Xorg.
>
> [1] https://wiki.gentoo.org/wiki/Elogind
> [2] https://wiki.gentoo.org/wiki/Non_root_Xorg#Cannot_start_Xorg_as_regular_user

Thank you for the pointer. I started "dbus" and "elogind" but in the log file I still get:

[ 121.166] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration

"ps -fC X" - does not show any user.

loginctl user-status
fd (1000)
Since: Thu 2021-04-08 21:12:51 MDT; 37min ago
State: active
Sessions: 3 2 *1
Linger: no
Unit: user-1000.slice

I'm not sure if the driver is correctly installed.
My AMD CPU is integrated with Graphic: "AMD Ryzen 5 3400G with Radeon Vega Graphics"

lspci | grep -i VGA
09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c8)

In the kernel I compiled0-in, "< * > ATI Radeon" (option)
without "< > AMD GPU"

When I tried to change it:
< > ATI Radeon"
< * > AMD GPU"

and load: "-*- Firmware loading facility"
(amdgpu/picasso_ce.bin amdgpu/picasso_k_smc.bin amdgpu/picasso_mc.bin amdgpu/picasso_me.bin amdgpu/picasso_mec2.bin amdgpu/picasso_mec.bin amdgpu/picasso_pfp.bin amdgpu/picasso_rlc.bin amdgpu/picasso_sdma1.bin amdgpu/picasso_sdma.bin amdgpu/picasso_smc.bin amdgpu/picasso_uvd.bin amdgpu/picasso_vce.bin)

I'm getting kernel error when compiling:
...
CC drivers/base/firmware_loader/main.o
UPD drivers/base/firmware_loader/builtin/amdgpu/picasso_ce.bin.gen.S
AS drivers/base/firmware_loader/builtin/amdgpu/picasso_ce.bin.gen.o
UPD drivers/base/firmware_loader/builtin/amdgpu/picasso_k_smc.bin.gen.S
make[4]: *** No rule to make target '/lib/firmware/amdgpu/picasso_k_smc.bin', needed by 'drivers/base/firmware_loader/builtin/amdgpu/picasso_k_smc.bin.gen.o'. Stop.
make[3]: *** [scripts/Makefile.build:496: drivers/base/firmware_loader/builtin] Error 2
make[2]: *** [scripts/Makefile.build:496: drivers/base/firmware_loader] Error 2
make[1]: *** [scripts/Makefile.build:496: drivers/base] Error 2
make: *** [Makefile:1726: drivers] Error 2
Re: Cannot open virtual console 7 (Permission denied) [ In reply to ]
On 2021-04-07 22:41-0600 thelma@sys-concept.com wrote:

> On 4/7/21 8:18 PM, tastytea wrote:
> > On 2021-04-07 18:24-0600 thelma@sys-concept.com wrote:
> >
> >> This is a new installation and I'm getting an error on starting X
> >>
> >> Fatal server error:
> >> (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission
> >> denied)
> > […]
> >> [ 1876.135] (EE) dbus-core: error connecting to system bus:
> >> org.freedesktop.DBus.Error.FileNotFound (Failed to connect to
> >> socket /run/dbus/system_bus_socket: No such file or directory) [
> >> 1876.135]
> >
> > It seems you didn't start elogind[1][2] and dbus. Both are required
> > for non-root Xorg.
> >
> > [1] https://wiki.gentoo.org/wiki/Elogind
> > [2]
> > https://wiki.gentoo.org/wiki/Non_root_Xorg#Cannot_start_Xorg_as_regular_user
> >
>
> Thank you for the pointer. I started "dbus" and "elogind" but in
> the log file I still get:
>
> [ 121.166] (II) systemd-logind: logind integration requires
> -keeptty and -keeptty was not provided, disabling logind integration

I get that too and it still works. Seems to be not important. ????

> "ps -fC X" - does not show any user.

It doesn't show anything here, too.

> loginctl user-status
> fd (1000)
> Since: Thu 2021-04-08 21:12:51 MDT; 37min ago
> State: active
> Sessions: 3 2 *1
> Linger: no
> Unit: user-1000.slice

That does seem alright.

I can't help with the graphics card stuff, sorry.

> I'm not sure if the driver is correctly installed.
> My AMD CPU is integrated with Graphic: "AMD Ryzen 5 3400G with Radeon
> Vega Graphics"
>
> lspci | grep -i VGA
> 09:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
> [AMD/ATI] Picasso (rev c8)
>
> In the kernel I compiled0-in, "< * > ATI Radeon" (option)
> without "< > AMD GPU"
>
> When I tried to change it:
> < > ATI Radeon"
> < * > AMD GPU"
>
> and load: "-*- Firmware loading facility"
> (amdgpu/picasso_ce.bin amdgpu/picasso_k_smc.bin amdgpu/picasso_mc.bin
> amdgpu/picasso_me.bin amdgpu/picasso_mec2.bin amdgpu/picasso_mec.bin
> amdgpu/picasso_pfp.bin amdgpu/picasso_rlc.bin
> amdgpu/picasso_sdma1.bin amdgpu/picasso_sdma.bin
> amdgpu/picasso_smc.bin amdgpu/picasso_uvd.bin amdgpu/picasso_vce.bin)
>
> I'm getting kernel error when compiling:
> ...
> CC drivers/base/firmware_loader/main.o
> UPD
> drivers/base/firmware_loader/builtin/amdgpu/picasso_ce.bin.gen.S AS
> drivers/base/firmware_loader/builtin/amdgpu/picasso_ce.bin.gen.o
> UPD
> drivers/base/firmware_loader/builtin/amdgpu/picasso_k_smc.bin.gen.S
> make[4]: *** No rule to make target
> '/lib/firmware/amdgpu/picasso_k_smc.bin', needed by
> 'drivers/base/firmware_loader/builtin/amdgpu/picasso_k_smc.bin.gen.o'.
> Stop. make[3]: *** [scripts/Makefile.build:496:
> drivers/base/firmware_loader/builtin] Error 2 make[2]: ***
> [scripts/Makefile.build:496: drivers/base/firmware_loader] Error 2
> make[1]: *** [scripts/Makefile.build:496: drivers/base] Error 2 make:
> *** [Makefile:1726: drivers] Error 2
>
>
>



--
Get my PGP key with `gpg --locate-keys tastytea@tastytea.de` or at
<https://tastytea.de/tastytea.asc>.