Hello,
downloading Apps “Ubuntu Plucky LXD”, “Ubuntu Noble LXD”, “Debian Trixie 13 LXD” and “Debian Forky 14 LXD” from MarketPlace, after instantiation a new VM, VNC connection returns “VNC Client Error”. Howerver, with Apps “RockyLinux 9 LXD” and “Ubuntu Jammy LXD”, VNC runs like a charm. I have reconfigured templates in the same way…
Logs reported to frontend are a bit different depending if VNC works or not:
- logs reported to /var/log/syslog in frontend when click over VNC button on the VM where VNC works fine:
guacd[1886122]: Creating new client for protocol "vnc"
opennebula-guacd[1886122]: guacd[1886122]: INFO:#011Creating new client for protocol "vnc"
opennebula-guacd[1886122]: guacd[1886122]: INFO:#011Connection ID is "$bb8550e7-fa5e-4b98-b28f-ed7bbbd87d73"
guacd[1886122]: Connection ID is "$bb8550e7-fa5e-4b98-b28f-ed7bbbd87d73"
guacd[1328273]: Cursor rendering: local
opennebula-guacd[1328273]: guacd[1328273]: INFO:#011Cursor rendering: local
opennebula-guacd[1328273]: guacd[1328273]: INFO:#011User "@551eff2f-b1cb-41de-b9cd-5a9a2494af6c" joined connection "$bb8550e7-fa5e-4b98-b28f-ed7bbbd87d73"
guacd[1328273]: User "@551eff2f-b1cb-41de-b9cd-5a9a2494af6c" joined connection "$bb8550e7-fa5e-4b98-b28f-ed7bbbd87d73" (1 users now present)
guacd[1328273]: VNC server supports protocol version 3.8 (viewer 3.8)
guacd[1328273]: We have 2 security types to read
guacd[1328273]: 0) Received security type 1
guacd[1328273]: Selecting security type 1 (0/2 in the list)
guacd[1328273]: 1) Received security type 1
guacd[1328273]: Selected Security Scheme 1
guacd[1328273]: No authentication needed
guacd[1328273]: VNC authentication succeeded
guacd[1328273]: Desktop name "VNC Command Terminal"
guacd[1328273]: Connected to VNC server, using protocol version 3.8
guacd[1328273]: VNC server default format:
guacd[1328273]: 8 bits per pixel.
guacd[1328273]: Colour map (not true colour).
guacd[1328273]: client2server supported messages (bit flags)
guacd[1328273]: 00: 00ff 0081 0000 0000 - 0000 0000 0000 0000
guacd[1328273]: 08: 0000 0000 0000 0000 - 0000 0000 0000 0000
guacd[1328273]: 10: 0000 0000 0000 0000 - 0000 0000 0000 0000
guacd[1328273]: 18: 0000 0000 0000 0000 - 0000 0000 0000 0008
guacd[1328273]: server2client supported messages (bit flags)
guacd[1328273]: 00: 001f 0080 0000 0000 - 0000 0000 0000 0000
guacd[1328273]: 08: 0000 0000 0000 0000 - 0000 0000 0000 0000
guacd[1328273]: 10: 0000 0000 0000 0000 - 0000 0000 0000 0000
guacd[1328273]: 18: 0000 0000 0000 0000 - 0000 0000 0000 0000
guacd[1328273]: Connected to Server "unknown (LibVNCServer 0.9.13)"
- logs reported to /var/log/syslog in frontend when click over VNC button on the VM where VNC connection returns a “VNC Client Error”:
guacd[1886122]: Creating new client for protocol "vnc"
opennebula-guacd[1886122]: guacd[1886122]: INFO:#011Creating new client for protocol "vnc"
guacd[1886122]: Connection ID is "$eb080f13-9915-43f9-ab34-e74e259df1c6"
opennebula-guacd[1886122]: guacd[1886122]: INFO:#011Connection ID is "$eb080f13-9915-43f9-ab34-e74e259df1c6"
guacd[1327993]: Cursor rendering: local
opennebula-guacd[1327993]: guacd[1327993]: INFO:#011Cursor rendering: local
opennebula-guacd[1327993]: guacd[1327993]: INFO:#011User "@5265b4fc-b89f-468f-a46f-0f2a23589a89" joined connection "$eb080f13-9915-43f9-ab34-e74e259df1c6"
guacd[1327993]: User "@5265b4fc-b89f-468f-a46f-0f2a23589a89" joined connection "$eb080f13-9915-43f9-ab34-e74e259df1c6" (1 users now present)
guacd[1327993]: VNC server closed connection
guacd[1327993]: Unable to connect to VNC server.
opennebula-guacd[1327993]: guacd[1327993]: ERROR:#011Unable to connect to VNC server.
guacd[1327993]: User "@5265b4fc-b89f-468f-a46f-0f2a23589a89" disconnected (0 users remain)
opennebula-guacd[1327993]: guacd[1327993]: INFO:#011User "@5265b4fc-b89f-468f-a46f-0f2a23589a89" disconnected (0 users remain)
opennebula-guacd[1327993]: guacd[1327993]: INFO:#011Last user of connection "$eb080f13-9915-43f9-ab34-e74e259df1c6" disconnected
guacd[1327993]: Last user of connection "$eb080f13-9915-43f9-ab34-e74e259df1c6" disconnected
guacd[1886122]: Connection "$eb080f13-9915-43f9-ab34-e74e259df1c6" removed.
opennebula-guacd[1886122]: guacd[1886122]: INFO:#011Connection "$eb080f13-9915-43f9-ab34-e74e259df1c6" removed.
syslog in server reports a “VNC server supports protocol version 3.8 (viewer 3.8)” when VNC connection is established correctly.
Both VMs are created using images downloaded from MarketPlace/Apps.
Where is the problem?
My environment runs OpenNebula-6.8.0-1.
Thanks.