1 启动命令 systemctl isolate graphical.target 2 启动过程: 文件:/etc/systemd/system/graphical.target 来自:systemd包 内容: [Unit] Description=Graphical Interface Documentation=man:systemd.special(7) Requires=multi-user.target Wants=display-manager.service Conflicts=rescue.service rescue.target After=multi-user.target rescue.service rescue.target display-manager.service AllowIsolate=yes 文件:/etc/systemd/system/display-manager.service 来自:安装lightdm包时自动生成 内容:链接到/lib/systemd/system/lightdm.service 文件:/lib/systemd/system/lightdm.service 来自:lightdm包 内容: [Unit] Description=Light Display Manager Documentation=man:lightdm(1) Conflicts=getty@tty1.service After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service livesys-late.service [Service] ExecStart=/usr/sbin/lightdm Restart=always IgnoreSIGPIPE=no BusName=org.freedesktop.DisplayManager [Install] Alias=display-manager.service 文件: /user/sbin/lightdm 来自:lightdm包 内容:二进制可执行文件,启动图形界面。 (责任编辑:IT) |