title: How to solve "Secure storage was unable to save the master password" in Eclipse CDT remote application with SSH password debug connection?
body: <p>I'm trying to debug a C program remotely with Eclipse and <code>gdbserver</code>.</p>
  
  <p>I have managed to make both the manual and public key SSH authentication work with Eclipse as described at: <a href="https://stackoverflow.com/questions/15685104/remote-debugging-c-applications-with-eclipse-cdt-rse-rdt/45658783#45658783">Remote debugging C++ applications with Eclipse CDT/RSE/RDT</a></p>
  
  <p>However, if I try to create a connection with SSH password, creation fails a few error popups appear, the first of which is:</p>
  
  <pre><code>Secure storage was unable to save the master password
  </code></pre>
  
  <p>The first two lines of the stack trace are:</p>
  
  <pre><code>java.lang.SecurityException: Unable to get DBus session bus: Could not connect: Connection refused
      at org.eclipse.equinox.internal.security.linux.LinuxPasswordProvider.saveMasterPassword(Native Method)
  </code></pre>
  
  <p>Other exceptions I got are:</p>
  
  <pre><code>No password provided.
  </code></pre>
  
  <p>and:</p>
  
  <pre><code>Unable to locate secure storage module
  </code></pre>
  
  <p>Tested in Ubuntu 16.04 host and Eclipse Oxygen 4.7.0 downloaded from the Eclipse website.</p>
  
  <p>Some possibly related issues:</p>
  
  <ul>
  <li><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329615" rel="noreferrer">https://bugs.eclipse.org/bugs/show_bug.cgi?id=329615</a></li>
  <li><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=429678" rel="noreferrer">https://bugs.eclipse.org/bugs/show_bug.cgi?id=429678</a></li>
  <li><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329615" rel="noreferrer">https://bugs.eclipse.org/bugs/show_bug.cgi?id=329615</a></li>
  <li><a href="https://github.com/redhat-developer/vscode-java/issues/212" rel="noreferrer">https://github.com/redhat-developer/vscode-java/issues/212</a></li>
  <li><a href="https://dev.eclipse.org/mhonarc/lists/ptp-user/msg03178.html" rel="noreferrer">https://dev.eclipse.org/mhonarc/lists/ptp-user/msg03178.html</a></li>
  </ul>