I wrote this now :
void main()
{
extern char ** environ;
execl("/home/akhilesh/TRIALS_PROJECT/DEAMONS/Button","-display
10.129.32.27:0",NULL);
}
The error shown was :
-display 10.129.32.27:0: cannot connect to X server
Now what to do :(( ... I got stuck !!!
try giving the IP address also: -display ip_address:0
Philip
--
**********************************************************
* Never say die unless you are dead ! *
* .oooO *
* ( ) Oooo. Only those who will risk going too far *
* \ ( ( ) Can possibly find out how far one can go!*
* _) ) / *
* (_/
http://www.it.iitb.ac.in/~akhilesh/ *
**********************************************************