On Fri, Aug 29, 2014 at 11:04 AM, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> wrote:
Thanks for reporting your observed issue.
I close this bug as the problem seems to be related to your setup.
Launching X2Go Client always requires to cwd to its installation directory, otherwise its DLLs will not be found.
Hi Mike#1 and Ivan,
I believe I should fix this bug. I am going to re-open it.
Unless I hear new reasons otherwise, in about 10 hours I will:
This is why I believe I should fix this bug:
Every Windows program searches its own directory for DLLs, before searching the PATH and cwd. This is the design of Windows. We can fix X2GoClient being able to start successfully with your cwd being different by including VcXsrv\zlib1.dll. There is no need to register the DLL system-wide. And it's not a cygwin DLL anyway; its a native Windows binary built from the VcXsrv/VcXsrv-xp source tree.
On my system, I can launch X2Go Client successfully from another cwd. This includes x2goclient.exe, vcxsrv.exe, sshd.exe (cygwin) and nxproxy.exe (cygwin). The only reason vcxsrv.exe does work is that I have c:\gnuwin\bin\ZLIB1.dll in my PATH, where as most users likely do not have any zlib1.dll in their PATH. (I determined this using Dependency Walker.)
My manual build instructions state that I should include VcXsrv\zlib1.dll. During the manual build process, I included VcXsrv\xwininfo.exe instead of zlib1.dll.
We should provide vcxsrv.exe with its own zlib1.dll. It is VcXsrv-xp's own version of the file for reasons mentioned in #1.
Respectfully, -Mike#2