-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session Manager behaviour with UDS listening sessions #407
Comments
It definitely does not work at the moment. I'll scope it out and see if it is something I can implement easily or whether it will require extensive modifications. |
Thank you for the swift reply! I don't know if it's relevant, but the following works:
=> this shows the VNC auth window and access can proceed. If I understand correctly, in this case the session manager is not involved. |
Yes, you can use Unix domain sockets without the session manager. The session manager itself, however, still assumes that the session will be listening on a TCP port corresponding to its X display. |
In order to successfully generate an OTP for and connect to a TurboVNC session listening on a Unix domain socket, the TurboVNC Session Manager would need to know both the X display number of the session and the UDS on which it is listening. That would require extending the session manager protocol. Also, since Unix domain socket support requires an external SSH client, the session manager would need to be extended to handle external SSH clients. Otherwise, the built-in SSH client would be used for the session manager connection, and the external SSH client would be used for the RFB connection. I have added UDS support as a sub-feature of #148. I did at least fix the warning. |
Using macOS Viewer Version 3.1.1 (20240221) and RHEL 8.9 Server (Xvnc) 64-bit v3.1.1 (build 20240127) I started a session on the server with
-uds
option. The session is correctly created:It's correctly listed on the server (with a weird WARNING though!)
It's also correctly displayed in the Viewer when connected to the server's FQDN name:
But when I click "connect". I get this error message:
When starting the session without
-uds
, everything works as expected.Does the Session Manager supposed to work with sessions listening on Unix Domain Sockets?
The text was updated successfully, but these errors were encountered: