Ubuntu server stopped displaying motd for unknown reason https://askubuntu.com/questions/1565324/ubuntu-server-stopped-displaying-motd-for-unknown-reason

I have a tower runnung ubuntu server and I had it configured to always display the motd on ssh login. It has been doing so without error for months and it suddenly stopped displaying today. Went through the pam.d to see if the lines were there for it and they are. The sshd_config is set to use PAM and the print motd is uncommented and set to yes. The run-parts command prints the expected results of the motd as well, no errors. I don't know what could have caused this. tried rebooting to see if it was something odd with startup and it still wasn't working

Any ideas?

Why is my Ubuntu 24.04.4 LTS installation failing? ThinkCentre M70q https://askubuntu.com/questions/1565323/why-is-my-ubuntu-24-04-4-lts-installation-failing-thinkcentre-m70q

I am having issues installing Desktop Ubuntu 24.04.4 LTS on a machine I have.

The said machine is a Lenevo ThinkCentre M70q Gen 4 with the Intel i5-13400T (which officially supports 22.04 LTS, nothing is said about 24.04).

I already have Windows 11 installed on the drive and wish to dual boot. I downloaded the latest Ubuntu iso file from torrent (which I understand should be a form of equivalence to a checksum) and flashed a USB drive with RUFUS. There was a message about the image using a different GRUB version than what was included by the application and it offered to try and download it before flashing the drive. Went with yes and the USB drive was good to go in 10 minutes.

I can boot from the USB drive, select "try or install Ubuntu", load the desktop and work on it. But if I try to install it (I am giving it 100GB of drive space when setting up the initial install menu), it fails after a few minutes. I included the last lines of output I get but I have a hard time of understanding the problem.

I tried flashing the USB drive with Etcher instead, doing a sudo apt update upgrade before trying to install, tried without an internet connection, etc. Any help would be greatly appreciated!

Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/updating-initramfs-configuration: SUCCESS: updating initramfs configuration
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: configuring target system bootloader
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         start: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub: installing grub to target devices
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         setup grub on target /target
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Found primary UEFI ESP: partition-nvme0n1p1
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Found UEFI ESP(s) for grub install: ['partition-nvme0n1p1']
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         get_path_to_storage_volume for volume partition-nvme0n1p1({'device': 'disk-nvme0n1', 'size': 209715200, 'flag': 'boot', 'number': 1, 'preserve': True, 'grub_device': True, 'offset': 1048576, 'partition_type': 'c12a7328-f81f-11d2-ba4b-00a0c93ec93b', 'path': '/dev/nvme0n1p1', 'uuid': 'cdc4a374-ec4f-4a94-b198-c3bc8b78a068', 'id': 'partition-nvme0n1p1', 'type': 'partition'})
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         get_path_to_storage_volume for volume disk-nvme0n1({'ptable': 'gpt', 'serial': 'SKHynix_HFS256GEJ9X113N_4DC8N503814708I4R_1', 'wwn': 'eui.0000000000000000ace42e0035c779dc', 'nvme_controller': 'nvme-controller-nvme0', 'path': '/dev/nvme0n1', 'preserve': True, 'name': '', 'grub_device': False, 'id': 'disk-nvme0n1', 'type': 'disk'})
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Processing serial eui.0000000000000000ace42e0035c779dc via udev to eui.0000000000000000ace42e0035c779dc
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         lookup_disks found: ['nvme-eui.0000000000000000ace42e0035c779dc', 'nvme-eui.0000000000000000ace42e0035c779dc-part4', 'nvme-eui.0000000000000000ace42e0035c779dc-part2', 'nvme-eui.0000000000000000ace42e0035c779dc-part1', 'nvme-eui.0000000000000000ace42e0035c779dc-part3', 'nvme-eui.0000000000000000ace42e0035c779dc-part5']
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['udevadm', 'info', '--query=property', '--export', '/dev/nvme0n1'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         /dev/nvme0n1 is multipath device? False
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['udevadm', 'info', '--query=property', '--export', '/dev/nvme0n1'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         /dev/nvme0n1 is multipath device member? False
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         block.lookup_disk() returning path /dev/nvme0n1
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['partprobe', '/dev/nvme0n1'] with allowed return codes [0, 1] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         TIMED udevadm_settle(): 0.018
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         devsync happy - path /dev/nvme0n1 now exists
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         return volume path /dev/nvme0n1
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['partprobe', '/dev/nvme0n1'] with allowed return codes [0, 1] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         TIMED udevadm_settle(): 0.023
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         devsync happy - path /dev/nvme0n1 now exists
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         return volume path /dev/nvme0n1p1
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         install_devices: ['/dev/nvme0n1p1']
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Generating grub debconf_selections for devices=['/dev/nvme0n1p1'] uefi=True
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Applying grub debconf_selections config:
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         {'debconf_selections': {'grub': 'grub-pc grub-efi/install_devices multiselect /dev/disk/by-id/nvme-SKHynix_HFS256GEJ9X113N_4DC8N503814708I4R-part1'}}
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Applying debconf selections
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         It's not, using normal behavior
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'debconf-set-selections'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         It's not, using normal behavior
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         It is, so unshare will use --mount-proc=/target/proc
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         TIMED subp(['udevadm', 'settle']): 0.003
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         It is, so unshare will use --mount-proc=/target/proc
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         TIMED subp(['udevadm', 'settle']): 0.006
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         UEFI remove old olders efi state:
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         EFIBootState(current='0004', timeout='1 seconds', order=['0000', '0001', '0004', '0002', '0003'], entries={'0000': EFIBootEntry(name='Windows Boot Manager', path='HD(1,GPT,cdc4a374-ec4f-4a94-b198-c3bc8b78a068,0x800,0x64000)/File(\\EFI\\Microsoft\\Boot\\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400'), '0001': EFIBootEntry(name='UEFI: PXE IPv4 Intel(R) Ethernet Connection (22) I219-LM', path='PciRoot(0x0)/Pci(0x1f,0x6)/MAC(745d223b6fda,0)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'), '0002': EFIBootEntry(name='UEFI: PXE IPv6 Intel(R) Ethernet Connection (22) I219-LM', path='PciRoot(0x0)/Pci(0x1f,0x6)/MAC(745d223b6fda,0)/IPv6([::]:<->[::]:,0,0)0000424f'), '0003': EFIBootEntry(name='ubuntu', path='HD(1,GPT,cdc4a374-ec4f-4a94-b198-c3bc8b78a068,0x800,0x64000)/File(\\EFI\\ubuntu\\shimx64.efi) File(.)'), '0004': EFIBootEntry(name='UEFI: Corsair Voyager SliderX1000A, Partition 2', path='PciRoot(0x0)/Pci(0x14,0x0)/USB(18,0)/HD(2,GPT,7cd178b0-860e-4729-a4a1-cd7bae592982,0xc63010,0x27b0)0000424f')})
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Skipped removing 2 old UEFI entries.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         UEFI entry 'Windows Boot Manager' might no longer exist and should be removed.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         UEFI entry 'ubuntu' might no longer exist and should be removed.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         installing grub to target=/target devices=['/dev/nvme0n1p1'] [replace_defaults=False]
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         It's not, using normal behavior
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Using grub install command: /usr/lib/grub/grub-multi-install
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Grub install cmds:
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         [['efibootmgr', '-v'], ['dpkg-reconfigure', 'grub-efi-amd64'], ['update-grub'], ['/usr/lib/grub/grub-multi-install'], ['efibootmgr', '-v']]
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         It is, so unshare will use --mount-proc=/target/proc
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         It is, so unshare will use --mount-proc=/target/proc
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'dpkg-reconfigure', 'grub-efi-amd64'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         It is, so unshare will use --mount-proc=/target/proc
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'update-grub'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         It is, so unshare will use --mount-proc=/target/proc
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', '/usr/lib/grub/grub-multi-install'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         TIMED subp(['udevadm', 'settle']): 0.005
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub: FAIL: installing grub to target devices
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: FAIL: configuring target system bootloader
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Traceback (most recent call last):
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/commands/main.py", line 202, in main
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:             ret = args.func(args)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 2238, in curthooks
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:             builtin_curthooks(cfg, target, state)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 2193, in builtin_curthooks
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:             setup_grub(cfg, target, osfamily=osfamily,
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 852, in setup_grub
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:             install_grub(instdevs, target, uefi=uefi_bootable, grubcfg=grubcfg)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/commands/install_grub.py", line 451, in install_grub
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:             in_chroot.subp(cmd, env=env, capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/util.py", line 851, in subp
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:             return subp(*args, **kwargs)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/util.py", line 331, in subp
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:             return _subp(*args, **kwargs)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:           File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/util.py", line 175, in _subp
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:             raise ProcessExecutionError(stdout=out, stderr=err,
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         curtin.util.ProcessExecutionError: Unexpected error while running command.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', '/usr/lib/grub/grub-multi-install']
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Exit code: 1
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Reason: -
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Stdout: ''
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Stderr: Installing grub to /boot/efi.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:                 Installing for x86_64-efi platform.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:                 grub-install: warning: Cannot set EFI variable Boot0003.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:                 grub-install: warning: efivarfs_set_variable: writing to fd 9 failed: Invalid argument.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:                 grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: Invalid argument.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:                 grub-install: error: failed to register the EFI boot entry: Invalid argument.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:                 
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Unexpected error while running command.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', '/usr/lib/grub/grub-multi-install']
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Exit code: 1
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Reason: -
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Stdout: ''
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         Stderr: Installing grub to /boot/efi.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:                 Installing for x86_64-efi platform.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:                 grub-install: warning: Cannot set EFI variable Boot0003.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:                 grub-install: warning: efivarfs_set_variable: writing to fd 9 failed: Invalid argument.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:                 grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: Invalid argument.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:                 grub-install: error: failed to register the EFI boot entry: Invalid argument.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:                 
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         {'current': '0004', 'timeout': '1 seconds', 'order': '0000,0001,0004,0002,0003'}
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         {'current': '0004', 'timeout': '1 seconds', 'order': '0000,0001,0004,0002,0003'}
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:         
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Stderr: ''
Mar 31 20:31:01 ubuntu subiquity_event.6571[6571]: 
Mar 31 20:31:01 ubuntu subiquity_event.6571[6571]:   curtin command install
Help with steam file directory https://askubuntu.com/questions/1565322/help-with-steam-file-directory

I installed steam on Ubuntu 24.04.4 LTS through the snaps store and when I clicked install on a game, it showed the file directory /usr/lib/modules and I think this is incorrect because I think that's where the kernel lives. Can someone tell me what file directory to put?

Help, how can I use chroot on Ubuntu? https://askubuntu.com/questions/1565321/help-how-can-i-use-chroot-on-ubuntu

Good morning, I have a question: what command can I use to chroot in Ubuntu? Thank you.

That's exactly what I want to do: install a chroot environment on Ubuntu so I can test things in that environment.

how do i download the correct tp-link driver for a tp-link AXE5400 that will run onUbuntu 25.10 https://askubuntu.com/questions/1565320/how-do-i-download-the-correct-tp-link-driver-for-a-tp-link-axe5400-that-will-run

I am going to set up an H/P pavilion that was running attached to an in-house ethernet. I have moved and will set up the system in a garage that does not have ethernet connection but does have good wifi signal. I have the tp-link hardware but now, after moving I do not have an ethernet connection. Which item do I download, probably to my windows system in my house and then how do I "sneaker-net" that driver to the H/P and install it?

Lenovo Y720 Keyboard Backlight https://askubuntu.com/questions/1565318/lenovo-y720-keyboard-backlight

I have followed the instructions https://github.com/Izurii/Lenovo-Y720-KB-Led-Controller. I have created the etc/udev/rules.d/99-filename.rules. It does not appear to make the changes when booting. I can run the program manually and make the changes when it asks to make the changes and will work fine after that. I would just prefer to have it run at boot.

NAME="Linux Mint"
VERSION="22.3 (Zena)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 22.3"
VERSION_ID="22.3"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=zena
UBUNTU_CODENAME=noble

I have tried running from the AppImage, but that always asks to change file permission.

I installed the .deb. I have /opt/Lenovo Y720 Keyboard LED Controller/ ./y720-kb-led-controller to run at startup.

I have created a file in /etc/udev/rules.d/99-LenovoLED.rules that contains:

SUBSYSTEM=="hidraw", ATTRS{name}=="ITE33D1:00", MODE="0666"
SUBSYSTEM=="input", ATTRS{name}=="*Keyboard*", MODE="0666"

These are the commands it wants put in the terminal

sudo chmod 666 /dev/hidraw0

sudo chmod 666 /dev/input/event5
Help loading windows onto my computer [closed] https://askubuntu.com/questions/1565317/help-loading-windows-onto-my-computer

I don't really know much about computers, but am trying to load Windows onto my father's Ubuntu computer, so that I can then load microsoft onto it.

I've got as far as loading the installation information from another computer onto a USB stick, but am now stuck on how to get it onto the Ubuntu computer...

Can anyone help, using very simple layman's terms?!!

Many thanks!

How to unset GNOME Builder as default editor? https://askubuntu.com/questions/1565311/how-to-unset-gnome-builder-as-default-editor

I ran flatpak install org.gnome.Builder on Kubuntu 25.10 before modifying and compiling a GTK3 app. Now most source code file extensions open in GNOME Builder. I'd like KDE Kate back as default to recover my preferred color scheme, custom keybinds, and VI mode. Uninstalling, then reinstalling when I want to work on GTK3 apps, is too inefficient.

Someone said to check xdg-mime query default text/plain and kcmshell6 kcm_componentchooser to set the default text editor, but it's still org.kde.kate.desktop as preferred. I was using a workaround on each of .{css,pl,sh}, right-clicking in Dolphin then going into Properties and changing the "Open with", but today I clicked on a .c file and decided I've had enough.

I'm about to split and loop through grep MimeType= /var/lib/flatpak/exports/share/applications/org.gnome.Builder.desktop to run xdg-mime default org.kde.Kate.desktop "$x", but this might not persist if a GNOME Builder update adds more MIME types. Which command can permanently prevent any specified application from being the first entry in Dolphin's "Open with" list and used by xdg-open?

Can't open Google Chrome https://askubuntu.com/questions/1565310/cant-open-google-chrome

I tried to download google chrome from the official website and it downloaded two files. One says "google-chrome-stable_current_amd64.5WU9-pa5.deb.part" which, when I try to open, says "there is no app installed for partially downloaded files" files" and the other says "google-chrome-stable_current_amd64.deb" and opens the text editor. Am I supposed to type something there? I don't really understand computers, so any help would be appreciated.

Guidance Required for Restricting USB Data Transfer on Ubuntu Systems 22 LTS and above https://askubuntu.com/questions/1565309/guidance-required-for-restricting-usb-data-transfer-on-ubuntu-systems-22-lts-and

We are currently using Ubuntu systems in our environment and would like to implement device control measures to prevent users from copying or transferring data using external storage devices such as USB drives (pen drives).

We have evaluated several endpoint security solutions; however, none of them seem to provide a complete and reliable solution, as each has certain limitations.

Could you please confirm whether it is possible to enforce such restrictions on Ubuntu systems? If yes, we would appreciate detailed guidance on how this can be implemented effectively.

Will updating Ubuntu break my Wine installation? https://askubuntu.com/questions/1565307/will-updating-ubuntu-break-my-wine-installation

Wine is installed from a different repo (WineHQ) for different versions of Ubuntu. If I'm running Ubuntu Jammy (22.04), will updating to Ubuntu Noble (24.04) break my Wine installation?

Upgrading to 24.04 LTS https://askubuntu.com/questions/1565306/upgrading-to-24-04-lts

I am partway through following the instructions in Upgrade Ubuntu Desktop for 24.04 LTS. The problem arises when running 'sudo do-release-upgrade' where it issues an error saying that the error usually occurs with a network error/bad internet connect. I've check the internet which is fine and the error repeats.

I am also having issues accessing GRUB.

Please could you suggest how to troubleshoot?

Ps. I also have a Dell which is mentioned in this thread

Nautilus (Files 46.4) does not handle the compose-key of Sun Type 7 Keyboards correctly https://askubuntu.com/questions/1565262/nautilus-files-46-4-does-not-handle-the-compose-key-of-sun-type-7-keyboards-co

I'm using Ubuntu with a Sun Type 7 Unix keyboard since years. My Keyboard setting is "English (US, Sun Type 6/7)". As a German I'm very often using the Compose Key to write German diacritic characters like äöü and others. I'm also naming files using diacritics.

Recently I’ve upgraded my system from 22.4 to 24.4. Since then "Files" shows a strange behaviour when renaming a file using the compose-key to create a diacritic in a file name. In addition to the desired diacritic character always the accent-sign used to compose the diacritics is shown travelling right while typing more characters. However, when pressing enter to finally rename the file the extra accent does not appear in the new file name. Using the back-space key while typing to get rid of that travelling accent deletes not only the accent but also the last character typed. The same happens when creating a new folder while typing the new folder name. However, it does not happen in Gedit while typing text. Also other applications like firefox, libreoffice, etc. are not affected.

I'm aware that this is a minor flaw. Nevertheless, I wanted to make it known to the community. Maybe a gnome/nautilus developer has a clue what's wrong.

Fail to wake up because of ethernet driver https://askubuntu.com/questions/1565257/fail-to-wake-up-because-of-ethernet-driver

Ubuntu 25.10, Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)

When waking up my computer by pressing a key on the keyboard after suspend, it takes from 2 to 10 minutes for the screen to lit up.

I am welcomed with this screen for about 5 seconds

Then I finally enter gnome, however my wired connection is unavailable.

Everything is fine if I boot from cold, it only happens after suspend.

Do note that I had to install r8125-dkms to make the wired connection work in the first place.

EDIT:

$ sudo lspci -knn|grep -i realtek -A5
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
DeviceName: RTL8125 2.5GbE Controller
Subsystem: ASUSTeK Computer Inc. Device [1043:87d7]
Kernel driver in use: r8125
Kernel modules: r8125

and

$ grep 8169 /etc/modprobe.d/*

returns nothing.

I also noticed longer boot and stop times, when I boot I can see for a few seconds this line:

r8125 0000:06:00.0 (unnamed net_device) (uninitialized): Invalid ether addr 00:00:00:00:00:00

EDIT2:

$ dpkg -l linux-firmware
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version                         Architecture Description
+++-==============-===============================-============-=================================
ii  linux-firmware 20250901.git993ff19b-0ubuntu1.9 all          Firmware for Linux kernel drivers

$ sudo apt install linux-firmware
linux-firmware is already the newest version (20250901.git993ff19b-0ubuntu1.9).
Summary:                    
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 3

.

$ sudo apt purge r8125-dkms
...
Removing r8125-dkms (9.016.01-1) ...
Module r8125/9.016.01 for kernel 6.8.0-58-generic (x86_64):
Before uninstall, this module version was ACTIVE on this kernel.
Deleting /lib/modules/6.8.0-58-generic/updates/dkms/r8125.ko
Running depmod... done.

Module r8125/9.016.01 for kernel 6.17.0-14-generic (x86_64):
Before uninstall, this module version was ACTIVE on this kernel.
Deleting /lib/modules/6.17.0-14-generic/updates/dkms/r8125.ko.zst
Running depmod... done.

Module r8125/9.016.01 for kernel 6.17.0-19-generic (x86_64):
Before uninstall, this module version was ACTIVE on this kernel.
Deleting /lib/modules/6.17.0-19-generic/updates/dkms/r8125.ko.zst
Running depmod... done.

Deleting module r8125/9.016.01 completely from the DKMS tree.
Processing triggers for dracut (108-3ubuntu3) ...
update-initramfs: Generating /boot/initrd.img-6.17.0-19-generic
$ dkms status
nothing here related to ethernet
$ reboot
$ sudo lspci -knn|grep -i realtek -A5
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
    Subsystem: ASUSTeK Computer Inc. Device [1043:87d7]

No ethernet connection, no network interface related to ethernet shows up.

SOLUTION:

As it turns out, selecting a former backup kernel does solve the issue. On this kernel the device runs r8169.

Brother printer installed OK but prints stay "paused" https://askubuntu.com/questions/1564783/brother-printer-installed-ok-but-prints-stay-paused

New (refurb) Windows Dell Optiplex. Clean install dual-boot Ubuntu 24.04.4 LTS. Attached printer Brother HL2135W. Installed drivers as per Brother instructions. A printed document appears on the print queue, but is paused. I click the print button but it still won't print - just returns to paused. Brother Linux download page only has RPM and DEB options, tried both. The same printer worked on my previous system, which was identical.

Any ideas, please?

What is the user-friendly "official" way of only using the most high-priority network/Wifi interface, when several are available? Via the GUI? https://askubuntu.com/questions/1533539/what-is-the-user-friendly-official-way-of-only-using-the-most-high-priority-ne

My general questions is how to make sure an Ubuntu 24.04 system only uses the highest-priority network interface (where I set the priority myself)? Preferably in an user-friendly and "official" way?

To make it more clear what I mean, this is my specific usecase: I run Ubuntu 24.04, very much stock using the default Gnome desktop environment and Network Manager in charge of networks, on an old HP laptop which only has a 2.4 GHz Wifi module. It has a wired Ethernet port, and I also have a 5 GHz Wifi USB dongle. What I want is this:

  • If the wired ethernet port is connected, only use that and don't bother about any Wifi ports whatsoever.
  • If the USB dongle is attached, use that one to connect to a 5 GHz Wifi AP (obviously with pre-stored credentials)
  • In other cases, use the internal 2.4 GHz Wifi module to attach to a 2.4 GHz Wifi AP

Also, I'd like a "user-friendly" way of fixing this so that non-technical members of the household can just plug in the USB dongle if they want better coverage.

What happens, is that both Wifi adapters get assigned a valid IPv4 address, both end up in the routing table.

To be clear, both internal Wifi and the USB Wifi dongle work, but the problem is that both connect at the same time to two different SSIDs on the same IPv4 subnet, and the 2.4 GHz link is very unstable (due to too many neighbors with 2.4 GHz Wifi APs whose signals reach into my home).

I have tried or considered these things:

  • Disabling the internal Wifi module using the settings dialogs. This ended up disabling both the internal module and the USB Wifi dongle. Doesn't work.
  • Using rfkill to disable the internal module - But this also has the effect of disabling the USB Wifi dongle, even when only blocking the internal 2.4 GHz module. I suppose it is NetworkManager that interprets any blocked Wifi device to block all of them. Doesn't work.
  • Deleting the routes that involve the 2.4 GHz Wifi module, using ip route del. This works, in the sense that the connections to the Wifi APs remain, but no traffic is routed over the 2.4 GHz link. This works, sort of, but the routes get re-added if the laptop switches to another AP, so not a stable long-term solution.
  • Using ip link set dev DEVICE down on the 2.4 GHz Wifi interface, when a 5 GHz device is detected. This is almost the same solution as deleting the routing entries above, have not tested this but this should work unless Network Manager re-ups them.
  • Blacklisting the driver for internal module. Will not be a workable solution, since it's not acceptable to reboot every time the USB Wifi dongle is attached/removed.
  • Deleting all 2.4 GHz AP credentials. Not acceptable, since I want the laptop to be "seamlessly" usable even if the USB Wifi dongle is removed.

Is there a completely different method I'm missing? If not, I guess a script that monitors the state of the various adapters is needed, that uses ip route/ip link commands to disable the lower-prio interfaces whenever higher-prio interfaces are detected. I realize this precludes having different network adapters connected to different networks, but if I ever have that specific usecase, I'll sort it out then.

KDE Plasma Setting: Only raise the single window I click on https://askubuntu.com/questions/1531615/kde-plasma-setting-only-raise-the-single-window-i-click-on

Let's say I've got three applications open in KDE Plasma 5; Dolphin, Konqueror, and Konsole. I can minimize all three applications by pressing Super+d. Once all windows are minimized I often want to raise a single application, say Konsole. I click on Konsole in the taskbar and KDE raises all three previously activated windows (Dolphin, Konqueror, and Konsole). How do I disable this behavior of raising every active Window after a Super+d invocation. I only want to raise the one window I click on. Is there a setting? xdotool to the rescue?

ARP command missing https://askubuntu.com/questions/1526863/arp-command-missing

I got this message trying to use arp:

Name:~$ arp
Command 'arp' not found, did you mean:
  command 'ark' from snap ark (24.08.0)
  command 'warp' from deb libghc-wai-app-static-dev (3.1.8-1)
  command 'art' from deb artemis (18.2.0+dfsg-3)
  command 'arj' from deb arj (3.10.22-26)
  command 'avrp' from deb avrp (1.0beta3-7build1)
  command 'ark' from deb ark (4:23.08.4-0ubuntu1)
  command 'ara' from deb python3-ara (1.5.8-1.1ubuntu1)
  command 'arc' from deb arc (5.21q-12)
See 'snap info <snapname>' for additional versions.

Arp installation instructions here

Give this result:

Name:~$ sudo apt-get install net-tools
[sudo] password for user: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package net-tools 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

What is the problem and how do I add ARP?

How to restore a single window in KDE after enabling show desktop with screen edges? https://askubuntu.com/questions/1517795/how-to-restore-a-single-window-in-kde-after-enabling-show-desktop-with-screen-ed

I am using KDE Plasma in Kubuntu 24.04.

I have enabled Screen Edges to show the desktop, which minimizes all the running apps.

After I click on an app at this point, this maximizes all the other apps.

In Windows, or in Cinnamon, the behavior is, only the app which is opened is shown, all other apps stay minimized. How to enable this behavior in KDE Plasma?

I tried to install dual boot the new Ubuntu version but i have reached a error before install "sgx disabled by bios" [duplicate] https://askubuntu.com/questions/1485943/i-tried-to-install-dual-boot-the-new-ubuntu-version-but-i-have-reached-a-error-b

I have an Acer Aspire 5 with Windows 11. I tried to install Ubuntu new version but I have reached this error:

sgx disabled by bios

The Ubuntu installer boots to a black screen:

[    0.144634] x86/cpu: SGX disabled by BIOS.

BusyBox v1.30.1 (Ubuntu 1:1.30.1-7ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) exit
cp: can't create '/root/var/log/': Is a directory
cp: can't create '/root/etc/': Is a directory
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /run on /root/run failed: No such file or directory
run-init: can't execute '/sbin/init': No such file or directory
Target filesystem doesn't have requested /sbin/init.
run-init: can't execute '/sbin/init': No such file or directory
run-init: can't execute '/etc/init': No such file or directory
run-init: can't execute '/bin/init': No such file or directory
run-init: can't execute '/bin/sh': No such file or directory
run-init: can't execute '': No such file or directory
No init found. Try passing init= bootarg.


BusyBox v1.30.1 (Ubuntu 1:1.30.1-7ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) _
How do I fix the end Kernel panic Unable to mount root fs on unknow-block(0,0) Error when trying to install and run Ubuntu on VirtualBox https://askubuntu.com/questions/1478931/how-do-i-fix-the-end-kernel-panic-unable-to-mount-root-fs-on-unknow-block0-0-e

I am aware that there are questions similar to mine, but after spending hours reviewing each one (and the answers provided), I was still unable to find a solution that worked for me. I think this is because I am using VirtualBox and am unable to access the right terminal for my VirtualBox machine in order to try out the solutions for the specific kernel error that I am having issues with. I think this because none of the fdisk commands are working on the terminal that I am on.

As stated in the title, I am trying to install and run Ubuntu on Oracle VirtualBox. I have ran into numerous problems and was able to fix them all, however I am clueless as to what to do to fix the aforementioned kernel panic error.

Before this error, I got another kernel panic that was about idle kill or something along those lines and I think changing my processors to 2 fixed that error. Prior to the idle kill kernel panic error, there was another error about my Windows Hypervisor Platform settings which I changed using both the "Turn Windows Features On or Of" GUI and the Windows PowerShell terminal (In accordance with the tutorial I was watching). Although these problems may sound simple, they took about a half a day altogether for me to fix.

Now I am facing a kernel panic Unable to mount root fs on unknown block(0,0) error message when trying to install and run Ubuntu on VirtualBox. As far as I can tell, every single solution to this error online requires you access the terminal of the machine you are trying to install the operating system on (note that I am using VirtualBox), and input some fdisk commands.

I have spent over a day trying to access this terminal and just figured it out, but now I am faced with the issue of the fdisk commands not working on the terminal that I am on. To access the terminal, I go to the advanced options for Ubuntu which brings me to the GNU GRUB page and then press c.

Kernel panic:

[  0.639616] Hardware name: Innotek GmbH VirtualBox/VirtualBox, BIOS 
VirtualBox 12/01/2006
[  0.639968] Call Trace:
[  0.640155]  <TASK>
[  0.640289]  show_stack+0x52/0x69
[  0.640475]  dump_stack_lvl+0x49/0x6d
[  0.640669]  dump_stack+0x10/0x18
[  0.640848]  panic+0x162/0x316
[  0.641018]  mount_block_root+0x144/0x1ea
[  0.641323]  mount_root+0x62/0x6e
[  0.641507]  prepare_namespace+0x13f/0x19e
[  0.641719]  kernel_init_freeable+0x120/0x139
[  0.642011]  ? rest_init+0x100/0x100
[  0.642233]  kernel_init+0x1b/0x170
[  0.642424]  ? rest_init+0x100/0x100
[  0.642615]  ret_from_fork+0x22/0x30
[  0.642809]  </TASK>
[  0.643140] Kernel Offset: 0x2a400000 from 0xffffffff81000000 (relocation 
range: 0xffffffff80000000-0xffffffffbfffffff)
[  0.643583] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs
on unknown-block(0,0) ]---

GRUB boot menu:

Advanced Options for Ubuntu GNU GRUB PAGE

This brings me to a grub prompt:

                           GNU GRUB version 2.06

   Minimal BASH-like line editing is supported. For the first word, 
   TAB lists possible command completions. Anywhere else TAB lists 
   possible device or file completions. ESC at any time exits.

grub> _
kernel panic not syncing : Attempted to kill the idle task. I got this error while plugging Ubuntu virtual machine https://askubuntu.com/questions/1398049/kernel-panic-not-syncing-attempted-to-kill-the-idle-task-i-got-this-error-whi

I got this error while plugging an Ubuntu virtual machine


[   15.728005] ffffffff81c03eb8 ffffffff810bd3ea ffffffff81c03f18 ffffffff810bd729
[   15.731036] ffffffff81c00000 ffffffff81c04000 25083f9c7819ef8f 53aa515164b19fca
[   15.733875] Call Trace:
[   15.734706]  [<ffffffff8101f94f>] arch_cpu_idle+0xf/0x20
[   15.736286]  [<ffffffff810bd3ea>] default_idle_call+0x2a/0x40
[   15.737926]  [<ffffffff810bd729>] cpu_startup_entry+0x2c9/0x320
[   15.739661]  [<ffffffff817dd16c>] rest_init+0x7c/0x80
[   15.741598]  [<ffffffff81d50025>] start_kernel+0x48b/0x4ac
[   15.743212]  [<ffffffff81d4f120>] ? early_idt_handler_array+0x120/0x120
[   15.745150]  [<ffffffff81d4f339>] x86_64_start_reservations+0x2a/0x2c
[   15.747141]  [<ffffffff81d4f485>] x86_64_start_kernel+0x14a/0x16d
[   15.748898] Code: 0f ae f0 65 48 8b 04 25 44 3b 01 00 0f ae b8 08 c0 ff ff 0f
ae f0 31 d2 65 48 8b 34 25 44 3b 01 00 48 89 d1 48 8d 86 08 c0 ff ff <0f> 01 c8
48 8b 86 08 c0 ff ff a8 08 0f 85 a5 00 00 00 31 c0 fb
[   15.764394] RIP  [<ffffffff8101f394>] mwait_idle+0x74/0x140
[   15.766196]  RSP <ffffffff81c03e88>
[   15.767302] ---[ end trace e26ffdf f12e1e547 ]---
[   15.768728] Kernel panic - not syncing: Attempted to kill the idle task!
[   15.771125] Kernel Offset: disabled
[   15.772205] ---[ end Kernel panic - not syncing: Attempted to kill the idle 
task!
How to deploy a Debian Image for MAAS? https://askubuntu.com/questions/1240547/how-to-deploy-a-debian-image-for-maas

I'm following this guide but using all task when I try to run the deploy the issue I get a kernel panic. My lab is based on Ubuntu 20.04 and MAAS 2.7.0

[  1.030098] VFS: Cannot open root device "squash:[http://10.0.0.10:5248/images](https://www.google.com/search?q=http://10.0.0.10:5248/images)
/ubuntu/amd64/ga-20.04/focal" or unknown-block(0,0): error -6
[  1.031302] Please append a correct "root=" boot option; here are the   
available partitions:
[  1.032254] Kernel panic - not syncing: VFS: Unable to mount root fs on  
unknown-block(0,0)
[  1.033143] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.0-29-generic #33-Ubuntu  
[  1.033988] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-1
ubuntu1 04/01/2014
[  1.034913] Call Trace:
[  1.035359]  dump_stack+0x6d/0x9a
[  1.035825]  panic+0x101/0x2e3
[  1.038432]  mount_block_root+0x23f/0x2e8
[  1.039022]  mount_root+0x38/0x3a
[  1.039490]  prepare_namespace+0x13f/0x194
[  1.039986]  kernel_init_freeable+0x231/0x255
[  1.040526]  ? rest_init+0xb0/0xb0
[  1.041007]  kernel_init+0xe/0x100
[  1.041472]  ret_from_fork+0x35/0x40
[  1.042045] Kernel Offset: 0x18000000 from 0xffffffff81000000 (relocation  
We are reallyrange: 0xffffffff80000000-0xffffffffbfffffff)
[  1.043107] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs
on unknown-block(0,0) ]---
_
Configuring a VNC Desktop: Upgrading GUI from classic gnome desktop to newest gnome desktop https://askubuntu.com/questions/1097566/configuring-a-vnc-desktop-upgrading-gui-from-classic-gnome-desktop-to-newest-gn

I have a vnc system, I was able to build. It leverages the classic gnome desktop GUI.

enter image description here

I would like to upgrade the .vnc/xstartups file, to use the newest Gnome Desktop Environment. The Ubuntu Gnome Desktop featured as the official Ubuntu 18.04 desktop.

Here is my current ~/.vnc/xstartups file.

#!/bin/sh

export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
gnome-session &
gnome-panel &
gnome-settings-daemon &
metacity &
gnome-terminal &

Thank you, please keep the comments and answer to the topic.

  • This question assumes a working VNC connection, with no errors.
  • This question is specific, as in no question to the purpose of this is necessary, I believe it's clear that the point is to have a newer GUI desktop environment.
  • If you don't know (A.K.A. "It's not possible"), join the club. Let's wait, for the person who does know how, to give the answer.

Any help is appreciated.

How I do resolve this error while running Exodus cryptocurrency wallet on linux? https://askubuntu.com/questions/985319/how-i-do-resolve-this-error-while-running-exodus-cryptocurrency-wallet-on-linux

I downloaded the zip file from http://www.exodus.io/releases/. Then I unzipped it using:

unzip exodus-linux-x64-1.40.0.zip
But, when I try to run the program, that resides in the Exodus-linux-x64 directory, using:
./Exodus
It gives this error:

./Exodus: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
Find duplicates using KDE Dolphin https://askubuntu.com/questions/949280/find-duplicates-using-kde-dolphin

Running Kubuntu 17.04.

Have a lot of duplicates - pictures and music and documents.

Does Dolphin have the ability to detect duplicates and present them for further processing like deleting?

Like what Google Contacts does?

If not Dolphin, is there any other good GUI tool to do the same?

Ubuntu 14.04 Laptop: Mouse cursor not moving but mouse buttons work https://askubuntu.com/questions/677597/ubuntu-14-04-laptop-mouse-cursor-not-moving-but-mouse-buttons-work

As the title states the mouse cursor on my laptop isn't moving but the mouse buttons still work. I'm not sure what to do. I have tested the touchpad on Windows and it works fine.

My laptop is a HP Envy

Xinput output xinput list

Virtual core pointer    id=2 [master pointer (3)]
Virtual core XTEST pointer    id =4 [slave pointer (2)]
SynPS/2 synaptics TouchPad id=12 [slave pointer (2)]

uname -r

3.16.0-49-generic

lspci -K | grep -EA2 'VGA|3D'

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
    Subsystem: Hewlett-Packard Company Device 1966
    Kernel driver in use: i915

01:00.0 3D controller: NVIDIA Corporation GK208M [Geoforce GT 740M] (rev a1)
    Subsystem: Hewlett-Packard company device 219c

lspci -k | grep -EA2 'VGA|3D' after driver install

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
    Subsystem: Hewlett-Packard Company Device 1966
    Kernel driver in use: i915

01:00.0 3D controller: NVIDIA Corporation GK208M [Geoforce GT 740M] (rev a1)
    Subsystem: Hewlett-Packard company device 219c
    Kernel driver in use: nvidia

Edit

Turns out that a USB Mouse does work but I have yet to find out why my TrackPad stopped working.

12.04: Kernel panic - not syncing: Attemped to kill the idle task! [closed] https://askubuntu.com/questions/490428/12-04-kernel-panic-not-syncing-attemped-to-kill-the-idle-task

My parents got this error on their machine, so I'm not sure what triggered it. My dad says it just happens randomly. It apparently happens every couple of days, but this is the first time I've been told about it. The computer is pretty old and is low on hard drive space, which I think might be the issue.

Here's the entire output including a kernel panic at the end:

... not write bytes: Broken pipe
Checking battery state...
[ 764.574944] general protection fault: 0000 [#1] SMP
[ 764.574986] Modules linked in: bnep(F) rfcomm(F) bluetooth(F) snd_hda_codec_realtek(F) snd_hda_intel(F) snd_hda_codec(F) uvcvideo(F) snd_usb_audio(F) i915(F)
nd_usbmidi_lib(F) coretemp(F) videodev(F) snd_seq_midi(F) videobuf2_vmalloc(F) snd_seq_midi_event(F) videobuf2_memops(F) snd_seq(F) drm_kms_helper(F) snd_ra
nd_seq_device(F) gpio_ich(F) psmouse(F) ppdev(F) microcode(F) snd(F) serio_raw(F) i2c_algo_bit(F) soundcore(F) mac_hid(F) snd_page_alloc(F) lpc_ich(F) video
) hid(F) usb_storage(F) firewire_ohci(F) firewire_core(F) crc_itu_t(F) ahci(F) libahci(F) r8169(F)
[ 764.575407] CPU 0
[ 764.575422] Pid: 0, comm: swapper/0 Tainted: GF            3.8.0-29-generic #42~precise1-Ubuntu HP-Pavilion FJ463AA-ABA a6528p/Benicia
[ 764.575474] RIP: 0010:[<ffffffff8135b990>]  [<ffffffff8135b990>] timerqueue_add+0x20/0xb0
[ 764.575516] RSP: 0018:ffffffff81c01d08  EFLAGS: 00010086
[ 764.575541] RAX: 0000000000000000 RBX: ffff880056555a10 RCX: 000000b213debb39
[ 764.575572] RDX: ffff880056555a08 RSI: ffff8800bf40ea60 RDI: ffff8800bf40e850
[ 764.575601] RBP: ffffffff81c01d28 R08: ffff8800bf40e900 R09: 0000000000000000
[ 764.575631] R10: 0000000000000004 R11: 0000000000000000 R12: ffff8800bf40ea60
[ 764.575661] R13: ffff8800bf40e850 R14: 0000000000000000 R15: 0000000000000000
[ 764.575692] FS:  0000000000000000(0000) GS:ffff8800bf400000(0000) knlGS:0000000000000000
[ 764.575727] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 764.575752] CR2: 00007fedd22ed2ff CR3: 00000000b65ec000 CR4: 00000000000007f0
[ 764.575782] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0 000000000000000
[ 764.575812] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 764.575842] Process swapper/0 (pid: 0, threadinfo ffffffff81c00000, task ffffffff81c15440)
[ 764.575878] Stack:
[ 764.575889]  ffffffff81c01d18 ffff8800bf40ea60 ffff8800bf40e840 ffff8800bf40ea60
[ 764.575932]  ffffffff81c01d68 ffffffff810831a9 ffffffff81c01d68 ffff8800bf40e840
[ 764.575975]  ffff8800bf40e840 ffff8800bf40ea60 0000000000000000 0000000000000000
[ 764.576017] Call Trace:
[ 764.576034]  [<ffffffff810831a9>] enqueue_hrtimer+0x39/0x80
[ 764.576059]  [<ffffffff81083dcc>] __hrtimer_start_range_ns+0x13c/0x360
[ 764.576092]  [<ffffffff8106bef5>] ? get_next_timer_interrupt+0xc5/0x140
[ 764.576121]  [<ffffffff81084008>] hrtimer_start+0x18/0x20
[ 764.576146]  [<ffffffff810b6ac0>] tick_nohz_stop_sched_tick+0x200/0x2f0
[ 764.576176]  [<ffffffff810b6dfa>] __tick_nohz_idle_enter+0x8a/0xc0
[ 764.576205]  [<ffffffff810b720d>] tick_nohz_idle_enter+0x3d/0x70
[ 764.576234]  [<ffffffff8101da70>] cpu_idle+0x70/0x120
[ 764.576260]  [<ffffffff816c6db2>] rest_init+0x72/0x80
[ 764.576286]  [<ffffffff81d05c4f>] start_kernel+0x3d1/0x3de
[ 764.576312]  [<ffffffff81d057ff>] ? pass_bootoption.constprop.2+0xd3/0xd3
[ 764.576343]  [<ffffffff81d05397>] x86_64_start_reservations+0x131/0x135
[ 764.576372]  [<ffffffff81d05120>] ? early_idt_handlers+0x120/0x120
[ 764.576401]  [<ffffffff81d05468>] x86_64_start_kernel+0xcd/0xdc
[ 764.576426] Code: 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 55 49 89 fd 41 54 49 89 f4 53 48 89 fb 48 83 ec 08 48 3b 36 75 6c 31 d2 eb 19 90 <48> 8b 48 18 49 3
10 48 0f 4d da
[ 764.576718] RIP  [<ffffffff8135b990>] timerqueue_add+0x20/0xb0
[ 764.575932]  ffffffff81c01d68 ffffffff810831a9 ffffffff81c01d68 ffff8800bf40e840
[ 764.575975]  ffff8800bf40e840 ffff8800bf40ea60 0000000000000000 0000000000000000
[ 764.576017] Call Trace:
[ 764.576034]  [<ffffffff810831a9>] enqueue_hrtimer+0x39/0x80
[ 764.576059]  [<ffffffff81083dcc>] __hrtimer_start_range_ns+0x13c/0x360
[ 764.576092]  [<ffffffff8106bef5>] ? get_next_timer_interrupt+0xc5/0x140
[ 764.576121]  [<ffffffff81084008>] hrtimer_start+0x18/0x20
[ 764.576146]  [<ffffffff810b6ac0>] tick_nohz_stop_sched_tick+0x200/0x2f0
[ 764.576176]  [<ffffffff810b6dfa>] __tick_nohz_idle_enter+0x8a/0xc0
[ 764.576205]  [<ffffffff810b720d>] tick_nohz_idle_enter+0x3d/0x70
[ 764.576234]  [<ffffffff8101da70>] cpu_idle+0x70/0x120
[ 764.576260]  [<ffffffff816c6db2>] rest_init+0x72/0x80
[ 764.576286]  [<ffffffff81d05c4f>] start_kernel+0x3d1/0x3de
[ 764.576312]  [<ffffffff81d057ff>] ? pass_bootoption.constprop.2+0xd3/0xd3
[ 764.576343]  [<ffffffff81d05397>] x86_64_start_reservations+0x131/0x135
[ 764.576372]  [<ffffffff81d05120>] ? early_idt_handlers+0x120/0x120
[ 764.576401]  [<ffffffff81d05468>] x86_64_start_kernel+0xcd/0xdc
[ 764.576426] Code: 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 55 49 89 fd 41 54 49 89 f4 53 48 89 fb 48 83 ec 08 48 3b 36 75 6c 31
3 of 4 da
[ 764.576718] RIP  [<ffffffff8135b990>] timerqueue_add+0x20/0xb0
[ 764.576750]  RSP <ffffffff81c01d08>
[ 764.578438] ---[ end trace abf4eeb416dad9a7 ]---
[ 764.588793] general protection fault: 0000 [#2] SMP
[ 764.588793] Modules linked in: bnep(F) rfcomm(F) bluetooth(F) snd_hda_codec_realtek(F) snd_hda_intel(F) snd_hda_codec(F) uvcvideo(F) snd_u
snd_usbmidi_lib(F) coretemp(F) videodev(F) snd_seq_midi(F) videobuf2_vmalloc(F) snd_seq_midi_event(F) videobuf2_memops(F) snd_seq(F) drm_k
[ 764.588793] Kernel panic - not syncing: Attempted to kill the idle task!
[ 764.588793] Shutting down cpus with NMI
[ 764.588793] drm_kms_helper: panic occurred, switching back to text console
Installing Ubuntu 14.04 alongside Windows 8.1 https://askubuntu.com/questions/454749/installing-ubuntu-14-04-alongside-windows-8-1

I'm attempting to install Ubuntu 14.04 alongside Windows 8.1. I had Ubuntu 12.04 installed with Windows 8.1 before, but it became corrupted so I decided to do a complete uninstall/reinstall with 14.04.

I'm booting from a USB stick that contains 14.04. It boots successfully to the USB stick, and I'm able to get to the installation screen for Ubuntu. I click on "Install Ubuntu", and connect to the Internet successfully. I meet all the requirements by the installer (enough hard drive space to install, connected to the internet, laptop is plugged in), so I click next to start installing. I select "Install Ubuntu alongside Windows", and click next. Then my laptop reboots and boots into Windows 8.1. There is no evidence that Ubuntu was installed.

I've tried it multiple times and every time it reboots at that step and automatically goes to Windows. I've also tried to quickly enter the boot order menu when it does reboot and boot again from my USB stick (also does not work). I don't have a blank CD at hand to make a boot CD/DVD, so I have to try and make my USB stick work.

Has anybody else experienced this problem? Any ideas on a solution?

Getting a graphic on the clipboard to the disk? https://askubuntu.com/questions/42996/getting-a-graphic-on-the-clipboard-to-the-disk

I have a graphic on the clipboard on ubuntu.

What's the quickest way to get it onto disk as a png or jpg?