当前位置: 首页 > 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
http://www.lryc.cn/news/440569.html

相关文章:

  • Docker 容器网络技术
  • C++ 起始帧数、结束帧数、剪辑视频
  • 【项目一】基于pytest的自动化测试框架———解读requests模块
  • 升级Ubuntu内核的几种方法
  • Android绘制靶面,初步点击位置区域划分取值测试
  • 【SpringBoot】调度和执行定时任务--Quartz(超详细)
  • 低代码开发平台系统架构概述
  • 源码编译llama.cpp 、ggml 后端启用自定义BLAS加速
  • glb数据格式
  • 手语识别系统源码分享
  • Oracle 数据库部署与实施
  • 【Python】 ast.literal_eval 与 eval
  • Java 入门指南:JVM(Java虚拟机)垃圾回收机制 —— 新一代垃圾回收器 ZGC 收集器
  • 基于 K8S kubernetes 的常见日志收集方案
  • Unity3D 小案例 像素贪吃蛇 02 蛇的觅食
  • 【sgCreateCallAPIFunction】自定义小工具:敏捷开发→调用接口方法代码生成工具
  • 京东商品详情的 API 探秘与应用
  • 功能测试干了三年,快要废了。。。
  • 【C++】多态的认识和理解
  • linux-安全管理-用户认证
  • webpack5 构建优化方案看这篇就够了!【Node.js进阶】
  • esp32-C2 对接火山引擎实现智能语音(一)
  • 【MySQL-初级】mysql基础操作(账户、数据库、表的增删查改)
  • centos bash脚本一键运行安装go环境
  • vue2制作高复用页面
  • Feed流系统重构:架构篇
  • Android 后台服务之Persistent 属性
  • STM32+ESP01连接到机智云
  • 电脑实时监控软件有哪些?七个电脑屏幕监控软件任你选择
  • 信奥学习规划(CSP-J/S)