Virtual Box Version 6.1.16 r140961 (Qt5.6.2) - Copy Paste Not working and ScreenResolution Grey out

Discussions about using Linux guests in VirtualBox.
Post Reply
poker007
Posts: 6
Joined: 23. Dec 2020, 10:23

Virtual Box Version 6.1.16 r140961 (Qt5.6.2) - Copy Paste Not working and ScreenResolution Grey out

Post by poker007 »

Hello Admins,

I am new to VirtualBox and Linux OS, I have installed the VirtualBox and Amazon Linux 2 OS as guest OS in my Windows 10 laptop, everything works great except Copy/Paste and screen resolution.
The copy/paste doesn't work from host to guest as well as within guest Linux copy/paste not working, I cant even see mouse cursor on the Linux terminal window. If I try editing any file using nano editor using keyboard Ctl + C or Shift + Ctl + C for copy and Ctl + V or Shitf+ Ctl+V doesn't work.

I have installed Guest Additions and kernel headers without any errors, I can access my shared folders from Host windows OS to Linux OS without any issues, but typing lines of code is getting pain in the back.
Here is my Vlog and Guest additions detail also attached screenshot for screen resolution which is grey out, please assist.
GuestAdditions version
GuestAdditions version
VBoxScreenResol.png (46.79 KiB) Viewed 3298 times
Attachments
AmazonLinuxAMI2-2020-12-23-08-31-51.log
(89.06 KiB) Downloaded 13 times
GuestAdditionsVersion.PNG
GuestAdditionsVersion.PNG (8.29 KiB) Viewed 3298 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Virtual Box Version 6.1.16 r140961 (Qt5.6.2) - Copy Paste Not working and ScreenResolution Grey

Post by mpack »

Install the current Guest Additions. For some reason you are running a beta copy of the 6.1.0 additions.

Note that the correct GAs are included in the standard VirtualBox install. There is never a good reason to download them separately.
poker007
Posts: 6
Joined: 23. Dec 2020, 10:23

Re: Virtual Box Version 6.1.16 r140961 (Qt5.6.2) - Copy Paste Not working and ScreenResolution Grey

Post by poker007 »

I just reinstalled the latest version of guest additions which comes with VirtualBox, the onlything is I installed it manually by mount the drive to linux guest and run VBoxLinuxAdditions.run.

The new version of guest additoins is 6.1.16
poker007
Posts: 6
Joined: 23. Dec 2020, 10:23

Re: Virtual Box Version 6.1.16 r140961 (Qt5.6.2) - Copy Paste Not working and ScreenResolution Grey

Post by poker007 »

mpack wrote:Install the current Guest Additions. For some reason you are running a beta copy of the 6.1.0 additions.

Note that the correct GAs are included in the standard VirtualBox install. There is never a good reason to download them separately.

Thanks for the pointers, I just reinstalled the latest version of guest additions which comes with VirtualBox, the only thing is I installed it manually by mount the drive to linux guest and run VBoxLinuxAdditions.run.

The new version of guest additoins is 6.1.16 but the problem still persists...any advise on next steps appreciated.
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Virtual Box Version 6.1.16 r140961 (Qt5.6.2) - Copy Paste Not working and ScreenResolution Grey

Post by fth0 »

poker007 wrote:I cant even see mouse cursor on the Linux terminal window
The VirtualBox Shared Clipboard only works when the guest OS provides a clipboard (e.g. in X11 or Wayland). Are you running the Linux guests with a GUI?
poker007
Posts: 6
Joined: 23. Dec 2020, 10:23

Re: Virtual Box Version 6.1.16 r140961 (Qt5.6.2) - Copy Paste Not working and ScreenResolution Grey

Post by poker007 »

fth0 wrote:
poker007 wrote:I cant even see mouse cursor on the Linux terminal window
The VirtualBox Shared Clipboard only works when the guest OS provides a clipboard (e.g. in X11 or Wayland). Are you running the Linux guests with a GUI?

I am running Linux guest with AWS Linux 2 image, no GUI. I suppose I should still able to use copy paste with in Guest OS while editing text in nano editor but this doesnt work either.

I use this in actual virtual server in AWS Cloud which does provides copy/paste function with in Linux 2 OS, the only difference is here I attach the image to VB to boot up.
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Virtual Box Version 6.1.16 r140961 (Qt5.6.2) - Copy Paste Not working and ScreenResolution Grey

Post by fth0 »

poker007 wrote:I am running Linux guest with AWS Linux 2 image, no GUI.
Ok, so neither the VirtualBox screen resolution settings nor copying into or out of the VM can work.
poker007 wrote:I use this in actual virtual server in AWS Cloud which does provides copy/paste function with in Linux 2 OS, the only difference is here I attach the image to VB to boot up.
VirtualBox should not influence the key code for Ctrl+Shift+C et al. You could verify or falsify this in both setups (AWS + VB) by using showkey (similar to xev in X11) in a Linux terminal. Speaking of which, the Linux terminal used could be another suspect.
poker007
Posts: 6
Joined: 23. Dec 2020, 10:23

Re: Virtual Box Version 6.1.16 r140961 (Qt5.6.2) - Copy Paste Not working and ScreenResolution Grey

Post by poker007 »

fth0 wrote:
poker007 wrote:I am running Linux guest with AWS Linux 2 image, no GUI.
Ok, so neither the VirtualBox screen resolution settings nor copying into or out of the VM can work.
poker007 wrote:I use this in actual virtual server in AWS Cloud which does provides copy/paste function with in Linux 2 OS, the only difference is here I attach the image to VB to boot up.
VirtualBox should not influence the key code for Ctrl+Shift+C et al. You could verify or falsify this in both setups (AWS + VB) by using showkey (similar to xev in X11) in a Linux terminal. Speaking of which, the Linux terminal used could be another suspect.

When used with showkey and pressed Shift+Ctrl+C i got the below output:
Copy - Keycode 42,29,46

Paste - Keycode 42,29,47

Another thing to note is the mouse pointer is not visible at all within virtualBox linux terminal.
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Virtual Box Version 6.1.16 r140961 (Qt5.6.2) - Copy Paste Not working and ScreenResolution Grey

Post by fth0 »

poker007 wrote:When used with showkey and pressed Shift+Ctrl+C i got the below output:
Copy - Keycode 42,29,46
Paste - Keycode 42,29,47
Ok, the keycodes are correct, but the keyboard part is probably a red herring.
poker007 wrote:Another thing to note is the mouse pointer is not visible at all within virtualBox linux terminal.
This is the important part: I overlooked the fact that the VirtualBox mouse driver only works in a GUI (X11/Wayland), too. In consequence, there is no mouse integration available in your VM without a GUI.

As an alternative, you could use a SSH connection between the Windows host and the Linux guest, the GUI is on the host side in this case.
poker007
Posts: 6
Joined: 23. Dec 2020, 10:23

Re: Virtual Box Version 6.1.16 r140961 (Qt5.6.2) - Copy Paste Not working and ScreenResolution Grey

Post by poker007 »

fth0 wrote:
poker007 wrote:When used with showkey and pressed Shift+Ctrl+C i got the below output:
Copy - Keycode 42,29,46
Paste - Keycode 42,29,47
Ok, the keycodes are correct, but the keyboard part is probably a red herring.
poker007 wrote:Another thing to note is the mouse pointer is not visible at all within virtualBox linux terminal.
This is the important part: I overlooked the fact that the VirtualBox mouse driver only works in a GUI (X11/Wayland), too. In consequence, there is no mouse integration available in your VM without a GUI.

As an alternative, you could use a SSH connection between the Windows host and the Linux guest, the GUI is on the host side in this case.

OK, in that case I tried connecting using putty from host which solved my problem of copy/paste tons of code.

Merry Christmas!!
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Virtual Box Version 6.1.16 r140961 (Qt5.6.2) - Copy Paste Not working and ScreenResolution Grey

Post by fth0 »

Merry Christmas, too! :)
Post Reply