Do VNC clients work with Replit?
I'm trying to connect to my Python REPLs via VNC as explained in the documentation. But when I open a connection with the Remmina client on Linux (Crostini on Chrome OS) I get the error
VNC server closed connection. I'm reasonably sure the REPLs are properly configured and the credentials are correct.
Is connecting to REPLs supposed to work with clients other than noVNC? Any suggestions?
One thing I've noticed is Remmina doesn't let me customzie the port and path of the connection's websocket, which Replit seems to require. So I'll try another VNC client.
Replit only supports connecting through noVNC because of a current limitation in our hosting stack: repls can only expose HTTP services.
The reason why noVNC works is that they expect the connection to be made using RFB-over-WebSocket, and I am unaware of any other native VNC clients that allow that combination.
It turns out all the VNC clients I installed support specifying an alternate port with a syntax such as
host.example.com:443 (Remmina) or
host.example.com::443 (VNC Connect).
When I try to open a connection to a REPL I no longer get an error. But the connection progress indicator goes on indefinitely and nothing happens. This happens also when running the VNC client from Android, which suggests this is not a Crostini issue.
@RayhanADev Thanks, I'm not sure it's a Crostini issue. I'm assuming if Replit works with noVNC, it likely supports the standard VNC protocol and hence should work with any client with the right features.
I tried another good client, VNC Connect, but it returns the error
The connection closed unexpectedly without even letting me enter my credentials. Despite providing many options and preferences, VNC Connect doesn't let me set the port either.