Reputation: 71
I (have to) use Netbeans for my work. The code is checked out from SVN and Netbeans offered to remember the username and password.
However, Netbeans ALWAYS asks for the master password when I open it. It is so annoying because this is my machine and I know what I am doing.
I work under Ubuntu 11.10 x64, and Netbeans 7.01. I tried to google the answer, and I have tried the solutions on http://wiki.netbeans.org/FaqMasterPasswordDialog and it didn't work.
Can anyone help?
Upvotes: 7
Views: 8542
Reputation: 345
The IDE asks for master password when fails to access the system-default-mechanism to store passwords and other secure data (as explained here). There are generally two ways to avoid it:
/usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0
exists and create the link NetBeans is looking for.
cd /usr/lib/x86_64-linux-gnu/
ls libgnome-key*
...
sudo ln -s libgnome-keyring.so.0 libgnome-keyring.so
Try to install the lib if not present:
sudo apt-get install libgnome-keyring0
Upvotes: 1
Reputation: 1
I had the same issue with NetBeans 8.02. As it turns out, NetBeans is looking for an enviromental variable called GNOME_KEYRING_, no matter the value. So, I inserted this line at the beginning of the netbeans shell script in %netbeansinstalldir%/bin/netbeans
export GNOME_KEYRING_=foobar
Works like a charm.
Original post https://netbeans.org/bugzilla/show_bug.cgi?id=249287
Upvotes: 0
Reputation: 856
When you're modifying your netbeans.conf, make sure that you actually add this line inside the quotes of the *netbeans_default_options=*, this foxed me for half an hour.
Upvotes: 2
Reputation: 81
You can edit your netbeans.conf file by adding the following option:
-J-Dnetbeans.keyring.no.master=true
The netbeans.conf file is located in the "netbeans-install-dir"/etc directory
Upvotes: 8