-
Notifications
You must be signed in to change notification settings - Fork 325
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
Connection disconnected when running KasmVNC on default user #307
Comments
Or so I thought it works on fresh user but now when I recreated it once again I have this error:
AuthFailureException: Authentication failure: Unable to query the local user to accept the connection. |
From your log I see this line...
This indicates that the kasmvnc user you created does not read access. Make sure you use the correct flags when creating the user...
|
Describe the bug
I have proxmox host that runs xubuntu VM and the traffic is going through NAT like this:
Internet -> public_ip:8444 -> [DNAT] -> 10.0.0.2:8444 (VM)
10.0.0.2:8444 (VM) -> [SNAT/MASQUERADE] -> public_ip -> Client
and nginx works, so no problem there. But trying to run kasmVNC and connecting through Chrome first shows that it's connected after which instantly it says "Disconnected", in F12 in Chrome I see some 401 Unauthorized requests.
Curiously in firefox all requests are OK (change protocols to websocket request 101 is also OK)
but it still gets disconnected.
This is failing log:
vnc-log.log
So I tried creating new user, copying kasmvnc.yaml and running vncserver there and..it looks like it works now!
I'm attaching working log
working-log-other-user.log
Looks like there are still some errors there, but it works..
This is process tree dump:
process_tree.txt
Note that default user is 'u' and the new one is 'rem' and there I ran vncserver successfully.
System Description
KasmVNC Details
Provide the filename of the package you installed KasmVNC with. The filename includes important details like the OS, architecture, and commit sha.
kasmvncserver_noble_1.3.3_amd64.deb
Provide the output of this command.
XVnc: command not found
when directly calling:
To Reproduce
Steps to reproduce the behavior (for non-installation issues):
Expected behavior
Should connect without issues.
Browser
Additional context
I had to do
kasmvnc.yaml
settings like this:because with brute force security it blocks me right away because it looks like the connection is dropping many times in a row.
Before trying to start vncserver I ran x11vnc as a root on display :0, but it should not conflict, because I disabled it.
The text was updated successfully, but these errors were encountered: