Re: inittab and graphical login
On Mon, 2002-10-21 at 09:28, Shyamal Prasad wrote: > "Paul" == Paul Johnson <[EMAIL PROTECTED]> writes: > > Paul> On Mon, Oct 21, 2002 at 11:47:42AM +0530, Sandip P Deshmukh > Paul> wrote: > >> id:2:initdefault: > >> > >> i thought with this, i will get a text login. but i always > >> end-up in gdm!! > > Paul> No, no. You're thinking Red Hat runlevels.[1] > > >> how do i stop this? i will like to have text login prompt. > > Paul> Go into /etc/rc2.d and mv S99gdm K99gdm and this should > Paul> prevent gdm from starting up. > > IMHO this is a better way (and more correct) than apt-removing gdm. > > You should do the same for S99kdm and S99xdm if you have them. This > way you can always change your runlevel to 2 for text logins, and use > the others for normal X logins if you ever want to. If you remove gdm > you lose that option. > > BTW, in Debian all multi-user run levels are set up to be the same by > default. You are supposed to customize them as you need. You should > read the policy manual if you are interested in details: > > http://www.debian.org/doc/debian-policy/ > > Cheers! > Shyamal If you are going to get into shuffling around these items, I would suspect that long-term package management considerations *might* be better respected if you use update-rc.d(8) to make your changes, rather than just diving in and renaming files that are *managed* by dpkg. -- Mark L. Kahnt, FLMI/M, ALHC, HIA, AIAA, ACS, MHP ML Kahnt New Markets Consulting Tel: (613) 531-8684 / (613) 539-0935 Email: [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: inittab and graphical login
On Mon, Oct 21, 2002 at 08:28:54AM -0500, Shyamal Prasad wrote: > "Paul" == Paul Johnson <[EMAIL PROTECTED]> writes: > > Paul> Go into /etc/rc2.d and mv S99gdm K99gdm and this should > Paul> prevent gdm from starting up. > > IMHO this is a better way (and more correct) than apt-removing gdm. update-rc.d -f gdm remove removes all the gdm links in the /etc/rc.d/ directories. update-rc.d also lets you set different priorities for different runlevels with a single command. -- _ -o) Lance Simmons /\\ [EMAIL PROTECTED] _\_v -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: inittab and graphical login
"Mark L. Kahnt" <[EMAIL PROTECTED]> writes: > If you are going to get into shuffling around these items, I would > suspect that long-term package management considerations *might* be > better respected if you use update-rc.d(8) to make your changes, rather > than just diving in and renaming files that are *managed* by dpkg. Naah, doesn't matter terribly: rerunning update-rc.d won't disturb any changes the administrator has made to the symlinks, provided at least one link is left. (Hence, running 'update-rc.d xdm remove' is the wrong answer, since on an upgrade the rc2.d link will return.) -- David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ "Theoretical politics is interesting. Politicking should be illegal." -- Abra Mitchell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: inittab and graphical login
On Mon, Oct 21, 2002 at 08:28:54AM -0500, Shyamal Prasad wrote: > BTW, in Debian all multi-user run levels are set up to be the same by > default. You are supposed to customize them as you need. So you can go back to the default setting, if you fixed it the way I suggest, by typing init 3 or init 4 as root, yes. And go back to your console-only setup with init 2. -- Baloo msg08211/pgp0.pgp Description: PGP signature
Re: inittab and graphical login
Shyamal Prasad wrote: Paul> Go into /etc/rc2.d and mv S99gdm K99gdm and this should Paul> prevent gdm from starting up. IMHO this is a better way (and more correct) than apt-removing gdm. You should do the same for S99kdm and S99xdm if you have them. This way you can always change your runlevel to 2 for text logins, and use the others for normal X logins if you ever want to. If you remove gdm you lose that option. exactly what i did! BTW, in Debian all multi-user run levels are set up to be the same by default. You are supposed to customize them as you need. You should read the policy manual if you are interested in details: http://www.debian.org/doc/debian-policy/ ah! the README in /etc/init.d mentioned of www.debian.org/doc/policy thanx for pointing to me the correctr link -sandip -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: inittab and graphical login
* Lance Simmons ([EMAIL PROTECTED]) [021021 08:28]: > On Mon, Oct 21, 2002 at 08:28:54AM -0500, Shyamal Prasad wrote: > > "Paul" == Paul Johnson <[EMAIL PROTECTED]> writes: > > > > Paul> Go into /etc/rc2.d and mv S99gdm K99gdm and this should > > Paul> prevent gdm from starting up. > > > > IMHO this is a better way (and more correct) than apt-removing gdm. > > update-rc.d -f gdm remove This will only work until next time gdm is installed. The above command should only be run by a package's postrm script, not by an administrator for a package which is currently installed on the system. That's why update-rc.d doesn't do anything if links arelady exist and you don't tell it 'force': it respects any changes the administrator may have made manually when being run in a package's postinst script. good times, Vineet -- http://www.doorstop.net/ -- "Computer Science is no more about computers than astronomy is about telescopes." -- E.W. Dijkstra msg08168/pgp0.pgp Description: PGP signature
Re: inittab and graphical login
* Mark L. Kahnt ([EMAIL PROTECTED]) [021021 08:11]: > If you are going to get into shuffling around these items, I would > suspect that long-term package management considerations *might* be > better respected if you use update-rc.d(8) to make your changes, rather > than just diving in and renaming files that are *managed* by dpkg. No; this is a common misconception. update-rc.d just fiddles with the symlinks, the same way you can manually with mv, rm, and ln. It's purpose is to make it easier for packages' install/rm scripts to manage the links; IMHO it's easier for humans to just use mv, rm, and ln, rather than the somewhat obtuse syntax of this non-standard tool to accomplish the same exact thing. It's the same as update-inetd; it's more easily scriptable, but not easier for humans to use than 'vi /etc/inetd.conf'. initscripts are conf files, and any package that tramples them is broken. They are "managed" by dpkg only so far as it is aware that they are config files. It will not replace any existing ones, BUT it will replace them if they are entirely missing. Renaming, deleting, etc will be fine, and your choices will be respected across an upgrade, provided that you leave at least one S or K link for the package in at least one rc?.d directory. good times, Vineet -- http://www.doorstop.net/ -- "Extremism in the defense of liberty is no vice. Moderation in the pursuit of justice is no virtue." -- Barry Goldwater msg08164/pgp0.pgp Description: PGP signature