X2Go Bug report logs - #868
"connection failed" "pscp" error with folder sharing

version graph

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

Reported by: Michael DePaulo <mikedep333@gmail.com>

Date: Sun, 10 May 2015 18:05:02 UTC

Severity: normal

Tags: build-win32, pending

Found in version 4.0.3.2

Fixed in version 4.0.4.0

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#868: "connection failed" "pscp" error with folder sharing
Reply-To: Michael DePaulo <mikedep333@gmail.com>, 868@bugs.x2go.org
Resent-From: Michael DePaulo <mikedep333@gmail.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Sun, 10 May 2015 18:05:02 +0000
Resent-Message-ID: <handler.868.B.143128095527592@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 868
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: build-win32
Received: via spool by submit@bugs.x2go.org id=B.143128095527592
          (code B); Sun, 10 May 2015 18:05:02 +0000
Received: (at submit) by bugs.x2go.org; 10 May 2015 18:02:35 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
	T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id E0CB25DA80
	for <submit@bugs.x2go.org>; Sun, 10 May 2015 20:02:32 +0200 (CEST)
Received: by lbbuc2 with SMTP id uc2so80628725lbb.2
        for <submit@bugs.x2go.org>; Sun, 10 May 2015 11:02:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:date:message-id:subject:from:to:content-type;
        bh=3ZDusrPDzqSiFCa6j7fj2/2eRoR5vs0w9BZsJCQsiA0=;
        b=EWqG/O25GNk9kR58qyeTlQIjVemfhMQPQt2VWu1d0EIN+sSQt11tgNorSZ2UQi0D3Q
         Ms4IYJN4vvYaWrahXyw6QKmStr8+p4w7rUpfYPr6a9ZuiHTFWqeagCse/zVWMMPAp6mh
         aGirl0r7CQ4bwG7qIRQ8J2Cr1JJGPDtkoQuANCe2/LWOiVusB/w8M1lX/ARpwS0Y5/Hc
         dDrBC55601CHEpfXsaAIvDQ2Sd/Q70lQ2mwW0vx12M3Z8D4kJOPcp8eDBRMY2Jct4Fcc
         DXQs0qOdTZWJuWNueG1ARSXIWYqJHJyrvf/p4N4B3MkX9ajZ/HMFR1RJTZ3QLWfLw48Q
         H+Jg==
MIME-Version: 1.0
X-Received: by 10.112.168.165 with SMTP id zx5mr5295907lbb.111.1431280951996;
 Sun, 10 May 2015 11:02:31 -0700 (PDT)
Received: by 10.152.23.10 with HTTP; Sun, 10 May 2015 11:02:31 -0700 (PDT)
Date: Sun, 10 May 2015 14:02:31 -0400
Message-ID: <CAMKht8gjHSGSq7AEw=k=O06CB9qkHa3wtmeTF=619bTRpigEyQ@mail.gmail.com>
From: Michael DePaulo <mikedep333@gmail.com>
To: "submit@bugs.x2go.org" <submit@bugs.x2go.org>
Content-Type: text/plain; charset=UTF-8
Package: x2goclient
Version: 4.0.3.2
Tags: build-win32

When the following conditions are met:
1. You are using X2Go Client for Windows
2. You are using Kerberos 5 (GSSAPI) authentication
3. Your server-side home directory is at a path other than /home/$USER

Upon connecting to an X2Go server, whether you have any folders shared
or not, you receive an error like:
Connection failed pscp: unable to open
/home/mike/.x2go/ssh/key.dK7060: no such file or directory
("Connection failed" is bolded)

Furthermore, shared folders are not actually shared.

If you attempt to share a folder after connecting, you receive the
same error message.

This bug appears to be a limitation of when Kerberos (GSSAPI)
authentication was originally introduced in x2goclient 4.0.1.2. It was
introduced in commit a77d761d on 2013-12-10.

I will push a commit that fixes this bug. However, it overrides all
paths like "~user" with "~".
In other words, it assumes that SshProcess::start_cp() will never be
used to upload a file to another user's home dir, unless that other
user's home dir is specified absolute.

As a side note, this bug is present under the default configuration of
SAMBA's winbind, which does support kerberos authentication. By
default, smb.conf has set:
template homedir = /home/%D/%U
Where %D is the domain name, and %U is the username.

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 18:46:02 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.