Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GNOME] Nextcloud cannot remember login information #26275

Closed
ProjectMoon opened this issue Nov 10, 2020 · 5 comments
Closed

[GNOME] Nextcloud cannot remember login information #26275

ProjectMoon opened this issue Nov 10, 2020 · 5 comments

Comments

@ProjectMoon
Copy link
Contributor

See this: nextcloud/desktop#1292

Expected behavior

You should need to log in once on first run, then not log in again.

Actual behavior

If libgnome-keyring is not installed, you will have to log in every time the program starts.

Steps to reproduce the behavior

This may be specific to GNOME itself. Install libgnome-keyring makes the problem go away. Haven't checked it on other desktop environments. It seems to be fixed in the Nextcloud repository by updating to qtkeychain 0.10. Void is still on 0.9.1, so a patch is needed.

@yopito
Copy link
Contributor

yopito commented Nov 12, 2020

I confirm the bug, but with libgnome-keyring that is already installed here (required by MATE).
So I'll give a try with qtkeychain 0.10.

@yopito
Copy link
Contributor

yopito commented Nov 12, 2020

Some tests:

  • nextcloud + qtkeychain-q5 0.9.1 + gnome-keyring (not libgnome-keyring) : works fine
  • nextcloud + qtkeychain-q5 0.9.1 or 0.11.1 + kwallet : does NOT work

BTW, libgnome-keyring is deprecated, see https://gitlab.gnome.org/GNOME/libgnome-keyring/blob/master/README

I have to check why qtkeychain-q5 currently does not work with kwallet.
Then see what about these runtime requirements for nextcloud (INSTALL.msg or declarative)

@khumarahn
Copy link

I had this on gentoo linux, where libgnome-keyring has been deprecated. I got success with
https://packages.gentoo.org/packages/dev-libs/qtkeychain but only if it is compiled with gnome-keyring use flag (which adds -DLIBSECRET_SUPPORT=ON option to cmake and a couple of dependencies).

@eth0OS
Copy link

eth0OS commented Nov 14, 2020

I had this problem with XFCE too, it was fixed by installing libsecret + libsecret-devel.

yopito added a commit to yopito/void-packages that referenced this issue Nov 19, 2020
@yopito
Copy link
Contributor

yopito commented Nov 19, 2020

@eth0OS : libsecret-devel is certainly useless. For libsecret, it's unclear at the moment

fix: qtkeychain-qt5 0.11 correctly detects and uses gnome-keyring if available (see PR #26497)

My State of art:

  • To use nextcloud-client: please install either gnome-keyring + libsecret or kwallet5 in order to provide a backend to qtkeychain-qt5.
  • libkeyring-gnome is useless.
  • qtkeychain-qt5 0.11 is working with both keystore backend here.

tip for force using kwallet if not running from KDE/Plasma:
$ DESKTOP_SESSION=kde KDE_SESSION_VERSION=5 nextcloud

yopito added a commit to yopito/void-packages that referenced this issue Nov 19, 2020
yopito added a commit to yopito/void-packages that referenced this issue Nov 20, 2020
yopito added a commit to yopito/void-packages that referenced this issue Nov 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants