Re: give me the command line - REPHRASED
On Mon, Feb 03, 2003 at 03:12:09PM +0100, Hans Christian Andersen wrote: > On booting my woody-box it goes directly into X without letting me command > startx. > How do I make it stay at a command line untill I order startx? others have answered this, but let me REPHRASE ;) you're apparently running a "display manager" (xdm, gdm, kdm). that's what gives you the graphical login. find out which one you've got via an xterm or rxvt session: ps ax | grep dm it's probably either "xdm" or "kdm" (KDE) or "gdm" (Gnome). as root, just do apt-get remove xdm or kdm or gdm and you'll be set. to get into x from the console (when you're using the graphical interface, that's the "X Window Display System" -- when you're not, that's the "console") just enter startx and you'll be off to the races. if you'd like to have the graphical login sometimes, and sometimes not, you can munge your runlevel settings in /etc/rc*.d/xdm (or gdm or kdm). by default, debian installs runlevels 2, 3, 4 and 5 as identical, and you can change that; find the symlink under rc3.d that links to xdm (or gdm or kdm) and then rename it from S?? to K?? (instead of a "start" script it'll be a "kill" script). now switch to runlevel 3 to have console login, and no X until you "startx" yourself. at runlevel 2 you'll still have your graphical login. # chdir /etc/rc3.d this is where stuff for runlevel 3 gets "S"tarted or "K"illed. # ls S???dm S99xdm # rename S99xdm K99xdm # telinit 3 # telinit 2 cool, eh? -- I use Debian/GNU Linux version 3.0; Linux server 2.4.20-k6 #1 Mon Jan 13 23:49:14 EST 2003 i586 unknown DEBIAN NEWBIE TIP #12 from Will Trillich <[EMAIL PROTECTED]> : Where is the DOCUMENTATION? It's all over the place... and there's lots of it. Much was written for non-debian distributions, and much was written long, long ago. But try these anyhow: on your own system, try "man" and "info" and "apropos", and also look under /usr/share/doc/* ... Online, there's linuxdoc.org, debianhelp.org, and debian.org/doc/ of course. Also try http://newbiedoc.sourceforge.net/general/index-deb-help-sys.html and apt-get install dhelp Also see http://newbieDoc.sourceForge.net/ ... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: give me the command line - REPHRASED
"Hans" == Hans Christian Andersen <[EMAIL PROTECTED]> writes: Hans> On booting my woody-box it goes directly into X without Hans> letting me command startx. How do I make it stay at a Hans> command line untill I order startx? The answer, REPHRASED ;-) http://lists.debian.org/debian-user/2003/debian-user-200302/msg00461.html Cheers! Shyamal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: give me the command line
On Mon, Feb 03, 2003 at 02:17:33PM +0100, Hans Christian Andersen wrote: > I recently installed woody (vanilla) and KDE on a 400Mhz box > on my home LAN. I want it to go to KDE only after my commanding > startx. As it is now it starts KDE without prompting me. > How do I change that without reinstallation? > Thank you in advance. Remove KDM. -- .''`. Baloo <[EMAIL PROTECTED]> : :' :proud Debian admin and user `. `'` `- Debian - when you have better things to do than to fix a system msg28396/pgp0.pgp Description: PGP signature
Re: give me the command line - REPHRASED
On Mon, Feb 03, 2003 at 03:12:09PM +0100, Hans Christian Andersen wrote: > On booting my woody-box it goes directly into X without letting me command > startx. > How do I make it stay at a command line untill I order startx? > > Regards/venlig hilsen > Hans Christian Andersen Last suggestion about a "temporary" solution... update-rc.d -f [gk]dm remove # use gdm/kdm as is appropriate Good 'till the next upgrade... As before, toast the packages otherwise. Kenward -- In a completely rational society, the best of us would aspire to be _teachers_ and the rest of us would have to settle for something less, because passing civilization along from one generation to the next ought to be the highest honor and the highest responsibility anyone could have. - Lee Iacocca -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: give me the command line - REPHRASED
David Atencia wrote: - Mensaje Original - De: Kent West <[EMAIL PROTECTED]> Fecha: Lunes, Febrero 3, 2003 4:32 pm Asunto: Re: give me the command line - REPHRASED Hans Christian Andersen wrote: On booting my woody-box it goes directly into X without letting me command startx. How do I make it stay at a command line untill I order startx? Regards/venlig hilsen Hans Christian Andersen You have an X session manager installed (wdm, xdm, gdm, kdm). Uninstall it with: apt-get remove kdm (or whichever _dm is installed). You could also delete/move/modify the script/link in /etc/init.d or /etc/rc?.d (where ? is the default runlevel, probably 2) which starts your session manager. You can search the list archives for gdm and/or kdm and/or session manager and learn more abou this issue, but the remove command above should solve your immediate problem. Kent Hi!!! The better form to solve your problem is: 1º go to your /etc directory. 2º edit the inittab file 3º look for the line where it puts "default runlevel" 4º change the runlevel number 5 by 3 This actually won't work because debian installs all the runlevels from 2-5 as the same thing. So, changing the default runlevel from 5 to 3 won't change anything. The real way of getting this done is to remove the window manager script from whatever runlevel is the default. I would actually remove it from ru nlevel 3 and make runlevel 3 the default. There was a thread on this on debian-devel last week and it was decided that this method of installing all of the runlevels with all of the init scripts is the best way of handling things because it gives the user the best control over the system. Your method of changing the runlevel from 5 to 3 would work on most other distributions, but not debian. --Mark. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: give me the command line - REPHRASED
On Mon, Feb 03, 2003 at 05:06:42PM +0100, David Atencia wrote: > > Hans Christian Andersen wrote: > > > > >On booting my woody-box it goes directly into X without letting > > me command > > >startx. > > >How do I make it stay at a command line untill I order startx? > The better form to solve your problem is: > 1º go to your /etc directory. > 2º edit the inittab file > 3º look for the line where it puts "default runlevel" > 4º change the runlevel number 5 by 3 5) stop thinking redhat 6) remember that the default runlevel in debian is 2, not 5 7) remember that there is no difference between the runlevels 2, 3, 4 and 5 in a default debian configuration 8) do what all the other people said or customize runlevel 3 to not start a display manager (which involves deleting /etc/rc3.d/S99kdm as already pointed out) Stephen Rüger -- Jede Nation spottet über die andere, und alle haben recht. -- Schopenhauer msg28299/pgp0.pgp Description: PGP signature
Re: give me the command line - REPHRASED
- Mensaje Original - De: Kent West <[EMAIL PROTECTED]> Fecha: Lunes, Febrero 3, 2003 4:32 pm Asunto: Re: give me the command line - REPHRASED > Hans Christian Andersen wrote: > > >On booting my woody-box it goes directly into X without letting > me command > >startx. > >How do I make it stay at a command line untill I order startx? > > > >Regards/venlig hilsen > >Hans Christian Andersen > > > > > > > > > You have an X session manager installed (wdm, xdm, gdm, kdm). > Uninstall > it with: >apt-get remove kdm > (or whichever _dm is installed). > > You could also delete/move/modify the script/link in /etc/init.d > or > /etc/rc?.d (where ? is the default runlevel, probably 2) which > starts > your session manager. > > You can search the list archives for gdm and/or kdm and/or session > manager and learn more abou this issue, but the remove command > above > should solve your immediate problem. > > Kent > Hi!!! The better form to solve your problem is: 1º go to your /etc directory. 2º edit the inittab file 3º look for the line where it puts "default runlevel" 4º change the runlevel number 5 by 3 it is very easy. Sorry for my english... :) the facil form but is to modify your file inittab -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: give me the command line - REPHRASED
Hans Christian Andersen wrote: >On booting my woody-box it goes directly into X without letting me command >startx. >How do I make it stay at a command line untill I order startx? The answers you were given address *exactly* that. -- gt [EMAIL PROTECTED] If someone tells you--- "I have a sense of humor, but that's not funny." ---they don't. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: give me the command line - REPHRASED
Hans Christian Andersen wrote: On booting my woody-box it goes directly into X without letting me command startx. How do I make it stay at a command line untill I order startx? Regards/venlig hilsen Hans Christian Andersen You have an X session manager installed (wdm, xdm, gdm, kdm). Uninstall it with: apt-get remove kdm (or whichever _dm is installed). You could also delete/move/modify the script/link in /etc/init.d or /etc/rc?.d (where ? is the default runlevel, probably 2) which starts your session manager. You can search the list archives for gdm and/or kdm and/or session manager and learn more abou this issue, but the remove command above should solve your immediate problem. Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: give me the command line
"Hans" == Hans Christian Andersen <[EMAIL PROTECTED]> writes: Hans> I recently installed woody (vanilla) and KDE on a 400Mhz box Hans> on my home LAN. I want it to go to KDE only after my Hans> commanding startx. As it is now it starts KDE without Hans> prompting me. How do I change that without reinstallation? Hans> Thank you in advance. Rename the scripts in /etc/rc2.d/* (I am assuming your /etc/inittab file has run level 2 as the default) that start kdm: 'mv S99kdm K01kdm' in that directory (and so on for gdm/xdm if you have them installed). The next time you boot they will not start, this time you can manually stop kdm (/etc/init.d/kdm stop), or switch to run level 3 and back to run level 2 (telinit 3; telinit 2). Cheers! Shyamal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
give me the command line - REPHRASED
On booting my woody-box it goes directly into X without letting me command startx. How do I make it stay at a command line untill I order startx? Regards/venlig hilsen Hans Christian Andersen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: give me the command line
heya, On Mon, Feb 03, 2003 at 02:17:33PM +0100, Hans Christian Andersen wrote: > I recently installed woody (vanilla) and KDE on a 400Mhz box > on my home LAN. I want it to go to KDE only after my commanding > startx. As it is now it starts KDE without prompting me. > How do I change that without reinstallation? > Thank you in advance. just an idea: # apt-get remove xdm (or kdm, or whatever login manager you have installed) sean msg28274/pgp0.pgp Description: PGP signature
Re: give me the command line
On Mon, Feb 03, 2003 at 02:17:33PM +0100, Hans Christian Andersen wrote: > I recently installed woody (vanilla) and KDE on a 400Mhz box > on my home LAN. I want it to go to KDE only after my commanding > startx. As it is now it starts KDE without prompting me. > How do I change that without reinstallation? If this is before you log in, remove the link "S99kdm" from /etc/rc2.d, assuming 2 is your normal runlevel. -- Phil Reynolds (PGP now available) o Internet: [EMAIL PROTECTED] |L_ \ / Web: http://www.tinsleyviaduct.com/phil/ (_)- \/ Waltham 67, Emley Moor 69, Droitwich 79, Windows 95 msg28272/pgp0.pgp Description: PGP signature
Re: give me the command line
/etc/init.d/gdm stop /etc/init.d/kdm stop apt-get remove gdm kdm log in startx It'll likely complain about the first 3 lines since you probably don't have both GDM and KDM installed, not a problem. Thus spake Hans Christian Andersen ([EMAIL PROTECTED]): > I recently installed woody (vanilla) and KDE on a 400Mhz box > on my home LAN. I want it to go to KDE only after my commanding > startx. As it is now it starts KDE without prompting me. > How do I change that without reinstallation? > Thank you in advance. > > > Regards/venlig hilsen > Hans Christian Andersen > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] :wq! --- Robert L. Harris | PGP Key ID: E344DA3B @ x-hkp://pgp.mit.edu DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else. FYI: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' msg28270/pgp0.pgp Description: PGP signature
give me the command line
I recently installed woody (vanilla) and KDE on a 400Mhz box on my home LAN. I want it to go to KDE only after my commanding startx. As it is now it starts KDE without prompting me. How do I change that without reinstallation? Thank you in advance. Regards/venlig hilsen Hans Christian Andersen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]