systemctl set-default works only once, then you have to manually delete the symlink in /etc/systemd/system/default.target progandy@pamobile /tmp % sudo sc set-default graphical.target :( ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target' progandy@pamobile /etc/systemd/system % sudo sc set-default multi-user.target Failed to set default target: File exists 1 progandy@pamobile /etc/systemd/system % sudo sc set-default graphical.target progandy@pamobile /etc/systemd/system % sudo sc set-default multi-user.target Failed to set default target: File exists progandy@pamobile /etc/systemd/system % sudo rm default.target progandy@pamobile /tmp % sudo sc set-default graphical.target :( ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target'
Hi, Adding the "--force" switch will help you to work around this. There is a patch at: http://lists.freedesktop.org/archives/systemd-devel/2014-April/018659.html Thanks!
Patch applied in http://cgit.freedesktop.org/systemd/systemd/commit/?id=a1484a2.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.