ondoho:
I now have been able to get the system to react consistently. I can make it work or I can get it to fail. The problem appears to me to be in the vlc software. When it fails vlc is instantly closed and there is nothing in "messages". I have not found any information in a file marked vlc-log.
TEST WITH SUCCESSFUL OPERATION:
Open vlc, insert disc, open media-disk, check-no menus and DVD, open tools-messages, and click play.
From messages I get:
main error: ES_OUT_RESET_PCR called
main error: Invalid PCR value in ES_OUT_SET_(GROUP_)PCR !
dbus_screensaver error: cannot connect to session bus: Failed to connect to socket /tmp/dbus-6yEuOP0mcQ: Connection refused
main error: Failed to resize display
In terminal from the beginning:
Toms-System-Product-Name thomas # vlc
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).
Toms-System-Product-Name thomas # vlc-wrapper set-UID root
VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28)
[0x64f118] main libvlc error: cannot open config file (/root/.config/vlc/vlcrc): Permission denied
[0x734708] dbus interface error: Failed to connect to the D-Bus session daemon: Failed to connect to socket /tmp/dbus-URO6SWfyYN: Connection refused
[0x734708] main interface error: no suitable interface module
[0x64f118] main libvlc error: interface "dbus,none" initialization failed
[0x64f118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
trying to create local folder /root/.kde: Permission denied
vlc(4455)/KSharedDataCache KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase
[0x7f97d8003a38] filesystem access error: cannot open file /home/thomas/set-UID (No such file or directory)
[0x7f97e00009b8] main input error: open of `file:///home/thomas/set-UID' failed
[0x7f97d8003e38] filesystem access error: cannot open file /home/thomas/root (No such file or directory)
[0x7f97e0005aa8] main input error: open of `file:///home/thomas/root' failed
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Permission denied
QFileSystemWatcher: failed to add paths: /root/.config/ibus/bus
Bus:
pen: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
[0x734708] main interface error: no configuration directory
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
Press play and we get:
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000154
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000158
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00022d1e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000339ec
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x003b8194
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003b8198
libdvdread: Elapsed time 0
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 0
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
And the DVD plays on as expected.
I do not understand much of this except that it seems that vlc had a difficult time getting things together.
TEST WITH FAILURE
Insert disc in DVD and open from the KDE drop down. Click vlc.
From terminal:
oms-System-Product-Name thomas # vlc-wrapper
VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28)
[0x7bc118] main libvlc error: cannot open config file (/root/.config/vlc/vlcrc): Permission denied
[0x8a0f38] dbus interface error: Failed to connect to the D-Bus session daemon: Failed to connect to socket /tmp/dbus-yazQYFzfcO: Connection refused
[0x8a0f38] main interface error: no suitable interface module
[0x7bc118] main libvlc error: interface "dbus,none" initialization failed
[0x7bc118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
trying to create local folder /root/.kde: Permission denied
vlc(4612)/KSharedDataCache KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase
[0x8a0f38] main interface error: no configuration directory
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Permission denied
QFileSystemWatcher: failed to add paths: /root/.config/ibus/bus
Bus:
pen: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
^C[0x7bc118] main libvlc error: no configuration directory
Toms-System-Product-Name thomas #
DVD does not play and vlc shuts down and there is nothing in messages.
I also do not understand much of this either except that vlc does not have all the files and permissions that it needs to proceed.
Any incite would be appreciated.