ping fails after setting monitor to capture traffic for adhoc (IBSS) https://askubuntu.com/questions/1560146/ping-fails-after-setting-monitor-to-capture-traffic-for-adhoc-ibss

Please can any one help me to troublshoot a problem that I face during my lab in university. the task ask to

**Deploy an IBSS and analyze the data, control, and management traffic for that network.

the configureation for both PCs is done normal and the ping was working, but once I set the command monitor for PC3, I get ping fails and the wifi newtork for pc1 and PC2 is disabled in order word the list of wifi is disappeared. I set this commands bellow:

Crear ad-hoc sudo ip link set wlp5s1 down sudo iwconfig wlp5s1 mode ad-hoc sudo iwconfig wlp5s1 essid mi_ibss sudo iwconfig wlp5s1 channel 6 sudo ip link set wlp5s1 up sudo ip addr add 192.168.10.1/24 dev wlp5s1

-Problemas rf kill sudo rfkill unblock wifi sudo rfkill unblock all

-Unirse ad-hoc sudo ip link set wlp5s0 down sudo iwconfig wlp5s0 mode ad-hoc sudo iwconfig wlp5s0 essid mi_ibss sudo iwconfig wlp5s0 channel 6 sudo ip link set wlp5s0 up sudo ip addr add 192.168.10.2/24 dev wlp5s0

-Modo monitor sudo ip link set wlp5s0 down sudo iwconfig wlp5s0 mode monitor sudo ip link set wlp5s0 up

Rust development on Ubuntu 24.04 - can't read time-based columns with librust-sqlx-dev https://askubuntu.com/questions/1560145/rust-development-on-ubuntu-24-04-cant-read-time-based-columns-with-librust-sq

I'm doing offline development with Rust 1.80.1 on Ubuntu 24.04, meaning I'm locked to the Canonical packages available on 24.04 with no access to rustup.
I'm running into an issue with the librust-sqlx-dev package (version 0.7.3-3) when trying to read DATETIME and TIMESTAMP columns from MySQL: support for reading these datatypes is gated behind either the chrono or time features.
However, the time crate won't compile with rustc 1.80, and the 0.7.3 version of the sqlx crate has a drop-chrono patch that removes the chrono feature from the package entirely. This patch is removed in sqlx 0.8.3, but this version is not available for Ubuntu 24.04.

As I understand it, my options are:

  • Wait for Canonical to backport sqlx 0.8.3 to Noble or submit a request to...someone to provide this backport
  • Manually download and vendor sqlx 0.8.3
  • Manually implement the required functionality

Are these my only options? It seems strange to me that there would be no other way to read these datatypes from the database. It also seems strange that the drop-chrono patch seems to completely exclude two datatypes from being read using this library. Am I misunderstanding something about how sqlx works?

How to execute/run programmes in Terminal https://askubuntu.com/questions/1560141/how-to-execute-run-programmes-in-terminal

I am moving to Ubuntu from windows after microsoft changed my system from windows 10 to 11 without my knowledge or permission.

I am not 'tech-savvy' so please be gentle with me! I would usually use a book [yes, I'm that old!] to learn something new but can't find a recent one for Ubuntu.

I have copied and pasted commands into Terminal to [hopefully] download my proton VPN. Thanks to a question answer on this forum, I managed to get past the password not showing issue.

So I now at the point where my user name xxxx:~$ has a flashing cursor after it - so now what do I do to get the programme to instal & run?

I realise this is, to most of you, probably a very basic question but I can't find an answer

Nvidia RTX 5060 won't open - BSOD https://askubuntu.com/questions/1560133/nvidia-rtx-5060-wont-open-bsod

I have recently installed Ubuntu 24.04 as a dual boot with Windows 10. Then I upgraded my graphics card and I can't open Ubuntu. All I get is a dual BSOD.

Hardware:

   16GB RAM
   AMD Ryzen 5 1600 6 Core
   Nvidia RTX 5060 8Gb replacing an Nvidia 1060
   Dual screen

Each instance runs on a separate SSD

The 1060 works fine in Windows

If I start it in straight mode in Ubuntu the dual fans go mad and neither screen works If I start it in safe mode (with nomodeset) the fans stay quiet but the dual BSOD remain.

I tried reinstalling the 5060 and updating the drivers to 570, but that does nothing n.b. I have no meaningful access after opening the boot sequence although I can change the grub file.

Writing udev rule for specific interface of USB device https://askubuntu.com/questions/1560132/writing-udev-rule-for-specific-interface-of-usb-device

I'm using Ubuntu 25.
I have USB device with 8 interfaces as lsusb -t tell me:

/:  Bus 001.Port 001: Dev 001, Class='bDeviceClass 0x00 not yet handled', Driver=xhci_hcd/0p, 480M
    |__ Port 002: Dev 002, If 0, Class=[unknown], Driver=[none], 12M
    |__ Port 002: Dev 002, If 2, Class=[unknown], Driver=usbhid, 12M
    |__ Port 006: Dev 003, If 0, Class=[unknown], Driver=usbhid, 1.5M
    |__ Port 011: Dev 004, If 0, Class=[unknown], Driver=hub, 480M
        |__ Port 001: Dev 006, If 0, Class=[unknown], Driver=hub, 480M
            |__ Port 004: Dev 008, If 0, Class=[unknown], Driver=rndis_host, 480M
            |__ Port 004: Dev 008, If 1, Class=[unknown], Driver=rndis_host, 480M
            |__ Port 004: Dev 008, If 2, Class=[unknown], Driver=[none], 480M
            |__ Port 004: Dev 008, If 3, Class=[unknown], Driver=[none], 480M
            |__ Port 004: Dev 008, If 4, Class=[unknown], Driver=[none], 480M
            |__ Port 004: Dev 008, If 5, Class=[unknown], Driver=cdc_acm, 480M
            |__ Port 004: Dev 008, If 6, Class=[unknown], Driver=cdc_acm, 480M
            |__ Port 004: Dev 008, If 7, Class=[unknown], Driver=[none], 480M
            |__ Port 004: Dev 008, If 8, Class=[unknown], Driver=[none], 480M

I need to make only the interface 4 (Port 004: Dev 008, If 4) to use/be used by an "option" driver. I already added "option" to /etc/modules-load.d/modules.conf, so this module loads on start up. But how do I bind specific interface to it on boot? I don't want to bind everything to "option" driver because it breaks things for me. I thought udev rule can help me, but I have no idea how to write it. Please help.

Hyprland: $HYPRLAND_INSTANCE_SIGNATURE is always empty — IPC broken even with exec-once or custom scripts https://askubuntu.com/questions/1560131/hyprland-hyprland-instance-signature-is-always-empty-ipc-broken-even-with-ex

I’m having a persistent issue on Arch Linux with Hyprland where
$HYPRLAND_INSTANCE_SIGNATURE is always empty.

Because of this:

  • hyprctl commands fail with:
    HYPRLAND_INSTANCE_SIGNATURE not set! (is Hyprland running?)

  • window rules break

  • some clipboard / IPC things don’t work

  • scripts that interact with Hyprland sockets fail


What I’ve tried

1. Autostart script in ~/.config/autostart/

I made a script that detects the socket directory under $XDG_RUNTIME_DIR/hypr/:

#!/usr/bin/env bash
DIR=$(ls -td "$XDG_RUNTIME_DIR/hypr/"* 2>/dev/null | head -n1)
SIG=$(basename "$DIR")
export HYPRLAND_INSTANCE_SIGNATURE="$SIG"

But I learned Hyprland doesn’t support XDG autostart by default, so this never runs.


2. Running it via Hyprland’s exec-once

Added this to ~/.config/hypr/hyprland.conf:

exec-once = /home/<myuser>/refresh-hypr-env.sh

But it seems this runs before Hyprland assigns the signature internally, so $SIG becomes empty.


3. Manually verifying the signature exists

If I run this after login:

ls -d "$XDG_RUNTIME_DIR/hypr/"*

I do see the actual signature directory, e.g.:

/run/user/1000/hypr/abcd1234abcde...

But then:

echo $HYPRLAND_INSTANCE_SIGNATURE

prints nothing.

So the compositor has a signature — but it’s not being exported to my environment at all.


4. Tried different shells

I tested:

  • plain bash

  • zsh

  • with and without tmux

  • launching from tty, launching from display manager

Always the same — the variable is empty in every terminal.


5. Manual export works

If I do:

export HYPRLAND_INSTANCE_SIGNATURE=$(basename $(ls -td "$XDG_RUNTIME_DIR/hypr/"* | head -n1))

then hyprctl works perfectly.

But I need to run this manually every login, and that’s the part I want to fix.


Question

How can I make Hyprland reliably export HYPRLAND_INSTANCE_SIGNATURE at login so that terminals (Kitty), shell sessions, and tools like hyprctl always see it?

Is there a correct way to hook into Hyprland startup after the compositor initializes, so environment variables propagate properly?

Or is there a recommended workaround that avoids relying on that env variable?

Thanks in advance.


Disclaimer:

This question was written with the help of an AI assistant — I’m still learning, and I honestly don’t fully understand how Hyprland handles environment variables. Any guidance is appreciated.

Ubuntu 25.10 Gnome 49 leaves defunct processes https://askubuntu.com/questions/1560130/ubuntu-25-10-gnome-49-leaves-defunct-processes

After upgrading to 25.10 from 25.04, I noticed that my GNOME session has some defunct processes:

$ ps -ef | grep [d]efunct
fedon      24908   24779  0 16:20 ?        00:00:00 [sh] <defunct>
fedon      24915   24779  0 16:20 ?        00:00:00 [sh] <defunct>
fedon      24919   24779  0 16:20 ?        00:00:00 [fedon-start-des] <defunct>
fedon      24936   24779  0 16:20 ?        00:00:00 [ubuntu-report] <defunct>
fedon      24953   24779  0 16:20 ?        00:00:00 [ubuntu-advantag] <defunct>
fedon      24956   24779  0 16:20 ?        00:00:00 [snap] <defunct>

The parent process (24779) is /usr/libexec/gnome-session-service --session=gnome.

I am noticing the following related messages in system log:

Nov 26 16:20:19 xxx gnome-session-service[24231]: Entering running state
Nov 26 16:20:25 xxx gnome-session-service[24779]: App gnome-keyring-secrets.desktop sets X-GNOME-Autostart-Phase, but gnome-session no longer manages session services
Nov 26 16:20:25 xxx gnome-session-service[24779]: App at-spi-dbus-bus.desktop sets X-GNOME-Autostart-Phase, but gnome-session no longer manages session services
Nov 26 16:20:25 xxx gnome-session-service[24779]: App xdg-user-dirs.desktop sets X-GNOME-Autostart-Phase, but gnome-session no longer manages session services
Nov 26 16:20:25 xxx gnome-session-service[24779]: App gnome-keyring-pkcs11.desktop sets X-GNOME-Autostart-Phase, but gnome-session no longer manages session services
Nov 26 16:20:25 xxx gnome-session-service[24779]: App spice-vdagent.desktop sets X-GNOME-Autostart-Phase, but gnome-session no longer manages session services
Nov 26 16:20:26 xxx gnome-session-service[24779]: Entering running state
Nov 26 16:20:26 xxx systemd[19771]: Started app-gnome-fedon\x2dstart-24919.scope - Application launched by gnome-session-service.
Nov 26 16:20:26 xxx systemd[19771]: Started app-gnome-im\x2dlaunch-24915.scope - Application launched by gnome-session-service.
Nov 26 16:20:26 xxx systemd[19771]: Started app-gnome-nvidia\x2dsettings\x2dautostart-24908.scope - Application launched by gnome-session-service.
Nov 26 16:20:26 xxx systemd[19771]: Started app-gnome-org.gnome.SettingsDaemon.DiskUtilityNotify-24926.scope - Application launched by gnome-session-service.
Nov 26 16:20:26 xxx systemd[19771]: Started app-gnome-org.kde.kdeconnect.daemon-24911.scope - Application launched by gnome-session-service.
Nov 26 16:20:26 xxx systemd[19771]: Started app-gnome-snap\x2duserd\x2dautostart-24956.scope - Application launched by gnome-session-service.
Nov 26 16:20:26 xxx systemd[19771]: Started app-gnome-ubuntu\x2dadvantage\x2dnotification-24953.scope - Application launched by gnome-session-service.
Nov 26 16:20:26 xxx systemd[19771]: Started app-gnome-ubuntu\x2dreport\x2don\x2dupgrade-24936.scope - Application launched by gnome-session-service.

The defunct processes seem to be related to the following files:

/etc/xdg/autostart/im-launch.desktop
/etc/xdg/autostart/nvidia-settings-autostart.desktop
~/.config/autostart/fedon-start.desktop
/etc/xdg/autostart/ubuntu-report-on-upgrade.desktop
/etc/xdg/autostart/ubuntu-advantage-notification.desktop
/etc/xdg/autostart/snap-userd-autostart.desktop

There are other files besides the above ones in the directories ~/.config/autostart/ and /etc/xdg/autostart/, but the "defunct" processes seem to come only from the above listed ones. Exactly the same "defunct" processes are created each time after I log in to my GNOME desktop.

How can I fix this problem?

NOHZ tick-stop error: local softirq work is pending, handler #40!!! while using GIMP https://askubuntu.com/questions/1560127/nohz-tick-stop-error-local-softirq-work-is-pending-handler-40-while-using

The machine crashed (system frozen) while using GIMP. The only error showing up in the logfile is NOHZ tick-stop error: local softirq work is pending, handler #40!!!

System is up-to-date (actually a relatively fresh upgrade to noble)

Any advise?

~ $  grep _HZ /boot/config-$(uname -r)
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
# CONFIG_NO_HZ_IDLE is not set
CONFIG_NO_HZ_FULL=y
CONFIG_NO_HZ=y
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000
~ $ uname -a
Linux MW-W520 6.14.0-35-generic #35~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 13:55:17 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
2 speakers over 4 on Thinkpad X1 Carbon Gen 7 (Ubuntu 24.04 & 25.10) https://askubuntu.com/questions/1560125/2-speakers-over-4-on-thinkpad-x1-carbon-gen-7-ubuntu-24-04-25-10

Almost everything is working out or the box with the Ubuntu 25.10 amd64 release on my old Thinkpad X1 Carbon Gen 7 (I had the same problem with Ubuntu 24.04). Nevertheless an issue or two remains. The first issue is related to the speakers. This laptop got 4 speakers, two on top and two under the laptop. The speakers under the base are recognized and work as intended, but there's no sound output from the top speakers.

ludo@x1c7:~$ wpctl status
PipeWire 'pipewire-0' [1.4.7, ludo@x1c7, cookie:637365552]
 └─ Clients:
        33. WirePlumber                         [1.4.7, ludo@x1c7, pid:2475]
        37. pipewire                            [1.4.7, ludo@x1c7, pid:2478]
        47. WirePlumber [export]                [1.4.7, ludo@x1c7, pid:2475]
        82. GNOME Volume Control Media Keys     [1.4.7, ludo@x1c7, pid:2840]
        84. GNOME Shell Volume Control          [1.4.7, ludo@x1c7, pid:2688]
        86. Mutter                              [1.4.7, ludo@x1c7, pid:2688]
       112. wpctl                               [1.4.7, ludo@x1c7, pid:13644]

Audio
 ├─ Devices:
 │      51. Cannon Point-LP High Definition Audio Controller [alsa]
 │  
 ├─ Sinks:
 │      57. Cannon Point-LP High Definition Audio Controller HDMI / DisplayPort 3 Output [vol: 1.00]
 │      58. Cannon Point-LP High Definition Audio Controller HDMI / DisplayPort 2 Output [vol: 1.00]
 │      59. Cannon Point-LP High Definition Audio Controller HDMI / DisplayPort 1 Output [vol: 1.00]
 │  *   60. Cannon Point-LP High Definition Audio Controller Speaker [vol: 0.55]
 │  
 ├─ Sources:
 │      61. Cannon Point-LP High Definition Audio Controller Headphones Stereo Microphone [vol: 1.00]
 │  *   62. Cannon Point-LP High Definition Audio Controller Digital Microphone [vol: 1.00]
 │  
 ├─ Filters:
 │  
 └─ Streams:
        96. GNOME Settings                                              
             92. monitor_FR     
             98. input_FL        < Speaker:monitor_FL   [active]
            104. input_FR        < Speaker:monitor_FR   [active]
            106. monitor_FL     
       105. GNOME Settings                                              
             89. input_FL        < Digital Microphone:capture_FL    [active]
             94. monitor_RR     
             95. input_RR        < Digital Microphone:capture_RR    [active]
             99. input_RL        < Digital Microphone:capture_RL    [active]
            101. monitor_FL     
            102. monitor_RL     
            103. monitor_FR     
            107. input_FR        < Digital Microphone:capture_FR    [active]

Video
 ├─ Devices:
 │      52. Integrated Camera                   [v4l2]
 │      53. Integrated Camera                   [v4l2]
 │  
 ├─ Sinks:
 │  
 ├─ Sources:
 │  *   80. Integrated Camera (V4L2)           
 │  
 ├─ Filters:
 │  
 └─ Streams:

Settings
 └─ Default Configured Devices:
         0. Audio/Sink    alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink
         1. Audio/Source  alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Mic1__source

  • 98 and 104 are inputs?
  • 102 and 103 are not used?
Storage hdd is only showing 1/3 of its total capacity after setting it up as servers storage https://askubuntu.com/questions/1560115/storage-hdd-is-only-showing-1-3-of-its-total-capacity-after-setting-it-up-as-ser

I have installed Ubuntu server 24.04 on an old PC with the server itself on a 256gb sdd (sda) and a 750gb internal hdd (sdb) as the main storage.

When I went to transfer media files etc onto the storage it is saying there is only 235gb available. I need to ensure all the hdd is available.

I set up the hdd using mnt/media.

$ df -h
Filesystem                     Size  Used Avail Use% Mounted on
tmpfs                          376M  5.6M  371M   2% /run
efivarfs                       128K   73K   51K  59% /sys/firmware/efi/efivars
/dev/sda2                      233G   13G  209G   6% /
tmpfs                          1.9G     0  1.9G   0% /dev/shm
tmpfs                          5.0M     0  5.0M   0% /run/lock
/dev/sda1                      1.1G  6.2M  1.1G   1% /boot/efi
/dev/mapper/vg--hdd-lv--samba  687G   32K  652G   1% /media
tmpfs                          376M   12K  376M   1% /run/user/1000

$ sudo parted -l
[sudo] password for parkerfamily: 
Model: ATA Micron_M600_MTFD (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  1128MB  1127MB  fat32              boot, esp
 2      1128MB  256GB   255GB   ext4


Error: /dev/sdb: unrecognised disk label
Model: ATA WDC WD7500BPVT-0 (scsi)                                        
Disk /dev/sdb: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags: 

Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg--hdd-lv--samba: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags: 

Number  Start  End    Size   File system  Flags
 1      0.00B  750GB  750GB  ext4
ASUS MOBO bluetooth not turning on in 24.04.3 LTS https://askubuntu.com/questions/1560111/asus-mobo-bluetooth-not-turning-on-in-24-04-3-lts

This is probably a very easy thing to fix but all of the questions and answers I found are for problems using a BT USB dongle. I have a Ubuntu 24.04.3 LTS Desktop that is running on an ASUS Maximus VIII Formula motherboard that supports BT v4.0/3.0+HS natively (no USB dongle needed).

sudo service bluetooth status

shows that bluetooth is enabled but Active: inactive dead. In settings the bluetooth on/off slide control is greyed out.

I did install bluez and bluez-tools.

bluetoothctl power on

If I try to power BT on I get the error message Unable to open mgmt_socket

Someone running an ASUS M8F powered desktop probably knows the answer off the top of their head. I did have this running on 22.04 LTS but it stopped working after the 24.04.3 LTS upgrade

Again, this is NOT a USB BT dongle. The BT hardware seems to be discovered and has been enabled but there is still a small piece that's missing to create/open the socket and power on BT.

That said: inxi --bluetooth returns

Bluetooth: Device-1: ASUSTek Qualcomm Bluetooth 4.1 driver: N/A type: USB

lspci -knn | grep Net -A3; lsusb
07:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
    Subsystem: ASUSTeK Computer Inc. QCA6174 802.11ac Wireless Network Adapter [1043:86e0]
    Kernel modules: ath10k_pci
0a:00.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578]
    Subsystem: Device [2222:1111]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID b58c:9e84 Blue Microphones Yeti Stereo Microphone
Bus 001 Device 003: ID 28da:1102 G.SKILL Corporation RIPJAWS KM780 MX GAMING KEYBOARD
Bus 001 Device 004: ID 046d:c077 Logitech, Inc. Mouse
Bus 001 Device 005: ID 0b05:1825 ASUSTek Computer, Inc. Qualcomm Bluetooth 4.1
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
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
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Many thanks in advance.

How to fix sudo: "/usr/bin/sudo must be owned by uid 0 sudo: /etc/sudo.conf is owned by uid 1000" from a remote ssh https://askubuntu.com/questions/1560110/how-to-fix-sudo-usr-bin-sudo-must-be-owned-by-uid-0-sudo-etc-sudo-conf-is-o

Recently I decided to reuse an old laptop to start my first Ubuntu server to learn more about homelab and devops and setup my NAS. When I was poking around, I accidentally run this command chown -R $USER:$USER .. and it mess up my sudo files and lead to my problem, at that moment I was not able to physically turn on Recovery mode to do reset the ownership of sudo (fixed when I got home). But this wonder, can I revert or fix this over remote ssh. I did try to use a few method mentioned by ChatGPT but I still not convinced that I cannot fixed over the remote ssh. Is there another way for me to fix it if I can't reboot the machine?

P/s: This is my first time working with linux and I am still learning.

Some browsers cause Ubuntu 24.04.3 LTS to hang https://askubuntu.com/questions/1560098/some-browsers-cause-ubuntu-24-04-3-lts-to-hang

I noticed that the Chromium (via snap) browser would cause the screen to flash/flicker a few times and then hang the desktop right after it was launched. I thought this was either a problem with my video card or a bug that was introduced into Chromium after an update. Turns out that the behavior is identical when launching the Brave browser. Firefox continues to work perfectly.

I decided to finally look into this and tried launching Brave on a different desktop that's also running Ubuntu 24.04.3 LTS. Fails in an identical manner. So that obviously eliminates the hardware. I have another Desktop that's running Ubuntu 22.04.3 LTS and those browsers continue to run fine there.

This has been going on for several months and each desktop has had multiple software updates and otherwise run fine. I did a search and found no questions that were on point for this topic so asking here.

Has something changed in Ubuntu 24.04.3 LTS that is causing this behavior and if so is there a fix or work-around? Many thanks in advance.

I have not tried to troubleshoot this yet because it appears to be a problem caused by a Ubuntu update. just before the desktop hangs there are a series of very cryptic python3.12 error messages issued where several python is trying to call python scripts that do not exist. This observation could very well be a red herring.

Brave=v1.84.141 Chromium=v142.0.7444.175

Why does restoring from hibernation goes to login screen, not lockscreen https://askubuntu.com/questions/1560094/why-does-restoring-from-hibernation-goes-to-login-screen-not-lockscreen

using "lockscreen extension" to customize my lock screen - looks and runs GREAT with Linux 6.8.0-85-generic kernel, but every other kernel since then (6.8.0-86, 6.8.0-87, and latest 6.8.0-88) restoring goes to the grub-customizer fancy login screen instead (bummer) ~ WHY?

All the newer kernels do fine resuming from suspend and going to my fancy lock screen, just restoring using them has this weird 'BUG'.

The other 'BUG' these newer kernels seem to be afflicted with is when restoring, my USB wifi gets rerouted (from router) to the one my PCI wifi uses (an extender) - normally this only happens upon initial boot, even with my favorite Linux 6.8.0-85-generic kernel. But upon restoring it stays with router... but not with newer kernels that reroute it to the extender :-\ They do fine leaving it along resuming...

assumed it would be understood based on kernels used 24.04lts and kernels are indicated above... 'flavor'? like wayland? Other kernels that 'worked well' was 6.8.0-53, 6.8.0-79 and 6.8.0-84 - no issues with those...

I read askubuntu.com/help/how-to-ask and took the tour - so, couldn't find anything 'violated'... what gives? ...such zeal to close ~ wow!

should I just use forum.linuxconfig.org instead of askubuntu?

Error: Steam now requires user namespaces to be enabled https://askubuntu.com/questions/1560064/error-steam-now-requires-user-namespaces-to-be-enabled

A couple weeks ago I updated my GPU (nvidia rtx 4070) drivers to these: https://www.nvidia.com/en-us/drivers/details/257493/ I did this via the terminal by making them executable with chmod +x and opening them with ./ .

After updating everything worked as intended except Steam, for some reason the Steam window would flicker every so often, it was still usable, just annoying, I also didn't have this issue with any other program.

At first I didn't do anything about this but I later installed "Steam-devices" for another program, by installing "Steam-devices" I uninstalled the steam launcher Commandline: apt install steam-devices Requested-By: name (1000) Install: steam-devices:amd64 (1:1.0.0.79~ds-2) Remove: steam-launcher:amd64 (1:1.0.0.85) I can not remember if it was immediately after installing this package or later, but at some point steam stopped working entirely (It was probably deleted but I can't remember).

To try and fix this I wanted to fully remove and then reinstall steam, to do so I made a backup of my games in a separate directory and then used find and rm to uninstall all files and directories with "steam" in the name. After doing this there where 4 files I could not delete.

I then tried to reinstall Steam, at first with

sudo apt install steam-installer

but got the following error:

The following packages have unmet dependencies: steam-installer : Depends: steam-libs-i386 (= 1:1.0.0.79~ds-2)
E: Unable to correct problems, you have held broken packages.

I then tried installing it from the Steam website, I downloaded the "steam_latest.deb" file and opened it with the gnome "software" app, this worked at first and I was able to log in but after rebooting my system I now receive this error message upon starting Steam:

Steam now requires user namespaces to be enabled.
This requirement is the same as for Flatpak, which has more detailed information available:
https://github.com/flatpak/flatpak/wiki/User-namespace-requirements".

I tried reading the GitHub page and looking up how to unable user namespace's but was unable to find anything to fix this.

I have no idea what to do now and would appreciate any help to resolve this issue.

How to install source clone/mirror OBS plugin on Ubuntu? https://askubuntu.com/questions/1560057/how-to-install-source-clone-mirror-obs-plugin-on-ubuntu

I want to to install an OBS plugin in Ubuntu from this source but while installing the .deb package in terminal, I see this error:

(Reading database ... 215503 files and directories currently installed.)
Preparing to unpack source-clone-0.2.0-x86_64-linux-gnu.deb ...
Unpacking source-clone (0.2.0) over (0.2.0) ...
dpkg: dependency problems prevent configuration of source-clone:
 source-clone depends on obs-studio; however:
  Package obs-studio is not installed.

dpkg: error processing package source-clone (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 source-clone

What can I do?

SD XC Card Reader for Old Desktop [closed] https://askubuntu.com/questions/1559952/sd-xc-card-reader-for-old-desktop

I have a HP Pavilion with built in SD card reader running 24.04.3. It will not read a new 64GB 150 MB/s SDXC card. Other systems will read the same card. It will read a SDHC card. I don't see anything in the bios about the card reader but the bios date range ended in 2009 so right before the SDXC type came out.

Could an updated driver correct or is there a hardware difference?

Are there any USB card readers supported by Ubuntu? An online search shows that many people had issues with USB card readers with Linux.

I'm not sure if it is permitted but I found a hardware solution that worked. https://www.amazon.com/dp/B081VHSB2V?th=1

Ubuntu 25.10 Slow App Opening Problem and Chrome Maximize Button Disappearing (Ryzen 3000 Series) https://askubuntu.com/questions/1559309/ubuntu-25-10-slow-app-opening-problem-and-chrome-maximize-button-disappearing-r

Description: After upgrading from Ubuntu 25.04 to Ubuntu 25.10, applications on GNOME (Wayland session) take several seconds to open, and the maximize button disappears in Google Chrome when the window is fully maximized.

This issue seems to primarily affect systems running AMD Ryzen 7 3750H CPUs with Radeon RX 5500M or Vega integrated graphics, but it's unclear whether it impacts the entire Ryzen 3000 series or only certain configurations.

Details: Since the upgrade to Ubuntu 25.10, there are two major issues:

Slow App Opening Apps like Nautilus (Files), GNOME Terminal, and GNOME Text Editor take 4-5 seconds or longer to launch, even on SSD storage. This issue did not occur in Ubuntu 25.04, where apps opened instantly.

Video proof: Ubuntu 25.10 app opening speed bug video link: https://drive.google.com/file/d/1Do28Wc--PHIIs1SONDpmGLj2Dm1oFYvW/view?usp=sharing

Chrome Maximize Button Bug In Google Chrome (Wayland), when the window is maximized, the maximize button disappears from the title bar. This does not happen on XWayland or other desktops.

Video proof: Ubuntu 25.10 app opening speed bug video link: https://drive.google.com/file/d/19ZDOlGF0efiDPshR8fHZSzPbMasQ1KSY/view?usp=sharing

Steps to Reproduce:

For slow apps: Boot into Ubuntu 25.10 (Wayland session, GNOME 49.0). Launch any built-in GNOME app (Files, Terminal, or Text Editor). Observe the delay before the window appears.

For Chrome title bar bug: Launch Google Chrome. Click the maximize button or drag Chrome to full screen. Observe that the maximize button disappears when maximized.

Expected Behavior: GNOME apps should open within 1 second, as they did in Ubuntu 25.04. The maximize button in Chrome should remain visible when maximized.

Actual Behavior: App launch times have increased to 4–5 seconds or more. Chrome’s maximize button disappears when the window is fully maximized.

System Information:

------------------
OS: Ubuntu 25.10 x86_64
Host: Alpha 15 A3DD REV:1.0
Kernel: 6.17.0-6-generic
DE: GNOME 49.0 (Wayland)
WM: Mutter
WM Theme: Adwaita
Theme: Yaru-dark [GTK2/3]
Icons: Yaru-dark [GTK2/3]
Cursor: Yaru [GTK2/3]
Terminal: ptyxis-agent
CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8)
GPU1: AMD Radeon RX 5500M / Pro 5500M
GPU2: AMD Radeon Vega Mobile Series
Memory: 13.06 GiB (3.17 GiB used)
Storage: NVMe SSD
Network: Intel AX200 Wi-Fi 6
Bluetooth: Intel AX200
BIOS: American Megatrends Inc. v1.18 (07/23/2020)
Ubuntu 25.10 not starting. Stalled on snapd.apparmor https://askubuntu.com/questions/1559221/ubuntu-25-10-not-starting-stalled-on-snapd-apparmor

I recently upgraded to Ubuntu 25.10. Since then my machine has not been able to complete a boot sequence. This is the boot sequence output where the stall happens Boot sequence stalled

I have examined the logs and cannot see what would cause the stall which starts at 07:30:43

mike@bambam:~$ journalctl -b -1 > tmp/previous_boot.txt

mike@bambam:~$ grep -E '(07:3|07:40)' tmp/previous_boot.txt
<output snipped for brevity>
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.803:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="Discord" pid=1422 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.803:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="balena-etcher" pid=1428 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.803:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="1password" pid=1421 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.804:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name=4D6F6E676F444220436F6D70617373 pid=1423 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.804:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="QtWebEngineProcess" pid=1424 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.804:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="babeld" pid=1427 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.805:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="bfdd" pid=1429 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.805:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="bgpd" pid=1430 comm="apparmor_parser"
Nov 04 07:30:35 bambam.mike-mac.net systemd[1]: systemd-rfkill.service: Deactivated successfully.
Nov 04 07:30:43 bambam.mike-mac.net kernel: kauditd_printk_skb: 213 callbacks suppressed
Nov 04 07:30:43 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194643.519:225): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-soffice" pid=1587 comm="apparmor_parser"
Nov 04 07:30:43 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194643.520:226): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-soffice//gpg" pid=1587 comm="apparmor_parser"
Nov 04 07:30:43 bambam.mike-mac.net systemd[1]: Finished apparmor.service - Load AppArmor profiles.
Nov 04 07:30:43 bambam.mike-mac.net systemd[1]: Starting snapd.apparmor.service - Load AppArmor profiles managed internally by snapd...
Nov 04 07:30:43 bambam.mike-mac.net systemd[1]: usr-local-bin-remote_bin.automount: Got automount request for /usr/local/bin/remote_bin, triggered by 1611 (snapd-apparmor)
Nov 04 07:30:43 bambam.mike-mac.net systemd[1]: netplan-ovs-cleanup.service - OpenVSwitch configuration for cleanup was skipped because of an unmet condition check (ConditionFileIsExecutable=/usr/bin/ovs-vsctl).
Nov 04 07:31:07 bambam.mike-mac.net kernel: workqueue: drm_fb_helper_damage_work hogged CPU for >10000us 35 times, consider switching to WQ_UNBOUND
Nov 04 07:32:57 bambam.mike-mac.net kernel: workqueue: drm_fb_helper_damage_work hogged CPU for >10000us 67 times, consider switching to WQ_UNBOUND
Nov 04 07:37:09 bambam.mike-mac.net kernel: workqueue: drm_fb_helper_damage_work hogged CPU for >10000us 131 times, consider switching to WQ_UNBOUND
Nov 04 07:40:11 bambam.mike-mac.net kernel: logitech-hidpp-device 0003:046D:4003.0008: HID++ 2.0 device connected.
Nov 04 07:40:11 bambam.mike-mac.net systemd[1]: Received SIGINT.
Nov 04 07:40:11 bambam.mike-mac.net systemd[1]: Activating special unit reboot.target...
Nov 04 07:40:11 bambam.mike-mac.net systemd[1]: Removed slice system-modprobe.slice - Slice /system/modprobe.
Nov 04 07:40:11 bambam.mike-mac.net snapd-apparmor[1611]: main.go:143: No profiles to load
Nov 04 07:40:11 bambam.mike-mac.net systemd[1]: Stopped target rpcbind.target - RPC Port Mapper.
Nov 04 07:40:11 bambam.mike-mac.net systemd[1]: lvm2-lvmpolld.socket: Deactivated successfully.
<remainder of shutdown output snipped>

mike@bambam:~$ grep -E '(snapd|apparmor)' tmp/previous_boot.txt
Nov 04 07:30:19 bambam.mike-mac.net kernel: LSM: initializing lsm=lockdown,capability,landlock,yama,apparmor,ima,evm
Nov 04 07:30:19 bambam.mike-mac.net kernel: evm: security.apparmor
Nov 04 07:30:19 bambam.mike-mac.net systemd[1]: Reached target snapd.mounts-pre.target - Mounting snaps.
Nov 04 07:30:23 bambam.mike-mac.net systemd[1]: Mounting snap-snapd-25577.mount - Mount unit for snapd, revision 25577...
Nov 04 07:30:23 bambam.mike-mac.net systemd[1]: Mounted snap-snapd-25577.mount - Mount unit for snapd, revision 25577.
Nov 04 07:30:24 bambam.mike-mac.net systemd[1]: Reached target snapd.mounts.target - Mounted snaps.
Nov 04 07:30:31 bambam.mike-mac.net systemd[1]: Starting apparmor.service - Load AppArmor profiles...
Nov 04 07:30:32 bambam.mike-mac.net apparmor.systemd[1385]: Restarting AppArmor
Nov 04 07:30:32 bambam.mike-mac.net apparmor.systemd[1385]: Reloading AppArmor profiles
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.653:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="brave" pid=1431 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.653:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="buildah" pid=1432 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.803:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="Discord" pid=1422 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.803:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="balena-etcher" pid=1428 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.803:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="1password" pid=1421 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.804:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name=4D6F6E676F444220436F6D70617373 pid=1423 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.804:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="QtWebEngineProcess" pid=1424 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.804:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="babeld" pid=1427 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.805:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="bfdd" pid=1429 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.805:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="bgpd" pid=1430 comm="apparmor_parser"
Nov 04 07:30:43 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194643.519:225): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-soffice" pid=1587 comm="apparmor_parser"
Nov 04 07:30:43 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194643.520:226): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-soffice//gpg" pid=1587 comm="apparmor_parser"
Nov 04 07:30:43 bambam.mike-mac.net systemd[1]: Finished apparmor.service - Load AppArmor profiles.
Nov 04 07:30:43 bambam.mike-mac.net systemd[1]: Starting snapd.apparmor.service - Load AppArmor profiles managed internally by snapd...
Nov 04 07:30:43 bambam.mike-mac.net systemd[1]: usr-local-bin-remote_bin.automount: Got automount request for /usr/local/bin/remote_bin, triggered by 1611 (snapd-apparmor)
Nov 04 07:40:11 bambam.mike-mac.net snapd-apparmor[1611]: main.go:143: No profiles to load
Nov 04 07:40:11 bambam.mike-mac.net systemd[1]: snapd.system-shutdown.service - Ubuntu core (all-snaps) system shutdown helper setup service was skipped because of an unmet condition check (ConditionPathExists=!/usr/bin/finalrd).
Nov 04 07:40:11 bambam.mike-mac.net systemd[1]: Finished snapd.apparmor.service - Load AppArmor profiles managed internally by snapd.
Nov 04 07:40:12 bambam.mike-mac.net systemd[1]: Stopped target snapd.mounts.target - Mounted snaps.
Nov 04 07:40:12 bambam.mike-mac.net systemd[1]: Unmounting snap-snapd-25577.mount - Mount unit for snapd, revision 25577...
Nov 04 07:40:12 bambam.mike-mac.net systemd[1]: snap-snapd-25577.mount: Deactivated successfully.
Nov 04 07:40:12 bambam.mike-mac.net systemd[1]: Unmounted snap-snapd-25577.mount - Mount unit for snapd, revision 25577.
Nov 04 07:40:12 bambam.mike-mac.net systemd[1]: Stopped target snapd.mounts-pre.target - Mounting snaps.

I have

  • Completely uninstalled snap and the snap applications, then reinstalled them
  • Run reconfigure

What else can I do other than examine other distros ?

Cheers

Polkit rule for reboot ignored https://askubuntu.com/questions/1540026/polkit-rule-for-reboot-ignored

Running Ubuntu 24.04 LTS. I have polkit rules successfully limiting power-off and suspend to AUTH_ADMIN. However, the rules simply do not work for org.freedesktop.login1.reboot. I have no idea what's different. It does work when multiple sessions are active, but I want to prevent all reboots that aren't done by an administrator. Any ideas?

All methods of rebooting are still available even though I set it to AUTH_ADMIN. I can reboot while logged in, from the login screen, or via terminal using shutdown --reboot.

Here is my rule:

polkit.addRule(function(action, subject) {
    if ((action.id == "org.freedesktop.login1.power-off" ||
         action.id == "org.freedesktop.login1.power-off-multiple-sessions" ||
         action.id == "org.freedesktop.login1.reboot" ||
         action.id == "org.freedesktop.login1.reboot-multiple-sessions" ||
         action.id == "org.freedesktop.login1.suspend" ||
         action.id == "org.freedesktop.login1.suspend-multiple-sessions")) {
        if (subject.isInGroup("sudo")) {
            return polkit.Result.YES;
        } else {
            return polkit.Result.AUTH_ADMIN;
        }
    }
});

Has anyone been able to effectively squash reboots in any way using polkit on Ubuntu 24.04 LTS or newer? What settings worked? Note that org.freedesktop.login1.reboot-multiple-sessions works fine, but the no-logins .reboot version does not.

Enabling Brotli compression in Ubuntu 24.04 https://askubuntu.com/questions/1529314/enabling-brotli-compression-in-ubuntu-24-04

I'm wondering if anyone has a roadmap for implementing Brotli compression on a Ubuntu 24.04 system with NGINX 1.26.2? I have found various answers for earlier versions of Ubuntu but nothing specific to 24.04. When I try the apt commands suggested in articles for older versions they fail in various ways

One example: I found this command:

sudo apt-add-repository -y ppa:hda-me/nginx-stable 

which failed like this:

E: The repository 'https://ppa.launchpadcontent.net/hda-me/nginx-stable/ubuntu noble Release' does not have a Release file.  
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

I think what I'm asking is can someone advise the repository containing the Brotli module that I need to add to match the version of NGINX in 24.04?

This is the current repository list if that helps, as you can see the nginx comes from the WordOps repository:

Hit:1 http://au.archive.ubuntu.com/ubuntu noble InRelease  
Hit:2 http://repo.netdata.cloud/repos/stable/ubuntu noble/ InRelease  
Hit:3 http://au.archive.ubuntu.com/ubuntu noble-updates InRelease  
Hit:4 http://au.archive.ubuntu.com/ubuntu noble-backports InRelease  
Hit:5 http://repo.netdata.cloud/repos/repoconfig/ubuntu noble/ InRelease  
Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease  
Hit:7 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu noble InRelease  
Hit:9 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease  
Hit:10 ppa.launchpadcontent.net/wordops/nginx-wo/ubuntu noble InRelease  
Hit:8 mirror.realcompute.io/mariadb/mariadb-11.4.3/repo/ubuntu noble InRelease  
How can I convert an avif image file to a png file? https://askubuntu.com/questions/1482799/how-can-i-convert-an-avif-image-file-to-a-png-file

How can I convert an avif image file to a png file?

$ convert macadamiaCracker1.{avif,png}
convert: Decoder plugin generated an error: Unspecified (7.0) `macadamiaCracker1.avif' @ error/heic.c/IsHEIFSuccess/135.
convert: no images defined `macadamiaCracker1.png' @ error/convert.c/ConvertImageCommand/3325.

where

$ file macadamiaCracker1.avif
macadamiaCracker1.avif: ISO Media, AVIF Image

Was convert updated to support avif after ImageMagick 7.1.0-45?

$ convert --version
Version: ImageMagick 7.1.0-45 Q16-HDRI x86_64 d80f6a7cd:20220731 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP(4.5) 
Delegates (built-in): bzlib cairo djvu fontconfig freetype heic jng jp2 jpeg jxl lcms lqr lzma openexr png raw rsvg tiff webp x xml zlib
Compiler: gcc (11.3)
Installing Ubuntu 22.04 with full disk encryption (LUKS) and swap partitions https://askubuntu.com/questions/1467409/installing-ubuntu-22-04-with-full-disk-encryption-luks-and-swap-partitions

I`m just trying to install Ubuntu 22.04 in my notebook, but I need to have full disk encryption enabled and I would like to define the size of my swap partition.

When searching for answers I saw multiple mentions that Ubuntu 22 doesn`t need a swap partition, because it would use swapfile. However If I proceed with the default installation (plus enabling FDE) I get a swap partition anyway:

nvme0n1               259:0    0 238.5G  0 disk  
├─nvme0n1p1           259:1    0   512M  0 part  
├─nvme0n1p2           259:2    0   1.7G  0 part  
└─nvme0n1p3           259:3    0 236.3G  0 part  
  └─crypt             253:0    0 236.3G  0 crypt 
    ├─vgubuntu-root   253:1    0 234.4G  0 lvm   
    └─vgubuntu-swap_1 253:2    0   1.9G  0 lvm   

So I went for a new install following these tutorials: (They are mostly the same)

  1. https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019
  2. https://www.tecmint.com/encrypt-disk-installing-ubuntu/

Note: Its a nvme notebook

Following the tutorial, I ran command for command with no error, but got a warning when partitioning:

Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)

The sgdisk --print $DEV returns as expected:

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         1574911   768.0 MiB   8301  /boot
   2         1574912         1579007   2.0 MiB     EF02  GRUB
   3         1579008         1841151   128.0 MiB   EF00  EFI-SP
   5         1841152       500118158   237.6 GiB   8301  rootfs

However when I get to the point of using LUKS, the first time it works as expected, but the second command fails: This command works:

cryptsetup luksFormat --type=luks1 ${DEVP}1 

And then this command fails:

# cryptsetup luksFormat --type=luks1 ${DEVP}5
Device /dev/nvme0n1p5 does not exist or access denied.

I`ve also tried like this:

# cryptsetup luksFormat ${DEVP}5
Device /dev/nvme0n1p5 does not exist or access denied.

Because that is a difference between both tutorials so far... I`m on a live boot from USB.

How can I encrypt the last partition so I can continue on?

OR how can I achieve the Ubuntu 22 install + LUKS FDE + Custom SWAP?

Blue screen upon login to ubuntu https://askubuntu.com/questions/1309139/blue-screen-upon-login-to-ubuntu

Im new to ubuntu and I installed 20.04

Its been fine the last 3 days.. but now when I boot my machine, icons are missing and its just blue background..

I wanted to do some diagnostics via terminal, but the terminal does not open. Any idea what causes this? And how can I reset this back to default or factory state?enter image description here

Device or Resource busy when trying to use mv https://askubuntu.com/questions/1271344/device-or-resource-busy-when-trying-to-use-mv

I am attempting to recover from finger problems where some data was moved to the wrong place when using Ubuntu 20.04. Below are my attempted command and the result.

jgossage@JFGPER:/media/jgossage$ mv LinuxData/Downloads/Downloads/Downloads/. LinuxData/Downloads -v
mv: cannot move 'LinuxData/Downloads/Downloads/Downloads/.' to 'LinuxData/Downloads/.': Device or resource busy

I am at a loss to figure out why this is happening and I need some guidance.

unattended-upgrade CPU 100% for 4 hours (every time) [in case of many routing tables] https://askubuntu.com/questions/1119241/unattended-upgrade-cpu-100-for-4-hours-every-time-in-case-of-many-routing-ta
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic

During unattended-upgrade the CPU use 100% of resource for 4 hours

Example:

$ unattended-upgrade --dry-run --debug

2019-02-16 10:34:46,087 INFO Enabled logging to syslog via daemon facility
2019-02-16 10:34:46,087 INFO Initial blacklisted packages:
2019-02-16 10:34:46,088 INFO Initial whitelisted packages:
2019-02-16 10:34:46,088 INFO Starting unattended upgrades script
2019-02-16 10:34:46,088 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESM,a=bionic
2019-02-16 10:34:56,044 INFO Enabled logging to syslog via daemon facility
2019-02-16 10:34:56,045 INFO Initial blacklisted packages:
2019-02-16 10:34:56,045 INFO Initial whitelisted packages:
2019-02-16 10:34:56,045 INFO Starting unattended upgrades script
*2019-02-16 10:34:56,046 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESM,a=bionic
2019-02-16 10:34:56,290 DEBUG Using (^linux-image|^linux-headers|^linux-image-extra|^linux-modules|^linux-modules-extra|^linux-signed-image|^kfreebsd-image|^kfreebsd-headers|^gnumach-image|^.*-modules|^.*-kernel|^linux-backports-modules-
.*|^linux-modules-.*|^linux-tools|^linux-cloud-tools) regexp to find kernel packages
2019-02-16 10:34:56,294 DEBUG Using (^linux-image.*4.15.0-45-generic|^linux-headers.*4.15.0-45-generic|^linux-image-extra.*4.15.0-45-generic|^linux-modules.*4.15.0-45-generic|^linux-modules-extra.*4.15.0-45-generic|^linux-signed-image.*4
.15.0-45-generic|^kfreebsd-image.*4.15.0-45-generic|^kfreebsd-headers.*4.15.0-45-generic|^gnumach-image.*4.15.0-45-generic|4.15.0-45-generic.*-modules|4.15.0-45-generic.*-kernel|^linux-backports-modules-.*.*4.15.0-45-generic|^linux-modul
es-.*.*4.15.0-45-generic|^linux-tools.*4.15.0-45-generic|^linux-cloud-tools.*4.15.0-45-generic) regexp to find running kernel packages
2019-02-16 10:34:57,345 DEBUG pkgs that look like they should be upgraded:
2019-02-16 10:37:17,591 INFO Enabled logging to syslog via daemon facility
2019-02-16 10:37:17,592 INFO Initial blacklisted packages:
2019-02-16 10:37:17,593 INFO Initial whitelisted packages:
2019-02-16 10:37:17,593 INFO Starting unattended upgrades script
2019-02-16 10:37:17,593 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESM,a=bionic
2019-02-16 10:37:17,836 DEBUG Using (^linux-image|^linux-headers|^linux-image-extra|^linux-modules|^linux-modules-extra|^linux-signed-image|^kfreebsd-image|^kfreebsd-headers|^gnumach-image|^.*-modules|^.*-kernel|^linux-backports-modules-
.*|^linux-modules-.*|^linux-tools|^linux-cloud-tools) regexp to find kernel packages
2019-02-16 10:37:17,840 DEBUG Using (^linux-image.*4.15.0-45-generic|^linux-headers.*4.15.0-45-generic|^linux-image-extra.*4.15.0-45-generic|^linux-modules.*4.15.0-45-generic|^linux-modules-extra.*4.15.0-45-generic|^linux-signed-image.*4
.15.0-45-generic|^kfreebsd-image.*4.15.0-45-generic|^kfreebsd-headers.*4.15.0-45-generic|^gnumach-image.*4.15.0-45-generic|4.15.0-45-generic.*-modules|4.15.0-45-generic.*-kernel|^linux-backports-modules-.*.*4.15.0-45-generic|^linux-modul
es-.*.*4.15.0-45-generic|^linux-tools.*4.15.0-45-generic|^linux-cloud-tools.*4.15.0-45-generic) regexp to find running kernel packages
2019-02-16 10:37:18,903 DEBUG pkgs that look like they should be upgraded:
2019-02-16 14:22:00,768 DEBUG fetch.run() result: 0
2019-02-16 14:22:00,769 DEBUG blacklist: []
2019-02-16 14:22:00,769 DEBUG whitelist: []
2019-02-16 14:22:00,771 INFO No packages found that can be upgraded unattended and no pending auto-removals

2019-02-16 10:37:18,903 DEBUG pkgs that look like they should be upgraded:

2019-02-16 14:22:00,768 DEBUG fetch.run() result: 0

This is a "manual run" but the issue is also present during automatic-updates:

 3541 ?        Ss     0:00 /bin/sh /usr/lib/apt/apt.systemd.daily update
 3546 ?        S      0:00  \_ /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held update
 4072 ?        Rl   158:20      \_ /usr/bin/python3 /usr/bin/unattended-upgrade --download-only

UPDATE 1

Today there are updates, but this is the result (``top):

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
23271 root      20   0  269328 181084  49932 R 100.0  4.5   0:22.21 unattended-upgr

and still waiting here from hours with CPU 100%....

# unattended-upgrade --dry-run --debug
Enabled logging to syslog via daemon facility
Initial blacklisted packages:
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESM,a=bionic
Using (^linux-image|^linux-headers|^linux-image-extra|^linux-modules|^linux-modules-extra|^linux-signed-image|^kfreebsd-image|^kfreebsd-headers|^gnumach-image|^.*-modules|^.*-kernel|^linux-backports-modules-.*|^linux-modules-.*|^linux-tools|^linux-cloud-tools) regexp to find kernel packages
Using (^linux-image.*4.15.0-45-generic|^linux-headers.*4.15.0-45-generic|^linux-image-extra.*4.15.0-45-generic|^linux-modules.*4.15.0-45-generic|^linux-modules-extra.*4.15.0-45-generic|^linux-signed-image.*4.15.0-45-generic|^kfreebsd-image.*4.15.0-45-generic|^kfreebsd-headers.*4.15.0-45-generic|^gnumach-image.*4.15.0-45-generic|4.15.0-45-generic.*-modules|4.15.0-45-generic.*-kernel|^linux-backports-modules-.*.*4.15.0-45-generic|^linux-modules-.*.*4.15.0-45-generic|^linux-tools.*4.15.0-45-generic|^linux-cloud-tools.*4.15.0-45-generic) regexp to find running kernel packages
Checking: libnss-systemd ([<Origin component:'main' archive:'bionic-updates' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>, <Origin component:'main' archive:'bionic-security' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>])
Checking: libpam-systemd ([<Origin component:'main' archive:'bionic-updates' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>, <Origin component:'main' archive:'bionic-security' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>])
Checking: libpci3 ([<Origin component:'main' archive:'bionic-updates' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>])
adjusting candidate version: libpci3=1:3.5.2-1ubuntu1
Checking: libsystemd0 ([<Origin component:'main' archive:'bionic-updates' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>, <Origin component:'main' archive:'bionic-security' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>])
Checking: libudev1 ([<Origin component:'main' archive:'bionic-updates' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>, <Origin component:'main' archive:'bionic-security' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>])
Checking: pciutils ([<Origin component:'main' archive:'bionic-updates' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>])
adjusting candidate version: pciutils=1:3.5.2-1ubuntu1
Checking: systemd ([<Origin component:'main' archive:'bionic-updates' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>, <Origin component:'main' archive:'bionic-security' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>])
Checking: systemd-sysv ([<Origin component:'main' archive:'bionic-updates' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>, <Origin component:'main' archive:'bionic-security' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>])
Checking: udev ([<Origin component:'main' archive:'bionic-updates' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>, <Origin component:'main' archive:'bionic-security' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>])
pkgs that look like they should be upgraded: libnss-systemd
libpam-systemd
libsystemd0
libudev1
systemd
systemd-sysv
udev

I still think that Ubuntu is the worst Linux distribution.

Update 2

I discovered the issue! The problem only happens when I have many routing tables. Inexplicable, but reproducible on all installations.

rdesktop gives ERROR: Failed to open display: https://askubuntu.com/questions/955722/rdesktop-gives-error-failed-to-open-display

I have a .bash_aliases file with several aliases which I use to connect to Windows machines. The aliases are set up like this:

rdesktop -d domain -u username -p password -k fr-be -g 1920x1024 -T Customer-SupportPC -a 24 IP

Yesterday the connection was working fine, today the connection gives me following error:

ERROR: Failed to open display:

SSH sessions are no problem, it's only a problem with rdesktop to a Windows server. X11 forwarding is set to yes in /etc/ssh/sshd_config

Mariadb non-root user https://askubuntu.com/questions/767887/mariadb-non-root-user

I have installed mariadb and when as a Linux root user, I can run mysql command to access the database. But when I try to login as a normal Linux user and run mysql -u root -p, I am getting error:

ERROR 1698 (28000): Access denied for user 'root'@'localhost'. 

I tried several methods like reset password for the mysql root user, but no use.

Any help will be great.

Install a specific nvidia driver https://askubuntu.com/questions/694717/install-a-specific-nvidia-driver

I've just upgraded from 14.04 to 15.04 & want to solve a problem with Nvidia drivers I've had for a while. I'm currently running using Nouveau, but this causes screen scrambles when switching users, or accessing the dash. (Nouveau was OK under 14.04) My Nvidia drivers were fine under 14.04 using nvidia304.125, but caused problems when 304.128 came along. I couldn't manage to revert to 304.125, so ended up with Nouveau which was OK. Having upgraded to 15.04 I find Nouveau to be a bit flaky, I've failed with later Nvidia drivers (up to 346) so would really like to be able to use the 304.125 version, however I am presented only with 304.128 from Nvidsia-current. I have a Nvidia GeForce 6200 Turbocache card which I know works well with 304.125 Ubuntu 14.04 because I still have a boot option to that on a second hard disk which works faultlessly, so... How do I install specifically Nvidia 304.125 drivers within Ubuntu 15.04??

how to fix Error: Port conflict: another instance is already running https://askubuntu.com/questions/687182/how-to-fix-error-port-conflict-another-instance-is-already-running
  • I fired two command

    sudo apt-get update
    sudo apt-get upgrade
    
  • It will give me error after upgrade(after press "Y")

        Setting up postgresql-9.1 (9.1.19-0ubuntu0.12.04) ...
         * Starting PostgreSQL 9.1 database server                                       
         * Error: Port conflict: another instance is already running on /var/run/postgresql with port 5432
                                                                                 [fail]
        invoke-rc.d: initscript postgresql, action "start" failed.
        dpkg: error processing postgresql-9.1 (--configure):
         subprocess installed post-installation script returned error exit status 1
        Errors were encountered while processing:
         postgresql-9.1
        E: Sub-process /usr/bin/dpkg returned an error code (1)
    
  • I have try so much thread but can't get solution please help