Reply
Thread Tools
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#11
Originally Posted by fatalsaint View Post
o launch emelfm2 as root...
Sorry to ask the stupid question again...

How? From the shortcut directly I mean.

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=emelFM2
Exec=sudo emelfm2 ??
Icon=emelfm2
Type=Application

Have "the same" issue with leafpad, if I launch it via xtem after sudo gainroot it can't save anything ... it simply crashes.
__________________
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#12
Well.. you used to be able to use "rootsh" to do such a thing but it was removed with the thought of security.

Then it turned out it didn't save anything.... because you can do:

Code:
echo emelfm2 | root
to also launch it as root in an icon like that. At least, that is what was said in another thread.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#13
This doesn't do it for me... the app tries to launch then crashes.

Maybe it has to be added to sudoers: http://talk.maemo.org/showthread.php?t=40698

And yes I'm a SOB for asking in two places at once, sorry.

What I don't get is why there are so many traps laid all around for people that want to learn to know their way around linux... How "safe" do we have to be kept from ourselves?
I use open SSH + scp from day 1 and I can say it bypasses most of the "locks" a noob could run into; in the end things like these can only break patience and pleasure to use.
Sorry for the oftopic.
__________________
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#14
What happens when you do it by hand Bec?

Run sudo gainroot in a terminal and then just type "emelfm2".
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#15
Originally Posted by fatalsaint View Post
What happens when you do it by hand Bec?

Run sudo gainroot in a terminal and then just type "emelfm2".
not the same :P - winblows mentality
__________________
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#16
I know its not the same.. I want to know if it works or if it closes out like running it directly does.

Instead of piping it to root pipe it to sudo gainroot instead:
Code:
echo emelfm2 | sudo gainroot
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#17
Sorry for late answering (different tome zones) i'll try it after my phone gets charged... something unexpected happened today, it's noon over here and the batt is DEAD... never had this happening before.
Something got stuck in my memory locking the cpu at 100%

EDIT: tried to run visudo and although "nothing happened", I got myself a nice running app called "vi" that was using my cpu 90-100%. The battery lasted 8 hours this way.

Sorry for the of topic.
__________________

Last edited by Bec; 2010-01-18 at 14:31. Reason: Merged another post with this one so I don't flood the thread with of topic content.
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#18
Originally Posted by Rushmore View Post
Why can we not just see the files in the file manager?
As simple as that: Because these files either should not interest you as a normal, average user, or if you're an advanced user there are way better and efficient ways to access them than the File Manager.
__________________
maemo.org Bugmaster
 

The Following User Says Thank You to Andre Klapper For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#19
Originally Posted by Bec View Post
Can you recommend me something to list running processes and cpu usage? I found something "BIG".

Something got stuck in my memory locking the cpu at 100%

Thanks
top (or htop which is nicer but will need installing first).
 

The Following User Says Thank You to Rob1n For This Useful Post:
spanner's Avatar
Posts: 253 | Thanked: 184 times | Joined on Nov 2009 @ Bristol, UK
#20
Originally Posted by mas5acre View Post
I need help. All I want to do i see n900 files COMPLETELY. I ran sudo command. I installed Openssh client & server and ran command: ssh root@localhost. I gave it my password. Now what? I just want to change the boot screen! I'm running windows 7 on my main computer.
In a terminal on the N900, do the following 3 commands:

Code:
sudo gainroot
mkdir /media/root
mount / /media/root -o bind
Now in the file manager there'll be a 'root' folder that you'll be able browse.

But:
- You're still browsing as 'user' which means you can't screw anything up too badly
- The file manager still won't show you files or directories beginning with '.'
- The mount won't persist across phone reboots (this can be solved with a bit more tinkering)

[Edit: whoops - you're not going to be able to change the bootscreen this way, sorry!]

Last edited by spanner; 2010-01-18 at 14:45.
 

The Following User Says Thank You to spanner For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 06:40.