#317 NORM First D: X authority file should be in tmpfs not jffs2

Zarro Boogs per Child bugtracker at laptop.org
Thu Oct 25 18:56:17 EDT 2007


#317: X authority file should be in tmpfs not jffs2
---------------------+------------------------------------------------------
  Reporter:  dwmw2   |       Owner:  Quozl                 
      Type:  defect  |      Status:  assigned              
  Priority:  normal  |   Milestone:  First Deployment, V1.0
 Component:  distro  |     Version:                        
Resolution:          |    Keywords:                        
  Verified:  0       |  
---------------------+------------------------------------------------------

Comment(by Quozl):

 Editing ''/etc/rwtab'' to remove ''/home/olpc/.Xauthority'', and editing
 ''/usr/bin/startx'' to use ''/var/tmp'' instead of ''$HOME'' for both
 authority files works fine, in that Sugar starts okay, the ''XAUTHORITY''
 environment variable is inherited by anything that Sugar starts.

 The ''strace'' of ''xauth'' shows that the file is created with mask 0600.

 But anything not started from Sugar, such as inbound SSH sessions, needs
 to be told where the authority file has got to.  This could be solved with
 a symlink in ''/home/olpc''.

 An alternate method of adding ''XAUTHORITY'' in ''olpc-dm'' using
 ''setenv(3)'' was also explored, but this doesn't let us change where the
 server authority file is stored.

-- 
Ticket URL: <https://dev.laptop.org/ticket/317#comment:10>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list