#247 HIGH BTest-4: If X fails to start, the OLPC system shouldn't keep trying to restart it indefinitely

Zarro Boogs per Child bugtracker at laptop.org
Thu May 24 13:07:56 EDT 2007


#247: If X fails to start, the OLPC system shouldn't keep trying to restart it
indefinitely
---------------------+------------------------------------------------------
  Reporter:  jg      |       Owner:  cjb    
      Type:  defect  |      Status:  new    
  Priority:  high    |   Milestone:  BTest-4
 Component:  distro  |     Version:         
Resolution:          |    Keywords:         
  Verified:  0       |  
---------------------+------------------------------------------------------
Changes (by wmb at firmworks.com):

  * verified:  => 0

Comment:

 Easy fix:

 Add this line at the beginning of /usr/local/bin/dm:

    [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n

 In /etc/inittab, change:

    x:5:once:/etc/X11/prefdm -nodaemon
 to
    x:5:once:/usr/local/bin/dm

 The resulting behavior is much more pleasant in the failing case, and a
 little faster in the working case (it can't be slower....).

-- 
Ticket URL: <http://dev.laptop.org/ticket/247#comment:4>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list