Ubuntu tips: Solve the black screen fault during screen capture in VirtualBox

Source: Internet
Author: User
VirtualBox is a software that allows you to run multiple systems on a physical host. It supports Windows, MacOSX, and Linux, and is maintained by Oracle. We have written a lot of articles about VirtualBox here. you can make a quick search to view the label: UbuntuVirtualBox

VirtualBox is a software that allows you to run multiple systems on a physical host. It supports Windows, Mac OS X, and Linux, and is maintained by Oracle.

We have written a lot of articles about VirtualBox here. you can make a quick search to view all the articles about VirtualBox.

Now, there is a story: VirtualBox has a function that allows users to quickly intercept virtual machine session screens. These can be shared with the host through the clipboard.

This is what we want to talk about here. When a function in a Ubuntu virtual machine is enabled, this function cannot work normally. This problem has been a pain point until we have discovered this solution by accident recently.

If we do not use the method we found, after you have captured the screen in the Ubuntu virtual machine, screenshots will be stored as black files, such files will be useless.

I have been struggling to find a solution, but I have never had any good luck until just now.

To enable the two-way clipboard between the Ubuntu virtual machine and the host machine, click "set" on the Ubuntu virtual machine and find "normal-> Advanced Tag ", select this function to enable it.

Now, theoretically, when you enable the Ubuntu virtual machine, press the "Screenshot key" or press "Ctrl + Screenshot key", the virtual machine should take a screenshot of the current desktop session.

Then you can use the clipboard function on the host to view those images.

But! If you enable the "3D acceleration" feature in the Ubuntu virtual machine at the same time, those images will become dark.

To solve this problem, you must disable the 3D acceleration function of the Ubuntu virtual machine! BitsCN.com

You can disable the 3D acceleration function by clicking "set" on the Ubuntu virtual machine, and then finding the "system-> Display-> graphics card" tab to disable 3D acceleration.

Now you must disable 3D acceleration in the Ubuntu virtual machine to make screenshots work normally. Open a virtual machine and try to capture a screen.

Hope this method can help you!

Hope you like it!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.