Linux|服务器|简单纪录备忘VMware虚拟机开启桌面失败报错:VMware: No 3D e ...

打印 上一主题 下一主题

主题 547|帖子 547|积分 1641

一,
VMware虚拟机 Linux操作系统,centos7版本,安装完桌面后,执行startx 命令后 ,报错:VMware: No 3D enabled (0, Success).   桌面没有启动成功
完整日志输出如下:
  1. [root@node4 ~]# startx
  2. xauth:  file /root/.serverauth.2982 does not exist
  3. X.Org X Server 1.19.3
  4. Release Date: 2017-03-15
  5. X Protocol Version 11, Revision 0
  6. Build Operating System:  3.10.0-514.16.1.el7.x86_64
  7. Current Operating System: Linux node4 3.10.0-1062.el7.x86_64 #1 SMP Wed Aug 7 18:08:02 UTC 2019 x86_64
  8. Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-1062.el7.x86_64 root=/dev/mapper/centos-root ro rd.lvm.lv=centos/root rhgb quiet LANG=en_US.UTF-8
  9. Build Date: 05 August 2017  06:19:43AM
  10. Build ID: xorg-x11-server 1.19.3-11.el7
  11. Current version of pixman: 0.34.0
  12.         Before reporting problems, check http://wiki.x.org
  13.         to make sure that you have the latest version.
  14. Markers: (--) probed, (**) from config file, (==) default setting,
  15.         (++) from command line, (!!) notice, (II) informational,
  16.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  17. (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan  6 13:29:56 2024
  18. (==) Using config directory: "/etc/X11/xorg.conf.d"
  19. (==) Using system config directory "/usr/share/X11/xorg.conf.d"
  20. VMware: No 3D enabled (0, Success).
  21. touch: cannot touch ‘/root/.cache/imsettings/log’: No such file or directory
  22. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  23. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  24. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  25. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  26. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  27. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  28. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  29. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  30. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  31. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  32. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  33. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  34. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  35. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  36. (imsettings-check:3091): IMSettings-WARNING **: 13:29:56.382: Failed to execute child process “dbus-launch” (No such file or directory)
  37. (imsettings-check:3091): GLib-GIO-CRITICAL **: 13:29:56.382: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
  38. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  39. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  40. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  41. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  42. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  43. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  44. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  45. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  46. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  47. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  48. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  49. /usr/libexec/imsettings-functions: line 37: /root/.cache/imsettings/log: No such file or directory
  50. xinit: connection to X server lost
  51. waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
复制代码
解决方案:

VMware虚拟机关闭后,把这个勾打上,然后在启动虚拟机,再次执行startx命令,成功进入桌面

二,
多个桌面是否可以同时存在?
答案是肯定的,多个桌面可以同时存在,比方GNOME和KDE是可以共存的,只是在使用桌面的时候需要指定使用哪个桌面而已。
三,
GNOME和KDE安装时的应注意事项
通常桌面不需要外部yum源,只使用操作系统ISO搭建的当地堆栈,如果有依靠报错,必须手动排撤除,不能强制安装。
四,
GNOME桌面的安装:
  1. yum groupinstall "GNOME Desktop"
复制代码
KDE桌面的安装:
  1. yum groupinstall "GNOME Desktop"
复制代码
五,
桌面启动的方式
GNOME前台启动方式在centos7下是 startx 命令(如果是在xshell下面)
GNOME后台启动方式在centos7下是systemctl isolate graphical.target(如果是在xshell下面)
KDE前台启动方式:
  1. [root@centos4 ~]# echo "exec startkde">>~/.xinitrc
  2. [root@centos4 ~]# startx
复制代码
启动后前台持续打印日志:
  1. xauth:  file /root/.serverauth.1713 does not exist
  2. X.Org X Server 1.20.4
  3. X Protocol Version 11, Revision 0
  4. Build Operating System:  3.10.0-957.1.3.el7.x86_64
  5. Current Operating System: Linux centos4 3.10.0-1062.el7.x86_64 #1 SMP Wed Aug 7 18:08:02 UTC 2019 x86_64
  6. Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-1062.el7.x86_64 root=/dev/mapper/centos-root ro rd.lvm.lv=centos/root rhgb quiet LANG=en_US.UTF-8
  7. Build Date: 09 August 2019  03:27:09AM
  8. Build ID: xorg-x11-server 1.20.4-7.el7
  9. Current version of pixman: 0.34.0
  10.         Before reporting problems, check http://wiki.x.org
  11.         to make sure that you have the latest version.
  12. Markers: (--) probed, (**) from config file, (==) default setting,
  13.         (++) from command line, (!!) notice, (II) informational,
  14.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  15. (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan  6 19:14:49 2024
  16. (==) Using config directory: "/etc/X11/xorg.conf.d"
  17. (==) Using system config directory "/usr/share/X11/xorg.conf.d"
  18. VMware: No 3D enabled (0, Success).
  19. startkde: Starting up...
  20. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
  21. 。。。。。。。略略略。。。。。。
复制代码



免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

怀念夏天

金牌会员
这个人很懒什么都没写!

标签云

快速回复 返回顶部 返回列表