sebadoom / mpvguihs

A minimalist mpv GUI written in I/O heavy Haskell
GNU General Public License v3.0
6 stars 1 forks source link

mpvguihs fails to run as root? #1

Open sebadoom opened 10 years ago

sebadoom commented 10 years ago

A user reported problems running mpvguihs as root (which is an untested scenario). mpv runs fine in the same setup. There seems to be a problem with reading or writing to the pipe used for communication with mpv. Check if running as root causes this.

Nikoli commented 10 years ago

VLC even does not let you to run it as root unless compiled with special configure option: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-video/vlc/metadata.xml?revision=1.74&view=markup

<flag name="run-as-root">Allows vlc to start for root. Don't enable this unless you have a very specific (e.g. embedded) need for it!</flag>
sebadoom commented 10 years ago

I agree running as root should be discouraged. However I see no reason for adding a compile time flag for this. Perhaps a simple tag on the statusbar would be enough.