guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryl Borth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GUACAMOLE-262) VNC connection fails if true color flag is set to 255
Date Mon, 03 Apr 2017 15:26:41 GMT

     [ https://issues.apache.org/jira/browse/GUACAMOLE-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daryl Borth updated GUACAMOLE-262:
----------------------------------
    Description: 
I was having trouble getting Guacamole to connect to ESX 6.5's VNC server. The issue is reported
here - https://github.com/LibVNC/libvncserver/issues/141

Using TightVNC, TigerVNC, UltraVNC, and Chicken of the VNC the connection worked fine - only
Guacamole failed. After some Wireshark sleuthing I found that libvncserver's client by default
sets the trueColour flag to TRUE (which is -1 which is 255), whereas all of the other clients
listed above set this flag to 1. Although the spec is vague - it says non-zero is "true" -
I would suggest setting this flag to 1 to maximize compatibility:

void guac_vnc_set_pixel_format(rfbClient* client, int color_depth) {
	client->format.trueColour = 1;
	

  was:
I was having trouble getting Guacamole to connect to ESX 6.5's VNC server. The issue is reported
here - https://github.com/LibVNC/libvncserver/issues/141

Using TightVNC, TigerVNC, UltraVNC, and Chicken of the VNC the connection worked fine - only
Guacamole failed. After some Wireshark sleuthing I found that libvncserver's client by default
sets the trueColour flag to TRUE (which is -1 which is 255), whereas all of the other clients
listed above set this flag to 1. Although the spec is vague - it says non-zero is "true" -
I would suggest setting this flag to 1 to maximize compatibility:

rfbBool set_pixel_format(rfbClient* client) {
	client->format.trueColour = 1;
	


> VNC connection fails if true color flag is set to 255
> -----------------------------------------------------
>
>                 Key: GUACAMOLE-262
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-262
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: VNC
>            Reporter: Daryl Borth
>            Priority: Minor
>
> I was having trouble getting Guacamole to connect to ESX 6.5's VNC server. The issue
is reported here - https://github.com/LibVNC/libvncserver/issues/141
> Using TightVNC, TigerVNC, UltraVNC, and Chicken of the VNC the connection worked fine
- only Guacamole failed. After some Wireshark sleuthing I found that libvncserver's client
by default sets the trueColour flag to TRUE (which is -1 which is 255), whereas all of the
other clients listed above set this flag to 1. Although the spec is vague - it says non-zero
is "true" - I would suggest setting this flag to 1 to maximize compatibility:
> void guac_vnc_set_pixel_format(rfbClient* client, int color_depth) {
> 	client->format.trueColour = 1;
> 	



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message