Questions tagged [ubuntu]
Ubuntu is a Linux operating system derived from the Debian distribution.
584 questions
1
vote
1
answer
229
views
How to install Ubuntu Desktop on the NVMe of a RPI 500+?
I would like to remove the factory-installed Raspberry Pi OS from my RPi 500+ and use another Linux distro. I am starting with Ubuntu, which has a build specifically for the RPi.
However I notice that ...
0
votes
0
answers
49
views
Optimize MariaDb Server 11.4 on Ubuntu 24.04 for a Raspberry Pi 5 with 16GB of Ram?
I have MariaDb Server 11.4 running on a Pi 5 with 16GB of Ram. I am running it as a (LEMP) web server and a postfix/dovecot email server off of it.
I am a noob when it comes to MariaDb, and was ...
0
votes
0
answers
267
views
After updating to Ubuntu 24.04 I cannot update/purge/remove plymouth "dpkg: error processing package plymouth (--configure): error exit status 1"
I was running Ubuntu 22.04 Server for Raspberry Pi. I just upgraded my release to Ubuntu 24.04 using the sudo do-release-upgrade command. Towards the end of the upgrade, I am getting the following ...
0
votes
0
answers
210
views
XRDP: connection problem, giving up
I configured xrdp on ubuntu 22.04 and tried to connect from another windows10 using remote desktop. However, the blue screen will appear after a period of time:
After that, I checked /var/log/xrdp....
2
votes
0
answers
47
views
Ubuntu rpi failed auto installer with cloudinit
I m trying to automate an raspberry installation running on ubuntu 24.
It seems possible to manage this part using the cloud-init with autoinstall.
I used the following process:
download the image ...
1
vote
1
answer
130
views
Unable to grab an image from Ubuntu 22.04, Raspberry Pi 4B, Pi Camera V2
I know this comes up a lot but there are many incorrect things out there. I hope you can point me in the right direction.
I have config.txt:
[all]
start_x=1
gpu_mem=256
The camera is detected:
[dome:~...
-1
votes
1
answer
484
views
Raspberry Pi5 not booting GUI OS 64 bit
I just bought a new Raspberry Pi5 4GB and I used Raspberry Pi Image v. 1.8.5 on Windows to install Raspberry Pi OS 64 bit bookworm but my GUI won't start. It restart 3 times showing the splash screen ...
0
votes
0
answers
107
views
Ubuntu package `linux-raspi` cannot handle FAT32 boot partition
TLDR:
The Raspberry Pi 4B requires a FAT32-formatted boot partition.
I have mounted this boot partition in /boot on my Ubuntu Base 24.04 LTS filesystem.
apt install linux-raspi attempts to create ...
1
vote
1
answer
1k
views
Raspberry Pi 5 with Ubuntu Server 24.04, no video output
I just tried to set up a Raspberry Pi 5 with Ubuntu Server 24.04, but the display stays dark.
I set up the card with Raspberry Pi Imager. In the customization settings I configured a privileged ...
2
votes
1
answer
250
views
Pi Imager 1.8.5 working differently - WPA supplicant not running?
About a month ago I reinstalled an RPi 4B with Ubuntu server 24.04.1 LTS. Today I did the exact same thing with a Zero 2 W. I used the customizing feature of the Pi Imager with the same settings.
I ...
0
votes
1
answer
82
views
Reactivate monitor without keyboard / mouse
My setup:
Raspberry Pi 5 with Ubuntu 24.04 installed
Monitor: https://www.waveshare.com/wiki/7inch_HDMI_LCD_(H)_(with_case)#Working_with_Raspberry_Pi
I changed the /boot/config.txt according to the ...
1
vote
0
answers
136
views
RTSP 1080p Gstreamer player on Raspberry Pi 4
I am trying to run on a raspberry 4B a RTSP H264 1080p stream.
I first tested the file locally on the Raspberry Pi 4.
gst-launch-1.0 filesrc location=test.mp4 ! qtdemux name=demux demux.video_0 ! ...
0
votes
0
answers
207
views
Raspberry Pi 5 corrupting external SSD data
Setup
I have a Raspberry Pi 5 8GB, with the official active cooler, powered by the official 5A power supply. It's running Ubuntu 24.04 64-bit. I have quite a few devices connected to it: a 2.5 Gbps ...
1
vote
1
answer
691
views
How To Setup Pi Camera Livestreaming with ROS2 Humble on Ubuntu 22.04
I am trying to integrate a raspberry pi camera into my robotic platform running on ROS2 Humble Hawksbill on Ubuntu 22.04. It works fine with all of the built in libraries on the default raspberry pi ...
0
votes
0
answers
322
views
Raspberry Pi 5 (Ubuntu) : SSH works intermittently
I run Ubuntu Server on my Raspberry Pi 5, headless install. I always access it by running ssh username@IP_Address.
Sometimes it works flawlessly and I am able to connect to the Pi. However, once I ...
-1
votes
2
answers
728
views
Raspberry Pi 4B and Ubuntu 22.04 GPIO
I am running Ubuntu 22.04LTS in order to use ROS-humble on my RPi, however I am running into some issues. How do I configure the GPIO pins and also is there some things that I should note. I plan on ...
1
vote
1
answer
133
views
Question about permissions
I have installed Ubuntu 23.10 64 bit on a Pi5.
Most things seem OK but I wanted to have pinctrl, so I copied it from Pi4 Bookworm.
Somewhat surprisingly it worked without needing to be recompiled but ...
-1
votes
1
answer
1k
views
Raspberry Pi 5 with Ubuntu 23.10 doesn't connect via Ethernet cable
I've installed Ubuntu 23.10 on Micro SD via Raspberry Pi Imager.
To be 100% clear: in the Raspberry Pi Imager v1.8.5, I have clicked at (in the given order) 'Choose OS' > 'Other general-purpose ...
-2
votes
1
answer
311
views
How to solve "RuntimeError: No access to /dev/mem. Try running as root!" to use RPi.GPIO on my RPI PI 5 and tensowflow installation problems
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setup(18,GPIO.OUT)
print("LED on")
GPIO.output(18,GPIO.HIGH)
time.sleep(1)
print ("LED off")
GPIO.output(18,GPIO.LOW)...
0
votes
1
answer
2k
views
Raspberry Pi 5 and Official 7" Touchscreen Blank with Ubuntu
I got the Raspberry Pi 5 recently and got the latest version of Ubuntu running on it flawlessly (when hooked up to a monitor via the mini HDMI port).
I then got the official 7" touchscreen ...
-1
votes
1
answer
196
views
Docker Image with audio acess not working, wrong output device
I am running a Raspberry Pi 4 with Ubuntu 22.04 connected to an Elecrow 7inch LCD Display-H 1024x600 that has an audio jack for headsets and comes with two speakers.
I am trying to setup a docker ...
0
votes
1
answer
50
views
Can you use/interchange the same Ubuntu Desktop 23.10 sd-card in a Raspberry Pi 4 and a Raspberry Pi 5?
I have both a Raspberry Pi 4 and a Raspberry Pi 5, and I am wondering if it is safe and successful to use a Ubuntu Desktop 23.10 formatted SD-Card between the two (ie. use it in the rpi4 for a while, ...
1
vote
2
answers
372
views
RPI-Imager Unable to Download OS List
I've downloaded the Raspberry Pi Imager for Ubuntu and attempted to run it with rpi-imager. This gives the folllowing output:
qt.network.ssl: QSslSocket: cannot resolve SSL_get1_peer_certificate
qt....
0
votes
1
answer
215
views
Pi Zero 2 - Ubuntu Server 23.10 - HDMI doesn't work on TV
I have a device all setup and it works on my AOC monitor, however when I connect the device to a TV or projector I see the first few seconds of terminal output as ubuntu boots up, then the screen cuts ...
-1
votes
1
answer
156
views
PyQt5 Widget Background Color Incorrect on my Pi
I have searched high and low for this problem, but cannot find anything anywhere.
I have Python Version 3.8.10 and PyQt5 version 5.15.10 running in a Virtual Environment on my Py4 with 8Gb Memory ...
0
votes
0
answers
234
views
Why is digitalRead/digitalWrite not working in C++ nor in gpio terminal commands?
I'm writing in C++ using WiringPi to integrate with GPIO but it doesn't seem to work during runtime.
Below I have a simple example of an output wired to an input expecting the input to read HIGH, but ...
0
votes
0
answers
195
views
Kernel Driver Problems
Background
I have a KVM that works with a custom Gaming PC, the last generation of Intel 16-inch MacBook Pro, a Pi4 B 8GB and an empty port for whatever I can think of next. The wireless in my house ...
0
votes
1
answer
1k
views
Camera Module 3 / PiCamera not working on Ubuntu Raspberry Pi
I have a Raspberry pi 4B with Ubuntu, and I’m trying to use my camera module 3 with python (I’ve tested the code with Raspberry Pi OS, so I know it’s right) using PiCamera and in a virtual environment ...
0
votes
1
answer
171
views
Raspberry Pi won't boot after update Ubuntu Mate
Updated Ubuntu Mate on RPi 4 8GB. It rebooted and ran.
Subsequent boots fail with messages:
Initramfs unpacking failed: Invalid magic at start of compressed archive
spi=bcm 2835 fc204000.spi could not ...
-2
votes
1
answer
1k
views
Black screen when booting up raspberry pi
I use a 4GB raspberry pi 4B. Recently, I switched to Ubuntu, and it had been working fine, until one day, I booted it up and the screen was black. Sometimes a glitched Ubuntu loading screen appears ...
1
vote
1
answer
333
views
Qt6 compiler binary package
I'm aware I can cross-compile Qt6 on my dev machine or I can build the Qt6 from sources directly on the Rapsberry Pi.
But is there any binary package for the compiler? Like when you use the online ...
-1
votes
1
answer
802
views
Ubuntu Server 20.04 on Raspberry Pi 4 error: "kernel: ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -52" How to fix?
I am running Ubuntu Server 20.04 on a Raspberry Pi 4. In my system logs I am getting the followng error:
kernel: ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -52
What does this ...
0
votes
0
answers
409
views
cloud-init fails on adding user
I'm trying to install Ubuntu Server (64-bit) on a Raspberry PI 4B. I've created an image with the Raspberry Pi Imager, with a user/password and SSH enabled. The cloud-init script fails when trying to ...
1
vote
0
answers
1k
views
Updating RaspberryPi Ubuntu Server 20.04 to 22.04 caused usercfg.txt to not be honored
I asked on askUbuntu a while back but didn't get much traction... should have known there was a stack for Raspi...
So I've been putting my HMDI output configuration in /boot/firmware/usercfg.txt
...
0
votes
2
answers
768
views
Failure when trying to run MongoDB on Raspberry Pi 3 B & Ubuntu 23.04
I am trying to install & run MongoDB on my Raspberry Pi 3 B running Ubuntu.
After installing and trying to start it, I get this status:
srv_user@raspserver:~$ sudo systemctl start mongod
srv_user@...
1
vote
0
answers
886
views
More Mistakes at RPI3 + Ubuntu Server 23.04
Yet again, a new error.
After a fresh install of Raspberry Pi 3B + Ubuntu Server 23.04, immediately after successfully changing the SSH password, following this documentation, under these specific ...
1
vote
1
answer
1k
views
Raspberry Pi Imager can't use Ubuntu Server Image
With the Raspberry Pi 3B, Raspberry Pi Imager, Ubuntu Server 64bit 23.04, for writing the SD card image, I tried the following Imager options:
At Image Customization Options Tried:
No configuration ...
-1
votes
1
answer
101
views
Raspberry Pi 3B cannot connect to wifi
I was trying to connect to wifi from my RPI3 running Ubuntu 22 server.
This is my conf file
/etc/wpa_supplicant/wpa_supplicant.conf
Ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
...
0
votes
1
answer
2k
views
rpi-imager not working in ubuntu 22.04.2 LTS x86
I want to use rpi-imager in ubuntu
sudo -i
apt update
apt install rpi-imager
rpi-imager
but it couldn't work.The log is:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
...
0
votes
1
answer
38
views
Running ubuntu -headless- on early PiB
I am tinkering around with an old PiB
It's currently running - no GUI - under Buster
Can I get it running headless with ubuntu?
(I am using ubuntu headless on a couple or more recent Pi's and would ...
2
votes
0
answers
287
views
Can hardware decoding of h.264 be enabled in Kodi on Ubuntu?
Running Ubuntu 23.04 (and previously 22.10) on a Pi 4 doesn't seem to allow me to hardware decode h.264 in Kodi from Debian from the Ubuntu repo. I draw this conclusion from the Video decoder: f-h264 (...
0
votes
0
answers
381
views
Raspberry Pi 4 Ubuntu won’t connect to wifi
Flashed on Raspberry Pi OS, and I couldn’t connect to the internet by any graphical or terminal means, so I tried Ubuntu but I get the same results. I got this PI less than a year ago and have barely ...
1
vote
0
answers
175
views
Rotate screen and touch overlay on ViewSonic LD2455 connected to raspberry pi 4b running ubuntu 5.19.0-1015-raspi
I would like to rotate the screen and touch overlay on my ViewSonic TD2455 connected to a Raspberry Pi 4b (4GB) running Ubuntu raspi 22.04 5.19.0-1015-raspi aarch64.
I have tried all the usual ...
1
vote
0
answers
213
views
I cannot locate /var/lib/mlocate.db
I have Ubuntu 22.04.2 LTS installed on my Raspberry Pi and I try to locate the file /var/lib/mlocate.db but I cannot find it.
I installed locate package.
It's because I'm doing an online course from ...
1
vote
0
answers
350
views
Cubic Ubuntu virtual environment not working
When I try using Cubic Ubuntu to make a custom image of Ubuntu, I put in the ISO file, rename some things here and there, and click next. After it copies some stuff and does its thing, it tries to ...
1
vote
1
answer
112
views
DS18B20 not showing up Pi 400
I have a raspberry pi 400 running ubuntu server.
I have a DS18B20 with a 4.7k resistor connected from the power to the data wire.
I boot up the pi and run the sudo modprobe w1-gpio and sudo modprobe ...
2
votes
0
answers
672
views
RPi Camera V2 not detected with Raspberry Pi4 running Ubuntu 20.05 LTS
I am running into a problem in which I am unable to have my Pi detect my new RPi Camera V2. I am running on Ubuntu 20.04 LTS (focal) since I am working on a robotics project that requires ROS2(foxy).
...
1
vote
0
answers
449
views
BOOT Error: end Kernel panic - not syncing: No working init found. Try passing init= option to kernel
I did sudo halt and then power off the raspberry pi, then power off. And the next time I power on the pi, I can't boot the system anymore, and got this error.
I successfully run the commands fsck -y /...
1
vote
1
answer
573
views
Raspberry Pi 4B Ubuntu 22.10 Bluetooth scan successful but fail to pair
My mouse stopped working a few days ago and is unable to work since then.
I tried but fail to pair it again through either Terminal or Settings > Bluetooth. The Bluetooth right now is able to ...
1
vote
1
answer
540
views
How to install Ubuntu Desktop 22.04.1 LTS on external SSD? [duplicate]
I downloaded Ubuntu Desktop 22.04.1 LTS from https://ubuntu.com/download/raspberry-pi and copied image to external SSD using Raspberry Pi Imager.
When I power Raspberry Pi 4 (2GB), I see rainbow and ...