User Tools

Site Tools


wiki:development:build-howto-mswin:x2goclient

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:development:build-howto-mswin:x2goclient [2018/06/05 00:23]
mikedep333 Remove note about old modified version of VcXsrv
wiki:development:build-howto-mswin:x2goclient [2018/06/07 06:16]
ionic No, MinGW isn't just a compiler...
Line 13: Line 13:
 ===== Overview of third-party components ===== ===== Overview of third-party components =====
  
-X2Go Client for Windows needs several 3rd-party programmes for being able to run on MS Windows:+X2Go Client for Windows needs several 3rd-party programs for being able to run on MS Windows:
  
  
Line 26: Line 26:
   * [[wiki:development:build-howto-mswin:x2goclient/#putty|PuTTY]] for Kerberos 5 (GSSAPI) authentication   * [[wiki:development:build-howto-mswin:x2goclient/#putty|PuTTY]] for Kerberos 5 (GSSAPI) authentication
  
-All these programmes, as well as many of the libraries, can now be downloaded from [[http://code.x2go.org/gitweb?p=x2goclient-contrib.git;a=tree;hb=HEAD|x2goclient-contrib.git]]. Older versions are available from our [[http://code.x2go.org/releases/binary-win32/3rd-party|server]]+All these programs, as well as many of the libraries, can now be downloaded from [[http://code.x2go.org/gitweb?p=x2goclient-contrib.git;a=tree;hb=HEAD|x2goclient-contrib.git]]. Older versions are available from our [[http://code.x2go.org/releases/binary-win32/3rd-party|server]]
  
 They can also be built from source, or downloaded from their project sites. However, this howto only explains how to build nxproxy and OpenSSH. They can also be built from source, or downloaded from their project sites. However, this howto only explains how to build nxproxy and OpenSSH.
Line 34: Line 34:
 ===== Build Utilities ===== ===== Build Utilities =====
  
-For building X2Go Client, we highly recommend to install [[http://msysgit.github.io/|MSysGit]] and [[http://www.flos-freeware.ch/notepad2.html|Notepad2]].+For building X2Go Client, we highly recommend to install [[http://msysgit.github.io/|MSysGit]] and [[http://www.flos-freeware.ch/notepad2.html|Notepad2]]. Any other editor that is capable of handling both UNIX- and Windows-style line endings and UTF-8 will do as well.
  
 MSysGit provides a Unix-like shell (bash) environment, so that you can use Git easily from the command line. MSysGit provides a Unix-like shell (bash) environment, so that you can use Git easily from the command line.
Line 46: Line 46:
 ==== Installing MinGW ==== ==== Installing MinGW ====
  
-MinGW is a gcc compiler for Windows. You need it to build X2Go Client.+MinGW includes the GCC compiler suite for Windows. You need it to build X2Go Client.
  
 Since X2Go Client 4.0.3.0, X2Go Client uses Qt 4.8.6 specifically. Qt 4.8.6 uses MinGW 4.8.x. Qt 4.8.6 for Windows recommends this specific build of MinGW, so it is this specific build that you should use. Since X2Go Client 4.0.3.0, X2Go Client uses Qt 4.8.6 specifically. Qt 4.8.6 uses MinGW 4.8.x. Qt 4.8.6 for Windows recommends this specific build of MinGW, so it is this specific build that you should use.
Line 419: Line 419:
 ==== Copying the nxproxy binaries ==== ==== Copying the nxproxy binaries ====
  
-Now the nxproxy binary (nxproxy.exe) is ready. You can copy it into the programme packaging folder (''dist/'' or ''nsis/x2goclient/'') of X2Go Client, or the x2goclient-contrib folder:+Now the nxproxy binary (nxproxy.exe) is ready. You can copy it into the program packaging folder (''dist/'' or ''nsis/x2goclient/'') of X2Go Client, or the x2goclient-contrib folder:
   - nx-libs 3.5: From nxproxy directory (d:\Build\nx-libs\nxproxy) - ''nxproxy.exe''   - nx-libs 3.5: From nxproxy directory (d:\Build\nx-libs\nxproxy) - ''nxproxy.exe''
   - nx-libs 3.5: From nxcomp directory (d:\Build\nx-libs\nxcomp) - ''cygXcomp.dll''   - nx-libs 3.5: From nxcomp directory (d:\Build\nx-libs\nxcomp) - ''cygXcomp.dll''
Line 483: Line 483:
 ==== Copying OpenSSH Server binaries ==== ==== Copying OpenSSH Server binaries ====
  
-Open SSH Server binaries are ready. You can copy it into the programme packaging folder (dist/ or nsis/x2goclient/) of X2Go Client, or the x2goclient-contrib folder:+Open SSH Server binaries are ready. You can copy it into the program packaging folder (dist/ or nsis/x2goclient/) of X2Go Client, or the x2goclient-contrib folder:
   *sftp.exe   *sftp.exe
   *sftp-server.exe   *sftp-server.exe
Line 669: Line 669:
   *xwininfo.exe   *xwininfo.exe
  
-Also, if you are doing an official X2Go Project build, create this file in the VcXsrv folder:+Also, if you are doing an official X2Go Project build, before importing it into x2goclient-contrib, remove the timestamps from the .gz files. 
 +Using debian's strip-nondeterminism (a perl script that calls a perl library, both of which can be extracted from their deb's & run fine under Cygwin): 
 +<code> 
 +cd /cygdrive/c/x2gobuilds/x2goclient-contrib/VcXsrv/1.20.0.0_bin/fonts 
 +find . -name *.gz | xargs strip-nondeterminism 
 +</code> 
 +If you are doing an official X2Go Project build, create this file in the VcXsrv folder:
   *vcxsrv-version.txt   *vcxsrv-version.txt
 And specify the version string of VcXsrv in it. The version string should be the only contents of the file. For example: And specify the version string of VcXsrv in it. The version string should be the only contents of the file. For example:
  
 1.15.2.3+xp-vc2013+x2go1 1.15.2.3+xp-vc2013+x2go1
 +
 +If you are doing an official X2Go Project build, copy the project's [[https://sourceforge.net/p/vcxsrv/code/ci/master/tree/COPYING|COPYING]] file as:
 +  *COPYING.txt
 === PuTTY === === PuTTY ===
  
wiki/development/build-howto-mswin/x2goclient.txt · Last modified: 2023/05/08 22:20 by orion