LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices


Reply
  Search this Thread
Old 04-06-2024, 10:02 AM   #1
Bepp65T
LQ Newbie
 
Registered: Apr 2024
Location: Italy
Posts: 3

Rep: Reputation: 0
Thread was not posted to forum


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

Last edited by Bepp65T; 04-07-2024 at 04:23 AM. Reason: I put my missing thread at the bottom of message
 
Old 04-16-2024, 01:12 PM   #2
murugesandins
Member
 
Registered: Apr 2024
Location: Bangalore Karnataka India
Distribution: CYGWIN_NT
Posts: 46

Rep: Reputation: 0
I don't have Linux OS here.
Can you retest the same using:
Code:
#!/bin/sh
/usr/bin/sleep 15s
echo "Hello Beppe Start Shell"
echo "PATH"
export PATH=/usr/bin:/bin:/usr/libexec/deja-dup
echo $PATH
export 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"
 
Old 04-16-2024, 01:17 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,714

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
murugesandins the thread is here:
https://www.linuxquestions.org/quest...os-4175735663/

Last edited by michaelk; 04-16-2024 at 01:18 PM.
 
Old 04-16-2024, 09:30 PM   #4
murugesandins
Member
 
Registered: Apr 2024
Location: Bangalore Karnataka India
Distribution: CYGWIN_NT
Posts: 46

Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
Thank you for pointing out this.
I need to know how can delete my duplicate comment here?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Thread was not posted to forum Wwth LQ Suggestions & Feedback 10 03-09-2011 02:21 PM
Posted Thread not being shown in Forum ponganthony LQ Suggestions & Feedback 7 10-10-2007 08:21 AM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration