您的位置:首页 > 大数据 > 人工智能

debain(wheezy) 安装增强功能提示无权限解决方法

2015-04-21 19:35 633 查看
在虚拟机里面安装debian来gnome3,默认要按照增强公司才能使用gnome3,按照增强功能提示一下错误.

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"

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐