Questions tagged [ubuntu]
Ubuntu is a Linux operating system derived from the Debian distribution.
586 questions
0
votes
0
answers
16
views
Issue with WiFi and Ethernet after Installing a Library on Raspberry Pi 4 with Ubuntu 20.04
I recently installed a library on my Raspberry Pi 4 running Ubuntu 20.04. After rebooting the system, I lost access to WiFi, and the WiFi option has disappeared from the settings menu. I also tried ...
1
vote
1
answer
31
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
42
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
76
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 ...
0
votes
0
answers
23
views
raspberry pi does not boot when UART(RX/TX) connected via serial
I am using ubuntu 20.04 server LTS on raspberry 4. I have pixhawk flight controller connected via TX/RX on raspberry pi GPIO14(TXD) GPIO15(RXD).I write a mavproxy.service to forward telemetry data to ...
0
votes
0
answers
126
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
148
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 ...
0
votes
0
answers
48
views
Why my Raspberry, goes offline, after wifi router internet cable is unplugged
Situation looks as follow:
I have my raspberry pi connected to the wifi network. I have internet access from raspberry.
I have my laptop with Ubuntu 21 in the same wifi network. I have internet ...
0
votes
0
answers
75
views
SSH hanging with Raspberry Pi
I have a RaspberryPi Model 3A+, with the Raspbian OS installed. I am trying to SSH from my laptop, into my Pi over my LAN.
Initially I encountered no issues. I could ssh in fine, execute commands, etc....
-1
votes
2
answers
281
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
0
answers
33
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
595
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
192
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
0
answers
53
views
Failed Kasm Workspace installation on Ubuntu Server 23.10 LTS On raspberry pi 4 7895Mib of memory
I was trying to install Kasm Workspace on Ubuntu Server 23.10 LTS and I received this error:
Setting Seed file as /opt/kasm/1.10.0/conf/database/seed_data/default_properties.yaml
yaml: unmarshal ...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
98
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
0
answers
36
views
Different printing behavior of Raspberry vs Ubuntu using a Dymo LabelWriter and a PostScript file
I'm defining a PostScript file as a template to then use it as a base to print labels. For this I was using my Ubuntu desktop, but when I tried to print the same PostScript file on the Raspberry, I ...
0
votes
1
answer
35
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
154
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
166
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 ...
0
votes
0
answers
77
views
Dual Monitor on Raspberry Pi4 running Ubuntu 23.1 and KDE Plasma
I have a Pi4 which refuses to display two monitors using Ubuntu 23.10 and KDE Plasma
The same Pi shows the 2 monitors using Ubuntu Mate Desktop.
I am switching to KDE because I want to use PyQt5 not ...
0
votes
1
answer
70
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
135
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
92
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
0
answers
977
views
XRDP Fullscreen Lag on Ubuntu 22.04.3 (aarch64) with Raspberry Pi 4
I am currently using a Raspberry Pi 4 running Ubuntu 22.04.3 LTS (aarch64). I have been able to successfully connect via XRDP from a Windows 10 machine (Session: Xorg), and the speed is well... ...
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
114
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
932
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 ...
0
votes
1
answer
256
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
521
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
334
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
900
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
3
answers
562
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
861
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
802
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
67
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
1k
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
21
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 ...
-1
votes
1
answer
230
views
How to install Ubuntu server to Raspberry Pi 2 using BTRFS?
I would like to install a Ubuntu server to my Raspi 2's SD CARD, but using btrfs file system.
The preinstalled Ubuntu images do not help in this case, how would you do this?
1
vote
0
answers
226
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
310
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
144
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
178
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
276
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
83
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
618
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
359
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 /...
2
votes
1
answer
499
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
482
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 ...
1
vote
0
answers
151
views
Sense hat IMU not working on Ubuntu 22.10
I am trying to use the Sense Hat with Ubuntu 22.10, and I've installed the Python SenseHat library. The matrix display is working, but not the IMU.
What I've diagnosed so far:
$ groups
joachim ...