The default display manager on my Fedora 22 is gdm. If I would like to change it to other display manager like KDM, LightDM or other, which is the portable and reliable method?
Fedora 22上的默认显示管理器是gdm。 如果我想将其更改为其他显示管理器(例如KDM,LightDM或其他),哪一种可移植且可靠的方法?
You can use the “system-switch-displaymanager” tools to manage the display manager. This is possibly the most portable way.
您可以使用“ system -switch-displaymanager” 工具来管理显示管理器。 这可能是最可移植的方式。
To install it:
要安装它:
# dnf install system-switch-displaymanager system-switch-displaymanager-gnome
And choose the display manager after running
并在运行后选择显示管理器
# system-switch-displaymanager
You will need to restart X server to make it take effect.
您将需要重新启动X服务器以使其生效。
If you want to know what’s happening (and it may change in the future):
如果您想知道正在发生什么(将来可能会改变):
# ls -l /etc/systemd/system/display-manager.service
It points to the display manager’s service.
它指向显示经理的服务。
翻译自: https://www.systutorials.com/how-to-change-the-display-manager-on-fedora-linux/