aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-05-01 20:35:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-05-01 20:35:19 -0300
commitd90e263b035f50111c58ae597ac2e51edcb3d699 (patch)
tree9557f60c837eb4287530f524b4ab9e676e121a24
parent13babe75745101bf5ba462e694b2d578ced0e2cc (diff)
downloadkvmx-d90e263b035f50111c58ae597ac2e51edcb3d699.tar.gz
kvmx-d90e263b035f50111c58ae597ac2e51edcb3d699.tar.bz2
XDMCPLOG at kvmx_log and timeout at kvmx_xephyr
-rwxr-xr-xkvmx6
1 files changed, 5 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index 9e5f288..340c09f 100755
--- a/kvmx
+++ b/kvmx
@@ -864,6 +864,10 @@ function kvmx_log {
logs="$logs $XPRALOG"
fi
+ if [ -s "$XDMCPLOG" ]; then
+ logs="$logs $XDMCPLOG"
+ fi
+
tail -F $logs
}
@@ -960,7 +964,7 @@ function kvmx_xephyr {
exit 1
fi
- Xephyr :$GUEST_DISPLAY -ac -port $XDMCP_PORT -query 127.0.0.1 $resolution &> $XDMCPLOG < /dev/null &
+ Xephyr :$GUEST_DISPLAY -to 3 -ac -port $XDMCP_PORT -query 127.0.0.1 $resolution &> $XDMCPLOG < /dev/null &
XEPHYRPID="$!"
echo "$XEPHYRPID" > $XEPHYRFILE