Questions tagged [ubuntu]
Ubuntu is a Linux operating system derived from the Debian distribution.
590
questions
0
votes
0
answers
5
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
15
views
Raspberry Pi Zero 2 W: Boot from USB in Ubuntu Server (latest & any version)
How can I setup my Raspberry Pi Zero 2 W to boot from USB in Ubuntu Server Linux distributions. I am looking for a solution that applies to all supported versions of Ubuntu Server, latest and below.
...
0
votes
0
answers
24
views
Can't connect to the INTERNET on a new and fresh install of Ubuntu Server 23.10
After a week of trial and error, Ubuntu Server 23.10 is FINALLY running on my Pi. FRESH install!
The device is a Pi Zero 2 W, and the OS is currently running in loopback mode. It is unable to get ...
0
votes
0
answers
22
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
18
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
165
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
229
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
0
answers
13
views
Xscreensaver loads over Brave Browser running videos
I'm running Ubuntu over ARM (RPi4), and I have XScreenSaver installed.
The screensaver loads while Brave Browser plays Youtube videos, though. It doesn't load while VLC is running videos.
XScreenSaver'...
0
votes
1
answer
47
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 ...
-1
votes
1
answer
54
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
90
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 ...
0
votes
0
answers
44
views
Ubuntu 20.04 Raspberry Pi error "vc_sm_cma: module verification failed: signature and/or required key missing - tainting kernel" How to fix?
I am running Ubuntu Server 20.04 on Raspberry Pi 4. In my /var/log/kern.log file I am getting the following messages:
vc_sm_cma: module verification failed: signature and/or required key missing - ...
0
votes
1
answer
97
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
116
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
140
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
0
answers
63
views
Export/import dmabuf
I wanted to ask do I need extra modifications for kernel I am running (it's a Ubuntu 22 desktop). Essentially, I have logic that exports and import (in another process) dmabuf of a opengl texture. ...
0
votes
0
answers
80
views
Freenove Camera not able to interface with Raspberry pi 4 + Ubuntu 20.04 LTS
I am trying to work on a project where I want to use ROS. However, I found that for using ROS Noetic, I will need to install Ubuntu 20.04 on my Raspberry pi 4. Now, I bought a camera module (Freenove ...
0
votes
2
answers
177
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
636
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 ...
0
votes
1
answer
197
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
28
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
239
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
19
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 ...
0
votes
1
answer
111
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
161
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
149
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
78
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
54
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
142
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
62
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
372
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
197
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
277
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
301
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
79
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 ...
2
votes
1
answer
77
views
Raspberry Pi Imager for Standard User
I am helping design a lab at school where the students of the class will image their own Raspberry Pis. Right now there are only 20 students in the pilot class, but I will soon need to scale this to ~...
-1
votes
1
answer
485
views
SSH into Raspberry Pi Running Ubuntu 22.04 Server LTS
I managed to flash Ubuntu 22.04 LTS Server on a 32 GB SD card using RasPi Imager where I also configured my WLAN. I then connect the RasPi's Micro USB to the USB port of my Linux machine and I was ...
1
vote
0
answers
90
views
SD card slow on raspberry pi 3b, identical card is fast on nanopi r4s [closed]
I have a Raspberry Pi 3B and a NanoPi r4s. I bought identical SD cards for them -- high endurance cards by Gigastone. The rpi is running Ubuntu Server 22.10 and the nanopi is running Armbian 22.11.1....
1
vote
0
answers
59
views
Rasberry Pi 4 Nextcloud Sever goes down and stops responding to SSH after a while ping still works
My Rasberry Pi 4 running my Nextcloud Server sometimes just stops responding to everything except pings after a while, force rebooting it (disconnecting and reconnecting the power) temporarily fixes ...
1
vote
0
answers
20
views
Remember site permissions
I have a javascript page on a website that needs access to a USB port on the PI.
When I open the page I can grant permission to the site to access the USB port.
But the browser does not remember that ...
1
vote
0
answers
32
views
wine: cannot find L"/home/lubuntu/.wine/drive_c/windows/Neko"
I am an unexperienced Linux user. I am trying to run an exe file in wine on live usb lubuntu 22.04 The problem is that when I try to run it from terminal by pasting the destination along with the ...
0
votes
2
answers
108
views
pin state after shutdown
i am on Ubuntu 20.04 on RPI4.
I am driving a 4 PWM motor driver using PWM on pins 22,23,26,27.
When i turn off the raspberry, the driver being still powered, go off.
I suppose some of this pins change ...
0
votes
1
answer
233
views
How to connect to rpi 4 without home network via Wifi adapter
I have a Rpi 4 (Ubuntu 20.04.5) and a desktop (Windows 11).
On the desktop, I have a wifi adapter.
How can connect to RPI via ssh without wifi home network? I don't need the RPI to have access to the ...
0
votes
1
answer
551
views
Raspberry Pi Pico not mounting
My raspberry pi pico has been (auto) mounting fine so far but suddenly it has stopped doing so.
More specifically, when I was plugging it into the usb port (pushing down BOOTSEL) of an Ubuntu machine (...
0
votes
0
answers
139
views
Getting a "error creating userdata cloudinit file on FAT partition" on Rpi Imager while writing ubuntu server
trying to write a UBUNTU SERVER 22.04.01 for a raspberry PI 400 but it is always giving this error regardless of what SD card I use.
Steps:
Launch Rpi Imager
Select General OS -> Ubuntu -> ...
0
votes
0
answers
204
views
Why can my Pi not "detect" my 3D printer, but my laptop can?
Printer mainboard: BTT SKR mini E3 V3.0 running klipper firmware
https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3
Long story short, I accidentally powered on my 3D printer while unplugging the ...
0
votes
0
answers
158
views
Unable to connect more than one device on raspberry pi 4 hotspot
I am trying to configure raspberry pi wifi module as AP and client at the same time on same wlan0 interface using Access point as WiFi router/repeater, optional with bridge this tutorial, the problem ...
0
votes
0
answers
105
views
Internet connection problem with second (USB to) Ethernet adapter
we have Raspberry Pi CM4 with Ubuntu. On board ethernet adapter (eth0) is connected to internet and USB to ethernet adapter (eth1) connected a device with a static ip.
When we plug the eth1 internet ...
1
vote
1
answer
2k
views
Change netplan wifi encrypted password
I installed ubuntu using "Raspberry Pi Imager" in my raspberry pi.
Using Raspberry Pi Imager, I configured wifi to connect with.
Now after properly booting, when I check in my raspberry pi /...
1
vote
0
answers
209
views
What actions modify u-boot environment variables?
Update 2022-10-11: Regarding the Adafruit Ultimate GPS HAT, in Ubuntu 22.04 LTS it works right out of the box on a Raspberry Pi 4. Maybe using Ubuntu 22.04 LTS on a Raspberry Pi 3 also has the same ...