How do I resolve my dummy output problem? https://askubuntu.com/questions/1564771/how-do-i-resolve-my-dummy-output-problem

I've been running Ubuntu 24.04 on my Dell XPS13. I can't get the internal speakers to work. The Intel CM238 HD chip is correctly identified, but the Sound menu keeps showing Dummy Output, and I get no audio. I've run pretty much every solution I've seen posted, and it hasn't helped.

Yesterday I tried going back to 22.04 and encountered something weird. When running it live off a USB stick, the speakers worked and were listed in the Sound menu, but once I actually installed it and rebooted, it went back to Dummy Output. What changes in the operating system when I install it instead of running it live?

Wifi not working because of missing linux-firmware https://askubuntu.com/questions/1564770/wifi-not-working-because-of-missing-linux-firmware

After I did a update of my Ubuntu 25.10 the wifi stopped working. I have tried reinstalling but when I did a update the wifi stopped working again. I am using TPM encryption on my disk.

The PC is a Dell Precision 7680.

I found that sudo dmesg | grep wifi shows

[    9.903015] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-89.ucode failed with error -2
[    9.903028] iwlwifi 0000:00:14.3: no suitable firmware found!
[    9.906650] iwlwifi 0000:00:14.3: iwlwifi-so-a0-gf-a0-89 is required
[    9.911118] iwlwifi 0000:00:14.3: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

So the iwlwifi-so-a0-gf-a0-89 is missing and I guess this should be part of linux-firmware.

When I do sudo apt install linux-firmware I get

Solving dependencies... Error!  
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 boot-managed-by-snapd : Conflicts: linux-firmware but 20250901.git993ff19b-0ubuntu1.9 is to be installed

Cannot install linux-firmware on system as boot is managed by snapd.
Error: Unable to satisfy dependencies. Reached two conflicting decisions:
   1. linux-firmware:amd64=20250901.git993ff19b-0ubuntu1.9 is selected for install
   2. linux-firmware:amd64=20250901.git993ff19b-0ubuntu1.9 is not selected for install because:
      1. boot-managed-by-snapd:amd64 is selected for install
      2. boot-managed-by-snapd:amd64 Conflicts linux-firmware
         [selected boot-managed-by-snapd:amd64]

How can I solve this dependency error ?

Thanks

Mounting Apple Time Capsule(A1409) on Ubuntu 24.04 via AFP https://askubuntu.com/questions/1564769/mounting-apple-time-capsulea1409-on-ubuntu-24-04-via-afp

Mounting Apple Time Capsule on Ubuntu 24.04 via AFP

The Problem

Ubuntu 24.04 has no AFP client support out of the box:

  • No afpfs-ng in standard repos
  • gvfs/gio dropped AFP backend
  • CIFS/SMB won't work if your Time Capsule is configured to use AFP
  • Linux kernel 5.15+ dropped sec=ntlm support, breaking old SMB1 auth anyway

Diagnosis

First, confirm your Time Capsule is using AFP (run on macOS while it's mounted in Finder):

mount | grep 10.0.0.232
# Look for 'afpfs' in the output — confirms AFP protocol

Check what share names exist:

# On macOS
smbutil view //youruser@10.0.0.232
# Typical shares: 'patarok' (user share) and 'Time Capsule' (Time Machine backup)

Check what UAMs (User Authentication Methods) the Time Capsule advertises:

afpgetstatus 10.0.0.232
# You'll see: DHCAST128, DHX2, Recon1

Why the Prebuilt .deb Doesn't Work

The prebuilt .deb from https://github.com/rc2dev/afpfs-ng-deb is compiled without libgcrypt, resulting in:

UAMs compiled in: Cleartxt Passwrd, No User Authent

This means no encrypted authentication — which all modern Time Capsules require (DHCAST128 or DHX2). Compiling from source with libgcrypt20-dev installed fixes this.

The Solution: Compile afpfs-ng from Source with Crypto Support

1. Install build dependencies

sudo apt install build-essential meson ninja-build \
  libgcrypt20-dev libgmp-dev libfuse-dev \
  libglib2.0-dev pkg-config

2. Clone the maintained fork

git clone https://github.com/rdmark/afpfs-ng
cd afpfs-ng

3. Build and install

meson setup build
ninja -C build
sudo ninja -C build install
sudo ldconfig

4. Verify crypto UAMs are compiled in

hash -r
afp_client uams

The output must include dhx and dhx2. If it only shows Cleartxt Passwrd, No User Authent, libgcrypt was not found during build. Verify with:

pkg-config --modversion libgcrypt

5. Fix path issue

afpfsd installs to /usr/local/bin but is hardcoded to be expected in /usr/bin. Create symlinks:

sudo ln -s /usr/local/bin/afpfsd /usr/bin/afpfsd
sudo ln -s /usr/local/bin/afp_client /usr/bin/afp_client
sudo ln -s /usr/local/bin/mount_afpfs /usr/bin/mount_afpfs

6. Clear any stale socket files

If afpfsd was run before (e.g. from a failed attempt with the prebuilt .deb), a stale socket may block the new daemon:

rm -f /tmp/afp_server-$(id -u)

7. Create mountpoint and mount

mkdir -p ~/timecapsule

Mount the Time Machine backup share:

afp_client mount -u YOUR_USERNAME -p - 10.0.0.232:"Time Capsule" ~/timecapsule
# -p - prompts for password securely

Or mount the user share:

afp_client mount -u YOUR_USERNAME -p - 10.0.0.232:YOUR_USERNAME ~/timecapsule

Troubleshooting

Error Cause Fix
Could not pick a matching UAM No crypto UAMs compiled in Rebuild from source with libgcrypt20-dev
Trying to startup afpfsd: No such file or directory Path mismatch /usr/bin vs /usr/local/bin Create symlinks (Step 5)
Daemon is already running and alive Stale socket file Remove /tmp/afp_server-$(id -u) (Step 6)
kFPAuthContinue (via gio) AFP backend missing or wrong auth Use afp_client directly instead of gio
mount error(13): Permission denied (CIFS) Kernel 5.15+ dropped NTLMv1 / device is AFP-only Use AFP approach above

Notes

  • The Time Capsule AirPort Utility setting "Secure Shared Disks: with accounts" requires DHX2 or Recon1 auth. Recon1 is Apple-proprietary and not supported by afpfs-ng. If you have issues, try switching to "with disk password" in AirPort Utility which falls back to DHCAST128.
  • afpfsd runs as a userspace FUSE daemon — no root needed for the daemon itself. Only mounting to system directories like /mnt/ requires sudo.
  • The maintained fork used here is https://github.com/rdmark/afpfs-ng (active as of 2024), not the original abandoned afpfs-ng project.
Massive storage space usage on Windows with WSL https://askubuntu.com/questions/1564768/massive-storage-space-usage-on-windows-with-wsl

I've been using WSL on my work laptop and just recently I started getting store space errors, which is surprising because I have a 1TB SSD. I checked the storage settings and it shows Ubuntu 22.04.5 taking up 803GB of space, which is insane (see screenshot). On further examination, it shows that the app takes up 324 MB while the data is taking up 802 GB. I tried the repair and reset options, but nothing happened. I am unable to install any more applications on my PC because of this.

enter image description here

GNOME Wayland intermittently freezes on hybrid Intel + NVIDIA laptop (RTX 4090) https://askubuntu.com/questions/1564767/gnome-wayland-intermittently-freezes-on-hybrid-intel-nvidia-laptop-rtx-4090

I occasionally experience short freezes while using GNOME on Wayland. The screen freezes briefly and then the desktop recovers. In some cases it appears that GNOME Shell may restart or recover internally.

This happens intermittently during normal desktop usage (for example while using a web browser or terminal).

In the logs I see messages such as:

Invalid sequence for VSYNC frame info
Invalid window geometry for xdg_surface

I am trying to determine whether this is related to GNOME/Mutter, the NVIDIA driver, or a client application.

System information

Laptop: Lenovo ThinkPad P1 Gen 6

GPU configuration:

Intel Raptor Lake-P Iris Xe (driver: i915)
NVIDIA GeForce RTX 4090 Laptop GPU

Driver:

NVIDIA 590.48.01

Desktop session:

GNOME Shell 49
Wayland

Output of inxi -G:

Graphics:
  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] driver: i915
  Device-2: NVIDIA AD103M / GeForce RTX 4090 Laptop GPU driver: nvidia 590.48.01

Display:
  compositor: gnome-shell
  session: wayland

Monitor configuration

Two monitors are connected:

2560x1080 @100 Hz
1680x1050 @165 Hz

Additional checks

Fractional scaling and experimental Mutter features are disabled:

gsettings get org.gnome.mutter experimental-features
@as []

NVIDIA DRM modesetting is enabled:

nvidia_drm.modeset=1

Logs

Example relevant messages:

Invalid sequence for VSYNC frame info
Invalid window geometry for xdg_surface

I have also previously seen:

vaInitialize failed: unknown libva error

coming from Chromium.

What I have tried

  • Verified that nvidia_drm.modeset=1 is enabled

  • Confirmed fractional scaling is disabled

  • Checked GNOME Shell logs using journalctl

  • Attempted to adjust monitor refresh rates (limited by available modes in GNOME settings)

Question

Is this a known issue with GNOME/Mutter when running Wayland on hybrid Intel + NVIDIA systems?

If not, what would be the best way to further diagnose which component (GNOME Shell, Mutter, NVIDIA driver, or a client application) is responsible for these freezes?

Latest Kernel 6.19.0-9 and latest Nvidia driver suspend throws kernel panic https://askubuntu.com/questions/1564763/latest-kernel-6-19-0-9-and-latest-nvidia-driver-suspend-throws-kernel-panic

When my laptop resumes I'm greeted with a kernel error and a locked up laptop (have to hold the power button for 10 seconds), lots of stuff on the screen. I found this is in syslog, after the clip line it matches pretty close to what was on the screen except for the stack trace. 6.18.0-9 worked fine. I don't know what the version of Nvidia driver was installed unfortunately. And the 6.18 kernel is no longer in the default apt repositories so going back isn't much of an options. It references what I assume is the Nvidia driver so my guess is it's something in there but I have no idea where to go next, other than this site to ask.

A lot of these

2026-03-11T17:47:20.363906-06:00 edslaptop gnome-shell[6360]: (../src/backends/native/meta-onscreen-native.c:1937):meta_onscreen_native_swap_buffers_with_damage: runtime check failed: (onscreen_native->next_frame == NULL)

Followed by this

2026-03-11T17:47:21.007993-06:00 edslaptop suspend: nvidia-suspend.service
2026-03-11T17:47:21.008085-06:00 edslaptop logger[9265]: <13>Mar 11 17:47:21 suspend: nvidia-suspend.service
2026-03-11T17:47:21.013432-06:00 edslaptop gnome-shell[6360]: (../src/backends/native/meta-onscreen-native.c:1937):meta_onscreen_native_swap_buffers_with_damage: runtime check failed: (onscreen_native->next_frame == NULL)
2026-03-11T17:47:21.013491-06:00 edslaptop gnome-shell[6360]: (../clutter/clutter/clutter-frame-clock.c:703):clutter_frame_clock_notify_ready: code should not be reached
2026-03-11T17:47:21.025509-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSource/ldac
2026-03-11T17:47:21.025781-06:00 edslaptop kernel: rfkill: input handler enabled
2026-03-11T17:47:21.025907-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSink/aptx_hd
2026-03-11T17:47:21.026401-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSource/aptx_hd
2026-03-11T17:47:21.027063-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSink/aptx
2026-03-11T17:47:21.027368-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSource/aptx
2026-03-11T17:47:21.027857-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSink/aac
2026-03-11T17:47:21.028147-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSource/aac
2026-03-11T17:47:21.028516-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSink/opus_g
2026-03-11T17:47:21.028752-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSource/opus_g
2026-03-11T17:47:21.029301-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSink/sbc
2026-03-11T17:47:21.029629-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSource/sbc
2026-03-11T17:47:21.029992-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSource/aptx_ll_1
2026-03-11T17:47:21.030274-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSource/aptx_ll_0
2026-03-11T17:47:21.030588-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
2026-03-11T17:47:21.030775-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
2026-03-11T17:47:21.031075-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSource/faststream
2026-03-11T17:47:21.031358-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSource/faststream_duplex
2026-03-11T17:47:21.031697-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSink/opus_05
2026-03-11T17:47:21.032169-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSource/opus_05
2026-03-11T17:47:21.032515-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSink/opus_05_duplex
2026-03-11T17:47:21.032936-06:00 edslaptop bluetoothd[2155]: Endpoint unregistered: sender=:1.94 path=/MediaEndpoint/A2DPSource/opus_05_duplex
2026-03-11T17:47:21.052994-06:00 edslaptop gsd-media-keys[6494]: Unable to get default sink
2026-03-11T17:47:21.053114-06:00 edslaptop gsd-media-keys[6494]: Unable to get default source
2026-03-11T17:47:21.053974-06:00 edslaptop gnome-shell[6360]: JS ERROR: TypeError: this._input._stream is null#012_updatePrivacyIndicator@resource:///org/gnome/shell/ui/status/volume.js:538:27#012InputIndicator/<@resource:///org/gnome/shell/ui/status/volume.js:524:18#012set stream@resource:///org/gnome/shell/ui/status/volume.js:104:18#012_readInput@resource:///org/gnome/shell/ui/status/volume.js:551:44#012InputIndicator/<@resource:///org/gnome/shell/ui/status/volume.js:515:50#012@resource:///org/gnome/shell/ui/init.js:20:20
2026-03-11T17:47:21.089056-06:00 edslaptop systemd[1]: grub-initrd-fallback.service: Deactivated successfully.
2026-03-11T17:47:21.089231-06:00 edslaptop systemd[1]: Finished grub-initrd-fallback.service - GRUB failed boot detection.
2026-03-11T17:47:21.431749-06:00 edslaptop kernel: nvidia 0000:01:00.0: Enabling HDA controller
2026-03-11T17:47:24.215828-06:00 edslaptop systemd[1]: nvidia-suspend.service: Deactivated successfully.
2026-03-11T17:47:24.215916-06:00 edslaptop systemd[1]: Finished nvidia-suspend.service - NVIDIA system suspend actions.
2026-03-11T17:47:24.216218-06:00 edslaptop systemd[1]: nvidia-suspend.service: Consumed 2.932s CPU time over 3.222s wall clock time, 20.9M memory peak.
2026-03-11T17:47:24.218449-06:00 edslaptop systemd[1]: Starting systemd-suspend.service - System Suspend...
2026-03-11T17:47:24.251738-06:00 edslaptop systemd[1]: session-2.scope: Unit now frozen-by-parent.
2026-03-11T17:47:24.251818-06:00 edslaptop systemd[1]: user.slice: Unit now frozen.
2026-03-11T17:47:24.251855-06:00 edslaptop systemd[1]: user-1000.slice: Unit now frozen-by-parent.
2026-03-11T17:47:24.251887-06:00 edslaptop systemd[1]: user@1000.service: Unit now frozen-by-parent.
2026-03-11T17:47:24.252089-06:00 edslaptop systemd-sleep[9378]: Successfully froze unit 'user.slice'.
2026-03-11T17:47:24.275895-06:00 edslaptop systemd-sleep[9378]: Performing sleep operation 'suspend'...
2026-03-11T17:47:24.277054-06:00 edslaptop kernel: PM: suspend entry (s2idle)
2026-03-11T17:47:24.283064-06:00 edslaptop kernel: Filesystems sync: 0.005 seconds
2026-03-11T17:47:24.992672-06:00 edslaptop kernel: jump_label: Fatal kernel bug, unexpected op at nvkms_kthread_q_callback+0x73/0x180 [nvidia_modeset] [0000000053cd4c57] (e9 97 00 00 00 != 0f 1f 44 00 00)) size:5 type:1
2026-03-11T17:47:24.992689-06:00 edslaptop kernel: fbcon: Taking over console
2026-03-11T17:47:24.992692-06:00 edslaptop kernel: ------------[ cut here ]------------
2026-03-11T17:47:24.992693-06:00 edslaptop kernel: kernel BUG at arch/x86/kernel/jump_label.c:73!
2026-03-11T17:47:24.992694-06:00 edslaptop kernel: Oops: invalid opcode: 0000 [#1] SMP NOPTI
2026-03-11T17:47:24.992695-06:00 edslaptop kernel: CPU: 1 UID: 0 PID: 9378 Comm: systemd-sleep Tainted: G        W  OE       6.19.0-9-generic #9-Ubuntu PREEMPT(voluntary) 
2026-03-11T17:47:24.992695-06:00 edslaptop kernel: Tainted: [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
2026-03-11T17:47:24.992696-06:00 edslaptop kernel: Hardware name: Alienware Alienware 16 Area-51 AA16250/0XYV46, BIOS 1.8.0 09/10/2025
2026-03-11T17:47:24.992697-06:00 edslaptop kernel: RIP: 0010:__jump_label_patch.cold+0x24/0x26
2026-03-11T17:47:24.992697-06:00 edslaptop kernel: Code: f8 e9 04 8a 18 00 48 c7 c3 b8 49 e1 a5 41 56 45 89 e1 49 89 d8 4c 89 e9 4c 89 ea 4c 89 ee 48 c7 c7 78 7e 8c a4 e8 94 76 01 00 <0f> 0b 0f b6 f0 48 c7 c7 e0 01 45 a5 88 45 f7 e8 20 8e b8 00 0f b6
2026-03-11T17:47:24.992698-06:00 edslaptop kernel: RSP: 0018:ffffcd1ae29afc28 EFLAGS: 00010246
2026-03-11T17:47:24.992698-06:00 edslaptop kernel: RAX: 00000000000000a8 RBX: ffffffffa420668a RCX: 0000000000000000
2026-03-11T17:47:24.992699-06:00 edslaptop kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
2026-03-11T17:47:24.992699-06:00 edslaptop kernel: RBP: ffffcd1ae29afc58 R08: 0000000000000000 R09: 0000000000000000
2026-03-11T17:47:24.992699-06:00 edslaptop kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000005
2026-03-11T17:47:24.992700-06:00 edslaptop kernel: R13: ffffffffc1800793 R14: 0000000000000001 R15: 0000000000000000
2026-03-11T17:47:24.992701-06:00 edslaptop kernel: FS:  00007da8aa94ec80(0000) GS:ffff8c06f9ac1000(0000) knlGS:0000000000000000
2026-03-11T17:47:24.992701-06:00 edslaptop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2026-03-11T17:47:24.992701-06:00 edslaptop kernel: CR2: 00005dbd8e8924f0 CR3: 000000013212f002 CR4: 0000000000f72ef0
2026-03-11T17:47:24.992702-06:00 edslaptop kernel: PKRU: 55555554
2026-03-11T17:47:24.992702-06:00 edslaptop kernel: Call Trace:
2026-03-11T17:47:24.992703-06:00 edslaptop kernel:  <TASK>
2026-03-11T17:47:24.992703-06:00 edslaptop kernel:  arch_jump_label_transform_queue+0x37/0x90
2026-03-11T17:47:24.992704-06:00 edslaptop kernel:  __jump_label_update+0x47/0x100
2026-03-11T17:47:24.992704-06:00 edslaptop kernel:  jump_label_update+0x5c/0x110
2026-03-11T17:47:24.992704-06:00 edslaptop kernel:  static_key_slow_inc_cpuslocked+0x53/0xa0
2026-03-11T17:47:24.992705-06:00 edslaptop kernel:  static_key_slow_inc+0x1f/0x40
2026-03-11T17:47:24.992705-06:00 edslaptop kernel:  freeze_processes+0xd1/0xe0
2026-03-11T17:47:24.992706-06:00 edslaptop kernel:  enter_state+0xdc/0x590
2026-03-11T17:47:24.992706-06:00 edslaptop kernel:  pm_suspend+0x49/0x90
2026-03-11T17:47:24.992706-06:00 edslaptop kernel:  state_store+0x2e/0x60
2026-03-11T17:47:24.992707-06:00 edslaptop kernel:  kobj_attr_store+0x12/0x40
2026-03-11T17:47:24.992707-06:00 edslaptop kernel:  sysfs_kf_write+0x74/0x90
2026-03-11T17:47:24.992708-06:00 edslaptop kernel:  kernfs_fop_write_iter+0x161/0x210
2026-03-11T17:47:24.992708-06:00 edslaptop kernel:  vfs_write+0x25b/0x490
2026-03-11T17:47:24.992708-06:00 edslaptop kernel:  ksys_write+0x71/0xf0
2026-03-11T17:47:24.992709-06:00 edslaptop kernel:  __x64_sys_write+0x19/0x30
2026-03-11T17:47:24.992709-06:00 edslaptop kernel:  x64_sys_call+0x79/0x2360
2026-03-11T17:47:24.992710-06:00 edslaptop kernel:  do_syscall_64+0x81/0x5c0
2026-03-11T17:47:24.992710-06:00 edslaptop kernel:  ? exc_page_fault+0x90/0x1b0
2026-03-11T17:47:24.992710-06:00 edslaptop kernel:  entry_SYSCALL_64_after_hwframe+0x76/0x7e
2026-03-11T17:47:24.992711-06:00 edslaptop kernel: RIP: 0033:0x7da8aa0a0146
2026-03-11T17:47:24.992711-06:00 edslaptop kernel: Code: 47 ba 04 00 00 00 48 8b 05 c7 0c 17 00 64 89 10 48 c7 c2 ff ff ff ff c9 48 89 d0 c3 0f 1f 84 00 00 00 00 00 48 8b 45 10 0f 05 <48> 89 c2 48 3d 00 f0 ff ff 77 0f c9 48 89 d0 c3 66 2e 0f 1f 84 00
2026-03-11T17:47:24.992712-06:00 edslaptop kernel: RSP: 002b:00007ffccd5dfa70 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
2026-03-11T17:47:24.992712-06:00 edslaptop kernel: RAX: ffffffffffffffda RBX: 00005dbd8e888310 RCX: 00007da8aa0a0146
2026-03-11T17:47:24.992712-06:00 edslaptop kernel: RDX: 0000000000000004 RSI: 00005dbd8e8914e0 RDI: 0000000000000007
2026-03-11T17:47:24.992713-06:00 edslaptop kernel: RBP: 00007ffccd5dfa80 R08: 0000000000000000 R09: 0000000000000000
2026-03-11T17:47:24.992713-06:00 edslaptop kernel: R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000004
2026-03-11T17:47:24.992713-06:00 edslaptop kernel: R13: 0000000000000004 R14: 00005dbd8e8914e0 R15: 0000000000000000
2026-03-11T17:47:24.992714-06:00 edslaptop kernel:  </TASK>
2026-03-11T17:47:24.992715-06:00 edslaptop kernel: Modules linked in: rfcomm snd_seq_dummy snd_hrtimer xfrm_user xfrm_algo xt_CHECKSUM xt_MASQUERADE xt_conntrack xt_set ipt_REJECT ip_set nf_reject_ipv4 xt_tcpudp xt_addrtype nft_compat x_tables nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables bridge stp llc ccm snd_ctl_led snd_soc_sof_sdw snd_sof_probes snd_soc_intel_hda_dsp_common xe snd_soc_rt722_sdca snd_soc_rt1320_sdw drm_gpusvm_helper regmap_sdw_mbq regmap_sdw gpu_sched snd_hda_codec_intelhdmi drm_gpuvm snd_soc_dmic drm_exec drm_suballoc_helper overlay qrtr cmac algif_hash algif_skcipher af_alg bnep binfmt_misc snd_sof_pci_intel_mtl snd_sof_intel_hda_generic soundwire_intel snd_sof_intel_hda_sdw_bpt snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda soundwire_cadence snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_hda_ext_core snd_soc_acpi_intel_match snd_hda_codec_nvhdmi snd_soc_acpi_intel_sdca_quirks soundwire_generic_allocation snd_hda_codec_hdmi snd_soc_sdw_utils snd_soc_acpi
2026-03-11T17:47:24.992716-06:00 edslaptop kernel:  soundwire_bus snd_hda_intel snd_soc_sdca snd_hda_codec nls_iso8859_1 snd_soc_core snd_hda_core cmdlinepart intel_uncore_frequency snd_intel_dspcfg snd_compress intel_uncore_frequency_common snd_intel_sdw_acpi ac97_bus snd_hwdep spi_nor x86_pkg_temp_thermal snd_pcm_dmaengine iwlmld intel_powerclamp mtd mei_gsc_proxy intel_rapl_msr snd_pcm mac80211 snd_seq_midi snd_seq_midi_event coretemp i915 snd_rawmidi libarc4 snd_seq processor_thermal_device_pci dell_wmi snd_seq_device processor_thermal_device uvcvideo btusb processor_thermal_wt_hint snd_timer videobuf2_vmalloc uvc platform_temperature_control btmtk processor_thermal_soc_slider videobuf2_memops btrtl dell_smbios dell_wmi_sysman iwlwifi kvm_intel processor_thermal_rfim drm_buddy intel_pmc_core snd btbcm videobuf2_v4l2 dcdbas processor_thermal_rapl kvm irqbypass rapl intel_cstate alienware_wmi dell_wmi_ddv i2c_i801 intel_rapl_common soundcore cfg80211 dell_smm_hwmon drm_display_helper btintel firmware_attributes_class videobuf2_common wmi_bmof
2026-03-11T17:47:24.992717-06:00 edslaptop kernel:  dell_wmi_descriptor spi_intel_pci pmt_telemetry crc8 i2c_smbus processor_thermal_wt_req cec spi_intel i2c_mux int3403_thermal pmt_discovery processor_thermal_power_floor videodev mei_me bluetooth processor_thermal_mbox pmt_class int340x_thermal_zone rc_core intel_vpu mei mc i2c_algo_bit platform_profile nvidia_wmi_ec_backlight intel_pmc_ssram_telemetry acpi_pad int3400_thermal intel_vsec intel_hid nvidia_uvm(OE) acpi_thermal_rel joydev acpi_tad sparse_keymap input_leds mac_hid sch_fq_codel nvme_fabrics efi_pstore nfnetlink hid_sensor_custom hid_sensor_hub intel_ishtp_hid usbhid nvidia_drm(OE) nvidia_modeset(OE) spi_pxa2xx_platform ucsi_acpi dw_dmac hid_multitouch typec_ucsi dw_dmac_core hid_generic 8250_dw spi_pxa2xx_core typec nvidia(OE) rtsx_pci_sdmmc nvme drm_ttm_helper ttm video intel_lpss_pci nvme_core ghash_clmulni_intel intel_lpss psmouse intel_ish_ipc rtsx_pci nvme_keyring idma64 intel_ishtp thunderbolt nvme_auth hkdf i2c_hid_acpi i2c_hid hid wmi pinctrl_meteorlake pinctrl_meteorpoint serio_raw
2026-03-11T17:47:24.992718-06:00 edslaptop kernel:  parport_pc lp ppdev parport msr dmi_sysfs autofs4 aesni_intel
2026-03-11T17:47:24.992718-06:00 edslaptop kernel: ---[ end trace 0000000000000000 ]---
2026-03-11T17:47:24.992719-06:00 edslaptop kernel: RIP: 0010:__jump_label_patch.cold+0x24/0x26
2026-03-11T17:47:24.992719-06:00 edslaptop kernel: Code: f8 e9 04 8a 18 00 48 c7 c3 b8 49 e1 a5 41 56 45 89 e1 49 89 d8 4c 89 e9 4c 89 ea 4c 89 ee 48 c7 c7 78 7e 8c a4 e8 94 76 01 00 <0f> 0b 0f b6 f0 48 c7 c7 e0 01 45 a5 88 45 f7 e8 20 8e b8 00 0f b6
2026-03-11T17:47:24.992720-06:00 edslaptop kernel: RSP: 0018:ffffcd1ae29afc28 EFLAGS: 00010246
2026-03-11T17:47:24.992720-06:00 edslaptop kernel: RAX: 00000000000000a8 RBX: ffffffffa420668a RCX: 0000000000000000
2026-03-11T17:47:24.992720-06:00 edslaptop kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
2026-03-11T17:47:24.992721-06:00 edslaptop kernel: RBP: ffffcd1ae29afc58 R08: 0000000000000000 R09: 0000000000000000
2026-03-11T17:47:24.992721-06:00 edslaptop kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000005
2026-03-11T17:47:24.992727-06:00 edslaptop kernel: R13: ffffffffc1800793 R14: 0000000000000001 R15: 0000000000000000
2026-03-11T17:47:24.992728-06:00 edslaptop kernel: FS:  00007da8aa94ec80(0000) GS:ffff8c06f9ac1000(0000) knlGS:0000000000000000
2026-03-11T17:47:24.992728-06:00 edslaptop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2026-03-11T17:47:24.992729-06:00 edslaptop kernel: CR2: 00005dbd8e8924f0 CR3: 000000013212f002 CR4: 0000000000f72ef0
2026-03-11T17:47:24.992729-06:00 edslaptop kernel: PKRU: 55555554
2026-03-11T17:47:24.993502-06:00 edslaptop systemd[1]: systemd-suspend.service: Main process exited, code=killed, status=11/SEGV
2026-03-11T17:47:24.993653-06:00 edslaptop systemd[1]: systemd-suspend.service: Failed with result 'signal'.
2026-03-11T17:47:24.993740-06:00 edslaptop systemd[1]: Failed to start systemd-suspend.service - System Suspend.
2026-03-11T17:47:24.993816-06:00 edslaptop systemd[1]: Dependency failed for suspend.target - Suspend.
2026-03-11T17:47:24.993851-06:00 edslaptop systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.
2026-03-11T17:47:24.995432-06:00 edslaptop systemd[1]: Stopped target sleep.target - Sleep.
2026-03-11T17:47:24.996883-06:00 edslaptop systemd-resolved[851]: Closing all remaining TCP connections.
2026-03-11T17:47:24.996976-06:00 edslaptop systemd-resolved[851]: Resetting learnt feature levels on all servers.
2026-03-11T17:47:24.997175-06:00 edslaptop ModemManager[2408]: <msg> [sleep-monitor-systemd] system is resuming
2026-03-11T17:47:24.997385-06:00 edslaptop NetworkManager[2386]: <info>  [1773272844.9967] manager: sleep: wake requested (sleeping: yes  enabled: yes)
2026-03-11T17:47:24.997450-06:00 edslaptop NetworkManager[2386]: <info>  [1773272844.9968] device (wlp131s0f0): state change: unmanaged -> unavailable (reason 'managed', managed-type: 'external')
2026-03-11T17:47:24.997501-06:00 edslaptop systemd[1]: Starting grub2-common.service - Record successful boot for GRUB...
2026-03-11T17:47:24.998467-06:00 edslaptop systemd[1]: Starting nvidia-resume.service - NVIDIA system resume actions...
2026-03-11T17:47:24.998756-06:00 edslaptop rtkit-daemon[3175]: Resuming known real-time threads.
2026-03-11T17:47:24.998817-06:00 edslaptop rtkit-daemon[3175]: Successfully made thread 7930 of process 6793 owned by '1000' high priority at nice level 15.
2026-03-11T17:47:24.998851-06:00 edslaptop rtkit-daemon[3175]: Successfully made thread 6388 of process 6360 owned by '1000' high priority at nice level -15.
2026-03-11T17:47:24.998881-06:00 edslaptop rtkit-daemon[3175]: Successfully made thread 6008 of process 5912 owned by '1000' RT at priority 20.
2026-03-11T17:47:24.998914-06:00 edslaptop rtkit-daemon[3175]: Successfully made thread 5912 of process 5912 owned by '1000' high priority at nice level -11.
2026-03-11T17:47:24.998951-06:00 edslaptop rtkit-daemon[3175]: Successfully made thread 6002 of process 5914 owned by '1000' RT at priority 20.
2026-03-11T17:47:24.998988-06:00 edslaptop rtkit-daemon[3175]: Successfully made thread 5914 of process 5914 owned by '1000' high priority at nice level -11.
2026-03-11T17:47:24.999020-06:00 edslaptop rtkit-daemon[3175]: Successfully made thread 5998 of process 5913 owned by '1000' RT at priority 20.
2026-03-11T17:47:24.999048-06:00 edslaptop rtkit-daemon[3175]: Successfully made thread 5917 of process 5893 owned by '1000' RT at priority 20.
2026-03-11T17:47:24.999075-06:00 edslaptop rtkit-daemon[3175]: Successfully made thread 5893 of process 5893 owned by '1000' high priority at nice level -11.
2026-03-11T17:47:24.999101-06:00 edslaptop rtkit-daemon[3175]: Resumed scheduling 9 threads.
2026-03-11T17:47:25.295723-06:00 edslaptop kernel: Console: switching to colour frame buffer device 160x50
2026-03-11T17:47:25.306695-06:00 edslaptop suspend: nvidia-resume.service
2026-03-11T17:47:25.306774-06:00 edslaptop logger[9390]: <13>Mar 11 17:47:25 suspend: nvidia-resume.service
2026-03-11T17:47:25.350816-06:00 edslaptop systemd[1]: grub2-common.service: Deactivated successfully.
2026-03-11T17:47:25.351185-06:00 edslaptop systemd[1]: Finished grub2-common.service - Record successful boot for GRUB.
2026-03-11T17:47:25.452692-06:00 edslaptop NetworkManager[2386]: <info>  [1773272845.4525] device (p2p-dev-wlp131s0f0): state change: unmanaged -> unavailable (reason 'managed', managed-type: 'external')
2026-03-11T17:47:25.452796-06:00 edslaptop NetworkManager[2386]: <warn>  [1773272845.4525] device (p2p-dev-wlp131s0f0): error setting IPv4 forwarding to '1': Resource temporarily unavailable
2026-03-11T17:47:25.452842-06:00 edslaptop NetworkManager[2386]: <info>  [1773272845.4527] manager: NetworkManager state is now CONNECTED_LOCAL
2026-03-11T17:47:26.159764-06:00 edslaptop kernel: nvidia-modeset: nvidia-modeset: ACPI reported no NVIDIA native backlight available; attempting to use ACPI backlight.
2026-03-11T17:47:26.174399-06:00 edslaptop systemd[1]: nvidia-resume.service: Deactivated successfully.
2026-03-11T17:47:26.174547-06:00 edslaptop systemd[1]: Finished nvidia-resume.service - NVIDIA system resume actions.
2026-03-11T17:47:29.044677-06:00 edslaptop ModemManager[2408]: <msg> [base-manager] couldn't check support for device '/sys/devices/pci0000:80/0000:80:1c.5/0000:83:00.0': not supported by any plugin
2026-03-11T17:47:30.021572-06:00 edslaptop systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
2026-03-11T17:47:30.457236-06:00 edslaptop NetworkManager[2386]: <error> [1773272850.4569] device (wlp131s0f0): Couldn't initialize supplicant interface: Timeout was reached
2026-03-11T17:47:31.652783-06:00 edslaptop kernel: NVRM: nvAssertFailedNoLog: Assertion failed: 0 @ osapi.c:1942
2026-03-11T17:47:40.730272-06:00 edslaptop NetworkManager[2386]: <warn>  [1773272860.7297] device (wlp131s0f0): re-acquiring supplicant interface (#1).
2026-03-11T17:47:44.927818-06:00 edslaptop systemd[1]: Starting update-notifier-download.service - Download data for packages that failed at package install time...
2026-03-11T17:47:44.962506-06:00 edslaptop systemd[1]: Starting apt-daily.service - Daily apt download activities...
2026-03-11T17:47:44.989657-06:00 edslaptop systemd[1]: update-notifier-download.service: Deactivated successfully.
2026-03-11T17:47:44.989774-06:00 edslaptop systemd[1]: Finished update-notifier-download.service - Download data for packages that failed at package install time.
2026-03-11T17:47:45.190414-06:00 edslaptop systemd[1]: Starting apt-news.service - Update APT News...
2026-03-11T17:47:45.192388-06:00 edslaptop systemd[1]: Starting esm-cache.service - Update the local ESM caches...
2026-03-11T17:47:45.731129-06:00 edslaptop NetworkManager[2386]: <error> [1773272865.7308] device (wlp131s0f0): Couldn't initialize supplicant interface: Timeout was reached
2026-03-11T17:47:46.244065-06:00 edslaptop dbus-daemon[2159]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service' requested by ':1.21' (uid=0 pid=2183 comm="/usr/lib/snapd/snapd" label="unconfined")
2026-03-11T17:47:52.984093-06:00 edslaptop unattended-upgrade: Not running on this development release before 2026-04-01
2026-03-11T17:47:55.726082-06:00 edslaptop NetworkManager[2386]: <warn>  [1773272875.7256] device (wlp131s0f0): re-acquiring supplicant interface (#2).
2026-03-11T17:48:00.731687-06:00 edslaptop NetworkManager[2386]: <error> [1773272880.7310] device (wlp131s0f0): Couldn't initialize supplicant interface: Timeout was reached
2026-03-11T17:48:05.640890-06:00 edslaptop kernel: message repeated 3 times: [ NVRM: nvAssertFailedNoLog: Assertion failed: 0 @ osapi.c:1942]
2026-03-11T17:48:06.031765-06:00 edslaptop kernel: nvidia 0000:01:00.0: Enabling HDA controller
2026-03-11T17:48:10.733402-06:00 edslaptop NetworkManager[2386]: <warn>  [1773272890.7328] device (wlp131s0f0): re-acquiring supplicant interface (#3).
2026-03-11T17:48:11.245227-06:00 edslaptop dbus-daemon[2159]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service' requested by ':1.21' (uid=0 pid=2183 comm="/usr/lib/snapd/snapd" label="unconfined")
2026-03-11T17:48:15.738922-06:00 edslaptop NetworkManager[2386]: <error> [1773272895.7383] device (wlp131s0f0): Couldn't initialize supplicant interface: Timeout was reached
2026-03-11T17:48:16.728489-06:00 edslaptop PackageKit: daemon quit
2026-03-11T17:48:25.727266-06:00 edslaptop NetworkManager[2386]: <warn>  [1773272905.7267] device (wlp131s0f0): re-acquiring supplicant interface (#4).
2026-03-11T17:48:30.732739-06:00 edslaptop NetworkManager[2386]: <error> [1773272910.7321] device (wlp131s0f0): Couldn't initialize supplicant interface: Timeout was reached
2026-03-11T17:48:40.733432-06:00 edslaptop NetworkManager[2386]: <warn>  [1773272920.7328] device (wlp131s0f0): re-acquiring supplicant interface (#5).
2026-03-11T17:48:45.738925-06:00 edslaptop NetworkManager[2386]: <error> [1773272925.7383] device (wlp131s0f0): Couldn't initialize supplicant interface: Timeout was reached
2026-03-11T17:48:45.739088-06:00 edslaptop NetworkManager[2386]: <info>  [1773272925.7384] device (wlp131s0f0): supplicant interface keeps failing, giving up
DPKG: installing .deb package, unmet libxml2 dependency (but software works), how can I fix or ignore the unmet dependency? https://askubuntu.com/questions/1564761/dpkg-installing-deb-package-unmet-libxml2-dependency-but-software-works-ho

I can work from home via Parallels Client (a remote work package), but installing it leaves me with an unmet libxml2 dependency, however the software works fine, but apt keeps complaining and blocking on other installs/updates. How can I fix this?

To install Parallels (RASclient), I have followed the installation instructions from https://kb.parallels.com/en/123304:

IIVQ@Otto:~/Downloads$ sudo dpkg -i RASClient-21.1.26543_x86_64.deb 
(Reading database ... 257374 files and directories currently installed.)
Preparing to unpack RASClient-21.1.26543_x86_64.deb ...
Unpacking rasclient (21.1.26543) over (21.1.26543) ...
dpkg: dependency problems prevent configuration of rasclient:
 rasclient depends on libxml2; however:
  Package libxml2 is not installed.

dpkg: error processing package rasclient (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.28-1) ...
Processing triggers for shared-mime-info (2.4-5build2) ...
Errors were encountered while processing:
 rasclient

(first time I ran this I had multiple unmet dependencies, all of which I could install using apt, except for libxml2)

Trying to install libxml2:

IIVQ@Otto:~/Downloads$ sudo apt-get install libxml2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libxml2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libxml2' has no installation candidate

The Parallels software now works fine.

However, everything I try to do with Apt blocks with an You might want to run 'apt --fix-broken install' to correct these message. If I do that, it does "fix" the install by removing Parallels (RASClient):

iivq@Otto:~$ sudo apt --fix-broken install
[sudo: authenticate] Password: 
Correcting dependencies... Done 
REMOVING:                   
  rasclient

Summary:
  Upgrading: 0, Installing: 0, Removing: 1, Not Upgrading: 0
  1 not fully installed or removed.
  Freed space: 78,3 MB

Continue? [Y/n]

This could work as a workaround (removing parallels everytime I want to update/install something), but I'd rather have it fixed, or if that fails, ignored, as the Parallels client works fine.

This is on a laptop with a fresh Kubuntu 25.10 install. I have installed Parallels client on my desktop a year or so ago, also via .deb package, but it gave and gives me no problems at all. That desktop now runs Kubuntu 25.10 but is upgraded all the way from I think 2016.10, so it might be that libxml2 is still available somewhere on that machine?

Resetting Ubuntu to default deletes what exactly? https://askubuntu.com/questions/1564759/resetting-ubuntu-to-default-deletes-what-exactly

Extreme noob here, some time ago to try and solve a problem I followed a tutorial here that I probably shouldn't have so I thought of resetting since I don't have anything important on ubuntu. Online if you look for it you find this:

To reset Ubuntu to its default settings, you can use the terminal command dconf reset -f /, which will restore all settings to their original values. Remember to back up your current settings first, as this action cannot be undone without a backup.

I don't mind losing the files I have on Ubuntu but I don't know whether it'll affect anything outside my Virtual Machine on my Windows computer. As such I'd like to ask whether that's the case.

Apologies for my awkward prose, English is not my first language and thanks in advance.

having issues changing windows partition size https://askubuntu.com/questions/1564757/having-issues-changing-windows-partition-size

Ubuntu 24.04.4 LTS, windows 11

wanting to expand windows partition

getting the error seen in the image when i click the resize

i have free space

enter image description here

ThinkPad Type 40A9 USB hub suddenly not working after update https://askubuntu.com/questions/1564751/thinkpad-type-40a9-usb-hub-suddenly-not-working-after-update

I am running Kubuntu 24.04 with kernel 6.17.0-14-generic on a ThinkPad T480. Until today, my ThinkPad Type 40A9 dock's USB hub worked perfectly with my laptop.

Today I applied the following security updates when prompted:

Start-Date: 2026-03-12 10:01:59 Commandline: packagekit role='update-packages' Requested-By: Me (1000) Upgrade: libcurl4-openssl-dev:amd64 (8.5.0-2ubuntu10.7, 8.5.0-2ubuntu10.8), libgtk-4-common:amd64 (4.14.5+ds-0ubuntu0.7, 4.14.5+ds-0ubuntu0.9), libfreetype6:amd64 (2.13.2+dfsg-1build3, 2.13.2+dfsg-1ubuntu0.1), libcurl3t64-gnutls:amd64 (8.5.0-2ubuntu10.7, 8.5.0-2ubuntu10.8), libcurl4t64:amd64 (8.5.0-2ubuntu10.7, 8.5.0-2ubuntu10.8), libgtk-4-1:amd64 (4.14.5+ds-0ubuntu0.7, 4.14.5+ds-0ubuntu0.9), libfreetype-dev:amd64 (2.13.2+dfsg-1build3, 2.13.2+dfsg-1ubuntu0.1), curl:amd64 (8.5.0-2ubuntu10.7, 8.5.0-2ubuntu10.8), libgtk-4-bin:amd64 (4.14.5+ds-0ubuntu0.7, 4.14.5+ds-0ubuntu0.9), libgtk-4-media-gstreamer:amd64 (4.14.5+ds-0ubuntu0.7, 4.14.5+ds-0ubuntu0.9) End-Date: 2026-03-12 10:02:03

Now the dock display output and charging still work, but usb devices are usually not recognized, or work for a short amount of time before becoming unresponsive again:

With the external wired keyboard and wireless mouse connected to the laptop directly:

 me@my-laptop:~$ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 046a:c092 CHERRY CHERRY Wireless Device
    Bus 001 Device 004: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
    Bus 001 Device 009: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
    Bus 001 Device 010: ID 13d3:56a6 IMC Networks Integrated Camera
    Bus 001 Device 011: ID 06cb:009a Synaptics, Inc. Metallica MIS Touch Fingerprint Reader
    Bus 001 Device 020: ID 046a:c12a CHERRY CHERRY USB KEYBOARD
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp. Card Reader
    Bus 002 Device 003: ID 17ef:101f Lenovo 
    Bus 002 Device 004: ID 17ef:1020 Lenovo ThinkPad Dock Hub
    Bus 002 Device 005: ID 17ef:3062 Lenovo ThinkPad Dock Ethernet [Realtek RTL8153B]
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

with the wired keyboard connected to the dock, and the wireless mouse attached directly to the laptop:

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 046a:c092 CHERRY CHERRY Wireless Device
Bus 001 Device 004: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
Bus 001 Device 009: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 010: ID 13d3:56a6 IMC Networks Integrated Camera
Bus 001 Device 011: ID 06cb:009a Synaptics, Inc. Metallica MIS Touch Fingerprint Reader
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp. Card Reader
Bus 002 Device 003: ID 17ef:101f Lenovo 
Bus 002 Device 004: ID 17ef:1020 Lenovo ThinkPad Dock Hub
Bus 002 Device 005: ID 17ef:3062 Lenovo ThinkPad Dock Ethernet [Realtek RTL8153B]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

I have already disabled USB autosuspend:

   cat /sys/module/usbcore/parameters/autosuspend
   -1

What to try further?

Edit: (1) USB storage sticks are still recognized. Things like phones, USB keyboards, are not, although phones will charge. (2) Same behaviour with older kernel 6.14.0-37-generic (3) Everything works on a separate Windows laptop.

Broadcom driver problems, can't install some software https://askubuntu.com/questions/1564682/broadcom-driver-problems-cant-install-some-software

After a problem with an SSD on my ancient Dell desktop, I reinstalled Ubuntu 24.04 and then reinstalled user files from a backup. Trying to reinstall some software (UrBackup Server, e.g.) the install process failed, apparently because the Broadcom wireless driver couldn't be compiled due to a missing header file.

There's an incredible amount of stuff on the web related to Broadcom driver issues, and after several days of trying to make sense of it all, I'm stuck. I can't even delete the Broadcom driver without the process failing due to the missing header file.

The wireless module is a BCM4313 (14e4:4727). My kernel is 6.17.0-14-generic. At the moment there is no driver reported for the wireless interface. I can live without wireless if I must, but I'd really like to be able to install software again.

Given the unknown configuration of my system now, maybe the output from lshw -C network would be a good starting point:

# lshw -c network
*-network UNCLAIMED       
       description: Network controller
       product: BCM4313 802.11bgn Wireless Network Adapter
       vendor: Broadcom Inc. and subsidiaries
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:fe500000-fe503fff

More research revealed the following discussion on discourse.ubuntu.com, which shed some light on the problem and also offered a solution which worked for me.

https://discourse.ubuntu.com/t/bcm4360-driver-works-on-25-10-but-not-on-24-04-3-lts/76543

Ubuntu 24.04 freezes with "nvme nvme0: I/O" timeout error https://askubuntu.com/questions/1557696/ubuntu-24-04-freezes-with-nvme-nvme0-i-o-timeout-error

I am running Ubuntu 24.04.3 LTS (codename "noble") in an ASUS Vivobook 15. My kernel version is 6.14.0-33-generic according to the output of uname -r.

Ever since I got this laptot, my Ubuntu system would sometimes "randomly" freeze. This would occur rarely enough that it didn't represent a problem. However, today I exeperienced an annoying sequence of repeated freezes which got me looking into the problem more closely.

I ran dmesg -w and waited for the computer to freeze. It eventually did, precisely after the following output:

nvme nvme0: I/O tag 4 timeout, aborting req (WRITE), QID 7, size 4096
nvme nvme0: I/O tag 7 timeout, aborting req (WRITE), QID 7, size 4096
nvme nvme0: I/O tag 9 timeout, aborting req (WRITE), QID 7, size 4096
nvme nvme0: I/O tag 4 timeout, aborting req (WRITE), QID 0, size 4096
nvme nvme0: I/O tag 10 timeout, aborting req (WRITE), QID 0, size 4096

So it seems the freezing was triggered by an error in a write operation of 4KB. I found two other people with this issue (1, 2), but their final solution was to change the SSD, which is not economically viable for me.

After a force shutdown (the only way to handle the freezing), I ran sudo dmesg -T | grep -i nvme -n -A5 -B5, since the issue was comming from nvme. The boot section of the output looked normal:

nvme nvme0: pci function 10000:e1:00.0
nvme nvme0: allocated 64 MiB host memory buffer (1 segment).
nvme nvme0: 8/0/0 default/read/poll queues

I tried changing the GRUB_CMDLINE_LINX_DEFAULT from

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvme_core.default_ps_max_latency_us=0"

to be frank simply because ChatGPT recommended it (I know this is embarassing). This only caused freezings to become worse, so I undid it.

Now I've changed GRUB_CMDLINE_LINUX_DEFAULT to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=off"

because in one of the hyperlinks I gave above someone recommended it. I have not experienced any more freezes, but it's only been a couple of hours so the issue might continue.

In case it's useful, here's the output of sudo smartctl -a /dev/nvme0:

smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.14.0-33-generic] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       ADATA LEGEND 710
Serial Number:                      2O522L1NCCAF
Firmware Version:                   VC3S500T
PCI Vendor/Subsystem ID:            0x1cc1
IEEE OUI Identifier:                0x707c18
Controller ID:                      1
NVMe Version:                       1.4
Number of Namespaces:               1
Namespace 1 Size/Capacity:          1,024,209,543,168 [1.02 TB]
Namespace 1 Formatted LBA Size:     512
Namespace 1 IEEE EUI-64:            707c18 1b52002a04
Local Time is:                      Wed Oct 22 18:13:19 2025 -03
Firmware Updates (0x12):            1 Slot, no Reset required
Optional Admin Commands (0x0017):   Security Format Frmw_DL Self_Test
Optional NVM Commands (0x005e):     Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp
Log Page Attributes (0x02):         Cmd_Eff_Lg
Maximum Data Transfer Size:         32 Pages
Warning  Comp. Temp. Threshold:     100 Celsius
Critical Comp. Temp. Threshold:     110 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     8.00W       -        -    0  0  0  0   230000   50000
 1 +     4.00W       -        -    1  1  1  1     4000   50000
 2 +     3.00W       -        -    2  2  2  2     4000  250000
 3 -   0.0300W       -        -    3  3  3  3     5000   10000
 4 -   0.0050W       -        -    4  4  4  4    54000   45000

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +     512       0         0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        30 Celsius
Available Spare:                    100%
Available Spare Threshold:          32%
Percentage Used:                    0%
Data Units Read:                    3,338,108 [1.70 TB]
Data Units Written:                 5,326,516 [2.72 TB]
Host Read Commands:                 41,296,965
Host Write Commands:                76,772,047
Controller Busy Time:               0
Power Cycles:                       503
Power On Hours:                     131
Unsafe Shutdowns:                   81
Media and Data Integrity Errors:    0
Error Information Log Entries:      0
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0

Error Information (NVMe Log 0x01, 8 of 8 entries)
No Errors Logged

Self-test Log (NVMe Log 0x06)
Self-test status: No self-test in progress
No Self-tests Logged

What's the root cause of my errors? Can I fix them in some way that does not involve buying a new SSD?

UUID=xxx does not exist. Dropping to a shell on standard (no dual boot) on Lenovo Idea Pad 3 https://askubuntu.com/questions/1525955/uuid-xxx-does-not-exist-dropping-to-a-shell-on-standard-no-dual-boot-on-lenov

I know there are duplicates of this, and I have gone thru many of them. Most promising I thought were UUID=xxx does not exist. Dropping to a shell and ALERT! /dev/disk/by-uuid/xxxxxxxxx does not exist. Dropping to a shell ... no dual boot ... I sense my /boot/efi may be somehow corrupt.

I have done all that to no avail. the primary error that I see is: ALERT: UUID=6fce33c4-a9bb-444c-bb8a-c1ed59b986a3 does not exist. Dropping to a shell.

My problem started after I applied some software while on Ubuntu 22.04. I can start up in recovery mode. I have run fsck on /boot/efi.

Details:

blkid (note, nothing shows up for /dev/nvme0n1p1)

/dev/nvme0n1p2: UUID="6fce33c4-a9bb-444c-bb8a-c1ed59b986a3" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="0cd0904e-a12f-4a8d-ab3f-ad85c45a7082"

blkid --uuid 6fce33c4-a9bb-444c-bb8a-c1ed59b986a3mm :

/dev/nvme0n1p2 (this is mounted at /)

blkid --uuid 6307-B41C

/dev/nvme0n1p1  (this is /boot/efi)

df :

 Filesystem     1K-blocks     Used Available Use% Mounted on
tmpfs            1179464     2280   1177184   1% /run
/dev/nvme0n1p2 244506940 57914480 174099404  25% /
tmpfs            5897316   117260   5780056   2% /dev/shm
tmpfs               5120        8      5112   1% /run/lock
efivarfs             184       95        85  53% /sys/firmware/efi/efivars
/dev/nvme0n1p1    523248     6288    516960   2% /boot/efi
tmpfs            1179460      136   1179324   1% /run/user/1000

fstab :

UUID=6fce33c4-a9bb-444c-bb8a-c1ed59b986a3 /               ext4    errors=remount-ro 0       1
 /boot/efi was on /dev/nvme0n1p1 during installation
**UUID=6307-B41C**  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

fdisk -l (ignoring all loop entries)

Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors  
Disk model: KBG40ZNT256G TOSHIBA MEMORY  
Units: sectors of 1 * 512 = 512 bytes  
Sector size (logical/physical): 512 bytes / 512 bytes  
I/O size (minimum/optimal): 512 bytes / 512 bytes  
Disklabel type: gpt  
Disk identifier: F9060F62-5530-4003-B7BA-BBA3CF4F5F54  

Device           Start       End   Sectors  Size Type  
/dev/nvme0n1p1    2048   1050623   1048576  512M EFI System  
/dev/nvme0n1p2 1050624 500117503 499066880  238G Linux filesystem  

cat /etc/os-release

PRETTY_NAME="Ubuntu 24.04.1 LTS"  
NAME="Ubuntu"  
VERSION_ID="24.04"  
VERSION="24.04.1 LTS (Noble Numbat)"  
VERSION_CODENAME=noble  
ID=ubuntu  
ID_LIKE=debian  
HOME_URL="https://www.ubuntu.com/"  
SUPPORT_URL="https://help.ubuntu.com/"  
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"  
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"  
UBUNTU_CODENAME=noble  
LOGO=ubuntu-logo  

lsb_release -a :

No LSB modules are available.  
Distributor ID: Ubuntu  
Description:    Ubuntu 24.04.1 LTS  
Release:    24.04  
Codename:   noble  

hostnamectl :

 Static hostname: mjcasile-IdeaPad-3-15IIL05  
       Icon name: computer-laptop  
         Chassis: laptop 💻  
      Machine ID: 32767bc4a6ea4c75b2eb24c855255e99  
         Boot ID: a58c217abae64b8fb394aacd5fa86919  
Operating System: Ubuntu 24.04.1 LTS              
          Kernel: Linux 6.8.0-41-generic  
    Architecture: x86-64  
 Hardware Vendor: Lenovo  
  Hardware Model: IdeaPad 3 15IIL05  
Firmware Version: EMCN40WW  
   Firmware Date: Mon 2020-08-10  
    Firmware Age: 4y 3w 6d           

When I power down after initramfs prompt ... I come to screen with the following options:

*Ubuntu
Advanced options for Ubuntu
Memory test (memtest 86+x87.efi)
Memory test (memtest 86+x87.efi, serial console)
UEFI Firmware Settings

When I do UEFI Firmware Settings, I verify that boot from USB is enabled

I have tried all of the options, but generally do Advanced options for Ubuntu and select one of the recovery options (6.8.0.41 or 6.8.0.40)

I have tried going back to legacy boot (instead of UEFI) to no avail.
I attempted this once and have been on UEFI before and since. I updated my USB boot drive and came up with that (to do the mount work from one of the prior answers). I had to use the F12 trick, but that is done and it did not solve the problem. <Escape> on boot does get me to a grub prompt. Not in my comfort zone/happy place. I hope someone can see something I don't.

I have run fsck on /dev/nvme0n1p2 and /dev/nvme0n1p1 . On nvme0n1p2 it said it was clean and gave me block counts. Not much info nvme0n1p1.

From problem ALERT! /dev/disk/by-uuid/xxxxxxxxx does not exist. Dropping to a shell ... I have come up on my USB drive and gone thru the instructions to replace /proc /dev and /sys with those directories from the USB drive install.

Was not quite clear where to replace the UUID=... with root=/dev/nvme0n1p2 ... so I did it in /etc/fstab ... and it did not change anything.

Currently, the way I get to advanced options (from which I run in recovery mode) is that when I fail and go to initramfs prompt, I power down and power back up ... then the advanced options menu appears.

In getting to ubuntu menu, I selected advanced options, then when I selected 6.8.0.41 recovery, I hit 'e' instead of enter and got this:
getparams 'Ubuntu, with Linux 6.8.0.41 generic (recovery mode)'
recordfail load-video insmod gzio if [ x$grub_platform = xxen ]; then insmod zxio; insmod lzopio; fi
insmod part_gpt insmod ext2 search --no-floppy --fs-uuid --set=root 6fce33c4-a9bb-444c-bb8a-c1ed59b986a3
echo 'Loading Linux 6.8.0.41-generic ...'
linux /boot/vmlinuz-6.8.041-generic root=UUID=6fce33c4-a9bb-444c-bb8a-c1ed59b986a3 ro recovery nomodeset dis-ucode_ ...
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.8.0.41-generic

Note the above was taken with a cell phone camera and transcribed .. but it should be relatively accurate.

I did the grub commandline modification, switch root=UID=... to
root=/dev/nvme0n1p2 ... when I ran it against the 6.8.0.41 (not recovery) ... I still dropped into initramfs prompt, but the instead:
ALERT! /dev/nvme0n1p2 does not exist. Dropping to a shell!

Use KDE Plasma desktop over VNC on Kubuntu 22.04 https://askubuntu.com/questions/1498847/use-kde-plasma-desktop-over-vnc-on-kubuntu-22-04

In short: how I can I use the Plasma desktop environment over VNC?


I am running Ubuntu 22.04.3 LTS with KDE Plasma 5.24.7 (the "Kubuntu" image install).

Logging in to the machine physically is fine and the UI looks awesome. Now I want to access the machine using something like remote desktop, I figured VNC is the best option.

So I install and run tightvncserver on the machine, basically following this guide:

sudo apt install tightvncserver
tightvncserver :1

I can already remote in now, from Windows, using the RealVNC client. However, the screen is just empty.

So I go back to my machine to change ~/.vnc/xstartup and make it look like:

#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &

After restarting the VNC server I can now remote in and actually see and use a desktop, but the environment is of course now Xfce, instead of KDE Plasma like I use with physical access.
How can I use KDE when using VNC? Which xstartup command would I need?


I have already tried startkde &, startx & and startplasma-x11 & but all of those just result in a plain grey screen.

Specifically I found this guide which suggests the following for xstartup:

#!/bin/sh
# Start up the standard system desktop
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
/usr/bin/cinnamon-session
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
x-window-manager &

Now I get the Plasma loading splash screen on VNC connect, but after a few seconds the screen becomes black. The full error log for this from TightVNC:

03/01/24 11:37:50 Xvnc version TightVNC-1.3.10
03/01/24 11:37:50 Copyright (C) 2000-2009 TightVNC Group
03/01/24 11:37:50 Copyright (C) 1999 AT&T Laboratories Cambridge
03/01/24 11:37:50 All Rights Reserved.
03/01/24 11:37:50 See http://www.tightvnc.com/ for information on TightVNC
03/01/24 11:37:50 Desktop name 'X' (canis-major:1)
03/01/24 11:37:50 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
03/01/24 11:37:50 Listening for VNC connections on TCP port 5901
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: xrender >= 0.5 required to create pixmap cursors
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 32195, result = 0
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 355, resource id: 32, major code: 53 (CreatePixmap), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 356, resource id: 8388619, major code: 55 (CreateGC), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 357, resource id: 8388619, major code: 55 (CreateGC), minor code: 0
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit5: opened connection to :1
qt.qpa.xcb: XKeyboard extension not present on the X server
Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_style.so"
kdeinit5: Got SETENV 'GTK_RC_FILES=/etc/gtk/gtkrc:/home/robert/.gtkrc:/home/robert/.config/gtkrc' from launcher.
kdeinit5: Got SETENV 'GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/robert/.gtkrc-2.0:/home/robert/.config/gtkrc-2.0' from launcher.
QDBusConnection: error: could not send signal to service "" path "//home/robert/.kde/share/config/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/robert/.kde/share/config/kdeglobals
Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
Xlib:  extension "XInputExtension" missing on display ":1".
kdeinit5: Got SETENV 'XCURSOR_THEME=breeze_cursors' from launcher.
kdeinit5: Got SETENV 'XCURSOR_SIZE=24' from launcher.
org.kde.plasma.session: process job  "kcminit_startup" finished with exit code  0
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
Warning: Setting a new default format with a different version or profile after the global shared context is created may cause issues with context sharing.
The X11 connection broke: Unsupported extension used (code 2)
XIO:  fatal IO error 0 (Success) on X server ":1"
      after 183 requests (5 known processed) with 0 events remaining.
qt.qpa.xcb: XKeyboard extension not present on the X server
Qt: Session management error: networkIdsList argument is NULL
Xlib:  extension "MIT-SCREEN-SAVER" missing on display ":1".
kdeinit5: Got SETENV 'SESSION_MANAGER=local/canis-major:@/tmp/.ICE-unix/32251,unix/canis-major:/tmp/.ICE-unix/32251' from launcher.
kdeinit5: Got SETENV 'SESSION_MANAGER=local/canis-major:@/tmp/.ICE-unix/32251,unix/canis-major:/tmp/.ICE-unix/32251' from launcher.
Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_kgamma.so"
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/powerdevil.desktop" ("/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdevil")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/baloo_file.desktop" ("/usr/lib/x86_64-linux-gnu/libexec/baloo_file")
Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
kcm_touchpad: Using X11 backend
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.plasmashell.desktop" ("/usr/bin/plasmashell")
Xlib:  extension "XInputExtension" missing on display ":1".
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/xembedsniproxy.desktop" ("/usr/bin/xembedsniproxy")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop" ("/usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1")
kwin_platform_x11_standalone: Compositing disabled: no composite extension available
kwin_core: Compositing is not possible
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/kaccess.desktop" ("/usr/bin/kaccess")
Baloo File Indexing has been disabled
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pam_kwallet_init.desktop" ("/usr/share/libpam-kwallet-common/pam_kwallet_init")
kf.config.core: "\"fsrestore1\" - conversion of \"0,0,0,0\" to QRect failed"
kf.config.core: "\"fsrestore2\" - conversion of \"0,0,0,0\" to QRect failed"
kwin_core: Failed to update gamma ramp for output KWin::X11PlaceholderOutput(0x55c9cb2ee1e0, name="Placeholder-0", geometry=QRect(0,0 1920x1080), scale=1)
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 536, resource id: 20971525, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: XKeyboard extension not present on the X server
kde.xembedsniproxy: could not load damage extension. Quitting
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 544, resource id: 20971526, major code: 18 (ChangeProperty), minor code: 0
Xlib XKB extension major= 1  minor= 0
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
New PolkitAgentListener  0x5613b941ae00
Adding new listener  PolkitQt1::Agent::Listener(0x5613b94433a0) for  0x5613b941ae00
Listener online
X server has not matching XKB extension

qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 564, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
Authentication agent result: true
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pulseaudio.desktop" ("/usr/bin/start-pulseaudio-x11")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.discover.notifier.desktop" ("/usr/lib/x86_64-linux-gnu/libexec/DiscoverNotifier")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/gmenudbusmenuproxy.desktop" ("/usr/bin/gmenudbusmenuproxy")
AUDIT: Wed Jan  3 11:37:51 2024: 32132 Xtightvnc: client 12 rejected from local host
Failure: Module initialization failed
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/xdg-user-dirs.desktop" ("/usr/bin/xdg-user-dirs-update")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.kdeconnect.daemon.desktop" ("/usr/lib/x86_64-linux-gnu/libexec/kdeconnectd")
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
org.kde.powerdevil: org.kde.powerdevil.discretegpuhelper.hasdualgpu failed
org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed ""
org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
kf.plasma.quick: Applet preload policy set to 1
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/geoclue-demo-agent.desktop" ("/usr/libexec/geoclue-2.0/demos/agent")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/at-spi-dbus-bus.desktop" ("/usr/libexec/at-spi-bus-launcher", "--launch-immediately")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/im-launch.desktop" ("/usr/bin/sh", "-c", "if [ \"x$XDG_SESSION_TYPE\" = \"xwayland\" ] ; then exec env IM_CONFIG_CHECK_ENV=1 im-launch true; fi")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/spice-vdagent.desktop" ("/usr/bin/spice-vdagent")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/kup-daemon.desktop" ("/usr/bin/kup-daemon")
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/snap-userd-autostart.desktop" ("/usr/bin/snap", "userd", "--autostart")
org.kde.powerdevil: DPMS extension not available
qt.qpa.xcb: XKeyboard extension not present on the X server
kup.daemon: "Kup is not enabled, enable it from the system settings module. You can do that by running kcmshell5 kup"
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 612, resource id: 58720261, major code: 18 (ChangeProperty), minor code: 0
org.kde.powerdevil: Handle button events action could not check for screen configuration
org.kde.powerdevil: The profile  "AC" tried to activate "DimDisplay" a non-existent action. This is usually due to an installation problem, a configuration problem, or because the action is not supported
org.kde.powerdevil: The profile  "AC" tried to activate "DPMSControl" a non-existent action. This is usually due to an installation problem, a configuration problem, or because the action is not supported
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed ""
org.kde.kscreen: Failed to request backend: unknown error
org.kde.powerdevil: Handle button events action could not check for screen configuration
QObject::connect(QObject, ConfigMonitor::Private): invalid nullptr parameter
org.kde.kscreen: Failed to request backend: unknown error
qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:118:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:118:19: QML Loader: Binding loop detected for property "height"
The X11 connection broke: Unsupported extension used (code 2)
XIO:  fatal IO error 2 (No such file or directory) on X server ":1"
      after 478 requests (441 known processed) with 0 events remaining.
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 819, resource id: 46137350, major code: 15 (QueryTree), minor code: 0
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP

03/01/24 11:37:53 Got connection from client 127.0.0.1
03/01/24 11:37:53 Using protocol version 3.8
03/01/24 11:37:53 Full-control authentication passed by 127.0.0.1
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 24
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 16
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 22
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 21
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 15
03/01/24 11:37:53 Using zlib encoding for client 127.0.0.1
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding -314
03/01/24 11:37:53 Enabling full-color cursor updates for client 127.0.0.1
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding -223
03/01/24 11:37:53 Pixel format for client 127.0.0.1:
03/01/24 11:37:53   8 bpp, depth 6
03/01/24 11:37:53   true colour: max r 3 g 3 b 3, shift r 4 g 2 b 0
03/01/24 11:37:53 Using raw encoding for client 127.0.0.1
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 24
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 22
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 21
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 16
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 15
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding -314
03/01/24 11:37:53 Enabling full-color cursor updates for client 127.0.0.1
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding -223
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 24
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 16
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 22
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 21
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 15
03/01/24 11:37:53 Using zlib encoding for client 127.0.0.1
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding -314
03/01/24 11:37:53 Enabling full-color cursor updates for client 127.0.0.1
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding -223
03/01/24 11:37:53 Pixel format for client 127.0.0.1:
03/01/24 11:37:53   32 bpp, depth 24, little endian
03/01/24 11:37:53   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
03/01/24 11:37:53   no translation needed
kdeconnect.core: Could not query capabilities from notifications server
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 857, resource id: 8388622, major code: 18 (ChangeProperty), minor code: 0
03/01/24 11:38:25 Client 127.0.0.1 gone
03/01/24 11:38:25 Statistics:
03/01/24 11:38:25   key events received 2, pointer events 37
03/01/24 11:38:25   framebuffer updates 683, rectangles 39590, bytes 9729171
03/01/24 11:38:25     cursor shape updates 3, bytes 1092
03/01/24 11:38:25     raw rectangles 1, bytes 17292
03/01/24 11:38:25     zlib rectangles 39586, bytes 9710787
03/01/24 11:38:25   raw bytes equivalent 820767620, compression ratio 84.370986

Similar questions that are close but of no help to me:

Ubuntu Server 20.04 install ends with a kernel panic https://askubuntu.com/questions/1376857/ubuntu-server-20-04-install-ends-with-a-kernel-panic

I've been trying to install Ubuntu Server from a fresh ISO and a USB drive that I know works (It has been used to install Ubuntu on other machines). When I boot from the USB drive, I get a purple screen with a few icons at the bottom, followed by a kernel panic message.

Kernel panic message:

[   0.358907] ? rest_init+0xb0/0xb0
[   0.358955] kernel_init+0xe/0x110
[   0.358991] ret_from_fork+0x35/0x40
[   0.359027] Modules linked in:
[   0.359063] CR2: 0000000000000018
[   0.359101] ---[ end trace 4b3935dffbf38765 ]---
[   0.359139] RIP: 0010:acpi_ns_remove_node+0x35/0x84
[   0.359178] Code: 00 00 00 48 c7 c2 a8 bc ed af 48 c7 c6 50 bc ed af 48 89 e
41 54 49 89 fc bf 8a 00 00 00 e8 e0 2e 01 00 49 8b 4c 24 10 31 d2 <48> 8b 41 1
4c 39 e0 74 09 48 89 c2 48 8b 40 20 eb f2 49 8b 44 24
[   0.359264] RSP: 0000:ffff9e2a4001fbb0 EFLAGS: 00010246
[   0.359303] RAX: 0000000000000000 RBX: ffff90a4f6b11000 RCX: 0000000000000000
[   0.359346] RDX: 0000000000000000 RSI: ffffffffafedbc50 RDI: 0000000000000008
[   0.359388] RBP: ffff9e2a4001fbb8 R08: ffffffffb0b5e880 R09: ffffffffaf3b1a0
[   0.359430] R10: ffff90a4f68662c0 R11: 0000000000000001 R12: ffffffffb0b5e88
[   0.359472] R13: 0000000000000000 R14: 0000000000000005 R15: ffff90a4f6b1100
[   0.359515] FS:  0000000000000000(0000) GS:ffff90a4f7a80000(0000) knlGS:0000
000000000000
[   0.359570] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   0.359610] CR2: 0000000000000018 CR3: 0000000005d40a000 CR4: 00000000000006e
[   0.359653] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0
000009
[   0.359719] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009 ]---
_
Problems with update/upgrade Ubuntu 20.10 on Raspberry pi 4 with SSD https://askubuntu.com/questions/1312996/problems-with-update-upgrade-ubuntu-20-10-on-raspberry-pi-4-with-ssd

I have a Raspberry Pi 4 8GB with Kingston SSD of 240 GB and I installed Ubuntu 20.10 on it with Berryboot. Everything seems to be fine but when I try to do an update and upgrade on terminal I get this error:

Setting up flash-kernel (3.103ubuntu1~20.10.1) ...
flash-kernel: deferring update (trigger activated)
Setting up u-boot-rpi:arm64 (2020.10+dfsg-1ubuntu0~20.10.1) ...
Error: missing /boot/firmware, did you forget to mount it?
dpkg: error processing package u-boot-rpi:arm64 (--configure):
 installed u-boot-rpi:arm64 package post-installation script subprocess returned
 error exit status 1
Processing triggers for flash-kernel (3.103ubuntu1~20.10.1) ...
Can't find /boot/vmlinuz- (see /tmp/flash-kernel-no-kernel-error.log)
dpkg: error processing package flash-kernel (--configure):
 installed flash-kernel package post-installation script subprocess returned err
or exit status 1
Errors were encountered while processing:
 u-boot-rpi:arm64
 flash-kernel
E: Sub-process /usr/bin/dpkg returned an error code (1)

With this I also can't download any programs.

I'm searching the web for days now and still couldn't fix this.

Who knows what to do?

Thanks!

How to diagnose/stop gdm-x-session spamming syslog https://askubuntu.com/questions/1258011/how-to-diagnose-stop-gdm-x-session-spamming-syslog

[Note: this is similar to issue #418 in the gnome gitlab but it happens to me constantly and I'm not running Evolution. I filed this there too, but gnome 3.28.2 is no longer supported there.]

I'm not sure how long this has been going on or what triggered it, but I recently noticed that my syslog is being spammed with the same 3 lines repeatedly. For example:

$ tail -f /var/log/syslog
Jul 10 04:35:53 496-MBP /usr/lib/gdm3/gdm-x-session[2094]: (II) RADEON(0): EDID vendor "APP", prod id 41006
Jul 10 04:35:53 496-MBP /usr/lib/gdm3/gdm-x-session[2094]: (II) RADEON(0): Printing DDC gathered Modelines:
Jul 10 04:35:53 496-MBP /usr/lib/gdm3/gdm-x-session[2094]: (II) RADEON(0): Modeline "2880x1800"x0.0  337.75  2880 2928 2960 3040  1800 1803 1809 1852 +hsync -vsync (111.1 kHz eP)
Jul 10 04:35:53 496-MBP /usr/lib/gdm3/gdm-x-session[2094]: (II) RADEON(0): EDID vendor "APP", prod id 41006
Jul 10 04:35:53 496-MBP /usr/lib/gdm3/gdm-x-session[2094]: (II) RADEON(0): Printing DDC gathered Modelines:
Jul 10 04:35:53 496-MBP /usr/lib/gdm3/gdm-x-session[2094]: (II) RADEON(0): Modeline "2880x1800"x0.0  337.75  2880 2928 2960 3040  1800 1803 1809 1852 +hsync -vsync (111.1 kHz eP)
Jul 10 04:35:53 496-MBP /usr/lib/gdm3/gdm-x-session[2094]: (II) RADEON(0): EDID vendor "APP", prod id 41006
Jul 10 04:35:53 496-MBP /usr/lib/gdm3/gdm-x-session[2094]: (II) RADEON(0): Printing DDC gathered Modelines:
Jul 10 04:35:53 496-MBP /usr/lib/gdm3/gdm-x-session[2094]: (II) RADEON(0): Modeline "2880x1800"x0.0  337.75  2880 2928 2960 3040  1800 1803 1809 1852 +hsync -vsync (111.1 kHz eP)
Jul 10 04:35:53 496-MBP /usr/lib/gdm3/gdm-x-session[2094]: (II) RADEON(0): EDID vendor "APP", prod id 41006
Jul 10 04:35:53 496-MBP /usr/lib/gdm3/gdm-x-session[2094]: (II) RADEON(0): Printing DDC gathered Modelines:
Jul 10 04:35:53 496-MBP /usr/lib/gdm3/gdm-x-session[2094]: (II) RADEON(0): Modeline "2880x1800"x0.0  337.75  2880 2928 2960 3040  1800 1803 1809 1852 +hsync -vsync (111.1 kHz eP)

etc. (at least 8 times per second)

I'm trying to figure out (and fix) what's causing this. I'd appreciate any tips/pointers as to how to diagnose this.

I'm running Ubuntu on an older (2015-ish) MacBook Pro with Gnome 3.28.2 (and all apt-installed sw up-to-date):

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:    18.04
Codename:   bionic
$ apt-cache policy gdm3
gdm3:
  Installed: 3.28.3-0ubuntu18.04.4
  Candidate: 3.28.3-0ubuntu18.04.4
  Version table:
 *** 3.28.3-0ubuntu18.04.4 500
        500 http://ca.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     3.28.0-0ubuntu1 500
        500 http://ca.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
$ apt-cache policy xserver-xorg
xserver-xorg:
  Installed: (none)
  Candidate: 1:7.7+19ubuntu7.1
  Version table:
     1:7.7+19ubuntu7.1 500
        500 http://ca.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
     1:7.7+19ubuntu7 500
        500 http://ca.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
$ uname -a
Linux 496-MBP 5.3.0-62-generic #56~18.04.1-Ubuntu SMP Wed Jun 24 16:17:03 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ inxi
CPU~Quad core Intel Core i7-4980HQ (-MT-MCP-) speed/max~798/4000 MHz Kernel~5.3.0-62-generic x86_64 Up~51 min Mem~2430.2/15889.5MB HDD~1000.6GB(35.4% used) Procs~337 Client~Shell inxi~2.3.56
$ xrandr
Screen 0: minimum 320 x 200, current 2880 x 1800, maximum 16384 x 16384
eDP connected primary 2880x1800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   2880x1800     59.99*+
   1920x1200     59.95  
   1920x1080     60.00  
   1600x1200     59.95  
   1680x1050     60.00  
   1400x1050     60.00  
   1280x1024     59.95  
   1440x900      59.99  
   1280x960      59.99  
   1280x854      59.95  
   1280x800      59.96  
   1280x720      59.97  
   1152x768      59.95  
   1024x768      59.95  
   800x600       59.96  
   848x480       59.94  
   720x480       59.94  
   640x480       59.94  
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
$ lspci -nn | grep -E 'VGA|Display'
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Venus XT [Radeon HD 8870M / R9 M270X/M370X] [1002:6821] (rev 83)

Please let me know if there's other information that could help with a diagnosis.

Thanks!

[19141:19141:0425/011526.129520:ERROR:sandbox_linux.cc(374) InitializeSandbox() called with multiple threads in process gpu-process https://askubuntu.com/questions/1230508/19141191410425-011526-129520errorsandbox-linux-cc374-initializesandbox

When I run the google-chrome

- [19141:19141:0425/011526.129520:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.

This error is coming also chrome is not opening.

How to fix an apt upgrade error https://askubuntu.com/questions/1197394/how-to-fix-an-apt-upgrade-error

I could really use some help trying to figure out what to do with this, but I can't upgrade my server until it's fixed:

sudo apt -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  apport debconf
Suggested packages:
  apport-gtk | apport-kde debconf-doc debconf-utils libterm-readline-gnu-perl libgtk2-perl
  libnet-ldap-perl libqtgui4-perl libqtcore4-perl
The following packages will be upgraded:
  apport debconf
2 upgraded, 0 newly installed, 0 to remove and 225 not upgraded.
31 not fully installed or removed.
Need to get 257 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 debconf all 1.5.58ubuntu2 [136 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 apport all 2.20.1-0ubuntu2.21 [121 kB]
Fetched 257 kB in 0s (16.3 MB/s)
Preconfiguring packages ...
(Reading database ... 163132 files and directories currently installed.)
Preparing to unpack .../debconf_1.5.58ubuntu2_all.deb ...
Traceback (most recent call last):
  File "/usr/bin/pyclean", line 24, in <module>
    import logging
  File "/usr/bin/lib/python2.7/logging/__init__.py", line 26, in <module>
    import sys, os, time, cStringIO, traceback, warnings, weakref, collections
  File "/usr/bin/lib/python2.7/weakref.py", line 14, in <module>
    from _weakref import (
ImportError: cannot import name _remove_dead_weakref
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Traceback (most recent call last):
  File "/usr/bin/pyclean", line 24, in <module>
    import logging
  File "/usr/bin/lib/python2.7/logging/__init__.py", line 26, in <module>
    import sys, os, time, cStringIO, traceback, warnings, weakref, collections
  File "/usr/bin/lib/python2.7/weakref.py", line 14, in <module>
    from _weakref import (
ImportError: cannot import name _remove_dead_weakref
dpkg: error processing archive /var/cache/apt/archives/debconf_1.5.58ubuntu2_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 26, in <module>
    import logging
  File "/usr/bin/lib/python2.7/logging/__init__.py", line 26, in <module>
    import sys, os, time, cStringIO, traceback, warnings, weakref, collections
  File "/usr/bin/lib/python2.7/weakref.py", line 14, in <module>
    from _weakref import (
ImportError: cannot import name _remove_dead_weakref
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/debconf_1.5.58ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

on an EC2 micro. Any ideas?

UPDATE: I appreciate the comment below from @FlorianDiesch. That is the correct assessment. I must have installed (poorly, I might add) a separate version of python that had tendrils in /usr/bin/lib. So I removed all of the offending files and cleaned up my .bashrc, which added to the confusion by exporting references to them. After all that was removed, I added the distro versions for 2.7 and 3.5 to update-alternatives:

sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.5 2

setting 2.7 as default.

Reinstalled pip:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py 

Then attended to apt:

sudo apt -f install
sudo apt update
sudo apt upgrade

And all is well with the world... except that in my frustration I nuked a config file that is going to take a second to restore. oh well. 🤷 Thanks

MariaDB fails despite apparmor profile https://askubuntu.com/questions/1185710/mariadb-fails-despite-apparmor-profile

Starting MariaDB fails on my Ubuntu 19 installation after this:

nov 02 16:40:51 farnsworth systemd[1]: Starting MariaDB 10.3.17 database server...
nov 02 16:40:51 farnsworth mysqld[5328]: 2019-11-02 16:40:51 0 [Note] /usr/sbin/mysqld (mysqld 10.3.17-MariaDB-1) starting as process 5328 ...
nov 02 16:40:52 farnsworth audit[5328]: AVC apparmor="ALLOWED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=5328 comm="mysqld" requested_mask="w" denied_mask="w" fsuid=123 ouid=0
nov 02 16:40:52 farnsworth audit[5328]: AVC apparmor="ALLOWED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=5328 comm="mysqld" requested_mask="w" denied_mask="w" fsuid=123 ouid=0
nov 02 16:40:52 farnsworth systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE

I have created an apparmor profile where I'm trying to make it allow /usr/sbin/mysqld writing rights on run/systemd/notify:

# Last Modified: Fri Nov  1 22:57:29 2019
#include <tunables/global>

# vim:syntax=apparmor
# AppArmor policy for mysqld
# ###AUTHOR###
# Redacted
# ###COPYRIGHT###
# 2019
# ###COMMENT###
# Ubuntu 19/MariaDB
# No template variables specified

/usr/sbin/mysqld flags=(complain) {
  #include <abstractions/base>
  #include <abstractions/evince>
  #include <abstractions/nameservice>

  /etc/mysql/conf.d/ r,
  /etc/mysql/conf.d/mysql.cnf r,
  /etc/mysql/conf.d/mysqldump.cnf r,
  /etc/mysql/mariadb.cnf r,
  /etc/mysql/mariadb.conf.d/ r,
  /etc/mysql/mariadb.conf.d/50-client.cnf r,
  /etc/mysql/mariadb.conf.d/50-mysql-clients.cnf r,
  /etc/mysql/mariadb.conf.d/50-mysqld_safe.cnf r,
  /etc/mysql/mariadb.conf.d/50-server.cnf r,
  /run/systemd/notify w,
  /usr/sbin/mysqld rk,
  /var/lib/mysql/** rw,
  /var/log/mysql/** r,
  owner /var/lib/mysql/ r,
  owner /var/lib/mysql/** rwk,
  owner /var/log/mysql/** rw,
}

The funny thing is, the file MariaDB needs is /run/systemd/notify (absolute path) while it requests writing rights to run/systemd/notify (no starting slash, so relative path). But removing the slash makes the profile fail:

$ sudo apparmor_parser -r /etc/apparmor.d/usr.sbin.mysqld 
AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in /etc/apparmor.d/usr.sbin.mysqld at line 29: syntax error, unexpected TOK_ID, expecting TOK_MODE

However, when I put the profile in complain mode and then let apparmor find out if any changes are needed, it doesn't find any problems:

$ sudo aa-complain mysqld
Setting /usr/sbin/mysqld to complain mode.

$ sudo aa-logprof
Reading log entries from /var/log/audit/audit.log.
Updating AppArmor profiles in /etc/apparmor.d.
Complain-mode changes:

Does anyone know where the path to this this file is set?

add user to the libvirtd https://askubuntu.com/questions/1086068/add-user-to-the-libvirtd

I installed java 11 and I am trying to install kvm. I followed the instructions as given on the official ubuntu website.

https://help.ubuntu.com/community/KVM/Installation

I finished up installing the tool and then as it mentioned on the website that we need to add the user to the libvirtd group. But the terminal is saying that this group(libvirtd) doesn't exist. I tried this ubuntu question too

Group 'libvirtd' does not exist while installing QEMU-KVM

But there is no satisfactory answer for ubuntu versions 14 and later. How do I add my username to the group.

The output of

sudo grep libvirt /etc/group

is

libvirt:x:129:nik7
libvirt-qemu:x:64055:libvirt-qemu
libvirt-dnsmasq:x:130:
Partitions not detected during installation Ubuntu 17.10 https://askubuntu.com/questions/992941/partitions-not-detected-during-installation-ubuntu-17-10

I deleted the Ubuntu 64bit partition from Windows 10 to extend its size and I am trying to reinstall it on my PC. The problem is, Ubuntu installer is neither detecting the windows installation nor the partitions I've made on my hard disk using windows. The installer shows an empty hard disk (no partitions) where I can install Ubuntu. I'm afraid if I continue to install I might break the existing partitions and lose my files. But the partition manager "Gparted" is showing all the existing partitions correctly. Only the installer is not able to detect the partitions.

I made a bootable USB drive for Ubuntu installation using "Universal USB Installer".

Here is the output of sudo parted /dev/sda print and sudo gdisk -l /dev/sda

ubuntu@ubuntu:~$ sudo parted /dev/sda
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) 

ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/loop0: 1.5 GiB, 1553670144 bytes, 3034512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xe849da94

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sda1  *          2048     718847     716800   350M  7 HPFS/NTFS/e
/dev/sda2           718848  315125759  314406912 149.9G  7 HPFS/NTFS/e
/dev/sda3        315125760  827127807  512002048 244.1G  7 HPFS/NTFS/e
/dev/sda4        827127745 1953519615 1126391871 537.1G  f W95 Ext'd (
/dev/sda5        827127808 1246851071  419723264 200.1G  7 HPFS/NTFS/e
/dev/sda6       1246853120 1339127807   92274688    44G 83 Linux
/dev/sda7       1339129856 1953519615  614389760   293G  7 HPFS/NTFS/e

Partition 4 does not start on physical sector boundary.




Disk /dev/sdb: 3.8 GiB, 4051697664 bytes, 7913472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start     End Sectors  Size Id Type
/dev/sdb1  *      128 7913471 7913344  3.8G  c W95 FAT32 (LBA)

I cannot boot to Windows nor install Ubuntu since the partitions aren't detected. Should I convert MBR partitions to GPT so they are detected during the installation? Is it doable without losing my data?

Install openssh-server package from preseed file https://askubuntu.com/questions/935565/install-openssh-server-package-from-preseed-file

So I've managed to create a custom ISO using a preseed file that isntalls the OS automatically, all works fine BUT the isntallation of the openssh-server package...I'm not what else to do.

On my preseed file I have the following lines:

#Add package
d-i pkgsel/include string openssh-server build-essential

however when I login,the package has not been installed. I also need to enable to login with root, for other purpuses so I need to modify the sshd_config file, I have tried the following two options also but I guess they don't work because the openssh-server package doesnt install on the first place:

ubiquity ubiquity/success_command string sed -i '/PermitRootLogin/c\PermitRootLogin yes' /etc/ssh/sshd_config

and

d-i preseed/late_command string sed -i '/PermitRootLogin/c\PermitRootLogin yes' /etc/ssh/sshd_config

What is the best way to first, add the ssh server package? and then modify the sshd_config file? so when the OS boots the ssh service is started and running

Does Ubuntu support dynamic swap file sizing? https://askubuntu.com/questions/905668/does-ubuntu-support-dynamic-swap-file-sizing

I can't imagine why a swap file needs to be fixed size. Why not let it resize dynamically, like the hard drive image file for a virtual box?

Absurdly large /proc/kcore file -- what does it mean? https://askubuntu.com/questions/587531/absurdly-large-proc-kcore-file-what-does-it-mean

I had to abort a backup of my system because it stalled on the file /proc/kcore. I check its size and, well, the file is enormous. Checking Google, it seems that many other people have absurdly large kcore files as well.

I have three questions:

  1. should I be concerned about kcore's size?
  2. if so, how can I reduce its size?
  3. is there any reason to backup the /proc/ directory?
Kernel panic on Xubuntu Toughbook CF-19 https://askubuntu.com/questions/571912/kernel-panic-on-xubuntu-toughbook-cf-19

I'm using Xubuntu on a Toughbook CF-19, and I have a kernel panic about 10 times a day. Do you know what can be the problem?

y snd_seq serio_raw mac80211 yenta_socket lpc_ich pcmcia_rsrc pcmcia_core snd_seq_device snd_timer cfg80211 i915 tpm_infineon sn
d drm_kms_helper drm video panasonic_laptop parport_pc sparse_keymap mac_hid soundcore ppdev i2c_algo_bit lp parport hid_generic
usbhid hid psmouse firewire_ohci ahci libahci firewire_core sdhci_pci sky2 sdhci crc_itu_t
[ 5295.581934] CPU: 0 PID: 2665 Comm: chromium-browse Not tainted 3.13.0-43-generic #72-Ubuntu
[ 5295.582095] Hardware name: Matsushita Electric Industrial Co.,Ltd. CF-19FHGAXBF/CF19-2, BIOS V2.00L11 10/10/2007
[ 5295.582291] task: e87d0d00 ti: f700a000 task.ti: e2a80000
[ 5295.582398] EIP: 0060:[<c1603d9b>] EFLAGS: 00010286 CPU: 0
[ 5295.582508] EIP is at ip6_xmit+0x18b/0x460
[ 5295.582592] EAX: e2bf0680 EBX: f2817e80 ECX: c16daea0 EDX: 0000ffff
[ 5295.582713] ESI: 0000001f EDI: e2bf0680 EBP: f700bddc ESP: f700bda4
[ 5295.582834] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 5295.582941] CR0: 80050033 CR2: 000001db CR3: 22add000 CR4: 000007f0
[ 5295.583061] Stack:
[ 5295.583105]  d9b44ac0 00000000 f700bddc c163077e 00000585 d9b44ffc c1993fc0 d9b44ac0
[ 5295.583305]  ee57c0e8 06a08b40 f700be04 d9b44ac0 f2817e80 d9b44ffc f700be3c c1630912
[ 5295.583503]  00000000 00000000 f700be20 00000000 00000000 00000000 00060000 00000000
[ 5295.583701] Call Trace:
[ 5295.583762]  [<c163077e>] ? inet6_csk_route_socket+0xfe/0x1b0
[ 5295.583879]  [<c1630912>] inet6_csk_xmit+0x72/0xc0
[ 5295.583983]  [<c15c0897>] tcp_transmit_skb+0x417/0x7e0
[ 5295.584012]  [<c15c1b64>] __tcp_retransmit_skb+0x124/0x470
[ 5295.584012]  [<c15c209a>] tcp_retransmit_skb+0x1a/0x110
[ 5295.584012]  [<c15c2349>] tcp_xmit_retransmit_queue+0x1b9/0x320
[ 5295.584012]  [<c15b6d7d>] ? tcp_mark_head_lost+0x16d/0x200
[ 5295.584012]  [<c15659d4>] ? sk_reset_timer+0x14/0x20
[ 5295.584012]  [<c15bd395>] tcp_resume_early_retransmit+0x35/0x40
[ 5295.584012]  [<c15c437f>] tcp_write_timer_handler+0x7f/0x1a0
[ 5295.584012]  [<c15c4507>] tcp_write_timer+0x67/0x70
[ 5295.584012]  [<c1061ef0>] call_timer_fn+0x30/0xf0
[ 5295.584012]  [<c16640b5>] ? do_IRQ+0x45/0xb0
[ 5295.584012]  [<c10ac6d3>] ? rcu_report_qs_rnp+0x63/0x110
[ 5295.584012]  [<c15c44a0>] ? tcp_write_timer_handler+0x1a0/0x1a0
[ 5295.584012]  [<c1062ee4>] run_timer_softirq+0x174/0x250
[ 5295.584012]  [<c15c44a0>] ? tcp_write_timer_handler+0x1a0/0x1a0
[ 5295.584012]  [<c105b678>] __do_softirq+0xc8/0x220
[ 5295.584012]  [<c105b5b0>] ? cpu_callback+0x160/0x160
[ 5295.584012]  <IRQ>
[ 5295.584012]  [<c105ba85>] ? irq_exit+0x95/0xa0
[ 5295.584012]  [<c1664158>] ? smp_apic_timer_interrupt+0x38/0x50
[ 5295.584012]  [<c165cb74>] ? apic_timer_interrupt+0x34/0x3c
[ 5295.584012]  [<c1650000>] ? is_prefetch.isra.19+0x110/0x128
[ 5295.584012] Code: 83 90 00 00 00 00 8b 57 10 89 f8 ff 52 14 39 43 50 0f 87 a2 00 00 00 8b 43 48 83 e0 fe 8b b0 c4 00 00 00 85 f6
74 38 e8 c5 70 a5 ff <8b> 8e bc 01 00 00 64 03 0d 04 01 a9 c1 83 81 20 01 00 00 01 83
[ 5295.584012] EIP: [<c1603d9b>] ip6_xmit+0x18b/0x460 SS:ESP 0068:f700bda4
[ 5295.584012] CR2: 00000000000001db
[ 5295.584012] Kernel panic - not syncing: Fatal exception in interrupt
[ 5295.584012] drm_kms_helper: panic occurred, switching back to text console
How do I get the IP address of an LXC container? https://askubuntu.com/questions/269588/how-do-i-get-the-ip-address-of-an-lxc-container

I've written a few scripts to manage LXC containers, and I can get their IP addresses via ifconfig, assuming I'm connected to the console.

I now want to connect to these containers via ssh. How do I get their IP address in such a way that I can write a script? I also don't want to set the addresses manually (but I'll do it, if that's the only option).

So far, I've tried using lxc-start, but the machine doesn't have an IP address before I run /sbin/init.

kernel panic - diagnosis? https://askubuntu.com/questions/195806/kernel-panic-diagnosis

I'm having a kernel panic problem. My machine will run for hours, maybe all day and then have a kernel panic. I have no idea how to interpret these boot messages.

[40018.119854] [<ffffffff8156d505>] nf_hook_slow+0x75/0x150
[40018.119854] [<ffffffff815d7bd0>] ? ip6_flush_pending_frames+0xb0/0xb0
[40018.119854] [<ffffffff81611347>] ? packet_rcv_spkt+0x47/0x190
[40018.119854] [<ffffffff815d820f>] ipv6_rcv+0x25f/0x3c0
[40018.119854] [<ffffffff81540b63>] __netif_receive_skb+0x4b3/0x520
[40018.119854] [<ffffffff81540ff1>] process_backlog+0xb1/0x190
[40018.119854] [<ffffffff815422e4>] net_rx_action+0x134/0x290
[40018.119854] [<ffffffff8106e528>] __do_softirq+0xa8/0x210
[40018.119854] [<ffffffff81034dc2>] ? ack_apic_level+0x72/0x190
[40018.119854] [<ffffffff81664d6c>] call_softirq+0x1c/0x30
[40018.119854] [<ffffffff81015305>] do_softirq+0x65/0xa0
[40018.119854] [<ffffffff8106e90e>] irq_exit+0x8e/0xb0
[40018.119854] [<ffffffff81665623>] do_IRQ+0x63/0xe0
[40018.119854] [<ffffffff8165a9ae>] common_interrupt+0x6e/0x6e
[40018.119854] <EOI>
[40018.119854] [<ffffffff8101be45>] ? mwait_idle+0x95/0x210
[40018.119854] [<ffffffff81012236>] cpu_idle+0xd6/0x120
[40018.119854] [<ffffffff81620bbe>] rest_init+0x72/0x74
[40018.119854] [<ffffffff81cfbc03>] start_kernel+0x3b0/0x3bd
[40018.119854] [<ffffffff81cfb388>] x86_64_start_reservations+0x132/0x136
[40018.119854] [<ffffffff81cfb140>] ? early_idt_handlers+0x140/0x140
[40018.119854] [<ffffffff81cfb459>] x86_64_start_kernel+0xcd/0xdc
[40018.119854] Code: 48 89 f8 83 fa 20 0f 82 7c 00 00 00 40 38 fe 7c 35 83 ea 20 48 83 ea 20 4c 8b 06 4c 8b 4e 08 4c 
8d 7f 20 73 d4
[40018.119854] RIP [<ffffffff81318abb>] memcpy+0x2b/0x120
[40018.119854] RSP <ffff88010fc03b18>
[40018.119854] CR2: ffff800e8830000
[40018.394679] ---[ end trace 2994a80622c8fcb9 ]---
[40018.394679] Kernel panic - not syncing: Fatal exception in interrupt
[40018.460328] Pid: 0, comm: swapper/0 Tainted: G        D C O 3.2.0-31-generic #50-Ubuntu
[40018.460328] Call Trace:
[40018.460328]  <IRQ> [<ffffffff81641857>] panic+0x91/0x1a4
[40018.460328] [<ffffffff8165b6da>] oops_end+0xca/0xf0
[40018.460328] [<ffffffff816406e7>] no_context+0x150/0x15d
[40018.460328] [<ffffffff816408bd>] __bad_area_nosemaphore+0x1c9/0x1e8
[40018.460328] [<ffffffff8163ff69>] ? pmd_offset+0x1f/0x25
[40018.460328] [<ffffffff816408ef>] bad_area_nosemaphore+0x13/0x15
[40018.460328] [<ffffffff8165e2f6>] do_page_fault+0x426/0x520
[40018.460328] [<ffffffff8154f38d>] ? rtnl_notify+0x2d/0x30
[40018.460328] [<ffffffff815e5f70>] ? inet6_rt_notify+0xf0/0x160
[40018.460328] [<ffffffff815e6fc5>] ? fib6_add_1.constprop.12+0x1e5/0x420
[40018.460328] [<ffffffff81534f3b>] ? pskb_expand_head+0x8b/0x310
[40018.460328] [<ffffffff8165ac75>] page_fault+0x25/0x30
[40018.460328] [<ffffffff81318abb>] ? memcpy+0x2b/0x120
[40018.460328] [<ffffffff81534f76>] ? pskb_expand_head+0xc6/0x310
[40018.460328] [<ffffffffa03e38e9>] ? nf_ct_frag6_reasm+0x299/0x450 [nf_defrag_ipv6]
[40018.460328] [<ffffffffa03e3d43>] ? nf_ct_frag6_gather+0x233/0x260 [nf_defrag_ipv6]
[40018.460328] [<ffffffff815e3570>] ? ip6_pol_route_output+0x30/0x30
[40018.460328] [<ffffffff815d7bd0>] ? ip6_flush_pending_frames+0xb0/0xb0
[40018.460328] [<ffffffffa03e3083>] ipv6_defrag.part.2+0x73/0xe0 [nf_defrag_ipv6]
[40018.460328] [<ffffffffa03e311c>] ipv6_defrag+0x2c/0x30 [nf_defrag_ipv6]
[40018.460328] [<ffffffff8156d455>] nf_iterate+0x85/0xc0
[40018.460328] [<ffffffff815d7bd0>] ? ip6_flush_pending_frames+0xb0/0xb0
[40018.460328] [<ffffffff8156d505>] nf_hook_slow+0x75/0x150
[40018.460328] [<ffffffff815d7bd0>] ? ip6_flush_pending_frames+0xb0/0xb0
[40018.460328] [<ffffffff81611347>] ? packet_rcv_spkt+0x47/0x190
[40018.460328] [<ffffffff815d820f>] ipv6_rcv+0x25f/0x3c0
[40018.460328] [<ffffffff81540b63>] __netif_receive_skb+0x4b3/0x520
[40018.460328] [<ffffffff81540ff1>] process_backlog+0xb1/0x190
[40018.460328] [<ffffffff815422e4>] net_rx_action+0x134/0x290
[40018.460328] [<ffffffff8106e528>] __do_softirq+0xa8/0x210
[40018.460328] [<ffffffff81034dc2>] ? ack_apic_level+0x72/0x190
[40018.460328] [<ffffffff81664d6c>] call_softirq+0x1c/0x30
[40018.460328] [<ffffffff81015305>] do_softirq+0x65/0xa0
[40018.460328] [<ffffffff8106e90e>] irq_exit+0x8e/0xb0
[40018.460328] [<ffffffff81665623>] do_IRQ+0x63/0xe0
[40018.460328] [<ffffffff8165a9ae>] common_interrupt+0x6e/0x6e
[40018.460328] <EOI> [<ffffffff8101be45>] ? mwait_idle+0x95/0x210
[40018.460328] [<ffffffff81012236>] cpu_idle+0xd6/0x120
[40018.460328] [<ffffffff81620bbe>] rest_init+0x72/0x74
[40018.460328] [<ffffffff81cfbc03>] start_kernel+0x3b0/0x3bd
[40018.460328] [<ffffffff81cfb388>] x86_64_start_reservations+0x132/0x136
[40018.460328] [<ffffffff81cfb140>] ? early_idt_handlers+0x140/0x140
[40018.460328] [<ffffffff81cfb459>] x86_64_start_kernel+0xcd/0xdc
_

I've looked through the logs, but didn't find anything obvious. I'm still learning, so I probably missed something. It's a little harder since it's always happened when I've been out or at night, so I can't pinpoint the exact time when it crashed.

Can I install Portage, Pacman or other package managers on Ubuntu? https://askubuntu.com/questions/161503/can-i-install-portage-pacman-or-other-package-managers-on-ubuntu

I want to install a non-Ubuntu package manager like Portage (Gentoo) or Pacman (Arch) on Ubuntu 12.04 LTS.

How do I do that?

Live CD kernel panic https://askubuntu.com/questions/7256/live-cd-kernel-panic

I'm an Ubuntu user since Hardy Heron, and even in other distros I've never been through such thing. I can't install Ubuntu 10.10 on my notebook, because I simply can't even start the Live CD. I always get the following message:

Kernel panic - not syncing attempted to kill init!

See the complete message:

                    Ubuntu 10.10

                      . . . . .[  40.456564] Kernel panic - not 
syncing: Attempted to kill init!
[   40.456582] Pid: 1, comm: init Not tainted 2.6.35-22-generic #33-Ubuntu
[   40.456596] Call Trace:
[   40.456612]  [<ffffffff815863e0>] panic+0x90/0x111
[   40.456628]  [<ffffffff8106376d>] forget_original_parent+0x33d/0x350
[   40.456643]  [<ffffffff81062b94>] ? put_files_struct+0xc4/0xf0
[   40.456658]  [<ffffffff8106379b>] exit_notify+0x1b/0x190
[   40.456671]  [<ffffffff810651d5>] do_exit+0x1c5/0x3f0
[   40.456685]  [<ffffffff81075c71>] ? __dequeue_signal+0xf1/0x200
[   40.456700]  [<ffffffff81065455>] do_group_exit+0x55/0xd0
[   40.456713]  [<ffffffff81076341>] get_signal_to_deliver+0x201/0x440
[   40.456738]  [<ffffffff810744de>] ? send_signal+0x3e/0x90
[   40.456763]  [<ffffffff81009989>] do_signal+0x69/0x1a0
[   40.456786]  [<ffffffff8103dde7>] ? is_prefetch+0xb7/0x250
[   40.456810]  [<ffffffff8103e610>] ? mm_fault_error+0xe0/0x100
[   40.456834]  [<ffffffff81009b25>] do_notify_resume+0x65/0x90
[   40.456858]  [<ffffffff8158981c>] retint_signal+0x48/0x8c