扫描仪仅供单个用户使用,其余用户无法使用

扫描仪仅供单个用户使用,其余用户无法使用

我在允许所有用户使用通过 wifi 连接的扫描仪 (HP deskjet 2632) 时遇到了问题。其中一个管理员用户可以毫无问题地使用它。但其他两个无法使用它,甚至无法将其放入另一个管理员用户的终端中。sudo xsane在这种情况下,我可以扫描终端的消息:

(xsane:2552): Gdk-CRITICAL **: 12:36:22.490: IA__gdk_drawable_unref: assertion 'GDK_IS_DRAWABLE (drawable)' failed
(xsane:2552): Gdk-CRITICAL **: 12:36:22.490: IA__gdk_drawable_unref: assertion 'GDK_IS_DRAWABLE (drawable)' failed
Capability : [(null)]
Capability : [image/jpeg]
Capability : [image/jpeg]
[xsane] ERROR: xsane-startimage not found. Looks like xsane is not installed correct.

xsane它响应命令

(xsane:2651): Gdk-CRITICAL **: 12:42:48.511: IA__gdk_drawable_unref: assertion 'GDK_IS_DRAWABLE (drawable)' failed
(xsane:2651): Gdk-CRITICAL **: 12:42:48.511: IA__gdk_drawable_unref: assertion 'GDK_IS_DRAWABLE (drawable)' failed
Capability : [(null)]
Capability : [image/jpeg]
Capability : [image/jpeg]
[xsane] ERROR: xsane-startimage not found. Looks like xsane is not installed correct.
double free or corruption (out)
Abortado (`core' generado).

我安装的程序是:Ubuntu 20.04、snap hplip-printer-application 0.0.2 和 xsane 0.999-8ubuntu2。

执行以下命令后:

sudo mkdir -p /usr/share/sane/xsane
sudo ln -t /usr/share/sane/xsane /usr/share/doc/xsane-common/*.pnm /usr/share/doc/xsane-common/*.rc /usr/share/doc/xsane-common/*.xpm

我可以看到预览窗口,但是它没有扫描。Xsane现在说:

Capability : [(null)]
Capability : [image/jpeg]
Capability : [image/jpeg]
double free or corruption (out)
Abortado (`core' generado)

我认为这是一个权限问题,因为用户使用它没有问题,任何建议都值得赞赏。

相关内容