Hello, all. We've been having a problem with the icons created when one shares a local share with the X2Go desktop not being cleaned up on Windows computers. It works fine when the client is Linux. This could be peculiar to our highly customized setup. Has anyone else noticed this?
We set up a bit of tracing and found the $remote variable used to delete the icon in the x2goumount_session script was being prepended with _cygdrive_:
May 3 15:54:39 vd01 X2GOUMOUNT TRACE : remote is /vservers/joe/data/users/joe/Desktop/_cygdrive_C_DOCUME~1_Joe_X2GO~1_S-BDE3~1_spool May 3 15:54:39 vd01 X2GOUMOUNT TRACE : remote is /vservers/joe/data/users/joe/Desktop/_cygdrive_C_DOCUME~1_joeold
We edited x2goumount_session to read: $remote=~s/\//_/g; $remote=(split(":","$remote"))[1]; $remote=~s/^_cygdrive_//; $remote="/vservers/$serv/data/users/$uname/Desktop/$remote"; As you can tell, we have customized this for a vserver environment - something we hope to publish very soon. This then gave us the expected results on Windows stations.
May 3 15:58:19 vd01 X2GOUMOUNT TRACE : remote is /vservers/steve/data/users/steve/Desktop/C_DOCUME~1_spare_X2GO~1_S-SMCC~2_spool May 3 16:00:34 vd01 X2GOUMOUNT TRACE : remote is /vservers/joe/data/users/joe/Desktop/C_DOCUME~1_Joe_X2GO~1_S-BDE3~1_spool May 3 16:00:34 vd01 X2GOUMOUNT TRACE : remote is /vservers/joe/data/users/joe/Desktop/C_DOCUME~1_joeold