This might be related to the problem xopher has, but I'm not sure. I'll just report my findings.
I created a new user using "sudo adduser panik", and added it to the /etc/sudoers file ("panik ALL=(ALL) ALL"). Adding the user from the "Usermanager" menu-item doesn't create a home-directory for the user. The command adduser does. Now that I can log in with this new user, I run into some issues. For example, selecting "CPU_Speed" from the menu.
Code:
Mounting the PND failed. The application won't start. Please have a look at /tmp/pndrun_op_cpuspeed.out
The content of /tmp/pndrun_op_cpuspeed.out:
Code:
sudo /usr/pandora/scripts/pnd_run.sh -m -p /usr/pandora/apps//op_cpuspeed.pnd -e op_cpuspeed.sh -b op_cpuspeed
sudo: no tty present and no askpass program specified
The union File-system is not mounted !
However, getting the properties of the menu-item "CPU-Speed" and copy/paste the command in the terminal
does work:
Code:
panik@pandora:~$ /usr/pandora/scripts/pnd_run.sh -m -p "/usr/pandora/apps//op_cpuspeed.pnd" -e "op_cpuspeed.sh" -b "op_cpuspeed"
The main difference is in the use of quotes. Not using sudo doesn't matter, it works as expected (popping up the window where you can select the CPU-speed). Also note the double slashes "//" after "apps".
Running the command in the terminal without the quotes
doesn't work:
Code:
panik@pandora:~$ sudo /usr/pandora/scripts/pnd_run.sh -m -p /usr/pandora/apps//op_cpuspeed.pnd -e op_cpuspeed.sh -b op_cpuspeed
not mounted on loop yet, doing so
LoopMountedon:
/dev/loop5
Filetype is Squashfs
Mounting PND (mount -t squashfs) :
/dev/loop5 on /mnt/pnd/op_cpuspeed type squashfs (rw)
Filesystem is
Mounting the Union FS using //pandora/appdata/op_cpuspeed as Write directory:
none on /mnt/utmp/op_cpuspeed type aufs (rw,dirs=//pandora.appdata/op_cpuspeed=rw+nolwh:/mnt/pnd/op_cpuspeed=rr)
Hope I didn't make any typos, and this is useful in some way.
Thanks a lot for your efforts, Stuckie! Running a fully fledged Debian on the Pandora is pretty awesome.
I didn't run into any trouble with the default "pandora"-user yet.
edit: typo