[Ilugc] Xmessage in SUSE

  • From: tushar.rishabadas@xxxxxxxxx (Tushar Rishabadas)
  • Date: Wed, 6 Jun 2012 17:49:55 +0530

On 6 Jun 2012 17:38, "Rajesh kumar" <rkrajeshkumar87 at gmail.com> wrote:


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


I tried that still is not working.

I tried the below too

in crontab

* * * * * export DISPLAY=:0 |  xmessage "Test Message"

Is 0 the right display number? You can also pass an ip address afaik..

-tushar

--
regards
Rajesh Kumar R.K
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Other related posts: