The branch, master has been updated via a6bbb96a2533efb7a31d77d6fe2693796cd9e87a (commit) from 6a54d5625b423a01a52b5e5882203195e51cd794 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit a6bbb96a2533efb7a31d77d6fe2693796cd9e87a Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Fri Nov 2 23:25:21 2012 +0100 old refresh session list if we actually fiddled around with running pubapp sessions ----------------------------------------------------------------------- Summary of changes: man/man1/pyhoca-gui.1 | 6 ++++++ pyhoca-gui | 1 + pyhoca/wxgui/frontend.py | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) The diff of changes is: diff --git a/man/man1/pyhoca-gui.1 b/man/man1/pyhoca-gui.1 index 1f73aff..8ca7b2e 100644 --- a/man/man1/pyhoca-gui.1 +++ b/man/man1/pyhoca-gui.1 @@ -149,6 +149,12 @@ Give a custom position for the logon window, use negative values to position rel .TP \*(T<\fB\-\-published-applications-no-submenus\fR \fI<number>\fR\*(T> The number of published applications that will be rendered without submenus. +.TP +\*(T<\fB\-\-connection-timeout\fR \fI<secs>\fR\*(T> +Python X2Go (the X2Go backend in PyHoca-GUI) regularly pings the aliveness of each X2Go server that the +application is connected to. If these pings receive a connection timeout, Python X2Go interprets this as +a connection loss. The default connection timeout is 20 seconds. If this does not meet your requirements +you can scale the timeout value to your needs. .PP .SH BACKEND OPTIONS \fBpyhoca-gui\fR supports transparent use of different data backends. For configuration three backends are common: diff --git a/pyhoca-gui b/pyhoca-gui index 0486314..2f4a7aa 100755 --- a/pyhoca-gui +++ b/pyhoca-gui @@ -223,6 +223,7 @@ x2go_gui_options = [ {'args':['--display'], 'default': None, 'metavar': '<hostname>:<screennumber>', 'help': 'set the DISPLAY environment variable to <hostname>:<screennumber>', }, {'args':['--logon-window-position'], 'default': None, 'metavar': '<x-pos>x<y-pos>', 'help': 'give a custom position for the logon window, use negative values to position relative to right/bottom border', }, {'args':['--published-applications-no-submenus'], 'default': 10, 'metavar': '<number>', 'help': 'the number of published applications that will be rendered without submenus', }, + {'args':['--connection-timeout'], 'default': 20, 'metavar': '<secs>', 'help': 'timeout connection after <secs> seconds (default: 20)', }, ] if _X2GOCLIENT_OS == 'Windows': x2go_gui_options.append( diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py index dcfe28a..e5b9a95 100644 --- a/pyhoca/wxgui/frontend.py +++ b/pyhoca/wxgui/frontend.py @@ -518,7 +518,7 @@ class PyHocaGUI(wx.App, x2go.X2goClient): # be one) if pubapp_sessions_running: gevent.sleep(1) - session_list = self._X2goClient__list_sessions(session_uuid=session_uuid, profile_name=profile_name, refresh_cache=True) + session_list = self._X2goClient__list_sessions(session_uuid=session_uuid, profile_name=profile_name, refresh_cache=True) if session_list: pubapp_sessions_suspended = [ _sn for _sn in session_list.keys() if session_list[_sn].is_suspended() and session_list[_sn].is_published_applications_provider() ] hooks/post-receive -- pyhoca-gui.git (Python X2Go Client (wxPython GUI)) This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "pyhoca-gui.git" (Python X2Go Client (wxPython GUI)).