[Erp5-report] r11534 - /erp5/trunk/utils/oood/start.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Nov 30 11:56:41 CET 2006


Author: kevin
Date: Thu Nov 30 11:56:40 2006
New Revision: 11534

URL: http://svn.erp5.org?rev=11534&view=rev
Log:
virtual display id should not be hard-coded

Modified:
    erp5/trunk/utils/oood/start.py

Modified: erp5/trunk/utils/oood/start.py
URL: http://svn.erp5.org/erp5/trunk/utils/oood/start.py?rev=11534&r1=11533&r2=11534&view=diff
==============================================================================
--- erp5/trunk/utils/oood/start.py (original)
+++ erp5/trunk/utils/oood/start.py Thu Nov 30 11:56:40 2006
@@ -71,7 +71,7 @@
   # "'-display :%d' % config.virtual_display_id" argument is not working, that's why we use
   # environnment variable. See "man xhost" for more details.
   new_context = os.environ
-  new_context['DISPLAY'] = ":99"
+  new_context['DISPLAY'] = ':%s' % config.virtual_display_id
   args_and_env = [ BIN  # First arg is always the name of the binary software we execute
                  , '-headless'
                  , '-nologo'




More information about the Erp5-report mailing list