#7006 BLOC Never A: XO-get does not function from the tty

Zarro Boogs per Child bugtracker at laptop.org
Sat May 31 11:53:56 EDT 2008


#7006: XO-get does not function from the tty
----------------------+-----------------------------------------------------
  Reporter:  ffm      |       Owner:  crazy-chris   
      Type:  defect   |      Status:  new           
  Priority:  blocker  |   Milestone:  Never Assigned
 Component:  xo-get   |     Version:  Update.1      
Resolution:           |    Keywords:                
  Verified:  0        |    Blocking:                
 Blockedby:           |  
----------------------+-----------------------------------------------------

Comment(by sjackman):

 Success! When you run xo-get at the TTY, it doesn't have the necessary
 DBUS or X environment variables set. You can borrow the environment
 variables from another process like this:

 {{{
 su olpc
 export $(cat /proc/*/environ |xargs -0 -n1 echo |egrep 'DBUS|X')
 xo-get update
 xo-get install xo-get
 xo-get install Terminal
 }}}

 Once you have terminal installed, you can run the graphical xo-get or run
 the command-line xo-get from the terminal in sugar.

-- 
Ticket URL: <http://dev.laptop.org/ticket/7006#comment:2>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list