Date: Tue, 7 Apr 2009 22:14:46 -0700 From: Freddie Cash <fjwcash@gmail.com> To: current@freebsd.org Subject: Re: Hal and KDM breakage (was Re: KDE4 and input events stalled) Message-ID: <b269bc570904072214n55d93ea6t309c83e5eafbdd5d@mail.gmail.com> In-Reply-To: <1239150469.98664.18.camel@shumai.marcuscom.com> References: <934e1d760904061455o4736d643o1d07e3292192d94c@mail.gmail.com> <1239078081.1908.41.camel@balrog.2hip.net> <49DAE987.7090802@freebsd.org> <1239086408.35025.59.camel@shumai.marcuscom.com> <20090407185915.GY31409@albert.catwhisker.org> <49DBA371.3080804@freebsd.org> <92cd2ff70904071637h362da63ua13c1f8eca6fc616@mail.gmail.com> <1239147806.98664.12.camel@shumai.marcuscom.com> <92cd2ff70904071653r4bf3b381lf5de220b2e280c0c@mail.gmail.com> <1239150469.98664.18.camel@shumai.marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 7, 2009 at 5:27 PM, Joe Marcus Clarke <marcus@freebsd.org> wrot= e: > On Tue, 2009-04-07 at 16:53 -0700, Tim Kientzle wrote: >> On Tue, Apr 7, 2009 at 4:43 PM, Joe Marcus Clarke <marcus@freebsd.org> >> wrote: >> >> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 It's not a question of what hal is doing, bu= t rather how >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 console-kit >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 works (and hald depends on console-kit-daemo= n). =C2=A0It needs to >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 be able to >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 monitor each of the active vtys... >> >> This is the part of the picture I'm still missing. =C2=A0*Why* does >> hald (via console-kit) care about tracking active vtys? >> (I presume hald actually doesn't care but that some client >> of hald needs this information.... ???) > > ConsoleKit monitors the vtys for active changes so it can provide > consumers such as hal and PolicyKit information about active sessions. > In particular, hal uses CK to determine if a user is currently logged in > on the console, and if so, allows that user to mount certain volumes > that would otherwise not be allowed. > >> >> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 .... =C2=A0Bland did some work to correct th= is in -CURRENT, but it >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 won't work on other versions. =C2=A0It was j= ust easier to leave the >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 hack in >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 place. >> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 If this could be universally fixed in all su= pported versions >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 of FreeBSD, >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 then I would be happy to remove the hacks. >> >> I'm still curious whether it's feasible to just not monitor the vtys. > > Sure, you can try it. =C2=A0Especially if you're not using GNOME, this mi= ght > be fine. =C2=A0Just remove the hacks from hald's rc.d script. Doesn't work, at least not in my quick-n-dirty testing, using the kdm4 script I just posted. If you remove the lshal checks, then the keyboard doesn't work once kdm starts. --=20 Freddie Cash fjwcash@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b269bc570904072214n55d93ea6t309c83e5eafbdd5d>