Package: gsmartcontrol Version: 1.1.3-2 Severity: important Dear Maintainer,
* What led up to the situation? Fresh install of Debian 10 (debian-live-10.4.0-amd64-gnome.iso). Installed gsmartcontrol using the gui "Software" interface. * What exactly did you do (or not do) that was effective (or ineffective)? Used the dash to find and start gsmartcontrol. Entered password when prompted for elevated permissions by the gui interface. * What was the outcome of this action? Gsmartcontrol does not load. * What outcome did you expect instead? Gsmartcontrol loads correctly. * What extra things did you try? 1) Check user account elevated privelages work: Installed and verified that gparted runs fine with elevated privileges - so user account works fine. 2) Ran from cli and received some errors: :~$ gsmartcontrol-root No protocol specified Unable to init server: Could not connect: Connection refused (gsmartcontrol:4088): Gtk-WARNING **: 19:23:32.852: cannot open display: :0 3) Looked about for some similar problems and found references to privilege elevation issues with GUI programs requiring root access under Wayland. Wrote a script which loads gsmartcontrol through an xhost hack: #!/bin/bash xhost si:localuser:root gsmartcontrol-root xhost -si:localuser:root Which allows the program to load. I suspect something is wrong with the polkit config. -- System Information: Debian Release: 10.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-9-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages gsmartcontrol depends on: ii libatk1.0-0 2.30.0-2 ii libatkmm-1.6-1v5 2.28.0-2 ii libc6 2.28-10 ii libcairo-gobject2 1.16.0-4 ii libcairo2 1.16.0-4 ii libcairomm-1.0-1v5 1.12.2-4 ii libfribidi0 1.0.5-3.1+deb10u1 ii libgcc1 1:8.3.0-6 ii libgdk-pixbuf2.0-0 2.38.1+dfsg-1 ii libglib2.0-0 2.58.3-2+deb10u2 ii libglibmm-2.4-1v5 2.58.0-2 ii libgtk-3-0 3.24.5-1 ii libgtkmm-3.0-1v5 3.24.0-2 ii libpango-1.0-0 1.42.4-8~deb10u1 ii libpangocairo-1.0-0 1.42.4-8~deb10u1 ii libpangomm-1.4-1v5 2.42.0-2 ii libpcre3 2:8.39-12 ii libpcrecpp0v5 2:8.39-12 ii libsigc++-2.0-0v5 2.10.1-2 ii libstdc++6 8.3.0-6 ii smartmontools 6.6-1 gsmartcontrol recommends no packages. gsmartcontrol suggests no packages. -- no debconf information