Arch Linux中使用VMware Workstation不能打开vmmon内核模块

打开VMware Workstation出现错误提示:Could not open /dev/vmmon: No such device.Please make sure that the kernel module `vmmon’ is loaded.

ui

解决方法1

你能够在启动VMware前运行/etc/init.d/vmware start来启动服务code

解决方法2

在Arch Linux上能够经过安装vmware-systemd-serverices这个AUR包,来添加systemctl服务server

  • 使用systemctl enable vmware.service让它每次开机都运行
  • 使用systemctl start vmware.service让它临时启动

解决方法3

添加这个文件
/etc/systemd/system/vmware.serviceblog

[Unit]
Description=VMware daemon
Requires=vmware-usbarbitrator.service
Before=vmware-usbarbitrator.service
After=network.target

[Service]
ExecStart=/etc/init.d/vmware start
ExecStop=/etc/init.d/vmware stop
PIDFile=/var/lock/subsys/vmware
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
  • 使用systemctl enable vmware.service让它每次开机都运行
  • 使用systemctl start vmware.service让它临时启动
相关文章
相关标签/搜索