Re: Preventing xdm from starting
On Fri, Apr 30, 1999 at 11:50:43AM +0200, Robert-Jan Kuijvenhoven wrote: > Since I installed X on my slink dist, xdm starts automaticly when I boot > my computer. Normally, this is no problem, but in some circumstances I > would like to quit X (ie to rebuild the kernel). > > My question is: > > How do I kill xdm, or prevent xdm from starting at boot-time (so I can > start X with the startx command)? There have already been several replies to this, but allow me to add my two cents. You can of course stop xdm by executing "/etc/init.d/xdm stop" as root. This is the standard Debian way to stop daemons of all kinds. You can also simply tell xdm to stop managing a particular server, like :0. At the xdm login screen, just type . That will terminate the X server, which is what hogs all the resources anyway. You don't need to be root to do this. To tell xdm to start managing all the displays listed in its Xservers file (/etc/X11/xdm/Xserver) again, send it a HUP signal. That will have to be done as root. Whatever you do, don't fool with /etc/X11/config and its "start-xdm" and "no-start-xdm" nonsense unless you're running Debian 2.0 or earlier. That was an ugly hack and is no longer necessary now that xdm is in its own package. I sometimes think I will spend the rest of my life explaining this to people. Ironically, the new way of handling xdm is more consistent will all the other daemons in daemons. People just got really used to the kludge. -- G. Branden Robinson | Debian GNU/Linux |// // // / / [EMAIL PROTECTED] |EI 'AANIIGOO 'AHOOT'E cartoon.ecn.purdue.edu/~branden/ | pgpYSDIiJIhj1.pgp Description: PGP signature
Re: Preventing xdm from starting
Alexandre DEVAURE wrote: > Well, I think there is a better way but I don't have a debian system = > now so the file names can changed. > In the /etc/X11 directory, in a file named config, you have the line = > "xdm-start" or "start-xdm". Change it in "no-xdm-start" or = > "no-start-xdm" or comment out it. > When the script /etc/init.d/xdm runs, it tests the presence of = > xdm-start line. If it doesn't find it, it doesn't launch xdm. >From /usr/doc/xbase/README.Debian on slink: 2) xdm and xfs (among other programs) are now in their own packages. They will start automatically on boot if they are installed. If you do not desire this, remove the packages before your next reboot. dpkg --remove xdm dpkg --remove xfs 3) The /etc/X11/config file is no longer used and may be removed. The flags in it have been relocated to other files. man Xsession.options man xdm.options man xfs.options
Re: Preventing xdm from starting
In a message dated 4/30/99 8:03:30 AM Central Daylight Time, [EMAIL PROTECTED] writes: > Well, I think there is a better way but I don't have a debian system now so > the file names can changed. > In the /etc/X11 directory, in a file named config, you have the line "xdm- > start" or "start-xdm". Change it in "no-xdm-start" or "no-start-xdm" or > comment out it. > When the script /etc/init.d/xdm runs, it tests the presence of xdm-start > line. If it doesn't find it, it doesn't launch xdm. > This approach doesn't work in slink because the /etc/X11/options file doesn't exist. -Jay
Re: [Thanks] Preventing xdm from starting
Thanks guys!
Re: Preventing xdm from starting
In a message dated 4/30/99 4:46:11 AM Central Daylight Time, [EMAIL PROTECTED] writes: > Since I installed X on my slink dist, xdm starts automaticly when I boot my > computer. Normally, this is no problem, but in some circumstances I would > like to quit X (ie to rebuild the kernel). > > My question is: > > How do I kill xdm, or prevent xdm from starting at boot-time (so I can start > X with the startx command)? > To stop xdm, execute: /etc/init.d/xdm stop There are numerous ways to prevent xdm from starting - but I'd rather not name them here (again) as they are surely in the mail archives. -Jay
RE: Preventing xdm from starting
Well, I think there is a better way but I don't have a debian system now so the file names can changed. In the /etc/X11 directory, in a file named config, you have the line "xdm-start" or "start-xdm". Change it in "no-xdm-start" or "no-start-xdm" or comment out it. When the script /etc/init.d/xdm runs, it tests the presence of xdm-start line. If it doesn't find it, it doesn't launch xdm. Alexandre Devaure -- De :Krosigk, Lorenz Von[SMTP:[EMAIL PROTECTED] Date d'envoi : vendredi 30 avril 1999 12:23 A : 'Robert-Jan Kuijvenhoven'; debian-user@lists.debian.org Cc :recipient list not shown Objet : RE: Preventing xdm from starting You can go to a open console with ALT+CONTROL+Fn. Then, if you really want to stop X, you have to go to /etc/init.d/ and execute: $/etc/init.d>./xdm stop. If later on you want to restart it execute: $/etc/init.d>./xdm start. > -Mensaje original- > De: Robert-Jan Kuijvenhoven [SMTP:[EMAIL PROTECTED] > Enviado el: viernes 30 de abril de 1999 11:51 > Para: debian-user@lists.debian.org > CC: recipient list not shown; @[EMAIL PROTECTED] > Asunto: Preventing xdm from starting > > Hi, > > Since I installed X on my slink dist, xdm starts automaticly when I boot > my computer. Normally, this is no problem, but in some circumstances I > would like to quit X (ie to rebuild the kernel). > > My question is: > > How do I kill xdm, or prevent xdm from starting at boot-time (so I can > start X with the startx command)? > > Thanks, > > Robert-Jan > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < > /dev/null -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
Re: Preventing xdm from starting
In foo.debian-user, you wrote: > Hi, > > Since I installed X on my slink dist, xdm starts automaticly when I boot my > computer. Normally, this is no problem, but in some circumstances I would > like to quit X (ie to rebuild the kernel). > > My question is: > > How do I kill xdm, or prevent xdm from starting at boot-time (so I can start > X with the startx command)? To stop it until the next reboot, just issue the command: [prompt]# /etc/init.d/xdm stop To remove it completely from your system: [prompt]# dpkg --purge xdm To leave it installed, but keep it from starting on boot: [prompt]# update-rc.d -f xdm remove If you want it available in some runlevels, but not in others, just modify your symlinks with 'update-rc.d'. See man update-rc.d for details. -Mitch
RE: Preventing xdm from starting
You can go to a open console with ALT+CONTROL+Fn. Then, if you really want to stop X, you have to go to /etc/init.d/ and execute: $/etc/init.d>./xdm stop. If later on you want to restart it execute: $/etc/init.d>./xdm start. > -Mensaje original- > De: Robert-Jan Kuijvenhoven [SMTP:[EMAIL PROTECTED] > Enviado el: viernes 30 de abril de 1999 11:51 > Para: debian-user@lists.debian.org > CC: recipient list not shown; @[EMAIL PROTECTED] > Asunto: Preventing xdm from starting > > Hi, > > Since I installed X on my slink dist, xdm starts automaticly when I boot > my computer. Normally, this is no problem, but in some circumstances I > would like to quit X (ie to rebuild the kernel). > > My question is: > > How do I kill xdm, or prevent xdm from starting at boot-time (so I can > start X with the startx command)? > > Thanks, > > Robert-Jan > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < > /dev/null
Preventing xdm from starting
Hi, Since I installed X on my slink dist, xdm starts automaticly when I boot my computer. Normally, this is no problem, but in some circumstances I would like to quit X (ie to rebuild the kernel). My question is: How do I kill xdm, or prevent xdm from starting at boot-time (so I can start X with the startx command)? Thanks, Robert-Jan