Subject: Bug#1251: Folder sharing

From: Andrew Pravednyi <[email-masked]>
Date: Mon, 12 Feb 2018 12:13:25 +0200

Package: x2goserver
Version: 4.0.1.22

Hello.

I have Ubuntu server with several users. Users authorising in google accounts by pam-imap module. (https://github.com/Dacha204/pam-imap.git) Some times users need to share local folders to server. User select folder and connect it but nothing happand. Process /usr/bin/x2gomountdirs even not tries to start. When user authorising with local account, folders are sharing sucessfully. 

Server OS: Ubuntu 16.04.3 LTS, 
Linux wp-001 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
x2goserver                           4.0.1.22-0~1197~ubuntu16.04.1              amd64        X2Go server daemon scripts

Client OS: Windows 7, 10 64 bit 
X2Go Client v.4.1.0.0 (Qt - 4.8.6)

Part of log:

Google account:

Feb 12 10:09:28 wp-001 systemd[1]: Started User Manager for UID 1001.
Feb 12 10:09:33 wp-001 /usr/bin/x2gostartagent: successfully started X2Go agent session with ID a.pravednyi-50-1518426571_stDMATE_dp32
Feb 12 10:09:41 wp-001 /usr/bin/x2goruncommand: launching session with Xsession-x2go mechanism, using STARTUP="mate-session"
Feb 12 10:09:41 wp-001 /usr/bin/x2goruncommand: dbus wrapper available as /usr/bin/dbus-run-session
Feb 12 10:09:58 wp-001 /usr/bin/x2gosetkeyboard: Setting X keyboard according to /home/a.pravednyi/.x2go/C-a.pravednyi-50-1518426571_stDMATE_dp32/keyboard

Local account:

Feb 12 10:12:44 wp-001 systemd[1]: Started User Manager for UID 1000.
Feb 12 10:12:49 wp-001 /usr/bin/x2gostartagent: successfully started X2Go agent session with ID andrew-50-1518426767_stDMATE_dp32
Feb 12 10:12:59 wp-001 /usr/bin/x2goruncommand: launching session with Xsession-x2go mechanism, using STARTUP="mate-session"
Feb 12 10:12:59 wp-001 /usr/bin/x2goruncommand: dbus wrapper available as /usr/bin/dbus-run-session
Feb 12 10:13:00 wp-001 /usr/bin/x2gomountdirs[6746]: successfully mounted [email-masked]:50240/cygdrive/D/123 to /tmp/.x2go-andrew/media/disk/_cygdrive_D_123
Feb 12 10:13:01 wp-001 /usr/bin/x2gomountdirs[6746]: successfully mounted [email-masked]:50240/cygdrive/C/Users/APRAVE~1.INT/X2GO~1/S-45AA~1/spool to /tmp/.x2go-andrew/spool/C-andrew-50-1518426767_stDMATE_dp32
Feb 12 10:13:02 wp-001 /usr/bin/x2gosetkeyboard: Setting X keyboard according to /home/andrew/.x2go/C-andrew-50-1518426767_stDMATE_dp32/keyboard

Thanks,

-- 
Andrew Pravednyi <[email-masked]>