Skip to content

Commit

Permalink
log thinlinc and vnc sessions also.
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-maus committed Sep 18, 2024
1 parent a3b7696 commit 67ea815
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/qutselect_connect_tlinc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ if [[ "$(hostname)" != "${serverName}" ]]; then
# than supplying it on command-line
cmdArgs="$cmdArgs -P cat"
# shellcheck disable=SC2086
echo ${password} | ${TLCLIENT} ${cmdArgs} ${serverName} &>/dev/null &
echo ${password} | ${TLCLIENT} ${cmdArgs} ${serverName} >/tmp/tlinc-${USER}-$$.log 2>&1 &
res=$?
else
# shellcheck disable=SC2086
${TLCLIENT} ${cmdArgs} ${serverName} &>/dev/null &
${TLCLIENT} ${cmdArgs} ${serverName} >/tmp/tlinc-${USER}-$$.log 2>&1 &
res=$?
fi

Expand Down
4 changes: 2 additions & 2 deletions scripts/qutselect_connect_vnc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ if [[ "${password}" != "NULL" ]]; then
echo "${VNCVIEWER} ${cmdArgs} ${serverName}"
fi
# shellcheck disable=SC2086
VNC_PASSWORD="${password}" ${VNCVIEWER} ${cmdArgs} "${serverName}" 2>/dev/null >/dev/null
VNC_PASSWORD="${password}" ${VNCVIEWER} ${cmdArgs} "${serverName}" >/tmp/vnc-${USER}-$$.log 2>&1
res=$?
else
# make sure a password dialog pops up
Expand All @@ -79,7 +79,7 @@ else
echo "${VNCVIEWER} ${cmdArgs} ${serverName}"
fi
# shellcheck disable=SC2086
${VNCVIEWER} ${cmdArgs} "${serverName}" &>/dev/null
${VNCVIEWER} ${cmdArgs} "${serverName}" >/tmp/vnc-${USER}-$$.log 2>&1
res=$?
fi

Expand Down

0 comments on commit 67ea815

Please sign in to comment.