Dave's Brain

Browse - Computer Tips - How do I change the default run-level for systemd?

Date: 2012feb26
OS: Linux
Keywords: runlevel

Q.  How do I change the default run-level for systemd?

A.  To send the default run-level to 5 (graphical):

	cd /etc/systemd/system
	mv default.target default.target.OLD
	ln -s /lib/systemd/system/runlevel5.target default.target

Then reboot or do:

	telinit 5

(With the older system, init, you would modify /etc/inittab)

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.