aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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