title: error: XDG_RUNTIME_DIR not set in the environment
body: <p>I ran pipeline of GStreamer to get data from rtsp server.</p>
  
  <p>Then I got error: error: XDG_RUNTIME_DIR not set in the environment.</p>
  
  <p>I have add some config into visudo as: sudo visudo</p>
  
  <pre><code>Defaults env_keep += "DISPLAY XAUTHORITY"
  Defaults env_keep += "https_proxy"
  </code></pre>
  
  <p>It's still not work. But it ran fine in Ubuntu 16.04</p>
  
  <p>My environment is "5.0.0-29-generic #31~18.04.1-Ubuntu SMP Thu Sep 12 18:29:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux".</p>
  
  <p>If you have any solution, please let me know. Thank you very much</p>