From mike.gabriel@das-netzwerkteam.de  Tue Sep 16 16:17:22 2014
Received: (at 612) by bugs.x2go.org; 16 Sep 2014 14:17:23 +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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
	version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 3D6285DB54
	for <612@bugs.x2go.org>; Tue, 16 Sep 2014 16:17:21 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 3D84113AD;
	Tue, 16 Sep 2014 16:17:21 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 176763BABE;
	Tue, 16 Sep 2014 16:17:21 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Jp23qhavjXgj; Tue, 16 Sep 2014 16:17:21 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id E1A843B889;
	Tue, 16 Sep 2014 16:17:20 +0200 (CEST)
Received: from p5B285323.dip0.t-ipconnect.de (p5B285323.dip0.t-ipconnect.de
 [91.40.83.35]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Tue,
 16 Sep 2014 14:17:20 +0000
Date: Tue, 16 Sep 2014 14:17:20 +0000
Message-ID: <20140916141720.Horde.P-u42iOSiKhaLrh8X4v-Lw1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: MIng Song <msongd@gmail.com>, 612@bugs.x2go.org
Cc: o.schneyder@phoca-gmbh.de
Subject: Re: [X2Go-Dev] Bug#612: x2goclient does not honor export from
 broker
In-Reply-To: <CABFT0UG-iY8vHgNNsqFvANBjwMGoVBSMVTEU1kJFcqgV61+L1Q@mail.gmail.com>
User-Agent: Internet Messaging Program (IMP) H5 (6.2.0)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 91.40.83.35
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101
 Firefox/32.0 Iceweasel/32.0
Content-Type: multipart/signed; boundary="=_3XNDqvPWN3t26sUuyDp9tw6";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0

This message is in MIME format and has been PGP signed.

--=_3XNDqvPWN3t26sUuyDp9tw6
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Control: severity -1 important

Hi Alex,

On  Di 16 Sep 2014 09:57:42 CEST, MIng Song wrote:

> 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 a=
m
> unable to test with x2goclient in Windows.
>
> Any comments?
>
> Thank you very much for such a wonderful project.
>
> Regards,
> msongd.

For me the patch attached to this bug looks fine. Can you confirm this?

Thanks,
Mike


--=20

DAS-NETZWERKTEAM
mike=20gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x=
fb

--=_3XNDqvPWN3t26sUuyDp9tw6
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJUGEZwAAoJEJr0azAldxsxEwIP/3PLakW6DmbiaDdxhTWsbWOC
CEBJlleNjXB/QZFh0P8mMpFEyxc30DZokilCciJeuDk3dYNXW1hnM2qW0vT+O81Z
VvcJU7Bdl5Una2gdwFmrKD13pI1oArMelRv0ZRkGo/kQAVF3wAr9CSCgYg0oIsya
G4vhoROqiVaVaOVEg4RCuEbHQZBkpDaY8WiDY5olGUoJu336m/Tp9aKQNBdXwusw
gjaAlZAo/jwVzGcMKaG2uqizw5wkbNOlRft6mZVfTJtuKMajrT75zKTqzt6TLiKn
E1k+0vEghPA2rM1deskDYhXSi1YlLNuqk+hoowMTnMylrZb5Rjh3hyBk+eRwkK2c
6+wbb/Ef4YmTNqK6RkIwkmntb/1e2Ba/8lsKuILChP0j1dGhQmYXvbJLaOYsUzkN
IKx7zwR2KoZ2KMejtXUsU8eHSV+zqPvqhVT7eaxr9Ztdmhf1RdlYvjzBs+qUHUrX
OJy6DvmGUl0kNaBeeCyn0JNau9dUXBwEyYEX56C51nhwG1p5HTzVPzc2esiXK/I5
AjNMNjU7Ih9kLJW6a4e1BBczsk4DLqO3ORQvxH8bzOgc5ZGwC5ufE6NrWVaq9Evj
zvVwPPJgmjYVnOoKwjJbqe2U0VLVCxct9iQg64zAokE6zkxT2RalOtgnkhJvm6fP
efSA3f0IBNDHRlUhsGeb
=vuZG
-----END PGP SIGNATURE-----

--=_3XNDqvPWN3t26sUuyDp9tw6--

