当前位置: 首页 > news >正文

vm-tools的卸载重装,只能复制粘贴,无法拖拽文件!

开始

  • ubuntu22.04 LTS
  • VMwareTools-10.3.25-20206839.tar.gz
  • VMware Workstation 17 Pro

各种该尝试的配置都尝试了,比如:
1.开启复制粘贴拖拽;
2.VMware Tools拖拽失效;
3.解决VMware无法拖拽.
均没有奏效.

安装过程报错, 报错异常:

The installation of VMware Tools 10.3.25 build-20206839 for Linux completed 
successfully. You can decide to remove this software from your system at any 
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".Before running VMware Tools for the first time, you need to configure it by 
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want 
this program to invoke the command for you now? [yes] INPUT: [yes]  defaultInitializing...Segmentation fault (core dumped)   这里抛出了异常
  1. 写在前面: 折腾了十几次, 在 ubuntu22.04LTS, 通过网络方式安装vmtools后, 确实可以复制粘贴文本,但是无法自由拖拽文件.
  2. 相关配置,我翻找了不下是二十余篇博客,仍没办法解决无法拖拽文件的问题.

卸载

# 卸载vm-tools
sudo apt-get remove open-vm-tools
sudo apt-get remove --auto-remove open-vm-tools
sudo apt-get purge open-vm-tools
sudo apt-get purge --auto-remove open-vm-tools
sudo apt-get autoremove open-vm-toolssudo ./bin/vmware-uninstall-tools.pl  # 同时,也执行一次 本地安装包内的卸载脚本
sudo rm -rf /etc/vmware-tools

[ √ ] 通过网络渠道 安装

安装 Open VM Tools-VMwareDocs

# 安装vm-tools
sudo apt-get update
sudo apt-get install open-vm-tools open-vm-tools-desktop# 进入su模式, 启动服务(有警告,未找到解决方案)
sudo su
vmware-user
exit

警告如下

root@hostname:/home/dawn/桌面/vmware-tools-distrib# vmware-user
root@hostname:/home/dawn/桌面/vmware-tools-distrib# 
(vmware-user:8070): Gtk-WARNING **: 14:33:51.007: gtk_disable_setlocale() must be called before gtk_init()
root@hostname:/home/dawn/桌面/vmware-tools-distrib# exit
exit

[ x ] 通过本地方式 安装

手动安装VM Tools -VMwareDocs
也就是通过 重新安装 VMware Tools(T) VMware workstatioin自带的选项.

解压vm-tools本地压缩包到桌面

sudo ~/桌面/vmware-tools-distrib/vmware-install.pl

(补充记录,我的错误日志)通过在本地压缩包安装,vmware-install.pl 出现如下完整的安装日志:

sudo ./vmware-install.pl 
[sudo] dawn 的密码: 
open-vm-tools packages are available from the OS vendor and VMware recommends 
using open-vm-tools packages. See http://kb.vmware.com/kb/2073803 for more 
information.
Do you still want to proceed with this installation? [no] yINPUT: [y]Creating a new VMware Tools installer database using the tar4 format.Installing VMware Tools.In which directory do you want to install the binary files? 
[/usr/bin] INPUT: [/usr/bin]  defaultWhat is the directory that contains the init directories (rc0.d/ to rc6.d/)? 
[/etc] INPUT: [/etc]  defaultWhat is the directory that contains the init scripts? 
[/etc/init.d] INPUT: [/etc/init.d]  defaultIn which directory do you want to install the daemon files? 
[/usr/sbin] INPUT: [/usr/sbin]  defaultIn which directory do you want to install the library files? 
[/usr/lib/vmware-tools] INPUT: [/usr/lib/vmware-tools]  defaultThe path "/usr/lib/vmware-tools" does not exist currently. This program is 
going to create it, including needed parent directories. Is this what you want?
[yes] INPUT: [yes]  defaultIn which directory do you want to install the documentation files? 
[/usr/share/doc/vmware-tools] INPUT: [/usr/share/doc/vmware-tools]  defaultThe path "/usr/share/doc/vmware-tools" does not exist currently. This program 
is going to create it, including needed parent directories. Is this what you 
want? [yes] INPUT: [yes]  defaultThe installation of VMware Tools 10.3.25 build-20206839 for Linux completed 
successfully. You can decide to remove this software from your system at any 
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".Before running VMware Tools for the first time, you need to configure it by 
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want 
this program to invoke the command for you now? [yes] INPUT: [yes]  defaultInitializing...Segmentation fault (core dumped)Making sure services for VMware Tools are stopped.Stopping VMware Tools services in the virtual machine:Guest operating system daemon:                                      doneVMware User Agent (vmware-user):                                    doneUnmounting HGFS shares:                                             doneGuest filesystem driver:                                            done^[^AThe installation status of vmsync could not be determined. 
Skippinginstallation.The installation status of vmci could not be determined. Skippinginstallation.The installation status of vsock could not be determined. Skippinginstallation.The installation status of vmxnet3 could not be determined. 
Skippinginstallation.The installation status of pvscsi could not be determined. 
Skippinginstallation.The installation status of vmmemctl could not be determined. 
Skippinginstallation.The VMware Host-Guest Filesystem allows for shared folders between the host OS 
and the guest OS in a Fusion or Workstation virtual environment.  Do you wish 
to enable this feature? [yes] INPUT: [s invalid.  It must be one of "y" or "n".The VMware Host-Guest Filesystem allows for shared folders between the host OS 
and the guest OS in a Fusion or Workstation virtual environment.  Do you wish 
to enable this feature? [yes] INPUT: [yes]  defaultThe installation status of vmhgfs could not be determined. 
Skippinginstallation.The vmxnet driver is no longer supported on kernels 3.3 and greater. Please 
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)The vmblock enables dragging or copying files between host and guest in a 
Fusion or Workstation virtual environment.  Do you wish to enable this feature?
[yes] INPUT: [yes]  defaultSkipping configuring automatic kernel modules as no drivers were installed by 
this installer.Disabling timer-based audio scheduling in pulseaudio.Do you want to enable Guest Authentication (vgauth)? [yes] INPUT: [yes]  defaultDetected X server version 1.21.1Distribution provided drivers for Xorg X server are used.Skipping X configuration because X drivers are not included.Skipping rebuilding initrd boot image for kernel as no drivers to be included 
in boot image were installed by this installer.Job for vmware-tools.service failed because the control process exited with error code.
See "systemctl status vmware-tools.service" and "journalctl -xeu vmware-tools.service" for details.
Unable to start services for VMware ToolsExecution aborted.Found VMware Tools CDROM mounted at /media/dawn/VMware Tools. Ejecting device 
/dev/sr0 ...
Enjoy,--the VMware team

相关文章:

  • 北京网站建设多少钱?
  • 辽宁网页制作哪家好_网站建设
  • 高端品牌网站建设_汉中网站制作
  • 大数据新视界 --大数据大厂之Kafka消息队列实战:实现高吞吐量数据传输
  • 详解IOC、AOP及常见面试问题
  • SpringBoot 项目 Jar 包加密,防止反编译
  • ZBrush与Blender雕刻功能哪个更好些?
  • 价值、创新、社区与财富效应:Match项目的成功启示
  • Python+Pytest框架,“conftest.py文件编写如何获取token和获取日志“?
  • 美国税收制度及SAP实施
  • 百年病态集论的症结:3000年不识伪≌直线段
  • 添加选择登录ssh终端
  • Python文本数据切分及HTML数据处理
  • vscode中前端项目文件格式化备份
  • 08_React redux
  • 延迟退休,程序员的你准备好了吗?
  • 基于SpringBoot+Vue的养老院管理系统
  • Java多线程编程-基础篇
  • 分享的文章《人生如棋》
  • [译]如何构建服务器端web组件,为何要构建?
  • 【挥舞JS】JS实现继承,封装一个extends方法
  • Asm.js的简单介绍
  • ES10 特性的完整指南
  • Git初体验
  • Netty源码解析1-Buffer
  • Redis学习笔记 - pipline(流水线、管道)
  • Twitter赢在开放,三年创造奇迹
  • vue-loader 源码解析系列之 selector
  • vue从创建到完整的饿了么(18)购物车详细信息的展示与删除
  • 阿里中间件开源组件:Sentinel 0.2.0正式发布
  • 半理解系列--Promise的进化史
  • 从0到1:PostCSS 插件开发最佳实践
  • 精彩代码 vue.js
  • 前端每日实战 2018 年 7 月份项目汇总(共 29 个项目)
  • 思维导图—你不知道的JavaScript中卷
  • 算法---两个栈实现一个队列
  • 移动端 h5开发相关内容总结(三)
  • 用Canvas画一棵二叉树
  • Prometheus VS InfluxDB
  • ​批处理文件中的errorlevel用法
  • # include “ “ 和 # include < >两者的区别
  • #LLM入门|Prompt#3.3_存储_Memory
  • $forceUpdate()函数
  • $L^p$ 调和函数恒为零
  • (0)Nginx 功能特性
  • (DenseNet)Densely Connected Convolutional Networks--Gao Huang
  • (ISPRS,2023)深度语义-视觉对齐用于zero-shot遥感图像场景分类
  • (poj1.3.2)1791(构造法模拟)
  • (PySpark)RDD实验实战——取最大数出现的次数
  • (搬运以学习)flask 上下文的实现
  • (多级缓存)缓存同步
  • (附源码)springboot工单管理系统 毕业设计 964158
  • (附源码)计算机毕业设计ssm-Java网名推荐系统
  • (附源码)小程序 交通违法举报系统 毕业设计 242045
  • (六)软件测试分工
  • (六)什么是Vite——热更新时vite、webpack做了什么
  • (每日持续更新)信息系统项目管理(第四版)(高级项目管理)考试重点整理第3章 信息系统治理(一)
  • (转)大道至简,职场上做人做事做管理