You are not logged in.

#1 2024-01-03 11:48:30

RA-XX
Member
Registered: 2024-01-03
Posts: 3

[SOLVED] Lightdm stop start - Wayland and Nvidia not workinng

I'm update arch, and Lightdm not wont run.

Failed to Start Light Display Manager


lightdm --test-mode

** (lightdm:1674): WARNING **: 14:02:26.189: Error reading existing Xauthority: Failed to open file ?/run/lightdm/root/:0?: Permission denied

** (lightdm:1674): WARNING **: 14:02:26.190: XServer 0: Failed to write authority: Failed to open X authority /run/lightdm/root/:0: Permission denied

** (lightdm:1674): WARNING **: 14:02:26.192: Could not enumerate user data directory /var/lib/lightdm-data: Error opening directory '/var/lib/lightdm-data': Permission denied

lightdm --test-mode --debug

[+0.00s] DEBUG: Logging to /home/ra/.cache/lightdm/log/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.32.0, UID=1000 PID=2334
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Running in user mode
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0.01s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
[+0.01s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.02s] DEBUG: Seat seat0: Creating display server of type x
[+0.03s] DEBUG: Seat seat0: Starting local X display
[+0.03s] DEBUG: XServer 0: Logging to /home/ra/.cache/lightdm/log/x-0.log
[+0.03s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.03s] WARNING: Error reading existing Xauthority: Failed to open file ?/run/lightdm/root/:0?: Permission denied
[+0.03s] WARNING: XServer 0: Failed to write authority: Failed to open X authority /run/lightdm/root/:0: Permission denied
[+0.03s] DEBUG: XServer 0: Launching X Server
[+0.03s] DEBUG: Launching process 2340: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp
[+0.03s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.03s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.03s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.03s] WARNING: Could not enumerate user data directory /var/lib/lightdm-data: Error opening directory '/var/lib/lightdm-data': Permission denied
[+0.04s] DEBUG: Process 2340 exited with return value 1
[+0.04s] DEBUG: XServer 0: X server stopped
[+0.04s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+0.04s] DEBUG: Seat seat0: Display server stopped
[+0.04s] DEBUG: Seat seat0: Stopping session
[+0.04s] DEBUG: Seat seat0: Session stopped
[+0.04s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.04s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.04s] DEBUG: Seat seat0: Stopping
[+0.04s] DEBUG: Seat seat0: Stopped
[+0.04s] DEBUG: Required seat has stopped
[+0.04s] DEBUG: Stopping display manager
[+0.04s] DEBUG: Display manager stopped
[+0.04s] DEBUG: Stopping daemon
[+0.04s] DEBUG: Exiting with return value 1



/etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 audit=0"
GRUB_CMDLINE_LINUX="nvidia-drm.modeset=1"

/boot/grub/grub.cfg

menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a928051b-f1e4-4c6b-8a2b-0162e58d0020' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod ext2
        search --no-floppy --fs-uuid --set=root a928051b-f1e4-4c6b-8a2b-0162e58d0020
        echo    'Loading Linux linux ...'
        linux   /boot/vmlinuz-linux root=UUID=a928051b-f1e4-4c6b-8a2b-0162e58d0020 rw nvidia-drm.modeset=1 quiet loglevel=3 audit=0
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-linux.img
}

/var/log/Xorg.0.log

[    13.951]
X.Org X Server 1.21.1.10
X Protocol Version 11, Revision 0
[    13.951] Current Operating System: Linux p920 6.6.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 02 Jan 2024 02:28:28 +0000 x86_64
[    13.951] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a928051b-f1e4-4c6b-8a2b-0162e58d0020 rw nvidia-drm.modeset=1 quiet loglevel=3 audit=0
[    13.951]
[    13.951] Current version of pixman: 0.42.2
[    13.951]    Before reporting problems, check [url]http://wiki.x.org[/url]
        to make sure that you have the latest version.
[    13.951] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    13.951] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan  3 12:39:39 2024
[    13.951] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    13.951] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    13.952] (==) No Layout section.  Using the first Screen section.
[    13.952] (**) |-->Screen "Screen0" (0)
[    13.952] (**) |   |-->Monitor "Monitor0"
[    13.952] (**) |   |-->Device "Card0"
[    13.952] (==) Automatically adding devices
[    13.952] (==) Automatically enabling devices
[    13.952] (==) Automatically adding GPU devices
[    13.952] (==) Automatically binding GPU devices
[    13.952] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    13.952] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    13.952]    Entry deleted from font path.
[    13.952] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    13.952]    Entry deleted from font path.
[    13.952] (==) FontPath set to:
        /usr/share/fonts/misc,
        /usr/share/fonts/TTF,
        /usr/share/fonts/100dpi,
        /usr/share/fonts/75dpi
[    13.952] (**) ModulePath set to "/usr/lib/xorg/modules,/usr/lib64/xorg/modules"
[    13.952] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    13.952] (II) Module ABI versions:
[    13.952]    X.Org ANSI C Emulation: 0.4
[    13.952]    X.Org Video Driver: 25.2
[    13.952]    X.Org XInput driver : 24.4
[    13.952]    X.Org Server Extension : 10.0
[    13.953] (++) using VT number 7

[    13.953] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    13.956] (II) xfree86: Adding drm device (/dev/dri/card0)
[    13.956] (II) Platform probe for /sys/devices/pci0000:17/0000:17:00.0/0000:18:00.0/drm/card0
[    13.980] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules,/usr/lib64/xorg/modules"
[    13.993] (--) PCI:*(24@0:0:0) 10de:2571:10de:1611 rev 161, Mem @ 0xb2000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x????????/524288
[    13.993] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    13.993] (II) LoadModule: "glx"
[    13.993] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    13.994] (II) Module glx: vendor="X.Org Foundation"
[    13.994]    compiled for 1.21.1.10, module version = 1.0.0
[    13.994]    ABI class: X.Org Server Extension, version 10.0
[    13.994] (II) LoadModule: "nvidia"
[    13.994] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    13.995] (II) Module nvidia: vendor="NVIDIA Corporation"
[    13.995]    compiled for 1.6.99.901, module version = 1.0.0
[    13.995]    Module class: X.Org Video Driver
[    13.995] (II) NVIDIA dlloader X Driver  545.29.06  Thu Nov 16 01:52:34 UTC 2023
[    13.995] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    13.995] (II) Loading sub module "fb"
[    13.995] (II) LoadModule: "fb"
[    13.995] (II) Module "fb" already built-in
[    13.995] (II) Loading sub module "wfb"
[    13.995] (II) LoadModule: "wfb"
[    13.995] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    13.995] (II) Module wfb: vendor="X.Org Foundation"
[    13.995]    compiled for 1.21.1.10, module version = 1.0.0
[    13.995]    ABI class: X.Org ANSI C Emulation, version 0.4
[    13.996] (EE) No devices detected.
[    13.996] (EE)
Fatal server error:
[    13.996] (EE) no screens found(EE)
[    13.996] (EE)
Please consult the The X.Org Foundation support
         at [url]http://wiki.x.org[/url]
 for help.
[    13.996] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    13.996] (EE)
[    13.998] (EE) Server terminated with error (1). Closing log file.

/var/log/lightdm/lightdm.log

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.32.0, UID=0 PID=28
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using Xephyr for X servers
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.00s] WARNING: Failed to get system bus: Could not connect: No such file or directory
[+0.01s] DEBUG: Adding default seat
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.01s] DEBUG: Seat seat0: Creating display server of type x
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.01s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.01s] DEBUG: XServer 0: Launching X Server
[+0.01s] DEBUG: Launching process 33: /usr/bin/Xephyr :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: XServer 0: Waiting for ready signal from X server :0

/var/log/lightdm/x-0.log

Unrecognized option: vt7
use: X [:<display>] [option]
-a #                   default pointer acceleration (factor)
-ac                    disable access control restrictions
-audit int             set audit trail level
-auth file             select authorization file
-br                    create root window with black background
+bs                    enable any backing store support
-bs                    disable any backing store support
-c                     turns off key-click
c #                    key-click volume (0-100)
-cc int                default color visual class
-nocursor              disable the cursor
-core                  generate core dump on fatal error
-displayfd fd          file descriptor to write display number to when ready to connect
-dpi int               screen resolution in dots per inch
-dpms                  disables VESA DPMS monitor control
-deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
-f #                   bell base (0-100)
-fakescreenfps #       fake screen default fps (1-600)
-fp string             default font path
-help                  prints message with these options
+iglx                  Allow creating indirect GLX contexts
-iglx                  Prohibit creating indirect GLX contexts (default)
-I                     ignore all remaining arguments
-ld int                limit data space to N Kb
-lf int                limit number of open files to N
-ls int                limit stack space to N Kb
-nolock                disable the locking mechanism
-maxclients n          set maximum number of clients (power of two)
-nolisten string       don't listen on protocol
-listen string         listen on protocol
-noreset               don't reset after last client exists
-background [none]     create root window with no background
-reset                 reset after last client exists
-p #                   screen-saver pattern duration (minutes)
-pn                    accept failure to listen on all ports
-nopn                  reject failure to listen on all ports
-r                     turns off auto-repeat
r                      turns on auto-repeat
-render [default|mono|gray|color] set render color alloc policy
-retro                 start with classic stipple and cursor
-s #                   screen-saver timeout (minutes)
-seat string           seat to run on
-t #                   default pointer threshold (pixels/t)
-terminate [delay]     terminate at server reset (optional delay in sec)
-tst                   disable testing extensions
ttyxx                  server started from init on /dev/ttyxx
v                      video blanking for screen-saver
-v                     screen-saver without video blanking
-wr                    create root window with white background
-maxbigreqsize         set maximal bigrequest size
+xinerama              Enable XINERAMA extension
-xinerama              Disable XINERAMA extension
-dumbSched             Disable smart scheduling and threaded input, enable old behavior
-schedInterval int     Set scheduler interval in msec
-sigstop               Enable SIGSTOP based startup
+extension name        Enable extension
-extension name        Disable extension
 Only the following extensions can be run-time enabled/disabled:
        Generic Event Extension
        MIT-SHM
        XTEST
        SECURITY
        XINERAMA
        XFIXES
        RENDER
        RANDR
        COMPOSITE
        DAMAGE
        MIT-SCREEN-SAVER
        DOUBLE-BUFFER
        RECORD
        DPMS
        X-Resource
        XVideo
        XVideo-MotionCompensation
        GLX
-query host-name       contact named host for XDMCP
-broadcast             broadcast for XDMCP
-multicast [addr [hops]] IPv6 multicast for XDMCP
-indirect host-name    contact named host for indirect XDMCP
-port port-num         UDP port number to send messages to
-from local-address    specify the local address to connect from
-once                  Terminate server after one session
-class display-class   specify display class to send in manage
-cookie xdm-auth-bits  specify the magic cookie for XDMCP
-displayID display-id  manufacturer display ID for request
[+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ]
                       enable/disable accessx key sequences
-ardelay               set XKB autorepeat delay
-arinterval            set XKB autorepeat interval

TinyX Device Dependent Usage:
-screen WIDTH[/WIDTHMM]xHEIGHT[/HEIGHTMM][+[-]XOFFSET][+[-]YOFFSET][@ROTATION][X][Y][xDEPTH/BPP[xFREQ]]  Specify screen characteristics
-rgba rgb/bgr/vrgb/vbgr/none   Specify subpixel ordering for LCD panels
-mouse driver [,n,,options]    Specify the pointer driver and its options (n is the number of buttons)
-keybd driver [,,options]      Specify the keyboard driver and its options
-xkb-rules       Set default XkbRules value (can be overridden by -keybd options)
-xkb-model       Set default XkbModel value (can be overridden by -keybd options)
-xkb-layout      Set default XkbLayout value (can be overridden by -keybd options)
-xkb-variant     Set default XkbVariant value (can be overridden by -keybd options)
-xkb-options     Set default XkbOptions value (can be overridden by -keybd options)
-zaphod          Disable cursor screen switching
-2button         Emulate 3 button mouse
-3button         Disable 3 button mouse emulation
-rawcoord        Don't transform pointer coordinates on rotation
-dumb            Disable hardware acceleration
-softCursor      Force software cursor
-videoTest       Start the server, pause momentarily and exit
-origin X,Y      Locates the next screen in the the virtual screen (Xinerama)
-switchCmd       Command to execute on vt switch
vtxx             Use virtual terminal xx instead of the next available

Xephyr Option Usage:
-parent <XID>        Use existing window as Xephyr root win
-sw-cursor           Render cursors in software in Xephyr
-fullscreen          Attempt to run Xephyr fullscreen
-output <NAME>       Attempt to run Xephyr fullscreen (restricted to given output geometry)
-grayscale           Simulate 8bit grayscale
-resizeable          Make Xephyr windows resizeable
-glamor              Enable 2D acceleration using glamor
-glamor_gles2        Enable 2D acceleration using glamor (with GLES2 only)
-glamor-skip-present Skip presenting the output when using glamor (for internal testing optimization)
-fakexa              Simulate acceleration using software rendering
-verbosity <level>   Set log verbosity level
-noxv                do not use XV
-name [name]         define the name in the WM_CLASS property
-title [title]       set the window title in the WM_NAME property
-no-host-grab        Disable grabbing the keyboard and mouse.

(EE)
Fatal server error:
(EE) Unrecognized option: vt7
(EE)

lspci | grep NVI

18:00.0 VGA compatible controller: NVIDIA Corporation GA106 [RTX A2000 12GB] (rev a1)
18:00.1 Audio device: NVIDIA Corporation GA106 High Definition Audio Controller (rev a1)

/etc/default/grub

[    0.000000] Command line: initrd=\arch\boot\intel-ucode.img initrd=\arch\boot\amd-ucode.img initrd=\arch\boot\x86_64\initramfs-linux.img archisobasedir=arch archisolabel=ARCH_GUI_CI cow_spacesize=4G driver=nonfree nvidia nvidia-drm.modeset=1 nouveau.modeset=0 radeon.modeset=1 i915.modeset=1 nvme_load=yes
[    0.458217] Kernel command line: initrd=\arch\boot\intel-ucode.img initrd=\arch\boot\amd-ucode.img initrd=\arch\boot\x86_64\initramfs-linux.img archisobasedir=arch archisolabel=ARCH_GUI_CI cow_spacesize=4G driver=nonfree nvidia nvidia-drm.modeset=1 nouveau.modeset=0 radeon.modeset=1 i915.modeset=1 nvme_load=yes
[    0.458392] Unknown kernel command line parameters "nvidia archisobasedir=arch archisolabel=ARCH_GUI_CI cow_spacesize=4G driver=nonfree nvme_load=yes", will be passed to user space.
[    7.711799]     nvidia
[   16.728904] nvidia: loading out-of-tree module taints kernel.
[   16.728915] nvidia: module license 'NVIDIA' taints kernel.
[   16.752258] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[   17.037658] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
[   17.040595] nvidia 0000:18:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   17.205266] nvidia_uvm: module uses symbols from proprietary module nvidia, inheriting taint.
[   17.217688] nvidia-uvm: Loaded the UVM driver, major device number 508.
[   17.959726] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  515.57  Wed Jun 22 22:31:08 UTC 2022
[   18.069495] [drm] [nvidia-drm] [GPU ID 0x00001800] Loading driver
[   19.665498] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:18:00.0 on minor 0

Last edited by RA-XX (2024-01-05 18:01:12)

Offline

#2 2024-01-03 13:03:31

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Lightdm stop start - Wayland and Nvidia not workinng

Welcome to the forum. Please edit your post and use [ code ] tags (not quote tags) when posting output. This makes the output easier to read and provides a scroll box for long output.

https://wiki.archlinux.org/title/Genera … s_and_code
https://bbs.archlinux.org/help.php#bbcode

Moving to Newbie Corner.

Offline

#3 2024-01-03 13:47:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,048

Re: [SOLVED] Lightdm stop start - Wayland and Nvidia not workinng

Also please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Whatever the "/etc/default/grub" was supposed to be, it's hopefully not that file and seems to be part of the journal of an archinstall iso boot?
In case you're booting that and trying to start anything or posting information from there: DON'T.
Boot the multi-user.target (2nd link below) and post the journal from there.

Offline

#4 2024-01-03 17:18:47

RA-XX
Member
Registered: 2024-01-03
Posts: 3

Re: [SOLVED] Lightdm stop start - Wayland and Nvidia not workinng

seth wrote:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

http://0x0.st/H62O.txt

Offline

#5 2024-01-03 21:40:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,048

Re: [SOLVED] Lightdm stop start - Wayland and Nvidia not workinng

Step #1: you've systemd-networkd, iwd and NetworkManager enabled, pick one network daemon and disable the others (you can use iwd as NM backend or all by itself, but you have to get dowsn to one daemon)

nvidia loads fine and early, so it's not a kernel issue
Step #2

[    13.952] (**) |-->Screen "Screen0" (0)
[    13.952] (**) |   |-->Monitor "Monitor0"
[    13.952] (**) |   |-->Device "Card0"
grep -r Screen /{etc,usr/share}/X11/xorg.conf*

Offline

#6 2024-01-05 18:04:09

RA-XX
Member
Registered: 2024-01-03
Posts: 3

Re: [SOLVED] Lightdm stop start - Wayland and Nvidia not workinng

I'm find the configs file in /etc/X11/xorg.conf.d/ block xstart. I'm delete and lightdm work like new.

Offline

Board footer

Powered by FluxBB