Issue with raspberry pi and kodi autostart - raspberry-pi

I installed kodi on my raspberry pi on raspbian. I read the easiest way to auto start kodi when I turn it on it to change the /etc/default/kodi file and set ENABLE = 1.
Whenever I try this both the app I use as remote (flex remote - ios) and the mouse connected to the raspberry won't work. How can I fix it?

can't remember exactly, but inside /etc/default/kodi you can also specify a user. Default it should be set as kodi but if you haven't edited that user this might be a source of problems. Try changing that user to pi or give the right permissions to the kodi user

Related

raspberry pi 4 onboard virtual keyboard AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?

I installed "onboard" as a virtual keyboard on the system. It looked much nicer and more useful than matchbox. I went into the settings and chose the auto open option when I edit the post. after that i restarted my raspberry pi. As it didn't come on automatically, I couldn't run it from the terminal or the menu normally. The error I get when I try to run it from terminal
Hej blackmamba,
I had the same issue with the on screen keyboard florence. After I installed at-spi2-core, it didn't crash anymore, though i could not get it to open automatically.
So I tried installing onboard and everything worked quiet well. Might be a hint..
regards, jarvis
Raspberry Pi B+
5.10.63 Kernel
Debian Buster 10
Waveshare 10.1" HDMI LCD Touch Display

Raspberry NOOBS: remote desktop / multiple workspaces

I have a Raspberry Pi 4B running under NOOBS. I have installed XRDP to be able to access the Raspberry from Windows.
The remote connection is working fine but whenever I launch an application (ex: Chromium) from Windows, I don't see anything happening. If I check directly on the screen connected on the Raspberry, I see that the application is running there.
It looks like whatever I launch on the remote desktop screen, the output goes to the native screen and I can't see it in the remote desktop window. I'm connected with exactly the same user on both sides.
Do you have any idea how to solve this?
Raspberry is known for not beeing compatible with any VNC Software.
You should try RealVNC first which comes with NOOBS. Make sure you have the latest version.
sudo apt-get update
sudo apt-get install realvnc-vnc-server realvnc-vnc-viewer
At your desktop select Menu > Preferences > Raspberry Pi Configuration > Interfaces.
Ensure that VNC is Enabled.
Now get your RealVNC Application for Windows and youre ready to go.
Another alternative is TightVNC, which works in most cases fine, too.

Viewing a remote camera stream in Scratch

I'm doing a project for my son where we're going to have a remote Pi Zero with a camera and various sensors and actuators, connected via wired Ethernet to a Pi 3 as a controller with a Scratch GUI.
Seems like I can get a local camera to send video to the background of the Scratch project, or I can get a remote camera to stream back to e.g. VLC Player using RTSP.
Being as how I want to teach my son how to build a scratch GUI on the Pi3 to remote control the sensors and actuators on the Pi Zero, I'd really like the rtsp video stream to show up as the Scratch project background so I don't have to have a separate VLC window open.
So... how to pick up an RTSP video stream and send it to the Scratch backdrop?
Anyone got any ideas as to where I could start? I have intermediate raspbian, python and Scratch skills.
Thanks in advance,
Ben
Just a wild suggestion. Maybe it is possible to access your USB camera on the remote pi zero as a local camera using remote USB (I admit I have never tried it).
This functionality is provided by the package usbip
https://packages.debian.org/jessie/usbip
You can install this package using the following command on both raspberry pi devices:
sudo apt-get install usbip
For more information about the setup enter the command:
man usbip.

raspberry full noobs installation from network

I am looking for a way to install noobs raspbian from network. I mean i do not want to connect an hdmi TV, mouse or keyboard.
What i read in documentation is to download noobs (full version) and copy files into sd card. I have read i need to change something in recovery.cmdline file (Adding vncinstall word).
This works for the first raspberry boot: I can see installation screen through VNC. I have choose "Raspbian + pixel" installation. Then, I can see the progress bar.
But at the end of the installation, when the raspberry reboots, i have no VNC, neither ssh or telnet server and at this time i need to plug an HDMI TV, mouse and keyboard.
Do you know how i can automaticly launch a VNC or SSH server without having to plug a TV and keyboard ?
Thanks

Locked out, Raspberry Pi

I pulled my Raspberry Pi out from storage and have forgotten my username and password. I don't have access to a microSD reader at the moment. Is there any way I can simple reset the Pi to it's default? I have no important files on there, so I'm fine with wiping and starting over (as long as I still have Raspbian installed).
How would I go about wiping and starting over from the login screen?
I was able to wipe and start over by restarting (control-alt-delete) and hold down shift. I then installed Raspbian, which wiped the card and started the Raspberry Pi from scratch.