Date: Wed, 30 Apr 2008 08:25:04 +0200 (CEST) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: Gary Newcombe <gary@pattersonsoftware.com> Cc: freebsd-questions@freebsd.org Subject: Re: Spawning Xdialogs from devd... Message-ID: <20080430082403.T99651@wojtek.tensor.gdynia.pl> In-Reply-To: <20080429160851.8f21394e.gary@pattersonsoftware.com> References: <20080429160851.8f21394e.gary@pattersonsoftware.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> match "subsystem" "IBM"; > action "/root/bin/acpi_oem_exec.sh $notify ibm"; > }; > > I'm curious to know what is actually going on here. I wouldn't have thought the context from which devd is restarted would make any difference, but clearly it does. Any clues? > > Also, does anyone have any ideas how I can call Xdialog to get the windows displayed? > you run Xdialog from root (devd is root), you run X from user. ln -s /home/<user>/.Xuathority to /root/.Xauthority and of course add DISPLAY=:0 before Xdialog
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080430082403.T99651>