lightdm and Login Window issues in newly installed 20.2

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
norseman
Level 1
Level 1
Posts: 20
Joined: Sat Jul 04, 2020 5:09 am

lightdm and Login Window issues in newly installed 20.2

Post by norseman »

Hi all,

last week I got a new PC (B550-F + Ryzen 5900X), and I installed Mint 20.2
and a bit later, after I found some "EDAC amd64: Error: F0 not found, device 0x1650 (broken BIOS?) "
in the logfiles, I installed the kernel 5.13.0-21-generic. So far, so good.


But lightdm is not working properly (neither was with the original kernel)


Problem 1: "Login Window" can be selected from the menu, but does not open any window.

Problem 2:

Code: Select all

sudo lightdm-settings
opens the corresponding window, but any settings set there, do not have any effect on the lightdm.

Especially, there is no user background, and no user list shown (as was before on my old system with Mint 20.2 !)
(Instead I have to enter user name and password)

Both /etc/lightdm/lightdm-gtk-greeter.conf as well as /etc/lightdm/slick-greeter.conf contain

Code: Select all

[Greeter]
draw-user-backgrounds=true
...
(slick-greeter.conf contained it originally, I added it to lightdm-gtk-greeter.conf, where a user-background=true was present)

Problem 3: During my investigation (and with a running dbus of course), I did a

Code: Select all

sudo lightdm --test-mode --debug

Code: Select all

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=22894
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/90-nvidia.conf
[+0.00s] DEBUG:   [SeatDefaults] is now called [Seat:*], please update this configuration
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/90-slick-greeter.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/flatpak/exports/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /root/.local/share/flatpak/exports/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.d/70-linuxmint.conf
[+0.00s] DEBUG:   [SeatDefaults] is now called [Seat:*], please update this configuration
[+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.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] WARNING: Seat type 'xlocal' is deprecated, use 'type=local' instead
[+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: Creating display server of type x
[+0.00s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.00s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+0.00s] DEBUG: XServer 1: Writing X server authority to /var/run/lightdm/root/:1
[+0.00s] DEBUG: XServer 1: Launching X Server
[+0.00s] DEBUG: Launching process 22900: /usr/bin/X -core :1 -seat seat0 -auth /var/run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
[+0.00s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+0.00s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?
Apparently, permissions are missing ...


Does anyone know how to fix these 3 issues?

PS

Code: Select all

dpkg-reconfigure lightdm
didn't help either.

Code: Select all

inxi -Fxz

Code: Select all

System:    Kernel: 5.13.0-21-generic x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.16.0 
           Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:   Type: Desktop System: ASUS product: N/A v: N/A serial: N/A 
           Mobo: ASUSTeK model: ROG STRIX B550-F GAMING v: Rev X.0x serial: <filter> 
           UEFI: American Megatrends v: 2423 date: 08/10/2021 
CPU:       Topology: 12-Core model: AMD Ryzen 9 5900X bits: 64 type: MT MCP arch: Zen 3 
           L2 cache: 6144 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
           bogomips: 177256 
           Speed: 2195 MHz min/max: 2200/3700 MHz Core speeds (MHz): 1: 2212 2: 2235 3: 2248 
           4: 2194 5: 2195 6: 2222 7: 2233 8: 2208 9: 2196 10: 2190 11: 2191 12: 2195 13: 2193 
           14: 2193 15: 2190 16: 2194 17: 2194 18: 2194 19: 2195 20: 2195 21: 2194 22: 2192 
           23: 2216 24: 2194 
Graphics:  Device-1: NVIDIA TU117 [GeForce GTX 1650] driver: nvidia v: 470.82.00 
           bus ID: 07:00.0 
           Display: server: X.Org 1.20.11 driver: nvidia resolution: 1920x1200~60Hz 
           OpenGL: renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2 v: 4.6.0 NVIDIA 470.82.00 
           direct render: Yes 
Audio:     Device-1: NVIDIA driver: snd_hda_intel v: kernel bus ID: 07:00.1 
           Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK driver: snd_hda_intel 
           v: kernel bus ID: 09:00.4 
           Device-3: Sennheiser Headset [PC 8] type: USB 
           driver: hid-generic,snd-usb-audio,usbhid bus ID: 3-1:2 
           Device-4: Creative Live! Cam Chat HD [VF0700] type: USB 
           driver: snd-usb-audio,uvcvideo bus ID: 1-9:4 
           Sound Server: ALSA v: k5.13.0-21-generic 
Network:   Device-1: Intel vendor: ASUSTeK driver: igc v: kernel port: N/A bus ID: 06:00.0 
           IF: enp6s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 8.19 TiB used: 396.75 GiB (4.7%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB 
           ID-2: /dev/sda vendor: Western Digital model: WD80EFBX-68AZZN0 size: 7.28 TiB 
           temp: 41 C 
Partition: ID-1: / size: 613.44 GiB used: 11.83 GiB (1.9%) fs: ext4 dev: /dev/nvme0n1p6 
           ID-2: /boot size: 1.88 GiB used: 323.3 MiB (16.8%) fs: ext2 dev: /dev/nvme0n1p5 
           ID-3: /home size: 2.82 TiB used: 377.50 GiB (13.1%) fs: ext4 dev: /dev/sda6 
           ID-4: /var size: 93.37 GiB used: 7.08 GiB (7.6%) fs: ext4 dev: /dev/sda5 
           ID-5: swap-1 size: 30.52 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda4 
Sensors:   System Temperatures: cpu: 39.1 C mobo: N/A gpu: nvidia temp: 51 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 0% 
Info:      Processes: 413 Uptime: 3h 46m Memory: 31.26 GiB used: 3.52 GiB (11.3%) 
           Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 inxi: 3.0.38 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
norseman
Level 1
Level 1
Posts: 20
Joined: Sat Jul 04, 2020 5:09 am

Re: lightdm and Login Window issues in newly installed 20.2

Post by norseman »

Problem 1 solved. It seems, pkexec didn't like my shell (/bin/ksh) ;)

Now that Login Window can be executed, it seems, it stored some values somewhere
(still dont understand, why sudo lightdm-settings did not), and the account 1001
(my daughter's account) is shown on the login screeen, and a field for manual login.

However, my account (uid 1000) is missing in that list and no user background image shown either.
norseman
Level 1
Level 1
Posts: 20
Joined: Sat Jul 04, 2020 5:09 am

Re: lightdm and Login Window issues in newly installed 20.2

Post by norseman »

For all those, who encounter the same problem.

It seems that Mint20.2 installs the initial user with

Code: Select all

SystemAccount=true
in /var/lib/AccountsService/username

After having changed that to false, my user appeared in the lightdm list.


Furthermore, PNG Files can be selected and displayed when logged in, but it seems,
lightdm doesn't know how to use them properly (converting the background image
of my daughter to .jpg helped)

Maybe someone is out there, who can explain the rationale for that, maybe a missing package?
Locked

Return to “Software & Applications”