Hey.<br><br>I have a problem with starting enlightenment. Unfortunately I do not know what caused it to stop working. I shut down the phone one day and everything was seemingly working. Then two days later I wanted to play with the openmoko again and booted up, but it stopped in text-mode.<br>
<br>With some help from IRC, I figured it is enlightenment not starting. Enlightenment seemingly can&#39;t find it&#39;s prefix directory. Setting the environment-variable E_PREFIX to &quot;/usr&quot; (which is the hard-coded default anyway), it gives a clue. It is looking for the file /usr/share/enlightenment/data/themes/default.edj, which does not exist. But this is strange, as it didn&#39;t exist on the jffs2 flash image either.<br>
<br>I thought something had gone wrong with enlightenment, so I decided to reinstall e-wm by using opkg e-wm remove. This was not possible without removing most of the installed software on the phone, so I decided to ignore its dependencies by using:<br>
$ opkg remove e-wm -force-depends<br><br>Then I wanted to installed it again from repository:<br>$ opkg install e-wm<br>Installing e-wm (0.16.999.050+svnr37988-r0.1) to root...<br>Collected errors:<br>&nbsp;* ERROR: Package e-wm (parent e-wm) is not available from any configured src.<br>
&nbsp;* Failed to download e-wm. Perhaps you need to run &#39;opkg update&#39;?<br><br><br>What is this message actually saying? Apparently it does find the e-wm package in the repository (as it&#39;s able to find its versioning numbers), but then reports e-wm not available? How do I install this package?<br>
root@om-gta02:~# opkg list | grep e-wm<br>e-wm - 0.16.999.043+svnr36882-r14.01 - The Enlightenment Window Manager Version 17<br>e-wm - 0.16.999.050+svnr37988-r0.1 -<br>e-wm-dbg - 0.16.999.043+svnr36882-r14.01 - The Enlightenment Window Manager Version 17<br>
e-wm-dev - 0.16.999.043+svnr36882-r14.01 - The Enlightenment Window Manager Version 17<br>e-wm-fm-data - 0.16.999.043+svnr36882-r14.01 - The Enlightenment Window Manager Version 17<br>e-wm-locale-bg - 0.16.999.043+svnr36882-r14.01 - bg translation for e-wm<br>
e-wm-locale-ca - 0.16.999.043+svnr36882-r14.01 - ca translation for e-wm<br>e-wm-locale-de - 0.16.999.043+svnr36882-r14.01 - de translation for e-wm<br>e-wm-locale-eo - 0.16.999.043+svnr36882-r14.01 - eo translation for e-wm<br>
e-wm-locale-es - 0.16.999.043+svnr36882-r14.01 - es translation for e-wm<br>e-wm-locale-fi - 0.16.999.043+svnr36882-r14.01 - fi translation for e-wm<br>e-wm-locale-fr - 0.16.999.043+svnr36882-r14.01 - fr translation for e-wm<br>
e-wm-locale-fr-ch - 0.16.999.043+svnr36882-r14.01 - fr_CH translation for e-wm<br>e-wm-locale-hu - 0.16.999.043+svnr36882-r14.01 - hu translation for e-wm<br>e-wm-locale-it - 0.16.999.043+svnr36882-r14.01 - it translation for e-wm<br>
e-wm-locale-ja - 0.16.999.043+svnr36882-r14.01 - ja translation for e-wm<br>e-wm-locale-ko - 0.16.999.043+svnr36882-r14.01 - ko translation for e-wm<br>e-wm-locale-pt-br - 0.16.999.043+svnr36882-r14.01 - pt_BR translation for e-wm<br>
e-wm-locale-ru - 0.16.999.043+svnr36882-r14.01 - ru translation for e-wm<br>e-wm-locale-sl - 0.16.999.043+svnr36882-r14.01 - sl translation for e-wm<br>e-wm-locale-zh-cn - 0.16.999.043+svnr36882-r14.01 - zh_CN translation for e-wm<br>
e-wm-locale-zh-tw - 0.16.999.043+svnr36882-r14.01 - zh_TW translation for e-wm<br>e-wm-theme-default - 0.16.999.043+svnr36882-r14.01 - The Enlightenment Window Manager Version 17<br>$ opkg list_installed | grep e-wm<br>$<br>
<br><br>I might have made things worse by actually copying the raw files from the flash image onto the phone:<br>scp /mnt/jffs2/usr/bin/enlightenment* root@192.168.0.202:/usr/bin<br>scp -r /mnt/jffs2/usr/lib/enlightenment/* root@192.168.0.202:/usr/lib/enlightenment<br>
... etc...<br><br>But at least this brought me back to where I started (except enlightenment is installed, but not in opkgs&#39; database). It is still looking for this nonexisting file. I also tried to remove ~/.e/ directory, with no luck. After starting X, the /tmp/x.log file looks like this:<br>
<br>(II) verbosity set to 5<br>Using GLAMO 3362 card<br>(II) Screen: 16/16 depth/bpp<br>(II) vram size:4194304, onscreen vram size:614400, offscreen vram size:3579904<br>(II) initialising offscreen pixmaps<br>Extended Input Devices not yet supported. Impelement it at line 647 in kinput.c<br>
D-BUS per-session daemon address is: unix:abstract=/tmp/dbus-B7VD7BIiIH,guid=417ab8356c2c4922c4da2d593898f595<br>[settings daemon] Forking. run with -n to prevent fork<br>ESTART: 0.00010 [0.00010] - begin<br>ESTART: 0.00194 [0.00185] - signals done<br>
ESTART: 0.01848 [0.01654] - determine prefix<br>WARNING: Prefix guess was wrong. Guessed:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tried to find file:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/share/enlightenment/data/themes/default.edj<br>WARNING: Enlightenment could not determine its installed prefix<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and is falling back on the compiled in default:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; You might like to try setting the following environment variables:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; E_PREFIX&nbsp;&nbsp;&nbsp;&nbsp; - points to the base prefix of install<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; E_BIN_DIR&nbsp;&nbsp;&nbsp; - optional in addition to E_PREFIX to provide<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a more specific binary directory<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; E_LIB_DIR&nbsp;&nbsp;&nbsp; - optional in addition to E_PREFIX to provide<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a more specific library dir<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; E_DATA_DIR&nbsp;&nbsp; - optional in addition to E_PREFIX to provide<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a more specific location for shared data<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; E_LOCALE_DIR - optional in addition to E_PREFIX to provide<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a more specific location for locale data<br>
ESTART: 0.02022 [0.00174] - prefix done<br>ESTART: 0.02147 [0.00125] - intl init<br>ESTART: 0.02263 [0.00115] - parse args<br>ESTART: 0.02331 [0.00068] - arg parse done<br>ESTART: 0.02397 [0.00066] - ecore init<br>ESTART: 0.28864 [0.26467] - ecore_file init<br>
ESTART: 0.30839 [0.01975] - more ecore<br>ESTART: 0.30899 [0.00060] - x connect<br>**** SEGMENTATION FAULT ****<br>run-parts: /etc/X11/Xsession.d/90xXWindowManager exited with code 1011<br>^M<br>waiting for X server to shut down FreeFontPath: FPE &quot;built-ins&quot; refcount is 2, should be 1; fixing.<br>
<br>^M<br><br><br><br>How to solve this? Any clues? A fresh reflash will probably solve the issue, but that means I would have to spend quite some time installing my software and stuff over again, and I will probably learn very little from it.<br>
<br>Thanks for any help. I&#39;ll try to be patient enought not to reflash it immediately. :)<br><br>