diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-05-01 20:35:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-05-01 20:35:19 -0300 |
commit | d90e263b035f50111c58ae597ac2e51edcb3d699 (patch) | |
tree | 9557f60c837eb4287530f524b4ab9e676e121a24 | |
parent | 13babe75745101bf5ba462e694b2d578ced0e2cc (diff) | |
download | kvmx-d90e263b035f50111c58ae597ac2e51edcb3d699.tar.gz kvmx-d90e263b035f50111c58ae597ac2e51edcb3d699.tar.bz2 |
XDMCPLOG at kvmx_log and timeout at kvmx_xephyr
-rwxr-xr-x | kvmx | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |