Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-26-2007, 04:26 PM
|
#1
|
LQ Newbie
Registered: Apr 2006
Posts: 23
Rep:
|
Boot into console/command line instead of X
I was wondering how to boot into a command-line interface instead of straight into X. I had done this once a long time ago, but can't find my notes to get this done. I have just installed Ubuntu 7.04, but am thinking of going back to 6.10.
I changed Grub to show the boot process, do I have to change or remove the X portions in the rc files?
Thanks!
~Steve
|
|
|
04-26-2007, 04:28 PM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
To boot into the CLI everytime the system start up, the do
Code:
$sudo update-rc.d -f gdm remove
If you just want to shutdown the xserver, do
Code:
$sudo /etc/init.d/gdm stop
|
|
|
04-26-2007, 05:52 PM
|
#3
|
Senior Member
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466
Rep:
|
The default install has grub entries for Ubuntu and for Ubuntu recovery. Recovery is a command line boot without starting X.
|
|
|
04-26-2007, 06:15 PM
|
#4
|
LQ Newbie
Registered: Apr 2006
Posts: 23
Original Poster
Rep:
|
Redazz,
Thank you! That's what I needed to know... removed the gdm from the rc files!
|
|
|
05-06-2007, 09:14 AM
|
#5
|
Member
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Rep:
|
Now with Upstart replaced sysVinit in Ubuntu(and in Debian as option)..there may be still more changes to come.for eg; the /etc/inittab is now not installed by default.although the file and its formats are obeyed.
|
|
|
12-10-2007, 12:08 AM
|
#6
|
Member
Registered: Apr 2006
Posts: 42
Rep:
|
reddazz, if issue this command to remove the gdm how can i return gdm back again
|
|
|
12-10-2007, 03:41 AM
|
#7
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
Originally Posted by john_smith
reddazz, if issue this command to remove the gdm how can i return gdm back again
|
You can do
Code:
$sudo update-rc.d gdm defaults
|
|
|
12-10-2007, 04:03 AM
|
#8
|
Member
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995
Rep:
|
so /etc/inittab changing default runlevel to 3 isn't the common way anymore?
|
|
|
12-10-2007, 04:22 AM
|
#9
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
Originally Posted by dyasny
so /etc/inittab changing default runlevel to 3 isn't the common way anymore?
|
Its the common way on most distros, but others like Gentoo and Arch have their own methods.
|
|
|
12-10-2007, 04:27 AM
|
#10
|
Member
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995
Rep:
|
I was just surprised nobody even mentioned this, in ubuntu this is supposed to work
|
|
|
12-10-2007, 05:05 AM
|
#11
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
Originally Posted by dyasny
I was just surprised nobody even mentioned this, in ubuntu this is supposed to work
|
Really? I thought this didn't work because Ubuntu is Debian based and the default runlevels do not work in the same manner as other distros.
|
|
|
12-10-2007, 05:18 AM
|
#12
|
Member
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995
Rep:
|
haven't played with inittab since Sarge, but init command works in Gutsy for sure.
|
|
|
All times are GMT -5. The time now is 11:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|