maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   How Do You Play Sirius Without Going Through X-Terminal Each Time? (https://talk.maemo.org/showthread.php?t=22390)

fatalsaint 2008-07-30 16:11

Re: How Do You Play Sirius Without Going Through X-Terminal Each Time?
 
And mine was just a guess as well.. if you install rootsh then no.. it wouldn't ask for a pass if it was a sudo/su thing I do not believe..

Do this; install rootsh, then in the personal menu launcher instead of:
python /home/user/MyDocs/sipie.py

run

rootsh python /home/user/MyDocs/sipie.py

and then deselect both the run in terminal and run as root options.. see if that helps.

iTab 2008-07-30 16:33

Re: How Do You Play Sirius Without Going Through X-Terminal Each Time?
 
Thanks, FatalSaint - I will try that when I get home. Does it work for you?

fatalsaint 2008-07-30 16:38

Re: How Do You Play Sirius Without Going Through X-Terminal Each Time?
 
I don't use Sirius :).. can't really test it. I don't see why it shouldn't.. I've used a command with spaces in the launcher of Personal Menu and had no problems.. and since rootsh is like a sudo it should work fine.

But that all depends what the password was coming from..

iTab 2008-07-30 16:47

Re: How Do You Play Sirius Without Going Through X-Terminal Each Time?
 
It's probably the same password that I type in now that comes after:

ssh root@localhost

Right?

fatalsaint 2008-07-30 17:31

Re: How Do You Play Sirius Without Going Through X-Terminal Each Time?
 
That would be my guess.. yes. That's the root password. rootsh allows you to do this without a password at all.

alvindd 2008-07-30 20:10

Re: How Do You Play Sirius Without Going Through X-Terminal Each Time?
 
Installing Personal Launcher and Sudser allowed me to open a Sirius stream without manually, first opening X-terminal, and second getting root.

Personal Launcher and Sudser complete both steps for me, awesome!

All I have to do is enter a stream name :D

iTab 2008-07-30 21:55

Re: How Do You Play Sirius Without Going Through X-Terminal Each Time?
 
Quote:

Originally Posted by alvindd (Post 208720)
Installing Personal Launcher and Sudser allowed me to open a Sirius stream without manually, first opening X-terminal, and second getting root.

Personal Launcher and Sudser complete both steps for me, awesome!

All I have to do is enter a stream name :D

I have "Personal Menu" not "Personal Launcher" - is that OK?

Is this "Personal Launcher"...?

Where is "Sudser"...?

Which of these do I download/install for Sudser:

Is "Sudser" the same as "RootSH"...?

Can you please explain exactly how you did this?

iTab 2008-07-31 00:25

Re: How Do You Play Sirius Without Going Through X-Terminal Each Time?
 
Quote:

Originally Posted by alvindd (Post 208720)
Installing Personal Launcher and Sudser allowed me to open a Sirius stream without manually, first opening X-terminal, and second getting root.

Personal Launcher and Sudser complete both steps for me, awesome!

All I have to do is enter a stream name :D

OK, I THINK I messed up something somewhere.

I installed "Personal Launcher" and I installed (what I believe) is "Sudser" (it shows up in my list of programs), and I have a satellite icon on my desktop (for "Personal Launcher"), but when I click into it, two XTerm Windows open...

First Window: Normal Window waiting for a command.

Second Window: Says: "python: can't open file '/home/user/MyDocs/sipie.py': [Errno 2] No such file or directory


Check that - after re-starting, nothing opens. The only time anything happens is when Root & Terminal are NOT checked off - then something comes up saying that Sirius is starting, but then nothing happens.

Also, if I only select Terminal - then the error message listed above comes up and both those XTerm windows open.

Is there something I need to do with "Sudser"...? Where do I do that?

This too didn't work: sudser python /home/user/MyDocs/sipie.py

fatalsaint 2008-07-31 01:18

Re: How Do You Play Sirius Without Going Through X-Terminal Each Time?
 
Did you try using rootsh instead?? I have no idea how to use sudser .. you'd have to go search it on the forums. But Personal Menu and rootsh python /home/user/MyDocs/sipie.py should work just fine...

iTab 2008-07-31 01:33

Re: How Do You Play Sirius Without Going Through X-Terminal Each Time?
 
I tried this, but it didn't work:

Do this; install rootsh, then in the personal menu launcher instead of:
python /home/user/MyDocs/sipie.py

run

rootsh python /home/user/MyDocs/sipie.py

and then deselect both the run in terminal and run as root options.. see if that helps.


All times are GMT. The time now is 03:54.

vBulletin® Version 3.8.8