QEMU and VNC

  1. QEMU and VNC
    1. VNC usage

VNC usage

Starting with version 0.8.1 QEMU integrates a VNC-Server.

At QEMU start, use the additional parameter -vnc :X (X = display number, e. g. "1"). Then, QEMU runs in background, no QEMU window with graphical output is opened. Additionally, the parameter -usbdevice tablet is used to avoid annoying mouse effects. The parameter -monitor stdio redirects QEMU monitor to the console, where QEMU was started from. With VNC viewer this doesn't work yet, so this way.

qemu ... -vnc :1 -usbdevice tablet -monitor stdio

Then, on an arbitrary PC in the network a VNC viewer has to be started for the graphical output. For this, the VNC viewer has to be started with IP address of the device running QEMU in VNC mode. Additionally, the display number used while starting QEMU has to be added, e.g.:

vncviewer -FullColor 192.168.2.2:1

{i} vncviewer is used here as an example vnc viewer. vncviewer is e.g. part of Fedora packet "vnc" (yum install vnc).

With this, the graphical output of QEMU can run on another PC via VNC than the PC running QEMU. QEMU can be started as special service on a server while controlled from an other device in the network

See http://qemu-buch.de/d/Netzwerkoptionen/_Netzwerkdienste for further information.


Hosted by http://qemu-buch.de

VNCusage (last edited 2010-07-31 10:52:42 by Rowa)