Page 1 of 1

Can not start VLC for the user with limited privilides

Posted: 19 Jan 2012 02:06
by olga.krupina
I am trying to start vlc using "/Applications/VLC.app/Contents/MacOS/VLC", having logged on as the user with limited privileges. It does not work giving the error "permission denied".
I gave that user full priviliges and still it does not work.
Where else should I change privileges?

Re: Can not start VLC for the user with limited privilides

Posted: 19 Jan 2012 14:43
by fkuehne
Could you try to start the app using the Terminal (with "-vvvv" as argument) and post the output here?

Re: Can not start VLC for the user with limited privilides

Posted: 19 Jan 2012 19:23
by olga.krupina
It does not let me doing that, saying "Permission denied"

Re: Can not start VLC for the user with limited privilides

Posted: 19 Jan 2012 21:34
by olga.krupina
Output running it logging as the user with priviliges:

[0x10020a590] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
^C[0x10029d260] signals interface error: Caught Interrupt: 2 signal, exiting...
hq-qa-fe03:run acuitus$ /Applications/VLC.app/Contents/MacOS/VLC -vvvv
VLC media player 1.1.12-git The Luggage (revision 1.1.11-87-g220d171)
[0x10020a5b0] main libvlc debug: VLC media player - 1.1.12-git The Luggage
[0x10020a5b0] main libvlc debug: Copyright © 1996-2011 the VideoLAN team
[0x10020a5b0] main libvlc debug: revision 1.1.11-87-g220d171
[0x10020a5b0] main libvlc debug: configured with ./configure '--enable-debug' '--build=x86_64-apple-darwin10' '--with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk' '--with-macosx-version-min=10.6' 'build_alias=x86_64-apple-darwin10' 'CC=/Developer/usr/bin/llvm-gcc-4.2' 'CFLAGS=-arch x86_64' 'LDFLAGS=-arch x86_64' 'CXX=/Developer/usr/bin/llvm-g++-4.2' 'CXXFLAGS=-arch x86_64' 'OBJC=/Developer/usr/bin/llvm-gcc-4.2' 'OBJCFLAGS=-arch x86_64' 'CXXCPP=/Developer/usr/bin/llvm-g++-4.2 -E'
[0x10020a5b0] main libvlc debug: translation test: code is "C"
[0x10020a5b0] main libvlc debug: opening config file (/Users/acuitus/Library/Preferences/org.videolan.vlc/vlcrc)
[0x10020a5b0] main libvlc debug: loading config for module "main"
[0x10020a5b0] main libvlc debug: checking plugin modules
[0x10020a5b0] main libvlc debug: loading plugins cache file /Applications/VLC.app/Contents/MacOS/plugins/plugins-04081e-fe8.dat
[0x10020a5b0] main libvlc debug: recursively browsing `/Applications/VLC.app/Contents/MacOS/plugins'
[0x10020a5b0] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libgoom_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libgoom_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libgoom_plugin.dylib: no matching architecture in universal wrapper)
[0x10020a5b0] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libi420_rgb_mmx_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libi420_rgb_mmx_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libi420_rgb_mmx_plugin.dylib: mach-o, but wrong architecture)
[0x10020a5b0] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libi420_yuy2_mmx_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libi420_yuy2_mmx_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libi420_yuy2_mmx_plugin.dylib: mach-o, but wrong architecture)
[0x10020a5b0] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libi422_yuy2_mmx_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libi422_yuy2_mmx_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libi422_yuy2_mmx_plugin.dylib: mach-o, but wrong architecture)
[0x10020a5b0] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libmemcpy3dn_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libmemcpy3dn_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libmemcpy3dn_plugin.dylib: mach-o, but wrong architecture)
[0x10020a5b0] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libmemcpymmx_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libmemcpymmx_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libmemcpymmx_plugin.dylib: mach-o, but wrong architecture)
[0x10020a5b0] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libmemcpymmxext_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libmemcpymmxext_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libmemcpymmxext_plugin.dylib: mach-o, but wrong architecture)
[0x10020a5b0] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libsdl_image_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libsdl_image_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libsdl_image_plugin.dylib: no matching architecture in universal wrapper)
[0x10020a5b0] main libvlc debug: saving plugins cache /Applications/VLC.app/Contents/MacOS/plugins/plugins-04081e-fe8.dat
[0x10020a5b0] main libvlc debug: module bank initialized (354 modules)
[0x10020a5b0] main libvlc debug: opening config file (/Users/acuitus/Library/Preferences/org.videolan.vlc/vlcrc)
[0x10020a5b0] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
[0x10020a5b0] main libvlc debug: looking for memcpy module: 1 candidate
[0x10020a5b0] main libvlc debug: using memcpy module "dummy"
[0x10029ca30] main input debug: Creating an input for 'Media Library'
[0x10029ca30] main input debug: Input is a meta file: disabling unneeded options
[0x10029ca30] main input debug: using timeshift granularity of 50 MiB
[0x10029ca30] main input debug: using timeshift path '/tmp'
[0x10029ca30] main input debug: `file/xspf-open:///Users/acuitus/Library/Application%20Support/org.videolan.vlc/ml.xspf' gives access `file' demux `xspf-open' path `/Users/acuitus/Library/Application Support/org.videolan.vlc/ml.xspf'
[0x10029ca30] main input debug: creating demux: access='file' demux='xspf-open' path='/Users/acuitus/Library/Application Support/org.videolan.vlc/ml.xspf'
[0x1002a1490] main demux debug: looking for access_demux module: 2 candidates
[0x1002a1490] main demux debug: no access_demux module matching "file" could be loaded
[0x1002a1490] main demux debug: TIMER module_need() : 0.887 ms - Total 0.887 ms / 1 intvls (Avg 0.887 ms)
[0x10029ca30] main input debug: creating access 'file' path='/Users/acuitus/Library/Application Support/org.videolan.vlc/ml.xspf'
[0x1002a1490] main access debug: looking for access module: 3 candidates
[0x1002a1490] filesystem access debug: opening file `/Users/acuitus/Library/Application Support/org.videolan.vlc/ml.xspf'
[0x1002a1490] main access debug: using access module "filesystem"
[0x1002a1490] main access debug: TIMER module_need() : 0.478 ms - Total 0.478 ms / 1 intvls (Avg 0.478 ms)
[0x1002a2380] main stream debug: Using AStream*Stream
[0x1002a2380] main stream debug: pre buffering
[0x1002a2380] main stream debug: received first data after 0 ms
[0x1002a2380] main stream debug: pre-buffering done 296 bytes in 0s - 5454 KiB/s
[0x1002a2680] main stream debug: looking for stream_filter module: 5 candidates
[0x1002a2680] main stream debug: no stream_filter module matching "any" could be loaded
[0x1002a2680] main stream debug: TIMER module_need() : 0.577 ms - Total 0.577 ms / 1 intvls (Avg 0.577 ms)
[0x1002a2680] main stream debug: looking for stream_filter module: 1 candidate
[0x1002a2680] main stream debug: using stream_filter module "stream_filter_record"
[0x1002a2680] main stream debug: TIMER module_need() : 0.269 ms - Total 0.269 ms / 1 intvls (Avg 0.269 ms)
[0x10029ca30] main input debug: creating demux: access='file' demux='xspf-open' path='/Users/acuitus/Library/Application Support/org.videolan.vlc/ml.xspf'
[0x1002a2dc0] main demux debug: looking for demux module: 1 candidate
[0x1002a2dc0] playlist demux debug: using XSPF playlist reader
[0x1002a2dc0] main demux debug: using demux module "playlist"
[0x1002a2dc0] main demux debug: TIMER module_need() : 0.389 ms - Total 0.389 ms / 1 intvls (Avg 0.389 ms)
[0x1002a3420] main demux meta debug: looking for meta reader module: 2 candidates
[0x1002a3420] lua demux meta debug: Trying Lua scripts in /Users/acuitus/Library/Application Support/org.videolan.vlc/lua/meta/reader
[0x1002a3420] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader
[0x1002a3420] lua demux meta debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader/filename.lua
[0x1002a3420] lua demux meta debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader/filename.luac
[0x1002a3420] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/share/lua/meta/reader
[0x1002a3420] main demux meta debug: no meta reader module matching "any" could be loaded
[0x1002a3420] main demux meta debug: TIMER module_need() : 2.094 ms - Total 2.094 ms / 1 intvls (Avg 2.094 ms)
[0x10029ca30] main input debug: `file/xspf-open:///Users/acuitus/Library/Application%20Support/org.videolan.vlc/ml.xspf' successfully opened
[0x1002a7240] main xml debug: looking for xml module: 2 candidates
[0x1002a7240] main xml debug: using xml module "xml"
[0x1002a7240] main xml debug: TIMER module_need() : 0.673 ms - Total 0.673 ms / 1 intvls (Avg 0.673 ms)
[0x1002a2dc0] playlist demux debug: parsed 0 tracks successfully
[0x1002a7240] main xml debug: removing module "xml"
[0x10029ca30] main input debug: EOF reached
[0x1002a2dc0] main demux debug: removing module "playlist"
[0x1002a2680] main stream debug: removing module "stream_filter_record"
[0x1002a1490] main access debug: removing module "filesystem"
[0x10029ca30] main input debug: Destroying the input for 'Media Library'
[0x10029ca30] main input debug: TIMER input launching for 'Media Library' : 5.272 ms - Total 5.272 ms / 1 intvls (Avg 5.272 ms)
[0x1002a2dc0] main interface debug: looking for interface module: 1 candidate
[0x1002a2dc0] main interface debug: using interface module "hotkeys"
[0x1002a2dc0] main interface debug: TIMER module_need() : 0.323 ms - Total 0.323 ms / 1 intvls (Avg 0.323 ms)
[0x10029d280] main interface debug: looking for interface module: 1 candidate
[0x10029d280] main interface debug: using interface module "signals"
[0x10029d280] main interface debug: TIMER module_need() : 0.400 ms - Total 0.400 ms / 1 intvls (Avg 0.400 ms)
[0x10020a5b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x101e00220] main interface debug: looking for interface module: 5 candidates
[0x101e00220] main interface debug: using interface module "macosx"
[0x101e00220] main interface debug: TIMER module_need() : 22.312 ms - Total 22.312 ms / 1 intvls (Avg 22.312 ms)
[0x101e00220] main interface debug: thread (interface) created at priority 0 (interface/interface.c:147)
[0x101e00220] main interface debug: thread started
[0x10029a700] main playlist debug: Activated
[0x10029a700] main playlist debug: rebuilding array of current - root Playlist
[0x10029a700] main playlist debug: rebuild done - 0 items, index -1
[0x1002f56e0] main probe debug: looking for services probe module: 5 candidates
[0x1002f56e0] main probe debug: no services probe module matching "any" could be loaded
[0x1002f56e0] main probe debug: TIMER module_need() : 4.861 ms - Total 4.861 ms / 1 intvls (Avg 4.861 ms)
[0x101e00220] macosx interface debug: using future cookies
[0x101e00220] macosx interface debug: Terminating
[0x101e00220] main interface debug: thread ended
[0x10020a5b0] main libvlc debug: deactivating the playlist
[0x10029a700] main playlist debug: Deactivate
[0x101e2ad20] main playlist export debug: saving Media Library to file /Users/acuitus/Library/Application Support/org.videolan.vlc/ml.xspf
[0x101e2ad20] main playlist export debug: looking for playlist export module: 1 candidate
[0x101e2ad20] main playlist export debug: using playlist export module "export"
[0x101e2ad20] main playlist export debug: TIMER module_need() : 0.438 ms - Total 0.438 ms / 1 intvls (Avg 0.438 ms)
[0x101e2ad20] main playlist export debug: removing module "export"
[0x10029a700] main playlist debug: Deactivated
[0x10020a5b0] main libvlc debug: removing all services discovery tasks
[0x10020a5b0] main libvlc debug: removing all interfaces
[0x101e00220] main interface debug: removing module "macosx"
[0x10029d280] main interface debug: removing module "signals"
[0x1002a2dc0] main interface debug: removing module "hotkeys"
[0x10029a700] main playlist debug: destroying
[0x10020a5b0] main libvlc debug: TIMER ML Load : Total 6.613 ms / 1 intvls (Avg 6.613 ms)
[0x10020a5b0] main libvlc debug: TIMER Items array build : Total 0.226 ms / 1 intvls (Avg 0.226 ms)
[0x10020a5b0] main libvlc debug: TIMER ML Dump : Total 1.202 ms / 1 intvls (Avg 1.202 ms)
[0x10020a5b0] main libvlc debug: removing stats
[0x10020a5b0] main libvlc debug: removing module "dummy"

Re: Can not start VLC for the user with limited privilides

Posted: 19 Jan 2012 22:46
by Jean-Baptiste Kempf
[0x101e00220] macosx interface debug: using future cookies
[0x101e00220] macosx interface debug: Terminating

Re: Can not start VLC for the user with limited privilides

Posted: 19 Jan 2012 22:49
by olga.krupina
No, the version that has the debug output WORKS!!
I can not start anything (nothing is printed out) if the user has the limited priviliges.

Re: Can not start VLC for the user with limited privilides

Posted: 20 Jan 2012 00:58
by olga.krupina
We figured out the problem, thanks!

Re: Can not start VLC for the user with limited privilides

Posted: 23 Jan 2012 14:21
by Jean-Baptiste Kempf
How?