Replies: 26 comments 18 replies
-
|
Hi, I would expect your display is connected to a video output, not to
GPIO like the displays used for lbb? This would mean, you need a
graphical system, not the lite version of the os - and this would
interact with the storage management of lbb and cause new problems. I
don't know what your drivers are doing and can't explain, why they stop
the booting process of lbb.
But, most important, this is not the way lbb uses the display. Why don't
you just print the case
https://github.com/outdoorbits/case-for-little-backup-box and assemble
the (cheap) components?
|
Beta Was this translation helpful? Give feedback.
-
|
If you can manage to...
- auto login to the graphical UI
- autostart a web browser to open http://localhost
- inhibit auto mount of your graphical surface
...you did it! If you find a way to do so, I would like to add this option.
|
Beta Was this translation helpful? Give feedback.
-
|
Okay! Success of a sort. Rough workflow--I installed the full graphic UI, installed the drivers for the 3.5" LCD, then installed LBB. A few minor tweaks of the LCD that are not relevant here, but I can share if desired. I basically needed it to show more of the Chromium web page... Anyway, I'm able to open https://localhost, and the LBB GUI interface comes up. I scrolled to the log window and watched a backup in real time. The backup worked as it should have, and when it was done, I was able to view the photos on the Raspberry Pi directly, rather than using my phone/tablet. It's a fully functional setup as I was hoping to do! There are some tweaks, though, that I will work on. First, I'd like to have a kiosk mode for Chromium at startup with the LBB interface. I think I can eventually figure that out. Second, I would really like to not have to log in to LBB, since I either have to plug in a keyboard, or maybe I can install a touchscreen keyboard. I'd rather not do it if possible. But since I first saw a Gnarbox, I've wanted to use a Raspberry Pi for this purpose. I finally got there tonight! |
Beta Was this translation helpful? Give feedback.
-
|
This sounds fantastic! I think I could manage to allow access to the web UI without password for localhost.
How did you manage conflicts of auto mount?
Is there a way to automatically start the web browser after boot? Maybe directly in full screen mode?
|
Beta Was this translation helpful? Give feedback.
-
|
Not sure there were any auto-mount conflicts, because it just seemed to work. I did figure out how to get the web browser into kiosk mode at boot, though. I added @chromium-browser --kiosk http://localhost/ to the autostart file at /home/pi/.config/lxsession/LXDE-pi/autostart. Voila. Now, to deal with the pesky login for that page. It saved the password, so I have to just tap on the screen now, but here's what it looks like. |
Beta Was this translation helpful? Give feedback.
-
|
And a little video in action. IMG_1500.2.mp4 |
Beta Was this translation helpful? Give feedback.
-
|
This is really next level! Is it possible to configure all that by a
bash script
* Create a user for linux gui: easy
* define auto login without password after boot: have to check
* define auto start for the browser connecting to localhost: you did
it
If you like, we can develop this and include it into the main branch.
|
Beta Was this translation helpful? Give feedback.
-
|
There is an auto-login without password after boot. raspi-config -> system options -> Boot/AutoLogin -> B2 allows login without the GUI, and B4 allows login with the GUI. I think the simple path without a GUI is to have a script at login that runs Chromium and automatically opens localhost. I did it with the GUI because I wanted to be able to see what I was doing a little better. I'm sure the same could be done with a standalone install of Chromium rather than the full desktop GUI. I looked around in the php files to see if I could remove the login for the localhost webpage, but I'm not seeing what I'm looking for. I'd like to comment it out and see if I can load localhost without logging in. |
Beta Was this translation helpful? Give feedback.
-
|
I just changed the apache configuration to allow access to the web ui from localhost without password. So you don't lose your protection from external devices. After update just set a new password to bring the new config in place. |
Beta Was this translation helpful? Give feedback.
-
|
I just uploaded a new branch "desktop". It contains the script setup-graphical-environment.sh witch should arrange everything needed for a desktop usage.
Do you see solutions? |
Beta Was this translation helpful? Give feedback.
-
|
For me it's working now. Would you please test? You need a new image, please install your drivers first and after that lbb. If you confirm, I would put this into documentation. |
Beta Was this translation helpful? Give feedback.
-
|
It worked perfectly! Only suggestion for the documentation is that you note you should install the full graphical environment if you want to go this path. I tried it initially with just the bare image with no desktop environment, thinking you might have included just the bare minimum, but then I re-did it with the GUI. I successfully backed up my images without a hitch. Photos and video attached. And as a bonus, I did it entirely on a battery pack to make sure this will work in the field. https://github.com/outdoorbits/little-backup-box/assets/153684931/ba78e734-cabf-4c53-abb8-70658815b6ef |
Beta Was this translation helpful? Give feedback.
-
|
That's great news. I'll rework the documentation. If you find the time, could you please take a photo on a neutral background showing the backup screen and the connections? I would like to publish it on the GitHub page. Thank you! |
Beta Was this translation helpful? Give feedback.
-
|
I also see this in the logs when it starts up, but I don't see anywhere where this image gets displayed. IMAGE=/var/www/little-backup-box/tmp/ip-qr-link-192-168-12-28_64_online.png |
Beta Was this translation helpful? Give feedback.
-
|
A couple things I've noticed in the last day with the latest build...first, it used Firefox as the default. I wasn't expecting that, so it hung up because it said the page was insecure. I changed it to chromium which is how I've tested it, and it booted as I am used to seeing. But, now I can't control the screen at all like before. I'm not sure what about the kiosk mode changed, but I would need a keyboard to scroll the page now. I'm sure it's an easy fix, but I haven't figured it out yet. I'll let you know if I do. |
Beta Was this translation helpful? Give feedback.
-
|
I had some issues about chromium so I switched to firefox.Did you change anything in the address http://localhost? The warning about the insecure website shouldn't come up, if you don't use https. |
Beta Was this translation helpful? Give feedback.
-
|
Weird. I did a reinstall, and the problem went away. I notice you put the little IP address graphic in there at the bottom, too. Very helpful.Sent from my iPadOn Jan 29, 2024, at 11:11 PM, outdoorbits ***@***.***> wrote:
I had some issues about chromium so I switched to firefox.Did you change anything in the address http://localhost? The warning about the insecure website shouldn't come up, if you don't use https.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Yesterday I added a virtual keyboard. It is only displayed if allowed by configuration (default=true) and on requests from localhost. Maybe you could check this in your device. As you know, there are some text input fields in settings. |
Beta Was this translation helpful? Give feedback.
-
|
Unfortunately it's very poor documented and I don't expect that it's possible to resize. I'll have a look but if not, I hope it does it's job anyway.
|
Beta Was this translation helpful? Give feedback.
-
|
Did the virtual keyboard shrink ab bit on your system? |
Beta Was this translation helpful? Give feedback.
-
|
Okay--walkthrough video is live. https://youtu.be/qAEebY8UlRc |
Beta Was this translation helpful? Give feedback.
-
|
Hi,
this is great, thank you! I just linked your video from the main page an
from the wiki. I also used a screenshot out of your video for the link.
But github may need some time to render this.
Great job!
|
Beta Was this translation helpful? Give feedback.
-
|
The browser is defined in
/home/lbb-desktop/.config/autostart/little-backup-box.desktop
If you edit it by
sudo nano /home/lbb-desktop/.config/autostart/little-backup-box.desktop
you can change firefox to whatever you like. I could set
chromium-browser to start on boot this way:
Exec=chromium-browser http://localhost
But it fails when using --start-fullscreen or --kiosk.
I think, the necessary command would be
Exec=chromium-browser http://localhost --start-fullscreen --kiosk
--noerrdialogs --no-first-run
Executing this command from terminal, I got some error messages, so I
had to install upower:
sudo apt install upower
This fixed some of these errors. But it still didn't work - and the
error messages about missing objects where not helpful to me anymore.
That was why I decided to use firefox. Maybe you find the error?
|
Beta Was this translation helpful? Give feedback.
-
|
That's nice! The idea of little-backup-box was born by Dmitri Popov,
maybe about 10 years ago. The scripts where written in bash script
language and he already had a web ui and a display working. Dmitri even
published in magazines about lbb. When I found this project it seamed to
be just what I have been looking for since a long time. It was really
great. But using it I quickly missed some functions, flexibility, some
security checks, cloud functions and ... and started to contribute. One
day Dmitri asked me to take over the project... Now it is nearly
completely rewritten. The bash scripts are mostly replaced by python but
the look and feel is still close to Dmitris work.
I'm Stefan and live in Germany. I'm just a hobby photographer. Most
images we take on traveling - and that's why I need a backup solution.
Usually we travel as family and carry cameras and smartphones. So I
enjoy just to plug all these devices into my USB hub in the evening and
if the internet connection is well, all the images are save at home next
morning.
But you are a professional photographer, in California? Not bad!!!
Sounds extremely interesting! Do you have a website for presenting your
images?
|
Beta Was this translation helpful? Give feedback.
-
|
Great photographs! On images like them I would love to know, what effort it took to get them, for sure a lot!
|
Beta Was this translation helpful? Give feedback.
-
|
Thank you, it's published right now:
https://github.com/outdoorbits/little-backup-box/blob/main/gallery.md
|
Beta Was this translation helpful? Give feedback.










Uh oh!
There was an error while loading. Please reload this page.
-
Hi--I'm loving using LBB on my Pi4, and it works great with my phone to watch the process. However, it would be great to have a fully-integrated solution if that's on the roadmap anywhere. I have a 3x2 inch LCD (approx) display on my Pi4, and while I know that small displays are supported, when I install the drivers for the display, LBB no longer functions, and when the Pi4 boots up, it just goes to the command line. Disclaimer--I'm a photographer, not a programmer. Well, I used to program, but that was back when you had to do an IBM punch card for each line of code. So, please be gentle with the comments... TIA
Beta Was this translation helpful? Give feedback.
All reactions