Bug#856554: hplip: hp-systray does not stop on logout
Package: hplip
Version: 3.16.11+repack0-2
Severity: normal
Dear Maintainer,
hp-systray is startet via /etc/xdg/autostart/hplip-systray.desktop on
graphical login.
When i logout from gnome or openbox-session, the process hp-systray is
still alive and prevents the logind-session to be closed.
systemd status session-NN.scope shows me the running hp-systray-process.
I removed the *.desktop from /etc/xdg/autostart, logged out, in and out again, and the session now is closing immediately.
The same Problem is with zeitgeist-datahub. But this programm could be startet via systemd-unit in /etc/systemd/user/default.target.wants/.... this is not good for this hp-systray, because it needs a graphical systray.
I cannot check now, if this also happens, when my hp-printer is available. But this systray should stop wheter a printer is plugged in or not, on logout.
Regards
Jakob
-- Package-specific info:
Saving output in log file: /home/jakob/hp-check.log
HP Linux Imaging and Printing System (ver. 3.16.11)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to
successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).
Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION
Status Types:
OK
MISSING - Missing Dependency or Permission or Plug-in
INCOMPAT - Incompatible dependency-version or Plugin-version
warning: 2-9.0 version is not supported. Using 2-8.6 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 4.10.0-rc6-amd64 #1 SMP Debian 4.10~rc6-1~exp2 (2017-02-02) GNU/Linux
Host: aldebaran
Proc: 4.10.0-rc6-amd64 #1 SMP Debian 4.10~rc6-1~exp2 (2017-02-02) GNU/Linux
Distribution: 2 9.0
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.16.11
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 2 distro 9.0 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.16.11
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.16.11
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.16.5
Current contents of '~/.hplip/hplip.conf' file:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%
[fax]
email_address =
voice_phone =
[last_used]
device_uri = "hp:/usb/HP_LaserJet_Professional_P1102w?serial=000000000Q930ZRXSI1c"
printer_name =
working_dir = .
[polling]
device_list =
enable = false
interval = 5
[refresh]
enable = false
rate = 30
type = 1
[settings]
systray_messages = 0
systray_visible = 1
[upgrade]
last_upgraded_time = 1487923782
notify_upgrade = false
pending_upgrade_time = 0
[installation]
date_time = 03/02/17 12:48:18
version = 3.16.11
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
--------------
| COMPILEDEP |
--------------
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 6.3.0 OK -
----------------------
| Scan Configuration |
----------------------
'/etc/sane.d/dll.d/hpaio' not found.
hpaio HPLIP-SANE-Backend REQUIRED - 3.16.11 OK 'hpaio found in /etc/sane.d/dll.conf'
scanext Scan-SANE-Extension REQUIRED - 3.16.11 OK -
---------------------
| Python Extentions |
---------------------
hpmudext IO-Extension REQUIRED - 3.16.11 OK -
cupsext CUPS-Extension REQUIRED - 3.16.11 OK -
------------------------
| General Dependencies |
------------------------
sane SANE - Scanning library REQUIRED - - OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.1 OK -
python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.4 OK -
python3-xml Python XML libraries REQUIRED - 2.2.0 OK -
cups-ddk CUPS DDK - CUPS driver development kit OPTIONAL - - OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.5.3 OK -
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.4 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.24' OK -
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
python3-devel Python devel - Python development files REQUIRED 2.2 3.5.3 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.0 OK -
libjpeg libjpeg - JPEG library REQUIRED - - OK -
sane-devel SANE - Scanning library development files REQUIRED - - OK -
python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.11.4 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.2.1 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.3.0 OK -
-------------------------
| External Dependencies |
-------------------------
error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
network network -wget OPTIONAL - 1.18 OK -
dbus DBus - Message bus system REQUIRED - 1.10.16 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.32 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.20 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.1 OK 'CUPS Scheduler is running'
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
No Scanner found.
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP-Color-LaserJet-MFP-M277dw
----------------------------
Type: Unknown
Device URI: dnssd://HP%20Color%20LaserJet%20MFP%20M277dw%20(4FC3C7)._ipp._tcp.local/?uuid=564e4238-4844-4b42-4b50-fc3fdb4fc3c7
PPD: /etc/cups/ppd/HP-Color-LaserJet-MFP-M277dw.ppd
warning: Failed to read /etc/cups/ppd/HP-Color-LaserJet-MFP-M277dw.ppd ppd file
PPD Description:
Printer status: printer HP-Color-LaserJet-MFP-M277dw is idle. enabled since Tue Jan 24 08:59:17 2017
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
HP-LaserJet-Professional-P1102w
-------------------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_Professional_P1102w?serial=000000000Q930ZRXSI1c
PPD: /etc/cups/ppd/HP-LaserJet-Professional-P1102w.ppd
warning: Failed to read /etc/cups/ppd/HP-LaserJet-Professional-P1102w.ppd ppd file
PPD Description:
Printer status: printer HP-LaserJet-Professional-P1102w disabled since Wed Feb 8 10:47:23 2017 -
Unplugged or turned off
warning: plug-in status: Version mismatch
[31;01merror: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_Professional_P1102w?serial=000000000Q930ZRXSI1c[0m
error: Device not found
error: Communication status: Failed
MP-C3003
--------
Type: Unknown
Device URI: socket://192.168.11.10
PPD: /etc/cups/ppd/MP-C3003.ppd
warning: Failed to read /etc/cups/ppd/MP-C3003.ppd ppd file
PPD Description:
Printer status: printer MP-C3003 is idle. enabled since Mon Jan 23 16:32:59 2017
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
Ricoh-Aficio-SP-204SNF
----------------------
Type: Unknown
Device URI: socket://192.168.0.50:9100
PPD: /etc/cups/ppd/Ricoh-Aficio-SP-204SNF.ppd
warning: Failed to read /etc/cups/ppd/Ricoh-Aficio-SP-204SNF.ppd ppd file
PPD Description:
Printer status: printer Ricoh-Aficio-SP-204SNF is idle. enabled since Mon Feb 27 22:26:27 2017
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
RICOH_204SNF
------------
Type: Unknown
Device URI: ///dev/null
RICOH_Aficio_MP_C2050
---------------------
Type: Unknown
Device URI: socket://192.168.149.145
PPD: /etc/cups/ppd/RICOH_Aficio_MP_C2050.ppd
warning: Failed to read /etc/cups/ppd/RICOH_Aficio_MP_C2050.ppd ppd file
PPD Description:
Printer status: printer RICOH_Aficio_MP_C2050 is idle. enabled since Wed Feb 8 15:29:45 2017
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
RICOH_SP_204SFN_RAW
-------------------
Type: Unknown
Device URI: socket://192.168.0.50
--------------
| PERMISSION |
--------------
-----------
| SUMMARY |
-----------
Missing Required Dependencies
-----------------------------
None
Missing Optional Dependencies
-----------------------------
error: 'xsane' package is missing/incompatible
Plug-in Status
--------------
error: Plug-ins need to be installed
Total Errors: 2
Total Warnings: 5
Done.
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (990, 'testing'), (800, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.10.0-rc6-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages hplip depends on:
ii adduser 3.115
ii coreutils 8.26-2
ii cups 2.2.1-8
ii hplip-data 3.16.11+repack0-2
ii libc6 2.24-9
ii libcups2 2.2.1-8
ii libdbus-1-3 1.10.16-1
ii libhpmud0 3.16.11+repack0-2
ii libsane 1.0.25-3
ii libsane-hpaio 3.16.11+repack0-2
ii libsnmp30 5.7.3+dfsg-1.7
ii libusb-1.0-0 2:1.0.21-1
ii lsb-base 9.20161125
ii policykit-1 0.105-17
ii printer-driver-hpcups 3.16.11+repack0-2
ii python3 3.5.3-1
ii python3-dbus 1.2.4-1
ii python3-gi 3.22.0-2
ii python3-pexpect 4.2.1-1
ii python3-pil 4.0.0-4
ii python3-reportlab 3.3.0-1
ii wget 1.18-4
Versions of packages hplip recommends:
ii avahi-daemon 0.6.32-2
ii printer-driver-postscript-hp 3.16.11+repack0-2
ii sane-utils 1.0.25-3
Versions of packages hplip suggests:
pn hplip-doc <none>
ii hplip-gui 3.16.11+repack0-2
ii python3-notify2 0.3-3
ii system-config-printer 1.5.7-2
-- no debconf information
Reply to: