<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Ubuntu 16 Error code 6 in Desktop (Linux)</title>
    <link>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-16-Error-code-6/m-p/1641921#M1963</link>
    <description>&lt;P&gt;When I type sudo spotify in a terminal, it comes up just fine and works. When I just type spotify, I get an error code:6 message and the followin output:spotify&lt;BR /&gt;[0411/220925:ERROR:nss_util.cc(94)] Failed to create /home/rvand516/.pki/nssdb directory.&lt;BR /&gt;[0411/220925:ERROR:nss_util.cc(94)] Failed to create /home/rvand516/.pki/nssdb directory.&lt;BR /&gt;[0411/220925:ERROR:main_delegate.cc(752)] Could not load cef_extensions.pak&lt;BR /&gt;[0411/220925:ERROR:browser_context_impl.cc(231)] The cache_path directory could not be created: /home/rvand516/.cache/spotify/Browser&lt;BR /&gt;[0411/220925:ERROR:nss_util.cc(94)] Failed to create /home/rvand516/.pki/nssdb directory.&lt;BR /&gt;[0411/220925:ERROR:main_delegate.cc(752)] Could not load cef_extensions.pak&lt;BR /&gt;[0411/220925:ERROR:nss_util.cc(94)] Failed to create /home/rvand516/.pki/nssdb directory.&lt;BR /&gt;Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.&lt;BR /&gt;Segmentation fault (core dumped)&lt;/P&gt;&lt;P&gt;Also, if I run spotify in /usr/share/spotify/ I get the same problem. If I type sudo spotify, and lock the icon to the launcher, it still doesn't want to start up when clicking on that launcher icon.&lt;/P&gt;&lt;P&gt;I tried sudo chmod ... and sudo chown... no worky. Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Apr 2017 02:21:39 GMT</pubDate>
    <dc:creator>rrrrogadat</dc:creator>
    <dc:date>2017-04-12T02:21:39Z</dc:date>
    <item>
      <title>Ubuntu 16 Error code 6</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-16-Error-code-6/m-p/1641921#M1963</link>
      <description>&lt;P&gt;When I type sudo spotify in a terminal, it comes up just fine and works. When I just type spotify, I get an error code:6 message and the followin output:spotify&lt;BR /&gt;[0411/220925:ERROR:nss_util.cc(94)] Failed to create /home/rvand516/.pki/nssdb directory.&lt;BR /&gt;[0411/220925:ERROR:nss_util.cc(94)] Failed to create /home/rvand516/.pki/nssdb directory.&lt;BR /&gt;[0411/220925:ERROR:main_delegate.cc(752)] Could not load cef_extensions.pak&lt;BR /&gt;[0411/220925:ERROR:browser_context_impl.cc(231)] The cache_path directory could not be created: /home/rvand516/.cache/spotify/Browser&lt;BR /&gt;[0411/220925:ERROR:nss_util.cc(94)] Failed to create /home/rvand516/.pki/nssdb directory.&lt;BR /&gt;[0411/220925:ERROR:main_delegate.cc(752)] Could not load cef_extensions.pak&lt;BR /&gt;[0411/220925:ERROR:nss_util.cc(94)] Failed to create /home/rvand516/.pki/nssdb directory.&lt;BR /&gt;Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.&lt;BR /&gt;Segmentation fault (core dumped)&lt;/P&gt;&lt;P&gt;Also, if I run spotify in /usr/share/spotify/ I get the same problem. If I type sudo spotify, and lock the icon to the launcher, it still doesn't want to start up when clicking on that launcher icon.&lt;/P&gt;&lt;P&gt;I tried sudo chmod ... and sudo chown... no worky. Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 02:21:39 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-16-Error-code-6/m-p/1641921#M1963</guid>
      <dc:creator>rrrrogadat</dc:creator>
      <dc:date>2017-04-12T02:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ubuntu 16 Error code 6</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-16-Error-code-6/m-p/1643520#M1964</link>
      <description>&lt;P&gt;You should never start spotify with sudo (or any&amp;nbsp;similar programs really).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking at the error messages I guess your home directory has lots of files and directory with wrong permissions now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you for instance copy/paste this ls command in a terminal and look at who owns these directories, none of them should be owned by root.&lt;/P&gt;
&lt;PRE&gt;ls -ld $HOME $HOME/.config $HOME/.cache $HOME/.pki
&lt;/PRE&gt;
&lt;P&gt;I recommend these commands to fix it. Set correct owner on all of those directories. Delete spotify's cache and config.&lt;/P&gt;
&lt;PRE&gt;sudo chown $USER:$USER $HOME $HOME/.config $HOME/.cache $HOME/.pki&lt;BR /&gt;cd $HOME/.cache&lt;BR /&gt;sudo rm -r spotify&lt;BR /&gt;cd $HOME/.config&lt;BR /&gt;sudo rm -r spotify&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 08:13:08 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-16-Error-code-6/m-p/1643520#M1964</guid>
      <dc:creator>jooon</dc:creator>
      <dc:date>2017-04-13T08:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ubuntu 16 Error code 6</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-16-Error-code-6/m-p/1658123#M1965</link>
      <description>&lt;P&gt;I had the same exact error as decribed by OP. I followed your directions by removing Spotify from config and cache, and it seemed to work just fine. Not the case for me.When I run "Spotify" in my CLI, I now get this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[0425/222445:ERROR:main_delegate.cc(752)] Could not load cef_extensions.pak
[0425/222445:ERROR:main_delegate.cc(752)] Could not load cef_extensions.pak
[0425/222445:ERROR:nss_util.cc(713)] Error initializing NSS with a persistent database (sql:/home/bryan/.pki/nssdb): NSS error code: -8174&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Apr 2017 04:29:25 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-16-Error-code-6/m-p/1658123#M1965</guid>
      <dc:creator>bryan89654</dc:creator>
      <dc:date>2017-04-26T04:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ubuntu 16 Error code 6</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-16-Error-code-6/m-p/1658125#M1966</link>
      <description>&lt;P&gt;Also, as an additional note to my previous post, Spotify still does launch and I can navigate it, and play music just fine. Everything seems to be working alright, I still see those 3 errors come up.&lt;/P&gt;&lt;P&gt;I can lock the Spotify to launch bar, close it in the CLI, and open it straight from the launch bar just fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 04:37:02 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-16-Error-code-6/m-p/1658125#M1966</guid>
      <dc:creator>bryan89654</dc:creator>
      <dc:date>2017-04-26T04:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Ubuntu 16 Error code 6</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-16-Error-code-6/m-p/1658620#M1967</link>
      <description>&lt;P&gt;The first two lines are actually not errors, just an&amp;nbsp;optional extension file missing, but CEF (the library used by Spotify for the UI) reports them as errors. We have fixed that problem in 1.0.53.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The third line probably means that there is still permission problem in your home directory. To get rid of it, I recommend setting&amp;nbsp;your normal user as owner of all files and directories in the .pki directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;sudo chown -R $USER:$USER $HOME/.pki&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Apr 2017 13:55:51 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-16-Error-code-6/m-p/1658620#M1967</guid>
      <dc:creator>jooon</dc:creator>
      <dc:date>2017-04-26T13:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ubuntu 16 Error code 6</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-16-Error-code-6/m-p/1659180#M1968</link>
      <description>&lt;P&gt;Perfect, looks like that last fix to set my normal user as owner of all files and direcroties in the .pki directory.&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 21:21:55 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Ubuntu-16-Error-code-6/m-p/1659180#M1968</guid>
      <dc:creator>bryan89654</dc:creator>
      <dc:date>2017-04-26T21:21:55Z</dc:date>
    </item>
  </channel>
</rss>

