Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 31 lines (26 sloc) 0.955 kB
#!/bin/sh
#
# Copyright (c) Citrix Systems 2007-2011
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation; version 2.1 only. with the special
# exception on linking described in file LICENSE.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
DOMID=$1
shift 1
#For security reasons, we only listen on locahost by default
export VNCTERM_LISTEN="-v 127.0.0.1:1"
# 64MiB core dumps
ulimit -c 67108864
echo vncterm-wrapper:
xenstore-write -s /local/domain/$DOMID/vncterm-pid $$
if [ -z "${XIU}" ]; then
exec /usr/lib/xen/bin/vncterm $* > /dev/null 2>&1
else
exec xenstore-write -s /local/domain/$DOMID/console/vnc-port 0
fi
Jump to Line
Something went wrong with that request. Please try again.