SF.net SVN: morphix: [2548] trunk/mmaker/utils/auto-testing/ video-qemu-booting-iso.sh

[email protected] Mon, 30 Jul 2007 09:40:00 -0700
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2548
          http://morphix.svn.sourceforge.net/morphix/?rev=2548&view=rev
Author:   bmsleight
Date:     2007-07-30 09:39:58 -0700 (Mon, 30 Jul 2007)

Log Message:
-----------
vncserver needs to be forced into the required depth, pixel format and colour map when running from cron rather than ssh with x-forwarding.

Modified Paths:
--------------
    trunk/mmaker/utils/auto-testing/video-qemu-booting-iso.sh

Modified: trunk/mmaker/utils/auto-testing/video-qemu-booting-iso.sh
===================================================================
--- trunk/mmaker/utils/auto-testing/video-qemu-booting-iso.sh	2007-07-29 21:51:42 UTC (rev 2547)
+++ trunk/mmaker/utils/auto-testing/video-qemu-booting-iso.sh	2007-07-30 16:39:58 UTC (rev 2548)
@@ -104,11 +104,11 @@
 
 start_vnc_sessions ()
 {
-vncserver -nocursor -geometry $GEOMETRY  >$TMP_DIR/vncserver.txt 2>&1
+vncserver  -depth 24 -pixelformat rgb888 -cc 4 -nocursor -geometry $GEOMETRY  >$TMP_DIR/vncserver.txt 2>&1
 VNSERVER_QEMU=$(cat $TMP_DIR/vncserver.txt | grep 'New' | awk '{ print $5}' )
 VNCSERVER_QMEU_NUMBER=$(cat $TMP_DIR/vncserver.txt | grep 'New' | cut -d: -f2)
 echo "Launched vncserver $VNSERVER_QEMU"
-vncserver -nocursor -geometry 1600x1200  >$TMP_DIR/vncserver.txt 2>&1
+vncserver  -depth 24 -pixelformat rgb888 -cc 4 -nocursor -geometry 1600x1200  >$TMP_DIR/vncserver.txt 2>&1
 VNSERVER_VNCREC=$(cat $TMP_DIR/vncserver.txt | grep 'New' | awk '{ print $5}' )
 VNCSERVER_VNCREC_NUMBER=$(cat $TMP_DIR/vncserver.txt | grep 'New' | cut -d: -f2)
 echo "Launched vncserver $VNSERVER_VNCREC"


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/