如何解决“安全存储无法保存主密码”,请执行以下操作:在带有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?

查看:140
本文介绍了如何解决“安全存储无法保存主密码”,请执行以下操作:在带有SSH密码调试连接的Eclipse CDT远程应用程序中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用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:

解决方案

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆