Wednesday, June 6, 2012

Change Fedora 17 boot from GUI (graphical mode) to CLI (text mode)


A variety of distributions now let systemd, rather than sysvinit, take care of bringing the system up. The newest of the three big init system promises to speed up booting. One of its particular characteristics is that it starts background services in parallel without requiring the dependencies between these services to be specified in advance; this uses hardware resources more efficiently and allows the system to start quickly.

To change the booting from GUI to CLI first you have to first rename or remove default.target from /etc/systemd/system/.


To backup execute the following command
# mv /etc/systemd/system/default.target /etc/systemd/system/default.target.bak
or
to remove execute the following command
# rm -f /etc/systemd/system/default.target

The to make the system to boot into CLI run the following command
#  ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target


That's all. Next time the system starts it will start in CLI mode.

4 comments:

  1. hello !

    tried it and got a boot in text mode - so far so good.
    then the graphic mode activated and i got again the display login in graphical mode.

    same procedure worked fro fedora 15 ...

    so i have no clue whats going wrong here.

    so far no change to the system (only the usual yum update ...)

    could it be that multi-user.target still contains a start of graphical display login ?

    system is a h270 fujitso notebook, distro is the 64 bit version

    ReplyDelete
  2. AWESOME! thanks for this. glad I didn't have to look around too long :)

    ReplyDelete
  3. wait a minute.... no. nobody do this. i have video lag, xserver lag, and audio lag now when i start x

    ReplyDelete
  4. thank you~ I Succeeded.

    ReplyDelete