Freezes at login when using X11 after installing Maliit Keyboard

I’m on Kubuntu 23.04.

System Info:
Operating System: Kubuntu 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.0-34-generic (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i9-13900H
Memory: 15.2 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: Vivobook_ASUSLaptop TP3604VA_TP3604VA
System Version: 1.0

I made the following changes to my system while using wayland:
Installed Waydroid.
Installed Weston.
Removed the virtual keyboard “OnBoard”.
Installed mallit virtual keyboard.

Now when I go to login to an X11 session. The PC freezes after I enter the password.

I saw the following in the logs:

-- Boot 84c4be59b70348b3acfb4a295c3748da --
Oct 15 20:04:12 laptop-txtechnician sddm[1207]: QProcess: Destroyed while process ("/usr/lib/x86_64-linux-gnu/sddm/sddm-helper") is still running.
Oct 15 20:04:12 laptop-txtechnician sddm[1207]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Oct 15 20:04:12 laptop-txtechnician sddm[1207]: Display server stopped.
Oct 15 20:04:11 laptop-txtechnician sddm[1207]: Display server stopping...
Oct 15 20:04:11 laptop-txtechnician sddm[1207]: Socket server stopped.
Oct 15 20:04:11 laptop-txtechnician sddm[1207]: Socket server stopping...
Oct 15 20:04:11 laptop-txtechnician sddm[1207]: Signal received: SIGTERM
Oct 15 20:04:11 laptop-txtechnician sddm[1207]: Greeter starting...
Oct 15 20:04:11 laptop-txtechnician sddm[1207]: Loading theme configuration from "/usr/share/sddm/themes/ubuntu-theme/theme.conf"
Oct 15 20:04:11 laptop-txtechnician sddm[1207]: Socket server started.
Oct 15 20:04:11 laptop-txtechnician sddm[1207]: Socket server starting...
Oct 15 20:04:11 laptop-txtechnician sddm[1207]: Display server started.
Oct 15 20:04:11 laptop-txtechnician sddm[1207]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
Oct 15 20:04:11 laptop-txtechnician sddm[1207]: Setting default cursor
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{7239388f-7990-481f-9d18-3bd0bcc65f59} -background none -noreset -displayfd 18 -seat seat0 vt1
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Adding cookie to "/var/run/sddm/{7239388f-7990-481f-9d18-3bd0bcc65f59}"
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Display server starting...
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Loading theme configuration from ""
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Adding new display on vt 1 ...
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Removing display ":0" ...
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Display server stopped.
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Display server stopping...
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Socket server stopped.
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Socket server stopping...
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Auth: sddm-helper exited with 15
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Authentication error: "Process crashed"
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Auth: sddm-helper crashed (exit code 15)
Oct 15 20:04:10 laptop-txtechnician sddm[1207]: Authentication error: "Process crashed"
Oct 15 20:03:34 laptop-txtechnician sddm[1207]: Session started
Oct 15 20:03:34 laptop-txtechnician sddm[1207]: Greeter stopped.
Oct 15 20:03:34 laptop-txtechnician sddm[1207]: Auth: sddm-helper exited successfully
Oct 15 20:03:34 laptop-txtechnician sddm[1207]: Authenticated successfully
Oct 15 20:03:34 laptop-txtechnician sddm[1207]: Session "/usr/share/xsessions/plasma.desktop" selected, command: "/usr/bin/startplasma-x11"
Oct 15 20:03:34 laptop-txtechnician sddm[1207]: Reading from "/usr/share/xsessions/plasma.desktop"
Oct 15 20:03:34 laptop-txtechnician sddm[1207]: Reading from "/usr/share/xsessions/plasma.desktop"
Oct 15 20:03:34 laptop-txtechnician sddm[1207]: Message received from greeter: Login
Oct 15 20:03:17 laptop-txtechnician sddm[1207]: Message received from greeter: Connect
Oct 15 20:03:17 laptop-txtechnician sddm[1207]: Greeter session started successfully
Oct 15 20:03:16 laptop-txtechnician sddm[1207]: Greeter starting...
Oct 15 20:03:16 laptop-txtechnician sddm[1207]: Loading theme configuration from "/usr/share/sddm/themes/ubuntu-theme/theme.conf"
Oct 15 20:03:16 laptop-txtechnician sddm[1207]: Socket server started.
Oct 15 20:03:16 laptop-txtechnician sddm[1207]: Socket server starting...
Oct 15 20:03:16 laptop-txtechnician sddm[1207]: Display server started.
Oct 15 20:03:16 laptop-txtechnician sddm[1207]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
Oct 15 20:03:16 laptop-txtechnician sddm[1207]: Setting default cursor
Oct 15 20:03:15 laptop-txtechnician sddm[1207]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{67c38df8-ba7d-4a0c-b9e5-2a9735a639b6} -background none -noreset -displayfd 17 -seat seat0 vt1
Oct 15 20:03:15 laptop-txtechnician sddm[1207]: Adding cookie to "/var/run/sddm/{67c38df8-ba7d-4a0c-b9e5-2a9735a639b6}"
Oct 15 20:03:15 laptop-txtechnician sddm[1207]: Display server starting...
Oct 15 20:03:15 laptop-txtechnician sddm[1207]: Loading theme configuration from ""
Oct 15 20:03:15 laptop-txtechnician sddm[1207]: Adding new display on vt 1 ...
Oct 15 20:03:15 laptop-txtechnician sddm[1207]: Logind interface found
Oct 15 20:03:15 laptop-txtechnician sddm[1207]: Starting...
Oct 15 20:03:15 laptop-txtechnician sddm[1207]: Initializing...
-- Boot 14315f9f1838442aa2a99476f71e5c6e --

How do I further troubleshoot this?

1 Like

The problem was the Maliit-Keyboard I installed. I installed from apt.

It caused the following x11 error to be reported:

Usage: /usr/bin/maliit-server [options]
Available options:
-help                         	Show usage information
-allow-anonymous              	Allow anonymous/unauthenticated use of DBus interface
-override-address             	Override the DBus peer-to-peer address for input-context
wordengine.cpp plugin "/usr/lib/x86_64-linux-gnu/maliit/keyboard2/languages/en/libenplugin.so" loaded
inputmethod_p.h registerActiveLanguage(): activeLanguage is: "en"
in inputMethod.cpp setActiveLanguage() activeLanguage is: "en"
DB path: /usr/lib/x86_64-linux-gnu/maliit/keyboard2/languages/en/database_en.db
spellechecker.cpp in setLanguage() lang= "en" dictPath= "/usr/share/hunspell"
spellechecker.cpp in setLanguage() aff_file= "/usr/share/hunspell/en_US.aff" dic_file= "/usr/share/hunspell/en_US.dic" user dictionary= "/home/txtechnician/.local/share/maliit-server/en_userDictionary.dic"
inputMethod::reset()
in clear preedit.. clearing word engine
keyboard is reporting <x y w h>: < 0 112 160 48 > to the app manager.
QSoundEffect(pulseaudio): Error decoding source file:///usr/share/maliit/keyboard2/sounds/key_tick2_quiet.wav
keyboard is reporting <x y w h>: < 0 1152 160 48 > to the app manager.
keyboard is reporting <x y w h>: < 0 732 160 468 > to the app manager.
keyboard is reporting <x y w h>: < 0 732 1920 468 > to the app manager.
Xsession: X session started for txtechnician at Wed Oct 18 11:25:09 AM CDT 2023
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/txtechnician/.Xauthority
localuser:txtechnician being added to access control list
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session3
dbus-update-activation-environment: setting GTK_IM_MODULE=meego-im
dbus-update-activation-environment: setting DESKTOP_SESSION=plasma
dbus-update-activation-environment: setting PWD=/home/txtechnician
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=KDE
dbus-update-activation-environment: setting LOGNAME=txtechnician
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting XAUTHORITY=/home/txtechnician/.Xauthority
dbus-update-activation-environment: setting HOME=/home/txtechnician
dbus-update-activation-environment: setting IM_CONFIG_PHASE=1
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=KDE
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting XDG_SESSION_CLASS=user
dbus-update-activation-environment: setting LIBVIRT_DEFAULT_URI=qemu:///system
dbus-update-activation-environment: setting USER=txtechnician
dbus-update-activation-environment: setting PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting SHLVL=0
dbus-update-activation-environment: setting MOZ_USE_XINPUT2=1
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 
dbus-update-activation-environment: setting GTK3_MODULES=xapp-gtk3-module
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/plasma:/home/txtechnician/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
dbus-update-activation-environment: setting PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
Invalid parameter '-bypass-wm-hint'

Removing Maliit resolved the problem.

I’ve reported the bug to apt: https://bugs.launchpad.net/ubuntu/+source/maliit-keyboard/+bug/2039721

2 Likes

Thank you, this fixed my problem also.