On 14/02/12 03:10, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-02-14 00:50, lynn wrote:
On 02/14/2012 12:23 AM, Carlos E. R. wrote:
ctrl+alt+f1 login sudo init 3 sudo rcsmb start sudo rcnmb start <watch the movie> How are you going to watch a movie in text mode? I know that xine has an ascii text mode display, but I would not care to watch a movie that way except to show that it can be done. And I very much doubt you are refering to that. Hi
I connect to a wireless multimedia nas via samba so that everyone can view the movie on a larger screen with better sound. I drop to rl3 because otherwise the playback is jerky. Why didn't you explain this before? It is very different from watching a video on your machine, as most of us all thought. My fault. As long time sufferers on the list know, I'm hopeless at asking questions. Any ideas for a script? Well... yes, you can use "chvt 1" instead of "ctrl-alt-f1". OK First problem: chvt 1 Couldn't get a file descriptor referring to the console
No need to login, actually impossible from a script (you can not answer the password prompt). The script has to be launched from somewhere, but that somewhere can not be a konsole because it will be killed: you will have to go to the one text mode terminal, login, and there launch the script. You are already in a text console, so the first few steps you listed are superfluous.
Or you can connect remotely via ssh and issue an init 3. That is the only command you need to issue, the samba server should be started on boot.
Samba isn't started at boot as we only need it to get the stuff over to the nas when we're watching a movie. We need the rl3 otherwise the playback is poor.
Actually, you could create your own runlevel definition and start/stop whatever services you want. Don't ask me how with systemd, however.
Salu2, L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org