Skip to content

GUACAMOLE-2324: Add tight back to encodings & disable JPEG by default - #707

Open
mathijs-ixon wants to merge 2 commits into
apache:mainfrom
mathijs-ixon:main
Open

GUACAMOLE-2324: Add tight back to encodings & disable JPEG by default#707
mathijs-ixon wants to merge 2 commits into
apache:mainfrom
mathijs-ixon:main

Conversation

@mathijs-ixon

Copy link
Copy Markdown

We recently encountered some issues with users not being able to use our guacamole setup to connect to their VNC server. Apparently, their server only supported “tight” encoding. Per this message from 2016, this has been removed from the default encodings string in guacamole to prevent connections with JPEG compression in between, which hurts guacamole’s own PNG compression.

In libvncclient the default encodings string (which is used if not explicitly specified by the user) still includes “tight”.

In our case the user could explicitly ask for “tight” encoding and it would work, albeit with bad performance because indeed in this case JPEG was used by their server, because guacamole advertises this by default (because it is libvncclient’s default to allow JPEG).

This PR adds tight back to the default encodings string, and disables JPEG advertisement by default.

In our own tests our user could connect again without explicitly selecting tight, and the performance was now good.

@necouchman

Copy link
Copy Markdown
Contributor

@mathijs-ixon Thanks for the contribution. This will need a Jira issue created in our issue tracker, and the pull request and commit messages will need to be tagged with the Jira issue.

https://guacamole.apache.org/open-source/
https://issues.apache.org/jira/projects/GUACAMOLE/issues

@mathijs-ixon mathijs-ixon changed the title Add tight back to encodings & disable JPEG by default GUACAMOLE-2324: Add tight back to encodings & disable JPEG by default Aug 27, 2026
@mathijs-ixon

Copy link
Copy Markdown
Author

@mathijs-ixon Thanks for the contribution. This will need a Jira issue created in our issue tracker, and the pull request and commit messages will need to be tagged with the Jira issue.

https://guacamole.apache.org/open-source/ https://issues.apache.org/jira/projects/GUACAMOLE/issues

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants