ReferencePlatforms/Linux-CentOS-5.0: Difference between revisions

Jump to navigation Jump to search
Version 7 - add Xvfb & metacity to crontab for unit tests
(Version 7 - add Xvfb & metacity to crontab for unit tests)
Line 300: Line 300:
</pre></code>
</pre></code>


== Version 7 ==
20090112 16:30 PST
=== metacity / Xvfb crontabs ===
Add the following to cltbld's crontab:
<pre>
# Make sure Xvfb is running on :2
@reboot    ps -C Xvfb | grep -q Xvfb || exec Xvfb :2 -screen 0 1280x1024x24 &
*/5 * * * * ps -C Xvfb | grep -q Xvfb || exec Xvfb :2 -screen 0 1280x1024x24 &
# Make sure metacity is running on :2
@reboot    ps -C metacity -f | grep -q :2 || exec metacity --display :2 --replace &
*/5 * * * * ps -C metacity -f | grep -q :2 || exec metacity --display :2 --replace &
</pre>




Line 332: Line 348:
  CC=/tools/gcc/bin/gcc
  CC=/tools/gcc/bin/gcc
  CXX=/tools/gcc/bin/g++
  CXX=/tools/gcc/bin/g++
== metacity / Xvfb crontabs ==
Add the following to cltbld's crontab:
<pre>
# Make sure Xvfb is running on :2
@reboot    ps -C Xvfb | grep -q Xvfb || exec Xvfb :2 -screen 0 1280x1024x24 &
*/5 * * * * ps -C Xvfb | grep -q Xvfb || exec Xvfb :2 -screen 0 1280x1024x24 &
# Make sure metacity is running on :2
@reboot    ps -C metacity -f | grep -q :2 || exec metacity --display :2 --replace &
*/5 * * * * ps -C metacity -f | grep -q :2 || exec metacity --display :2 --replace &
</pre>
Confirmed users
4,293

edits

Navigation menu