Symptoms:
1. The option to start the virtual machine using the-vnc 127.0.0.1:2
2. When using Vncviewer access locally, a rect too big tip box appears, and then the VNC session disappears.
Reason:
This happens because of a VNC protocol flaw on the "the" on-the-fly pixel format changes is handled
Ref:http://www.linux-kvm.org/page/faq#.22rect_too_big.22_message_when_using_vnc_display
Depth ref:https://bugs.launchpad.net/ubuntu/+source/vnc4/+bug/117229
In a word, this is a bug in Vncviewer.
Solve:
1. If you use the command line VNC, then add this option: Autoselect=0 fullcolor=1 (in fact, only add autoselect=0), that is, the use of the method is:
# vncviewer Autoselect=0 127.0.0.1:1
2. If you are using the graphics VNC, select options to remove the Auto Select from the encoding and colour level
Well, it seems that the change is encoding way, the original seems to be used is hextile, seemingly throughput rate is too large ... After removing the auto-selection, it seems that the Zrle
----------------------------------------------------
P.S. VNC can also use the command line Ah, but also the process output OH:
1)
# Vncviewer 127.0.0.1:1
VNC Viewer free Edition 4.1.2 for x-built 25 2010 19:08:50
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Tue June 29 16:07:36 2010
cconn:connected to host 127.0.0.1 Port 5901
Cconnection:server supports RFB protocol version 3.8
Cconnection:using RFB Protocol version 3.8
Tximage:using default ColorMap and visual, TrueColor, depth 24.
cconn:using pixel Format Depth 6 (8BPP) rgb222
Cconn:using Zrle Encoding
Cconn:throughput 20250 kbit/s-changing to Hextile encoding
Cconn:throughput 20250 kbit/s-changing to full colour
cconn:using pixel format Depth (32BPP) Little-endian rgb888
Cconn:using hextile Encoding
2)
# vncviewer Autoselect=0 127.0.0.1:1
VNC Viewer free Edition 4.1.2 for x-built 25 2010 19:08:50
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Tue June 29 16:09:35 2010
cconn:connected to host 127.0.0.1 Port 5901
Cconnection:server supports RFB protocol version 3.8
Cconnection:using RFB Protocol version 3.8
Tximage:using default ColorMap and visual, TrueColor, depth 24.
cconn:using pixel Format Depth 6 (8BPP) rgb222
Cconn:using Zrle Encoding