Pro issue with LTS version https://askubuntu.com/questions/1567484/pro-issue-with-lts-version

I believe this is an issue. My 26.04 LTS says it not available for this Pro LTS version.

enter image description here

How to set up windows to have fixed positions in GNOME/Wayland? https://askubuntu.com/questions/1567483/how-to-set-up-windows-to-have-fixed-positions-in-gnome-wayland

There are similar questions (e.g. this one), but solutions for Wayland will be different than for X11, for example because in Wayland one app cannot modify another app's window geometry.

Here is what I would like to achieve:

  • open a file in a terminal with nvim (or another text editor)
  • place it on the given position on the screen with the given size.
  • cherry on top: always on the same workspace

Always the same for the given terminal + file combination. How do you do that? Can it be done?

(rationale: I always have two files with a kind of general log / todo opened on one of the workspaces)

One solution that I came up with was to have a single full size terminal and then do the "window management" from within nvim. But it is uglier, I would prefer two separate terminals.

Invalid autoinstall file https://askubuntu.com/questions/1567482/invalid-autoinstall-file

I am trying to install Ubuntu 26.04 Desktop using an autoinstall file (autoinstall.yaml). I boot the installer from a Ventoy SSD Drive. Ventoy SSD > Laptop NVMe

I started with a working autoinstall file that was generated during a successful installation and stored under /var/log/installer/. (I got the idea for this approach from the following Ask Ubuntu answer:Ubuntu 20.04 autoinstallation LUKS)

I am now trying to make this file more generic so that I can reuse it on different laptops. This worked fine so far, but I am now having trouble with the storage section.

This storage configuration works:

storage:
  config:
    - transport: pcie
      preserve: true
      id: nvme-controller-nvme0
      type: nvme_controller
    - ptable: gpt
      nvme_controller: nvme-controller-nvme0
      path: /dev/nvme0n1
      wipe: superblock-recursive
      preserve: false
      name: ''
      grub_device: false
      id: disk-nvme0n1
      type: disk
    - device: disk-nvme0n1
      size: 1127219200
      wipe: superblock
      flag: boot
      number: 1
      preserve: false
      grub_device: true
      offset: 1048576
      path: /dev/nvme0n1p1
      id: partition-0
      type: partition
    - fstype: fat32
      volume: partition-0
      preserve: false
      id: format-0
      type: format
    - device: disk-nvme0n1
      size: 510980521984
      wipe: superblock
      number: 2
      preserve: false
      offset: 1128267776
      path: /dev/nvme0n1p2
      id: partition-1
      type: partition
    - fstype: ext4
      volume: partition-1
      preserve: false
      id: format-1
      type: format
    - path: /
      device: format-1
      id: mount-1
      type: mount
    - path: /boot/efi
      device: format-0
      id: mount-0
      type: mount

However, this simplified storage configuration does not work:

storage:
  layout:
    name: lvm
    sizing-policy: all
    password: "test"
    match:
      size: smallest

The installer UI only shows that the autoinstall file is invalid, but it does not give me a detailed reason. UI massage

My questions are:

  1. Is there a log file on the target machine where I can see why the autoinstall file is considered invalid?
  2. Is there something wrong with my storage.layout syntax?
  3. What would be the recommended way to create a generic storage configuration for laptops where I want to use LVM with full-disk encryption?

Any hints would be appreciated.

Keyboard and mouse stops working after awakening my computer https://askubuntu.com/questions/1567479/keyboard-and-mouse-stops-working-after-awakening-my-computer

Lately my desktop computer has had issues with regards to the keyboard and mouse not working when awakening my computer from its sleep forcing me to disconnect the keyboard and mouse usb in order for it to work.

This doesn't always happen to be the case, but its happening too frequently that I need to address it.

An odd glitch, but surely there's a recommendation on what to do here. Your thoughts?

How to use the Raspicam on a Raspberry Pi 4B with Ubuntu 24 Server https://askubuntu.com/questions/1567475/how-to-use-the-raspicam-on-a-raspberry-pi-4b-with-ubuntu-24-server

enter image description here

I'm encountering difficulties running the Raspicam on Ubuntu 24S

I got the raspicam working by compiling libcamera from source, then using MJPG webserver streaming. latency is good at less than 150ms but is CPU heavy. it's 350mA idle, and 700mA when streaming.. So ?m sure the pipeline can work.

I ought to be using the hardware h264 encoder and stream h264

I attempted to do it with OpenCV. My plan is to use the V4L2 linux driver without libcamera, and open the media sources with opencv. Get a stream from /dev/video0 feed it to the transcoder /dev/video10 take the frames and send the stream this way.

(.venv) sona@rpi4-orso-sdbh:~/HowTo-Ubuntu24S-Raspicam-Webserver-Streaming$ v4l2-ctl --list-devices
bcm2835-codec-decode (platform:bcm2835-codec):
        /dev/video10
        /dev/video11
        /dev/video12
        /dev/video18
        /dev/video31
        /dev/media3

bcm2835-isp (platform:bcm2835-isp):
        /dev/video13
        /dev/video14
        /dev/video15
        /dev/video16
        /dev/video20
        /dev/video21
        /dev/video22
        /dev/video23
        /dev/media1
        /dev/media4

unicam (platform:fe801000.csi):
        /dev/video0
        /dev/media2

rpivid (platform:rpivid):
        /dev/video19
        /dev/media0

OpenCV does open the camera, but I only get black frames, and I don't understand why...

"""
uv pip install opencv-python-headless
python demo-opencv-snap-still.py
"""

import subprocess
import cv2
import numpy as np

DEVICE = "/dev/video0"
#DEVICE = "/dev/media0"
NUM_FRAMES = 10

print(f"\n=== Inspecting {DEVICE} ===\n")

# --- 1. Device info ---------------------------------------------------------
def print_device_info(dev):
    print("Device info:")
    try:
        out = subprocess.check_output(
            ["v4l2-ctl", "-d", dev, "--info"],
            stderr=subprocess.STDOUT
        ).decode()
        print(out)
    except Exception as e:
        print("  Could not read device info:", e)

# --- 2. Supported resolutions -----------------------------------------------
def print_resolutions(dev):
    print("Supported formats & resolutions:")
    try:
        out = subprocess.check_output(
            ["v4l2-ctl", "-d", dev, "--list-formats-ext"],
            stderr=subprocess.STDOUT
        ).decode()
        print(out)
    except Exception as e:
        print("  Could not list resolutions:", e)

# --- 3. OpenCV capture + brightness test ------------------------------------
def test_capture(dev):
    print(f"\nOpening {dev} with OpenCV...\n")
    cap = cv2.VideoCapture(dev)

    if not cap.isOpened():
        print("ERROR: OpenCV cannot open device")
        return

    # --- Show what OpenCV actually selected ---
    w = cap.get(cv2.CAP_PROP_FRAME_WIDTH)
    h = cap.get(cv2.CAP_PROP_FRAME_HEIGHT)
    fourcc = int(cap.get(cv2.CAP_PROP_FOURCC))
    fmt = "".join([chr((fourcc >> 8*i) & 0xFF) for i in range(4)])

    print(f"OpenCV selected resolution: {int(w)}x{int(h)}")
    print(f"OpenCV selected pixel format: {fmt}")

    brightness_values = []
    last_frame = None

    for i in range(NUM_FRAMES):
        ret, frame = cap.read()
        if not ret:
            print(f"Frame {i}: FAILED")
            continue

        print("Frame shape:", frame.shape, "dtype:", frame.dtype)
        print("First 32 bytes:", frame.flatten()[:32])


        last_frame = frame

        gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
        brightness = float(np.mean(gray))
        brightness_values.append(brightness)

        print(f"Frame {i}: brightness={brightness:.2f}")

    cap.release()

    if brightness_values:
        avg = sum(brightness_values) / len(brightness_values)
        print(f"\nAverage brightness: {avg:.2f}")
    else:
        print("No valid frames captured.")

    if last_frame is not None:
        cv2.imwrite("test.jpg", last_frame)
        print("Saved test.jpg")


# --- Run all diagnostics ----------------------------------------------------
print_device_info(DEVICE)
print_resolutions(DEVICE)
test_capture(DEVICE)
(.venv) sona@rpi4-orso-sdbh:~/HowTo-Ubuntu24S-Raspicam-Webserver-Streaming$ python demo-opencv-snap-still.py

=== Inspecting /dev/video0 ===

Device info:
Driver Info:
        Driver name      : unicam
        Card type        : unicam
        Bus info         : platform:fe801000.csi
        Driver version   : 6.8.12
        Capabilities     : 0xa5a00001
                Video Capture
                Metadata Capture
                I/O MC
                Read/Write
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps      : 0x25200001
                Video Capture
                I/O MC
                Read/Write
                Streaming
                Extended Pix Format
Media Driver Info:
        Driver name      : unicam
        Model            : unicam
        Serial           : 
        Bus info         : platform:fe801000.csi
        Media version    : 6.8.12
        Hardware revision: 0x00000000 (0)
        Driver version   : 6.8.12
Interface Info:
        ID               : 0x03000005
        Type             : V4L Video
Entity Info:
        ID               : 0x00000003 (3)
        Name             : unicam-image
        Function         : V4L2 I/O
        Flags            : default
        Pad 0x01000004   : 0: Sink
          Link 0x02000007: from remote pad 0x1000002 of entity 'imx219 10-0010' (Camera Sensor): Data, Enabled, Immutable

Supported formats & resolutions:
ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture

        [0]: 'YUYV' (YUYV 4:2:2)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [1]: 'UYVY' (UYVY 4:2:2)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [2]: 'YVYU' (YVYU 4:2:2)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [3]: 'VYUY' (VYUY 4:2:2)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [4]: 'RGBP' (16-bit RGB 5-6-5)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [5]: 'RGBR' (16-bit RGB 5-6-5 BE)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [6]: 'RGBO' (16-bit A/XRGB 1-5-5-5)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [7]: 'RGBQ' (16-bit A/XRGB 1-5-5-5 BE)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [8]: 'RGB3' (24-bit RGB 8-8-8)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [9]: 'BGR3' (24-bit BGR 8-8-8)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [10]: 'RGB4' (32-bit A/XRGB 8-8-8-8)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [11]: 'BA81' (8-bit Bayer BGBG/GRGR)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [12]: 'GBRG' (8-bit Bayer GBGB/RGRG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [13]: 'GRBG' (8-bit Bayer GRGR/BGBG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [14]: 'RGGB' (8-bit Bayer RGRG/GBGB)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [15]: 'pBAA' (10-bit Bayer BGBG/GRGR Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [16]: 'BG10' (10-bit Bayer BGBG/GRGR)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [17]: 'pGAA' (10-bit Bayer GBGB/RGRG Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [18]: 'GB10' (10-bit Bayer GBGB/RGRG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [19]: 'pgAA' (10-bit Bayer GRGR/BGBG Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [20]: 'BA10' (10-bit Bayer GRGR/BGBG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [21]: 'pRAA' (10-bit Bayer RGRG/GBGB Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [22]: 'RG10' (10-bit Bayer RGRG/GBGB)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [23]: 'pBCC' (12-bit Bayer BGBG/GRGR Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [24]: 'BG12' (12-bit Bayer BGBG/GRGR)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [25]: 'pGCC' (12-bit Bayer GBGB/RGRG Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [26]: 'GB12' (12-bit Bayer GBGB/RGRG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [27]: 'pgCC' (12-bit Bayer GRGR/BGBG Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [28]: 'BA12' (12-bit Bayer GRGR/BGBG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [29]: 'pRCC' (12-bit Bayer RGRG/GBGB Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [30]: 'RG12' (12-bit Bayer RGRG/GBGB)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [31]: 'pBEE' (14-bit Bayer BGBG/GRGR Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [32]: 'BG14' (14-bit Bayer BGBG/GRGR)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [33]: 'pGEE' (14-bit Bayer GBGB/RGRG Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [34]: 'GB14' (14-bit Bayer GBGB/RGRG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [35]: 'pgEE' (14-bit Bayer GRGR/BGBG Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [36]: 'GR14' (14-bit Bayer GRGR/BGBG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [37]: 'pREE' (14-bit Bayer RGRG/GBGB Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [38]: 'RG14' (14-bit Bayer RGRG/GBGB)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [39]: 'BYR2' (16-bit Bayer BGBG/GRGR)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [40]: 'GB16' (16-bit Bayer GBGB/RGRG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [41]: 'GR16' (16-bit Bayer GRGR/BGBG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [42]: 'RG16' (16-bit Bayer RGRG/GBGB)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [43]: 'GREY' (8-bit Greyscale)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [44]: 'Y10P' (10-bit Greyscale (MIPI Packed))
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [45]: 'Y10 ' (10-bit Greyscale)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [46]: 'Y12P' (12-bit Greyscale (MIPI Packed))
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [47]: 'Y12 ' (12-bit Greyscale)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [48]: 'Y14P' (14-bit Greyscale (MIPI Packed))
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [49]: 'Y14 ' (14-bit Greyscale)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [50]: 'Y16 ' (16-bit Greyscale)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1


Opening /dev/video0 with OpenCV...

Frame 0: brightness=0.00
Frame 1: brightness=0.00
Frame 2: brightness=0.00
Frame 3: brightness=0.00
Frame 4: brightness=0.00
Frame 5: brightness=0.00
Frame 6: brightness=0.00
Frame 7: brightness=0.00
Frame 8: brightness=0.00
Frame 9: brightness=0.00

Average brightness: 0.00
Saved test.jpg

I added some diagnostics, and it seems to be imx219 V4L2 but I only grab black, and I don't understand why.

I'd like help understand what I'm doing wrong here.

Laptop does not shut down when powering off https://askubuntu.com/questions/1567474/laptop-does-not-shut-down-when-powering-off

My laptop does not completely shut down when powering off, both with poweroff/shutdown in terminal or clicking power off -> power off in the top right corner of the screen.

I have to force shut down by holding down the power button.

OS: Ubuntu 24.04.4 LTS

Model: Lenovo ThinkPad T460s

This issue might be related to the issue I'm having with the machine not waking up from suspend.

Production GUI recommendation for Ubuntu Server 24.04 – XRDP issues causing application downtime https://askubuntu.com/questions/1567472/production-gui-recommendation-for-ubuntu-server-24-04-xrdp-issues-causing-appl

I have an Ubuntu 24.04 server running on IBM Cloud. I need a GUI environment because server startup and the application management tasks require desktop access.

I installed:

XRDP
XFCE Desktop Environment

Initially, the setup works, but after some time I experience issues where:

The XRDP session becomes unresponsive or gets stuck. When I try to reconnect, the session disconnects immediately after login. To regain access, I have to restart XRDP or terminate the user session.

The major concern is that some application servers are started from the user session. When the XRDP session is terminated or restarted, those application servers also stop, causing downtime.

This server is intended for a production deployment, so I am looking for a stable and production-ready solution.

My questions are:

  • What GUI/remote desktop solution is recommended for Ubuntu 24.04 in a production environment?

  • Is XRDP + XFCE considered reliable for long-term production use?

  • Are there known stability issues with XRDP on Ubuntu 24.04?

  • How do administrators typically provide GUI access to production Ubuntu servers?

  • Is there a way to reconnect to a broken XRDP session without terminating the session?

  • What is the recommended approach to ensure application servers continue running even if the GUI session crashes or disconnects?

AppImage not launching on double-click in Ubuntu 26.04 - FUSE2 installed but no response https://askubuntu.com/questions/1567471/appimage-not-launching-on-double-click-in-ubuntu-26-04-fuse2-installed-but-no

I am trying to run an AppImage application on Ubuntu 26.04 by double-clicking, but nothing happens.

I tried:

  • Installed libfuse2 via: sudo apt install libfuse2

  • File is executable: -rwxr-xr-x permissions confirmed

  • Ran from terminal and got this error:

    FATAL: The SUID sandbox helper binary was found, but is not configured 
    correctly. Rather than run without sandboxing I'm aborting now. You need 
    to make sure that /tmp/.mount_NovAte1L7DGY/chrome-sandbox is owned by 
    root and has mode 4755.
    

Temporary workaround:

Running with --no-sandbox flag works from terminal but double-click still does not work.

Question:

How can I make AppImage launch on double-click permanently in Ubuntu 26.04? Is this a known regression from 24.04?

System info:

  • Ubuntu 26.04

  • AppImage type: Electron/Chrome based

Laptop does not wake up from suspend https://askubuntu.com/questions/1567470/laptop-does-not-wake-up-from-suspend

My laptop does not wake up from suspend, both when closing the lid or when clicking power off -> suspend in the top right corner of the screen.

I'm aware that this has been asked a lot of times before here, but most of these threads are 10+ years old and the most common fix of editing grub didn't work for me.

I have tried adding acpi=force apm=power_off reboot=bios to /etc/default/grub and updating with sudo update-grub:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=igfx_off acpi=force apm=power_off reboot=bios"

to no avail.

OS: Ubuntu 24.04.4 LTS Model: Lenovo ThinkPad T460s

The issue might be related to the machine not powering off correctly either

Evolution 3.56 - calendar import from EWS no longer works https://askubuntu.com/questions/1567468/evolution-3-56-calendar-import-from-ews-no-longer-works

This looks like a regression, but maybe something changed and I need to configure that differently, hence my question.

In recent releases of Evolution, I no longer can import and see calendars of other users. Our mail server is Exchange, and mail works without any issues, and so does my personal calendar. The way to see the calendars of other people used to be this:

  • File -> Subscribe to folder of another user
  • Find the user, select "Calendar" or "Free / Busy as calendar", hit OK
  • Presto, the calendar appears.

When I do it now, the calendar does not appear on the left hand side. If I do it again in a session, an error message appears: "Cannot add folder, folder already exists as "N., N. - Availability" or similar. I don't see anything changed in ~/.config/evolution, though. Calendar cannot be seen. Questions:

  • is this a regression / bug, or am I doing it incorrectly?
  • how can I debug the issue?

EDIT: I first noticed this issue on Ubuntu 24.04. A fresh installation of Ubuntu 26.04 with version 3.56 of Evolution did not resolve the issue.

Intermittent Black Screen at GDM Login on Ubuntu 24.04 LTS (Slimbook PROX15-AMD / Ryzen 7 4800H) with Wayland https://askubuntu.com/questions/1567466/intermittent-black-screen-at-gdm-login-on-ubuntu-24-04-lts-slimbook-prox15-amd

Hardware & OS Specifications

  • Host: Slimbook PROX15-AMD
  • CPU: AMD Ryzen 7 4800H (16) @ 2.90 GHz
  • GPU: AMD Radeon Vega Series / Radeon Vega Mobile Series
  • Display Panel: LQ156M1JW01 (15" Built-in)
  • OS: Ubuntu 24.04.4 LTS x86_64
  • Kernel: Linux 6.8.0-generic
  • Display Server: GNOME Shell (Wayland originally, moved to Xorg)

Issue Description

After upgrading to Ubuntu 24.04 LTS, the laptop experienced intermittent black screens right at the GDM login page after entering the user password. The cursor would frequently freeze completely, or the panel backlighting would fail to turn on.

Initially, the issue was bypassed using the Ctrl + Alt + F1 shortcut to force GDM to reset the display server. This behavior was exacerbated after disabling Secure Boot to allow the Slimbook AMD Controller proprietary application to load its kernel modules and manage CPU power profiles (TDP limits).

The system logs (journalctl -b 0 -p 3) showed a clear synchronization and timing failure between GDM, GNOME Keyring, and the amdgpu driver initialization:

  • gdm3: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
  • pam_howdy: gkr-pam: unable to locate daemon control file (Note: Howdy was installed by default on this system but not actively configured or used).

Troubleshooting Steps Taken (Assisted by an AI Collaborator)

  1. Power Management MOK/Secure Boot Resolution: Disabled Secure Boot via UEFI/BIOS (F2/Del) to unlock kernel restrictions for custom power management utilities (Slimbook AMD Controller). This fixed the energy management error message successfully.

  2. System Service Cleanup:

    • Purged howdy and postfix to eliminate secondary PAM and systemd errors that delayed the initial GDM loading sequence (sudo apt purge howdy postfix).
    • Cleaned the authentication stack (sudo pam-auth-update --package).
  3. GDM Rule Adjustments: Masked GDM udev restriction rules by symlinking to /dev/null (/etc/udev/rules.d/61-gdm.rules) to bypass potential graphical fallback issues during early initialization.

  4. Kernel Parameter Tweaks (GRUB):

    • Modified /etc/default/grub to replace restrictive display core settings with a more tolerant power management argument: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash loglevel=4 amdgpu.noretry=0".
    • Executed sudo update-grub.
  5. GNOME Keyring Decoupling: Commented out the pam_gnome_keyring.so lines inside /etc/pam.d/gdm-password to prevent GNOME Keyring authentication loops from blocking the amdgpu display driver while GDM drew the session canvas.

Ubuntu 26.04 - window positions not remembered https://askubuntu.com/questions/1567465/ubuntu-26-04-window-positions-not-remembered

In Ubuntu 24.04 with GNOME / X11, the WM was pretty good at remembering window positions. After installing 26.04 with GNOME / Weyland, every time I connect to the second monitor the windows all group on the current dekstop. This is annoying to say the least, I have a carefully populated half a dozen of desktops and it really breaks my work. Windows jumping around monitors or desktops did happen sporadically in previous Ubuntu versions, but it appeared to be just buggy behavior, whereas now the behavior is utterly predictable: every time I connect to the external monitor, all windows land on the same desktop. It is a very different behavior from any problems I had on previous Ubuntu versions.

  • is this a known behavior of a) new GNOME or b) Weyland?
  • is this maybe a "feature" that can be changed with a setting somewhere (like the primary clipboard paste with third mouse button disabled by default in new GNOME)?
  • is it possible to repair the problem with a GNOME extension?

In short, can someone shed any light on the problem?

I'm new to Ubuntu. The system files are so long [duplicate] https://askubuntu.com/questions/1567464/im-new-to-ubuntu-the-system-files-are-so-long

Every time I try to download Ubuntu it takes too long. I know that Windows is a hogger which I don't like. Does turning on wifi destroy the unfinished Ubuntu download?

Help with Evolution Mail on Ubuntu 26.04 https://askubuntu.com/questions/1567462/help-with-evolution-mail-on-ubuntu-26-04

I have 2 almost identical Ubuntu 26.04 setups, one on a MacBook Air from about 2016 and another on a HP Elitebook x360 from the same year. I want to use Evolution as my email client, and I do not want to cache the emails on my local computer.

I have set up 3 search folders: Inboxes, Sent mail and Unread. I am running 3 email accounts: 2 outlook.com accounts and a Gmail account. I have set the outlook accounts using the Microsoft 365 account integration in Ubuntu and the Gmail one using the Gmail integration.

They all work on the MacBook Air, but on the HP Elitebook the sent mail folder says there are no messages in it. I have set up Evolution and the search folders identically on both machines.

Suspend fails on ThinkPad P51 after upgrade to Ubuntu 22.04 (Nvidia Quadro) https://askubuntu.com/questions/1567461/suspend-fails-on-thinkpad-p51-after-upgrade-to-ubuntu-22-04-nvidia-quadro

Problem

After upgrading from Ubuntu 20.04 to 22.04 on a ThinkPad P51 (Nvidia Quadro M1200/M2200), closing the lid or running systemctl suspend fails. The screen either gets stuck on a kernel log.

The journal shows:

nvidia-suspend.service: Main process exited, code=killed, status=9/KILL
NVRM: GPU 0000:01:00.0: PreserveVideoMemoryAllocations module parameter is set.
  System Power Management attempted without driver procfs suspend interface.
PM: pci_pm_suspend(): nv_pmops_suspend+0x0/0x30 [nvidia] returns -5
nvidia 0000:01:00.0: PM: failed to suspend async: error -5
PM: Some devices failed to suspend, or early wake event detected

Also, after closing the lid and waking it up, my screen looks like this: After suspend screen

kernel not found on boot https://askubuntu.com/questions/1567456/kernel-not-found-on-boot

When I open my machine it boots to grub menu, I have to pick advanced, then there are two kernels, if I select the kernel I want, it boots to Ubuntu, all fine.

But I have to go through this sequence each time I wish to use my computer

The problem started when Ubuntu updated kernel 6.14.0 to 6.17.0.

6.17.0 did not recognize wifi, so I followed some internet suggestions to role back to 6.14.0. Role back works fine BUT it doesn't do so automatically, I have to pick the kernel at every boot.

I've checked grub.cfg, it has only 4 lines:

0 Ubuntu

1 Advanced options for Ubuntu

2 memtest86+

3 Memory test (memtest86+x64.efi, serial console)

My machine boots with UEFI

I've tried installing a new kernel with the Mainline Kernels app, installs them but they aren't used/seen

What should I do?

My OS is Ubuntu 24.04. Screen opens to error: prohibited by secure boot policy error: bad shim signature, I bypass this by going to Ubuntu Advanced, then pick my former kernel from a list of 2 kernels displayed.

List of possibilities from `apt install` is sorted randomly on Ubuntu 26.04 https://askubuntu.com/questions/1567447/list-of-possibilities-from-apt-install-is-sorted-randomly-on-ubuntu-26-04

When I type apt install postgresql and press TAB twice, I see a list of possible packages. In Ubuntu 24.04, this list was sorted alphabetically, but now it seems to be sorted randomly.

Is there a way to configure this somewhere? Who is actually responsible for sorting the suggestions - apt or bash?


On Ubuntu 26.04:

apt install postgresql «TAB» «TAB»
Display all 122 possibilities? (y or n) «y»
postgresql-18-h3                      postgresql-18-pljs                    postgresql-client-18                  postgresql-18-http
postgresql-18-numeral                 postgresql-18-plsh                    postgresql-18-mysql-fdw               postgresql-18-mimeo
postgresql-18-asn1oid                 postgresql-18-pg-hint-plan            postgresql-doc-18                     postgresql-client
postgresql-18-rdkit                   postgresql-18-powa                    postgresql-18-pg-wait-sampling        postgresql-18-hll
postgresql-18-pg-track-settings       postgresql-all                        postgresql-18-pgtap                   postgresql-18-jit
postgresql-server-dev-all             postgresql-18-dirtyread               postgresql-18-pgrouting-scripts       postgresql-18-rational
postgresql-18-decoderbufs             postgresql-autodoc                    postgresql-18-preprepare              postgresql-18-show-plans
postgresql-18-tdigest                 postgresql-18-plpgsql-check           postgresql-18-roaringbitmap           postgresql-postgis-scripts
postgresql-18-pgfincore               postgresql-doc                        postgresql-18-auto-failover           postgresql-18-q3c
postgresql-18-toastinfo               postgresql-18-pg-catcheck             postgresql-plperl-18                  postgresql-18-plr
postgresql-18-pglogical               postgresql-plpython3-18               postgresql-18-orafce                  postgresql-18-pg-gvm
postgresql-18-pgpcre                  postgresql-18-periods                 postgresql-postgis                    postgresql-18-cron
postgresql-18-pg-permissions          postgresql-18-pldebugger              postgresql-18-pgextwlist              postgresql-18-pg-checksums
postgresql-18-partman                 postgresql-18-pg-rewrite              postgresql-common                     postgresql-18-rum
postgresql-18-credcheck               postgresql-common-dev                 postgresql-18-pgsentinel              postgresql-18-pg-ivm
postgresql-18-pg-qualstats            postgresql-comparator                 postgresql-18-semver                  postgresql-18-tablelog
postgresql-18-repack                  postgresql-18-hypopg                  postgresql-client-common              postgresql-18-plprofiler
postgresql-18-timescaledb             postgresql-18-pg-stat-plans           postgresql-pltcl-18                   postgresql-18-pgmemcache
postgresql-18-squeeze                 postgresql-18-mobilitydb              postgresql-18-pg-failover-slots       postgresql-18-pgq-node
postgresql-18-unit                    postgresql-18-jsquery                 postgresql-18-icu-ext                 postgresql-18-snakeoil
postgresql-18-pg-uuidv7               postgresql-18-pgpool2                 postgresql-18-extra-window-functions  postgresql-18-set-user
postgresql-18                         postgresql-18-pgauditlogtofile        postgresql-18-age                     postgresql-18-pgvector
postgresql-pgrouting-scripts          postgresql-server-dev-18              postgresql-18-ogr-fdw                 postgresql-18-pointcloud
postgresql-18-repmgr                  postgresql-18-pllua                   postgresql-18-londiste-sql            postgresql-18-ip4r
postgresql-18-pgmp                    postgresql-18-prefix                  postgresql-18-debversion              postgresql-18-prioritize
postgresql-18-pgq3                    postgresql-filedump                   postgresql-18-bgw-replstatus          postgresql-18-pgnodemx
postgresql-18-pgtt                    postgresql-18-postgis-3               postgresql-pgrouting                  postgresql-18-pgsphere
postgresql-18-pg-stat-kcache          postgresql-18-statviz                 postgresql-18-tds-fdw                 postgresql-18-pgaudit
postgresql-18-pgfaceting              postgresql-18-postgis-3-scripts       postgresql-18-first-last-agg          postgresql-18-similarity
postgresql-18-plproxy                 postgresql-18-documentdb              postgresql-18-pg-crash                
postgresql-18-wal2json                postgresql-18-pgrouting               postgresql

For comparison, on Ubuntu 24.04:

apt install postgresql
Display all 110 possibilities? (y or n)
postgresql                            postgresql-16-pgaudit                 postgresql-16-pldebugger              postgresql-16-tablelog
postgresql-16                         postgresql-16-pgauditlogtofile        postgresql-16-pllua                   postgresql-16-tdigest
postgresql-16-age                     postgresql-16-pg-catcheck             postgresql-16-plpgsql-check           postgresql-16-tds-fdw
postgresql-16-asn1oid                 postgresql-16-pg-checksums            postgresql-16-plprofiler              postgresql-16-toastinfo
postgresql-16-auto-failover           postgresql-16-pgextwlist              postgresql-16-plproxy                 postgresql-16-unit
postgresql-16-bgw-replstatus          postgresql-16-pg-fact-loader          postgresql-16-plr                     postgresql-16-wal2json
postgresql-16-credcheck               postgresql-16-pg-failover-slots       postgresql-16-plsh                    postgresql-all
postgresql-16-cron                    postgresql-16-pgfincore               postgresql-16-pointcloud              postgresql-autodoc
postgresql-16-debversion              postgresql-16-pg-gvm                  postgresql-16-postgis-3               postgresql-client
postgresql-16-decoderbufs             postgresql-16-pgl-ddl-deploy          postgresql-16-postgis-3-scripts       postgresql-client-16
postgresql-16-dirtyread               postgresql-16-pglogical               postgresql-16-powa                    postgresql-client-common
postgresql-16-extra-window-functions  postgresql-16-pglogical-ticker        postgresql-16-prefix                  postgresql-common
postgresql-16-first-last-agg          postgresql-16-pgmemcache              postgresql-16-preprepare              postgresql-comparator
postgresql-16-h3                      postgresql-16-pgmp                    postgresql-16-prioritize              postgresql-contrib
postgresql-16-hll                     postgresql-16-pgpcre                  postgresql-16-q3c                     postgresql-doc
postgresql-16-hypopg                  postgresql-16-pgpool2                 postgresql-16-rational                postgresql-doc-16
postgresql-16-icu-ext                 postgresql-16-pgq3                    postgresql-16-rdkit                   postgresql-filedump
postgresql-16-ip4r                    postgresql-16-pgq-node                postgresql-16-repack                  postgresql-pgrouting
postgresql-16-jsquery                 postgresql-16-pg-qualstats            postgresql-16-repmgr                  postgresql-pgrouting-scripts
postgresql-16-londiste-sql            postgresql-16-pgrouting               postgresql-16-rum                     postgresql-plperl-16
postgresql-16-mimeo                   postgresql-16-pgrouting-doc           postgresql-16-semver                  postgresql-plpython3-16
postgresql-16-mysql-fdw               postgresql-16-pgrouting-scripts       postgresql-16-set-user                postgresql-pltcl-16
postgresql-16-numeral                 postgresql-16-pgsphere                postgresql-16-show-plans              postgresql-postgis
postgresql-16-ogr-fdw                 postgresql-16-pg-stat-kcache          postgresql-16-similarity              postgresql-postgis-scripts
postgresql-16-omnidb                  postgresql-16-pgtap                   postgresql-16-slony1-2                postgresql-server-dev-16
postgresql-16-orafce                  postgresql-16-pg-track-settings       postgresql-16-snakeoil                postgresql-server-dev-all
postgresql-16-partman                 postgresql-16-pgvector                postgresql-16-squeeze                 
postgresql-16-periods                 postgresql-16-pg-wait-sampling        postgresql-16-statviz
BackupPC fails to backup Clients running Kubuntu 26.04LTS https://askubuntu.com/questions/1567415/backuppc-fails-to-backup-clients-running-kubuntu-26-04lts

I have been using BackupPC for very many years. I have 2 backup systems (belt and braces) backing up about 25 clients of various sorts all running Linux in various flavours. All the backups use rsync for the backups,

Currently both BackupPCs are Raspberry Pi5s running RaspiOS. Both have the same problem, so I think the problem lies with the Clients, not the Hosts.

BackupPC is Version 4.4.0-8
rsync_bpc version 3.1.3.0

I recently changed the OS on my PC and Laptop to Kubuntu 26.04 (previously running Gentoo with BackupPC working fine) and have the same sudo settings as before. I have no Firewall running. I picked the main command out and issued it from the command line with -vvv added and I get this:

/usr/libexec/backuppc-rsync/rsync_bpc -vvv --bpc-top-dir /var/lib/backuppc --bpc-host-name scorpio --bpc-share-name / --bpc-bkup-num 24 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 6677154 --bpc-log-level 1 --bpc-attrib-new -e /usr/bin/ssh\ -l\ backuppc --rsync-path=/usr/bin/sudo\ \ /usr/bin/rsync --super --recursive --protect-args --numeric-ids --perms --owner --group -D --times --links --hard-links --delete --delete-excluded --one-file-system --partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --stats --timeout=72000 --exclude=/proc --exclude=/dev --exclude=/cdrom --exclude=/media --exclude=/floppy --exclude=/lost+found --exclude=/sys --exclude=/tmp --exclude=\*~\* --exclude=\*.iso --exclude=/home/francis/storage --exclude=.cache --exclude=.Trash\* 10.6.10.10:/ /

opening connection using: /usr/bin/ssh -l backuppc 10.6.10.10 "/usr/bin/sudo  /usr/bin/rsync" --server --sender -svvvlHogDtprxe.iLsfxC  (8 args)
protected args: --timeout=72000 --numeric-ids . /  (4 args)
sudo: A terminal is required to authenticate
rsync_bpc: connection unexpectedly closed (0 bytes received so far) [Receiver]
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 6677154 inode
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.3.0]
[Receiver] _exit_cleanup(code=12, file=io.c, line=226): about to call exit(12)

The ssh keys work fine using the client name or the IP address. I can ssh in without a password. I can run a simple rsync command from the host to the client and rsync a folder from /etc/ from the client, no problem. I have this in my sudoers file, same as all the other clients:

backuppc  ALL=(root) NOPASSWD: /usr/bin/rsync  --server --sender *

I have also tried this simpler version:

backuppc  ALL=NOPASSWD: /usr/bin/rsync

I have disabled %admin and %sudo and have User_Alias instead, but the error is the same. What is it about Kubuntu 26.04 that can be causing this?

Need help pairing my wireless earphones with my PC https://askubuntu.com/questions/1567404/need-help-pairing-my-wireless-earphones-with-my-pc

I recently moved from Windows to Linux. I used to use Ubuntu before during the COVID lockdowns and liked it, so here I am. I bought a pair of extremely cheap but very good quality earbud, and they easily pair with my smartphone and have extremely good audio.

I wanted to pair them with my PC (at that time it used to have Windows), but was unable to even after buying a Bluetooth modem. The Bluetooth modem is also very cheap. The dongle has no issues pairing with my phone which can pair with my airpods just fine.

I tried the " ControllerMode = bredr " fix, that didn't work for me either. Can someone please help? I am struggling to understand how Bluetooth isn't able pair with my wireless earphones.

If anyone wants any additional information, it says connected but then disconnects. While it shows "connected via bluetooth" it doesn't appear on the sound tab. Basically it's the test dummy sound that's the only option for output.

My dongle's working perfectly fine with other devices. I've also got a second and a third dongle, but my earpods and PC still refuse to pair.

When I was using Windows it used to say "device did not respond" blah blah blah when I tried pairing. It used to say another thing, but I've forgotten as I've been trying to pair it for 6 hours straight.

Ubuntu 26.04 has no option for mouse acceleration on the trackpad https://askubuntu.com/questions/1567375/ubuntu-26-04-has-no-option-for-mouse-acceleration-on-the-trackpad

I have seen a number of super old questions about this with no answers. I managed to convince my company to let me use Linux, and now I'm having a really hard time using it because the pointer precision on the trackpad is horrible.

There is a setting for mouse acceleration for a regular mouse, but nothing for trackpads. Is this normal?

How can I fix it?

EDIT: It would also be great if there is a way to adjust the scrolling speed/number of lines; it seems that's only a setting for a mouse as well.

EDIT2: This is NOT a feature request. I am after any workaround possible, terminal hacks, third-party apps, anything other than waiting and hoping it gets added to GNOME/Ubuntu.

Cannot enable Bluetooth anymore after upgrade to 26.04 https://askubuntu.com/questions/1567280/cannot-enable-bluetooth-anymore-after-upgrade-to-26-04

It might be due to the upgrade to Ubuntu 26.04 (from 25.10) or to a recent UEFI firmware update (0.1.63) on my Lenovo Thinkpad P14s, but I cannot activate Bluetooth anymore. It appears in the system menu as switched off, turning it on does not do anything.

Tried:

$ rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
~$ sudo /etc/init.d/bluetooth restart
[sudo: authenticate] Wachtwoord:               
Restarting bluetooth (via systemctl): bluetooth.service.
~$ service bluetooth status
○ bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset>
     Active: inactive (dead)
       Docs: man:bluetoothd(8)

mei 29 02:00:36 thinkpad-p14s systemd[1]: bluetooth.service - Bluetooth service skipped, unmet condition check ConditionPathIsDirectory=/sys/class/bluetooth
mei 29 02:12:33 thinkpad-p14s systemd[1]: bluetooth.service - Bluetooth service skipped, unmet condition check ConditionPathIsDirectory=/sys/class/bluetooth

There is no /sys/class/bluetooth... Should there be?

sudo apt update
sudo apt install --reinstall bluez linux-firmware -y
sudo reboot

But no dice...

Also tried, as suggested in many other forum threads:

  • disabling LAN, WAN and Bluetooth in UEFI settings then rebooting and re-enabling them again

  • a factory reset of UEFI settings

  • disabling Secure Boot

Sadly, there is no option to boot into a kernel version pre 7 on Ubuntu 26.04 anymore...

Does anyone know what can be done to get Bluetooth back up and running again?

DMESG:

$ sudo dmesg | grep -i bluetooth
[    3.076099] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
Ubuntu 26.04 takes ~10 minutes to boot https://askubuntu.com/questions/1567268/ubuntu-26-04-takes-10-minutes-to-boot

I recently put Ubuntu on my Lenovo Slim 5, but ever since I've had really slow boot times. I have tried a bunch of different ways to try fix it. The only thing that works is if I basically disable my GPU which is not ideal.

I'm just wondering if there's anything I can do to fix it or if anyone has also had this issue. I'd be happy to paste any more diagnostics if needed.

System:

GPU: NVIDIA GeForce RTX 4060 Laptop (Driver 595.71.05)

OS: Ubuntu 26.04 (Kernel 7.0.0-15-generic)

Disk: LUKS Encrypted NVMe

Issue:

After entering the disk encryption password, the screen goes black for 10–17 minutes before the user login screen appears. Once logged in, the system works perfectly with full resolution and refresh rate.

My troubleshooting:

  • Rebuilt Initramfs: Restored initramfs-tools, fixed /etc/crypttab, forced nvme/dm_crypt modules. (No change)

  • NVIDIA Drivers: Switched from nvidia-driver-595-open to nvidia-driver-595 (proprietary). Rebuilt initramfs. (No change)

  • Disabled SSSD: Masked sssd services to rule out network timeouts. (No change)

  • nomodeset test: Added nomodeset to GRUB.

    Result: Hang disappears (boot is fast).
    Side Effect: Desktop runs in low resolution/refresh rate (VESA driver).

  • Plymouth: Disabled splash screen (plymouth.enable=0). (No change)

More info:

  1. *INITRAMFS MODULES (What's loaded at boot):

    usr/lib/modules/7.0.0-15-generic/kernel/arch/x86/crypto  
    usr/lib/modules/7.0.0-15-generic/kernel/arch/x86/crypto/aegis128-aesni.ko.zst  
    usr/lib/modules/7.0.0-15-generic/kernel/arch/x86/crypto/aesni-intel.ko.zst  
    usr/lib/modules/7.0.0-15-generic/kernel/arch/x86/crypto/aria-aesni-avx-x86_64.ko.zst  
    usr/lib/modules/7.0.0-15-generic/kernel/arch/x86/crypto/aria-aesni-avx2-x86_64.ko.zst  
    usr/lib/modules/7.0.0-15-generic/kernel/arch/x86/crypto/aria-gfni-avx512-x86_64.ko.zst  
    usr/lib/modules/7.0.0-15-generic/kernel/arch/x86/crypto/blowfish-x86_64.ko.zst  
    usr/lib/modules/7.0.0-15-generic/kernel/arch/x86/crypto/camellia-aesni-avx-x86_64.ko.zst  
    usr/lib/modules/7.0.0-15-generic/kernel/arch/x86/crypto/camellia-aesni-avx2.ko.zst  
    usr/lib/modules/7.0.0-15-generic/kernel/arch/x86/crypto/camellia-x86_64.ko.zst*  
    
  2. *GRUB KERNEL PARAMETERS (Current boot flags):

    GRUB_CMDLINE_LINUX_DEFAULT="quiet"  
    GRUB_CMDLINE_LINUX=""*  
    
  3. *DISABLED/MASKED SERVICES:

    No relevant services masked.*

  4. *CRYPTTAB CONFIGURATION:

    dm_crypt-0 UUID=bfc46b82-1e6a-4392-bcd0-a571f6cb034f none luks*
    
  5. *LAST BOOT LOG ERRORS (From previous boot attempt):

    May 28 09:19:57 wombat wpa_supplicant[1837]: nl80211: send_event_marker failed: Source based routing not supported  
    May 28 09:19:57 wombat systemd[1]: Requested transaction contradicts existing jobs: Transaction for NetworkManager-dispatcher.service/start is destructive (cryptsetup.target has 'stop' job queued, but 'start' is included in transaction).  
    May 28 09:19:57 wombat dbus-daemon[1691]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Transaction for NetworkManager-dispatcher.service/start is destructive (cryptsetup.target has 'stop' job queued, but 'start' is included in transaction).  
    May 28 09:19:58 wombat systemd[1]: Stopped apport-autoreport.path - Process error reports when automatic reporting is enabled (file watch).  
    May 28 09:19:58 wombat systemd[1]: Stopped target cryptsetup.target - Local Encrypted Volumes.  
    May 28 09:19:58 wombat systemd[1]: Stopping systemd-backlight@backlight:nvidia_wmi_ec_backlight.service - Load/Save Screen Backlight Brightness of backlight:nvidia_wmi_ec_backlight...  
    May 28 09:19:58 wombat systemd[1]: Stopping systemd-cryptsetup@dm_crypt\x2d0.service - Cryptography Setup for dm_crypt-0...  
    May 28 09:19:58 wombat systemd-cryptsetup[40709]: Device dm_crypt-0 is still in use.  
    May 28 09:19:58 wombat systemd-cryptsetup[40709]: Failed to deactivate 'dm_crypt-0': Device or resource busy  
    May 28 09:19:58 wombat systemd[1]: systemd-backlight@backlight:nvidia_wmi_ec_backlight.service: Deactivated   successfully.
    May 28 09:19:58 wombat systemd[1]: Stopped systemd-backlight@backlight:nvidia_wmi_ec_backlight.service - Load/Save Screen Backlight Brightness of backlight:nvidia_wmi_ec_backlight.  
    May 28 09:19:58 wombat systemd[1]: systemd-cryptsetup@dm_crypt\x2d0.service: Control process exited, code=exited, status=1/FAILURE  
    May 28 09:19:58 wombat systemd[1]: systemd-cryptsetup@dm_crypt\x2d0.service: Failed with result 'exit-code'.  
    May 28 09:19:58 wombat systemd[1]: Stopped systemd-cryptsetup@dm_crypt\x2d0.service - Cryptography Setup for dm_crypt-0.  
    May 28 09:19:59 wombat systemd-udevd[598]: Failed to remove file descriptor "config-serialization" from the store, ignoring: Connection refused*  
    
  6. *CURRENT SYSTEMD BOOT TIME (After successful boot):

    Startup finished in 5.982s (firmware) + 2.101s (loader) + 24.483s (kernel) + 9.581s (userspace) = 42.150s   
    graphical.target reached after 9.581s in userspace.*  
    
Problem with the CH341 driver in Ubuntu 26.04 https://askubuntu.com/questions/1567194/problem-with-the-ch341-driver-in-ubuntu-26-04

I recently upgraded my PI to 26.04 and I have an arduino with radio (MySensors.org) serial gateway that stopped receiving data though it worked ofr years before.

Hardware settings explanation :

  • Emitter radio NRF24L (arduino)
  • Receiver NRF24L (Arduino) plugged in USB to a PI

CH341 device may be concerned, though port is here

[    3.650112] usbcore: registered new interface driver usbserial_generic
[    3.650134] usbserial: USB Serial support registered for generic
[    3.654453] usbcore: registered new interface driver ftdi_sio
[    3.654492] usbserial: USB Serial support registered for FTDI USB Serial Device
[    3.654576] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected
[    3.654630] usb 2-1: Detected FT232R
[    3.661753] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0
...
[    4.823701] usbserial: USB Serial support registered for ch341-uart
[    4.823729] ch341 4-1:1.0: ch341-uart converter detected
[    4.836575] usb 4-1: ch341-uart converter now attached to ttyUSB0
lsusb:
Bus 004 Device 006: ID 1a86:7523 QinHeng Electronics CH340 serial converter
usb-serial-rules:
SUBSYSTEM=="tty", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523",SYMLINK+="ttyUSB23"
lsmod |grep ch341
ch341                  24576  1
usbserial              65536  6 ftdi_sio,ch341
 dmesg|grep ch341
[    3.617532] usbcore: registered new interface driver ch341
[    3.617583] usbserial: USB Serial support registered for ch341-uart
[    3.617633] ch341 4-1:1.0: ch341-uart converter detected
[    3.634225] usb 4-1: ch341-uart converter now attached to ttyUSB0
$ sudo ls -al /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 May 27 16:27 /dev/ttyUSB0
$ sudo ls -al /dev/ttyUSB23
lrwxrwxrwx 1 root root 7 May 26 18:04 /dev/ttyUSB23 -> ttyUSB0
$ udevadm test $(udevadm info -q path -n /dev/ttyUSB0) 2>1 | grep creat
$ udevadm test $(udevadm info -q path -n /dev/ttyUSB23) 2>1 | grep creat

When I launch the device on the Intel ubuntu 24.04 or windows, it works fine as reporting all messages.

I need bluetooth help setting up a keychron K2 HE on Ubuntu 24 https://askubuntu.com/questions/1560099/i-need-bluetooth-help-setting-up-a-keychron-k2-he-on-ubuntu-24

Edited* I recently purchased a nice quiet Keychron K2 HE keyboard because I am learning Linux/Ubuntu and spend a lot of time typing. I was told that the Keychron K2 HE was a good choice by a rep at my local tech store. I did specifically mention I was purchasing it for use with Ubuntu 24.04.3 I was told that they work really well. HOWEVER.. Once I tried to set it up I was VERY disappointed that I could not connect the most basic of interfaces straight away. Especially after my conversation with the Store rep. I can use it with the wire attached, but I purchased a Bluetooth keyboard for a reason. Also It does work fine on my Win11 OS computer. I have tried using some command line to verify that the Bluetooth is enabled and running. It is running in dual mode, however I did try to run Legacy only and switched it back and forth to see if I could get it to run. NO GO. I also tried the dongle that comes in the package and it doesn't seem to work either. When I try to pair it tells me it failed to pair. Grok Ai told me that it is because of the sampling frequency of the keyboard but I tried to hook up with both 'types' of Bluetooth. In my search I could find very little helpful information to overcome this issue.

Edit I see now that the bluetooth firmware is not correct. IMC networks bluetooth module (realtek) is known to fail HID-over-GATT (HOGP) on Ubuntu 24.04 so it needs to be updated.

ZSTD-compressed data is corrupt. --System halted https://askubuntu.com/questions/1480044/zstd-compressed-data-is-corrupt-system-halted

When I try to boot Ubuntu 22.04.2 LTS. After selecting "ubuntu" from a list. It gives me

ZSTD-compressed data is corrupt. --System halted_ (error).

And it does not go any further.
I tried changing hard drives where I have Windows OS and that is also not working, maybe some other issue, I guess. Using Windows hard drive, it gives me an error of 0xc0000098 Kernel is missing or corrupt. I think maybe the problem is not related to any Ubuntu and Windows OS but with my CPU or any internal hardware or software idk for sure.

I've tried other kernels under "advance" option, that'll just reboot my PC and then same again. Also tried installing new Ubuntu using bootable USB, but no luck. That will take me to a screen where an underscore is blinking continuously and then give the same error mentioned above.

How do I troubleshoot this?

How should I rebuild MuPDF from official focal source avoiding "lcms2mt.h: No such file or directory" message? https://askubuntu.com/questions/1380832/how-should-i-rebuild-mupdf-from-official-focal-source-avoiding-lcms2mt-h-no-su

I was trying to update my own answer here at AskUbuntu because of a comment below it.

What I have done:

  1. Created fresh 20.04.3 LTS VM with all updates

  2. Enabled all deb-src repositories in /etc/apt/sources.list by

    sudo sed -i "s/# deb-src/deb-src/g" /etc/apt/sources.list
    sudo apt-get update
    
  3. Installed all needed build-dependencies by

    sudo apt-get build-dep mupdf
    
  4. Downloaded source code of MuPDF by

    cd ~/Downloads
    apt-get source mupdf
    
  5. Tried to compile the sources by

    cd mupdf-1.16.1+ds1/
    make
    

    and here I get the following error message

         ...
         CC build/release/source/fitz/color-lcms.o
     source/fitz/color-lcms.c:36:10: fatal error: lcms2mt.h: No such file or directory
     36 | #include "lcms2mt.h"
     |          ^~~~~~~~~~~
     compilation terminated.
     make: *** [Makefile:126: build/release/source/fitz/color-lcms.o] Error 1
    

And what is interesting:

  1. the mentioned lcms2mt.h is not contained in any deb-package.
  2. on the same system apt-get source -b mupdf succeeds.
18.04: kernel panic - not syncing: attempting to kill init! exit code-0x00000100 https://askubuntu.com/questions/1208053/18-04-kernel-panic-not-syncing-attempting-to-kill-init-exit-code-0x00000100

I have dual boot system with Windows and Ubuntu.

  • Distributor ID: Ubuntu
  • Description: Ubuntu 18.04.3 LTS
  • Release: 18.04
  • Codename: bionic

All of a sudden my Ubuntu terminal crashed and won't start, so I did a system reboot, but now on system reboot I am getting end Kernel panic- not syncing: Attempted to kill init! exit code=0x00000100.

[    2.604568] CPU: 0 PID: 1 Comm: run-init Not tainted 5.3.0-28-generic #30~18.
04.1-Ubuntu
[    2.604680] Hardware name: Dell Inc. Latitude E5470/0MT53G, BIOS 1.5.0 04/22/
2016
[    2.604789] Call Trace:
[    2.604879]  dump_stack+0x6d/0x95
[    2.604971]  panic+0xfe/0x2d4
[    2.605057]  do_exit+0xb9f/0xba0
[    2.605144]  __x64_sys_exit+0x1b/0x20
[    2.605233]  do_syscall_64+0x5a/0x130
[    2.605403]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[    2.605494] RIP: 0033:0x20d459
[    2.605581] Code: Bad RIP value.
[    2.605668] RSP: 002b:00007ffc8f3a8988 EFLAGS: 00000246 ORIG_RAX: 0000000000
0003c
[    2.605778] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000020d459
[    2.605872] RDX: 00007f4d498a2120 RSI: 0000000000000000 RDI: 0000000000000001
[    2.605967] RBP: 0000000000000001 R08: 000000000020d4b0 R09: 00007f4d498a000
[    2.606061] R10: 000000000020d459 R11: 0000000000000246 R12: 00007ffc8f3a89e8
[    2.606155] R13: 00000000004001ba R14: 0000000000000000 R15: 0000000000000000
[    2.606296] Kernel Offset: 0x1cc00000 from 0xffffffff81000000 (relocation ran
ge: 0xffffffff80000000-0xffffffffbfffffff)
[    2.606439] ---[ end Kernel panic - not syncing: Attempted to kill init! exit
_
code=0x00000100 ]---
[    2.604568] CPU: 0 PID: 1 Comm: run-init Not tainted 5.3.0-28-generic #30~18.
04.1-Ubuntu
[    2.604680] Hardware name: Dell Inc. Latitude E5470/0MT53G, BIOS 1.5.0 04/22/
2016
[    2.604789] Call Trace:
[    2.604879]  dump_stack+0x6d/0x95
[    2.604971]  panic+0xfe/0x2d4
[    2.605057]  do_exit+0xb9f/0xba0
[    2.605144]  __x64_sys_exit+0x1b/0x20
[    2.605233]  do_syscall_64+0x5a/0x130
[    2.605403]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[    2.605494] RIP: 0033:0x20d459
[    2.605581] Code: Bad RIP value.
[    2.605668] RSP: 002b:00007ffc8f3a8988 EFLAGS: 00000246 ORIG_RAX: 0000000000
0003c
[    2.605778] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000020d459
[    2.605872] RDX: 00007f4d498a2120 RSI: 0000000000000000 RDI: 0000000000000001
[    2.605967] RBP: 0000000000000001 R08: 000000000020d4b0 R09: 00007f4d498a000
[    2.606061] R10: 000000000020d459 R11: 0000000000000246 R12: 00007ffc8f3a89e8
[    2.606155] R13: 00000000004001ba R14: 0000000000000000 R15: 0000000000000000
[    2.606296] Kernel Offset: 0x1cc00000 from 0xffffffff81000000 (relocation ran
ge: 0xffffffff80000000-0xffffffffbfffffff)
[    2.606439] ---[ end Kernel panic - not syncing: Attempted to kill init! exit
code=0x00000100 ]---
_

How can I start my system without losing any data?

Transfer music from ubuntu 18.04 to Android device https://askubuntu.com/questions/1107275/transfer-music-from-ubuntu-18-04-to-android-device

I bought a Galaxy s9, an android device.

I have it plugged in via USB to my desktop computer running Ubuntu 18.04. I've set the screen to remain unlocked for the maximum amount of time allowable with manual intervention (10 minutes).

The device can't been in Banshee or Rhythmbox. (A few hours ago it was visible in Rhythmbox, but attempts to transfer files yielded errors. From what I remember the errors said "device not available for writing)

The device can be seen in gnome's file explorer. However, when I click on the icon for the device I see the error "Unable to access SAMSUNG Android. Unable to open mtp device [usb:003,004]"

I'd love to be able to simply manage music on the device. Managing playlists would also be awesome.

Is this possible? If I google for these errors I see issues going back many years and get the impression that managing an android device from ubuntu is simply impossible for a user without linux system administration skills.

CPU benchmarking utility for Linux https://askubuntu.com/questions/634513/cpu-benchmarking-utility-for-linux

I am looking for a utility that will benchmark CPU performance under single and multi threaded instances. At present I have an old rig with a dual core CPU (E7500) at 3.6 Ghz and I am looking at replacing it with a quad core CPU (Q9400) at 3.2 Ghz. I want to see if I will notice a performance improvement with the extra 2 cores (albeit with a drop in core speed). I will clock the CPU's with the same FSB (400Mhz) and the cache size is the same per CPU (1.5MB) and for what its worth I have 4GB ram (with potential to upgrade to 6GB)

My son mainly uses the PC for playing TF2 (which I am trying to still get working under Linux) and I also use it for some video encoding (MP4 to DVD)

I am thinking that I could be better off with the quad core but any feedback would be appreciated.

How to access a /media folder that has been mounted from a external hardrive? https://askubuntu.com/questions/316783/how-to-access-a-media-folder-that-has-been-mounted-from-a-external-hardrive

I'm using Ubuntu 13.04 x64. I have installed Apache, php5.

I have configured two sites folders in the /etc/apache2/sites-available/default One is the in /home/me/www and the other is on the external disk let's say /media/me/www.

I think the problem is that /media is owned by root and all files had restrictive permissions, so I can only see my files in my computer, or with sftp or samba, login with my username.

What I want is to view those files in apache from another computer, but the server always gave me the 403 Forbidden message.

I was thinking of changing the owner of the media folder, and to change the files permissions. Or I found I could mount the drive in another path, but that would be more problematic because I already have some apps using that path.

My question what do I have to do to allow access to apache to show the media folder?

The hard drive is NTFS format. Also I'm not an expert in linux, but knows the basics.