Amarnath, please make HPLIP trying pkexec (it is part of PolicyKit) to
run programs as root. This is the standard program for this in Ubuntu
(and probably also in several other distributions).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/1209246

Title:
  HPLIP GUI doesn't handle authentication properly

Status in HP Linux Imaging and Printing:
  New
Status in “hplip” package in Ubuntu:
  New

Bug description:
  I installed hplip-gui hoping it would provide a graphical install
  process for a networked HP printer.

  Following through the install process for a networked printer, I found
  that the UI wasn't able to authenticate properly. Although the printer
  identity could be properly detected from its IP address, every time
  the hp-plugin install asked me for a password and the install failed,
  claiming it could not authenticate, even when I used the proper
  password for my account.

  My user account is an sudoer and is also a member of lpadmin.

  A workaround was to run... 
  sudo hp-setup
  ...which then caused the printer drivers to be installed properly, though it 
failed with a dbus error when setting up the printer as it was running within 
sudo. 

  I then proceeded to add the printer through the regular UI (which was
  also able to autodetect the printer from its IP address, and match the
  already auto-downloaded driver).

  Subsequent runs of the HPLip Toolbox from my regular user account were
  able to proceed to installing the printer.

  I think this is a simple issue of not properly negotiating the
  authentication of the user, either via a printer group, or possibly to
  cups. Given all the amazing work which has gone into HPlip-gui it
  seems a shame to fail with such a simple bug.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: hplip-gui 3.13.4-1build1
  ProcVersionSignature: Ubuntu 3.10.0-6.17-generic 3.10.3
  Uname: Linux 3.10.0-6-generic i686
  ApportVersion: 2.12-0ubuntu2
  Architecture: i386
  Date: Wed Aug  7 14:43:36 2013
  Lpstat: device for HP-LaserJet-400-colorMFP-M475dw: socket://148.88.141.83
  MachineType: Dell Inc. Inspiron N5110
  MarkForUpload: True
  PackageArchitecture: all
  Papersize: a4
  PpdFiles: HP-LaserJet-400-colorMFP-M475dw: HP LJ 300-400 color MFP M375-M475 
Postscript (recommended)
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.10.0-6-generic 
root=UUID=c9767810-263a-424a-80cd-714fd4a9afa1 ro quiet splash vt.handoff=7
  SourcePackage: hplip
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/03/2012
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A11
  dmi.board.name: 0HVRTT
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A11
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: Not Specified
  dmi.modalias: 
dmi:bvnDellInc.:bvrA11:bd08/03/2012:svnDellInc.:pnInspironN5110:pvrNotSpecified:rvnDellInc.:rn0HVRTT:rvrA11:cvnDellInc.:ct8:cvrNotSpecified:
  dmi.product.name: Inspiron N5110
  dmi.product.version: Not Specified
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1209246/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to