hplip-3-18.9 hp-setup Errors: BadAccess, Error: BadAccess,etc

Asked by tkbuntu on 2018-10-09

Ubuntu 18.04 fresh install.
dloaded hplip-3-18-9.
Ran sh hp-setup using Auto, selected the Profile option.
Got message 'Failed to load canberra.gtk.module'.
Ran sudo apt-get install libcanberra-gtk-module.
Rebooted (power off)
Ran sh hp-setup using Auto.
Got following messages:
X Error: BadAccess (attempt to access private resource denied) 10
  Extension: 130 (MIT-SHM)
  Minor opcode: 1 (X_ShmAttach)
  Resource id: 0x149
X Error: BadShmSeg (invalid shared segment parameter) 128
  Extension: 130 (MIT-SHM)
  Minor opcode: 5 (X_ShmCreatePixmap)
  Resource id: 0x2c00010
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id: 0x2c00011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id: 0x2c00011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id: 0x2c00011

If hp-setup had no errors I would select Wireless option to connect to an HP Color Laserjet Pro m252dw (works ok w 14.04)

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
srinivas
Solved:
2018-10-10
Last query:
2018-10-10
Last reply:
2018-10-10
Best srinivas (srinivas5) said : #1

Hi,

Did you install the "hplip-3.18.9.run" file. If not run "sh hplip-3.18.9.run". Then do "hp-setup" to add the device and not "sh hp-setup".
It should work. Let me know if you face any other issues.
Note : You can ignore the warning 'Failed to load canberra.gtk.module'.

Regards,
Srinivas Teja.

tkbuntu (kingaw1) said : #2

Hi Srinivas,

Yes, I had installed the "hplip-3.18.9.run" file, and had run "sh hplip-3.18.9.run".

When I ran "hp-setup", without the leading "sh" this time, the process worked without any issues.

I have successfully printed a page to the HP Color Laser Jet Pro m252dw.

Thank you for you assistance with this self inflicted issue.

Regards,
tk