LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-28-2008, 08:58 AM   #1
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Rep: Reputation: 30
Run-Level in Ubuntu


Dear all,

I have changed the run-level of boot up using the following configuration,

#/etc/event.d/rc-default ------> telinit 1

When I boot, i go into the prompt login, my problems is, if i want to change back to GNOME, how ya? Just type startx?

Please assist.
 
Old 01-28-2008, 09:35 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
You can try
Code:
 sudo telinit 5
to run things not run at runlevel 1 (including X). Probably, startx will work, too.
 
Old 01-28-2008, 09:54 AM   #3
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by raskin View Post
You can try
Code:
 sudo telinit 5
to run things not run at runlevel 1 (including X). Probably, startx will work, too.
if not to run on RunLevel 1, what should I run on? Because I only want to run in tty. What u mean by including X?
 
Old 01-28-2008, 02:29 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If you want to boot into the CLI and not the GUI, you need to do
Code:
sudo update-rc.d gdm remove
To enable GDM again, you would do
Code:
sudo update-rc.d gdm defaults
Runlevel 1 is usually used just for system maintenance and many services will be disabled by default.
 
  


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
set your default run level so you will boot to a default run level - vga console Adam555 Linux - Newbie 1 01-21-2008 05:55 PM
emacs in run level 3 then switch to X (level 7) then back to level 3 dsoliver Slackware 3 09-01-2006 04:31 AM
What is Run Level? Khmer Linux - General 5 10-18-2005 01:25 PM
Run Level 3 webwolf70 Mandriva 5 01-17-2005 11:41 PM
run level isajera Linux - Software 2 06-22-2001 08:20 AM

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

All times are GMT -5. The time now is 10:55 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
Open Source Consulting | Domain Registration