I was using Ubuntu on VirtualBox, but I installed Xubuntu desktop and now display of vm is smaller than my monitor and I cannot resize it.
How to extend it?
答案 0 :(得分:2)
First, you need to make sure you have installed the Virtualbox guest extensions in your virtual machine. Then, it should resize by itself. You can go into fullscreen mode by inputting + F . By default, Hostkey is the right ctrl key, so that would be right ctrl+F. Use the same combination to exit full screen mode.
答案 1 :(得分:1)
you can resize it from corners of the window
答案 2 :(得分:1)
Shutdown your virtual box and in a terminal shell type the following command
VBoxManage setextradata global GUI/MaxGuestResolution 1366,768
the 1366,768 is just what i have set for my screen resolution on my laptop, change this to whatever your current resolution is on the machine your running. This should maximize all screens to full 100% on all guest os's
答案 3 :(得分:0)
原因是由于某些原因未自动安装来宾添加程序包。
解决方法如下, 1.在VirtualBox菜单中,选择“设备”->“插入来宾添加CD映像”。 CD图标将出现在虚拟机的桌面中。 2.双击CD图标,然后选择右上角的“运行软件”。
完成。
答案 4 :(得分:0)
我安装了来宾添加程序,尝试了其他在线找到的方法。但是后来,我才发现我的问题是最大来宾屏幕尺寸的设置。
转到:文件->首选项->显示,然后检查最大来宾屏幕尺寸是否设置为“提示”。如果没有,这就是您的问题的解决方案。首先将其设置为提示。然后,将宽度设置为1920,高度设置为1200
点击确定
现在,启动您的VM并转到:
查看->虚拟屏幕1->将分辨率设置为1920 x 1200
最后,只需单击“查看”选项卡,即可启用自动调整来宾显示选项。
答案 5 :(得分:0)
在安装virtualbox随附的virtualbox guest虚拟机附件之后,通过选择“插入guest虚拟机附件CD”的菜单选项,然后将其双击出现在桌面上,以将其挂载。
然后使用终端将cd放入guest虚拟机附加文件夹,并使用sudo运行VBoxLinux文件。之后:
sudo apt-get update
sudo apt-get install virtualbox-guest-x11
如果询问您有关保存文件或安装新文件的信息,请按i选择新文件/软件包维护者的版本;
sudo VBoxClient --clipboard
如图所示安装 virtualbox-guest-x11 程序包,还可以解决共享文件夹不可见的问题。
安装此软件包(并重新启动虚拟机)还可以解决在调整虚拟机窗口大小时来宾窗口不会自动调整大小的问题。
这也解决了重新启动后粘贴不再起作用并且需要重复sudo VBoxClient --clipboard命令的问题。安装virtualbox-guest-x11后,无需在每次重新启动后重复执行--clipboard命令。