Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
In bestimmter Konsole starten
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
salvi5
n00b
n00b


Joined: 31 Oct 2008
Posts: 2

PostPosted: Fri Oct 31, 2008 5:00 pm    Post subject: In bestimmter Konsole starten Reply with quote

Hallo,

ich würde gerne ein bestimmtes Programm (mp3blaster) beim Bootvorgang auf der Konsole 5 starten. Allerdings stelle ich mich beim Suchen scheinbar zu doof an, ich finde keine Lösung. Ein Fingerzeig würde mir sehr helfen.

Vielen Dank
Salvi
Back to top
View user's profile Send private message
69719
l33t
l33t


Joined: 20 Sep 2004
Posts: 865

PostPosted: Fri Oct 31, 2008 5:13 pm    Post subject: Reply with quote

Ich denke /etc/inittab ist das was du suchst.
Back to top
View user's profile Send private message
salvi5
n00b
n00b


Joined: 31 Oct 2008
Posts: 2

PostPosted: Fri Oct 31, 2008 5:25 pm    Post subject: Reply with quote

escor wrote:
Ich denke /etc/inittab ist das was du suchst.


Dachte ich auch... dann habe ich Folgendes dort eingetragen

Code:
c5:2345:respawn:/usr/bin/mp3blaster


mit dem "Erfolg", dass mp3blaster zwar gestartet wird, aber auf tty1 und somit natürlich zusammen mit dem normalen login-screen. Auf tty5 ist aber jetzt kein login mehr...
Back to top
View user's profile Send private message
69719
l33t
l33t


Joined: 20 Sep 2004
Posts: 865

PostPosted: Fri Oct 31, 2008 6:45 pm    Post subject: Reply with quote

ändern mal
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
zu
c5:2345:respawn:/sbin/agetty -l /usr/bin/mp3blaster 38400 tty5 linux
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


Joined: 26 Oct 2003
Posts: 1287
Location: Dresden/Germany

PostPosted: Fri Oct 31, 2008 8:45 pm    Post subject: Reply with quote

Die Lösung dürfte noch das Problem haben das mp3blaster als root läuft. Also sollte da eher "/bin/su <user> -c /usr/bin/mp3blaster" stehen. Ich habs nicht probiert aber ich finde es bedenklich das als root zu starten. Ich denke mp3blaster bietet irgendwie die Möglichkeit Dateien zu schreiben. Es wäre nicht so schön wenn jemand eine Playlist mit dem Namen /sbin/init anlegt, keine Ahnung ob das geht.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4555
Location: Germany

PostPosted: Fri Oct 31, 2008 8:50 pm    Post subject: Reply with quote

Hm.. wurde dies Problem nicht heute schon mal gelöst?
http://www.gentooforum.de/artikel/16181/bestimmte-konsole.html

MfG
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum