0. 前言
基本概念
简略概述
Display Manager 提供登录需求
在文字界面下可以通过startx来启动Xwindows
在runlevel 5下,在tty7处有可以使用的图形登录界面(方便输入账号密码),这个就是Display Manager–>最大的任务就是登录
在CentOS上,利用GDM (GNOME Display Manager) 程序来提供tty7的图形接口登录–>但作用不仅仅如此
gdm配置文件–>/etc/gdm/custom.conf
XDMCP (X Display Manager Contorl Protocol)
1. 问题描述
CentOS7中的GNOME启用了本地硬件加速功能,所以通过XDMCP协议远程连接CentOS时会有问题。这个在X Manager官网博客中已提及,并建议使用其他的display manager(如lightdm等)和desktop environment(Xfce或KDE等)来规避该问题
在CentOS7中安装好lightdm和Xfce后,由于系统前期已安装了GNOME desktop,在windows下通过xmanager在输入用户名和密码后,仍会报an error:oh no! something has gone wrong, A problem has occurred and the system can't recover之类的错误,如图
2. 安装