Dear all,
I wrote a program in C language which has to
display a message box on the screen (in X windows).
I used the following code
Code:
system("kdialog --mesgbox \" Some Message text\"");
I works well When I run it in the background manually on the console
but It doesn't work When I put it in /etc/rc.local file.
/etc/rc.local contains the following line:
Code:
/usr/local/bin/myprogram &
The above program gets executed but the dialog doesn't appear.
Please give me some idea...
Thanks