maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Chroot Scripts for Harmattan Open Mode (https://talk.maemo.org/showthread.php?t=82114)

wook_sf 2012-07-16 19:16

Re: Chroot Scripts for Harmattan Open Mode
 
1 Attachment(s)
Code:

~ # debian xephwm
Chroot dir specified: /.debian
/home/user/MyDocs/.imgs/debian-m5-v3e.img.ext2 specified in ~/.chroot
Mounting...
using image file: /home/user/MyDocs/.imgs/debian-m5-v3e.img.ext2
fs type is ext2
Using ext2 file system
FATAL: Error inserting ext2 (/lib/modules/current/ext2.ko): Device or resource busy
mounting /home/user/MyDocs/.imgs/debian-m5-v3e.img.ext2 on loop
.../home/user/MyDocs/.imgs/debian-m5-v3e.img.ext2 mounted on loop0
.
..
...
....
Updating the /etc/mtab file...
/bin/qchroot: line 145: blkid: not found
/bin/qchroot: line 156: blkid: not found
Everything set up, running chroot...

error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
unrecognised device identifier!
unrecognised device identifier!
unrecognised device identifier!
unrecognised device identifier!
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 120 requests (120 known processed) with 0 events remaining.
xinit:  connection to X server lost.
~ #

Question: how to remove bottom panel and enable full screen? :S

koe 2012-07-21 15:56

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

to toggle fullscreen :
[root@chroot: /] wmctrl -r app -b toggle,fullscreen
1234567890

rcolistete 2012-07-24 22:37

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by javispedro (Post 1190976)
Here's a first release: http://depot.javispedro.com/nit/harm..._1.0_armel.deb. xmim should be installed in Harmattan, not inside Easy Debian.

2. Now you need to start xmim (I hope you installed the above .deb by now!). Run:
Code:

xmimd -d :1 -x 0x4200002 -v
Replace 0x4200002 with the xephyr window id you got in the above step.

Javispedro, I get "Segmentation fault" every time xmimd runs. I suspect from PR1.3, before with PR1.2 xmimd was ok.

Has anybody success running xmimd with PR1.3 ?

YavkatA 2012-07-25 14:44

Re: Chroot Scripts for Harmattan Open Mode
 
I also get a segmentation fault after a full flash to PR 1.3. Library version mismatch?

javispedro 2012-07-27 11:02

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by YavkatA (Post 1242788)
I also get a segmentation fault after a full flash to PR 1.3. Library version mismatch?

That would be a pain because there's no newer SDK. Fortunately, I don't think that's the case. If someone could try to debug it a little (e.g. gdb or strace), I'd be grateful.

rcolistete 2012-07-27 16:32

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by javispedro (Post 1243707)
That would be a pain because there's no newer SDK. Fortunately, I don't think that's the case. If someone could try to debug it a little (e.g. gdb or strace), I'd be grateful.

Hi javispedro,

My trials after "# apt-get install gdb strace" :

Code:

$ gdb xmimd
Reading symbols from /usr/bin/xmimd...(no debugging symbols found)...done
(gdb) run
Starting program: /usr/bin/xmimd
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x410a9c00 in strcmp () from /lib/libc.so.6

Any other command do you want me to try ?

$ strace xmimd -d :1 -x 0x04000002 -v
gives the output in this file.

I've initially thought the missing "/usr/share/locale/en_GB/LC_MESSAGES/libc.mo" was the culprit, but after copying it from my Harmattan SDK armel, the same "Segmentation fault" happens.

xmimd also runs ok in Harmattan SDK armel.

qwazix 2012-07-31 10:30

Re: Chroot Scripts for Harmattan Open Mode
 
I am unable to launch terminal windows within lxde when running as user.

roxterm gives: Falied to connect to session manager: SESSION_MANAGER environment variable not defined

and lxTerminal gives a warning: Configuration file create failed: Permission denied

Do you know something about this?

Kabouik 2012-07-31 17:49

Re: Chroot Scripts for Harmattan Open Mode
 
Rcolistete, do you still plan to release some debs to help the HarmChom instalaltion? I admit I still hope this would help me to solve my "mount on loop0" issue. :X

kamilstone 2012-08-02 13:03

Re: Chroot Scripts for Harmattan Open Mode
 
Could anybody re-upload opensh_1.00_armel.deb and aegisctl_1.2_armel.deb because Inception web page break down and on google there are no mirrors.
Thanks a lot.

rcolistete 2012-08-02 14:54

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by qwazix (Post 1245360)
I am unable to launch terminal windows within lxde when running as user.

roxterm gives: Falied to connect to session manager: SESSION_MANAGER environment variable not defined

and lxTerminal gives a warning: Configuration file create failed: Permission denied

Do you know something about this?

I have the same problem with my Debian image... A workaround is use the terminal outside LXDE. I will try to solve this problem.


All times are GMT. The time now is 17:48.

vBulletin® Version 3.8.8