PDA

View Full Version : [SOLVED] I want to temporary change to CLI not GUI on Fedora 20 - Heisenbug



Florencio
14th April 2015, 05:34 PM
Hello Everyone!

How can I change the start up to boot to text mode only instead the graphics login?

Finalzone
14th April 2015, 06:13 PM
On boot menu, press "E" for editing the kernel parameter, add "3" after "quiet" line and press ctrl+x.

PabloTwo
14th April 2015, 07:27 PM
The above instructions are for a "one shot" boot directly into run level 3. If you want to make that permanent for every boot, then do the following command as root:

# ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target

Florencio
14th April 2015, 08:16 PM
PabloTwo: I have LXDE which is based on Openbox
I think another way to permanently make it boot into text mode is to do:
# yum autoremove lxdm

kurtdriver
14th April 2015, 08:32 PM
I'd advise you to do it PabloTwo's way and then remove LXDM if you like starting at runlevel 3, as I do.

PabloTwo
14th April 2015, 11:43 PM
PabloTwo: I have LXDE which is based on Openbox
I think another way to permanently make it boot into text mode is to do:
# yum autoremove lxdm

Hmmm...., that's kind of like saying,

"To take the bus to work instead of driving my car, I just sold my car."

Ahmad Samir
15th April 2015, 06:38 AM
The above instructions are for a "one shot" boot directly into run level 3. If you want to make that permanent for every boot, then do the following command as root:

# ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
(With a recent enough version of systemd, you can also use:
systemctl set-default multi-user.target
).

PabloTwo
15th April 2015, 01:51 PM
(With a recent enough version of systemd, you can also use:
systemctl set-default multi-user.target
).
Thanks for that Ahmad, I wasn't aware of that command.

nsnbm
16th April 2015, 12:19 AM
Same here, until I read /etc/inittab in f21:


# inittab is no longer used.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /usr/lib/systemd/system/ctrl-alt-del.target
#
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
#
# To view current default target, run:
# systemctl get-default
#
# To set a default target, run:
# systemctl set-default TARGET.target

Florencio
18th April 2015, 01:26 AM
Merci,
Gracias,
Thank you everyone!