error: dBus initialization errorr. Exiting.

Asked by Patrick

I installed my Officejet 4500 with hpsetup -i and it's fine running now.
but i can't get hp-toolbox running as root : error: dBus initialization errorr. Exiting.
I googled one full day wihtout any solution for me so any help would be great.

Slackware version 13.1, kernel 2.6.35.10.

hp-check -t :

hp-check[4791]: info: :
Initializing. Please wait...
le programmateur s'éxécute ( programm running)

1.4.4

Linux megatron 2.6.35.10 #2 SMP Sun Aug 22 11:58:43 CEST 2010 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5400+ AuthenticAMD GNU/Linux

hp-check[4791]: info: :
hp-check[4791]: info: :---------------
hp-check[4791]: info: :| SYSTEM INFO |
hp-check[4791]: info: :---------------
hp-check[4791]: info: :
hp-check[4791]: info: :Basic system information:
hp-check[4791]: info: :Linux megatron 2.6.35.10 #2 SMP Sun Aug 22 11:58:43 CEST 2010 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5400+ AuthenticAMD GNU/Linux
hp-check[4791]: info: :
hp-check[4791]: info: :Distribution:
hp-check[4791]: info: :unknown 0.0
hp-check[4791]: info: :
hp-check[4791]: info: :Checking Python version...
hp-check[4791]: info: :OK, version 2.6.4 installed
hp-check[4791]: info: :
hp-check[4791]: info: :Checking PyQt 4.x version...
hp-check[4791]: info: :OK, version 4.7.3 installed.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for CUPS...
hp-check[4791]: info: :Status: programmrunning
hp-check[4791]: info: :Version: 1.4.4
hp-check[4791]: info: :error_log is set to level: warn
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dbus/python-dbus...
hp-check[4791]: info: :dbus daemon is running.
hp-check[4791]: info: :python-dbus version: 0.83.1
hp-check[4791]: info: :
hp-check[4791]: info: :
hp-check[4791]: info: :------------------------------------
hp-check[4791]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[4791]: info: :------------------------------------
hp-check[4791]: info: :
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: CUPS devel- Common Unix Printing System development files...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: CUPS image - CUPS image development files...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: DBus - Message bus system...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: libtool - Library building support services...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: libusb - USB library...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: PolicyKit - Administrative policy framework...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: Python devel - Python development files...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: Python XML libraries...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: SANE - Scanning library...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :
hp-check[4791]: info: :----------------------
hp-check[4791]: info: :| HPLIP INSTALLATION |
hp-check[4791]: info: :----------------------
hp-check[4791]: info: :
hp-check[4791]: info: :
hp-check[4791]: info: :Currently installed HPLIP version...
hp-check[4791]: info: :HPLIP 3.10.6 currently installed in '/usr/share/hplip'.
hp-check[4791]: info: :
hp-check[4791]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[4791]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.10.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/HP
ppdbase=/usr/share/cups/model
doc=/usr/doc/hplip-3.10.6
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=yes
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=yes
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.6.15
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
hpcups-only-build=no
hpijs-only-build=no

hp-check[4791]: info: :
hp-check[4791]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[4791]: info: :[plugin]
eula = 1
installed = 1

hp-check[4791]: info: :
hp-check[4791]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[4791]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.10.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/HP
ppdbase=/usr/share/cups/model
doc=/usr/doc/hplip-3.10.6
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=yes
hpijs-install=yes
foomatic-drv-install=yes2.6.35.10
foomatic-ppd-install=no
foomatic-rip-hplip-install=yes
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.6.15
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
hpcups-only-build=no
hpijs-only-build=no

hp-check[4791]: info: :2.6.35.10
hp-check[4791]: info: :--------------------------
hp-check[4791]: info: :| DISCOVERED USB DEVICES |
hp-check[4791]: info: :--------------------------
hp-check[4791]: info: :
hp-check[4791]: info: :No devices found.
hp-check[4791]: info: :
hp-check[4791]: info: :---------------------------------
hp-check[4791]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[4791]: info: :---------------------------------
hp-check[4791]: info: :
hp-check[4791]: info: :
hp-check[4791]: info: :Officejet_4500_FAXÂ
hp-check[4791]: info: :--------------------
hp-check[4791]: info: :Type: Fax
hp-check[4791]: info: :Device URI: hpfax:/net/Officejet_4500_G510g-m?ip=192.168.0.250
hp-check[4791]: info: :Communication status: Good
hp-check[4791]: info: :
hp-check[4791]: info: :Officejet_4500_G510g-
hp-check[4791]: info: :------------------------
hp-check[4791]: info: :Type: Printer
hp-check[4791]: info: :Device URI: hp:/net/Officejet_4500_G510g-m?ip=192.168.0.250
hp-check[4791]: info: :Communication status: Good
hp-check[4791]: info: :
hp-check[4791]: info: :
hp-check[4791]: info: :----------------------
hp-check[4791]: info: :| SANE CONFIGURATION |
hp-check[4791]: info: :----------------------
hp-check[4791]: info: :
hp-check[4791]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[4791]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking output of 'scanimage -L'...
hp-check[4791]: info: :device `hpaio:/net/Officejet_4500_G510g-m?ip=192.168.0.250' is a Hewlett-Packard Officejet_4500_G510g-m all-in-one

hp-check[4791]: info: :
hp-check[4791]: info: :---------------------
hp-check[4791]: info: :| PYTHON EXTENSIONS |
hp-check[4791]: info: :---------------------
hp-check[4791]: info: :
hp-check[4791]: info: :Checking 'cupsext' CUPS extension...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking 'pcardext' Photocard extension...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking 'hpmudext' I/O extension...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :Checking 'scanext' SANE scanning extension...
hp-check[4791]: info: :OK, found.
hp-check[4791]: info: :
hp-check[4791]: info: :
hp-check[4791]: info: :
hp-check[4791]: info: :---------------
hp-check[4791]: info: :| USER GROUPS |
hp-check[4791]: info: :---------------
hp-check[4791]: info: :
hp-check[4791]: info: :root bin daemon sys adm disk lp wheel floppy audio video cdrom scanner

hp-check[4791]: info: :
hp-check[4791]: info: :-----------
hp-check[4791]: info: :| SUMMARY |
hp-check[4791]: info: :-----------
hp-check[4791]: info: :
hp-check[4791]: info: :No errors or warnings.
hp-check[4791]: info: :
hp-check[4791]: info: :Done.

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Naga Samrat Chowdary, Narla (samrat-hplip) said :
#1

This is expected behavior.

Thanks,
Naga Samrat Chowdary, Narla

Revision history for this message
Patrick (patrick-mompach) said :
#2

 Le 04/09/2010 16:37, Naga Samrat Chowdary, Narla a écrit :
> Your question #124093 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/124093
>
> Status: Open => Answered
>
> Naga Samrat Chowdary, Narla proposed the following answer:
> This is expected behavior.
>
> Thanks,
> Naga Samrat Chowdary, Narla
>
Hi,

As i understand, being root for admin reason don't allow me to use HP
toolbox ?

Really ?

Revision history for this message
Naga Samrat Chowdary, Narla (samrat-hplip) said :
#3

hp-toolbox runs only as normal user, it will prompt you for root password, if the operation we performing require root privilege.

Thanks,
Naga Samrat Chowdary, Narla

Revision history for this message
Patrick (patrick-mompach) said :
#4

 Le 05/09/2010 08:02, Naga Samrat Chowdary, Narla a écrit :
> Your question #124093 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/124093
>
> Status: Open => Answered
>
> Naga Samrat Chowdary, Narla proposed the following answer:
> hp-toolbox runs only as normal user, it will prompt you for root
> password, if the operation we performing require root privilege.
>
> Thanks,
> Naga Samrat Chowdary, Narla
>
Is it a security reason other than being root ?

Revision history for this message
Naga Samrat Chowdary, Narla (samrat-hplip) said :
#5

You can run hp-toolbox as root, but you are required to disable dbus in HPLIP.
you can disable D-Bus with ./configure --prefix=/usr --disable-dbus-build

Thanks,
Naga Samrat Chowdary, Narla

Revision history for this message
Naga Samrat Chowdary, Narla (samrat-hplip) said :
#6

Currently, we are allowing user to run hp-toolbox as root by default only in RHEL RPM Packages which are available at www.hplipopensource.com.

Thanks,
Naga Samrat Chowdary, Narla

Revision history for this message
Patrick (patrick-mompach) said :
#7

 Le 07/09/2010 09:25, Naga Samrat Chowdary, Narla a écrit :
> Your question #124093 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/124093
>
> Naga Samrat Chowdary, Narla proposed the following answer:
> Currently, we are allowing user to run hp-toolbox as root by default
> only in RHEL RPM Packages which are available at
> www.hplipopensource.com.
>
> Thanks,
> Naga Samrat Chowdary, Narla
>
Hi,

Why dont you have something like --enable-root as parameter for
./configure ?

disabling dbus remove some informations back for the printer as far as i
remember.

Thanks,

Patrick

Revision history for this message
Launchpad Janitor (janitor) said :
#8

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Patrick (patrick-mompach) said :
#9

 Le 24/09/2010 13:17, Launchpad Janitor a écrit :
> Your question #124093 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/124093
>
> Status: Open => Expired
>
> Launchpad Janitor expired the question:
> This question was expired because it remained in the 'Open' state
> without activity for the last 15 days.
>
? ? ?

Revision history for this message
Launchpad Janitor (janitor) said :
#10

This question was expired because it remained in the 'Open' state without activity for the last 15 days.