如何解决“安全存储无法保存主密码”,请执行以下操作:在带有SSH密码调试连接的Eclipse CDT远程应用程序中? [英] How to solve "Secure storage was unable to save the master password" in Eclipse CDT remote application with SSH password debug connection?
问题描述
我正在尝试使用Eclipse和 gdbserver
远程调试C程序。
我设法使Eclipse手动和公用密钥SSH身份验证都可以使用,如以下所述:
I'm trying to debug a C program remotely with Eclipse and gdbserver
.
I have managed to make both the manual and public key SSH authentication work with Eclipse as described at: Remote debugging C++ applications with Eclipse CDT/RSE/RDT
However, if I try to create a connection with SSH password, creation fails a few error popups appear, the first of which is:
Secure storage was unable to save the master password
The first two lines of the stack trace are:
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)
Other exceptions I got are:
No password provided.
and:
Unable to locate secure storage module
Tested in Ubuntu 16.04 host and Eclipse Oxygen 4.7.0 downloaded from the Eclipse website.
Some possibly related issues:
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=329615
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=429678
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=329615
- https://github.com/redhat-developer/vscode-java/issues/212
- https://dev.eclipse.org/mhonarc/lists/ptp-user/msg03178.html
Go to Window > Preferences > Secure storage and uncheck "Linux Integration (64 bit)", leaving "UI Prompt" as the only checked option.
Likely Eclipse was trying to integrate with some native password provider, and the integration is bogged. TODO: understand precisely why.
Now, the next time I try to create the connection with password, a popup appears asking me to set a "Master password". I do that, and everything works.
这篇关于如何解决“安全存储无法保存主密码”,请执行以下操作:在带有SSH密码调试连接的Eclipse CDT远程应用程序中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!