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)

vzp916 2012-03-24 19:16

Re: Chroot Scripts for Harmattan Open Mode
 
No luck after reboot

explit 2012-03-27 22:48

Re: Chroot Scripts for Harmattan Open Mode
 
Hello Boys & Girls.

Anybody who has a Problem with the Icon, which don"t start Debian LXDE
(or even if you run as user this command)
Code:

/usr/bin/invoker --type=e /bin/opensh -c "debian suxephwm"
Try to change the "Exec" line in
~/.local/share/applications/lxde.desktop
to :
Code:

Exec=/bin/opensh -c "debian suxephwm"
Now the icon works perfect, but I don"t know, why I see all my Files from /home/user/MyDocs on the Debian Desktop ???

Anybody an idea ?

I'm running N9 64GB with e-yes Dualboot Kernel & Inception

vzp916 2012-03-28 01:27

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by explit (Post 1184884)
Hello Boys & Girls.

Anybody who has a Problem with the Icon, which don"t start Debian LXDE
(or even if you run as user this command)
Code:

/usr/bin/invoker --type=e /bin/opensh -c "debian suxephwm"
Try to change the "Exec" line in
~/.local/share/applications/lxde.desktop
to :
Code:

Exec=/bin/opensh -c "debian suxephwm"
Now the icon works perfect, but I don"t know, why I see all my Files from /home/user/MyDocs on the Debian Desktop ???

Anybody an idea ?

I'm running N9 64GB with e-yes Dualboot Kernel & Inception

I'm with you here -->I'm running N9 64GB with e-yes Dualboot Kernel & Inception

Does your "Start" work? The icon on the lower left hand corner..

explit 2012-03-28 09:03

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by vzp916 (Post 1184925)
I'm with you here -->I'm running N9 64GB with e-yes Dualboot Kernel & Inception

Does your "Start" work? The icon on the lower left hand corner..

Yes, my Start working, I`m able to start any apps, Gimp, OpenOffice and other from the Start button...

rcolistete 2012-03-28 13:46

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by explit (Post 1184884)
I'm running N9 64GB with e-yes Dualboot Kernel & Inception

Sorry, but AFAIK, open mode kernel could not work with Inception. I am almost sure that I've read this somewhere, but I can't find it now.

rcolistete 2012-03-28 13:49

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by vzp916 (Post 1184925)
I'm with you here -->I'm running N9 64GB with e-yes Dualboot Kernel & Inception

Does your "Start" work? The icon on the lower left hand corner..

Three comments :

1) I wasn't aware that open kernel & inception could work together. Maybe this is a problem;

2) have you applied my fix in post #100 ?

3) can you start softwares outside LXDE, like "oowriter" inside debia root ?

vzp916 2012-03-28 14:31

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by rcolistete (Post 1185113)
Three comments :

1) I wasn't aware that open kernel & inception could work together. Maybe this is a problem;

2) have you applied my fix in post #100 ?

3) can you start softwares outside LXDE, like "oowriter" inside debia root ?

I'm in open mode with inception (don't know how, but works)

I did apply that fix

Everything works fine when executing xephwm, not suxephwm (or the icon) When I execute oowriter from debian root it does work

Thanks

rcolistete 2012-03-28 14:47

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by vzp916 (Post 1185122)
Everything works fine when executing xephwm, not suxephwm (or the icon) When I execute oowriter from debian root it does work

So use xephwm instead of suxephwm in the exec line of the lxde.desktop file for the icon. For me xephwm doesn't work well.

vzp916 2012-03-28 15:01

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by rcolistete (Post 1185129)
So use xephwm instead of suxephwm in the exec line of the lxde.desktop file for the icon. For me xephwm doesn't work well.

Will do.

Thanks

qole 2012-04-05 20:32

Re: Chroot Scripts for Harmattan Open Mode
 
Just so you are all aware, historically, a lot of problems have occurred if you run things in the chroot first as root and then try to run them as user. Files get created with root permissions only, that the user cannot access. A symptom of this is that you can only run apps as root, not as user, or you get errors when you attempt to run as user.

Another source of problems can occur if you don't have all of the proper files copied into your /home/user/.local directory.

I am not in a position to test these scripts with Inception. I'm not sure what to do about this.


All times are GMT. The time now is 10:46.

vBulletin® Version 3.8.8