Chromium AutoStart Command Line Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Djodu

Chromium AutoStart Command Line

Post by Djodu »

Hello, I have a problem with the custom script on my OrangePi Zero. The problem is that when I restart the OrangePi Zero, it does not run the autostart.sh script automatically until I logged in SSH.
When I connect in SSH it puts me this note.
dietpi.png
When I disconnect from PuTTY it stops the applications started by the SSH script

All this does not happen to me with the Raspberry, autostart.sh works perfectly with Raspberry.

Ideas ?
8BALL_SA

Re: Chromium AutoStart Command Line

Post by 8BALL_SA »

I'm having the same problem as Djodu.

Any ideas on a solution?
User avatar
Fourdee
Site Admin
Posts: 2783
Joined: Tue Feb 06, 2007 1:36 pm

Re: Chromium AutoStart Command Line

Post by Fourdee »

8BALL_SA wrote:I'm having the same problem as Djodu.

Any ideas on a solution?
Hi guys,

Thanks for the report, appears to be a bug our end, requiring login to exec script. We'll get this fixed:
https://github.com/Fourdee/DietPi/issues/1024
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Mogwaika
Posts: 2
Joined: Sun Jul 02, 2017 3:38 pm

Re: Chromium AutoStart Command Line

Post by Mogwaika »

Fourdee wrote: Thanks for the report, appears to be a bug our end, requiring login to exec script. We'll get this fixed:
https://github.com/Fourdee/DietPi/issues/1024
Hi, but how should I update/reconfig my system? Dietpi 152 doesn't work well with autostart.sh .
I had try to change rc.local file by replacing password with correct one, but it still same behaviour.
wr1nkles
Posts: 3
Joined: Thu Jan 18, 2018 4:21 pm
Location: MA, USA

Re: Chromium AutoStart Command Line

Post by wr1nkles »

CoreyFlies wrote:
The command line will be something along the lines of

Code: Select all

chromium --bwsi --disable-breakpad --kiosk --noerrdialogs <site>
I entered this line of code into the autostart.sh file, but at reboot it says "chromium - command not found".
I installed chromium with the "apt-get install chromium-browser".

Is there a bit of code that should be preceding this line in order for it to execute?


Any help would be greatly appreciated.
Thank you!
There's two things you should never have to watch being made. One is music, and the other is sausages.
User avatar
WarHawk
Posts: 630
Joined: Thu Jul 20, 2017 8:55 am

Re: Chromium AutoStart Command Line

Post by WarHawk »

wr1nkles wrote:
CoreyFlies wrote:
The command line will be something along the lines of

Code: Select all

chromium --bwsi --disable-breakpad --kiosk --noerrdialogs <site>
I entered this line of code into the autostart.sh file, but at reboot it says "chromium - command not found".
I installed chromium with the "apt-get install chromium-browser".

Is there a bit of code that should be preceding this line in order for it to execute?


Any help would be greatly appreciated.
Thank you!
I think you have to provide the exact location of chrome I believe it's /bin/chromium or maybe /usr/bin/chromium(you might have to locate it)
Post Reply