Bluetooth keyboard stops working in lightdm session
What Happened?
When using a Bluetooth keyboard, previously paired via Settings, the keyboard will disconnect upon next login attempt (after starting up the computer), or when trying to login after screen lock. Any attempt to reconnect, either via the keyboard or via the Bluetooth indicator will fail.
Journal says:
okt 08 15:00:00 aerisbase bluetoothd[939]: Authentication attempt without agent
okt 08 15:00:00 aerisbase bluetoothd[939]: profiles/input/server.c:auth_callback() Access denied: org.bluez.Error.Rejected
(Repeats several times)
I tried to connect the keyboard via USB (to somehow get inside), the system did see the (new) keyboard:
okt 08 15:00:40 aerisbase kernel: usb 1-9.2: new full-speed USB device number 21 using xhci_hcd
okt 08 15:00:40 aerisbase kernel: usb 1-9.2: New USB device found, idVendor=3434, idProduct=02e0, bcdDevice= 1.00
okt 08 15:00:41 aerisbase kernel: usb 1-9.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
okt 08 15:00:41 aerisbase kernel: usb 1-9.2: Product: Keychron K14 Pro
okt 08 15:00:41 aerisbase kernel: usb 1-9.2: Manufacturer: Keychron
okt 08 15:00:41 aerisbase kernel: input: Keychron Keychron K14 Pro as /devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9.2/1-9.2:1.0/0003:3434:02E0.001B/input/input52
But: lightdm became frozen and after a coffee break did start to behave normally (I was able to login). I am not sure if it is related, but journal displayed around hundred lines of
okt 08 15:03:11 aerisbase pulseaudio[200838]: Warning! Too many connections (64), dropping incoming connection.
Followed by:
okt 08 15:03:16 aerisbase lightdm[201025]: gkr-pam: unable to locate daemon control file
okt 08 15:03:16 aerisbase lightdm[201025]: gkr-pam: stashed password to try later in open session
okt 08 15:03:17 aerisbase kernel: rfkill: input handler disabled
okt 08 15:03:17 aerisbase systemd[1]: Stopping session-c6.scope - Session c6 of User lightdm...
okt 08 15:03:17 aerisbase lightdm[200819]: pam_unix(lightdm-greeter:session): session closed for user lightdm
okt 08 15:03:17 aerisbase rtkit-daemon[1306]: Successfully made thread 1897 of process 1871 owned by '1000' high priority at nice level 0.
okt 08 15:03:17 aerisbase rtkit-daemon[1306]: Supervising 14 threads of 6 processes of 2 users.
okt 08 15:03:17 aerisbase rtkit-daemon[1306]: Supervising 13 threads of 5 processes of 2 users.
okt 08 15:03:17 aerisbase rtkit-daemon[1306]: Successfully made thread 203941 of process 1647 owned by '1000' RT at priority 5.
okt 08 15:03:17 aerisbase rtkit-daemon[1306]: Supervising 14 threads of 5 processes of 2 users.
okt 08 15:03:17 aerisbase systemd[1]: session-c6.scope: Deactivated successfully.
okt 08 15:03:17 aerisbase systemd[1]: Stopped session-c6.scope - Session c6 of User lightdm.
okt 08 15:03:17 aerisbase systemd[1]: session-c6.scope: Consumed 3.959s CPU time.
okt 08 15:03:17 aerisbase systemd-logind[969]: Removed session c6.
okt 08 15:03:17 aerisbase bluetoothd[939]: Endpoint unregistered: sender=:1.782 path=/MediaEndpoint/A2DPSource/ldac_hq
The last line is repeated around 15 times.
Steps to Reproduce
- Pair a Bluetooth keyboard with the system.
- Lock the screen (e.g. using Meta-L).
- Try to unlock the session…
Expected Behavior
You should be able to type in the password, but nothing will happen.
OS Version
OS 8.0 (Early Access)
Session Type
Secure Session (Wayland)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
Intel Core i5-11400 32 GB RAM 1 TB NVME (root drive with eOS only) + 2 other drives (data) Keychron K14 Pro Elementary OS 8 (RC)