-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
nextcloud-client asks to connect accounts after each reboot #60012
Comments
@caugner this might be due to how nextcloud-client gets its keyring. Anything interesting shown on the console on Also see |
I'm probably missing something, but which keyring (i.e. Kwallet, gnome keyring or none) is used to remember the credentials? |
on login, I have a keyring unblock prompt triggered by nextcloud client (installed via home-manager)/Kwallet. |
Here are some extracts from my { config, pkgs, ... }:
{
# ...
hardware.opengl.driSupport32Bit = true;
# ...
nix.useSandbox = true;
# ...
environment.systemPackages = with pkgs; [
# ...
gnome3.gnome_keyring
gnome3.gnome-packagekit
gnome3.gnome_session
gnome3.gnome-disk-utility
gnome3.gnome-tweak-tool
gnome3.mutter
# ...
libgnome_keyring
# ...
];
# ...
services.gnome3 = {
gnome-keyring.enable = true;
tracker.enable = false;
tracker-miners.enable = false;
};
# ...
services.xserver = {
enable = true;
config = ''
Section "InputClass"
Identifier "Ignore Touchscreen"
MatchIsTouchscreen "on"
Option "Ignore" "on"
EndSection
'';
layout = "de";
desktopManager.gnome3 = {
enable = true;
extraGSettingsOverrides = ''
[org.gnome.desktop.background]
show-desktop-icons=true
[org.gnome.desktop.calendar]
show-weekdate=true
[org.gnome.desktop.input-sources]
sources=[('xkb','de')]
[org.gnome.desktop.interface]
clock-show-date=true
clock-show-seconds=true
scaling-factor=2
show-battery-percentage=true
[org.gnome.desktop.privacy]
hide-identity=true
report-technical-problems=true
[org.gnome.desktop.sound]
event-sounds=false
[org.gnome.mutter]
experimental-features=['scale-monitor-framebuffer']
[org.gnome.nautilus.icon-view]
defualt-zoom-level=small
[org.gnome.nautilus.list-view]
use-tree-view=true
[org.gnome.nautilus.preferences]
always-use-location-entry=true
automatic-decompressoin=false
default-folder-viewer='list-view'
executable-text-activation='ask'
show-hidden-files=true
'';
};
displayManager.gdm = {
enable = true;
};
};
# ...
} |
Thanks a lot for this! Unless @flokli is faster I'll try to reproduce the issue in a VM tonight :) |
So, I managed to reproduce the problem in a VM, but I'm not entirely sure if I didn't screw up the keyrig somehow as I'm not a GNOME user. IIRC we had similar issues in the past, so it would be awesome if @jtojnar could have a look at this :) |
Do you have a VM config? |
I checked this with the following VM: {
gnome3vm = { pkgs, ... }: {
virtualisation.memorySize = 8192;
users.extraUsers.vm = {
password = "vm";
isNormalUser = true;
};
environment.systemPackages = with pkgs; [
gnome3.gnome_keyring
gnome3.gnome-packagekit
gnome3.gnome_session
gnome3.gnome-disk-utility
gnome3.gnome-tweak-tool
gnome3.mutter
libgnome_keyring
nextcloud-client
];
services.gnome3 = {
gnome-keyring.enable = true;
tracker.enable = false;
tracker-miners.enable = false;
};
services.xserver = {
enable = true;
desktopManager.gnome3 = {
enable = true;
extraGSettingsOverrides = ''
[org.gnome.desktop.background]
show-desktop-icons=true
[org.gnome.desktop.calendar]
show-weekdate=true
[org.gnome.desktop.interface]
clock-show-date=true
clock-show-seconds=true
show-battery-percentage=true
[org.gnome.desktop.privacy]
hide-identity=true
report-technical-problems=true
[org.gnome.desktop.sound]
event-sounds=false
[org.gnome.mutter]
experimental-features=['scale-monitor-framebuffer']
[org.gnome.nautilus.icon-view]
defualt-zoom-level=small
[org.gnome.nautilus.list-view]
use-tree-view=true
[org.gnome.nautilus.preferences]
always-use-location-entry=true
automatic-decompressoin=false
default-folder-viewer='list-view'
executable-text-activation='ask'
show-hidden-files=true
'';
};
displayManager.gdm = {
enable = true;
};
};
};
} It's based on the GNOME3 config from @caugner and can be built by running |
I had to add services.nextcloud = {
enable = true;
nginx.enable = true;
hostName = "nextcloud";
config = {
adminuser = "admin";
adminpass = "password";
};
}; I run I am not very familiar with Qt ecosystem but at a glance, nothing looks like it is choosing which backends to use in: |
Hmm, apparently Will open a PR soon. |
I was a bit busy recently, thanks a lot @jtojnar for tracing this down! |
Fixed in #60327. |
Thanks a lot! |
Issue description
Since the upgrade to NixOS 19.03 (and nextcloud-client 2.5.0), the
nextcloud-client
tells meYou have been logged out of ***@*** as user ***. Please login again
and asks me toConnect to your account
after each reboot, even if I entered the login data during the last session.Steps to reproduce
nextcloud-client
(in my case, globally).Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste theresults.
--
Potential causes: #52355 #53881 #54484 #55673
Cc: @flokli @averelld @Ma27
The text was updated successfully, but these errors were encountered: