setup_firewall () {local LOGF="${TMPDIR}/firewall.log"local RET
["$DISPLAY"=":0"] || return0# For now, to avoid conflicts, we only do this on display :0
slxfwtool "$IMGUUID">"$LOGF"2>&1
RET=$?
if["$RET"!="0"];then
slxlog "runvirt-firewall""Error setting up firewall rules for lecture$IMGUUID(Exit code$RET)""$LOGF"fireturn0}