X2Go Bug report logs - #880
Fwd: Backslashes incorrectly escaped by desktopsharing

version graph

Package: x2godesktopsharing; Maintainer for x2godesktopsharing is X2Go Developers <x2go-dev@lists.x2go.org>;

Reported by: Diego Costantini <diego.costantini@gmail.com>

Date: Tue, 26 May 2015 11:10:01 UTC

Severity: normal

Found in version 3.1.1.2-0~170~ubuntu14.04.1

Full log


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

Received: (at submit) by bugs.x2go.org; 26 May 2015 11:06:18 +0000
From diego.costantini@gmail.com  Tue May 26 13:06:17 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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	HTML_MESSAGE,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 6F2C75DA86
	for <submit@bugs.x2go.org>; Tue, 26 May 2015 13:06:17 +0200 (CEST)
Received: by wghq2 with SMTP id q2so93665685wgh.1
        for <submit@bugs.x2go.org>; Tue, 26 May 2015 04:06:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=EHZYXR9SoONCKZu1XiwUHuF8thXbYU0Cxc/ZPbfmBVE=;
        b=jehTh+NN4zGt5FwfVzRwjC71GzeYd7GYS9FR+OyZRilEjwIoST9M/Mn8xkIhA8VscV
         E1EiTp8ThMlEb4PEHnZh/MH9lDtnGEcn/t0tmvbG9vF4pTQBpexc4Vhp/GfxX+rgIEfQ
         ZSQPPGrdyVLlNN7oMTvJ5UY/u3Jnl/NTVdf8epwWEnvuAJgnNATF13YCaH1JqMIoU93Z
         hNDgw78OoO1M/b1oIaeewGOTe3QgL8WYCUq8Zgy5oknQLWkt3PKAGAPvAqF88wUJFIB2
         cEfcXw1p+PR8jMh2NSMW+05e6RfLoB9iMAfc19Ljos94g0TVEtdimn+eoYyO28SgKh0h
         vF8A==
MIME-Version: 1.0
X-Received: by 10.194.157.168 with SMTP id wn8mr33269061wjb.79.1432638376916;
 Tue, 26 May 2015 04:06:16 -0700 (PDT)
Received: by 10.28.50.196 with HTTP; Tue, 26 May 2015 04:06:16 -0700 (PDT)
In-Reply-To: <CAKHWAcJcCed_kiVQaOKDV4aGKDjE9u58CygaKyfw6fi=73o7qw@mail.gmail.com>
References: <CAKHWAcJcCed_kiVQaOKDV4aGKDjE9u58CygaKyfw6fi=73o7qw@mail.gmail.com>
Date: Tue, 26 May 2015 13:06:16 +0200
Message-ID: <CAKHWAcJk0QyU7x79Mv9DvbJ-7+tP+kOncymPAX11TomeS5e1YA@mail.gmail.com>
Subject: Fwd: Backslashes incorrectly escaped by desktopsharing
From: Diego Costantini <diego.costantini@gmail.com>
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary=089e0122e9688c3b830516fa1d2d
[Message part 1 (text/plain, inline)]
Package: x2godesktopsharing
Version: 3.1.1.2-0~170~ubuntu14.04.1
On Mint 17.1 64-bit

dpkg -l |grep x2go
ii  python-ecdsa
0.11-1~bpo70+1~0x2go~ubuntu14.04.1                  all          ECDSA
cryptographic signature library (Python 2)
ii  python-paramiko
1.15.1-1~0x2go1~ubuntu14.04.1                       all          Make ssh
v2 connections with Python (Python 2)
ii  x2goagent
2:3.5.0.31-0~605~ubuntu14.04.1                      all          X2Go agent
ii  x2godesktopsharing
3.1.1.2-0~170~ubuntu14.04.1                         amd64        Share X11
desktops with other users via X2Go
ii  x2gomatebindings
0.0.1.3-0~160~ubuntu14.04.1                         amd64        X2Go MATE
bindings and MIME types
ii  x2goserver
4.0.1.19-0~1064~ubuntu14.04.1                       amd64        X2Go
server daemon scripts
ii  x2goserver-extensions
4.0.1.19-0~1064~ubuntu14.04.1                       all          X2Go
server daemon scripts (extensions)
ii  x2goserver-xsession
4.0.1.19-0~1064~ubuntu14.04.1                       all          X2Go
server daemon scripts (Xsession runner)

X2GoClient: 4.0.3.1 on Windows 7 64-bit

I am using my domain account to remotely connect to my desktop (MATE or
Cinnamon), and I can do it successfully only if I try with a local user,
without backslashes.
Otherwise on Windows client I get "access denied from user", which is
supposed to be fixed on my x2go installed version (according to
http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=704#45).

Clearly, from the logs at the bottom (server syslog), you can see that the
user connects correctly from the client, but then it parses incorrectly and
uses the wrong domain+name.
May 26 10:34:11 machineName /usr/bin/x2gostartagent: user
,,domain\username'' requests desktop sharing from user ,,domainusername''
for desktop ,,:0''
May 26 10:34:11 machineName /usr/bin/x2gostartagent: ERROR: user
domainusername denied desktop sharing session
May 26 10:34:11 machineName /usr/bin/x2gostartagent: ERROR: reason: for
desktop sharing denial the user ,,domainusername'' does not seem to have
desktop sharing activated

If I try to use domain\\username, which is a workaround on some SW, I get
the wrong username error.

Any more info needed?

Regards,

Diego
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Nov 24 00:10:51 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.