View previous topic :: View next topic |
Author |
Message |
nisto n00b
Joined: 29 Nov 2014 Posts: 59 Location: Magdeburg (Germany)
|
Posted: Mon Jul 27, 2020 7:24 am Post subject: graphische Oberfläche startet nicht |
|
|
Ich kann die Oberfläche unter normalen Nutzer nicht starten, wenn ich root bin ist es kein Problem.
Quote: | nisto@ThinkPad ~ $ cat /home/nisto/.local/share/xorg/Xorg.0.log
[ 241.021]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 241.027] Build Operating System: Linux 4.14.120-gentoo x86_64 Gentoo
[ 241.030] Current Operating System: Linux ThinkPad 4.14.120-gentoo #1 SMP Wed Jun 12 18:26:58 CEST 2019 x86_64
[ 241.030] Kernel command line: BOOT_IMAGE=/boot/kernel-genkernel-x86_64-4.14.120-gentoo root=UUID=8892ed35-15a2-42c2-855a-2e8d4ce60de0 ro resume=/dev/sda3
[ 241.034] Build Date: 21 July 2020 08:33:09PM
[ 241.036]
[ 241.039] Current version of pixman: 0.40.0
[ 241.043] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 241.043] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 241.052] (==) Log file: "/home/nisto/.local/share/xorg/Xorg.0.log", Time: Mon Jul 27 09:20:34 2020
[ 241.055] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 241.057] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 241.057] (==) No Layout section. Using the first Screen section.
[ 241.057] (==) No screen section available. Using defaults.
[ 241.057] (**) |-->Screen "Default Screen Section" (0)
[ 241.057] (**) | |-->Monitor "<default monitor>"
[ 241.058] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 241.058] (**) | |-->Device "Intel HD Graphics 4000/2500"
[ 241.058] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 241.058] (==) Automatically adding devices
[ 241.058] (==) Automatically enabling devices
[ 241.058] (==) Automatically adding GPU devices
[ 241.058] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 241.058] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 241.058] Entry deleted from font path.
[ 241.058] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 241.058] Entry deleted from font path.
[ 241.058] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 241.058] Entry deleted from font path.
[ 241.058] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 241.058] Entry deleted from font path.
[ 241.058] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 241.058] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 241.058] Entry deleted from font path.
[ 241.058] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 241.058] (==) FontPath set to:
/usr/share/fonts/misc/
[ 241.058] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 241.058] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 241.058] (II) Loader magic: 0x562af3aa6ce0
[ 241.058] (II) Module ABI versions:
[ 241.058] X.Org ANSI C Emulation: 0.4
[ 241.058] X.Org Video Driver: 24.1
[ 241.058] X.Org XInput driver : 24.1
[ 241.058] X.Org Server Extension : 10.0
[ 241.059] (--) using VT number 7
[ 241.059] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 241.060] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 241.066] (--) PCI:*(0@0:2:0) 8086:0116:17aa:21ed rev 9, Mem @ 0xd0000000/4194304, 0xc0000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[ 241.066] (II) LoadModule: "glx"
[ 241.066] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 241.068] (II) Module glx: vendor="X.Org Foundation"
[ 241.068] compiled for 1.20.8, module version = 1.0.0
[ 241.068] ABI class: X.Org Server Extension, version 10.0
[ 241.068] (II) LoadModule: "modesetting"
[ 241.068] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 241.068] (II) Module modesetting: vendor="X.Org Foundation"
[ 241.068] compiled for 1.20.8, module version = 1.20.8
[ 241.068] Module class: X.Org Video Driver
[ 241.068] ABI class: X.Org Video Driver, version 24.1
[ 241.068] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 241.068] (EE)
Fatal server error:
[ 241.073] (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
[ 241.075] (EE)
[ 241.078] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 241.087] (EE) Please also check the log file at "/home/nisto/.local/share/xorg/Xorg.0.log" for additional information.
[ 241.090] (EE)
[ 241.092] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[ 241.092] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[ 241.092] (EE) Server terminated with error (1). Closing log file.
nisto@ThinkPad ~ $
|
|
|
Back to top |
|
|
nisto n00b
Joined: 29 Nov 2014 Posts: 59 Location: Magdeburg (Germany)
|
Posted: Mon Jul 27, 2020 7:34 am Post subject: |
|
|
Code: |
[ 241.073] (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
|
Wenn ich mal temporär die Rechte von /dev/tty7 auf mich ändere kommt dieses:
Code: |
.
.
.
[ 784.832] (EE) modeset(0): drmSetMaster failed: Permission denied
[ 784.832] (EE)
Fatal server error:
[ 784.832] (EE) AddScreen/ScreenInit failed for driver 0
[ 784.832] (EE)
[ 784.832] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 784.832] (EE) Please also check the log file at "/home/nisto/.local/share/xorg/Xorg.0.log" for additional information.
[ 784.832] (EE)
[ 784.853] (EE) Server terminated with error (1). Closing log file.
|
|
|
Back to top |
|
|
s|mon Apprentice
Joined: 04 Jul 2004 Posts: 219 Location: Bayern [de]
|
|
Back to top |
|
|
mvaterlaus Apprentice
Joined: 01 Oct 2010 Posts: 237 Location: Switzerland
|
Posted: Mon Jul 27, 2020 1:38 pm Post subject: |
|
|
Hi,
kann es sein, dass dein Benutzer, unter welchem du X starten willst, nicht in der "video" Gruppe ist. Falls nicht, kannst du ihn wie folgt hinzufügen:
Code: |
# gpasswd -a nisto video
|
Diesen Befehl muss du mit root Rechten ausführen.
Grüsse _________________ For calming down your eyes or clearing your mind: www.patrickwehli.ch |
|
Back to top |
|
|
nisto n00b
Joined: 29 Nov 2014 Posts: 59 Location: Magdeburg (Germany)
|
Posted: Mon Jul 27, 2020 4:33 pm Post subject: |
|
|
In Gruppe Video ist mein Benutzer drin.
Ich habe jetzt erst mal temporär ein Displaymanager installiert und aktiviert, damit startet die graphische Oberfläche erst mal wieder.
Den Fehler möchte ich aber noch finden. |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Mon Jul 27, 2020 4:46 pm Post subject: |
|
|
Poste doch mal die Ausgabe von 'emerge --info'. Vielleicht sehen wir dort schon etwas. Zumindest erzählt es uns mehr über Dein System. |
|
Back to top |
|
|
nisto n00b
Joined: 29 Nov 2014 Posts: 59 Location: Magdeburg (Germany)
|
Posted: Mon Jul 27, 2020 5:37 pm Post subject: |
|
|
Ja gerne, bin über jede Hilfe dankbar.
Quote: |
ThinkPad ~ # emerge --info
Portage 2.3.103 (python 3.7.8-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.30-r8, 4.14.120-gentoo x86_64)
=================================================================
System uname: Linux-4.14.120-gentoo-x86_64-Intel-R-_Core-TM-_i3-2357M_CPU_@_1.30GHz-with-gentoo-2.6
KiB Mem: 3960796 total, 1791112 free
KiB Swap: 4706300 total, 4706300 free
Timestamp of repository gentoo: Mon, 27 Jul 2020 06:00:01 +0000
Head commit of repository gentoo: 1cd4895d1577c62f820d4cd6e8d3fc7671ae1fa2
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
ccache version 3.7.10 [enabled]
app-shells/bash: 5.0_p17::gentoo
dev-lang/perl: 5.30.3::gentoo
dev-lang/python: 2.7.18-r1::gentoo, 3.7.8-r2::gentoo, 3.8.4-r1::gentoo
dev-util/ccache: 3.7.10::gentoo
dev-util/cmake: 3.16.5::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.6-r1::gentoo
sys-apps/openrc: 0.42.1::gentoo
sys-apps/sandbox: 2.18::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils: 2.33.1-r1::gentoo
sys-devel/gcc: 9.3.0-r1::gentoo
sys-devel/gcc-config: 2.3.1::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.30-r8::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-max-age: 24
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:
sync-rsync-vcs-ignore: true
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="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 ccache 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://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5"
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 acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt css cups dbus dri dts dv dvb dvd dvdr elogind emboss encode exif ffmpeg flac foomaticdb fortran ftp gd gdbm gif gimp git glut gnutls gphoto2 gpm gtk gzip iconv icu imagemagick imlib ipv6 jpeg jpeg2k lame lcms ldap libnotify libtirpc lm_sensors lzma lzo mad matroska mime mmap mms mmx mng modules mp3 mp4 mpeg mplayer multilib mysql ncurses nfs nis nls nptl nsplugin odbc ogg opengl openmp pango pcre pdf png policykit ppds qt3support qt5 quicktime rdesktop readline recode rtmp samba scanner sdl seccomp smp snmp sockets speex spell split-usr sqlite sse sse2 ssl startup-notification subversion svg syslog tcpd theora threads tiff truetype udev udisks unicode upcall upower usb v4l vcd vim-syntax vlc vnc vorbis wifi win32codecs wmf wxwidgets x264 xattr xcb xine xinerama xml xv xvid zlib" ABI_X86="64 32" 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="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" INPUT_DEVICES="evdev" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="i915 i965 intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
ThinkPad ~ #
|
|
|
Back to top |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3541 Location: Berlin
|
Posted: Wed Jul 29, 2020 12:36 pm Post subject: |
|
|
Was passiert, wenn du als root einen LogIn Manager xdm, lightdm, sddm o.ä startest? |
|
Back to top |
|
|
nisto n00b
Joined: 29 Nov 2014 Posts: 59 Location: Magdeburg (Germany)
|
Posted: Thu Jul 30, 2020 8:38 am Post subject: |
|
|
flammenflitzer wrote: | Was passiert, wenn du als root einen LogIn Manager xdm, lightdm, sddm o.ä startest? |
Ich habe den sddm als login Manager eingerichtet und ihn mit dem Befehl rc-update, dass er beim booten startet, eingetragen. Wird der dann von root gestartet?
Jedenfalls melde ich mich anschließend an und meine graphische Oberfläche (fluxbox) startet ganz normal. |
|
Back to top |
|
|
forrestfunk81 Guru
Joined: 07 Feb 2006 Posts: 567 Location: münchen.de
|
Posted: Thu Jul 30, 2020 9:35 am Post subject: |
|
|
Quote: | [ 241.073] (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied) |
Um X mittels startx zu starten, muss dein Nutzer in der tty Gruppe sein.
Code: | $ groups
tty audio video kvm input users ...
|
Falls das noch nicht reicht, poste bitte die Ausgabe von 'ls -al /dev/tty7' _________________ # cd /pub/
# more beer |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4691 Location: Germany
|
Posted: Thu Jul 30, 2020 10:37 am Post subject: |
|
|
Jo, ich denke auch das die Migration von consolekit auf elogind womöglich noch nicht vollständig ist. Siehe dazu bitte auch im (schon genanten news item),
und https://forums.gentoo.org/viewtopic-t-1116632.html ist dabei wahrscheinlich auch hilfreich :) |
|
Back to top |
|
|
nisto n00b
Joined: 29 Nov 2014 Posts: 59 Location: Magdeburg (Germany)
|
Posted: Thu Jul 30, 2020 11:31 am Post subject: |
|
|
Josef.95 wrote: |
Jo, ich denke auch das die Migration von consolekit auf elogind womöglich noch nicht vollständig ist. Siehe dazu bitte auch im (schon genanten news item),
und https://forums.gentoo.org/viewtopic-t-1116632.html ist dabei wahrscheinlich auch hilfreich |
Ich gucke noch mal drauf, Danke. Ich habe schon vor einiger Zeit die Migration vollzogen. Seither gab es schon einige reboots ohne Probleme bis zum letzten Sonntag. |
|
Back to top |
|
|
nisto n00b
Joined: 29 Nov 2014 Posts: 59 Location: Magdeburg (Germany)
|
Posted: Thu Jul 30, 2020 5:17 pm Post subject: |
|
|
forrestfunk81 wrote: | Quote: | [ 241.073] (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied) |
Um X mittels startx zu starten, muss dein Nutzer in der tty Gruppe sein.
Code: | $ groups
tty audio video kvm input users ...
|
Falls das noch nicht reicht, poste bitte die Ausgabe von 'ls -al /dev/tty7' |
Code: |
nisto@ThinkPad ~ $ id
uid=1000(nisto) gid=1000(nisto) Gruppen=1000(nisto),5(tty),10(wheel),11(floppy),18(audio),19(cdrom),27(video),100(users),101(plugdev),103(vboxusers),989(vboxguest)
nisto@ThinkPad ~ $
nisto@ThinkPad ~ $ ls -al /dev/tty7
crw--w---- 1 root tty 4, 7 27. Jul 18:27 /dev/tty7
nisto@ThinkPad ~ $
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|