Impossible to quit client on linux

Hi I installed the client on fedora linux via dnf. It works OK but I do not want it always running. How do I quit this application?

“Launch on system statup” is UNchecked — and yet it does this anyway. How? It is not in my xfce “Sessions” startup items. I do not find anything relevant in systemctl. Where is it being loaded?

Then if I quit it by

  • context menu on tray item > exit, or
  • opening the application window > myusername dropdown menu > exit, or
  • killing via task manager, or
  • sudo killall nextcloud

it will reappear later on.

a. where is it being started?
b. how is it being restarted?

~/.config/Nextcloud/nextcloud.cfg (redacting [Accounts] and subsequent):

[General]
clientVersion=3.12.3git
confirmExternalStorage=true
isVfsEnabled=false
launchOnSystemStartup=false
newBigFolderSizeLimit=500
optionalServerNotifications=true
overrideLocalDir=
overrideServerUrl=
showCallNotifications=true
useNewBigFolderSizeLimit=false

generated a debug archive, here is what seems relevant from that:

__nextcloud_client_buildinfo.txt:

<p>Nextcloud Desktop Client</p><p>Version Nextcloud. For moreinformation please click <a href='3.12.3'>here</a>.</p> (https://docs.nextcloud.com/desktop/3.12/)<p><small>Using virtual files plugin: off</small></p><br>fedora-6.8.6-200.fc39.x86_64

<p>Version 3.12.3git. For more information please click <a href='https://docs.nextcloud.com/desktop/3.12/'>here</a>.</p><p>This release was supplied by Nextcloud GmbH.</p><p><small>Built from Git revision <a href="https://github.com/nextcloud/desktop/commit/e4ad64aa1950ed482485be416d50296bc2130e20">e4ad64</a> on Mar 30 2024, 00:00:00 using Qt 5.15.12, OpenSSL 3.1.1 30 May 2023</small></p>%

__nextcloud_client_parameters.txt:

/usr/bin/nextcloud --background%

only other relevant items found: [Bug]: Client autostarts even if autostart is disabled · Issue #6182 · nextcloud/desktop

I have the same issue on arch lol! it almost acts like a malware.

Same behavior on my ArchLinux system. I’m landed here in my process of finding out where/what keeps restarting Next Cloud Desktop client while I’ve ensured every autostart-related setting is off.

I have struggled with this as well. But found an answer for Manjaro. It is a dbus service.

cat /usr/share/dbus-1/services/com.nextcloudgmbh.Nextcloud.service 
[D-BUS Service]
Name=com.nextcloudgmbh.Nextcloud
Exec=/usr/bin/nextcloud --background

As far as I know you can disable the dbus-1 service by making a local service file.
mkdir -p .local/share/dbus-1/services/
touch .local/share/dbus-1/services/com.nextcloudgmbh.Nextcloud.service
and add the following to that file:

[D-BUS Service]
Name=com.nextcloudgmbh.Nextcloud
Exec=/bin/false

A restart may be necessary.
After the restart the nextcloud-client popped up once for me (don’t know why) after that it was all fine.