LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-02-2007, 09:41 PM   #1
Peronthious
LQ Newbie
 
Registered: Apr 2006
Distribution: Ubuntu 7.04
Posts: 11

Rep: Reputation: 0
Booting into the Terminal in Ubuntu


Apologies, this seems like such an obvious thing that it's probably been asked before, but I've searched only to find nothing.

How do I boot straight into the terminal with Ubuntu? Other distros I've used have had an option at the login screen, but the only terminal option Ubuntu has is still in the X Server.
 
Old 05-02-2007, 10:29 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
In most distros, you'd edit /etc/inittab and change it to a runlevel that doesn't start a display manager.
 
Old 05-03-2007, 07:56 AM   #3
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
In the GRUB menu there is a "Recovery Mode" that will boot in to single user mode (terminal only)
 
Old 05-11-2007, 09:09 PM   #4
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
disable gdm, kdm, or xdm in you window manager of choice depending on your window manager of choice

then you when you boot up (or logout) you will be at the command line. Then to start your window manager (depending on which one) usually you can just type startx..

cheers
 
Old 05-11-2007, 09:54 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,145

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
Quote:
Originally Posted by digiot
In most distros, you'd edit /etc/inittab and change it to a runlevel that doesn't start a display manager.
Indeed - however the Ubuntu (Feisty) devs, in their collective wisdom, decided no-one would want to do this.

No, I'm not joking.

It is possible to build your own inittab, and it will be recognised as normal.
Why you should have to is a question for the afore-mentioned devs.
 
Old 05-12-2007, 07:40 PM   #6
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
because upstart doesn't need an inittab, it's only read if it exists for compatibility. It's easy to temporarily boot in to a terminal with the recovery mode option at boot, or by running
Code:
sudo /etc/init.d/?dm stop
(where ?dm is either kdm, gdm or xdm)
 
Old 05-12-2007, 08:11 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,145

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
Yes I know about upstart - I don't like the direction.
And info about it obviously hasn't been well disseminated into the wider community; this question gets asked too often.
 
Old 11-17-2007, 12:20 AM   #8
user_X
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
While in the GUI (Gnome), I went to System>Administration>Services and un-checked "Graphical Login Manager." I'm sorry if the wording is not exact, but, with that, I re-booted and was greeted with a terminal screen. I loaded the X-server, by typing "startx." Hope that helps.
 
Old 11-17-2007, 04:40 AM   #9
hamster
Member
 
Registered: Apr 2003
Location: Waterford, Ireland
Distribution: Mandrivia 2006.1, Ubuntu 7.10
Posts: 188

Rep: Reputation: 30
When you turned off the gdm and rebooted - you were left with 640x480 text? Did you have any luck in increasing res to 1280x1024 (or other) using the vga=795 (or the approx number for your res). ?
 
  


Reply

Tags
booting, server, terminal, ubuntu



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
dual booting XP and ubuntu with ubuntu being installed first kajangmarc Linux - General 6 01-30-2009 02:06 PM
xubuntu - booting into root terminal NNP Ubuntu 3 06-11-2006 03:55 PM
Ubuntu getting error when I open a terminal window jokerbw Ubuntu 3 01-11-2006 06:35 PM
Booting to the terminal? kongy Linux - Newbie 1 02-13-2004 01:57 AM
console keyboard configuration\ terminal switching off \ faster booting jamaso Linux - Newbie 5 10-27-2001 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:05 AM.

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
Open Source Consulting | Domain Registration