在虚拟机里面安装debian来gnome3,默认要按照增强公司才能使用gnome3,按照增强功能提示一下错误
.
root@debian:/media/cdrom0# ./VBoxLinuxAdditions.run
bash: ./VBoxLinuxAdditions .run: Permission denied
解决
搞定安装完毕,若安装过程中提示错误请先执行:apt-get install build-essential linux-headers-`uname -r`
NOTE:关闭虚拟机,设置打开此虚拟机的3d加速功能,重新运行虚拟机后,登陆的时候选择gnome登陆,非系"system default"或者"gnome classic"
root@debian:/media/cdrom0# ./VBoxLinuxAdditions.run
bash: ./VBoxLinuxAdditions .run: Permission denied
解决
root@debian:/media/cdrom0# mkdir /media/vboxguest
root@debian:/media/cdrom0# mount -r /dev/cdrom /media/vboxguest/
root@debian:/media/cdrom0# ls /usr/src/|grep ker
root@debian:/media/cdrom0# cd /media/vboxguest/
root@debian:/media/vboxguest# ls
32Bit runasroot<strong style="color:black;background-color:#99ff99">.</strong>sh VBoxWindowsAdditions<strong style="color:black;background-color:#99ff99">.</strong>exe
64Bit VBoxLinuxAdditions.run VBoxWindowsAdditions-x86<strong style="color:black;background-color:#99ff99">.</strong>exe
AUTORUN<strong style="color:black;background-color:#99ff99">.</strong>INF VBoxSolarisAdditions<strong style="color:black;background-color:#99ff99">.</strong>pkg
autorun<strong style="color:black;background-color:#99ff99">.</strong>sh VBoxWindowsAdditions-amd64<strong style="color:black;background-color:#99ff99">.</strong>exe
root@debian:/media/vboxguest# <strong style="color:black;background-color:#99ff99">.</strong>/VBoxLinuxAdditions.run
Verifying archive integrity<strong style="color:black;background-color:#99ff99">...</strong> All good<strong style="color:black;background-color:#99ff99">.</strong>
搞定安装完毕,若安装过程中提示错误请先执行:apt-get install build-essential linux-headers-`uname -r`
NOTE:关闭虚拟机,设置打开此虚拟机的3d加速功能,重新运行虚拟机后,登陆的时候选择gnome登陆,非系"system default"或者"gnome classic"
![](https://i-blog.csdnimg.cn/blog_migrate/0228d486c4ba08bd7b8d420db2069b96.png)