Avoid booting direct to X.. I want my starx back
On Sun, 2002-03-03 at 01:27, [EMAIL PROTECTED] wrote: > From: Hans Ekbrand <[EMAIL PROTECTED]> > To: debian-user@lists.debian.org > Subject: Re: Avoid booting direct to X.. I want my starx back > Date: 02 Mar 2002 23:59:21 +0100 > > On Sat, Mar 02, 2002 at 07:25:51PM +, Lee Braiden wrote: > > Don't want to nit-pick, but it seems worth clarifying, given the > > confusion this often causes... > > > > > From: Matijs van Zuijlen <[EMAIL PROTECTED]> > > > KDE and Gnome are no window managers. They are session managers. > > > > No, they're not. KDE is an integrated window manager & more -- what the > > KDE team and others refer to as a Desktop Environment (hence kDE). Both > > projects include session managers, but are not limited to that. GNOME > > doesn't have a window manager as such, although there are lots of window > > managers that are compatible with GNOME. GNOME is essentially a Desktop > > Environment too, but I'm not sure they'd define the project that way. > > > > Do want to nit-pick :-) > > Yes they are, from the point of view of Debians X architecture, which > does not recognize the "Desktop Environment" concept. > > ~>apt-cache show gnome-session | grep Provides > Provides: x-session-manager > ~>apt-cache show kdebase | grep Provides > Provides: x-session-manager > This is the kind of confusion I was talking about. It makes perfect sense that gnome-session would provide x-session-manager. gnome-session is *not* GNOME, however, neither is kdebase KDE. Since, as I've said, GNOME includes a session manager, then you would expect to find a GNOME package which provides session-manager, but that's not what I'm discussing. > See also the thread that started with this message: > http://lists.debian.org/debian-devel/2000/debian-devel-200012/msg01821.html > To quote from that >>"Branden has agreed to update /etc/X11/Xsession to try to exec >>x-session-manager before x-window-manager." >>>What is the problem with registering gnome-session and >>>kde-session as x-window-manager? This backs up the issue as you seem to understand it, but as I say, there has been a misunderstanding. -- Lee Braiden, Artelos.com mailto: [EMAIL PROTECTED] ICQ: 24346459 Jabber: [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: Avoid booting direct to X.. I want my starx back
okay, with no other context than what's below, i can see a communication breakdown: On Sat, Mar 02, 2002 at 11:59:21PM +0100, Hans Ekbrand wrote: > On Sat, Mar 02, 2002 at 07:25:51PM +, Lee Braiden wrote: > > Don't want to nit-pick, but it seems worth clarifying, given the > > confusion this often causes... > > > > > From: Matijs van Zuijlen <[EMAIL PROTECTED]> > > > KDE and Gnome are no window managers. They are session managers. > > > > No, they're not. KDE is an integrated window manager & more -- what the > > KDE team and others refer to as a Desktop Environment (hence kDE). Both > > projects include session managers, but are not limited to that. GNOME > > doesn't have a window manager as such, although there are lots of window > > managers that are compatible with GNOME. GNOME is essentially a Desktop > > Environment too, but I'm not sure they'd define the project that way. > > Yes they are, from the point of view of Debians X architecture, which > does not recognize the "Desktop Environment" concept. > > ~>apt-cache show gnome-session | grep Provides > Provides: x-session-manager > ~>apt-cache show kdebase | grep Provides > Provides: x-session-manager both of those packages (gnome-session and kdebase) PROVIDE x-session-manager's. just as Lee said, above: > > Both > > projects include session managers, but are not limited to that. "INCLUDE", not "ARE". nit-pick, indeed. :) -- I use Debian/GNU Linux version 2.2 and american english v1.0; Linux server 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown DEBIAN NEWBIE TIP #71 from Joost Kooij <[EMAIL PROTECTED]> : So exactly WHICH SHELL ARE YOU RUNNING? Simply try echo $SHELL or printenv SHELL AFAIK any shell that does not set $SHELL is broken. Also see http://newbieDoc.sourceForge.net/ ...
Re: Avoid booting direct to X.. I want my starx back
On Sat, Mar 02, 2002 at 07:25:51PM +, Lee Braiden wrote: > Don't want to nit-pick, but it seems worth clarifying, given the > confusion this often causes... > > > From: Matijs van Zuijlen <[EMAIL PROTECTED]> > > KDE and Gnome are no window managers. They are session managers. > > No, they're not. KDE is an integrated window manager & more -- what the > KDE team and others refer to as a Desktop Environment (hence kDE). Both > projects include session managers, but are not limited to that. GNOME > doesn't have a window manager as such, although there are lots of window > managers that are compatible with GNOME. GNOME is essentially a Desktop > Environment too, but I'm not sure they'd define the project that way. > Do want to nit-pick :-) Yes they are, from the point of view of Debians X architecture, which does not recognize the "Desktop Environment" concept. ~>apt-cache show gnome-session | grep Provides Provides: x-session-manager ~>apt-cache show kdebase | grep Provides Provides: x-session-manager See also the thread that started with this message: http://lists.debian.org/debian-devel/2000/debian-devel-200012/msg01821.html -- Note that I use Debian version 3.0 Linux emac140 2.4.17 #1 s?n feb 10 20:21:22 CET 2002 i686 unknown Hans Ekbrand pgpurBbMpYFCh.pgp Description: PGP signature
Re: Avoid booting direct to X.. I want my starx back
On Sat, Mar 02, 2002 at 07:25:51PM +, Lee Braiden wrote: > Don't want to nit-pick, but it seems worth clarifying, given the > confusion this often causes... :-) Feel free ... > > From: Matijs van Zuijlen <[EMAIL PROTECTED]> > > [...] > > KDE and Gnome are no window managers. They are session managers. > > No, they're not. KDE is an integrated window manager & more -- what the > KDE team and others refer to as a Desktop Environment (hence kDE). Both > projects include session managers, but are not limited to that. GNOME > doesn't have a window manager as such, although there are lots of window > managers that are compatible with GNOME. GNOME is essentially a Desktop > Environment too, but I'm not sure they'd define the project that way. Heh, yes, of course *sheepish grin*. I use Gnome myself, but I was just too hasty to get to the point below: > > You > > need to run > > > > update-alternatives --config x-session-manager > > But yes, that will do what's required. -- Matijs
Avoid booting direct to X.. I want my starx back
Don't want to nit-pick, but it seems worth clarifying, given the confusion this often causes... > From: Matijs van Zuijlen <[EMAIL PROTECTED]> > To: debian-user@lists.debian.org > Subject: Re: Avoid booting direct to X.. I want my starx back > Date: 02 Mar 2002 13:25:45 +0100 > > On Sat, Mar 02, 2002 at 03:29:00AM -0800, Harry Putnam wrote: > > Mark Zimmerman <[EMAIL PROTECTED]> writes: > > > One (of several) ways to do this is (as root): > > > update-alternatives --config x-window-manager > > > [...] > > > > That doesn't seem to do the job here. Running that command gives me > > two choices twm and sawfish. No mention of kde or gnome. Both of > > which are installed. > > > > KDE and Gnome are no window managers. They are session managers. No, they're not. KDE is an integrated window manager & more -- what the KDE team and others refer to as a Desktop Environment (hence kDE). Both projects include session managers, but are not limited to that. GNOME doesn't have a window manager as such, although there are lots of window managers that are compatible with GNOME. GNOME is essentially a Desktop Environment too, but I'm not sure they'd define the project that way. > You > need to run > > update-alternatives --config x-session-manager > But yes, that will do what's required. -- Lee Braiden, Artelos.com mailto: [EMAIL PROTECTED] ICQ: 24346459 Jabber: [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: Avoid booting direct to X.. I want my starx back
On 01/03/02 Bob Thibodeau did speaketh: > > Now I can startx but now I get put into a kde session. I'd sooner set > > my hair on fire, and I'm mostly bald. I pulled mine out long ago. ;-) Be sure to disable Ctrl-Alt-Backspace if you use startx. Otherwise, you can lock the screen, and someone can come along and shut down X and get a prompt as you. Mike -- Michael P. Soulier <[EMAIL PROTECTED]>, GnuPG pub key: 5BC8BE08 "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix pgpG1BlhiczZX.pgp Description: PGP signature
Re: Avoid booting direct to X.. I want my starx back
On Sat, Mar 02, 2002 at 03:29:00AM -0800, Harry Putnam wrote: > Mark Zimmerman <[EMAIL PROTECTED]> writes: > > > One (of several) ways to do this is (as root): > > > > update-alternatives --config x-window-manager > > > > [...] > > That doesn't seem to do the job here. Running that command gives me > two choices twm and sawfish. No mention of kde or gnome. Both of > which are installed. > KDE and Gnome are no window managers. They are session managers. You need to run update-alternatives --config x-session-manager startx first tries to run x-session-manager, and if that fails x-window-manager. You can set the window manager gnome should use from the control center. x-window-manager has nothing to do with that. Matijs.
Re: Avoid booting direct to X.. I want my starx back
Harry Putnam <[EMAIL PROTECTED]> writes: > > That doesn't seem to do the job here. Running that command gives me > two choices twm and sawfish. No mention of kde or gnome. Both of > which are installed. > > I do want to use sawfish so set that as default but startx still > starts kde. If you have got as far as startx, then you need an .xinitrc file in your home directory - NOT .xsession, that's for the pretty login ;-) In there put #!/bin/sh exec sawfish & exec gnome-session and make it executable. If you don't want kde get rid of it! apt-get --purge remove kdebase but there are possibly more packages than that installed You did install sawfish-gnome didn't you? Sawfish, but with a few tweaks for Gnome compatibility. hth Glyn -- ** * Here we are then... * * http://members.tripod.co.uk/Christchurch2000uk * **
Re: Avoid booting direct to X.. I want my starx back
Mark Zimmerman <[EMAIL PROTECTED]> writes: > One (of several) ways to do this is (as root): > > update-alternatives --config x-window-manager > > You will be presented with a list of alternatives that are currently > installed on your system. Pick one. > > If the one you want isn't there, install it and run update- > alternatives again. > > This will set the system default. Individual users can override this > by writing a .xsession file. That doesn't seem to do the job here. Running that command gives me two choices twm and sawfish. No mention of kde or gnome. Both of which are installed. I do want to use sawfish so set that as default but startx still starts kde.
Re: Avoid booting direct to X.. I want my starx back
Chris Jenks <[EMAIL PROTECTED]> writes: [...] > I've noticed that it will take a couple of hours to get this to you, but... > what your looking for is .xsession or the .xinitrc Mark Zimmerman <[EMAIL PROTECTED]> writes: [...] > One (of several) ways to do this is (as root): > > update-alternatives --config x-window-manager > > You will be presented with a list of alternatives that are currently > installed on your system. Pick one. > > If the one you want isn't there, install it and run update- > alternatives again. > > This will set the system default. Individual users can override this > by writing a .xsession file. k l u r t <[EMAIL PROTECTED]> writes: [...] > it can be set in your home directory's .xsession file > > echo "exec gnome" > ~/.xsession > > ...now you can startx and gnome will be your window manager. Bob Thibodeau <[EMAIL PROTECTED]> writes: [...] > startx looks for ~/.xinitrc > you can set up your options there > > you probably have a system-wide xinitrc that calls kde More good help.. thanks again. Its kind of coming back a little now seeing the postings here. I've been doing upgrades but maintaining a set of configs for a couple of years now and haven't had to really fuss with X stuff too much. I've been able to put my rc files aside and just plop them back in many times. I caught hell when redhats defaut window manager changed from fvwm2 to gnome a couple of years ago. At first I cursed them for having made the change, and hated gnome. But if any of you have ever messed with the acres of config involved with fvwm, it was really a blessing. Just now trying to follow the maze of sourced variables and directeries with a gob of scritps in them uner /etc/X11 I never really did see what is calling kde. But I can set it as described above to over ride what ever is happine in that maze. You need a road map to follow all the twists and turns in there. I noticed at the default debian login (gnome) that the mouse is really sluggish. I know how to set it with xset m and of course once inside the session with the control panel settings. But to speed up the sloth at the actual login probably needs to be put into xintrc. Is it just a staight command in there like: xset m 2 14 or the like?
Re: Avoid booting direct to X.. I want my starx back
On Fri, Mar 01, 2002 at 04:23:24PM -0800, Harry Putnam wrote: > Harry Putnam <[EMAIL PROTECTED]> writes: > > > Well, I got X working in my fresh woody install, but there are a few > > rinkles. > > 1) I want to boot to console mode and call x with startx. > > Whee, got lots of help on that one. And a couple easy fixes. > Thank you all. > > Now I can startx but now I get put into a kde session. I'd sooner set > my hair on fire, and I'm mostly bald. > > I guess I should uninstall all the kde stuff but I seem to recall > there being a problem with some of them like the libs or base, that > allow some other things to work. > > All I really want is to use gnome/sawfish if in X. When I say > `startx' thats what I want to start. I vaguely remember there being > some place where you put a desktop choice and then its settled. startx looks for ~/.xinitrc you can set up your options there you probably have a system-wide xinitrc that calls kde Bob > > Does debian have something like that too? > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
Re: Avoid booting direct to X.. I want my starx back
On Fri, 2002-03-01 at 19:23, Harry Putnam wrote: > All I really want is to use gnome/sawfish if in X. When I say > `startx' thats what I want to start. I vaguely remember there being > some place where you put a desktop choice and then its settled. > > Does debian have something like that too? it can be set in your home directory's .xsession file echo "exec gnome" > ~/.xsession ...now you can startx and gnome will be your window manager. hope this helps - k l u r t
Re: Avoid booting direct to X.. I want my starx back
On Fri, Mar 01, 2002 at 04:23:24PM -0800, Harry Putnam wrote: > Harry Putnam <[EMAIL PROTECTED]> writes: > > > Well, I got X working in my fresh woody install, but there are a few > > rinkles. > > 1) I want to boot to console mode and call x with startx. > > Whee, got lots of help on that one. And a couple easy fixes. > Thank you all. > > Now I can startx but now I get put into a kde session. I'd sooner set > my hair on fire, and I'm mostly bald. > > I guess I should uninstall all the kde stuff but I seem to recall > there being a problem with some of them like the libs or base, that > allow some other things to work. > > All I really want is to use gnome/sawfish if in X. When I say > `startx' thats what I want to start. I vaguely remember there being > some place where you put a desktop choice and then its settled. > > Does debian have something like that too? > One (of several) ways to do this is (as root): update-alternatives --config x-window-manager You will be presented with a list of alternatives that are currently installed on your system. Pick one. If the one you want isn't there, install it and run update- alternatives again. This will set the system default. Individual users can override this by writing a .xsession file. -- Mark
Re: Avoid booting direct to X.. I want my starx back
At 07:23 PM 3/1/02, Harry Putnam wrote: Harry Putnam <[EMAIL PROTECTED]> writes: > Well, I got X working in my fresh woody install, but there are a few > rinkles. > 1) I want to boot to console mode and call x with startx. Whee, got lots of help on that one. And a couple easy fixes. Thank you all. Now I can startx but now I get put into a kde session. I'd sooner set my hair on fire, and I'm mostly bald. I guess I should uninstall all the kde stuff but I seem to recall there being a problem with some of them like the libs or base, that allow some other things to work. All I really want is to use gnome/sawfish if in X. When I say `startx' thats what I want to start. I vaguely remember there being some place where you put a desktop choice and then its settled. Does debian have something like that too? I've noticed that it will take a couple of hours to get this to you, but... what your looking for is .xsession or the .xinitrc
Re: Avoid booting direct to X.. I want my starx back
"Harry" == Harry Putnam <[EMAIL PROTECTED]> writes: Harry> Well, I got X working in my fresh woody install, but there Harry> are a few rinkles. 1) I want to boot to console mode and Harry> call x with startx. Choose a runlevel that does not use X (I use 2). Rename the files in /etc/rc2.d/ (if you chose level 2) that start the X daemons (gdm/kdm or whatever you have installed) so that, for example, S20gdm is now K20gdm. Edit /etc/inittab so that your default runlevel is 2. You probably know exactly what I'm talking about. Harry> Currently, I get popped right into X. I thought this could Harry> be contolled by setting the defalult run level /etc/inittab Harry> But I see nothing in there that looks likely. Debian sets all "normal, multiuser" run levels to be the same by default. Harry> In fact it claims the default is runlevel 2. Or is Harry> runlevel 2 X. I don't think so. Harry> In my redhat dealings it was possible to set default to Harry> runlevel 5 which force boot to bring up X. setting Harry> runlevel 3 gave you a console login. Harry> Where is this choice made on debian? By the system admin, who edits the stuff in /etc/rcX.d/ as far as I know (I'm relatively new to Debian). Cheers! Shyamal
Re: Avoid booting direct to X.. I want my starx back
Em Sex, 2002-03-01 às 17:54, Kurt Yoder escreveu: > Harry Putnam said: > > Well, I got X working in my fresh woody install, but there are a few > > rinkles. > > 1) I want to boot to console mode and call x with startx. > > > > Currently, I get popped right into X. > > I thought this could be contolled by setting the defalult run level > > /etc/inittab But I see nothing in there that looks likely. > > > > In fact it claims the default is runlevel 2. Or is runlevel 2 X. I > > don't think so. > > > > In my redhat dealings it was possible to set default to runlevel 5 > > which force boot to bring up X. setting runlevel 3 gave you a console > > login. > > > > Where is this choice made on debian? > > Remove xdm, gdm or kdm. If any of these are installed, they will dump you > into X unless you're in single-user mode. > > apt-get remove gdm > > (or kdm or xdm if you have either of those instead) > This is a solution, but not the best one (IMHO) because you can want the x/g/k/dm in order to serve some connected X-terminals (or slave workstations). find the Xservers file corresonding to you ?dm (/etc/X11/xdm for ex.) and comment the line :0 local /usr/X11R6/bin/X vt7 -dpi 100 -nolisten tcp or equivalent. Michel.
Re: Avoid booting direct to X.. I want my starx back
Harry Putnam <[EMAIL PROTECTED]> writes: > Well, I got X working in my fresh woody install, but there are a few > rinkles. > 1) I want to boot to console mode and call x with startx. Whee, got lots of help on that one. And a couple easy fixes. Thank you all. Now I can startx but now I get put into a kde session. I'd sooner set my hair on fire, and I'm mostly bald. I guess I should uninstall all the kde stuff but I seem to recall there being a problem with some of them like the libs or base, that allow some other things to work. All I really want is to use gnome/sawfish if in X. When I say `startx' thats what I want to start. I vaguely remember there being some place where you put a desktop choice and then its settled. Does debian have something like that too?
RE: Avoid booting direct to X.. I want my starx back
Wouldn't it be cleaner to just remove S99gdm from rcX.d? They're just symbolic links to the same file in init.d, right? As long as you don't lose that, it's fairly straightforward to relink. (I'm a total novice, so spank me if I'm wrong :) Richard Wurdack -Original Message- From: dman [mailto:[EMAIL PROTECTED] Sent: Friday, March 01, 2002 1:07 PM To: debian-user@lists.debian.org Subject: Re: Avoid booting direct to X.. I want my starx back On Fri, Mar 01, 2002 at 10:32:50AM -0800, Harry Putnam wrote: | Well, I got X working in my fresh woody install, but there are a few | rinkles. | 1) I want to boot to console mode and call x with startx. | | Currently, I get popped right into X. | I thought this could be contolled by setting the defalult run level | /etc/inittab But I see nothing in there that looks likely. | | In fact it claims the default is runlevel 2. Or is runlevel 2 X. I | don't think so. | | In my redhat dealings it was possible to set default to runlevel 5 | which force boot to bring up X. setting runlevel 3 gave you a console | login. | | Where is this choice made on debian? # mv /etc/rc2.d/S99gdm /etc/rc2.d/notS99gdm (if you using gdm) Debiain doesn't force any runlevel structure on you. By default they're all the same (except 0, 1, 6), but you can tweak them to your heart's content. Note that you can press Alt-Ctrl-F[123456] to get to a virtual console, and Alt-Ctrl-F7 to get back to X. -D -- The Lord detests all the proud of heart. Be sure of this: They will not go unpunished. Proverbs 16:7 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Avoid booting direct to X.. I want my starx back
"Sean 'Shaleh' Perry" <[EMAIL PROTECTED]> writes: > > > > In my redhat dealings it was possible to set default to runlevel 5 > > which force boot to bring up X. setting runlevel 3 gave you a console > > login. > > > > Where is this choice made on debian? > > > > runlevels do not affect Debian. We have a different philosohphy than RedHat. > In Debian, any installed package is assumed to have been installed on purpose > by the admin. This means that when you install a package it is ready to run > and in the case of daemons actually running. In Redhat the kitchen sink is > installed and it is your job to enable and disable the items as desired. > > At a command prompt as root do 'dpkg --purge xdm'. This will remove > xdm and let you start X by hand. otherwise, yes, look at > /etc/init.d/xdm and tweak as desired. Debian as installed doesn't differentiate between runlevels 2-5 but you can certainly set it up to do so. For example I have /etc/inittab set to runlevel 3 by default, which starts up wdm and thus X, and I've set up runlevel 2 to boot without wdm and X. Another common configuration would be to leave out loading of the network at certain run levels. I find this very useful, especially if you've upgraded something like your graphics board or network card. You do need to set this up yourself in Debian. The update-rc.d tool can help here "man update-rc.d". Gary
Re: Avoid booting direct to X.. I want my starx back
On Fri, Mar 01, 2002 at 10:32:50AM -0800, Harry Putnam wrote: > Well, I got X working in my fresh woody install, but there are a few > rinkles. > 1) I want to boot to console mode and call x with startx. > > Currently, I get popped right into X. > I thought this could be contolled by setting the defalult run level > /etc/inittab But I see nothing in there that looks likely. > > In fact it claims the default is runlevel 2. Or is runlevel 2 X. I > don't think so. The default runlevel in Debian is 2. And by default runlevels 2-5 are all equal. > > In my redhat dealings it was possible to set default to runlevel 5 > which force boot to bring up X. setting runlevel 3 gave you a console > login. > > Where is this choice made on debian? The Debian Way is update-rc.d (or apt-get remove [your-display-manager-of-choice]). See man update-rc.d. pgpToN5Jodq6Z.pgp Description: PGP signature
Re: Avoid booting direct to X.. I want my starx back
On Friday 01 Mar 2002 6:32 pm, Harry Putnam wrote: > Well, I got X working in my fresh woody install, but there are a few > rinkles. > 1) I want to boot to console mode and call x with startx. remove package xdm, kdm, gdm or wdm (you don't state which display manager you have installed).
Re: Avoid booting direct to X.. I want my starx back
> Well, I got X working in my fresh woody install, but there are a few > rinkles. > 1) I want to boot to console mode and call x with startx. > > Currently, I get popped right into X. > I thought this could be contolled by setting the defalult run level > /etc/inittab But I see nothing in there that looks likely. > > In fact it claims the default is runlevel 2. Or is runlevel 2 X. I > don't think so. > It is 2: /tmp$ grep -A1 '# The default runlevel.' /etc/inittab # The default runlevel. id:2:initdefault: /tmp$ > In my redhat dealings it was possible to set default to runlevel 5 > which force boot to bring up X. setting runlevel 3 gave you a console > login. > > Where is this choice made on debian? > > Debian does not use runlevel in order to differentiate between a system that runs X and one that does not. There are several ways to get you booted to a console. Assuming you are booted to xdm (need to key in username+passwd), you can add a hash character ('#') in front of the line that begins with :0 in /etc/X11/xdm/Xservers. That is, have it changed to something like: #:0 local /usr/X11R6/bin/X vt7 -dpi 100 -nolisten tcp You might want to look at /usr/share/doc/xfree86-common/FAQ.gz for more information about it (`How do I stop xdm from starting at boot?'). -- Shaul Karl email: shaulka(at-no-spam)bezeqint.net Please substitute (at-no-spam) with an at - @ - character. (at-no-spam) is meant for unsolicitate mail senders only.
Re: Avoid booting direct to X.. I want my starx back
On Fri, Mar 01, 2002 at 10:32:50AM -0800, Harry Putnam wrote: > Well, I got X working in my fresh woody install, but there are a few > rinkles. > 1) I want to boot to console mode and call x with startx. > > Currently, I get popped right into X. > I thought this could be contolled by setting the defalult run level > /etc/inittab But I see nothing in there that looks likely. Sounds like you have gdm (or xdm or ?dm) installed. Substitute ? with the appropriate letter below. If you *always* want to start X by hand, then you shouldn't need ?dm. de-install it. Or edit /etc/init.d/?dm to "exit 0" before it does anything useful. If you *mostly* want to start X by hand, then run # update-rc.d -f ?dm remove This will remove the symlinks from /etc/rc*.d to ?dm, and should allow you start it anyway by invoking /etc/init.d/?dm by hand Note: I'm not sure how this approach fares if you upgrade ?dm - they symlinks may reappear - update-rc.d will recreate them only if they were cleanly removed, but not if some were left in place. More details on "man update-rc.d" > In fact it claims the default is runlevel 2. Or is runlevel 2 X. I > don't think so. Have faith. The default *is* 2. > > In my redhat dealings it was possible to set default to runlevel 5 > which force boot to bring up X. setting runlevel 3 gave you a console > login. Debian doesn't use runlevels for this. AFAIK runlevels 2-5 are completely under the control of the sysadmin, but by default they are identical. I suspect that if we were to use runlevels for this sort of stuff, then we'd quickly run out of them. This has been discussed on this list in the past - probably somewhere in the archives @ http://lists.debian.org HTH -- Karl E. Jørgensen [EMAIL PROTECTED] www.karl.jorgensen.com Today's fortune: An economist is a man who would marry Farrah Fawcett-Majors for her money. pgpwHviWJthpy.pgp Description: PGP signature
Re: Avoid booting direct to X.. I want my starx back
You must have a display manager installed (e.g. xdm, gdm ,kdm, wdm, etc) If you remove it (apt-get remove xdm), you will not be popped into X Runlevel 2 is the debian standard. The init files are in /etc/init.d (corresponding to RH's /etc/rc.d/init.d) TRS Harry Putnam wrote: Well, I got X working in my fresh woody install, but there are a few rinkles. 1) I want to boot to console mode and call x with startx. Currently, I get popped right into X. I thought this could be contolled by setting the defalult run level /etc/inittab But I see nothing in there that looks likely. In fact it claims the default is runlevel 2. Or is runlevel 2 X. I don't think so. In my redhat dealings it was possible to set default to runlevel 5 which force boot to bring up X. setting runlevel 3 gave you a console login. Where is this choice made on debian?
Re: Avoid booting direct to X.. I want my starx back
Which display manager is coming up? On Fri, Mar 01, 2002 at 10:32:50AM -0800, Harry Putnam wrote: > Well, I got X working in my fresh woody install, but there are a few > rinkles. > 1) I want to boot to console mode and call x with startx. > > Currently, I get popped right into X. > I thought this could be contolled by setting the defalult run level > /etc/inittab But I see nothing in there that looks likely. > > In fact it claims the default is runlevel 2. Or is runlevel 2 X. I > don't think so. > > In my redhat dealings it was possible to set default to runlevel 5 > which force boot to bring up X. setting runlevel 3 gave you a console > login. > > Where is this choice made on debian? > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
Re: Avoid booting direct to X.. I want my starx back
On Fri, Mar 01, 2002 at 10:32:50AM -0800, Harry Putnam wrote: > Well, I got X working in my fresh woody install, but there are a few > rinkles. > 1) I want to boot to console mode and call x with startx. > > Currently, I get popped right into X. > I thought this could be contolled by setting the defalult run level > /etc/inittab But I see nothing in there that looks likely. > > In fact it claims the default is runlevel 2. Or is runlevel 2 X. I > don't think so. > > In my redhat dealings it was possible to set default to runlevel 5 > which force boot to bring up X. setting runlevel 3 gave you a console > login. > > Where is this choice made on debian? > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > // # mv /etc/rc2.d/S99xdm /etc/rc2.d/dont_use_S99xdm b. //
Re: Avoid booting direct to X.. I want my starx back
On Fri, Mar 01, 2002 at 10:32:50AM -0800, Harry Putnam wrote: | Well, I got X working in my fresh woody install, but there are a few | rinkles. | 1) I want to boot to console mode and call x with startx. | | Currently, I get popped right into X. | I thought this could be contolled by setting the defalult run level | /etc/inittab But I see nothing in there that looks likely. | | In fact it claims the default is runlevel 2. Or is runlevel 2 X. I | don't think so. | | In my redhat dealings it was possible to set default to runlevel 5 | which force boot to bring up X. setting runlevel 3 gave you a console | login. | | Where is this choice made on debian? # mv /etc/rc2.d/S99gdm /etc/rc2.d/notS99gdm (if you using gdm) Debiain doesn't force any runlevel structure on you. By default they're all the same (except 0, 1, 6), but you can tweak them to your heart's content. Note that you can press Alt-Ctrl-F[123456] to get to a virtual console, and Alt-Ctrl-F7 to get back to X. -D -- The Lord detests all the proud of heart. Be sure of this: They will not go unpunished. Proverbs 16:7
Re: Avoid booting direct to X.. I want my starx back
Harry Putnam said: > Well, I got X working in my fresh woody install, but there are a few > rinkles. > 1) I want to boot to console mode and call x with startx. > > Currently, I get popped right into X. > I thought this could be contolled by setting the defalult run level > /etc/inittab But I see nothing in there that looks likely. > > In fact it claims the default is runlevel 2. Or is runlevel 2 X. I > don't think so. > > In my redhat dealings it was possible to set default to runlevel 5 > which force boot to bring up X. setting runlevel 3 gave you a console > login. > > Where is this choice made on debian? Remove xdm, gdm or kdm. If any of these are installed, they will dump you into X unless you're in single-user mode. apt-get remove gdm (or kdm or xdm if you have either of those instead) -- Kurt Yoder Sport & Health network administrator
Re: Avoid booting direct to X.. I want my starx back
At 01:32 PM 3/1/02, Harry Putnam wrote: Well, I got X working in my fresh woody install, but there are a few rinkles. 1) I want to boot to console mode and call x with startx. Currently, I get popped right into X. I thought this could be contolled by setting the defalult run level /etc/inittab But I see nothing in there that looks likely. In fact it claims the default is runlevel 2. Or is runlevel 2 X. I don't think so. In my redhat dealings it was possible to set default to runlevel 5 which force boot to bring up X. setting runlevel 3 gave you a console login. Where is this choice made on debian? Run level 2 is standard, but if you've installed xdm or something of that kind, then it will launch you strait into X, that's what' those packages do. Chris
Re: Avoid booting direct to X.. I want my starx back
> > In my redhat dealings it was possible to set default to runlevel 5 > which force boot to bring up X. setting runlevel 3 gave you a console > login. > > Where is this choice made on debian? > runlevels do not affect Debian. We have a different philosohphy than RedHat. In Debian, any installed package is assumed to have been installed on purpose by the admin. This means that when you install a package it is ready to run and in the case of daemons actually running. In Redhat the kitchen sink is installed and it is your job to enable and disable the items as desired. At a command prompt as root do 'dpkg --purge xdm'. This will remove xdm and let you start X by hand. otherwise, yes, look at /etc/init.d/xdm and tweak as desired.
Avoid booting direct to X.. I want my starx back
Well, I got X working in my fresh woody install, but there are a few rinkles. 1) I want to boot to console mode and call x with startx. Currently, I get popped right into X. I thought this could be contolled by setting the defalult run level /etc/inittab But I see nothing in there that looks likely. In fact it claims the default is runlevel 2. Or is runlevel 2 X. I don't think so. In my redhat dealings it was possible to set default to runlevel 5 which force boot to bring up X. setting runlevel 3 gave you a console login. Where is this choice made on debian?