Reply
Thread Tools
Posts: 669 | Thanked: 433 times | Joined on May 2010
#1
Just got a new n900 device, and i'm trying to make this combination work - i fixed it in my old device, but can't make it work in the new one.

hildon shortcut of xterm changes:
-----
Exec=/usr/bin/osso-xterm 'sudo gainroot'
#X-Osso-Service=xterm
#X-Osso-Type=application/x-executable
-----
.bashrc is in /root and /home/user

starting xterm from hildon desktop opens it after "sudo gainroot" execution, but bash commands are ignored.

What did i forget here?

[Solved] - edit "/usr/sbin/gainroot" and make the following code change:

-----
echo 'Root shell enabled'
/bin/bash # new code - will load bash automatically
HISTFILE=/root/.ash_history /bin/sh
-----

Last edited by impeham; 2013-02-27 at 16:24.
 

The Following 2 Users Say Thank You to impeham For This Useful Post:
Reply

Tags
nokia n900, xterminal

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:34.