X2Go Bug report logs - #612
x2goclient does not honor export from broker

version graph

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

Reported by: MIng Song <msongd@gmail.com>

Date: Tue, 16 Sep 2014 08:00:02 UTC

Severity: important

Tags: pending

Found in version 4.0.2.1

Fixed in version 4.0.3.0

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


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

Received: (at submit) by bugs.x2go.org; 16 Sep 2014 07:57:45 +0000
From msongd@gmail.com  Tue Sep 16 09:57:44 2014
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,
	HTML_MESSAGE,T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from mail-qg0-f67.google.com (mail-qg0-f67.google.com [209.85.192.67])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id DB3365DB54
	for <submit@bugs.x2go.org>; Tue, 16 Sep 2014 09:57:43 +0200 (CEST)
Received: by mail-qg0-f67.google.com with SMTP id a108so1720272qge.10
        for <submit@bugs.x2go.org>; Tue, 16 Sep 2014 00:57:42 -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=R8HMQtsUjk/7PtXeInX5VJJHjS0tCKI4DuPBhu30Ng8=;
        b=NEE8kc713AiHmDrr90HUozKorDjHKKYrlfZutvPv3AruiOY4oDwobsviTb4GgadD6A
         ZfdE4k7tIzSA+p2rxqmPXP2Fnhu6FENEYUrB8vYq+sVBBPgoyglXXQG2SMm2q62rTFYJ
         bnwkIe5NMkSRUiEqFEXsjhOfS1JpNYIXaJlHrjqfZxju996GL6u5+BgI09pZE1aX9RcY
         nlvb0iWY6kooMt1dVL0u5TTvfqm/uIk+ud2NQ0Es/Cuw14NXoPAiZJ01thoIMgg1c/9i
         TYHe/7I0q+WPmJYcSw51RldzETuFV8dyJ00BfwtL3Nzrhy8CxU2zEOXAGahwehq5V208
         A4tw==
MIME-Version: 1.0
X-Received: by 10.140.16.194 with SMTP id 60mr12508263qgb.105.1410854262446;
 Tue, 16 Sep 2014 00:57:42 -0700 (PDT)
Received: by 10.140.85.177 with HTTP; Tue, 16 Sep 2014 00:57:42 -0700 (PDT)
Date: Tue, 16 Sep 2014 14:57:42 +0700
Message-ID: <CABFT0UG-iY8vHgNNsqFvANBjwMGoVBSMVTEU1kJFcqgV61+L1Q@mail.gmail.com>
Subject: x2goclient does not honor export from broker
From: MIng Song <msongd@gmail.com>
To: submit@bugs.x2go.org
Content-Type: multipart/mixed; boundary=001a11c0a65424cc3005032a1b93
[Message part 1 (text/plain, inline)]
Package: x2goclient
Version: 4.0.2.1
Severity: major

Hi,

it seems x2goclient does not load export (local folder sharing) from
broker. Direct connect with local session profile is ok.

My x2gobroker_sessionprofiles.conf contains export directory and disable
printing, however, when using x2goclient with broker, it still forwards
spooling directory & does not mount exported directory.

If i create a session profile in client workstation, and use x2goclient
directly, printing can be disabled and local directory can be forwarded.

Look at the source code, file onmainwindow.cpp, method exportDefaultDirs
load X2goSettings directly without consult config.iniFile.

I have attached here a patch that modifies exportDefaultDirs() to use
config.iniFile incase x2goclient using broker mode. The patch works with
x2goclient linux.

I am not familiar with compiling x2goclient in Windows env, therefore I am
unable to test with x2goclient in Windows.

Any comments?

Thank you very much for such a wonderful project.

Regards,
msongd.
[Message part 2 (text/html, inline)]
[aware_broker_export_dir.patch (text/x-patch, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Nov 23 13:39:56 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.