Hal and KDM breakage (was Re: KDE4 and input events stalled)

Joe Marcus Clarke marcus at FreeBSD.org
Mon Apr 6 23:40:09 PDT 2009


On Mon, 2009-04-06 at 22:49 -0700, Tim Kientzle wrote:
> Robert Noland wrote:
> > On Mon, 2009-04-06 at 21:18 -0700, Tim Kientzle wrote:
> >>>>>>   * If I start kdm from /etc/ttys, I get a blank
> >>>>>>     screen on startup.  If I start it from a root
> >>>>>>     login, it works okay for the first login.
> >>>>> This sounds more like it is waiting on hal/dbus to start up than
> >>>>> anything.
> 
> Yep, that seems to be the issue.  I got
> it to work finally by commenting out this
> one line from /usr/local/etc/rc.d/hald:
> 
> #start_cmd="hald_start"
> 
> In particular, this allows hald to startup
> in the regular sequence without that
> odd delay.

The problem is due to the fact that console-kit-daemon will not work if
it starts up before init has started the ttys.  Therefore, hald needs to
come up after the getty processes have been spawned (i.e. after init has
started the ttys).  If the ttys were started as part of the rc.d
process, this could be avoided.

This is why GNOME makes people use the rc.d script to start gdm.  It
just won't work out of /etc/ttys.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090407/ecbfae42/attachment.pgp


More information about the freebsd-current mailing list