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
VNC Fullscreen and Send Keys not working #174
Comments
i was working... okey i will check again |
I made the fullscreen work but I had to move the fulscreen function from vnc lite file to yhe vnc base file script. However the same approach is not working with the function for the send ctrl alt fn krys as ot gives me that rfb is not defined when I move it in the vnc base. If I left them in vnc lite file they are not working at all. |
okey i missed function keys to add for vnc. |
Your latest chage uploaded some necessary files, but still when I clone your repo and try to use vnc I am getting: Please, check! |
there is a problem with typescript 6 build operation. lite version of console access does not work. novnc suggest that compile files with npm for speed.. i did it but some other issues appeared. i am workin on it. |
Great, thank you! I will be waiting for the working version. I've downloaded and install with npm the latest version of noVNC from their repo already and it is working for me but after may tries I managed to make only the fulscreen button to work. The FN keys are still not working and I gave up on them, so I will be very grateful if you make it work out-of-the-box! |
@catborise - any success fixing the noVNC issues? |
it is fixed. it takes time to fix because of vacation. sorry. |
Still not working for me for some reason. I will explain the case to you - I am using nginx as reverse proxy to get access to vns websocket over port 443. It is working with the initial old verision fo the retspen repo. It was even working when your first commit was borken and I used the novnc git version. But now after your commit from today it is not working. I did not changed anything it the way I am reverse proxying the websockets, it just wont work this time. I left with ome feeling that the novc app itself is not working as expected as the message this time is 1006 - connection closed. all times. |
there is nothing much changed. novnc version is same like git version. i only add sending ctrl alt fn function... you should check error with chrome tools(open vnc console page and right click to inspect) If there is an error it shows. |
Yes already checked with console of chrome. It gives several warnings but the only error is 1006 connection closed. I am able to telenet to port 6080 of the localhost which means that novnc is maybe running there but it wont open. Before I made my two rows of modifications to inject a location into the url for the proxying it was giving me error that cannot connect to this url and stuff, but after I did those same modifications I was using before it seems like connecting and being closed immediately. |
can you please run the "novncd" with --debug --verbose.. then try to open console with web browser. check output of novncd, if there is anything unusual |
`/srv/webvirtcloud/venv/bin/python /srv/webvirtcloud/console/novncd -d -v
2018-08-28 07:16:55,923 - websocket.type - INFO : 192.168.1.125 - - [28/Aug/2018 07:16:55] Need a tunnel to access console but can't mount one because it's not a SSH host
2018-08-28 07:16:56,555 - websocket.type - INFO : 192.168.1.125 - - [28/Aug/2018 07:16:56] Need a tunnel to access console but can't mount one because it's not a SSH host this is all. It seems there is some problem, but I don't get what. |
does webvirtcloud run on a kvm host? |
expected output example(webvirtcloud run on a vm); /srv/webvirtcloud/venv/bin/python /srv/webvirtcloud/console/novncd -d -v
2018-08-28 10:33:58,340 - websocket.type - INFO : 192.168.192.6 - - [28/Aug/2018 10:33:58] connecting to: 10.20.30.108:5911 Traffic Legend:
|
Yes it is running on the KVM host and I even have some VMs with VNC ports there. |
yes, strange it is. problem key statement is: websocket.type - INFO : 192.168.1.125 - - [28/Aug/2018 07:16:56] Need a tunnel to access console but can't mount one because it's not a SSH host |
I will try but I need some more time to set it up. `2018-08-28 08:02:19,641 - root - DEBUG : Connection infos :
But when the console is started on the other side, I get: Also another strange thing - it is telling me: |
I think this guy is describing something similar but there is no fix described: |
i think i find your error is related with console_host. // retspen/webvirtmgr#595 in the view.py it tries to get websocket port from vm config. if it is not specified with vm config it sets default one which is 6080(settings.py) (you write before me :) ) |
Yes, great! It solves the issue. I just need to set my VMs to listen to 0.0.0.0 in xml! |
whats that :))))))))))))))))) mine is like that. i havent noticed before 👍 |
by the way, can you please check vnc console from instance details i add full vnc console option to vm. |
I cannot see such option in my setup. But my setup is kind of a big mix. However, I am using your HTMLs for console, but I am not sure I use them for instance details. |
@catborise I was able to find the html where you expose this functionality and added it to my setup but full console is opening and not working. |
@catborise man. it is working. My mistake - I've fogot to add the value for the proxy path to the URL of the full vnc html file. I've done this and it is working like a charm now. P.S. - and wanted to ask you is there a way (or if it is already possible - how?) to get the URL for the console so that I can open it with some desktop application, not only from web? |
because of specified script it calls a function twice. so it produces two same console app. in vnc-lite.html, specified script statement should be true... <script type="module"> window._noVNC_has_module_support = false;</script>i am committing now. |
@catborise - you are great man! |
@catborise - after you changes didn't worked for me I was able to get the noVNC project from github and make it work in my setup. I have a separate "Send CtrlAltDel" button now, which is working, but the dropdown menu with the send alt+FN keys and fullscreen keys from the console-base.html are not working.
I guess it is something it they way those are being called from the html as I am getting:
referenceError: sendCtrlAltFN is not defined
when I try to send alt+f2 for exmapleCan you please tell me how those should look as I cannot find a solution for that?
Thank you!
The text was updated successfully, but these errors were encountered: