[Ilugc] Xmessage in SUSE

  • From: lgp171188@xxxxxxxxx (Guruprasad)
  • Date: Wed, 6 Jun 2012 11:16:26 +0530

Hi Rajesh,

On Wed, Jun 6, 2012 at 10:56 AM, Rajesh kumar <rkrajeshkumar87 at gmail.com> 
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

Other related posts: