Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of black screen during screenshot in VirtualBox by Ubuntu

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

In order to solve the problem of black screen when screenshot in VirtualBox by Ubuntu, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

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

Now, here's a story: VirtualBox has a feature that allows users to quickly take screenshots of virtual opportunity conversations. These screenshots can be shared through the pasteboard and the host.

That's what we're talking about here. When the feature in a Ubuntu virtual machine is enabled, the screenshot function does not work properly. This phenomenon has been a pain point until recently we stumbled upon this solution.

If we don't take the method we found, after you capture the screen in the Ubuntu virtual machine, the screenshot will be stored as an all-black file, which will be useless.

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

To open the two-way pasteboard between the virtual machine and the host in Ubuntu, click "Settings" on the Ubuntu virtual machine, then find the "normal-> Advanced tab" and select this feature to turn on it.

Now, in theory, when you turn on the Ubuntu virtual machine, press "Screenshot" or "Ctrl+ Screenshot", and the virtual machine should take a screenshot of the current desktop session.

Then you can see the pictures by using the pasteboard function on the host.

But! If you also enable the "3D acceleration" feature in the Ubuntu virtual machine, those images will become pitch black.

To solve this problem, you must turn off the 3D acceleration feature of the Ubuntu virtual machine!

To turn off 3D acceleration, you can do this: click "Settings" on the Ubuntu virtual machine, then find the "system-> display-> Video Card" tab, and turn off 3D acceleration.

Now you have to turn off 3D acceleration in Ubuntu's virtual machine for screenshots to work properly. Now turn on a virtual machine and try to capture a screen.

This is the answer to the question about how Ubuntu solves the problem of black screen when taking screenshots in VirtualBox. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report