[X2Go-Dev] Bug#724: Scanning does not work over romote-desktop session with sane

Andreas Glaeser bugs.andreas.glaeser at freenet.de
Thu Jan 8 09:04:48 CET 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: x2goserver-xsession 
Version: 4.0.1.18-0x2go1+git20141006.949+wheezy.main.1

simple-scan does not work over x2go-remote-desktop session.
See there: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761398

It is most probably a problem with user-rights and and with the sane-backend.
When trying to scan, it looks like this on the terminal:

andreas at md-ho:~$ simple-scan
p11-kit: invalid config filename, will be ignored in the
future: /etc/pkcs11/modules/gnome-keyring-module

** (simple-scan:23088): WARNING **: scanner.vala:801: Unable to get open device: Access
to resource has been denied

xsane says: 'Failed to open device 'pixma:04A9172B': Access to resource has been dnied.

But scanning works, when there is a local session running on the machine (i.e. the
remote-desktop server) from the same user.

Normally this is no problem at all for thin-clients, because they do not have a scanner
connected to the desktop-server. But in my case it is a problem. I also do acknowledge
that not many people do have this problem, so it is severity 3 only.

Please let me know, if I should rather report this against the sane-backend.

There is the original report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774830

> Package: x2goserver-xsession             
> New: yes
> State: installed
> Automatically installed: no
> Version: 4.0.1.18-0x2go1+git20141006.949+wheezy.main.1
> Priority: optional
> Section: x11
> Maintainer: X2Go Developers <x2go-dev at lists.berlios.de>
> Architecture: all
> Uncompressed Size: 80.9 k
> Depends: x2goserver (>= 4.0.1.18-0x2go1+git20141006.949+wheezy.main.1), x2goserver (<
>          4.0.1.18-0x2go1+git20141006.949+wheezy.main.1.1~), x11-common
> Description: X2Go server daemon scripts (Xsession runner)
>  X2Go is a server based computing environment with 
>  * session resuming 
>  * low bandwidth support 
>  * session brokerage support 
>  * client-side mass storage mounting support 
>  * client-side printing support 
>  * audio support 
>  * authentication by smartcard and USB stick 
>    
>  This X2Go server add-on enables Xsession script handling when starting desktop sessions
>  with X2Go. 
>  
>  Amongst others the parsing of Xsession scripts will enable desktop-profiles, ssh-agent
>  startups, gpgagent startups and many more Xsession related features on X2Go session
>  login automagically.
> Homepage: http://code.x2go.org/releases/source/x2goserver

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlSuOiYACgkQ5+rBHyUt5ws2oQCfbC3nWqki3BH+FKhFE3Y/yghd
iP8AoLZ/tYtHi9le4qdCyBL0uImlpwGa
=G2w8
-----END PGP SIGNATURE-----


More information about the x2go-dev mailing list