From owner-freebsd-gnome@FreeBSD.ORG Tue Jun 16 20:21:29 2009 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3451106566B; Tue, 16 Jun 2009 20:21:29 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 7396E8FC0C; Tue, 16 Jun 2009 20:21:29 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id n5GKMWDp067148; Tue, 16 Jun 2009 16:22:32 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Anton Shterenlikht In-Reply-To: <20090616095729.GA98713@mech-cluster238.men.bris.ac.uk> References: <20090424112709.GA29412@mech-cluster238.men.bris.ac.uk> <1240594738.58743.10.camel@shumai.marcuscom.com> <20090428133027.GA45901@mech-cluster238.men.bris.ac.uk> <1241076847.28498.291.camel@shumai.marcuscom.com> <1241100519.1761.10.camel@balrog.2hip.net> <20090430142744.GA32844@mech-cluster238.men.bris.ac.uk> <1241301413.33649.110.camel@shumai.marcuscom.com> <20090616095729.GA98713@mech-cluster238.men.bris.ac.uk> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-4nRnxmnC55KDXzmnsZxk" Organization: MarcusCom, Inc. Date: Tue, 16 Jun 2009 16:21:42 -0400 Message-Id: <1245183702.71590.6.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: freebsd-gnome@freebsd.org Subject: Re: dbus, hal over xdmcp? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2009 20:21:30 -0000 --=-4nRnxmnC55KDXzmnsZxk Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2009-06-16 at 10:57 +0100, Anton Shterenlikht wrote: > On Sat, May 02, 2009 at 05:56:53PM -0400, Joe Marcus Clarke wrote: > > On Thu, 2009-04-30 at 15:27 +0100, Anton Shterenlikht wrote: > > > On Thu, Apr 30, 2009 at 09:08:39AM -0500, Robert Noland wrote: > > > > On Thu, 2009-04-30 at 03:34 -0400, Joe Marcus Clarke wrote: > > > > > On Tue, 2009-04-28 at 14:30 +0100, Anton Shterenlikht wrote: > > > > > > On Fri, Apr 24, 2009 at 01:38:58PM -0400, Joe Marcus Clarke wro= te: > > > > > > > On Fri, 2009-04-24 at 12:27 +0100, Anton Shterenlikht wrote: > > > > > > > > I've read the dbus and hald man pages but I'm still confuse= d. > > > > > > > >=20 > > > > > > > > In a configuration where xserver connects to clients via XD= MCP > > > > > > > > where do I need to run dbus and hald, or more specifically,= on what > > > > > > > > computer do I need to have in /etc/rc.conf these two lines:= =20 > > > > > > > >=20 > > > > > > > > dbus_enable=3D"YES" > > > > > > > > hald_enable=3D"YES" > > > > > > > >=20 > > > > > > > >=20 > > > > > > > > a. only on the machine which runs xserver? > > > > > > > > b. only on the machine which runs the clients? > > > > > > > > c. on both the xserver and clients machines? > > > > > > > >=20 > > > >=20 > > > > As far as keyboard and mouse are concerned these are client side > > > > devices. The server itself can be run headless, though it has been= a > > > > very long time since I've done anything like that... You might nee= d hal > > > > on the server side for things like auto-mounting server side cd's o= r > > > > whatever, but not for kbd/mouse. > > >=20 > > > I understand this refers to hal, isn't it? > > >=20 > > > But dbus is about interprocess communication, and the processes are > > > run on a remote box. So should I run dbus daemon on the remote box > > > as well, or instead of, the xserver box? > >=20 > > You need to run on both. The process address space is still on the > > XDMCP server, so the system daemon must be running there. The clients > > have mice and keyboards so they need dbus and hald. You will also need > > to start your dbus-enabled processes with dbus-launch, or start your > > local X session with dbus-launch so that a session bus is running. Thi= s > > session bus will also be running on the XDMCP server. >=20 > Both hal and dbus daemons are running on both the X server and XDMCP serv= er. > And I launch the session with: >=20 > %head $HOME/.xsession > dbus-launch --exit-with-session mwm >=20 > Still on the XDMCP server I just see: >=20 > # ps ax | grep dbus > 594 ?? Is 0:00.02 /usr/local/bin/dbus-daemon --system > 98706 ?? S 0:00.04 dbus-launch --exit-with-session mwm > 98709 ?? S 0:00.00 dbus-launch --exit-with-session mwm > 98710 ?? Ss 0:00.00 /usr/local/bin/dbus-daemon --fork --print-pid 7= --pri > 98712 p0 R+ 0:00.00 grep dbus > # >=20 > and on the X server I just see black screen. I can move the mouse, but > nothing happens with any clicks. >=20 > If I start the session with no dbus-launch, I can use mwm fine, but no > dbus. >=20 > What else can I check? You could try leaving out --exit-with-session. Of course, there may be a problem with your dbus installation. This should just work. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-4nRnxmnC55KDXzmnsZxk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAko3/tUACgkQb2iPiv4Uz4cVUACgqqzM6SpqgpMc3Ktte3PUjmMB 0TcAnit4eGOLqSNECq9Dj3yaU1sLapO1 =fD93 -----END PGP SIGNATURE----- --=-4nRnxmnC55KDXzmnsZxk--