How to add xrdp server in yocto? - yocto

I am working on raspberry pi 4 and install a yocto linux image on that.
Is there any way to add xrdp server in yocto warrior branch?
I have added recepie from meta-openembedded/meta-oe/recepie-support/rxdp/
In final image but can't get remote desktop of raspberry pi
please find logs from here
logs of journalctl command
Thanks
Margish

IMAGE_INSTALL += " xrdp "

Related

Can't guess default raspberry password

I've been trying to establish ssh connection with my raspberry by adding config files (wpa_supplicant.conf, ssh) to boot section of sd card with raspberry OS. I've done everything right and usually after these steps I could easily connect to my raspberry.
But, now I can't do this.
Whenever I try to log into raspberry using 'pi' as login and 'raspberry' as password, it says that this is incorrect password. I tried reinstalling OS on sd card; however, it didn't help.
I don't have any other opportunities other than connecting to raspberry wirelessly.
I have Raspberry Pi 4B and Raspberry OS 64-bit
It seems that you are using the latest release of raspbian. Developers have made a huge step forward to the security and there is no more default user pi and password raspberry, no need of the wpa_supplicant.conf & ssh files (but they are still work).
For headless setup you can press settings button in the last version of Raspberry Pi Imager and configure User, Wi-Fi, SSH and so on.
Scroll down to the Headless setup chapter
https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/
I created a guide with images to do this here:
As per the official raspberry blog at https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022 the default username password will no longer be allowed for headless login.
Basically there are two methods
Use the updated raspberry pi imager too from here
manually add userconf file in the boot directory with username:encrypted-password as a single line. to generate encrypted-password string use echo 'mypassword' | openssl passwd -6 -stdin tested on win 10

problem installing omv on raspberry pi: "unable to resolve host address raw.githubusercontent.com

im trying to install open media player on my raspberry pi 3.
ive tried installing the installerMedia plugin with the following command:
wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install | sudo bash
but i keep getting this error...
any help?
thanks in advance!

Running AWS CloudWatch logs agent on Raspberry Pi 4

Has anybody successfully run the AWS CloudWatch Logs Agent on a Raspberry Pi 4?
When I run the script below, it appears to work, but the awslogs.service does not get created.
curl https://s3.amazonaws.com//aws-cloudwatch/downloads/latest/awslogs-agent-setup.py -O
I suspect it simply isn't compatible, so I what to see if anybody else had success. Any other suggestions for centralized logging for a Raspberry Pi cluster?
I ended up re-imaging my Raspberry Pi 4 with the 64 bit Raspberry Pi OS, at which point I was able to follow the instructions to download and install the .deb file for ARM64 Ubuntu on https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/download-cloudwatch-agent-commandline.html.
cd /opt
wget https://s3.amazonaws.com/amazoncloudwatch-agent/ubuntu/arm64/latest/amazon-cloudwatch-agent.deb
sudo dpkg -i -E ./amazon-cloudwatch-agent.deb

Windbg not working

I'm trying to Kernel Debug Raspberry PI3 using Bus Pirate, I've followed the instructions to connect them, and also the steps from
(https://developer.microsoft.com/en-us/windows/iot/docs/Windbg.htm)
However everytime I run the following command
windbg.exe -k com:port=com3,baud=921600
but once I restart I get "waiting to reconnect..." and nothing happens?
Any advice, have you come across this problem? My target is a PI3 and using the latest, 10.0.14393.693 version of Win 10 IoT Core.
Solved this by running the following on Raspberry PI
bcdedit /dbgsettings serial debugport:1 baudrate:115200
On the Host machine running the baudrate of the following
C:\Program Files (x86)\Windows Kits\10\Debuggers\x86>windbg.exe -k com:port=COM3,baud=921600

Raspberry-Pi live streaming using web cam

I am new with RASPBERRY PI . But i've successfully completed a project with the use of Brick Pi which is actually a WIFI based moving car. Now i want to enable live camera streaming to my project. Can i do it using my USB webcam ?
I actually want to stream it on any browser.
If YES, how can i achieve it ?
Is there any better solution than using a webcam ?
Install MJPG-streamer on your Rasperry Pi
sudo apt-get install libjpeg8-dev imagemagick libv4l-dev
sudo ln -s /usr/include/linux/videodev2.h /usr/include/linux/videodev.h
git clone https://github.com/jacksonliam/mjpg-streamer.git
and then you can use a command like this:
mjpg_streamer -i “/usr/local/lib/input_uvc.so" -o “/usr/local/lib/output_http.so -p 9000 -w www”
You can check out this tutorial by Tinkernut, which basicly does what you want as well as some other cool stuff