Hello.
I submitted a new topic to the Chrome OS forum, relating to my specific problem. I thought it was a fairly well rounded post however the thread has not yet been reviewed by a moderator.
There isn't any trace that I even sent the post in on my side. It was originally submitted more 24 hours ago and it has yet to appear in the forum. Yesterday I wrote same thread on Linux Software: same result, no posted..
Could you help me?
Thanks a lot.
Best regards.
Beppe
My thread
_____________________________________________________________
Hello.
First, I am a beginner in Linux and my english is not good.
I have a ChromeOS system with Debian GNU/Linux 12 (bookworm).
I've installed some Linux App like GIMP, Thunderbird, Deja-dup (for Backup), Abiword.... They normaly wok fine.
I can try to run automatically at reboot (from Linux) Deja-DUp (to backup my disks).
I 've edit crontab and insert a line that invoke a script at @reboot option.
I've put echo instruction with labels in Crontab and in the script and I've seen both in internal mail.
But the program Deja-dup doesn't start. I've made a lot of attempts without success. I think because is not yet active the Linux graphic. Instead, if I run the script from terminal, the program Deja-dup start and run correctly...
I put
sleep instructions in the script and in crontab to delay execution, without success.
I've also seen that
$Display was "" instead of :0 at reboot execution. I've forced this value, but it doesn't work .
Below first the script and after the email reporting after the boot:
----------SCRIPT---------------
#!/bin/sh
sleep 15s
echo "Hello Beppe Start Shell"
echo "PATH"
PATH=/usr/bin:/bin:/usr/libexec/deja-dup
echo $PATH
DISPLAY=:0
echo "DISPLAY"
echo $DISPLAY
/usr/bin/deja-dup &
#!
#!deja-dup --backup
#!/usr/libexec/deja-dup/deja-dup-monitor &
#! wait
#!disown
#!
echo "Hello Beppe End Shell"
-------------------------
---EMAIL REPORTING-------
-------------------------
Delivery-date: Thu, 04 Apr 2024 11:16:21 +0200
Received: from bepp652 by penguin with local (Exim 4.96)
(envelope-from <bepp652@penguin>)
id 1rsJCn-0000DY-15
for bepp652@penguin;
Thu, 04 Apr 2024 11:16:21 +0200
From: root@penguin (Cron Daemon)
To: bepp652@penguin
Subject: Cron <bepp652@penguin> sleep 6 && /home/bepp652/reboot_beppe.sh
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/bepp652>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=bepp652>
Message-Id: <E1rsJCn-0000DY-15@penguin>
Date: Thu, 04 Apr 2024 11:16:21 +0200
Hello Beppe Start Shell
PATH
/usr/bin:/bin:/usr/libexec/deja-dup
DISPLAY
:0
Hello Beppe End Shell
?
----------------
Sometimes I also have the error: (org.gnome.DejaDup:1129): Gtk-WARNING **: 12:52:27.166:
cannot open display:
I've also try to create /etc/rc.local and run deja-dup from this file,
but it doesnt' work.
Finally I've tried to create org.gnome.DejaDup.desktop in folder /home/bepp662/.config/autostart, but without success...
Both, rc.local and folder autostart, weren't present on my system and so I've created both, but probably my system doesn't work with these 2 options....
Ah... I've also tried to run Abiword at reboot... same results
Have you any ideas how to run deja-dup at reboot?
Thank you in advance.
Beppe