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

在虚拟机里面安装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"


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值