我知道这有点晚了,但对于遇到同样问题的其他人来说。可以按照以下解决方案。这对我有用。
Ubuntu 客户机(在我的例子中,我在 windows 中安装 ubuntu 虚拟机)安装后,您会发现 Ubuntu 操作系统的屏幕尺寸不可扩展,并且您无法在主机和 Ubuntu 之间共享文件夹。
要获得更好的屏幕分辨率,请按照以下步骤操作。
第 1 步
sudo adduser USERNAME sudo
其中 USERNAME 应替换为当前用户名。
第 2 步
To install Guest Additions, click Devices > Insert Guest Additions CD images…
第 3 步
Click 'Run' button (next to 'Cancel' button) to start the installation. Note that the version of VBOXADDITIONS should be matched with the one of VirtualBox you have installed.
第 4 步
Installing Guest Additions requires root privilege. Enter user's password (assume the current user has sudo privilege).
第 5 步
When the installation is finished, press Return key to close the terminal window.
第 6 步
Now prepare to restart the system to enable the change. Click 'Shutdown' on the menu and then the 'Restart' button.
重启 Ubuntu 后,你会看到桌面分辨率好多了。
更清晰的参考
从以下链接中的 Guest Addition(title) 小节查看。用清晰的图像和解释做了
https://brb.nci.nih.gov/seqtools/installUbuntu.html