From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 09:40:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDA9E1065672 for ; Wed, 30 Apr 2008 09:40:04 +0000 (UTC) (envelope-from gary@pattersonsoftware.com) Received: from nschwmtas01p.mx.bigpond.com (nschwmtas01p.mx.bigpond.com [61.9.189.137]) by mx1.freebsd.org (Postfix) with ESMTP id 4BBB48FC1C for ; Wed, 30 Apr 2008 09:40:04 +0000 (UTC) (envelope-from gary@pattersonsoftware.com) Received: from nschwotgx01p.mx.bigpond.com ([121.223.241.235]) by nschwmtas01p.mx.bigpond.com with ESMTP id <20080430094001.LADR14575.nschwmtas01p.mx.bigpond.com@nschwotgx01p.mx.bigpond.com>; Wed, 30 Apr 2008 09:40:01 +0000 Received: from mail.pattersonsoftware.com ([121.223.241.235]) by nschwotgx01p.mx.bigpond.com with ESMTP id <20080430093959.QBKK1861.nschwotgx01p.mx.bigpond.com@mail.pattersonsoftware.com>; Wed, 30 Apr 2008 09:39:59 +0000 Received: from localhost (mail [192.168.111.46]) by mail.pattersonsoftware.com (Postfix) with ESMTP id E73365363D1; Wed, 30 Apr 2008 19:39:50 +1000 (EST) X-Virus-Scanned: amavisd-new at pattersonsoftware.com Received: from mail.pattersonsoftware.com ([192.168.111.46]) by localhost (mail.pattersonsoftware.com [192.168.111.46]) (amavisd-new, port 10024) with ESMTP id dqrnFz5thoXo; Wed, 30 Apr 2008 19:39:36 +1000 (EST) Received: from elegia (60-242-254-180.static.tpgi.com.au [60.242.254.180]) by mail.pattersonsoftware.com (Postfix) with ESMTP id 519C453609B; Wed, 30 Apr 2008 19:39:13 +1000 (EST) Date: Wed, 30 Apr 2008 19:39:05 +1000 From: Gary Newcombe To: Wojciech Puchar Message-Id: <20080430193905.572bab9d.gary@pattersonsoftware.com> In-Reply-To: <20080430111804.H4920@wojtek.tensor.gdynia.pl> References: <20080429160851.8f21394e.gary@pattersonsoftware.com> <20080430082403.T99651@wojtek.tensor.gdynia.pl> <20080430191129.f646e26a.gary@pattersonsoftware.com> <20080430111804.H4920@wojtek.tensor.gdynia.pl> Organization: Patterson Software X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150203.48183E71.0055,ss=1,fgs=0 Cc: freebsd-questions@freebsd.org Subject: Re: Spawning Xdialogs from devd... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 09:40:04 -0000 On Wed, 30 Apr 2008 11:18:22 +0200 (CEST), Wojciech Puchar wrote: > > Even if running X under root, it's the same behaviour. Unless devd is > > restarted, there is no sound or xdialogs. If I restart devd from > > another console, then the sound device becomes available and sound can > > do you restart devd from xterm? if so - DISPLAY gets set If I set DISPLAY first in .cshrc, there's no difference. Also, if I set DISPLAY in another console before restarting devd, still same case as before. Also, how about the sound? Is it that devd can't hook into the drivers in question so early in the boot process or something? > > > > be heard, but no Xdialogs. If devd is restarted from within X, then > > both sound and Xdialogs are ok. This is with any window manager, and > > nothing much else is running here to screw things up. > > > > The script is definitely being run on the keypress each time. There's > > obviously something I'm missing about devd here. > >