* [gentoo-user] set xdm to start after agetty
@ 2007-09-28 19:41 Thanasis
2007-09-29 11:31 ` Albert Hopkins
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Thanasis @ 2007-09-28 19:41 UTC (permalink / raw
To: gentoo-user
How can we set the xdm/gdm not to start before the agetty processes
(during the boot phase)?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] set xdm to start after agetty
2007-09-28 19:41 [gentoo-user] set xdm to start after agetty Thanasis
@ 2007-09-29 11:31 ` Albert Hopkins
2007-10-01 0:43 ` Dan Farrell
2007-10-01 3:14 ` Daniel Iliev
2007-10-03 12:52 ` Matthias Bethke
2 siblings, 1 reply; 6+ messages in thread
From: Albert Hopkins @ 2007-09-29 11:31 UTC (permalink / raw
To: gentoo-user
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] set xdm to start after agetty
2007-09-29 11:31 ` Albert Hopkins
@ 2007-10-01 0:43 ` Dan Farrell
2007-10-01 2:31 ` Albert Hopkins
0 siblings, 1 reply; 6+ messages in thread
From: Dan Farrell @ 2007-10-01 0:43 UTC (permalink / raw
To: gentoo-user
On Sat, 29 Sep 2007 06:31:58 -0500
Albert Hopkins <marduk@letterboxes.org> 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.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] set xdm to start after agetty
2007-10-01 0:43 ` Dan Farrell
@ 2007-10-01 2:31 ` Albert Hopkins
0 siblings, 0 replies; 6+ messages in thread
From: Albert Hopkins @ 2007-10-01 2:31 UTC (permalink / raw
To: gentoo-user
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] set xdm to start after agetty
2007-09-28 19:41 [gentoo-user] set xdm to start after agetty Thanasis
2007-09-29 11:31 ` Albert Hopkins
@ 2007-10-01 3:14 ` Daniel Iliev
2007-10-03 12:52 ` Matthias Bethke
2 siblings, 0 replies; 6+ messages in thread
From: Daniel Iliev @ 2007-10-01 3:14 UTC (permalink / raw
To: gentoo-user
On Fri, 28 Sep 2007 22:41:52 +0300
Thanasis <thanasis@asyr.hopto.org> 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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] set xdm to start after agetty
2007-09-28 19:41 [gentoo-user] set xdm to start after agetty Thanasis
2007-09-29 11:31 ` Albert Hopkins
2007-10-01 3:14 ` Daniel Iliev
@ 2007-10-03 12:52 ` Matthias Bethke
2 siblings, 0 replies; 6+ messages in thread
From: Matthias Bethke @ 2007-10-03 12:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 487 bytes --]
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
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-10-03 13:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-28 19:41 [gentoo-user] set xdm to start after agetty Thanasis
2007-09-29 11:31 ` Albert Hopkins
2007-10-01 0:43 ` Dan Farrell
2007-10-01 2:31 ` Albert Hopkins
2007-10-01 3:14 ` Daniel Iliev
2007-10-03 12:52 ` Matthias Bethke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox