ok i'll specify the display though not experienced with xauth i'll search for it. as for cron vs gui well any advice? i really need this service to be up and running 24/7 with no downtime so i'm thinking of the following cronjob: if netstat -ntulp | grep -v 4444 DISPLAY="localhost:1"; java - jar selenium-server.jar > /tmp/rc.log 2>&1; else echo "nothing to do `date`" >> /tmp/rc.log echo echo fi # Can you advise me with a better idea? thanks, --Roland From: cameron@xxxxxxxxxxxxxx Date: Sat, 5 Feb 2011 05:51:17 +1300 To: centos@xxxxxxxxxx Subject: Re: selenium rc server - run it on a specific display help! You need to instruct it what DISPLAY to run on. You should also need (I think) to do something with X authentication (xauth) Are you sure that running it from cron is suitable? Seems very unusual for a GUI program. On 5/02/2011, at 3:08 AM, Roland RoLaNd wrote: _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos |
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos