You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by "kohrar (via GitHub)" <gi...@apache.org> on 2024/03/15 18:07:50 UTC
Re: [PR] GUACAMOLE-1686: Make WOL functionality capable of testing connectivity to the server. [guacamole-server]
kohrar commented on PR #470:
URL: https://github.com/apache/guacamole-server/pull/470#issuecomment-2000185842
Thanks for the PR. I gave it a try after merging it with master but can't seem to get my VNC connection to work as designed.
It seems as though the guacd thread stops immediately after sending the WoL packet, possibly after calling `guac_wol_wake_and_wait`. This is what I see in the debug logs:
```
guacd[216]: INFO: User "@129a3167-dfc7-4826-80cd-89b938108cd8" joined connection "$9068079c-9de1-4f0c-b29e-f8651ba25cf1" (1 users now present)
guacd[216]: DEBUG: Sending Wake-on-LAN packet, and pausing for 2 seconds.
guacd[216]: DEBUG: Client is using protocol version "VERSION_1_5_0"
guacd[1]: INFO: Connection "$9068079c-9de1-4f0c-b29e-f8651ba25cf1" removed.
guacd[1]: DEBUG: Unable to request termination of client process: No such process
guacd[1]: DEBUG: All child processes for connection "$9068079c-9de1-4f0c-b29e-f8651ba25cf1" have been terminated.
```
If I set wol-wake-time to 0 which (which bypasses the call to `guac_wol_wake_and_wait`), the VNC connection works once the machine comes up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org