[X2Go-Dev] Bug#612: x2goclient does not honor export from broker

MIng Song msongd at gmail.com
Tue Sep 16 09:57:42 CEST 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20140916/56d0932e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aware_broker_export_dir.patch
Type: text/x-patch
Size: 1332 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20140916/56d0932e/attachment-0001.bin>


More information about the x2go-dev mailing list