FreeFileSync with Cron + Wayland

Get help for specific problems

cometchaserde

Hi,

I run a FreeFileSync-Batchjob with cron and the following command

/opt/FreeFileSync/FreeFileSync /home/stefan/FreeFileSync/BatchRun-Downloads.ffs_batch --display=:0.0

on Debian Bookworm with Gnome and X.org.

After switching to Wayland, the Batchjob doesn't work anymore.
The job gets executed by cron but nothing happens. No log file from FreeFilesync gets generated.
Wenn I run the command from a shell
eg. /opt/FreeFileSync/FreeFileSync /home/stefan/FreeFileSync/BatchRun-Downloads.ffs_batch --display=:0.0
it works.

Changing the cron command to
/opt/FreeFileSync/FreeFileSync /home/stefan/FreeFileSync/BatchRun-Downloads.ffs_batch
doesn't work.

Switching back to X.org it works.

Any ideas ?

Thank you,
Stefan
Posts: 1
Joined: 12 Feb 2026

jasmines

Same issue here.
Did anyone get it fixed?
Posts: 7
Joined: 14 Apr 2016

john the hat

No help here but this may become more urgent as Ubuntu 26.* no longer provides X.org support.

log error:
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
11:43:01: Error: Unable to initialize GTK+, is DISPLAY set properly?

I am REASONABLY confident this is a Wayland problem but so far it is beyond me :-(