I successfully got sikuli running in headless mode (no physical monitor connected)
Ubuntu: check Xvfb.
Windows: install display driver on the machine (to be headless) from virtualbox guest additions display drivers and use TightVNC to remotely set resolution from another machine.
Detailed steps for windows 7
Assume that:
- Machine A: to be headless machine, windows 7, with vnc server ready (e.g. TightVNC server installed and waiting for connections).
- Machine B: will be used to remotely setup the virtual display driver on machine A.
steps:
- Download virtualbox guest additions iso file on Machine A from here (for latest version check latest version here and download VBoxGuestAdditions_x.y.z.iso)
- Extract iso file (possibly with winrar) into a directory (let us call it folder D)
- using command prompt cd to D folder
Driver extraction
-To extract the 32-bit drivers to "C:Drivers", do the following:
- VBoxWindowsAdditions-x86 /extract /D=C:Drivers
-For the 64-bit drivers:
- VBoxWindowsAdditions-amd64 /extract /D=C:Drivers
Goto device manager
add hardware
Restart and connect with VNC viewer, now you should be able to change screen resolution
other valuable info on launchpad.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…