i'm trying to record the screen using Mir screencast GStreamer element https://code.launchpad.net/gst-mir
i'm getting this error
$gst-launch-1.0 -v mirimagesrc mir-socket=/run/lightdm-mir-0 application-name=test output-id=-1 ! x264enc ! mp4mux ! filesink location=gmir.mp4 [1453129933.134986] <ERROR> MirBufferStreamAPI: Caught exception at client library boundary (in mir_buffer_stream_get_graphics_region): /build/mir-dQN3qI/mir-0.18.0+16.04.20151216.1/src/platforms/mesa/client/client_buffer.cpp(63): Throw in function {anonymous}::ShmMemoryRegion::ShmMemoryRegion(const std::shared_ptr<mir::client::mesa::BufferFileOps>&, int, const mir::geometry::Size&, mir::geometry::Stride, MirPixelFormat) Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> > std::exception::what: Failed to mmap buffer 13, "Permission denied" WARNING: erroneous pipeline: could not link mirimagesrc0 to x264enc0
That exception is possibly not related to the WARNING. The former is bug 1454142 so let this be a duplicate.