Enable graphical interface using Systemd in CentOS

Source: Internet
Author: User
1start command systemctlisolategraphical.tar get2 start process: File:/etc/systemd/system/graphical.tar get from: systemd package content: [Unit] Description = GraphicalInterfaceDo 1 start Command

Systemctl isolate graphical.tar get

2. startup process:

File:/etc/systemd/system/graphical.tar get
From: systemd package
Content:

[Unit]
Description = Graphical Interface
Documentation = man: systemd. special (7)
Requires=multi user.tar get
Wants =Display-manager.service 
Conflicts = rescue. service rescue.tar get
Afterw.multi-user.tar get rescue. service rescue.tar get display-manager.service
AllowIsolate = yes

File:/etc/systemd/system/display-manager.service
From: Automatically generated when the lightdm package is installed
Content: link/Lib/systemd/system/lightdm. service

File:/lib/systemd/system/lightdm. service
From: lightdm package
Content:
[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

File:/user/sbin/lightdm
From: lightdm package
Content: binary executable file to enable the graphic interface.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.