diff --git a/scripts/qutselect_connect_tlinc.sh b/scripts/qutselect_connect_tlinc.sh index 7080795..7b863f6 100755 --- a/scripts/qutselect_connect_tlinc.sh +++ b/scripts/qutselect_connect_tlinc.sh @@ -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 diff --git a/scripts/qutselect_connect_vnc.sh b/scripts/qutselect_connect_vnc.sh index 14ebb5a..2c6a5ed 100755 --- a/scripts/qutselect_connect_vnc.sh +++ b/scripts/qutselect_connect_vnc.sh @@ -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 @@ -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