[MPlayer-users] Starting mplayer from inittab breaks slave mode
Roguedr
roguedr at gmail.com
Thu Mar 29 13:46:45 CEST 2012
This looked very promising. However I saw the same behavior, started
from the interactive login it works but does not work if started from
inittab. I'm starting to wonder if there is a bug with the specific
build.
R
On Thu, Mar 29, 2012 at 3:00 PM, Krzysztof Duchnowski <amidk75 at gmail.com> wrote:
> On 29.03.2012 07:53, Roguedr wrote:
>> Not sure if this is a mplayer issue or some misunderstanding about how
>> linux works.
>
>
> you must put mplayer in some sort of terminal that will work no matter
> what, eg. screen or tmux (i prefer tmux lately):
>
> for root user:
>> $ mp:2345:respawn:/usr/bin/tmux -new -d -s 'mplayer_slave' -n 'MPlayer slave' '/usr/bin/mplayer -idle'
>
> for normal user:
>> $ mp:2345:respawn:/usr/bin/sudo -u username /usr/bin/tmux -new -d -s 'mplayer_slave' -n 'MPlayer slave' '/usr/bin/mplayer -idle'
>
>
> After that, if you want to see what mplayer spill to console you invoke:
>> $ sudo -u username tmux -2u attach -t 'mplayer_slave'
>
> then CTRL+SHIFT+a and 'd' will unattach you from it.
>
>
> You could do it in rc.local as well and in case that no one can attach
> to root pipes then run it as a user (make mplayer user for that).
>
> --
> Krzysztof 'DK75' Duchnowski
> GetFirefox - http://www.getfirefox.net/
> Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
More information about the MPlayer-users
mailing list