From b767ca5c39cf7238c1a1eaecb00cb4316f7ddefc Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 15 Jun 2016 16:42:25 +0200 Subject: test scripts: Rename run-nxproxy2nxproxy-test -> run-nxproxy2nxproxy. --- doc/examples/run-nxproxy2nxproxy | 141 ++++++++++++++++++++++++++++++++++ doc/examples/run-nxproxy2nxproxy-test | 141 ---------------------------------- 2 files changed, 141 insertions(+), 141 deletions(-) create mode 100755 doc/examples/run-nxproxy2nxproxy delete mode 100755 doc/examples/run-nxproxy2nxproxy-test (limited to 'doc') diff --git a/doc/examples/run-nxproxy2nxproxy b/doc/examples/run-nxproxy2nxproxy new file mode 100755 index 000000000..fd4d6e373 --- /dev/null +++ b/doc/examples/run-nxproxy2nxproxy @@ -0,0 +1,141 @@ +#!/bin/bash + +set -e + +#/**************************************************************************/ +#/* */ +#/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/. */ +#/* Copyright (c) 2015 Mike Gabriel ${NX_ROOT}/C-${NX_PORT}/options + +# +# Run the local proxy impersonating the X display. +# + +echo -ne "Running the X client side NX proxy.\n" + +#valgrind -v --num-callers=8 --error-limit=no --trace-children=no \ +#valgrind --tool=memcheck --track-fds=yes \ +nxproxy -C nx/nx,options=${NX_ROOT}/C-${NX_PORT}/options:${NX_PORT} \ +2>>${HOME}/.nx/C-${NX_PORT}/session & + +# +# The X server side proxy will forward the connection +# to the original DISPLAY. +# + +# +# These are the nxproxy options used to run a typical session. +# +# cookie=$NX_COOKIE,root=/home/pinzari/.nx,media=32824, +# session=kde_on_giulietta,id=giulietta.nomachine.com-1098-6A4649FD0FCA57FAC275AF3F1C45B10F, +# connect=giulietta.nomachine.com:1098 +# + +NX_HOST=nx/nx,keybd=1,samba=1,cups=1,connect=localhost,cookie=$NX_COOKIE,errors=${NX_ROOT}/S-${NX_PORT}/session + +echo "${NX_HOST}:${NX_PORT}" >${NX_ROOT}/S-${NX_PORT}/options + +echo -ne "Running the X server side NX proxy.\n" + +#cachegrind -v --dumps=100000000 \ +#cachegrind -v \ +#valgrind -v --leak-check=yes --leak-resolution=high --show-reachable=yes \ +# --show-reachable=yes --suppressions=nxproxy/nxproxy.supp \ +# --weird-hacks=lax-ioctls --num-callers=8 --logfile-fd=2 \ +nxproxy -S nx/nx,options=${NX_ROOT}/S-${NX_PORT}/options:${NX_PORT} \ +2>>${HOME}/.nx/S-${NX_PORT}/session & + +echo -ne "Session running on display :$NX_PORT.\n" + diff --git a/doc/examples/run-nxproxy2nxproxy-test b/doc/examples/run-nxproxy2nxproxy-test deleted file mode 100755 index fd4d6e373..000000000 --- a/doc/examples/run-nxproxy2nxproxy-test +++ /dev/null @@ -1,141 +0,0 @@ -#!/bin/bash - -set -e - -#/**************************************************************************/ -#/* */ -#/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/. */ -#/* Copyright (c) 2015 Mike Gabriel ${NX_ROOT}/C-${NX_PORT}/options - -# -# Run the local proxy impersonating the X display. -# - -echo -ne "Running the X client side NX proxy.\n" - -#valgrind -v --num-callers=8 --error-limit=no --trace-children=no \ -#valgrind --tool=memcheck --track-fds=yes \ -nxproxy -C nx/nx,options=${NX_ROOT}/C-${NX_PORT}/options:${NX_PORT} \ -2>>${HOME}/.nx/C-${NX_PORT}/session & - -# -# The X server side proxy will forward the connection -# to the original DISPLAY. -# - -# -# These are the nxproxy options used to run a typical session. -# -# cookie=$NX_COOKIE,root=/home/pinzari/.nx,media=32824, -# session=kde_on_giulietta,id=giulietta.nomachine.com-1098-6A4649FD0FCA57FAC275AF3F1C45B10F, -# connect=giulietta.nomachine.com:1098 -# - -NX_HOST=nx/nx,keybd=1,samba=1,cups=1,connect=localhost,cookie=$NX_COOKIE,errors=${NX_ROOT}/S-${NX_PORT}/session - -echo "${NX_HOST}:${NX_PORT}" >${NX_ROOT}/S-${NX_PORT}/options - -echo -ne "Running the X server side NX proxy.\n" - -#cachegrind -v --dumps=100000000 \ -#cachegrind -v \ -#valgrind -v --leak-check=yes --leak-resolution=high --show-reachable=yes \ -# --show-reachable=yes --suppressions=nxproxy/nxproxy.supp \ -# --weird-hacks=lax-ioctls --num-callers=8 --logfile-fd=2 \ -nxproxy -S nx/nx,options=${NX_ROOT}/S-${NX_PORT}/options:${NX_PORT} \ -2>>${HOME}/.nx/S-${NX_PORT}/session & - -echo -ne "Session running on display :$NX_PORT.\n" - -- cgit v1.2.3