websockify icon indicating copy to clipboard operation
websockify copied to clipboard

Q: How to provide target user/pw ?

Open Z3TA opened this issue 2 years ago • 1 comments

The target is a Mac that requires username and password.

When trying to connect via websockify from noVNC I get "Authentication failure" but no login prompt.

How do I provide the username and password for the Mac ?

I'm also running -v for verbose, but websockify doesn't output anything ...

Have tried:

websockify my-ip:5900 macbook-ip:5900 -v --auth-source user:pass --auth-plugin BasePlugin

and with --auth-plugin BasicHTTPAuth I get "Failed to connect to server" in noVNC.

Z3TA avatar Jul 17 '22 16:07 Z3TA

On the Mac's Sharing settings i clicked Computer Settings.,.. and checked "VNC viewers may control screen with password" ... Then I got connected to the current screen! I however don't want to access the current screen, I want to remote in as a specific user...

If I connect with Remmina (VNC client) I get a login prompt and can login as a specific user - which is what I want to do, but from a web browser =)

Z3TA avatar Jul 17 '22 20:07 Z3TA

This is really a noVNC question, as it is noVNC that handles all authentication. websockify is just a dumb proxy and has no idea what protocol is used.

noVNC only recently got support for Apple's more advanced authentication, so you'll need to wait for the next release of noVNC or check out a development version from git. At that point, you should get a prompt for username and password.

CendioOssman avatar Aug 18 '22 08:08 CendioOssman