[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#760802: jenkins.d.n: allow vnc connection while screenshotting



On Mon, Sep 08, 2014 at 03:33:34AM +0200, Holger Levsen wrote:
> control: tags -1 + security moreinfo
> 
> ;-)

-DISPLAY=localhost:$1
+DISPLAY=:$1

My jenkins replica runs on a remote machine without shorewall
configured. VNC servers tcp ports (5900+display number) would be on all
interfaces, instead of on loopback only.
An alternative is ssh tunnelling ~30 connections.

- QEMU_OPTS="-display vnc=$DISPLAY -no-shutdown -enable-kvm -cpu host
  -pidfile $QEMU_PIDFILE"
+ QEMU_OPTS="-nographic -vnc $DISPLAY,share=ignore -no-shutdown
-enable-kvm -cpu host -pidfile $QEMU_PIDFILE"

That lets to connect to vnc servers g-i-installation jobs provide
without making connection exclusive: currently if one connects via vnc
client, vncsnapshot can't take any screenshot and vncdo can't send any
command. share=ignore allow concurrent connections.

-- 
G..e


Reply to: