LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-17-2005, 07:07 PM   #1
kkathman
Member
 
Registered: Sep 2003
Location: Coppell, Texas
Distribution: SUSE 10.1, Kubuntu 6.06 (Dapper)
Posts: 81

Rep: Reputation: 15
How to get to the console when In KDE


I installed Libranet and have encountered a few package problems. One of the issues is that I must reinstall a couple of packages but they must be done at the console and the X-systems must be shut down. Since my system boots into KDE, I'd like to know how to get to a console so I can shut these down and do a package install.

Any help would be appreciated. Thanks.
 
Old 03-17-2005, 07:11 PM   #2
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
from a terminal (inside KDE) change to root then type:

telinit 3

alternatively, if you want to boot to console and then start X manually (by typing startx), you can set it in your inittab file. look for the line

default runlevel::4::

or something (i forget exactly how it looks), and change it to a 3.

Last edited by mcd; 03-17-2005 at 07:18 PM.
 
Old 03-17-2005, 07:15 PM   #3
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
In kde to get to a terminal you can right click the desktop and run command: konsole. Then to boot into CLI you need to change your inittab the line that reads:

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

(since I am running slack it's 4, but if you're running almost anything else it should read 5).

To boot into CLI just change that line to 3 instead of 4, and change it back when you are finished.

Alunduil

p.s. you must be root to edit that file.
 
Old 03-17-2005, 07:19 PM   #4
kkathman
Member
 
Registered: Sep 2003
Location: Coppell, Texas
Distribution: SUSE 10.1, Kubuntu 6.06 (Dapper)
Posts: 81

Original Poster
Rep: Reputation: 15
OK well I got two different answers here. Which file do I change??
 
Old 03-17-2005, 07:29 PM   #5
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
It's your /etc/inittab. Look for the line that says:

id:4:initdefault:

change to 3 if you want to boot into console and you can type startx from there
 
Old 03-17-2005, 07:47 PM   #6
kkathman
Member
 
Registered: Sep 2003
Location: Coppell, Texas
Distribution: SUSE 10.1, Kubuntu 6.06 (Dapper)
Posts: 81

Original Poster
Rep: Reputation: 15
Well interestingly enough, the runlevel set in my inittab is 2.
 
Old 03-17-2005, 08:37 PM   #7
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
Runlevel Description
0 System halt
S Single user mode; from the boot prompt, only with US keyboard
1 Single user mode
2 Local multiuser mode without remote network (e.g., NFS)
3 Full multiuser mode with network
4 Not used
5 Full multiuser mode with network and X display manager KDM (default), GDM, or XDM
6 System reboot


(from http://www.novell.com/documentation/...l/ch13s02.html)

but i also remember reading somewhere else that runlevel 2 is user defined. if you want to see what's being run at the different levels, you can check out your init scripts. i don't know the red-hat system V layout, but i think you'd look in /etc/rc.2/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
switching between kde and console pkpro821 Linux - Newbie 1 08-12-2005 06:13 PM
KDE Remote Console riluve Red Hat 2 02-16-2005 10:01 AM
From console....no KDE... SILVERPENGUIN Linux - General 4 01-14-2004 08:14 PM
Start KDE from console? Sn1PeR Red Hat 2 09-12-2003 12:59 AM
kde console gnu4world Linux - General 3 04-29-2003 03:08 AM


All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration