Linux Debian support - How do you disable *all* the 'Login Managers'?

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > June 2005 > How do you disable *all* the 'Login Managers'?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How do you disable *all* the 'Login Managers'?
the softrat

2005-06-17, 8:46 pm

I want X, I want Gnome, I want KDE.

I do NOT want the stupid login managers that take me directly into X.
I want to login as onto a TTY as in the old days.

GRRRRRRRR!

How *do* you disable *all* of those things?

the softrat
"Honi soit qui mal y pense."
mailto:softrat@pobox.com
--
Not the brightest crayon in the box, now, are we?
Eduardo Silva

2005-06-18, 2:46 am

Em Fri, 17 Jun 2005 16:52:08 -0700, the softrat escreveu:

> I want X, I want Gnome, I want KDE.
>
> I do NOT want the stupid login managers that take me directly into X.
> I want to login as onto a TTY as in the old days.
>
> GRRRRRRRR!
>
> How *do* you disable *all* of those things?
>
> the softrat
> "Honi soit qui mal y pense."
> mailto:softrat@pobox.com


Remove the logim managers with 'apt-get remove'. You either are using xdm,
gdm or kdm.


Eduardo
John Hasler

2005-06-18, 2:46 am

the softrat writes:
> How *do* you disable *all* of those things


apt-get remove xdm gdm kdm
--
John Hasler
the softrat

2005-06-18, 2:46 am

On Sat, 18 Jun 2005 03:11:16 +0100, Eduardo Silva <jobezone@yahoo.com>
wrote:
>
>Remove the logim managers with 'apt-get remove'. You either are using xdm,
>gdm or kdm.
>

Nope. Wrong again. I have none of these installed. It's something else
-- something insidious. The folks at Debian.org have 'got' to us
again.

the softrat
"Honi soit qui mal y pense."
mailto:softrat@pobox.com
--
"It would seem that you have no useful skill or talent whatsoever," he
said. "Have you thought of going into teaching?"
- (Terry Pratchett, Mort)
the softrat

2005-06-18, 2:46 am

On Fri, 17 Jun 2005 21:50:34 -0500, John Hasler <jhasler@debian.org>
wrote:

>the softrat writes:
>
>apt-get remove xdm gdm kdm


Been there, did that. Didn't work!!

the softrat
"Honi soit qui mal y pense."
mailto:softrat@pobox.com
--
"It would seem that you have no useful skill or talent whatsoever," he
said. "Have you thought of going into teaching?"
- (Terry Pratchett, Mort)
Robert Wolfe

2005-06-18, 2:46 am

On Fri, 17 Jun 2005, the softrat wrote:

> Nope. Wrong again. I have none of these installed. It's something else
> -- something insidious. The folks at Debian.org have 'got' to us
> again.


Considered changing a switch in your runlevel? I believe in runlevel 3
you can set whether or not you want a console or GUI login.
Unruh

2005-06-18, 2:46 am

Eduardo Silva <jobezone@yahoo.com> writes:

>Em Fri, 17 Jun 2005 16:52:08 -0700, the softrat escreveu:



/etc/inittab.
Change the 5 to 3 in the
id:3:initdefault:
Or at the LILO prompt on bootup do
linux 3

[vbcol=seagreen]
[vbcol=seagreen]
>Remove the logim managers with 'apt-get remove'. You either are using xdm,
>gdm or kdm.


Why would you do that? Now the system will crash on bootup since it cannot
find a login manager and you told it to use one (that was what the "5"
means)




>Eduardo

Bill Marcum

2005-06-18, 2:46 am

On Fri, 17 Jun 2005 21:41:19 -0700, the softrat
<softrat@pobox.com> wrote:
> On Sat, 18 Jun 2005 03:11:16 +0100, Eduardo Silva <jobezone@yahoo.com>
> wrote:
> Nope. Wrong again. I have none of these installed. It's something else
> -- something insidious. The folks at Debian.org have 'got' to us
> again.
>

Could it be wdm?
What is in /etc/X11/default-display-manager?


--
I cannot believe that God plays dice with the cosmos.
-- Albert Einstein, on the randomness of quantum mechanics
the softrat

2005-06-18, 2:46 am

On Sat, 18 Jun 2005 02:55:19 -0400, Bill Marcum
<bmarcum@iglou.com.urgent> wrote:

>On Fri, 17 Jun 2005 21:41:19 -0700, the softrat
> <softrat@pobox.com> wrote:
>Could it be wdm?
>What is in /etc/X11/default-display-manager?


Nothing! -- literally -- there is no such file.

the softrat
"Honi soit qui mal y pense."
mailto:softrat@pobox.com
--
"I am a man of immense learning and no culture."
the softrat

2005-06-18, 7:45 am

On 18 Jun 2005 07:02:37 GMT, Unruh <unruh-spam@physics.ubc.ca> wrote:
>
>/etc/inittab.
>Change the 5 to 3 in the
>id:3:initdefault:
>Or at the LILO prompt on bootup do
>linux 3
>

Nope!

It turns out: 'aptitude remove login.app' does the trick.

the softrat
"Honi soit qui mal y pense."
mailto:softrat@pobox.com
--
Stupidity does not qualify as a handicap, park elsewhere!
Eduardo Silva

2005-06-18, 7:45 am

Em Sat, 18 Jun 2005 07:02:37 +0000, Unruh escreveu:
>
> Why would you do that? Now the system will crash on bootup since it cannot
> find a login manager and you told it to use one (that was what the "5"
> means)


Not at all.
First, if somehow I delete kdm/xdm/gdm and leave it's script in
the rcX.d(X being your init level), the system will not crash, why would
it? On boot it will just fail to launch the program, and give you a text
login.
Second, I'm pretty sure that removing kdm/xdm/gdm using apt-get
will also remove its entry in /etc/init.d.
John Hasler

2005-06-18, 5:46 pm

the softrat writes:
> Nope. Wrong again. I have none of these installed.


If you are getting a graphical login screen you have a login manager
installed. The only login managers in Debian are xdm, kdm, gdm, wdm, sdm,
and login.app. Xdm comes with X. since you mentioned KDE and Gnome we
assumed you might have kdm or gdm. To have any of the last three you would
have had to install it explicitly.

> The folks at Debian.org have 'got' to us again.


You can switch to another distribution at any time. We'll refund what you
paid us.
--
John Hasler
John Hasler

2005-06-18, 5:46 pm

Bill Unruh writes:
> Now the system will crash on bootup since it cannot find a login manager
> and you told it to use one


Perhaps on Red Hat (though I doubt it) but not on Debian.

> that was what the "5" means


No it doesn't. It just means start in runlevel 5. If there is a login
manager there it will run. If there isn't it won't.

In any case he's on Debian, where there is nothing special about runlevel
5.
--
John Hasler
John Hasler

2005-06-18, 5:46 pm

Eduardo Silva writes:
> Second, I'm pretty sure that removing kdm/xdm/gdm using apt-get will also
> remove its entry in /etc/init.d.


That will just disable the script. To remove it (and all the other
conffiles for the package) use '--purge'.
--
John Hasler
John Hasler

2005-06-18, 5:46 pm

Bill Unruh writes:
> Change the 5 to 3 in the id:3:initdefault: Or at the LILO prompt on
> bootup do linux 3


On Debian that will do nothing. Runlevels 3 and 5 are identical.

the softrat writes:
> It turns out: 'aptitude remove login.app' does the trick.


Then you installed login.app.
--
John Hasler
the softrat

2005-06-18, 5:46 pm

On Sat, 18 Jun 2005 08:51:29 -0500, John Hasler <jhasler@debian.org>
wrote:

>Bill Unruh writes:
>
>On Debian that will do nothing. Runlevels 3 and 5 are identical.
>
>the softrat writes:
>
>Then you installed login.app.


Or somebody did.....

the softrat
"Honi soit qui mal y pense."
mailto:softrat@pobox.com
--
"If you want to make an apple pie from scratch, you must first create the universe."
--Carl Sagan
the softrat

2005-06-18, 5:46 pm

On Sat, 18 Jun 2005 08:39:55 -0500, John Hasler <jhasler@debian.org>
wrote:

>You can switch to another distribution at any time. We'll refund what you
>paid us.


Gee, Thanks!

<the softrat dabs at his wet eyes.>


the softrat
"Honi soit qui mal y pense."
mailto:softrat@pobox.com
--
"If you want to make an apple pie from scratch, you must first create the universe."
--Carl Sagan
John Hasler

2005-06-18, 8:45 pm

I wrote:
> Then you installed login.app.


the softrat writes:
> Or somebody did.....


toncho/~ apt-cache rdepends login.app
login.app
Reverse Depends:

--
John Hasler
Amarok

2005-06-18, 8:45 pm

the softrat wrote:

> I want X, I want Gnome, I want KDE.
>
> I do NOT want the stupid login managers that take me directly into X.
> I want to login as onto a TTY as in the old days.
>
> GRRRRRRRR!
>
> How *do* you disable *all* of those things?
>
> the softrat
> "Honi soit qui mal y pense."
> mailto:softrat@pobox.com
> --
> Not the brightest crayon in the box, now, are we?


edit your /etc/inittab

and change the default runlevel to 3

you don't need to uninstall anything
Bill Marcum

2005-06-19, 2:46 am

On Sun, 19 Jun 2005 01:07:47 +0100, Amarok
<amarok.wolf.despiste@netcabo.pt> wrote:
> the softrat wrote:
>
>
> edit your /etc/inittab
>
> and change the default runlevel to 3
>
> you don't need to uninstall anything



Debian is different. Runlevels 2-5 are exactly the same unless you
customize them.


--
I cannot believe that God plays dice with the cosmos.
-- Albert Einstein, on the randomness of quantum mechanics
John Hasler

2005-06-19, 2:46 am

Amarok writes:
> and change the default runlevel to 3


That will have no effect in Debian.
--
John Hasler
Amarok

2005-06-19, 2:46 am

Bill Marcum wrote:

> Debian is different. Runlevels 2-5 are exactly the same unless you
> customize them.


??????
No way, I got Debian and since installation, levels 2 & 3 it's just text
mode from screens 1 to 6; only runlevels 4 & 5 have X on screen 7.
I didn't customize my run-levels.


But if somehow things are not like that, they can be corrected with an
Editor of SysV-init
Jim Bowering

2005-06-19, 5:47 pm

the softrat wrote:

> On Sat, 18 Jun 2005 08:39:55 -0500, John Hasler <jhasler@debian.org>
> wrote:
>
>
> Gee, Thanks!
>
> <the softrat dabs at his wet eyes.>


I've seen this problem before. It always comes down to a faulty chip which
needs to be removed. You'll find it on your shoulder, probably with a few
crocodile tears on it.

Your problem was solved a couple of days ago. It's time to move on.

--
OS squared: open software times open standards.
s a n j a y

2005-06-19, 5:47 pm



John Hasler wrote:
> Amarok writes:
>
>
>
> That will have no effect in Debian.



wow! seems like nobody ever tried doing this.

Unlike red hat it does not matter in Debian, what runlevel you have. If
you have installed window managers, by default it will take you to
graphical login prompt. To remove the graphical login and go back to you
"good old days" of text login do this.

1. note down your run level (from /etc/inittab). Lets say your runleve is 2
2. update-rc.d -f remove xdm 2 OR
update-rc.d -f remove kdm 2 OR
update-rc.d -f remove gdm 2

depending on what window manager you are using by default.

3. restart and the next time you log-in, will get a text shell prompt.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com