Hello,
I'm currently working on distant application server based on X2GO. On the demonstration computer, the X2GO client (PyQt) works perfectly. So I use this situation to make converge my other system built on the python API. The python API performs correctly the negociation with the server, but whe it comes to nxproxy, this one crashes.
A first problem comes from cygwin porting of nxproxy, but it was not suficient to fix it (see PS). nxproxy writes now in the 'session' file the following message: "Host X server DISPLAY is not set". This seem to be linked with the launching of the VcXsrv utility embedded in the X2GO client distribution, which is launched at the client start. But how do I start it without a blank window, and how do I link it with nxproxy ?
Thanks in advance,
Pierre
PS: necessity to rewrite paths in the cygwin syntax, as nxproxy was ported to windows using this technology.
self.PROXY_MODE = '-S' if _X2GOCLIENT_OS == "Windows": sys.CYG_HOME=os.path.dirname(self.session_info.local_container).replace('\\','/') sys.CYG_HOME="/cygdrive/"+sys.CYG_HOME[0]+sys.CYG_HOME[2:] self.PROXY_OPTIONS = [ "nx/nx" , "root=%s"%sys.CYG_HOME,
...] ... if _X2GOCLIENT_OS == "Windows": ... self.PROXY_OPTIONS= [ 'nx/nx', 'options=%s' % "/".join([sys.CYG_HOME, "S-%s" % self.session_info.name, 'options']), ]
Hi Pierre,
thanks for subscribing to this list and posting here...
On Fr 20 Jun 2014 10:01:36 CEST, SARL Mezzònomy wrote:
I'm currently working on distant application server based on X2GO.
On the demonstration computer, the X2GO client (PyQt) works
perfectly. So I use this situation to make converge my other system
built on the python API. The python API performs correctly the
negociation with the server, but whe it comes to nxproxy, this one
crashes.A first problem comes from cygwin porting of nxproxy, but it was not
suficient to fix it (see PS). nxproxy writes now in the 'session'
file the following message: "Host X server DISPLAY is not set". This
seem to be linked with the launching of the VcXsrv utility embedded
in the X2GO client distribution, which is launched at the client
start. But how do I start it without a blank window, and how do I
link it with nxproxy ?
please take a look at the setup.py [1] file in pyhoca-gui.git [2]. It
shows what 3rd-party stuff to pull in where in the
%ProgramFiles%/<application> directory.
The 3rd-party stuff I have collected in the pyhoca-contrib.git repo
[3]. No need to rebuild nxproxy or such.
Also, if VcXsrv is installed at the right location [4], then it will
be automatically detected and launched by python-x2go's internal
plumbing (with the right option given to the X2GoClient [5] instance
constructor: start_xserver=True).
Regards, Mike
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...