Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Installing a Desktop Environment, Display Manager (Read 6618 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: Installing a Desktop Environment, Display Manager

Reply #30
Pacman uninstalled nvidia-390xx and installed nvidia-390xx-dkms. however, There was an installation error.
Code: [Select]
==> Unable to install module nvidia/390.132 for kernel *: Missing kernel headers.

Here I saw that I probably need the linux-headers package. When pacman installed  linux-headers-5.6.6.artix1-1 I got this error:
Code: [Select]
==> Unable to install module nvidia/390.132 for kernel 5.6.6-artix1-1: Missing kernel modules tree.

How do I get that kernel modules tree and what is it?

Re: Installing a Desktop Environment, Display Manager

Reply #31
ok, i will make linux-headers optional. This installation will works only with installed 'linux' and 'linux-headers'. Good point!

but works:
Quote
(2/3) Install DKMS modules
==> dkms install nvidia/390.132 -k 5.6.6-artix1-1
==> dkms install nvidia/390.132 -k 5.6.7-zen1-1-zen
(3/3) Updating linux initcpios..

Re: Installing a Desktop Environment, Display Manager

Reply #32
I reinstalled the linux package, it seems that it did something good:
Code: [Select]
(2/3) Install DKMS modules
==> dkms install nvidia/390.132 -k 5.6.6-artix1-1
(3/3) linux initcpios...
...

I did not get any output about linux-zen. Anyway, I tried xinit again, but it still cannot initialize the nvidia kernel module

Code: [Select]
[ 20003.083] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 20003.084]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 20003.085] Build Operating System: Linux Artix Linux
[ 20003.087] Current Operating System: Linux lappi 5.6.3-artix1-1 #1 SMP PREEMPT Wed, 08 Apr 2020 15:06:10 +0000 x86_64
[ 20003.087] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=16211fe2-0927-4853-af22-b701645183fd rw loglevel=3 random.trust_cpu=on resume=UUID=8a8c0b83-8b6f-4fea-bd4a-905e7b51ebb4 quiet
[ 20003.089] Build Date: 30 March 2020  02:12:50PM
[ 20003.089] 
[ 20003.090] Current version of pixman: 0.38.4
[ 20003.091] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 20003.091] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 20003.093] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Apr 24 08:31:38 2020
[ 20003.095] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 20003.096] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 20003.097] (==) ServerLayout "Manually configured"
[ 20003.097] (**) |-->Screen "Laptop Screen" (0)
[ 20003.097] (**) |   |-->Monitor "Laptop LCD"
[ 20003.098] (**) |   |-->Device "Nvidia Card"
[ 20003.098] (**) |-->Input Device "Mouse0"
[ 20003.098] (**) |-->Input Device "Keyboard0"
[ 20003.098] (==) Automatically adding devices
[ 20003.098] (==) Automatically enabling devices
[ 20003.098] (==) Automatically adding GPU devices
[ 20003.098] (==) Automatically binding GPU devices
[ 20003.098] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 20003.099] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[ 20003.099] Entry deleted from font path.
[ 20003.099] (Run 'mkfontdir' on "/usr/share/fonts/misc").
[ 20003.099] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 20003.099] Entry deleted from font path.
[ 20003.099] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 20003.099] Entry deleted from font path.
[ 20003.099] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 20003.099] Entry deleted from font path.
[ 20003.100] (==) FontPath set to:
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 20003.100] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 20003.100] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 20003.100] (WW) Disabling Mouse0
[ 20003.100] (WW) Disabling Keyboard0
[ 20003.100] (II) Module ABI versions:
[ 20003.100] X.Org ANSI C Emulation: 0.4
[ 20003.100] X.Org Video Driver: 24.1
[ 20003.100] X.Org XInput driver : 24.1
[ 20003.100] X.Org Server Extension : 10.0
[ 20003.101] (--) using VT number 7

[ 20003.101] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 20003.103] (--) PCI:*(1@0:0:0) 10de:1212:144d:c0d0 rev 161, Mem @ 0xf6000000/16777216, 0xec000000/67108864, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 20003.103] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 20003.103] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 20003.103] (II) LoadModule: "glx"
[ 20003.104] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 20003.110] (II) Module glx: vendor="X.Org Foundation"
[ 20003.110] compiled for 1.20.8, module version = 1.0.0
[ 20003.110] ABI class: X.Org Server Extension, version 10.0
[ 20003.110] (II) LoadModule: "nvidia"
[ 20003.111] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 20003.116] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 20003.116] compiled for 4.0.2, module version = 1.0.0
[ 20003.116] Module class: X.Org Video Driver
[ 20003.116] (II) NVIDIA dlloader X Driver  390.132  Fri Nov  1 03:36:28 PDT 2019
[ 20003.116] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 20003.119] (II) Loading sub module "fb"
[ 20003.119] (II) LoadModule: "fb"
[ 20003.119] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 20003.120] (II) Module fb: vendor="X.Org Foundation"
[ 20003.120] compiled for 1.20.8, module version = 1.0.0
[ 20003.120] ABI class: X.Org ANSI C Emulation, version 0.4
[ 20003.120] (II) Loading sub module "wfb"
[ 20003.120] (II) LoadModule: "wfb"
[ 20003.120] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 20003.121] (II) Module wfb: vendor="X.Org Foundation"
[ 20003.121] compiled for 1.20.8, module version = 1.0.0
[ 20003.121] ABI class: X.Org ANSI C Emulation, version 0.4
[ 20003.121] (II) Loading sub module "ramdac"
[ 20003.121] (II) LoadModule: "ramdac"
[ 20003.121] (II) Module "ramdac" already built-in
[ 20003.126] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 20003.126] (EE) NVIDIA:     system's kernel log for additional error messages and
[ 20003.126] (EE) NVIDIA:     consult the NVIDIA README for details.
[ 20003.127] (EE) No devices detected.
[ 20003.127] (EE)
Fatal server error:
[ 20003.127] (EE) no screens found(EE)
[ 20003.127] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
 for help.
[ 20003.127] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 20003.127] (EE)
[ 20003.130] (EE) Server terminated with error (1). Closing log file.

there is still no nvidia in my /dev directory. Do I need to reinstall something else?

Re: Installing a Desktop Environment, Display Manager

Reply #33
which kernel you use?

Quote
uname -r

Re: Installing a Desktop Environment, Display Manager

Reply #34
5.6.3-artix1-1

Re: Installing a Desktop Environment, Display Manager

Reply #35

so why you builded driver for 5.6.6??
Quote
(2/3) Install DKMS modules
==> dkms install nvidia/390.132 -k 5.6.6-artix1-1

If you updated your system to 5.6.6, you must restart computer  :o

Re: Installing a Desktop Environment, Display Manager

Reply #36
Sorry, I forgot that.  :-[  I'm still not too familiar with linux. After reboot, uname -r reported 5.6.6-artix1-1.

I then reinstalled nvidia-390xx-dkms, which also removed and reinstalled the DKMS modules
Quote
==> dkms install nvidia-390.132 -k 5.6.6-artix1-1

I rebooted again, just in case. Still no nvidia in /dev directory.

Xinit started LXQt, but it did not find any default Window Manager. I'll have to look into it later. Now I have to tend to my daily job.

Re: Installing a Desktop Environment, Display Manager

Reply #37
put here X.org.log

try use "noveau" driver instead -
Quote
pacman -S xf86-video-nouveau

Re: Installing a Desktop Environment, Display Manager

Reply #38
I think the nvidia drivers are working ok, so far. I would keep them for the moment. When I executed xinit, xorg rendered a graphical UI in 1920x1080 which asked me to pick a default window manager. So I think this is a lxqt configuration error, that it somehow did not find openbox.

I selected openbox as default window manager. Since then, when I start xinit, I don't get this question anymore, I end up with a black screen and a mouse cursor with which opens a context menu (Applications/System/Log Out). I can switch to tty1 (Ctrl-Alt-F1) and abort xinit by Ctrl-C.

So I think Linux can now render GUI with my old nvidia card. From here on I should somehow setup lxqt, lightdm, and the lightdm-webkit2-greeter (litarvan theme).

Re: Installing a Desktop Environment, Display Manager

Reply #39
Here is the /var/log/Xorg.0.log after I aborted the xinit in tty1:

There is some information about ACPI not starting. I think that is also something I should look into, but it may be off-topic here.
Code: [Select]
[  2739.966] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[  2739.966]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[  2739.968] Build Operating System: Linux Artix Linux
[  2739.969] Current Operating System: Linux lappi 5.6.6-artix1-1 #1 SMP PREEMPT Tue, 21 Apr 2020 13:54:16 +0000 x86_64
[  2739.969] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=16211fe2-0927-4853-af22-b701645183fd rw loglevel=3 random.trust_cpu=on resume=UUID=8a8c0b83-8b6f-4fea-bd4a-905e7b51ebb4 quiet
[  2739.970] Build Date: 30 March 2020  02:12:50PM
[  2739.971] 
[  2739.971] Current version of pixman: 0.38.4
[  2739.972] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  2739.972] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2739.974] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Apr 24 11:08:51 2020
[  2739.975] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  2739.975] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2739.975] (==) ServerLayout "Manually configured"
[  2739.975] (**) |-->Screen "Laptop Screen" (0)
[  2739.975] (**) |   |-->Monitor "Laptop LCD"
[  2739.975] (**) |   |-->Device "Nvidia Card"
[  2739.976] (**) |-->Input Device "Mouse0"
[  2739.976] (**) |-->Input Device "Keyboard0"
[  2739.976] (==) Automatically adding devices
[  2739.976] (==) Automatically enabling devices
[  2739.976] (==) Automatically adding GPU devices
[  2739.976] (==) Automatically binding GPU devices
[  2739.976] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2739.976] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[  2739.976] Entry deleted from font path.
[  2739.976] (Run 'mkfontdir' on "/usr/share/fonts/misc").
[  2739.976] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[  2739.976] Entry deleted from font path.
[  2739.976] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  2739.976] Entry deleted from font path.
[  2739.976] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  2739.976] Entry deleted from font path.
[  2739.976] (==) FontPath set to:
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[  2739.976] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2739.976] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  2739.976] (WW) Disabling Mouse0
[  2739.976] (WW) Disabling Keyboard0
[  2739.976] (II) Module ABI versions:
[  2739.976] X.Org ANSI C Emulation: 0.4
[  2739.976] X.Org Video Driver: 24.1
[  2739.976] X.Org XInput driver : 24.1
[  2739.976] X.Org Server Extension : 10.0
[  2739.977] (--) using VT number 7

[  2739.977] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  2739.977] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2739.978] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[  2739.979] (--) PCI:*(1@0:0:0) 10de:1212:144d:c0d0 rev 161, Mem @ 0xf6000000/16777216, 0xec000000/67108864, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[  2739.979] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2739.979] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  2739.979] (II) LoadModule: "glx"
[  2739.979] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[  2739.982] (II) Module glx: vendor="NVIDIA Corporation"
[  2739.982] compiled for 4.0.2, module version = 1.0.0
[  2739.982] Module class: X.Org Server Extension
[  2739.982] (II) NVIDIA GLX Module  390.132  Fri Nov  1 04:00:46 PDT 2019
[  2739.982] (II) LoadModule: "nvidia"
[  2739.982] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  2739.982] (II) Module nvidia: vendor="NVIDIA Corporation"
[  2739.982] compiled for 4.0.2, module version = 1.0.0
[  2739.982] Module class: X.Org Video Driver
[  2739.982] (II) NVIDIA dlloader X Driver  390.132  Fri Nov  1 03:36:28 PDT 2019
[  2739.982] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  2739.983] (II) Loading sub module "fb"
[  2739.983] (II) LoadModule: "fb"
[  2739.984] (II) Loading /usr/lib/xorg/modules/libfb.so
[  2739.984] (II) Module fb: vendor="X.Org Foundation"
[  2739.984] compiled for 1.20.8, module version = 1.0.0
[  2739.984] ABI class: X.Org ANSI C Emulation, version 0.4
[  2739.984] (II) Loading sub module "wfb"
[  2739.984] (II) LoadModule: "wfb"
[  2739.984] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  2739.984] (II) Module wfb: vendor="X.Org Foundation"
[  2739.984] compiled for 1.20.8, module version = 1.0.0
[  2739.984] ABI class: X.Org ANSI C Emulation, version 0.4
[  2739.984] (II) Loading sub module "ramdac"
[  2739.984] (II) LoadModule: "ramdac"
[  2739.984] (II) Module "ramdac" already built-in
[  2739.986] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[  2739.986] (==) NVIDIA(0): RGB weight 888
[  2739.986] (==) NVIDIA(0): Default visual is TrueColor
[  2739.986] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  2739.986] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[  2739.986] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[  2739.986] (**) NVIDIA(0): Enabling 2D acceleration
[  2740.370] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[  2740.370] (--) NVIDIA(0):     CRT-0
[  2740.370] (--) NVIDIA(0):     DFP-0
[  2740.370] (--) NVIDIA(0):     DFP-1
[  2740.370] (--) NVIDIA(0):     DFP-2
[  2740.370] (--) NVIDIA(0):     DFP-3 (boot)
[  2740.371] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 675M (GF114) at PCI:1:0:0 (GPU-0)
[  2740.371] (--) NVIDIA(0): Memory: 2097152 kBytes
[  2740.371] (--) NVIDIA(0): VideoBIOS: 70.24.43.00.12
[  2740.371] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[  2740.371] (--) NVIDIA(GPU-0): CRT-0: disconnected
[  2740.372] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[  2740.372] (--) NVIDIA(GPU-0):
[  2740.372] (--) NVIDIA(GPU-0): DFP-0: disconnected
[  2740.372] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[  2740.372] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[  2740.372] (--) NVIDIA(GPU-0):
[  2740.372] (--) NVIDIA(GPU-0): DFP-1: disconnected
[  2740.372] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[  2740.372] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[  2740.372] (--) NVIDIA(GPU-0):
[  2740.372] (--) NVIDIA(GPU-0): DFP-2: disconnected
[  2740.372] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[  2740.372] (--) NVIDIA(GPU-0): DFP-2: 480.0 MHz maximum pixel clock
[  2740.372] (--) NVIDIA(GPU-0):
[  2740.372] (--) NVIDIA(GPU-0): Seiko/Epson SAMSUNG173HT02-C01 (DFP-3): connected
[  2740.372] (--) NVIDIA(GPU-0): Seiko/Epson SAMSUNG173HT02-C01 (DFP-3): Internal DisplayPort
[  2740.372] (--) NVIDIA(GPU-0): Seiko/Epson SAMSUNG173HT02-C01 (DFP-3): 480.0 MHz maximum pixel clock
[  2740.372] (--) NVIDIA(GPU-0):
[  2740.373] (II) NVIDIA(0): Validated MetaModes:
[  2740.373] (II) NVIDIA(0):     "DFP-3:1920x1080"
[  2740.373] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[  2740.375] (--) NVIDIA(0): DPI set to (128, 124); computed from "UseEdidDpi" X config
[  2740.375] (--) NVIDIA(0):     option
[  2740.376] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[  2740.376] (II) NVIDIA:     access.
[  2740.378] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[  2740.378] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[  2740.378] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[  2740.378] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[  2740.378] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[  2740.378] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[  2740.378] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[  2740.378] (II) NVIDIA(0):     Config Options in the README.
[  2740.399] (II) NVIDIA(0): Setting mode "DFP-3:1920x1080"
[  2741.463] (==) NVIDIA(0): Disabling shared memory pixmaps
[  2741.463] (==) NVIDIA(0): Backing store enabled
[  2741.463] (==) NVIDIA(0): Silken mouse disabled
[  2741.463] (==) NVIDIA(0): DPMS enabled
[  2741.463] (II) Loading sub module "dri2"
[  2741.463] (II) LoadModule: "dri2"
[  2741.463] (II) Module "dri2" already built-in
[  2741.463] (II) NVIDIA(0): [DRI2] Setup complete
[  2741.463] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[  2741.463] (II) Initializing extension Generic Event Extension
[  2741.463] (II) Initializing extension SHAPE
[  2741.463] (II) Initializing extension MIT-SHM
[  2741.463] (II) Initializing extension XInputExtension
[  2741.463] (II) Initializing extension XTEST
[  2741.463] (II) Initializing extension BIG-REQUESTS
[  2741.463] (II) Initializing extension SYNC
[  2741.463] (II) Initializing extension XKEYBOARD
[  2741.463] (II) Initializing extension XC-MISC
[  2741.464] (II) Initializing extension SECURITY
[  2741.464] (II) Initializing extension XFIXES
[  2741.464] (II) Initializing extension RENDER
[  2741.464] (II) Initializing extension RANDR
[  2741.464] (II) Initializing extension COMPOSITE
[  2741.464] (II) Initializing extension DAMAGE
[  2741.464] (II) Initializing extension MIT-SCREEN-SAVER
[  2741.464] (II) Initializing extension DOUBLE-BUFFER
[  2741.464] (II) Initializing extension RECORD
[  2741.464] (II) Initializing extension DPMS
[  2741.464] (II) Initializing extension Present
[  2741.464] (II) Initializing extension DRI3
[  2741.464] (II) Initializing extension X-Resource
[  2741.464] (II) Initializing extension XVideo
[  2741.464] (II) Initializing extension XVideo-MotionCompensation
[  2741.464] (II) Initializing extension XFree86-VidModeExtension
[  2741.464] (II) Initializing extension XFree86-DGA
[  2741.464] (II) Initializing extension XFree86-DRI
[  2741.464] (II) Initializing extension DRI2
[  2741.464] (II) Initializing extension GLX
[  2741.464] (II) Initializing extension GLX
[  2741.464] (II) Indirect GLX disabled.
[  2741.464] (II) Initializing extension NV-GLX
[  2741.464] (II) Initializing extension NV-CONTROL
[  2741.464] (II) Initializing extension XINERAMA
[  2741.523] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[  2741.523] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  2741.523] (II) LoadModule: "libinput"
[  2741.523] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  2741.525] (II) Module libinput: vendor="X.Org Foundation"
[  2741.525] compiled for 1.20.7, module version = 0.29.0
[  2741.525] Module class: X.Org XInput Driver
[  2741.525] ABI class: X.Org XInput driver, version 24.1
[  2741.525] (II) Using input driver 'libinput' for 'Power Button'
[  2741.525] (**) Power Button: always reports core events
[  2741.525] (**) Option "Device" "/dev/input/event2"
[  2741.525] (**) Option "_source" "server/udev"
[  2741.526] (II) event2  - Power Button: is tagged by udev as: Keyboard
[  2741.526] (II) event2  - Power Button: device is a keyboard
[  2741.527] (II) event2  - Power Button: device removed
[  2741.565] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[  2741.565] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  2741.567] (II) event2  - Power Button: is tagged by udev as: Keyboard
[  2741.567] (II) event2  - Power Button: device is a keyboard
[  2741.568] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[  2741.568] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[  2741.568] (II) Using input driver 'libinput' for 'Video Bus'
[  2741.568] (**) Video Bus: always reports core events
[  2741.568] (**) Option "Device" "/dev/input/event3"
[  2741.568] (**) Option "_source" "server/udev"
[  2741.569] (II) event3  - Video Bus: is tagged by udev as: Keyboard
[  2741.569] (II) event3  - Video Bus: device is a keyboard
[  2741.569] (II) event3  - Video Bus: device removed
[  2741.640] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:07/LNXVIDEO:00/input/input3/event3"
[  2741.640] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[  2741.641] (II) event3  - Video Bus: is tagged by udev as: Keyboard
[  2741.641] (II) event3  - Video Bus: device is a keyboard
[  2741.642] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[  2741.642] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  2741.642] (II) Using input driver 'libinput' for 'Power Button'
[  2741.642] (**) Power Button: always reports core events
[  2741.642] (**) Option "Device" "/dev/input/event1"
[  2741.642] (**) Option "_source" "server/udev"
[  2741.643] (II) event1  - Power Button: is tagged by udev as: Keyboard
[  2741.643] (II) event1  - Power Button: device is a keyboard
[  2741.643] (II) event1  - Power Button: device removed
[  2741.685] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[  2741.685] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[  2741.687] (II) event1  - Power Button: is tagged by udev as: Keyboard
[  2741.687] (II) event1  - Power Button: device is a keyboard
[  2741.687] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[  2741.687] (II) No input driver specified, ignoring this device.
[  2741.687] (II) This device may have been added with another device file.
[  2741.688] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event7)
[  2741.688] (II) No input driver specified, ignoring this device.
[  2741.688] (II) This device may have been added with another device file.
[  2741.688] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event8)
[  2741.688] (II) No input driver specified, ignoring this device.
[  2741.688] (II) This device may have been added with another device file.
[  2741.689] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event9)
[  2741.689] (II) No input driver specified, ignoring this device.
[  2741.689] (II) This device may have been added with another device file.
[  2741.689] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event10)
[  2741.689] (II) No input driver specified, ignoring this device.
[  2741.689] (II) This device may have been added with another device file.
[  2741.689] (II) config/udev: Adding input device SC-20FHL11146M: SC-20FHL11146M (/dev/input/event6)
[  2741.689] (**) SC-20FHL11146M: SC-20FHL11146M: Applying InputClass "libinput keyboard catchall"
[  2741.690] (II) Using input driver 'libinput' for 'SC-20FHL11146M: SC-20FHL11146M'
[  2741.690] (**) SC-20FHL11146M: SC-20FHL11146M: always reports core events
[  2741.690] (**) Option "Device" "/dev/input/event6"
[  2741.690] (**) Option "_source" "server/udev"
[  2741.691] (II) event6  - SC-20FHL11146M: SC-20FHL11146M: is tagged by udev as: Keyboard
[  2741.691] (II) event6  - SC-20FHL11146M: SC-20FHL11146M: device is a keyboard
[  2741.692] (II) event6  - SC-20FHL11146M: SC-20FHL11146M: device removed
[  2741.765] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input18/event6"
[  2741.765] (II) XINPUT: Adding extended input device "SC-20FHL11146M: SC-20FHL11146M" (type: KEYBOARD, id 9)
[  2741.767] (II) event6  - SC-20FHL11146M: SC-20FHL11146M: is tagged by udev as: Keyboard
[  2741.767] (II) event6  - SC-20FHL11146M: SC-20FHL11146M: device is a keyboard
[  2741.768] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event11)
[  2741.768] (II) No input driver specified, ignoring this device.
[  2741.768] (II) This device may have been added with another device file.
[  2741.768] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event12)
[  2741.768] (II) No input driver specified, ignoring this device.
[  2741.768] (II) This device may have been added with another device file.
[  2741.769] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[  2741.769] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[  2741.769] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[  2741.769] (**) AT Translated Set 2 keyboard: always reports core events
[  2741.769] (**) Option "Device" "/dev/input/event4"
[  2741.769] (**) Option "_source" "server/udev"
[  2741.770] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[  2741.770] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[  2741.771] (II) event4  - AT Translated Set 2 keyboard: device removed
[  2741.805] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[  2741.805] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[  2741.807] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[  2741.807] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[  2741.808] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event13)
[  2741.808] (**) ETPS/2 Elantech Touchpad: Applying InputClass "libinput touchpad catchall"
[  2741.808] (II) Using input driver 'libinput' for 'ETPS/2 Elantech Touchpad'
[  2741.808] (**) ETPS/2 Elantech Touchpad: always reports core events
[  2741.808] (**) Option "Device" "/dev/input/event13"
[  2741.808] (**) Option "_source" "server/udev"
[  2741.810] (II) event13 - ETPS/2 Elantech Touchpad: is tagged by udev as: Touchpad
[  2741.811] (II) event13 - ETPS/2 Elantech Touchpad: device is a touchpad
[  2741.811] (II) event13 - ETPS/2 Elantech Touchpad: device removed
[  2741.872] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input16/event13"
[  2741.872] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 11)
[  2741.873] (**) Option "AccelerationScheme" "none"
[  2741.873] (**) ETPS/2 Elantech Touchpad: (accel) selected scheme none/0
[  2741.873] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[  2741.873] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[  2741.874] (II) event13 - ETPS/2 Elantech Touchpad: is tagged by udev as: Touchpad
[  2741.876] (II) event13 - ETPS/2 Elantech Touchpad: device is a touchpad
[  2741.876] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse0)
[  2741.876] (II) No input driver specified, ignoring this device.
[  2741.877] (II) This device may have been added with another device file.
[  2741.877] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[  2741.877] (II) No input driver specified, ignoring this device.
[  2741.877] (II) This device may have been added with another device file.
[  2741.882] (--) NVIDIA(GPU-0): Seiko/Epson SAMSUNG173HT02-C01 (DFP-3): connected
[  2741.882] (--) NVIDIA(GPU-0): Seiko/Epson SAMSUNG173HT02-C01 (DFP-3): Internal DisplayPort
[  2741.882] (--) NVIDIA(GPU-0): Seiko/Epson SAMSUNG173HT02-C01 (DFP-3): 480.0 MHz maximum pixel clock
[  2741.882] (--) NVIDIA(GPU-0):
[  2746.687] (II) event2  - Power Button: device removed
[  2746.712] (II) event3  - Video Bus: device removed
[  2746.778] (II) event1  - Power Button: device removed
[  2746.818] (II) event6  - SC-20FHL11146M: SC-20FHL11146M: device removed
[  2746.885] (II) event4  - AT Translated Set 2 keyboard: device removed
[  2746.912] (II) event13 - ETPS/2 Elantech Touchpad: device removed
[  2749.726] (II) UnloadModule: "libinput"
[  2749.726] (II) UnloadModule: "libinput"
[  2749.726] (II) UnloadModule: "libinput"
[  2749.726] (II) UnloadModule: "libinput"
[  2749.726] (II) UnloadModule: "libinput"
[  2749.726] (II) UnloadModule: "libinput"
[  2749.773] (II) NVIDIA(GPU-0): Deleting GPU-0
[  2749.774] (II) Server terminated successfully (0). Closing log file.

Re: Installing a Desktop Environment, Display Manager

Reply #40
Now when Xorg and openbox are able to run, I tried to start lxqt  by "startlxqt". writes this error:

Quote
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted.

However, I think this is just a follow-up error. This is the /var/log/lightdm/lightdm.log
Code: [Select]
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=13407
[+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:   [LightDM] contains unknown option greeter-session
[+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] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Failed to find session configuration lightdm-gtk-greeter
[+0.00s] DEBUG: Seat seat0: Failed to create greeter session
[+0.00s] DEBUG: Failed to start seat: seat0

Here is my /etc/lightdm/lightdm.conf showing that I have set it up to use the lightdm-webkit2-greeter
Code: [Select]
#
# General configuration
#
# start-default-seat = True to always start one seat if none are defined in the configuration
# greeter-user = User to run greeter as
# minimum-display-number = Minimum display number to use for X servers
# minimum-vt = First VT to run displays on
# lock-memory = True to prevent memory from being paged to disk
# user-authority-in-system-dir = True if session authority should be in the system location
# guest-account-script = Script to be run to setup guest account
# logind-check-graphical = True to on start seats that are marked as graphical by logind
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# sessions-directory = Directory to find sessions
# remote-sessions-directory = Directory to find remote sessions
# greeters-directory = Directory to find greeters
# backup-logs = True to move add a .old suffix to old log files when opening new ones
# dbus-service = True if LightDM provides a D-Bus service to control it
#
[LightDM]
#start-default-seat=true
#greeter-user=lightdm
#minimum-display-number=0
#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
#logind-check-graphical=false
#log-directory=/var/log/lightdm
run-directory=/run/lightdm
#cache-directory=/var/cache/lightdm
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
#backup-logs=true
#dbus-service=true

#
# Seat configuration
#
# Seat configuration is matched against the seat name glob in the section, for example:
# [Seat:*] matches all seats and is applied first.
# [Seat:seat0] matches the seat named "seat0".
# [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
#
# type = Seat type (local, xremote)
# pam-service = PAM service to use for login
# pam-autologin-service = PAM service to use for autologin
# pam-greeter-service = PAM service to use for greeters
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
# xserver-config = Config file to pass to X server
# xserver-layout = Layout to pass to X server
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
# xserver-share = True if the X server is shared for both greeter and session
# xserver-hostname = Hostname of X server (only for type=xremote)
# xserver-display-number = Display number of X server (only for type=xremote)
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
# xdmcp-port = XDMCP UDP/IP port to communicate on
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
greeter-session=lightdm-webkit2-greeter
# greeter-hide-users = True to hide the user list
# greeter-allow-guest = True if the greeter should show a guest login option
# greeter-show-manual-login = True if the greeter should offer a manual login option
# greeter-show-remote-login = True if the greeter should offer a remote login option
# user-session = Session to load for users
# allow-user-switching = True if allowed to switch users
# allow-guest = True if guest login is allowed
# guest-session = Session to load for guests (overrides user-session)
# session-wrapper = Wrapper script to run session with
# greeter-wrapper = Wrapper script to run greeter with
# guest-wrapper = Wrapper script to run guest sessions with
# display-setup-script = Script to run when starting a greeter session (runs as root)
# display-stopped-script = Script to run after stopping the display server (runs as root)
# greeter-setup-script = Script to run when starting a greeter (runs as root)
# session-setup-script = Script to run when starting a user session (runs as root)
# session-cleanup-script = Script to run when quitting a user session (runs as root)
# autologin-guest = True to log in as guest by default
# autologin-user = User to log in with by default (overrides autologin-guest)
# autologin-user-timeout = Number of seconds to wait before loading default user
# autologin-session = Session to load for automatic login (overrides user-session)
# autologin-in-background = True if autologin session should not be immediately activated
# exit-on-failure = True if the daemon should exit if this seat fails
#
[Seat:*]
#type=local
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-command=X
#xmir-command=Xmir
#xserver-config=
#xserver-layout=
#xserver-allow-tcp=false
#xserver-share=true
#xserver-hostname=
#xserver-display-number=
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
#greeter-session=example-gtk-gnome
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-user-switching=true
#allow-guest=true
#guest-session=
session-wrapper=/etc/lightdm/Xsession
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-in-background=false
#autologin-session=
#exit-on-failure=false

#
# XDMCP Server configuration
#
# enabled = True if XDMCP connections should be allowed
# port = UDP/IP port to listen for connections on
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
# hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
#
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn.  Alternatively
# it can be a word and the first 7 characters are used as the key.
#
[XDMCPServer]
#enabled=false
#port=177
#listen-address=
#key=
#hostname=

#
# VNC Server configuration
#
# enabled = True if VNC connections should be allowed
# command = Command to run Xvnc server with
# port = TCP/IP port to listen for connections on
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
# width = Width of display to use
# height = Height of display to use
# depth = Color depth of display to use
#
[VNCServer]
#enabled=false
#command=Xvnc
#port=5900
#listen-address=
#width=1024
#height=768
#depth=8

I think I have all the right components installed:
Code: [Select]
local/lightdm 1:1.30.0-2
    A lightweight display manager
local/lightdm-runit 20180226-1 (runit-world)
    runit service scripts for lightdm
local/lightdm-webkit-theme-litarvan 3.0.0-1
    Modern and full-featured LightDM theme
local/lightdm-webkit2-greeter 2.2.5-2
    LightDM greeter that uses WebKit2 for theming via HTML/JavaScript.

Re: Installing a Desktop Environment, Display Manager

Reply #41
yeap. X server works now

so enable to start lightdm at boot


Re: Installing a Desktop Environment, Display Manager

Reply #42
Quote
ln -s /etc/runit/sv/lightdm /var/run/runit/service/

Re: Installing a Desktop Environment, Display Manager

Reply #43
We already did that days ago:
Ok, I installed lightdm-runit and also installed lightdm-webkit-theme-litarvan

I edited the lightdm.conf to use lightdm-webkit-theme-litarvan as greeter session.

I also told runit about the lightdm service:
Code: [Select]
ln -s /etc/runit/sv/lightdm /run/runit/service/

Runit knows about lightdm. When I reboot the laptop, lightdm does not start. I get the login prompt in tty1. lightdm produces this /var/log/lightdm/lightdm.log which says "failed to find session configuration lightdm-gtk-greeter", but I don't know where he gets the idea to load the gtk-greeter when I have specified the lightdm-webkit2-greeter in /etc/lightdm/lightdm.conf