TranslateProject/published/201404/Daily Ubuntu Tips – Fix Black Screen In Ubuntu Guest With VirtualBox Screen Capture.md
wxy 97bd3352b5 renamed: 10 Useful Random Linux Interview Questions and Answers_t.md -> 201404/10 Useful Random Linux Interview Questions and Answers_t.md
renamed:    10 ssh options for a Secure shell for Safe Data Communication.md -> 201404/10 ssh options for a Secure shell for Safe Data Communication.md
	renamed:    20 Funny Commands of Linux or Linux is Fun in Terminal.md -> 201404/20 Funny Commands of Linux or Linux is Fun in Terminal.md
	renamed:    2048 Now Available For Offline Play In Ubuntu.md -> 201404/2048 Now Available For Offline Play In Ubuntu.md
	renamed:    "5 Command Line Tools for Downloading Files\357\274\217Torrents and Browsing Websites.md" -> "201404/5 Command Line Tools for Downloading Files\357\274\217Torrents and Browsing Websites.md"
	renamed:    5 Linux Distributions that Deserve more Love.md -> 201404/5 Linux Distributions that Deserve more Love.md
	renamed:    A Beginners Guide for XP Users to Switch to Linux.md -> 201404/A Beginners Guide for XP Users to Switch to Linux.md
	renamed:    Beautiful Zukitwo Theme Is the First One for GNOME 3.12.md -> 201404/Beautiful Zukitwo Theme Is the First One for GNOME 3.12.md
	renamed:    Because You Can--Windows 8 GTK Theme For Linux.md -> 201404/Because You Can--Windows 8 GTK Theme For Linux.md
	renamed:    Collectl is a powerful tool to monitor system resources on Linux.md -> 201404/Collectl is a powerful tool to monitor system resources on Linux.md
	renamed:    "Daily Ubuntu Tips \342\200\223 Fix Black Screen In Ubuntu Guest With VirtualBox Screen Capture.md" -> "201404/Daily Ubuntu Tips \342\200\223 Fix Black Screen In Ubuntu Guest With VirtualBox Screen Capture.md"
	renamed:    "Daily Ubuntu Tips \342\200\223 HPLIP 3.14.3 Released \342\200\223 Upgrade In Ubuntu.md" -> "201404/Daily Ubuntu Tips \342\200\223 HPLIP 3.14.3 Released \342\200\223 Upgrade In Ubuntu.md"
	renamed:    Easily Switch Audio Sources With Sound Switcher Indicator In Ubuntu.md -> 201404/Easily Switch Audio Sources With Sound Switcher Indicator In Ubuntu.md
	renamed:    GitHub's New Atom Text Editor Is Open Source, Sort Of, Though Not Really.md -> 201404/GitHub's New Atom Text Editor Is Open Source, Sort Of, Though Not Really.md
	renamed:    Here Are Top 20 Linux Tutorials!.md -> 201404/Here Are Top 20 Linux Tutorials!.md
	renamed:    How To Find IP Conflicts In Linux.md -> 201404/How To Find IP Conflicts In Linux.md
	renamed:    How to Wipe Free Disk Space in Linux.md -> 201404/How to Wipe Free Disk Space in Linux.md
	renamed:    How to enable 32-bit support for 64-bit Ubuntu 13.10 or greater.md -> 201404/How to enable 32-bit support for 64-bit Ubuntu 13.10 or greater.md
	renamed:    How to set up RainLoop webmail in Ubuntu server.md -> 201404/How to set up RainLoop webmail in Ubuntu server.md
	renamed:    How to spoof the MAC address of a network interface on Linux.md -> 201404/How to spoof the MAC address of a network interface on Linux.md
	renamed:    Interesting facts about Raspberry Pi.md -> 201404/Interesting facts about Raspberry Pi.md
	renamed:    Linux 3.15 Will Dramatically Reduce Suspend And Resume Times!.md -> 201404/Linux 3.15 Will Dramatically Reduce Suspend And Resume Times!.md
	renamed:    Linux Basics--Analyze Disk Usage In Ubuntu Linux.md -> 201404/Linux Basics--Analyze Disk Usage In Ubuntu Linux.md
	renamed:    Linux Commands Cheat Sheet in Black & White.md -> 201404/Linux Commands Cheat Sheet in Black & White.md
	renamed:    Linux Kernel News - January and February 2014.md -> 201404/Linux Kernel News - January and February 2014.md
	renamed:    Linux and Unix nload App - Monitor Network Traffic and Bandwidth Usage In Real Time.md -> 201404/Linux and Unix nload App - Monitor Network Traffic and Bandwidth Usage In Real Time.md
	renamed:    Meet uGet, an Amazing Download Manager for Linux.md -> 201404/Meet uGet, an Amazing Download Manager for Linux.md
	renamed:    Moving a city to Linux requires political backing, says Munich project leader.md -> 201404/Moving a city to Linux requires political backing, says Munich project leader.md
	renamed:    Open Source Isn't Just For Developers Anymore.md -> 201404/Open Source Isn't Just For Developers Anymore.md
	renamed:    Play the Best Linux Puzzle Games.md -> 201404/Play the Best Linux Puzzle Games.md
	renamed:    Red Hat Updates Open Source Software Development Tools.md -> 201404/Red Hat Updates Open Source Software Development Tools.md
	renamed:    Ubuntu Touch Email Client Mockup Design Looks Fantastic.md -> 201404/Ubuntu Touch Email Client Mockup Design Looks Fantastic.md
	renamed:    Ultimate Edition 3.9 Linux Distro Is a Complete Mess.md -> 201404/Ultimate Edition 3.9 Linux Distro Is a Complete Mess.md
	renamed:    What if Linus Torvalds Would Have Accepted Job Proposal of Steve Jobs.md -> 201404/What if Linus Torvalds Would Have Accepted Job Proposal of Steve Jobs.md
	renamed:    What is good video editing software on Linux.md -> 201404/What is good video editing software on Linux.md
	renamed:    Windows 7 & 8 Complete Transformation Pack Out for Ubuntu, Debian 8, and Arch Linux.md -> 201404/Windows 7 & 8 Complete Transformation Pack Out for Ubuntu, Debian 8, and Arch Linux.md
	renamed:    nSnake--Play The Classic Snake Game In Linux Terminal.md -> 201404/nSnake--Play The Classic Snake Game In Linux Terminal.md
2014-05-01 06:53:52 +08:00

2.7 KiB
Raw Blame History

每日Ubuntu小技巧解决VirtualBox中截屏时的黑屏故障

VirtualBox是一个可以让你在一台物理主机上运行多个系统的软件。它支持Windows,Mac OS X 和Linux 并且是Oracle公司在维护它。

我们在这里写了很多关于VirtualBox的文章你可以做一个快速的查找来查看所有关于VirtualBox的文章。

现在这里有一个故事VirtualBox有一个功能允许用户快速的截取虚拟机会话的屏幕截图。这些截图可以通过粘贴板和宿主机共享。

这就是我们这里要说的了。当某一个Ubuntu 虚拟机中的功能启用后,这项截图的功能就不能够正常的工作了。这种现象一直是一个痛点,直到最近我们偶然发现了这个解决方法。

如果不采取我们发现的这个方法当你在Ubuntu的虚拟机里面截完屏幕之后截屏的图片将会被存储成全黑的文件这样的文件会毫无用处。

我一直在苦苦寻找解决方法,但是一直都没有好运气,直到刚刚。

要开启Ubuntu下的虚拟机和宿主机之间的双向黏贴板的话请在Ubuntu虚拟机上面点击 “设置”,之后找到“普通->高级标签”,选择这个功能来开启它。

现在理论上当你开启Ubuntu的虚拟机之后按下“截屏键”或者按下“Ctrl+截屏键”,虚拟机就应该为当前的桌面会话来张截屏。

之后你就可以通过在宿主机上面使用粘贴板的功能来看到那些图片了。

**但是!**如果你同时启用了Ubuntu虚拟机中的“3D 加速”功能,那些图片将会变得漆黑一片。

为了解决这个问题你必须关闭Ubuntu虚拟机的3D加速功能

关闭3D加速功能可以这样做在Ubuntu虚拟机种点击“设置”之后找到“系统->显示->显卡”标签关闭3D加速

现在你必须在Ubuntu的虚拟机中设置关闭3D加速才能让截屏正常工作。现在打开一个虚拟机尝试来截个屏幕吧。

希望这个方法能够帮到你!

希望你喜欢!


via: http://www.liberiangeek.net/2014/02/daily-ubuntu-tips-fix-black-screen-in-ubuntu-guest-with-virtualbox-screen-capture/

译者:FineFan 校对:wxy

本文由 LCTT 原创翻译,Linux中国 荣誉推出