I know I have seen this before but how can you force RHEL to boot to a command line and not KDE???

I think you modify some RC file somewhere ???

but what file and what line do I edit ?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kent WSr. Network / Systems AdminCommented:
In /etc/inittab

Change default runlevel to 3

This line, usually at the bottom, change the 5 (boot to X) to a 3 (multiuser mode)



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
On RHEL7 the method is described in the same file mentioned above.
Mugojava : you type too fast ;)
Seth SimmonsSr. Systems AdministratorCommented:
inittab is not used with systemd which is what RHEL 7 uses
you would want to do (as root) systemctl set-default multi-user.target
reboot and it will go to a console and not kde
to switch back, just do systemctl set-default graphical.target and reboot

I think you modify some RC file somewhere ???

the files in those folders are for startup items for the different systemd targets (previously known as runlevels)
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Seth SimmonsSr. Systems AdministratorCommented:
another trick is to add "3" at the end of kernel line under /boot/grub/grub.conf.

TY/SA ;)
NAMEWITHELD12Author Commented:
thanks guys

so more on the relationship between systems and initd

Although the systemd process replaces the init process (quite literally, /sbin/init is now a symbolic link to /usr/lib/systemd/systemd) for starting services at boot time and changing runlevels, systemd provides much more control than the init process does while still supporting existing init scripts
It is actually second attempt on parallelized init, previous in RHEL6  (and ubuntu 12) was upstart, and it already did kickass to track startup dependencies and try to prime up startup scripts in parallel...
Red hat 7 should be 1/7th of all versions covered if we count using fingers, the inittab solution works for all versions before v7, so it is technically valid until the point asker admitted using RHEL7...

the /etc/inittab on CentOS7 explains the difference:
# inittab is no longer used when using systemd.
# 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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.