From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 09:18:29 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 7A10B1065676 for ; Wed, 30 Apr 2008 09:18:29 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6AEE78FC20 for ; Wed, 30 Apr 2008 09:18:28 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3U9IND9004924; Wed, 30 Apr 2008 11:18:23 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3U9IMb2004921; Wed, 30 Apr 2008 11:18:22 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 30 Apr 2008 11:18:22 +0200 (CEST) From: Wojciech Puchar To: Gary Newcombe In-Reply-To: <20080430191129.f646e26a.gary@pattersonsoftware.com> Message-ID: <20080430111804.H4920@wojtek.tensor.gdynia.pl> References: <20080429160851.8f21394e.gary@pattersonsoftware.com> <20080430082403.T99651@wojtek.tensor.gdynia.pl> <20080430191129.f646e26a.gary@pattersonsoftware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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:18:29 -0000 > 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 > 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. > >> >> ln -s /home//.Xuathority to /root/.Xauthority >> >> and of course add >> >> DISPLAY=:0 before Xdialog > >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >