Brian Waite wrote:
> On Friday 09 February 2007 07:43, william maddler wrote:
>> Laurent MARTIN wrote:
>>>> I really have no idea... and looks like it doesn't look at .profile
>>> I've noticed this too on my N800 (see earlier posts on users list): for
>>> what I've understood, this is due to the fact that you run ash not bash
>>> nor sh. What it strange is that .profile is run when connecting on the
>>> N800 through SSH.
>> Right, maybe something "wrong" in how x-term invokes shell?
>>
> 
> Xterm does not, by default execute you profile ever, it is not a login shell. 
> On normal xterm you need to run with the option of +ls to make the xterm a 
> login shell. I imagine this is your problem. You could always 
> change /etc/passwd to point your home directory to /mnt/mmc. 

That was what I did first. But then I noticed the "odd" beahviour ($HOME
always pointing to /home/user, instead of what stated in /etc/passwd).

I understand that xterm is not a login shell, that's fine, but *why* not
handling the correct $HOME? This sounds kinda strange to me.

> Or better yet 
> just mount the mmc card onto /home/user! This gives you the benefit that if 
> the card is not found (ie removed) your settings will be lost but at least 
> you can still run apps because /home/user is the original version.

yes, that'w what I'm doing right now.

mount -o bind /media/mmc3/user /home/user

Before mounting /home/user only contains data strictly needed for boot
(still investigating to find them).

Thanx

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to