-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
machines: VNC Vertical Sizing is Off #8392
Comments
Real full screen can be achieved just via external viewer, like @andreasn , what do you think? We might i.e. open a new tab with just the single no-vnc session. Or use just the whole plugin-space. It would be up to the browser if it can resize to full screen (like F11 key in FF). |
@mareklibra true but this has value for those who do not want to open up vnc externally in their firewall; it's only a suggestion really. My main point though is around the vertical sizing - as it makes the functionality unusable. |
@mareklibra any update on the scrollbar issue? The vnc console is still unusable for me because of this. |
@dcrdev , this needs to be fixed. Unfortunately, I did not have time to get to it so far. |
Related: #8894 |
I know this is closed but adding some information that might help someone else. Feel free to delete. It happens sometime when resolution changes (ex.: login screen has a different resolution than the session). The workaround is to modify the size of your browser (restore down then maximize or modify manually). I am also loosing the keyboard when navigating in other menus of Cockpit. If you experience it, you can change the console type to Desktop Viewer and back to VNC or, faster, just click in the black area of VNC (left or right side on the capture above) and then your keys will be captured again by VNC instead of the browser. Since we are in the workarounds, in the Terminal you can Copy and Paste if you do CTRL-A before CTRL-C and CTRL-V. My vote for full screen or a way to hide the left menu to have more space. Having 2FA authentication with Cockpit is great and this is on the the reasons why I do not access VNC directly by opening another port in the FW. |
Having a full screen button or the option of opening the VNC in a different tab would be really nice |
Please create a new issue for that - it makes sense but noone will keep track of it in a closed issue. |
I have the same issue on ubuntu 22 host while installing ubuntu 20 guest. It seem that it has something to do with Virtio video driver as switching to QXL fixed the issue. |
Please provide more details on what exactly you have changed, I am having the same problems on some versions of Centos7, ubuntu and rhel8 & 9. |
i had to install using text mode by adding , at the end thanks goes to |
We have a PR @ cockpit-project/cockpit-machines#900 that should further improve the situation. Hopefully it'll land ASAP, so it should ideally be in the next release of Cockpit. Meanwhile, I'd suggest clicking on "Expand" to make the VM take up more of the browser view, which should help mitigate the issue. It's at the top-right of the "Console" card on the VM's overview: |
even with the "expand" button, it didn't work, i had to install using cli
…On Feb 28, 2023, 11:33 AM +0100, Garrett LeSage ***@***.***>, wrote:
We have a PR @ cockpit-project/cockpit-machines#900 that should further improve the situation. Hopefully it'll land ASAP, so it should ideally be in the next release of Cockpit.
Meanwhile, I'd suggest clicking on "Expand" to make the VM take up more of the browser view, which should help mitigate the issue. It's at the top-right of the "Console" card on the VM's overview:
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
@souhaiebtar: Could you provide details?
We could then try to recreate that and hopefully make sure it's fixed in cockpit-project/cockpit-machines#900 (if it isn't already). Thanks! |
|
I've tried Rocky 9 on what's in main and with that PR, to see what would happen. This is also Fedora 37 (but Silverblue instead of Server, but it should be similar enough). This is on Firefox, but as you note, it should be similar in Chrome too. It looks like it's a lot better with the change. But it's not perfect; there are still some issues. But we're aware of that and plan on merging in the fixes as-is and doing a follow-up to try to get it behaving better in different situations too. So, hopefully, the next version of Cockpit will help fix the problem for you. (And then we'll have to try to figure out how to improve it in the corner case scenarios and for mobile too. Although it's probably a little weird to manipulate a VM via VNC from a phone, even if it worked fully correct, however.) Testing the pending branch with Rocky 9 VMHere's Rocky 9 in the VM page: Here it is after I click expand and move the mouse over it (it had a momentary glitch, but I think that's due to the resize request): Still some issuesSome smaller sizes still have issues (these are all resizing the browser, where responsive mode starts kicking in): (This last one is an iPhone size, after the page was reloaded.) But it's better, especially expandedEven when it's narrow, the expand works: |
@garrett is nested vm enabled by default or not in cockpit, sorry for not being related to the problem above ? |
@souhaiebtar: I'm pretty sure this isn't Cockpit-related. Nested VMs are a system-level thing. I think you should be able to use nested VMs with Cockpit-Machines. File a bug at https://github.com/cockpit-project/cockpit-machines/issues/new if there's some problem specifically with nested machines and Cockpit-Machines. (I think we're even using nested VMs for testing Cockpit-Machines... we have test VMs that test running a VM.) |
Nested VMs are something the OS has to enable and not really something cockpit-machines controls over. For more information see https://www.linux-kvm.org/page/Nested_Guests But note that nested VMs won't be the most fast thing to use. |
I'm having same issue, but on Rocky Linux 9.1
|
Same issues here, trying to install Almalinux 9.1 on a Almaliinux 9.1 host
I've seen this bug for quite a while now, already present for Almalinux 9.0. No improvements seen so far. |
@thiagolinhares @deajan: VNC sizing was fixed in this PR: cockpit-project/cockpit-machines#900, which landed in Cockpit-Machines 286 on March 22. |
@garrett Thanks for the follow up. Hopefully Redhat will backport this at some time. |
Just for the notes, Redhat did backport Cockpit Machines 284 to RHEL 9.2, but didn't include the necessary fix yet. |
The vnc viewer in the latest release doesn't appear to be handling vertical resizing - part of the screen gets cut off and unlike the x axis, the y axis doesn't offer scrollbars.
CentOS 7.4 Host
Fedora 26 Client with Chrome 63.0.3239.132
Might I also make a suggestion at the same time... Could a button be implemented to allow full screen viewing of the running vnc session?
The text was updated successfully, but these errors were encountered: