diff options
author | Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> | 2015-02-10 19:43:41 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-02-10 19:43:41 +0100 |
commit | 8c1b852abf692af4898368132292eb8c7278a7c2 (patch) | |
tree | 71be8528bc49423444534c510f9c4e1e23a7eff7 /nx-X11/programs/Xserver/hw/nxagent/Init.c | |
parent | 4a6ccd5037c8410f24dc177c9286272c2f47cd9d (diff) | |
download | nx-libs-8c1b852abf692af4898368132292eb8c7278a7c2.tar.gz nx-libs-8c1b852abf692af4898368132292eb8c7278a7c2.tar.bz2 nx-libs-8c1b852abf692af4898368132292eb8c7278a7c2.zip |
Save session state in file.
210_nxagent_save_session_state.full.patch
210_nxcomp_save_session_state.full+lite.patch
This patch adds a "state" option to NX (agent) which
allows one to specify a file where nxagent will write
its session state into.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Init.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Init.c b/nx-X11/programs/Xserver/hw/nxagent/Init.c index 1794f1551..8d4eed2b6 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Init.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c @@ -63,7 +63,7 @@ is" without express or implied warranty. #include "NX.h" #include "NXlib.h" - +#include "Reconnect.h" /* * Set here the required log level. */ @@ -233,6 +233,7 @@ void InitOutput(ScreenInfo *screenInfo, int argc, char *argv[]) fprintf(stderr, "Info: Agent running with pid '%d'.\n", getpid()); fprintf(stderr, "Session: Starting session at '%s'.\n", GetTimeAsString()); + saveAgentState("STARTING"); } /* |