Roland RoLaNd
2011-Feb-04 14:08 UTC
[CentOS] selenium rc server - run it on a specific display help!
Dear all, i'm trying to run multiple selenium rc server on a centos box (different ports) with developers connecting to it through VNC (different respective ports) to check their automated test result. i can easily do the above manually (when it comes to running RC server). though automating the process is proving to be difficult. can anyone guide me on how to run a service on a specific display in an automated process? right now if i connect to a vnc session (any port) and i run it manually through iterm, it works normally. though setting an cron job that does the above, isnt working (rc opens in shell instead of on each dev's assigned display) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110204/d246e65b/attachment-0001.html>
Cameron Kerr
2011-Feb-04 16:51 UTC
[CentOS] selenium rc server - run it on a specific display help!
You need to instruct it what DISPLAY to run on. DISPLAY=... command-to-run-selenium 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:> Dear all, > > i'm trying to run multiple selenium rc server on a centos box (different ports) > with developers connecting to it through VNC (different respective ports) to check their automated test result. > i can easily do the above manually (when it comes to running RC server). > though automating the process is proving to be difficult. > can anyone guide me on how to run a service on a specific display in an automated process? > > right now if i connect to a vnc session (any port) and i run it manually through iterm, it works normally. > though setting an cron job that does the above, isnt working (rc opens in shell instead of on each dev's assigned display) > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110205/5bec5faf/attachment-0001.html>