nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
3.05k stars 800 forks source link

[Bug]: Disabling "launch at system start" does not work #7106

Open kdarras opened 2 months ago

kdarras commented 2 months ago

Bug description

I would like to stop NextCloud desktop from running at every system start, but unchecking the corresponding box in the settings does not do anything

Steps to reproduce

  1. download Nextcloud-3.13.3-x86_64.AppImage
  2. Make it executable and run on Ubuntu 24.04
  3. uncheck the "launch at system start" checkbox in the settings
  4. restart

Expected behavior

NextCloud Desktop client should NOT launch after restart

Which files are affected by this bug

Nextcloud-3.13.3-x86_64.AppImage

Operating system

Linux

Which version of the operating system you are running.

24.04

Package

Official Linux AppImage

Nextcloud Server version

don't know

Nextcloud Desktop Client version

3.13

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Enabled

Are you using an external user-backend?

Nextcloud Server logs

No response

Additional info

No response

mtompkins commented 1 month ago

Something troubling exists here. The binary is launched even if all startup invocations are removed so the problem extends outside of any AppImage. For example no systemd nor $USER/.config/autostart/.desktop file on linux, yet the binary will launch and revive itself if force-ably killed. It will also launch after a reboot for reasons unknown.

While I'm not claiming this, this is not an uncommon characteristic for a hijacked binary that has malware embedded.

This was while having the 3.14 client installed on archlinux as well as compiling the 3.13

Ref: https://gitlab.archlinux.org/archlinux/packaging/packages/nextcloud-client

mtompkins commented 1 month ago

The cause seems to be the following known issue:

https://gitlab.archlinux.org/archlinux/packaging/packages/nextcloud-client/-/issues/2

kdarras commented 1 month ago

Thanks for looking into this. Note that a few restarts later, this issue does not persist anymore on my system (strangely enough)...

pktiuk commented 4 weeks ago

This issue exists also on Fedora 40 (version 3.13.4) And on Pop OS with Flatpak (version 3.14.1)