在公有云厂商云主机上安装EAS、数据库弹出图形界面时闪退,然后要重新登陆系统,之前打开的界面已消失。
分析:
Linux服务器,查看/var/log/messages日志,里面提示gnome桌面环境被系统杀掉,也就是桌面系统崩了。
判断是gnome桌面兼容性问题。
Application 'org.gnome.SettingsDaemon.A11ySettings.desktop' killed by signal 15
Application 'org.gnome.SettingsDaemon.A11ySettings.desktop' killed by signal 15
Application 'org.gnome.SettingsDaemon.Housekeeping.desktop' killed by signal 15
Application 'org.gnome.SettingsDaemon.Mouse.desktop' killed by signal 15
Application 'org.gnome.SettingsDaemon.PrintNotifications.desktop' killed by signal 15
Application 'org.gnome.SettingsDaemon.Rfkill.desktop' killed by signal 15
Application 'org.gnome.SettingsDaemon.ScreensaverProxy.desktop' killed by signal 15
解决:
将gnome桌面环境卸载,安装KDE桌面环境。
(1)卸载gnome
1.1 退出gnome,在命令行界面查询已经安装了的软件包
# yum list installed | grep -Pi '(gnome)'
比如结果为 gnome-desktop3.x86_64
1.2 进行卸载
# yum remove gnome-desktop3.x86_64
(2)Centos7安装KDE桌面环境
# yum groupinstall “KDE Plasma Workspaces”
# startx
# systemctl set-default graphical.target
注:若条件允许,也可以直接重装操作系统,选择KDE桌面环境进行安装。
推荐阅读