From owner-freebsd-current@FreeBSD.ORG Wed Apr 8 05:11:28 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94F08106566B for ; Wed, 8 Apr 2009 05:11:28 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id 6514D8FC15 for ; Wed, 8 Apr 2009 05:11:28 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by rv-out-0506.google.com with SMTP id l9so2975053rvb.43 for ; Tue, 07 Apr 2009 22:11:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=pzwWyOPlzVLWqmG+8iuGQV+3H8+JEV6P+/QyMqbQcjc=; b=cKichLet8phO/uV+u2/RfXgMf6hffEiIUA6jL0Gx12Cry/1mcB4jf/bhmfyR1mRZvU MBKe3sWFnc3TykzX4XWtX9CuAaynQibu2UdmAx/DZ95zWP5MFSQx/bct99+Nwk1KnbKN 4QuP7cNcPmiNUVYVI+oAg67E4ia2G33quiJg0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=O0MfZm19lNJmLuZorkmewJeTYXzs8ad/0Tc/oer4DviJpz1uTCPLMnkYgW7B7LJCIa mhKku8p6/plHo0xri9oUzrsDcv1fPQqepJBkLddgQjHq7Dkm8GUCZ47mjyCo71N2fp8j DhohWiRPV8PsNdHIRL5wcveLZ19REe/5dZB10= MIME-Version: 1.0 Received: by 10.141.116.17 with SMTP id t17mr339496rvm.268.1239167487312; Tue, 07 Apr 2009 22:11:27 -0700 (PDT) In-Reply-To: <49DBA371.3080804@freebsd.org> References: <934e1d760904061455o4736d643o1d07e3292192d94c@mail.gmail.com> <1239075455.1908.36.camel@balrog.2hip.net> <49DACDBD.3030809@freebsd.org> <1239077210.1908.39.camel@balrog.2hip.net> <49DAD429.6090309@freebsd.org> <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> Date: Tue, 7 Apr 2009 22:11:27 -0700 Message-ID: From: Freddie Cash To: current@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Hal and KDM breakage (was Re: KDE4 and input events stalled) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2009 05:11:29 -0000 On Tue, Apr 7, 2009 at 12:03 PM, Joe Marcus Clarke wro= te: > See /usr/ports/x11/gdm/files/gdm.in. =C2=A0This is working for GNOME user= s. For the interested, here's a hacked together kdm4 script, using the gdm.in above as a basis. It works here, although that isn't really saying much. :) I called it kdm4 to differentiate it from kdm from kdebase3: #!/bin/sh # PROVIDE: kdm # REQUIRE: LOGIN cleanvar moused syscons dbus hald # # Add the following to /etc/rc.conf to start KDM 4.x at boot time: # # kdm4_enable=3D"YES" # . /etc/rc.subr kdm4_enable=3D${kdm4_enable-no} export PATH=3D/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/kde4/bin:/usr/local/= bin:/usr/local/sbin name=3D"kdm" rcvar=3D`set_rcvar` command=3D"/usr/local/kde4/bin/${name}" procname=3D"/usr/local/kde4/bin/${name}-bin" pidfile=3D"/var/run/${name}.pid" start_cmd=3D"kdm_start" kdm_start() { echo "Starting ${name}." ( iter=3D0 while ! ps -axoargs | grep "^/usr/libexec/getty " | grep -qv grep >/dev/null 2>&1; do if [ ${iter} -eq 60 ]; then break fi sleep 1 iter=3D$(expr ${iter} + 1) done iter=3D0 while ! /usr/local/bin/lshal >/dev/null 2>&1 ; do if [ ${iter} -eq 60 ]; then break fi sleep 1 iter=3D$(expr ${iter} + 1) done ${command} ${kdm_flags} ) & } load_rc_config ${name} run_rc_command "$1" --=20 Freddie Cash fjwcash@gmail.com