script is located where dietpi user has no access… I mean its mine directory. I can’t even exceute ls command as dietpi user. When trying to get inside kiauh folder with cd I’ve got bash: cd: kiauh: Permission denied
PS. Is there an option to set dietpi user to behave as pi user on raspbian?
Try login as root or change to root when you logged in as dietpi user with su -, and then you can check the permissions of this directory with ls -la /path/to/kiauh. And you can also do then chmod +x /path/to/kiauh/kiauh.sh.
You could then change the ownership to dietpi, or add the owner to the dietpi group to get access, or add dietpi to the group of the file owner. I’m not sure what would be the best practice here
Looks like it is located on root user home directory. Of course user dietpi can’t access it there. You would need to move it somewhere else. Probably best to user dietpi home if you like to use this one to execute your script
Yes, it could be correct diagnose - when swapping user with sudo su dietpi and trying to excute git clone command I need add sudo at front. Will check that later then.
Everythings working correct now - i was loging as root, and then changing user with sudo su command. I logged as dietpi and everything is working. Feeling so stupid right now Sorry for wasting your time with so stupid question…
There are no stupid questions, we all started with no knowledge about these things and asked many many questions.
So don’t worry, this forum is exactly the right place for this questions
So if there are no stupid question, i have the nex one.
On Klipper there is an option to install KlipperScreen.
When I’m installing it on Rasbian Lite to make it working on HDMI screen like this one: https://forums.raspberrypi.com/viewtopic.php?p=1120534#p1120534
i need to set GL driver to Legacy (in raspi-config). I was trying to make it working on DietPi, but don’t know which driver should I choose. With standard GL (kms and fkms) i had blackscreen. Terminal before Klipperscreen start is visible.
On DietPi legacy driver is used by default, but KMS may be enabled depending on what you installed. You can always disable KMS by removing the dtoverlay=vc4-kms-v3d line in /boot/dietpi.txt and reboot.
Hi , sorry but just logged in to say thanks, all this thread answered my questions and solved my issues. Because there is no 32 bit i am on debian instead of dietpi, but diepi is on my others rpi and you solved my issue. Sending a lot of good energy, bye