Kali Linux2018 上安装open-vm-tools实现虚拟机交互
最新的kali linux2018已经不再支持原有的vmwaretools,即使安装了也不能实现主机与客户机之间的交互(比如从主机复制文件到客户机)。安装open-vm-tools替代vm tools能够完美实现“自动适应客户机”(即自动适应客户机的分辨率,随意改变窗口大小),和与宿主机之间文件的复制粘贴功能。
首先
换源。终端输入 leafpad /etc/apt/sources.list
修改为以下几个镜像源
#中科大kali源
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
#阿里云kali源
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb http://mirrors.aliyun.com/kali-security kali-rolling/updates main contrib non-free
deb-src http://mirrors.aliyun.com/kali-security kali-rolling/updates main contrib non-free
清华大学源:
deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
#官方更新源
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
个人用的第一个,速度还行
接着输入
apt-get update(更新源)
apt-get install open-vm-tools-desktop fuse(安装open-vm-tools)
reboot(重启生效)
以下步骤可选:
apt-get upgrade(更新软件,文件较大)
apt-get clean(清除软件包)
可参考作者原文https://blog.csdn.net/feizao2333/article/details/79066980