X2Go Bug report logs - #724
Scanning does not work over romote-desktop session with sane

version graph

Package: x2goserver-xsession; Maintainer for x2goserver-xsession is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver-xsession is src:x2goserver.

Reported by: Andreas Glaeser <bugs.andreas.glaeser@freenet.de>

Date: Thu, 8 Jan 2015 08:25:01 UTC

Severity: wishlist

Tags: not-a-bug, wontfix

Found in version 4.0.1.18-0x2go1+git20141006.949+wheezy.main.1

Full log


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 8 Jan 2015 08:21:50 +0000
From bugs.andreas.glaeser@freenet.de  Thu Jan  8 09:21:47 2015
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: *
X-Spam-Status: No, score=1.7 required=5.0 tests=BAYES_40,FREEMAIL_FROM,
	MIME_BASE64_TEXT,URIBL_BLOCKED autolearn=ham version=3.3.2
X-Greylist: delayed 855 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Thu, 08 Jan 2015 09:21:47 CET
Received: from mout1.freenet.de (mout1.freenet.de [195.4.92.91])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 334015DB53
	for <submit@bugs.x2go.org>; Thu,  8 Jan 2015 09:21:47 +0100 (CET)
Received: from [195.4.92.140] (helo=mjail0.freenet.de)
	by mout1.freenet.de with esmtpa (ID bugs.andreas.glaeser@freenet.de) (port 25) (Exim 4.82 #2)
	id 1Y987v-0000hC-T4
	for submit@bugs.x2go.org; Thu, 08 Jan 2015 09:07:31 +0100
Received: from localhost ([::1]:44378 helo=mjail0.freenet.de)
	by mjail0.freenet.de with esmtpa (ID bugs.andreas.glaeser@freenet.de) (Exim 4.82 #2)
	id 1Y987v-0000Vj-Od
	for submit@bugs.x2go.org; Thu, 08 Jan 2015 09:07:31 +0100
Received: from mx12.freenet.de ([195.4.92.22]:60139)
	by mjail0.freenet.de with esmtpa (ID bugs.andreas.glaeser@freenet.de) (Exim 4.82 #2)
	id 1Y985Q-0007jY-3o
	for submit@bugs.x2go.org; Thu, 08 Jan 2015 09:04:56 +0100
Received: from [2a02:8109:9ac0:2354:96de:80ff:fe06:5076] (port=59237 helo=md-ho.lokal)
	by mx12.freenet.de with esmtpsa (ID bugs.andreas.glaeser@freenet.de) (TLSv1.2:DHE-RSA-AES128-SHA:128) (port 587) (Exim 4.82 #2)
	id 1Y985P-00051S-SO
	for submit@bugs.x2go.org; Thu, 08 Jan 2015 09:04:56 +0100
Date: Thu, 8 Jan 2015 09:04:48 +0100
From: Andreas Glaeser <bugs.andreas.glaeser@freenet.de>
To: submit@bugs.x2go.org
Subject: Scanning does not work over romote-desktop session with sane
Message-ID: <20150108090448.57aa3510@md-ho.lokal>
X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: base64
X-Originated-At: 2a02:8109:9ac0:2354:96de:80ff:fe06:5076!59237
-----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@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@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-----

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 14:57:16 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.