扩展系统磁盘空间
先在vmware中调整空间。
然后,启动虚拟机。
在终端,安装并用gparted工具调整系统磁盘空间大小。
共享文件夹失效
vmware管理中,连接CD/DVD到:C:\Program Files (x86)\VMware\VMware Player\linux.iso.
然后,启动虚拟机。
copy光驱中的压缩包到desktop,解压。
然后,运行压缩包中的文件:
sudo ./vmware-install.pl (安装过程中,选择“覆盖”)。
或者,参考vmware Ubuntu22.04共享文件夹找不到问题
sudo vmhgfs-fuse .host:/ /mnt -o allow_other
新建脚本,添加到开机脚本中
sudo vim /etc/rc.local
添加如下内容
#!/bin/sh -e
sudo vmhgfs-fuse .host:/ /mnt -o allow_other
#上面那个无效使用这个试试
#sudo vmhgfs-fuse .host:/ /mnt/hgfs -o nonempty -o allow_other
保存后,在终端执行下面这个命令,使脚本能有运行权限
sudo chmod +x /etc/rc.local
设置好之后每次启动就会自动挂载共享文件夹到 /mnt目录下
重启Ubuntu即可
调整终字体大小
放大:ctrl+shift+=
恢复初始大小:ctrl+0
(吐槽:为什么不添加一个缩小呢?:ctrl+shift+-)
虚拟机释放键盘控制快捷键
CTRL+ALT: release the mouse pointer so that it is no longer inside the remote desktop