Package: onboard
Version: 1.4.1-10
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
In trixie, configuring onboard to be used as the on-screen keyboard for
lightdm's greeter doesn't work. Lightdm attempts to start it, and a quick ps ax
shows it's running, but it doesn't show up on the login screen. This prevents
using it as a means to login. Which worked fine in bookworm.
In the greeter logs we see that onboard is throwing assertion errors about
screen sizes.
Theoretically, all one has to do to enable during login is set the keyboard
option in the /etc/lightdm/lightdm-gtk-greeter.conf file to "onboard -e". This
works under bookworm, but even specifying a full path (/usr/bin/onboard), and
even giving it absolute screen origin coordinates and a size (the -x / -y and
-s options respectively) fails to make it display with the errors still showing
up in the logs.
It should be noted that this bug only happens when using onboard on the login
screen. Onboard works just fine once the user is actually logged in and the
desired window manager (xfce in my case) is running.
Regards,
Patrick Hibbs
-- System Information:
Debian Release: 13.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.31-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages onboard depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.40.0-5
ii gir1.2-gdkpixbuf-2.0 2.42.12+dfsg-2
ii gir1.2-glib-2.0 2.84.2-1
ii gir1.2-gtk-3.0 3.24.49-3
ii gir1.2-pango-1.0 1.56.3-1
ii iso-codes 4.18.0-1
ii libc6 2.41-8
ii libcairo2 1.18.4-1+b1
ii libcanberra0 0.30-18
ii libdconf1 0.40.0-5
ii libgcc-s1 14.2.0-19
ii libglib2.0-0t64 2.84.2-1
ii libgtk-3-0t64 3.24.49-3
ii libhunspell-1.7-0 1.7.2+really1.7.2-10+b4
ii librsvg2-common 2.60.0+dfsg-1
ii libstdc++6 14.2.0-19
ii libudev1 257.6-1
ii libx11-6 2:1.8.12-1
ii libxi6 2:1.8.2-1
ii libxkbfile1 1:1.1.0-1+b4
ii libxtst6 2:1.2.5-1
ii onboard-common 1.4.1-10
ii python3 3.13.3-1
ii python3-cairo 1.27.0-2
ii python3-dbus 1.4.0-1
ii python3-gi-cairo 3.50.0-4+b1
Versions of packages onboard recommends:
ii gir1.2-atspi-2.0 2.56.2-1
ii gir1.2-ayatanaappindicator3-0.1 0.5.94-1
ii onboard-data 1.4.1-10
ii xdg-utils 1.2.1-2
Versions of packages onboard suggests:
pn mousetweaks <none>
-- no debconf information
# LightDM GTK Configuration
# Available configuration options listed below.
# Please list the configuration options that you want to use after [greeter]
without the # for example:
# [greeter]
# example-option=example-value
#
# Appearance:
# theme-name = GTK theme to use
# icon-theme-name = Icon theme to use
# cursor-theme-name = Cursor theme to use
# cursor-theme-size = Cursor size to use
# background = Background file to use, either an image path or a color (e.g.
#772953)
# user-background = false|true ("true" by default) Display user background
(if available)
# transition-duration = Length of time (in milliseconds) to transition between
background images ("500" by default)
# transition-type = ease-in-out|linear|none ("ease-in-out" by default)
#
# Fonts:
# font-name = Font to use
# xft-antialias = false|true Whether to antialias Xft fonts
# xft-dpi = Resolution for Xft in dots per inch (e.g. 96)
# xft-hintstyle = none|slight|medium|hintfull What degree of hinting to use
# xft-rgba = none|rgb|bgr|vrgb|vbgr Type of subpixel antialiasing
#
# Login window:
# active-monitor = Monitor to display greeter window (name or number). Use
#cursor value to display greeter at monitor with cursor. Can be a semicolon
separated list
# position = x y ("50% 50%" by default) Login window position
# default-user-image = Image used as default user icon, path or #icon-name
# hide-user-image = false|true ("false" by default)
# round-user-image = false|true ("true" by default)
# highlight-logged-user = false|true ("true" by default)
#
# Panel:
# panel-position = top|bottom ("top" by default)
# clock-format = strftime-format string, e.g. %H:%M
# indicators = semi-colon ";" separated list of allowed indicator modules.
Built-in indicators include "~a11y", "~language", "~session", "~power",
"~clock", "~host", "~spacer", "~layout". Unity indicators can be represented by
short name (e.g. "sound", "power"), service file name, or absolute path
# keyboard-layouts = semi-colon ";" separated list keyboard layouts to be
listed by the "~layout" indicator (empty by default which provides all
available layouts)
#
# Accessibility:
# a11y-states = states of accessibility features: "name" - save state on exit,
"-name" - disabled at start (default value for unlisted), "+name" - enabled at
start. Allowed names: contrast, font, keyboard, reader.
# keyboard = command to launch on-screen keyboard (e.g. "onboard")
# keyboard-position = x y[;width height] ("50%,center -0;50% 25%" by default)
Works only for "onboard"
# reader = command to launch screen reader (e.g. "orca")
# at-spi-enabled = false|true ("true" by default) Enables accessibility
at-spi-command if the greeter is built with it enabled
#
# Security:
# allow-debugging = false|true ("false" by default)
# screensaver-timeout = Timeout (in seconds) until the screen blanks when the
greeter is called as lockscreen
#
# Session:
# default-session = session manager to be started when none has been selected
by the user and no one is set as last used (unset by default)
#
# Template for per-monitor configuration:
# [monitor: name]
# background = overrides default value
# user-background = overrides default value
# laptop = false|true ("false" by default) Marks monitor as laptop display
# transition-duration = overrides default value
#
[greeter]
#background=
#user-background=
#theme-name=
#icon-theme-name=
#font-name=
#xft-antialias=
#xft-dpi=
#xft-hintstyle=
#xft-rgba=
#indicators=
#clock-format=
keyboard=/usr/bin/onboard -e -x 0 -y 0 -s 140x80
#reader=
#position=
#screensaver-timeout=
** Message: 08:05:40.312: Starting lightdm-gtk-greeter 2.0.9 (Apr 21 2024,
10:42:26)
** Message: 08:05:40.313: [Configuration] Reading file:
/usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_debian.conf
** Message: 08:05:40.313: [Configuration] Reading file:
/etc/lightdm/lightdm-gtk-greeter.conf
** (lightdm-gtk-greeter:2179): WARNING **: 08:05:40.578: [PIDs] Failed to
execute command: systemd
(lightdm-gtk-greeter:2179): GLib-GObject-CRITICAL **: 08:05:40.805:
g_object_set_data_full: assertion 'G_IS_OBJECT (object)' failed
(lightdm-gtk-greeter:2179): Gtk-WARNING **: 08:05:40.834: Drawing a gadget with
negative dimensions. Did you forget to allocate a size? (node menubar owner
GreeterMenuBar)
(lightdm-gtk-greeter:2179): Gtk-WARNING **: 08:05:50.260: Drawing a gadget with
negative dimensions. Did you forget to allocate a size? (node menubar owner
GreeterMenuBar)
(lightdm-gtk-greeter:2179): Gtk-WARNING **: 08:05:51.985: Drawing a gadget with
negative dimensions. Did you forget to allocate a size? (node menubar owner
GreeterMenuBar)
08:05:52.227 WARNING Config: mousetweaks GSettings schema not found,
mousetweaks integration disabled.
(onboard:2224): libayatana-appindicator-WARNING **: 08:05:52.377:
libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib
in newly written code.
(lightdm-gtk-greeter:2179): Gtk-WARNING **: 08:05:56.748: Drawing a gadget with
negative dimensions. Did you forget to allocate a size? (node menubar owner
GreeterMenuBar)
(lightdm-gtk-greeter:2179): Gtk-WARNING **: 08:05:58.194: Drawing a gadget with
negative dimensions. Did you forget to allocate a size? (node menubar owner
GreeterMenuBar)
(onboard:2224): Gtk-CRITICAL **: 08:06:00.257: gtk_widget_queue_draw_area:
assertion 'width >= 0' failed
(onboard:2224): Gtk-CRITICAL **: 08:06:00.296: gtk_widget_queue_draw_area:
assertion 'height >= 0' failed
(onboard:2224): Gtk-CRITICAL **: 08:06:00.632: gtk_widget_queue_draw_area:
assertion 'width >= 0' failed
(lightdm-gtk-greeter:2179): Gtk-WARNING **: 08:06:00.654: Drawing a gadget with
negative dimensions. Did you forget to allocate a size? (node menubar owner
GreeterMenuBar)
(onboard:2224): Gtk-CRITICAL **: 08:06:00.728: gtk_widget_queue_draw_area:
assertion 'height >= 0' failed
(onboard:2224): Gtk-CRITICAL **: 08:06:02.076: gtk_widget_queue_draw_area:
assertion 'width >= 0' failed
(onboard:2224): Gtk-CRITICAL **: 08:06:02.081: gtk_widget_queue_draw_area:
assertion 'height >= 0' failed
(onboard:2224): Gtk-CRITICAL **: 08:06:02.369: gtk_widget_queue_draw_area:
assertion 'width >= 0' failed
(onboard:2224): Gtk-CRITICAL **: 08:06:02.370: gtk_widget_queue_draw_area:
assertion 'height >= 0' failed
(lightdm-gtk-greeter:2179): Gtk-WARNING **: 08:08:01.510: Drawing a gadget with
negative dimensions. Did you forget to allocate a size? (node menubar owner
GreeterMenuBar)
** (lightdm-gtk-greeter:2179): WARNING **: 08:08:02.740: 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
(onboard:2224): Gtk-CRITICAL **: 08:08:04.624: gtk_widget_queue_draw_area:
assertion 'height >= 0' failed
(onboard:2224): Gtk-CRITICAL **: 08:08:05.370: gtk_widget_queue_draw_area:
assertion 'height >= 0' failed
(onboard:2224): Gtk-CRITICAL **: 08:08:08.784: gtk_widget_queue_draw_area:
assertion 'height >= 0' failed
(onboard:2224): Gtk-CRITICAL **: 08:08:09.752: gtk_widget_queue_draw_area:
assertion 'height >= 0' failed
(lightdm-gtk-greeter:2179): Gtk-WARNING **: 08:08:09.790: Drawing a gadget with
negative dimensions. Did you forget to allocate a size? (node menubar owner
GreeterMenuBar)
(lightdm-gtk-greeter:2179): Gtk-WARNING **: 08:08:09.822: Drawing a gadget with
negative dimensions. Did you forget to allocate a size? (node menubar owner
GreeterMenuBar)
(lightdm-gtk-greeter:2179): Gtk-WARNING **: 08:08:09.845: Drawing a gadget with
negative dimensions. Did you forget to allocate a size? (node menubar owner
GreeterMenuBar)
** (lightdm-gtk-greeter:2179): WARNING **: 08:08:09.888: [PIDs] Failed to
terminate process #2206: No such process