Re: Runlevel for textmode

2007-05-14 Thread Celejar
On Sun, 13 May 2007 23:29:53 -0500
Mumia W.. [EMAIL PROTECTED] wrote:

 On 05/13/2007 10:51 AM, Tim Johnson wrote:
  On Sunday 13 May 2007 22:13, Nelson Castillo wrote:
  On 5/13/07, Tim Johnson [EMAIL PROTECTED] wrote:
   snipped
  In Debian you use runlevel 2 for everything.
  (I'd better say there's no need to use another runlevel).
  You'll run on 2 by default whether you use X or not.
understood.
  I'd rm /etc/rc2.d/S30gdm (also xdm and kdm).
 
  I think you can use also the alternatives for that and I guess this
  is the debian way.
 
  I think that:
 
   echo /bin/true  /etc/X11/default-display-manager
 
  could work.
 
  Check /etc/init.d/[x, g, k]dm to see how those scripts use the
  alternatives.
I commented out the line in default-display-manager.
that did it.
  thanks
  tim
  
 
 A better way to do it would be to use the update-rc.d command to 
 configure [xgk]dm to start only in runlevel 4 which is similar to Slackware:
 
 update-rc.d -f gdm remove
 update-rc.d gdm start 70 4 . stop 30 0 1 2 3 5 6 .
 
 http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s-no-x-start

I find that sysv-rc-conf is a great TUI tool for reviewing what
services are starting and adjusting them to suit your needs.

[snip]

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Runlevel for textmode

2007-05-13 Thread Tim Johnson
Hi ;
I want to start in textmode.
In /etc/inittab
I commented out the following line
id:2:initdefault:
as follows:
# id:2:initdefault:
and added the following:
id:3:initdefault:
but etch continues to boot up to an X login.
What runlevel number is needed?
Is there other code to change as well?
In slackware 10.0, runlevel 3 is textmode.
thanks
tim
-- 
Tim Johnson [EMAIL PROTECTED]
Palmer, Alaska, USA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Runlevel for textmode

2007-05-13 Thread Nelson Castillo

On 5/13/07, Tim Johnson [EMAIL PROTECTED] wrote:

Hi ;


Hi.


I want to start in textmode.
In /etc/inittab
I commented out the following line
id:2:initdefault:
as follows:
# id:2:initdefault:
and added the following:
id:3:initdefault:
but etch continues to boot up to an X login.
What runlevel number is needed?


2


# id:2:initdefault:
In slackware 10.0, runlevel 3 is textmode.


In Debian you use runlevel 2 for everything.
(I'd better say there's no need to use another runlevel).
You'll run on 2 by default whether you use X or not.

I'd rm /etc/rc2.d/S30gdm (also xdm and kdm).

I think you can use also the alternatives for that and I guess this
is the debian way.

I think that:

echo /bin/true  /etc/X11/default-display-manager

could work.

Check /etc/init.d/[x, g, k]dm to see how those scripts use the alternatives.

Regards,
Nelson.-

--
http://arhuaco.org
http://emQbit.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Runlevel for textmode

2007-05-13 Thread Liam O'Toole
On Sun, 13 May 2007 14:12:36 +
Tim Johnson [EMAIL PROTECTED] wrote:

 Hi ;
 I want to start in textmode.
 In /etc/inittab
 I commented out the following line
 id:2:initdefault:
 as follows:
 # id:2:initdefault:
 and added the following:
 id:3:initdefault:
 but etch continues to boot up to an X login.

In Debian, runlevels 2 to 5 are identical. The onus is on the
administrator to decide which services run in which levels, by
manipulating the links in the directories /etc/rc[2-5].d.

 What runlevel number is needed?
 Is there other code to change as well?
 In slackware 10.0, runlevel 3 is textmode.

Yes, and in Redhat and derivatives that is also the case. However, they
differ on what is graphical mode.

-- 

Liam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Runlevel for textmode

2007-05-13 Thread Tim Johnson
On Sunday 13 May 2007 22:13, Nelson Castillo wrote:
 On 5/13/07, Tim Johnson [EMAIL PROTECTED] wrote:
 snipped
 In Debian you use runlevel 2 for everything.
 (I'd better say there's no need to use another runlevel).
 You'll run on 2 by default whether you use X or not.
  understood.
 I'd rm /etc/rc2.d/S30gdm (also xdm and kdm).

 I think you can use also the alternatives for that and I guess this
 is the debian way.

 I think that:

  echo /bin/true  /etc/X11/default-display-manager

 could work.

 Check /etc/init.d/[x, g, k]dm to see how those scripts use the
 alternatives.
  I commented out the line in default-display-manager.
  that did it.
thanks
tim

-- 
Tim Johnson [EMAIL PROTECTED]
Palmer, Alaska, USA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Runlevel for textmode

2007-05-13 Thread Mumia W..

On 05/13/2007 10:51 AM, Tim Johnson wrote:

On Sunday 13 May 2007 22:13, Nelson Castillo wrote:

On 5/13/07, Tim Johnson [EMAIL PROTECTED] wrote:

 snipped

In Debian you use runlevel 2 for everything.
(I'd better say there's no need to use another runlevel).
You'll run on 2 by default whether you use X or not.

  understood.

I'd rm /etc/rc2.d/S30gdm (also xdm and kdm).

I think you can use also the alternatives for that and I guess this
is the debian way.

I think that:

 echo /bin/true  /etc/X11/default-display-manager

could work.

Check /etc/init.d/[x, g, k]dm to see how those scripts use the
alternatives.

  I commented out the line in default-display-manager.
  that did it.
thanks
tim



A better way to do it would be to use the update-rc.d command to 
configure [xgk]dm to start only in runlevel 4 which is similar to Slackware:


update-rc.d -f gdm remove
update-rc.d gdm start 70 4 . stop 30 0 1 2 3 5 6 .

http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s-no-x-start

It's a good idea to install and read the Debian Reference:

aptitude install debian-reference-en

The document should be located in /usr/share/doc/Debian/reference/ after 
installation.






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]