Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2008 11:18:22 +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:  <20080430111804.H4920@wojtek.tensor.gdynia.pl>
In-Reply-To: <20080430191129.f646e26a.gary@pattersonsoftware.com>
References:  <20080429160851.8f21394e.gary@pattersonsoftware.com> <20080430082403.T99651@wojtek.tensor.gdynia.pl> <20080430191129.f646e26a.gary@pattersonsoftware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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/<user>/.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"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080430111804.H4920>