Re: [gentoo-user] set xdm to start after agetty
Hi Thanasis, on Friday, 2007-09-28 at 22:41:52, you wrote: > How can we set the xdm/gdm not to start before the agetty processes > (during the boot phase)? Have a look at the depend() function in /etc/init.d/xdm. It specifies what should be started before xdm, so adding agetty to an "after" line in this function should do it. cheers, Matthias -- I prefer encrypted and signed messages. KeyID: FAC37665 Fingerprint: 8C16 3F0A A6FC DF0D 19B0 8DEF 48D9 1700 FAC3 7665 pgpVebALK5VQz.pgp Description: PGP signature
Re: [gentoo-user] set xdm to start after agetty
On Fri, 28 Sep 2007 22:41:52 +0300 Thanasis <[EMAIL PROTECTED]> wrote: > How can we set the xdm/gdm not to start before the agetty processes > (during the boot phase)? Just an idea for a possible direction to point your investigation to... /etc/config-archive/etc/conf.d/xdm: === # Tell X to always start on VT7. Otherwise it autodetects the first available # VT, which means it has to wait until all gettys are started so it doesn't suck # up a VT that should have had a login prompt (very slow). # If XSTATICVT is on, the login manager will start as soon as possible during # the boot process. If you want X to dynamically start on the first unoccupied # VT after all gettys have started and you are using xdm, also remove the "vt7" # from /etc/X11/xdm/Xservers. XSTATICVT="yes" === I'm not sure if it is still valid because the new xdm file is different. /etc/conf.d/xdm: === # We always try and start X on a static VT. The various DMs normally default # to using VT7. If you wish to use the xdm init script, then you should ensure # that the VT checked is the same VT your DM wants to use. We do this check to # ensure that you have't accidently configured something to run on the VT # in your /etc/inittab file so that you don't get a dead keyboard. CHECKVT=7 === "/etc/conf.d/xdm" is provided by x11-apps/xinit HTH -- Best regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] set xdm to start after agetty
On Sun, 2007-09-30 at 19:43 -0500, Dan Farrell wrote: > > # rc-upate del xdm > > # echo '/etc/init.d/xdm start' >> /etc/conf.d/local.start > > > > I don't think you'd need to add anything to local.stop but you may > > wanna verify that. > > > > -- > > Albert W. Hopkins > > > You might want to stop XDM gracefully rather than pulling the rug out > from under its feet with the TERM signal. I don't know why it would > matter, but I bet you'll end up with artifacts in /tmp, ~/, or > something otherwise. What I meant is that I think the shutdown/reboot process will automagically runs a '/etc/init.d/xdm stop' even if you start it via local.start. I know it does so if you start it manually. Anyway nothing in my /tmp survives a reboot. -- Albert W. Hopkins -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] set xdm to start after agetty
On Sat, 29 Sep 2007 06:31:58 -0500 Albert Hopkins <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-09-28 at 22:41 +0300, Thanasis wrote: > > How can we set the xdm/gdm not to start before the agetty processes > > (during the boot phase)? > > I actually run /etc/init.d/xdm manually after a boot because, chances > are, if I've rebooted my machine there's stuff I'm gonna want to do > from the command line before I start a desktop. > > Or as a previous poster said. > > # rc-upate del xdm > # echo '/etc/init.d/xdm start' >> /etc/conf.d/local.start > > I don't think you'd need to add anything to local.stop but you may > wanna verify that. > > -- > Albert W. Hopkins > You might want to stop XDM gracefully rather than pulling the rug out from under its feet with the TERM signal. I don't know why it would matter, but I bet you'll end up with artifacts in /tmp, ~/, or something otherwise. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] set xdm to start after agetty
On Fri, 2007-09-28 at 22:41 +0300, Thanasis wrote: > How can we set the xdm/gdm not to start before the agetty processes > (during the boot phase)? I actually run /etc/init.d/xdm manually after a boot because, chances are, if I've rebooted my machine there's stuff I'm gonna want to do from the command line before I start a desktop. Or as a previous poster said. # rc-upate del xdm # echo '/etc/init.d/xdm start' >> /etc/conf.d/local.start I don't think you'd need to add anything to local.stop but you may wanna verify that. -- Albert W. Hopkins -- [EMAIL PROTECTED] mailing list
[gentoo-user] set xdm to start after agetty
How can we set the xdm/gdm not to start before the agetty processes (during the boot phase)? -- [EMAIL PROTECTED] mailing list