Hi, that is strange. Maybe gnome uses systemd to handle autostarts these days and now two systems are try to handle autostarts? But I don't have used Gnome for several years...
But anyways provide your findings at the upstream issue: https://github.com/nextcloud/desktop/issues/4661 Regards, hefee -- > I thought the problem was fixed, as I had no longer 2 files for aut-starting > nextcloud: $ ack -i nextcloud ~/.config/autostart/ > /home/olivier/.config/autostart/Nextcloud.desktop > 2:Name=Nextcloud > 4:Exec="/usr/bin/nextcloud" --background > 6:Icon=Nextcloud > > But suddenyly this morning after restarting and logging in again, I get 2 > instances of nextcloud running again. > > $ ps aux | grep -i nextcloud > olivier 3516 0.1 1.3 2574532 215448 ? SLl 10:56 0:01 > /usr/bin/nextcloud --background olivier 3874 0.1 1.3 2574488 215876 ? > SLl 10:56 0:01 /usr/bin/nextcloud --background olivier 6801 > 0.0 0.0 6624 2480 pts/1 S+ 11:16 0:00 grep -i nextcloud > > Here's the relevant pieces of pstree for the 2 nextcloud process > systemd-+ > > |-systemd-+-(sd-pam) > | > | |-gnome-session-b- > | | > | | |-nextcloud---16*[{nextcloud}] > | | > | | `-4*[{gnome-session-b}] > | | > | |-nextcloud---16*[{nextcloud}] > > So, I'm puzzled. There's another instance of something that starts it, but > not related to my /home/olivier/.config/autostart/Nextcloud.desktop > apparently. > > I dunno what would be special about that gnome session (stable). > > Hope this helps, > > Le Sat, Aug 23, 2025 at 11:03:05AM +0200, Olivier Berger a écrit : > > Le Wed, Mar 26, 2025 at 09:30:24AM +0100, Ralf Jung a écrit : > > > I found the upstream bug for this, referenced above. Deleting the > > > `com.nextcloud.desktopclient.nextcloud.desktop` file in the `autostart` > > > folder seems to help, though it may well be that nextcloud will > > > re-create > > > that file at some point... > > > > Thanks for these details. > > > > I checked stopping Nextcloud desktop, removed both files in > > ~/.config/autostart/, then started Nextcloud and then I used the checkbox > > in the parameters to disable autostart, and reenabling the parameter, > > checking that only the ~/.config/autostart/Nextcloud.desktop is deleted / > > re-generated. > > > > So it seems that stopping all instances and removing > > ~/.config/autostart/com.nextcloud.desktopclient.nextcloud.desktop is > > probably the best workaround, Debian-wise. > > > > Hope this helps,
signature.asc
Description: This is a digitally signed message part.

