Hi Rajesh,

On Wed, Jun 6, 2012 at 10:56 AM, Rajesh kumar <[email protected]> wrote:
> I am building a custom application which starts in roots cron every day. I
> am using Xmessage to alert the user that the application is completed
> running. It should alert all the user who have logged in via a popup.
>
> The problem i am having is that its not getting appeared in popup. If the
> same script is made run on console then i am getting this popup. What is
> the reason for that. How it can be solved.

You will have to set the DISPLAY environment variable to the right
display number. Something like 'export DISPLAY=:0' before running the
script.

Thanks & Regards,
Guruprasad
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to