1. 打开VBOX(Oracle VM VirtualBox),启动Ubuntu 2. 点击"设备>安装增强功能" 3. 进入Ubuntu打开文件管理器,如下图 4. 输入root用户的密码,等待安装完毕后(出现什么Press Return to close this window),按ENTER完成安装 5. 重启Ubuntu,现在你可以看到可以设置高于1024:768的分辨率了,但都是4:3的分辨率,没有1366:768(16:9)的分辨率 6. 打开Terminal,输入c
rc.local脚本 rc.local脚本是一个ubuntu开机后会自动执行的脚本,我们可以在该脚本内添加命令行指令.该脚本位于/etc/路径下,需要root权限才能修改. 该脚本具体格式如下: #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success o