VNC appeared rect too big problem solved

Source: Internet
Author: User

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


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.