Ok, this is my lightdm.log. There are some warnings, but. Not sure if of any importance.
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=1440
[+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: 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.59s] DEBUG: Monitoring logind for seats
[+0.59s] DEBUG: New seat added from logind: seat0
[+0.59s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.59s] DEBUG: Seat seat0: Starting
[+0.59s] DEBUG: Seat seat0: Creating greeter session
[+0.59s] DEBUG: Seat seat0: Creating display server of type x
[+0.59s] DEBUG: posix_spawn avoided (fd close requested)
[+0.59s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.59s] DEBUG: Using VT 7
[+0.59s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.59s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.59s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.59s] DEBUG: XServer 0: Launching X Server
[+0.59s] DEBUG: Launching process 1463: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.59s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.59s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.59s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.59s] WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
[+0.60s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+0.60s] DEBUG: User ton11 added
[+0.60s] DEBUG: User dawid added
[+2.17s] DEBUG: Got signal 10 from process 1463
[+2.17s] DEBUG: XServer 0: Got signal from X server :0
[+2.17s] DEBUG: XServer 0: Connecting to XServer :0
[+2.17s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+2.17s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+2.17s] DEBUG: Session pid=1474: Started with service 'lightdm-greeter', username 'lightdm'
[+2.19s] DEBUG: Session pid=1474: Authentication complete with return value 0: Success
[+2.19s] DEBUG: Seat seat0: Session authenticated, running command
[+2.19s] DEBUG: Session pid=1474: Running command /usr/bin/lightdm-gtk-greeter
[+2.19s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+2.19s] DEBUG: Session pid=1474: Logging to /var/log/lightdm/seat0-greeter.log
[+2.19s] DEBUG: Activating VT 7
[+2.50s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+2.81s] DEBUG: Greeter start authentication for ton11
[+2.81s] DEBUG: Session pid=1498: Started with service 'lightdm', username 'ton11'
[+2.83s] DEBUG: Session pid=1498: Got 1 message(s) from PAM
[+2.83s] DEBUG: Prompt greeter with 1 message(s)
[+10.35s] DEBUG: Continue authentication
[+12.08s] DEBUG: Session pid=1498: Authentication complete with return value 7: Authentication failure
[+12.08s] DEBUG: Authenticate result for user ton11: Authentication failure
[+12.09s] DEBUG: Session pid=1498: Exited with return value 1
[+12.09s] DEBUG: Seat seat0: Session stopped
[+12.12s] DEBUG: Greeter start authentication for ton11
[+12.12s] DEBUG: Session pid=1516: Started with service 'lightdm', username 'ton11'
[+12.13s] DEBUG: Session pid=1516: Got 1 message(s) from PAM
[+12.13s] DEBUG: Prompt greeter with 1 message(s)
[+15.79s] DEBUG: Continue authentication
[+15.86s] DEBUG: Session pid=1516: Authentication complete with return value 0: Success
[+15.86s] DEBUG: Authenticate result for user ton11: Success
[+15.86s] DEBUG: User ton11 authorized
[+15.88s] DEBUG: Greeter requests session dwm
[+15.88s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+15.88s] DEBUG: Session pid=1474: Sending SIGTERM
[+15.90s] DEBUG: Greeter closed communication channel
[+15.90s] DEBUG: Session pid=1474: Exited with return value 0
[+15.90s] DEBUG: Seat seat0: Session stopped
[+15.90s] DEBUG: Seat seat0: Greeter stopped, running session
[+15.90s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+15.90s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+15.90s] DEBUG: Session pid=1516: Running command /etc/lightdm/Xsession /usr/local/bin/dwm
[+15.90s] DEBUG: Creating shared data directory /var/lib/lightdm-data/ton11
[+15.90s] DEBUG: Session pid=1516: Logging to .xsession-errors
[+15.91s] DEBUG: Activating VT 7
[+15.91s] DEBUG: Activating login1 session 1
[+15.91s] DEBUG: Seat seat0 changes active session to 1
[+15.91s] DEBUG: Session 1 is already active
this one is also from /var/log/lightdm/
the x-1.log.old
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
Build Operating System: Linux Artix Linux
Current Operating System: Linux ton11pc 5.7.6-artix1-1 #1 SMP PREEMPT Thu, 25 Jun 2020 16:01:13 +0000 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/sda2 rw net.ifnames=0 quiet resume=UUID=9d66b041-0afc-4396-b933-617105dc6226
Build Date: 05 May 2020 11:15:38AM
Current version of pixman: 0.40.0
Before reporting problems, check http://wiki.x.org
to 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: "/var/log/Xorg.1.log", Time: Mon Jul 13 22:42:51 2020
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(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 "/var/log/Xorg.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
this is getting interesting...
and finally, the Xorg.1.log.old
[ 28.922] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 28.923]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 28.923] Build Operating System: Linux Artix Linux
[ 28.923] Current Operating System: Linux ton11pc 5.7.6-artix1-1 #1 SMP PREEMPT Thu, 25 Jun 2020 16:01:13 +0000 x86_64
[ 28.923] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/sda2 rw net.ifnames=0 quiet resume=UUID=9d66b041-0afc-4396-b933-617105dc6226
[ 28.923] Build Date: 05 May 2020 11:15:38AM
[ 28.923]
[ 28.923] Current version of pixman: 0.40.0
[ 28.923] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 28.923] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 28.923] (==) Log file: "/var/log/Xorg.1.log", Time: Mon Jul 13 22:42:51 2020
[ 28.923] (==) Using config file: "/etc/X11/xorg.conf"
[ 28.923] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 28.923] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 28.923] (==) ServerLayout "Layout0"
[ 28.923] (**) |-->Screen "Screen0" (0)
[ 28.923] (**) | |-->Monitor "Monitor0"
[ 28.924] (**) | |-->Device "Device0"
[ 28.924] (**) |-->Input Device "Keyboard0"
[ 28.924] (**) |-->Input Device "Mouse0"
[ 28.924] (==) Automatically adding devices
[ 28.924] (==) Automatically enabling devices
[ 28.924] (==) Automatically adding GPU devices
[ 28.924] (==) Automatically binding GPU devices
[ 28.924] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 28.924] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 28.924] Entry deleted from font path.
[ 28.924] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 28.924] Entry deleted from font path.
[ 28.924] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 28.924] Entry deleted from font path.
[ 28.924] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 28.924] Entry deleted from font path.
[ 28.924] (==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/TTF
[ 28.924] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 28.924] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 28.924] (WW) Disabling Keyboard0
[ 28.924] (WW) Disabling Mouse0
[ 28.924] (II) Module ABI versions:
[ 28.924] X.Org ANSI C Emulation: 0.4
[ 28.924] X.Org Video Driver: 24.1
[ 28.924] X.Org XInput driver : 24.1
[ 28.924] X.Org Server Extension : 10.0
[ 28.925] (++) using VT number 7
[ 28.925] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 28.925] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 28.929] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[ 28.933] (--) PCI:*(1@0:0:0) 10de:1c81:1458:372b rev 161, Mem @ 0xfd000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 28.933] (II) Open ACPI successful (/var/run/acpid.socket)
[ 28.933] (II) LoadModule: "glx"
[ 28.934] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 28.937] (II) Module glx: vendor="X.Org Foundation"
[ 28.937] compiled for 1.20.8, module version = 1.0.0
[ 28.937] ABI class: X.Org Server Extension, version 10.0
[ 28.937] (II) LoadModule: "nvidia"
[ 28.937] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 28.938] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 28.938] compiled for 1.6.99.901, module version = 1.0.0
[ 28.938] Module class: X.Org Video Driver
[ 28.938] (II) NVIDIA dlloader X Driver 440.100 Fri May 29 08:21:27 UTC 2020
[ 28.938] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 28.938] (II) Loading sub module "fb"
[ 28.938] (II) LoadModule: "fb"
[ 28.939] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 28.939] (II) Module fb: vendor="X.Org Foundation"
[ 28.939] compiled for 1.20.8, module version = 1.0.0
[ 28.939] ABI class: X.Org ANSI C Emulation, version 0.4
[ 28.939] (II) Loading sub module "wfb"
[ 28.939] (II) LoadModule: "wfb"
[ 28.939] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 28.940] (II) Module wfb: vendor="X.Org Foundation"
[ 28.940] compiled for 1.20.8, module version = 1.0.0
[ 28.940] ABI class: X.Org ANSI C Emulation, version 0.4
[ 28.940] (II) Loading sub module "ramdac"
[ 28.940] (II) LoadModule: "ramdac"
[ 28.940] (II) Module "ramdac" already built-in
[ 28.940] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 28.940] (==) NVIDIA(0): RGB weight 888
[ 28.940] (==) NVIDIA(0): Default visual is TrueColor
[ 28.940] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 28.940] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[ 28.940] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[ 28.941] (**) NVIDIA(0): Enabling 2D acceleration
[ 28.941] (II) Loading sub module "glxserver_nvidia"
[ 28.941] (II) LoadModule: "glxserver_nvidia"
[ 28.941] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[ 28.957] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[ 28.957] compiled for 1.6.99.901, module version = 1.0.0
[ 28.957] Module class: X.Org Server Extension
[ 28.957] (II) NVIDIA GLX Module 440.100 Fri May 29 08:19:01 UTC 2020
[ 28.957] (II) NVIDIA: The X server supports PRIME Render Offload.
[ 28.959] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[ 28.959] (--) NVIDIA(0): DFP-0 (boot)
[ 28.959] (--) NVIDIA(0): DFP-1
[ 28.959] (--) NVIDIA(0): DFP-2
[ 28.959] (--) NVIDIA(0): DFP-3
[ 28.959] (--) NVIDIA(0): DFP-4
[ 28.959] (--) NVIDIA(0): DFP-5
[ 28.962] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1050 (GP107-A) at PCI:1:0:0 (GPU-0)
[ 28.962] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 28.962] (--) NVIDIA(0): VideoBIOS: 86.07.39.00.e0
[ 28.962] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 28.962] (EE) NVIDIA(GPU-0): Failed to acquire modesetting permission.
[ 28.962] (EE) NVIDIA(0): Failing initialization of X screen
[ 28.963] (II) UnloadModule: "nvidia"
[ 28.963] (II) UnloadSubModule: "glxserver_nvidia"
[ 28.963] (II) Unloading glxserver_nvidia
[ 28.963] (II) UnloadSubModule: "wfb"
[ 28.963] (II) UnloadSubModule: "fb"
[ 28.963] (EE) Screen(s) found, but none have a usable configuration.
[ 28.963] (EE)
Fatal server error:
[ 28.963] (EE) no screens found(EE)
[ 28.963] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 28.963] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[ 28.963] (EE)
[ 28.968] (EE) Server terminated with error (1). Closing log file.
NVIDIA(GPU-0): Failed to acquire modesetting permission.
Seams like this might be the culprit. Does anyone know what can one do in this situatuon?