Centos下安装虚拟机出现问题

NeilZhy 2017-11-18 08:52:39
我的系统是centos7的,然后偶尔有需要为indows的时候,我在centos下面,装了一个虚拟机,但是在安装 的时候出现了如下的错误,请问如何解决
(vmware-installer.py:5369): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“adwaita”,
/usr/share/themes/Adwaita/gtk-2.0/main.rc:733: error: unexpected identifier `direction', expected character `}'

(vmware-installer.py:5369): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“adwaita”,
...全文
363 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
tangbozhi1 2018-10-17
  • 打赏
  • 举报
回复
If you have VMWare Workstation 11.0, you won't get this problem, but if you are still running 10.x, here's what you can do:

Make a backup of /usr/lib/vmware/modules/source/vmnet.tar

Go to /usr/lib/vmware/modules/source

Extract vmnet.tar (tar xvf vmnet.tar)

Change to vmnet-only directory (cd vmnet-only)

Open netif.c using your editor (nano netif.c)

Find this line

dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);

Change it into :

dev = alloc_netdev(sizeof *netIf, deviceName, NET_NAME_USER, VNetNetIfSetup);

Go up one directory (cd ..)

Recreate vmnet.tar (tar cvf vmnet.tar vmnet-only/)

Recompile VMWare (vmware-modconfig --console --install-all)

Optionally, remove vmnet-only directory (rm -rf vmnet-only)

It should be working again
赵4老师 2017-11-21
  • 打赏
  • 举报
回复
百度搜相关关键字。

3,881

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 其它技术问题
社区管理员
  • 其它技术问题社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧