Re: How to switch to text mode

2007-02-08 Thread Andrei Popescu
On Wed, 07 Feb 2007 23:46:57 -0800
Freddy Freeloader [EMAIL PROTECTED] wrote:

 I can tell the difference in browsing speed on my machines if my
 ISP's network gets congested, with Mozilla or Firefox.  If browsing
 slows down to anywhere near dialup speeds I can ping the local
 gateway for a couple of minutes and see latencies that are
 consistently much higher than normal every time.   I don't have all
 that fast of a connection, 3 mb/s, or very fast machines, 1ghz
 Pentium 3's on my old servers.  

3 milibits/sec? :))) Come on, 3Mb would be ~360 kB/s! Of course you see
the difference to dial up speeds, that's almost 100 times faster!!!
 
 The reason I wouldn't run a gui by default is that these old machines 
 don't have a lot of memory in them, and a gui eats a lot of resources
 so I only use one occasionally and then shut it down after I'm done
 using it.  I prefer using a cli most of the time because it's more
 flexible and powerful in many respects than a gui, but some things,
 like a browser, just seem more natural as a graphical interface to
 me.   Maybe it's because I didn't start computing with DOS or Linux,
 but with a gui. 

If all you need is browsing, the fastest start you can get is xinit
with your browser instead of an xterm (I don't remember what config file
to change, maybe .xinitrc?). But you won't be able to run anything else.
A more flexible solution is to use some minimalistic window manager
(fluxbox, ... or even icewm).

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


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



Re: How to switch to text mode

2007-02-08 Thread Marcus Blumhagen
On Thu, Feb 08, 2007 at 11:04:14AM +0200, Andrei Popescu wrote:
 If all you need is browsing, the fastest start you can get is xinit
 with your browser instead of an xterm (I don't remember what config file
 to change, maybe .xinitrc?). But you won't be able to run anything else.
 A more flexible solution is to use some minimalistic window manager
 (fluxbox, ... or even icewm).

If plain X is not sufficient, I'd recommend wmii. It has a really
small footprint in terms of memory usage and depencies; libc6, 
libx11-6, libxrandr2 plus their respective depencies, but that's it. 
And also it is a windows manager in the words' sense, because it 
maximizes the usage of the screen by arranging (managing) your 
windows.  
For me it was definitely worth the 1 hour learning time.  Never want
to miss it anymore.

Just my 2¢

Regards
-- 
Marcus Blumhagen

Any intelligent fool can make things bigger, more complex, and more
violent. It takes a touch of genius -- and a lot of courage -- to move
in the opposite direction.
  -- Albert Einstein


signature.asc
Description: Digital signature


Re: How to switch to text mode

2007-02-08 Thread Andrew Sackville-West
On Thu, Feb 08, 2007 at 11:04:14AM +0200, Andrei Popescu wrote:
 On Wed, 07 Feb 2007 23:46:57 -0800
 Freddy Freeloader [EMAIL PROTECTED] wrote:
 
  
  The reason I wouldn't run a gui by default is that these old machines 
  don't have a lot of memory in them, and a gui eats a lot of resources
  so I only use one occasionally and then shut it down after I'm done
  using it.  I prefer using a cli most of the time because it's more
  flexible and powerful in many respects than a gui, but some things,
  like a browser, just seem more natural as a graphical interface to
  me.   Maybe it's because I didn't start computing with DOS or Linux,
  but with a gui. 
 
 If all you need is browsing, the fastest start you can get is xinit
 with your browser instead of an xterm (I don't remember what config file
 to change, maybe .xinitrc?). But you won't be able to run anything else.
 A more flexible solution is to use some minimalistic window manager
 (fluxbox, ... or even icewm).


yes, ~/.xinitrc

something like a single line in it:

iceweasel

then running startx will give you an x-session with JUST that program and 
nothing
more. when you exit iceweasel, the x-session will die and drop you
back to a vt. 

A


signature.asc
Description: Digital signature


Re: How to switch to text mode

2007-02-07 Thread Freddy Freeloader

Paul E Condon wrote:

On Tue, Feb 06, 2007 at 04:30:50PM -0800, Francis Healy wrote:
  

Freddy Freeloader [EMAIL PROTECTED] wrote:Glenn Becker wrote:


Yes, I'd say much more elegant! :^)
  

I'd say - no.


Okay! :^)

  

to remove:
#update-rc.d -f gdm remove

to restore:
#update-rc.d gdm defaults


I learned something, today, great! TMTOWTDI, I guess.

G

+-+
Glenn Becker - [EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org
+-+

  
I guess I do things a different way than everyone else. All I do on the 
machines I have that have a gui installed, but I'd prefer them to not 
boot to the gui, is just rename /etc/init.d/gdm to /etc/init.d/gdm.old. 
Then the all the links at the different run levels don't see the gdm 
startup script. Then if I was to fire up the gui all I do is type, as 
root, gdm and hit enter. 

Is it an elegant solution? No. Is it easy to change if I ever decide I 
want to boot into the gui? Yes. All I do is rename /etc/init.d/gdm.old 
to gdm and I'm good to go. 
  You can also put 'exit 0' at the top of the script so that it doesn't execute. 



I use 'apt-get remove gdm'. When it is not installed, it surely will
not run at startup ;-). If you do use this approach, you need to make 
sure that you also remove kdm, xdm, and any other ?dm. 

  
LOL.  I suppose that's a solution.  However, I occasionally do some 
browsing when Googling answers to problems on those machines so being 
able to fire up the gui easily is sort of a must. 

I do like the update-rc.d solution above though.  I just hadn't seen it 
before. 



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




Re: How to switch to text mode

2007-02-07 Thread Mathias Brodala
Hello Freddy.

Freddy Freeloader, 07.02.2007 17:18:
 Paul E Condon wrote:
 On Tue, Feb 06, 2007 at 04:30:50PM -0800, Francis Healy wrote:
  
 I use 'apt-get remove gdm'. When it is not installed, it surely will
 not run at startup ;-). If you do use this approach, you need to make
 sure that you also remove kdm, xdm, and any other ?dm.
   
 LOL.  I suppose that's a solution.  However, I occasionally do some
 browsing when Googling answers to problems on those machines so being
 able to fire up the gui easily is sort of a must.

Every desktop environment comes with an starting application/script which can be
used to start the environment. (startkde, gnome-session, xfce4-session, …)

So you don’t necessarily need a display manager


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: How to switch to text mode

2007-02-07 Thread Freddy Freeloader

Mathias Brodala wrote:

Hello Freddy.

Freddy Freeloader, 07.02.2007 17:18:
  

Paul E Condon wrote:


On Tue, Feb 06, 2007 at 04:30:50PM -0800, Francis Healy wrote:
 
I use 'apt-get remove gdm'. When it is not installed, it surely will

not run at startup ;-). If you do use this approach, you need to make
sure that you also remove kdm, xdm, and any other ?dm.
  
  

LOL.  I suppose that's a solution.  However, I occasionally do some
browsing when Googling answers to problems on those machines so being
able to fire up the gui easily is sort of a must.



Every desktop environment comes with an starting application/script which can be
used to start the environment. (startkde, gnome-session, xfce4-session, …)

So you don’t necessarily need a display manager


Regards, Mathias

  
This is true.  Guess I'm just a creature of habit. 



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




Re: How to switch to text mode

2007-02-07 Thread Andrei Popescu
On Wed, 07 Feb 2007 08:18:26 -0800
Freddy Freeloader [EMAIL PROTECTED] wrote:

 LOL.  I suppose that's a solution.  However, I occasionally do some 
 browsing when Googling answers to problems on those machines so being 
 able to fire up the gui easily is sort of a must. 

And what's wrong with startx?

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


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



Re: How to switch to text mode

2007-02-07 Thread Freddy Freeloader

Andrei Popescu wrote:

On Wed, 07 Feb 2007 08:18:26 -0800
Freddy Freeloader [EMAIL PROTECTED] wrote:

  
LOL.  I suppose that's a solution.  However, I occasionally do some 
browsing when Googling answers to problems on those machines so being 
able to fire up the gui easily is sort of a must. 



And what's wrong with startx?

Regards,
Andrei
  
Who said there is anything wrong with it?  I didn't.  Like I said 
originally, I guess I just do things a little differently than most do. 



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




Re: How to switch to text mode

2007-02-07 Thread Andrei Popescu
On Wed, 07 Feb 2007 09:02:57 -0800
Freddy Freeloader [EMAIL PROTECTED] wrote:

 Andrei Popescu wrote:
  On Wed, 07 Feb 2007 08:18:26 -0800
  Freddy Freeloader [EMAIL PROTECTED] wrote:
 

  LOL.  I suppose that's a solution.  However, I occasionally do
  some browsing when Googling answers to problems on those machines
  so being able to fire up the gui easily is sort of a must. 
  
 
  And what's wrong with startx?
 
  Regards,
  Andrei

 Who said there is anything wrong with it?  I didn't.  Like I said 
 originally, I guess I just do things a little differently than most
 do. 

There is more than one way to do it, of course :) I was merely
suggesting an alternative and just 'try startx' would have been too
dry (at the moment I can't think of a better word in English).

Here's another option also relevant for your initial query. Delete the
symlink for gdm, but only from runlevel 2. If you want gui then just do
'init 3'.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


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



Re: How to switch to text mode

2007-02-07 Thread cga2000
On Wed, Feb 07, 2007 at 12:42:27PM EST, Andrei Popescu wrote:
 On Wed, 07 Feb 2007 09:02:57 -0800
 Freddy Freeloader [EMAIL PROTECTED] wrote:
 
  Andrei Popescu wrote:
   On Wed, 07 Feb 2007 08:18:26 -0800
   Freddy Freeloader [EMAIL PROTECTED] wrote:
  
 
   LOL.  I suppose that's a solution.  However, I occasionally do
   some browsing when Googling answers to problems on those machines
   so being able to fire up the gui easily is sort of a must. 

If you are just googling for answers and unless you have a _very_ fast
machine, a text browser such as elinks will take you to solutions a lot
quicker than any gui.

After I subscribed to a reputedly fast broadband connection, I didn't
see any improvement over dialup whatsoever as far as _browsing/surfing_
was concerned.  Suspected some dns problem, intially .. but no .. it was
just the incredible sluggishness of mozilla's rendering that was the
problem.

And elinks does know how to invoke a viewer for those rare .jpeg's etc.
that might be relevant to the problem/solution.. 

No popups .. no commercials .. no flash shock waves et al..

Your choice.

   And what's wrong with startx?
  
   Regards,
   Andrei
 
  Who said there is anything wrong with it?  I didn't.  Like I said 
  originally, I guess I just do things a little differently than most
  do. 
 
 There is more than one way to do it, of course :) I was merely
 suggesting an alternative and just 'try startx' would have been too
 dry (at the moment I can't think of a better word in English).
 
 Here's another option also relevant for your initial query. Delete the
 symlink for gdm, but only from runlevel 2. If you want gui then just do
 'init 3'.

Doesn't the magical Ctrl+Alt+F{1-6} key combo take you back to a text
console when you already have an evil *display-manager running on
vt{6-12} .. ??

Or is the OP simply dissatified with xdm, gdm, kdm, wdm,  Co. and has
decided to switch back _for good_ to a more sensible start X solution?

Thanks,

cga.


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



Re: How to switch to text mode

2007-02-07 Thread Guillermo Garron

On 2/6/07, myusernet [EMAIL PROTECTED] wrote:

I am running xfce4 but I want to boot the system to console instead of gui.
What am I supposed to do?

Hi,

just, go to the

/etc/inittab and change this line
id:2:initdefault:
for this
id:3:initdefault:
then
rename your file SXXgdm or SXXkdm or SXXxdm (only one will be
available) in your case will be SXXxdm
where XX is a number just change the S for a K
example
if your file is
S13xdm rename it for K13xdm

this file should be found in the /etc/rc3.d/

and then restart your PC, if you later want your xfce back just edit the
/etc/inittab again
and change your line
id:3:initdefault:
to
id:2:initdefault:

with this line you are saying Debian you want to start at runlevel 2
instead of 3 and execute the scripts in /etc/rc2.d/ instead of
/etc/rc3.d/

should be enough.

regards,
--
Guillermo Garron
Linux IS user friendly... It's just selective about who its friends are.
(Using FC6, CentOS4.4 and Ubuntu 6.06)
http://feeds.feedburner.com/go2linux
http://www.go2linux.org


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




Re: How to switch to text mode

2007-02-07 Thread Douglas Allan Tutty
On Wed, Feb 07, 2007 at 08:22:32PM -0400, Guillermo Garron wrote:
 
 this file should be found in the /etc/rc3.d/
 
 and then restart your PC, if you later want your xfce back just edit the
 /etc/inittab again
 and change your line
 id:3:initdefault:
 to
 id:2:initdefault:
 
 with this line you are saying Debian you want to start at runlevel 2
 instead of 3 and execute the scripts in /etc/rc2.d/ instead of
 /etc/rc3.d/
 

You shouldn't have to restart, just enter telinit q to have init re-read
/etc/inittab.  Then telinit 3 will take you to runlevel 3 where your *dm
isn't running.

Doug.


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



Re: How to switch to text mode

2007-02-07 Thread Guillermo Garron

On 2/7/07, Douglas Allan Tutty [EMAIL PROTECTED] wrote:

On Wed, Feb 07, 2007 at 08:22:32PM -0400, Guillermo Garron wrote:

 this file should be found in the /etc/rc3.d/

 and then restart your PC, if you later want your xfce back just edit the
 /etc/inittab again
 and change your line
 id:3:initdefault:
 to
 id:2:initdefault:

 with this line you are saying Debian you want to start at runlevel 2
 instead of 3 and execute the scripts in /etc/rc2.d/ instead of
 /etc/rc3.d/


You shouldn't have to restart, just enter telinit q to have init re-read
/etc/inittab.  Then telinit 3 will take you to runlevel 3 where your *dm
isn't running.


thanks!
--
Guillermo Garron
Linux IS user friendly... It's just selective about who its friends are.
(Using FC6, CentOS4.4 and Ubuntu 6.06)
http://feeds.feedburner.com/go2linux
http://www.go2linux.org


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




Re: How to switch to text mode

2007-02-07 Thread Freddy Freeloader

cga2000 wrote:

On Wed, Feb 07, 2007 at 12:42:27PM EST, Andrei Popescu wrote:
  

On Wed, 07 Feb 2007 09:02:57 -0800
Freddy Freeloader [EMAIL PROTECTED] wrote:



Andrei Popescu wrote:
  

On Wed, 07 Feb 2007 08:18:26 -0800
Freddy Freeloader [EMAIL PROTECTED] wrote:

  


LOL.  I suppose that's a solution.  However, I occasionally do
some browsing when Googling answers to problems on those machines
so being able to fire up the gui easily is sort of a must. 
  


If you are just googling for answers and unless you have a _very_ fast
machine, a text browser such as elinks will take you to solutions a lot
quicker than any gui.

After I subscribed to a reputedly fast broadband connection, I didn't
see any improvement over dialup whatsoever as far as _browsing/surfing_
was concerned.  Suspected some dns problem, intially .. but no .. it was
just the incredible sluggishness of mozilla's rendering that was the
problem.

And elinks does know how to invoke a viewer for those rare .jpeg's etc.
that might be relevant to the problem/solution.. 


No popups .. no commercials .. no flash shock waves et al..

Your choice.

  

And what's wrong with startx?

Regards,
Andrei
  

Who said there is anything wrong with it?  I didn't.  Like I said 
originally, I guess I just do things a little differently than most
do. 
  

There is more than one way to do it, of course :) I was merely
suggesting an alternative and just 'try startx' would have been too
dry (at the moment I can't think of a better word in English).

Here's another option also relevant for your initial query. Delete the
symlink for gdm, but only from runlevel 2. If you want gui then just do
'init 3'.

Actually I wasn't the OP'er on this thread.  I just commented on how I 
dealt with booting into a text console by default, but leaving myself a 
way of starting a gui if I desired to use one occasionally.   I do most 
things from a text console, but when I start Googling for information I 
like a graphical browser.  I've tried a couple of text-based browsers 
and just didn't care for them.



Doesn't the magical Ctrl+Alt+F{1-6} key combo take you back to a text
console when you already have an evil *display-manager running on
vt{6-12} .. ??

Or is the OP simply dissatified with xdm, gdm, kdm, wdm,  Co. and has
decided to switch back _for good_ to a more sensible start X solution?

Thanks,

cga.


  
I can tell the difference in browsing speed on my machines if my ISP's 
network gets congested, with Mozilla or Firefox.  If browsing slows down 
to anywhere near dialup speeds I can ping the local gateway for a couple 
of minutes and see latencies that are consistently much higher than 
normal every time.   I don't have all that fast of a connection, 3 mb/s, 
or very fast machines, 1ghz Pentium 3's on my old servers.  

The reason I wouldn't run a gui by default is that these old machines 
don't have a lot of memory in them, and a gui eats a lot of resources so 
I only use one occasionally and then shut it down after I'm done using 
it.  I prefer using a cli most of the time because it's more flexible 
and powerful in many respects than a gui, but some things, like a 
browser, just seem more natural as a graphical interface to me.   Maybe 
it's because I didn't start computing with DOS or Linux, but with a gui. 



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




How to switch to text mode

2007-02-06 Thread myusernet
I am running xfce4 but I want to boot the system to console instead of gui. 
What am I supposed to do?   

Re: How to switch to text mode

2007-02-06 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/06/07 08:44, myusernet wrote:
 I am running xfce4 but I want to boot the system to console
 instead of gui. What am I supposed to do?

Congratulations on your brave adventure!  Many of us have taken this
road to True Geekdom and have never looked back.

What you do is purge the packages gdm, xdm  kdm.  You'll only have
one of them installed, but I list them all just to be comprehensive.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFyJakS9HxQb37XmcRAhuYAKDOcjjRPUPfRYLzWZRDpCXp52SIPQCg203V
//CBCXsKaKfmbtI2GO7z8IM=
=dJk0
-END PGP SIGNATURE-


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



Re: How to switch to text mode

2007-02-06 Thread Glenn Becker


I am running xfce4 but I want to boot the system to console instead of 
gui. What am I supposed to do?


IIRC you need to go into /etc/rc.d/rc*.d/ and mv 'S99gdm' to 'K99gdm' 
wherever it appears. Same if you see 'S99kdm' anywhere. This will keep the 
GUI login splash from starting up.


GB

+-+
Glenn Becker - [EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org
+-+


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




Re: How to switch to text mode

2007-02-06 Thread Kent West

Ron Johnson wrote:

What you do is purge the packages gdm, xdm  kdm.  You'll only have
one of them installed, but I list them all just to be comprehensive.
  


Not quite all; wdm is also a possibility; perhaps others.


--
Kent West
http://kentwest.blogspot.com http://kentwest.blogspot.com/


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




Re: How to switch to text mode

2007-02-06 Thread Kent West

Glenn Becker wrote:


I am running xfce4 but I want to boot the system to console instead 
of gui. What am I supposed to do?


IIRC you need to go into /etc/rc.d/rc*.d/ and mv 'S99gdm' to 'K99gdm' 
wherever it appears. Same if you see 'S99kdm' anywhere. This will keep 
the GUI login splash from starting up.


Whereas this will work (assuming you're using gdm or kdm instead of xdm 
or wdm), you'll have to do this for each runlevel.


I find it easier to temporarily disable [gkxw]dm by editing 
/etc/init.d/[gkxw]dm and putting the single line exit 0 as the first 
non-comment line in the script (or, for ease of finding later, just as 
the first line). This way you only have to edit one file rather than 
five or so.



--
Kent West
http://kentwest.blogspot.com http://kentwest.blogspot.com/


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




Re: How to switch to text mode

2007-02-06 Thread Glenn Becker


Whereas this will work (assuming you're using gdm or kdm instead of xdm 
or wdm), you'll have to do this for each runlevel.


I find it easier to temporarily disable [gkxw]dm by editing 
/etc/init.d/[gkxw]dm and putting the single line exit 0 as the first 
non-comment line in the script (or, for ease of finding later, just as 
the first line). This way you only have to edit one file rather than 
five or so.


Yes, I'd say much more elegant! :^)

+-+
Glenn Becker - [EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org
+-+


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




Re: How to switch to text mode

2007-02-06 Thread Atis

On 2/6/07, Glenn Becker [EMAIL PROTECTED] wrote:


 Whereas this will work (assuming you're using gdm or kdm instead of xdm
 or wdm), you'll have to do this for each runlevel.

 I find it easier to temporarily disable [gkxw]dm by editing
 /etc/init.d/[gkxw]dm and putting the single line exit 0 as the first
 non-comment line in the script (or, for ease of finding later, just as
 the first line). This way you only have to edit one file rather than
 five or so.

Yes, I'd say much more elegant! :^)


I'd say - no.

to remove:
#update-rc.d -f gdm remove

to restore:
#update-rc.d gdm defaults

Regards,
Atis


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




Re: How to switch to text mode

2007-02-06 Thread Glenn Becker



Yes, I'd say much more elegant! :^)


I'd say - no.


Okay! :^)


to remove:
#update-rc.d -f gdm remove

to restore:
#update-rc.d gdm defaults


I learned something, today, great! TMTOWTDI, I guess.

G

+-+
Glenn Becker - [EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org
+-+


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




Re: How to switch to text mode

2007-02-06 Thread Andrew Sackville-West
On Tue, Feb 06, 2007 at 10:44:33PM +0800, myusernet wrote:
 I am running xfce4 but I want to boot the system to console instead
of gui. What am I supposed to do?   

While all the others have provided you with various
solutions... here's the easy one... ;-P

There is a command -- update-rc.d -- that controls these things. If
you have a service starting at boot that you want to prevent from
starting use the following as root:


update-rc.d service remove

it may warn you to use -f to force it in which case:

update-rc.d -f service remove

In your case, if you're using gdm:

update-rc.d -f gdm remove

this will remove all the symlinks to gdm in all the runlevels so that
gdm will not start at boot-up. If you want to put it back later:

update-rc.d gdm defaults

please see man update-rc.d for details.

A


signature.asc
Description: Digital signature


Re: How to switch to text mode

2007-02-06 Thread Atis

On 2/6/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:

On Tue, Feb 06, 2007 at 10:44:33PM +0800, myusernet wrote:
In your case, if you're using gdm:

update-rc.d -f gdm remove

this will remove all the symlinks to gdm in all the runlevels so that
gdm will not start at boot-up. If you want to put it back later:

update-rc.d gdm defaults

please see man update-rc.d for details.


I was faster :D

Btw, if you later want to start it once, you can use

#/etc/init.d/gdm start

Regards,
Atis


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




Re: How to switch to text mode

2007-02-06 Thread Andrew Sackville-West
On Tue, Feb 06, 2007 at 06:21:36PM +0200, Atis wrote:
 On 2/6/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
 On Tue, Feb 06, 2007 at 10:44:33PM +0800, myusernet wrote:
 In your case, if you're using gdm:
 
 update-rc.d -f gdm remove
 
 this will remove all the symlinks to gdm in all the runlevels so that
 gdm will not start at boot-up. If you want to put it back later:
 
 update-rc.d gdm defaults
 
 please see man update-rc.d for details.
 
 I was faster :D

dang, I know. That's what I get for both fixing breakfast *AND*
writing emails at the same time... too slow...

;-)

A


signature.asc
Description: Digital signature


Re: How to switch to text mode

2007-02-06 Thread Freddy Freeloader

Glenn Becker wrote:



Yes, I'd say much more elegant! :^)


I'd say - no.


Okay! :^)


to remove:
#update-rc.d -f gdm remove

to restore:
#update-rc.d gdm defaults


I learned something, today, great! TMTOWTDI, I guess.

G

+-+
Glenn Becker - [EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org
+-+


I guess I do things a different way than everyone else.  All I do on the 
machines I have that have a gui installed, but I'd prefer them to not 
boot to the gui, is just rename /etc/init.d/gdm to /etc/init.d/gdm.old.  
Then the all the links at the different run levels don't see the gdm 
startup script.  Then if I was to fire up the gui all I do is type, as 
root, gdm and hit enter. 

Is it an elegant solution? No.  Is it easy to change if I ever decide I 
want to boot into the gui?  Yes.  All I do is rename /etc/init.d/gdm.old 
to gdm and I'm good to go. 



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




Re: How to switch to text mode

2007-02-06 Thread Marcus Blumhagen
On Tue, Feb 06, 2007 at 06:03:43PM +0200, Atis wrote:
 [...]
 to remove:
 #update-rc.d -f gdm remove
 [...]

Although this way is quite fast, one would have to do it again
everytime an upgrade of [gkwx]dm happens, since there will be no
symlinks in /etc/rc*.d. But if there were KNN[gkwx]dm links in
the appropriate /etc/rc*.d invoke-rc.d would do nothing.

My solution is to use sysv-rc-conf. It is a small package and provides
a simple interface. Just type sysv-rc-conf as root, choose the default
runlevel and scroll to the line with the service and remove the X.

My 2¢
Marcus


signature.asc
Description: Digital signature


Re: How to switch to text mode

2007-02-06 Thread Douglas Allan Tutty
On Tue, Feb 06, 2007 at 03:08:37PM +, Glenn Becker wrote:
 
 I am running xfce4 but I want to boot the system to console instead of 
 gui. What am I supposed to do?
 
 IIRC you need to go into /etc/rc.d/rc*.d/ and mv 'S99gdm' to 'K99gdm' 
 wherever it appears. Same if you see 'S99kdm' anywhere. This will keep the 
 GUI login splash from starting up.
 

I thought that the gdm/kdm was run from a different runlevel that '2',
like '3'.
I've never used a dm so don't know.  If so, couldn't you just edit the
initdefault line from 3 back to 2 and then do init q?

Doug.



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



Re: How to switch to text mode (correction)

2007-02-06 Thread Marcus Blumhagen
On Tue, Feb 06, 2007 at 10:55:46PM +0100, Marcus Blumhagen wrote:
 Although this way is quite fast, one would have to do it again
 everytime an upgrade of [gkwx]dm happens, since there will be no
 symlinks in /etc/rc*.d. But if there were KNN[gkwx]dm links in
 the appropriate /etc/rc*.d invoke-rc.d would do nothing.

Actually I meant update-rc.d (not invoke-rc.d) which might be 
called in postinst scripts. Also man update-rc.d says:

[...]
Please note that this program was designed for use in package
maintainer scripts and, accordingly, has only the very limited
functionality required by such scripts.  System administrators
are not encouraged to use update-rc.d to manage runlevels.
They should edit the links directly or use runlevel editors 
such as sysv-rc-conf and bum instead.
[...]


Regards
Marcus


signature.asc
Description: Digital signature


Re: How to switch to text mode

2007-02-06 Thread Kevin Mark
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Feb 06, 2007 at 06:01:04PM -0500, Douglas Allan Tutty wrote:
 On Tue, Feb 06, 2007 at 03:08:37PM +, Glenn Becker wrote:
  
  I am running xfce4 but I want to boot the system to console instead of 
  gui. What am I supposed to do?
  
  IIRC you need to go into /etc/rc.d/rc*.d/ and mv 'S99gdm' to 'K99gdm' 
  wherever it appears. Same if you see 'S99kdm' anywhere. This will keep the 
  GUI login splash from starting up.
  
 
 I thought that the gdm/kdm was run from a different runlevel that '2',
 like '3'.
 I've never used a dm so don't know.  If so, couldn't you just edit the
 initdefault line from 3 back to 2 and then do init q?
 
 Doug.
Although many folks has come to expect what RH and others do -- provide
different runlevels--Debian so far likes runlevels 2-5 to be setup the
same and let a sysadmin change this if they want. Although various users
and developers have asked for a change from time to time. so, the
default is runlevel 2 and changing it will not make a differnece.

- -- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal |mysite.verizon.net/kevin.mark/|
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
|   my keysever: subkeys.pgp.net | my NPO: cfsg.org |
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFyQo7v8UcC1qRZVMRAh5OAJoCHfnjRgwajjK4xuC8F8c14ylOewCfTzTQ
SdPrV1sjBVdF2EVA2Zxfkxc=
=svoj
-END PGP SIGNATURE-


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



Re: How to switch to text mode

2007-02-06 Thread Francis Healy
Freddy Freeloader [EMAIL PROTECTED] wrote:Glenn Becker wrote:

 Yes, I'd say much more elegant! :^)

 I'd say - no.

 Okay! :^)

 to remove:
 #update-rc.d -f gdm remove

 to restore:
 #update-rc.d gdm defaults

 I learned something, today, great! TMTOWTDI, I guess.

 G

 +-+
 Glenn Becker - [EMAIL PROTECTED]
 SDF Public Access UNIX System - http://sdf.lonestar.org
 +-+

I guess I do things a different way than everyone else. All I do on the 
machines I have that have a gui installed, but I'd prefer them to not 
boot to the gui, is just rename /etc/init.d/gdm to /etc/init.d/gdm.old. 
Then the all the links at the different run levels don't see the gdm 
startup script. Then if I was to fire up the gui all I do is type, as 
root, gdm and hit enter. 

Is it an elegant solution? No. Is it easy to change if I ever decide I 
want to boot into the gui? Yes. All I do is rename /etc/init.d/gdm.old 
to gdm and I'm good to go. 
  You can also put 'exit 0' at the top of the script so that it doesn't 
execute. 


Re: How to switch to text mode

2007-02-06 Thread Paul E Condon
On Tue, Feb 06, 2007 at 04:30:50PM -0800, Francis Healy wrote:
 Freddy Freeloader [EMAIL PROTECTED] wrote:Glenn Becker wrote:
 
  Yes, I'd say much more elegant! :^)
 
  I'd say - no.
 
  Okay! :^)
 
  to remove:
  #update-rc.d -f gdm remove
 
  to restore:
  #update-rc.d gdm defaults
 
  I learned something, today, great! TMTOWTDI, I guess.
 
  G
 
  +-+
  Glenn Becker - [EMAIL PROTECTED]
  SDF Public Access UNIX System - http://sdf.lonestar.org
  +-+
 
 I guess I do things a different way than everyone else. All I do on the 
 machines I have that have a gui installed, but I'd prefer them to not 
 boot to the gui, is just rename /etc/init.d/gdm to /etc/init.d/gdm.old. 
 Then the all the links at the different run levels don't see the gdm 
 startup script. Then if I was to fire up the gui all I do is type, as 
 root, gdm and hit enter. 
 
 Is it an elegant solution? No. Is it easy to change if I ever decide I 
 want to boot into the gui? Yes. All I do is rename /etc/init.d/gdm.old 
 to gdm and I'm good to go. 
   You can also put 'exit 0' at the top of the script so that it doesn't 
 execute. 

I use 'apt-get remove gdm'. When it is not installed, it surely will
not run at startup ;-). If you do use this approach, you need to make 
sure that you also remove kdm, xdm, and any other ?dm. 

-- 
Paul E Condon   
[EMAIL PROTECTED]


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