How Do I Set Default Target in Linux?
Contents How Do I Change the Default Target in Linux? Procedure 7.4. Setting Graphical Login as Default Open a Shell Prompt. If You Are in Your User Account...
Contents
How do I change the default target in Linux?
Procedure 7.4. Setting Graphical Login as Default
- Open a shell prompt. If you are in your user account, become root by typing the su – command.
- Change the default target to graphical.target . To do this, execute the following command: # systemctl set-default graphical.target.
What is the default target in Linux?
The default target unit is represented by the /etc/systemd/system/default. target file. This file is a symbolic link to the default target unit file currently set. Use the runlevel command to view the SysV runlevel.