How to enable Linux kernel 6.17 in Ubuntu 24.04.4 and reenable bluetooth? https://askubuntu.com/questions/1564164/how-to-enable-linux-kernel-6-17-in-ubuntu-24-04-4-and-reenable-bluetooth

I previously put on hold the kernel update on a system as the updates were breaking the system. This was described in this question.

I came across this article:

The Ubuntu 24.04.4 LTS hardware enablement stack (HWE) has finally hit the updates repo, bringing Linux kernel 6.17 and Mesa 25.2.7 to users on the current long-term support release

As such I unheld the kernel using this command and installed the linux-headers-generic-hwe-24.04:

$ sudo apt-mark unhold 6.14.0-33-generic
$ sudo apt update
$ sudo apt install linux-headers-generic-hwe-24.04

However the installation failed because of btusb/4.2. According to AI, I could resolve this issue by removing that bluetooth app

I then removed it and reinstalled linux-headers-generic-hwe-24.04:

$ sudo dkms status
$ sudo dkms remove btusb/4.2 --all
$ sudo apt clean
$ sudo dpkg --configure -a
$ sudo apt update && sudo apt upgrade
$ sudo apt install linux-headers-generic-hwe-24.04
$ uname -a

However 6.14.0-33-generic #33~24.04.1-Ubuntu is still being used.

I rebooted my system and updated the system but still the kernel was not updated. I discovered another problem. The multi-screen display no longer worked and only one monitor would appear. I verified that this issue was unrelated to any hardware issue and is a software issue.

Consequently, went into the terminal mode via Ctrl + Alt + F3 to reinstall purge the nvidia drivers, reinstall the current working linux kernel and reinstalled the nvidia drivers:

$ sudo apt remove --purge nvidia-*
$ sudo apt autoremove
$ sudo apt autoclean
$ sudo apt install linux-headers-$(uname -r)
$ sudo ubuntu-drivers autoinstall
$ sudo reboot

After the reboot, the multi-monitor displays worked again. I reinstalled linux-headers-generic-hwe-24.04:

$ sudo apt remove --purge linux-headers-generic-hwe-24.04
$ sudo apt install --purge linux-headers-generic-hwe-24.04

However, the Linux kernel 6.17 was still not showing up. Also bluetooth can no longer be enabled.

How do I get the Linux kernel 6.17 to be loaded and get the bluetooth to work again?

Can't detect any WiFi https://askubuntu.com/questions/1564162/cant-detect-any-wifi

I got an old computer from a friend with Ubuntu 25.10 installed, and I am brand new to Linux but willing to learn. I tried to set the WiFi but my computer simply can't detect it. How to know if I am missing a driver, and how to install them?

Thank you very much!

Unable to open or remove app - Linux noob https://askubuntu.com/questions/1564161/unable-to-open-or-remove-app-linux-noob

Just switched over from that Spyware called Windows to linux and was trying to install an app, the installation of which has been far from smooth. Finally ran the installer and got the app icon, but now the app doesn't open and also I cant remove it from "show apps" section. Any help would be appreciated.

P.s - its a vpn called vp.net which i tried to install on Ubuntu 25.10

American Airlines Wifi https://askubuntu.com/questions/1564160/american-airlines-wifi

I have a dual boot laptop with windows and ubuntu. On my last flight when i tried to connect to american airlines wifi, the wifi connects but the pop up screen for agreement/authentication never appears. I am not sure what is going on ?

Can anyone please let me know if they have experience something similar and was able to resolve it. Just for info i booted the same laptop with windows and wifi ran without any issues.

  *-network                 
       description: Wireless interface
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       logical name: wlp0s20f3
       version: 20
       serial: a8:59:5f:d1:86:8e
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=6.8.0-94-generic firmware=86.fb5c9aeb.0 ma-b0-gf-a0-86.uc ip=172.27.247.214 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: iomemory:480-47f irq:18 memory:481c2d4000-481c2d7fff
Ubuntu Shuts off WiFi and makes me restart the whole laptop to just get it to work again whenever i shut the Lid https://askubuntu.com/questions/1564157/ubuntu-shuts-off-wifi-and-makes-me-restart-the-whole-laptop-to-just-get-it-to-wo

So ever since i've installed Ubuntu 25.10 everytime i shut the lid it shuts off the WiFi requiring me to restart the whole machine to just get it working again. And i would like to know why it does that and how to get it to not do that and yes i have messed with the network manager but got nothing to work so far.

Windows -> Ubuntu RDP https://askubuntu.com/questions/1564151/windows-ubuntu-rdp

Windows 11

RDP via Internet

Ubuntu 22.04.5 LTS

Attempting RDP from anywhere via Windows over internet to Home Ubuntu desktop

I have followed this guide:

Xrdp on Ubuntu 20.04

I have port forward via home router to the correct machine and get an RDP session running and can log in, then the screen is just the default Windows Teal Blue and blank.

I suspect this is a confict with Wayland and Xorg, where I use Xorg for Teamviewer ?

I have ssh access via putty as well.

Whats the best procedure to follow here, can I switch between Xorg and Wayland using putty to test the RDP ?

Its a headless setup at the moment.

How can I fix boot problem (ending up in BusyBox, UUID not found) https://askubuntu.com/questions/1563923/how-can-i-fix-boot-problem-ending-up-in-busybox-uuid-not-found

I have a dual boot setup (Windows and Ubuntu) on my computer. For background, a while ago when I had different Ubuntu issues I already disabled Windows' "Fast Startup".

The current issue: I tried one day to boot into Ubuntu 24.04, and I just got a screen with the following text:

BusyBox v1.36.1 (Ubuntu 1:1.36.1-6ubuntu3.1) built-in shell (ash) Enter 'help' for a list of built-in commands.
(initramfs)

If I enter "exit" I get:

BusyBox v1.36.1 (Ubuntu 1:1.36.1-6ubuntu3.1) built-in shell (ash) Enter 'help' for a list of built-in commands.
(initramfs) exit
Gave up waiting for root file system device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! UUID=1785c362-92ff-4a9a-b254-f950db82ad8c does not exist. Dropping to a shell!
BusyBox v1.36.1 (Ubuntu 1:1.36.1-6ubuntu3.1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)

My next step was a long, long foray trying to get Perplexity to help me fix the problem. I will summarize for you anything that may be illuminating from those attempts.

It had me create a removable drive to boot Ubuntu temporarily from, and get to the Terminal.

The rest of the diagnostics/changes it had me do I have in this text doc, in case it's useful information for you: https://u.pcloud.link/publink/show?code=XZeSwl5ZqN4vNjc74hSMFUA4RXXT102SEIo7


At one point, it had me run the following for "quick diagnostics":

sudo blkid | grep nvme0n1p7
cat /mnt/root/etc/fstab | grep nvme0n1p7
sudo mount /dev/nvme0n1p7 /mnt/root
journalctl -xb | grep -i "nvme0n1p7\|1785c362\|fsck\|mount"

The output was very long, so I'll give you Perplexity's evaluation of the output:

Key findings from your output​

✅ UUID perfect: /dev/nvme0n1p7 has correct UUID 1785c362-92ff-4a9a-b254-f950db82ad8c
✅ Filesystem mounts fine: Kernel successfully mounted it read-only earlier
❌ Mount point missing: You ran cat and mount without creating /mnt/root first
❌ No /etc/fstab access: Because /mnt/root wasn't mounted when you checked
⚠️ os-prober found your Ubuntu: 40lsb detected /dev/nvme0n1p7:Ubuntu 24.04.3 LTS

A couple more failed fixes/boots back to the BusyBox later, it had me do more diagnostics. Here is the output from that:

ubuntu@ubuntu:~$ # 1. Test if root mounts read-write now
sudo mkdir -p /mnt/test
sudo mount /dev/nvme0n1p7 /mnt/test
mount | grep nvme0n1p7
sudo umount /mnt/test

# 2. Check filesystem health
sudo fsck -n /dev/nvme0n1p7

# 3. Verify GRUB kernel line
sudo mount /dev/nvme0n1p7 /mnt/root
grep "root=" /mnt/root/boot/grub/grub.cfg

# 4. Boot parameter check
sudo mount /dev/nvme0n1p1 /mnt/efi
ls -la /mnt/efi/EFI/ubuntu/
/dev/nvme0n1p7 on /mnt/test type ext4 (rw,relatime)
fsck from util-linux 2.39.3
e2fsck 1.47.0 (5-Feb-2023)
/dev/nvme0n1p7: clean, 528537/32210944 files, 19131061/128843776 blocks
mount: /mnt/root: mount point does not exist.
       dmesg(1) may have more information after failed mount system call.
grep: /mnt/root/boot/grub/grub.cfg: No such file or directory
mount: /mnt/efi: mount point does not exist.
       dmesg(1) may have more information after failed mount system call.
ls: cannot access '/mnt/efi/EFI/ubuntu/': No such file or directory

...to which it said:

Key takeaways from output

✅ /dev/nvme0n1p7 mounts read-write perfectly (rw,relatime) ✅ Filesystem clean (no fsck errors) ❌ Missing /mnt/root, /mnt/efi directories ❌ No /mnt/efi/EFI/ubuntu/ = GRUB EFI files missing (main problem!)

I ran its next code to "Fix the mount directory issues + reinstall GRUB EFI". Output:

ubuntu@ubuntu:~$ # Create missing directories
sudo mkdir -p /mnt/root /mnt/efi

# Remount with proper structure
sudo mount /dev/nvme0n1p7 /mnt/root
sudo mount /dev/nvme0n1p1 /mnt/efi

# Verify GRUB files NOW exist
ls -la /mnt/efi/EFI/ubuntu/
grep "root=" /mnt/root/boot/grub/grub.cfg
total 4390
drwxr-xr-x 2 root root    2048 Mar 30  2025 .
drwxr-xr-x 6 root root    2048 Aug  2 23:20 ..
-rwxr-xr-x 1 root root     108 Jan 31 16:05 BOOTX64.CSV
-rwxr-xr-x 1 root root     117 Jan 31 16:05 grub.cfg
-rwxr-xr-x 1 root root 2660232 Jan 31 16:05 grubx64.efi
-rwxr-xr-x 1 root root  856280 Jan 31 16:05 mmx64.efi
-rwxr-xr-x 1 root root  966664 Jan 31 16:05 shimx64.efi
grep: /mnt/root/boot/grub/grub.cfg: Permission denied

...to which it said "Excellent—GRUB EFI files are present and recent (Jan 31 timestamps), but Permission denied on grub.cfg needs fixing."

So I ran its next code for "Quick permission fix + final verification".

Output:

ubuntu@ubuntu:~$ # Fix grub.cfg permission (live USB -> root filesystem mismatch)
sudo mount -o remount,remount,rw /mnt/root
sudo chmod 644 /mnt/root/boot/grub/grub.cfg
sudo grep "root=" /mnt/root/boot/grub/grub.cfg

# Check what root= parameter GRUB passes to kernel
cat /mnt/root/boot/grub/grub.cfg | grep "linux.*root=" -A 5
    linux   /boot/vmlinuz-6.14.0-36-generic root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c ro  quiet splash $vt_handoff
        linux   /boot/vmlinuz-6.14.0-36-generic root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c ro  quiet splash $vt_handoff
        linux   /boot/vmlinuz-6.14.0-36-generic root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c ro recovery nomodeset dis_ucode_ldr 
        linux   /boot/vmlinuz-6.14.0-35-generic root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c ro  quiet splash $vt_handoff
        linux   /boot/vmlinuz-6.14.0-35-generic root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c ro recovery nomodeset dis_ucode_ldr 
        linux   /boot/vmlinuz-6.14.0-34-generic root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c ro  quiet splash $vt_handoff
        linux   /boot/vmlinuz-6.14.0-34-generic root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c ro recovery nomodeset dis_ucode_ldr 
    linux   /boot/vmlinuz-6.14.0-36-generic root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c ro  quiet splash $vt_handoff
    initrd  /boot/initrd.img-6.14.0-36-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-1785c362-92ff-4a9a-b254-f950db82ad8c' {
    menuentry 'Ubuntu, with Linux 6.14.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.14.0-36-generic-advanced-1785c362-92ff-4a9a-b254-f950db82ad8c' {
        recordfail
--
        linux   /boot/vmlinuz-6.14.0-36-generic root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-6.14.0-36-generic
    }
    menuentry 'Ubuntu, with Linux 6.14.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.14.0-36-generic-recovery-1785c362-92ff-4a9a-b254-f950db82ad8c' {
        recordfail
--
        linux   /boot/vmlinuz-6.14.0-36-generic root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c ro recovery nomodeset dis_ucode_ldr 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-6.14.0-36-generic
    }
    menuentry 'Ubuntu, with Linux 6.14.0-35-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.14.0-35-generic-advanced-1785c362-92ff-4a9a-b254-f950db82ad8c' {
        recordfail
--
        linux   /boot/vmlinuz-6.14.0-35-generic root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-6.14.0-35-generic
    }
    menuentry 'Ubuntu, with Linux 6.14.0-35-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.14.0-35-generic-recovery-1785c362-92ff-4a9a-b254-f950db82ad8c' {
        recordfail
--
        linux   /boot/vmlinuz-6.14.0-35-generic root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c ro recovery nomodeset dis_ucode_ldr 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-6.14.0-35-generic
    }
    menuentry 'Ubuntu, with Linux 6.14.0-34-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.14.0-34-generic-advanced-1785c362-92ff-4a9a-b254-f950db82ad8c' {
        recordfail
--
        linux   /boot/vmlinuz-6.14.0-34-generic root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-6.14.0-34-generic
    }
    menuentry 'Ubuntu, with Linux 6.14.0-34-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.14.0-34-generic-recovery-1785c362-92ff-4a9a-b254-f950db82ad8c' {
        recordfail
--
        linux   /boot/vmlinuz-6.14.0-34-generic root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c ro recovery nomodeset dis_ucode_ldr 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-6.14.0-34-generic
    }
}

...to which it responded: "PERFECT—your GRUB config is 100% correct. Every root=UUID=1785c362-92ff-4a9a-b254-f950db82ad8c matches your fstab exactly.​

GRUB hands the kernel the right parameters. The problem is initramfs itself failing to mount root."

It then sent me down this wasted rabbithole of "Since everything else checks out, increase initramfs root delay + force regeneration".

If anyone can help me where the AI could not, I would be very appreciative. Of course I will give any other information you may need.


Edit: As asked for me to add cat /etc/fstab:

ubuntu@ubuntu:~$ cat /etc/fstab
overlay / overlay rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0

Edit 2: As asked for me to add blkid:

ubuntu@ubuntu:~$ blkid
/dev/nvme0n1p1: LABEL_FATBOOT="ESP" LABEL="ESP" UUID="7C4A-25B2" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="d633f6fd-adee-4dff-9951-1be157495497"
/dev/nvme0n1p3: LABEL="OS" BLOCK_SIZE="512" UUID="3E86654D866506AD" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="d6cda5f4-67bd-4bc5-9fcc-f979042784a1"
/dev/nvme0n1p4: LABEL="WINRETOOLS" BLOCK_SIZE="512" UUID="D87E1B9A7E1B710C" TYPE="ntfs" PARTUUID="2d9bb834-833f-4ff6-9e43-1e9651579884"
/dev/nvme0n1p5: LABEL="Image" BLOCK_SIZE="512" UUID="C6F21BB2F21BA629" TYPE="ntfs" PARTUUID="e04d2531-67e1-4a7b-9a78-4ca878a9b894"
/dev/nvme0n1p6: LABEL="DELLSUPPORT" BLOCK_SIZE="512" UUID="D80C94CE0C94A950" TYPE="ntfs" PARTUUID="ffb1e1f8-cbbb-4fcf-a159-443048d108ad"
/dev/nvme0n1p7: UUID="1785c362-92ff-4a9a-b254-f950db82ad8c" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="2760a97d-1428-48af-a023-bc67925f1398"
/dev/sda2: LABEL="Data" BLOCK_SIZE="512" UUID="4A229D11229D02DD" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="ca056f81-9027-4410-b0e2-da1cde2b08a8"
/dev/sdb1: BLOCK_SIZE="2048" UUID="2025-08-05-18-20-26-00" LABEL="Ubuntu 24.04.3 LTS amd64" TYPE="iso9660" PARTLABEL="ISO9660" PARTUUID="b5416491-a6d3-42b2-a3f7-260427bcf601"
/dev/loop1: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/sdb4: LABEL="writable" UUID="ef27101d-0856-49ef-a053-f0a67ec43059" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="4de67e78-749f-4939-b303-43325e007e60"
/dev/sdb2: SEC_TYPE="msdos" LABEL_FATBOOT="ESP" LABEL="ESP" UUID="73B7-988D" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="Appended2" PARTUUID="b5416491-a6d3-42b2-a3f4-260427bcf601"
/dev/loop2: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop0: BLOCK_SIZE="131072" TYPE="squashfs"

Edit 3: From running sudo bash -c 'mount /dev/nvme0n1p7 /mnt && cat /mnt/etc/fstab':

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p7 during curtin installation
/dev/disk/by-uuid/1785c362-92ff-4a9a-b254-f950db82ad8c / ext4 defaults 0 1
# /boot/efi was on /dev/nvme0n1p1 during curtin installation
/dev/disk/by-uuid/7C4A-25B2 /boot/efi vfat defaults 0 1
/swap.img   none    swap    sw  0   0
/dev/disk/by-uuid/3E86654D866506AD /mnt/3E86654D866506AD auto nosuid,nodev,nofail 0 0
/dev/disk/by-id/usb-WD_My_Book_25EE_574343374B32554344485033-0:0-part1 /mnt/usb-WD_My_Book_25EE_574343374B32554344485033-0:0-part1 auto nosuid,nodev,nofail,noauto 0 0
UUID=4A229D11229D02DD  /media/rua/Data/  ntfs-3g  uid=1000,gid=1000,dmask=022,fmask=133  0  0

Edit 4: Put AI information above into an external text file to reduce the increasing size of this post.

Tried code in BusyBox initramfs:

BusyBox v1.36.1 (Ubuntu 1:1.36.1-6ubuntu3.1) built-in shell (ash) Enter 'help' for a list of built-in commands.
(initramfs) ls / sys/class/block
sys/class/block:
loop3 loop5 loop? loop loop2 loop4 loopб loop1
/:
dev
root
kernel
usr
bin
conf etc
init
lib
lib32
lib64
run
sbin
var
sys
proc tmp
lib.usr-is-merged
scripts
(initramfs) mount /dev/disk/by-uuid/1785c362-92ff-4a9a-b254-f950db82ad8c /mnt
mount: mounting /dev/disk/by-uuid/1785c362-92ff-4a9a-b254-f950db82ad8c on /mnt failed: No such file or directory

Edit 5: As requested from BusyBox window:

(initramfs) ls /sys/module/nvme
ls: /sys/module/nvme: No such file or directory
No HDMI sound output on Ubuntu 24.04 https://askubuntu.com/questions/1550527/no-hdmi-sound-output-on-ubuntu-24-04

I've been having persistent issues with HDMI audio output on various Linux distributions, including Manjaro, Linux Mint and now Ubuntu 24.04.2 LTS (x86_64). Interestingly, HDMI audio did work out of the box on Kali Linux, so I know the hardware is capable of it.

System information

  • Laptop: Acer Aspire V Nitro VN7-572G

  • OS: Ubuntu 24.04.2 LTS x86_64

  • CPU/GPU:

    • Intel HD Graphics 520 (Skylake GT2)
    • NVIDIA GeForce 945M (GM107M)

Results of aplay -l:

**** List of PLAYBACK Hardware Devices ****
card 1: hdadsp [hda-dsp], device 7: Analog HDA DSP (*) []
card 1: hdadsp [hda-dsp], device 8: Digital HDA DSP (*) []
card 1: hdadsp [hda-dsp], device 9: Alt Analog HDA DSP (*) []
card 1: hdadsp [hda-dsp], device 10: HDA DSP HDMI1 (*) []
card 1: hdadsp [hda-dsp], device 11: HDA DSP HDMI2 (*) []
card 1: hdadsp [hda-dsp], device 12: HDA DSP HDMI3 (*) []

Results of lspci (highlights):

00:02.0 VGA compatible controller: Intel HD Graphics 520
01:00.0 3D controller: NVIDIA GeForce 945M
01:00.1 Audio device: NVIDIA GM107 High Definition Audio Controller [GeForce 940MX]

Problem details

  • PulseAudio only lists "Pro Audio" as an output option (see screenshot 1 and screenshot 2).
  • When I select "Pro Audio" without a number, it plays through the internal speakers, not HDMI.
  • I've tried configuring the device via alsaconf, but that didn't help.
  • Running speaker-test on device 0,10 gives an error.
  • Tried a fix mentioned here, but after removing Intel HDA, I lost all audio.

Additional information

ALSA Mixer screenshots:

Image 1

Image 2

Image 3

Results of neofetch:

Screenshot


I've tried:

  • Enabling HDMI devices through alsamixer and alsaconf
  • Verifying devices with aplay -l
  • PulseAudio checks
  • Reading multiple guides and forum posts

How can I enable HDMI audio output on this laptop using Ubuntu 24.04? Any help getting HDMI audio to work would be greatly appreciated.

Can't change the display resolution on Ubuntu 22.04 https://askubuntu.com/questions/1522988/cant-change-the-display-resolution-on-ubuntu-22-04
$ lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy

Lenovo Legion Slim 5 16APH8

Graphics Processor: NVIDIA GeForce RTX 4070 Laptop GPU

$ nvidia-smi

Sat Aug 10 11:42:57 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.107.02             Driver Version: 550.107.02     CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4070 ...    Off |   00000000:01:00.0  On |                  N/A |
| N/A   34C    P8              2W /   60W |    1098MiB /   8188MiB |      1%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      3027      G   /usr/lib/xorg/Xorg                            430MiB |
|    0   N/A  N/A      3223      G   /usr/bin/gnome-shell                          193MiB |
|    0   N/A  N/A      6042      G   ...erProcess --variations-seed-version         66MiB |
|    0   N/A  N/A      9517      G   ...seed-version=20240808-180127.171000        187MiB |
|    0   N/A  N/A     12565      G   ...sktop/6088/usr/bin/telegram-desktop         87MiB |
|    0   N/A  N/A     19512      G   ...irefox/4698/usr/lib/firefox/firefox         16MiB |
|    0   N/A  N/A     22113      G   ...yOnDemand --variations-seed-version         92MiB |
|    0   N/A  N/A     52741      G   gnome-control-center                            2MiB |
|    0   N/A  N/A     53718      G   nvidia-settings                                 0MiB |
+-----------------------------------------------------------------------------------------+

I can't change the screen resolution in the standard way, through the settings. The available resolution is only 2560x1600(16x10) and there is no way to change it.

I try using the NVIDIA X Server Settings:

$ sudo nvidia-settings
  • Open the NVIDIA X Server Settings application
  • Go to "X Server Display Configuration"
  • Change the resolution there
  • Save configuration file to /etc/X11/xorg.conf

However, after restarting the PC, the screen extension returns to 2560x1600(16x10).

UPD. OpenAI advised to perform a reinstallation:

$ sudo apt update
$ sudo apt upgrade
$ Copysudo apt purge nvidia*
$ sudo apt autoremove
$ sudo ubuntu-drivers autoinstall

However, after these manipulations, I can no longer adjust the brightness. The slider is there and moves, but nothing changes. :(

$ nvidia-smi

Tue Aug 13 09:42:04 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58.02              Driver Version: 555.58.02      CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4070 ...    Off |   00000000:01:00.0  On |                  N/A |
| N/A   32C    P8              3W /   60W |     614MiB /   8188MiB |      1%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      2988      G   /usr/lib/xorg/Xorg                            253MiB |
|    0   N/A  N/A      3182      G   /usr/bin/gnome-shell                          141MiB |
|    0   N/A  N/A      5787      G   ...erProcess --variations-seed-version         63MiB |
|    0   N/A  N/A      6805      G   ...seed-version=20240812-050059.636000        129MiB |
+-----------------------------------------------------------------------------------------+

When I run

$ sudo nvidia-settings

CRITICAL appears:

(nvidia-settings:10858): GLib-GObject-CRITICAL **: 09:43:50.136: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 09:43:50.402: PRIME: No offloading required. Abort
** Message: 09:43:50.402: PRIME: is it supported? no

UPD 26.08.2024

I managed to fix the brightness settings source 1 source 2

with setting kernel parameter:

nvidia.NVreg_RegistryDwords=EnableBrightnessControl=1

Tried the drivers from this list 545-560, the result is his own.

$ sudo ubuntu-drivers list
nvidia-driver-535-open, (kernel modules provided by linux-modules-nvidia-535-open-generic-hwe-22.04)
nvidia-driver-555, (kernel modules provided by nvidia-dkms-555)
nvidia-driver-545, (kernel modules provided by nvidia-dkms-545)
nvidia-driver-545-open, (kernel modules provided by nvidia-dkms-545-open)
nvidia-driver-560-open, (kernel modules provided by nvidia-dkms-560-open)
nvidia-driver-560, (kernel modules provided by nvidia-dkms-560)
nvidia-driver-535-server-open, (kernel modules provided by linux-modules-nvidia-535-server-open-generic-hwe-22.04)
nvidia-driver-550, (kernel modules provided by linux-modules-nvidia-550-generic-hwe-22.04)
nvidia-driver-535-server, (kernel modules provided by linux-modules-nvidia-535-server-generic-hwe-22.04)
nvidia-driver-535, (kernel modules provided by linux-modules-nvidia-535-generic-hwe-22.04)
nvidia-driver-550-open, (kernel modules provided by linux-modules-nvidia-550-open-generic-hwe-22.04)
nvidia-driver-555-open, (kernel modules provided by nvidia-dkms-555-open)

$ sudo ubuntu-drivers install nvidia:...

It is not possible to change the screen resolution through the settings. nvidia-settings are not saved resolution when restarting the laptop.

For now, I left the newest version of driver

$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX Open Kernel Module for x86_64  560.35.03  Release Build  (dvs-builder@U16-I1-N07-12-3)  Fri Aug 16 21:42:42 UTC 2024
GCC version:  gcc version 12.3.0 (Ubuntu 12.3.0-1ubuntu1~22.04)



$ nvidia-smi
Mon Aug 26 20:29:46 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03              Driver Version: 560.35.03      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4070 ...    Off |   00000000:01:00.0  On |                  N/A |
| N/A   37C    P8              2W /   60W |     284MiB /   8188MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      3064      G   /usr/lib/xorg/Xorg                            162MiB |
|    0   N/A  N/A      3260      G   /usr/bin/gnome-shell                           98MiB |
|    0   N/A  N/A      5782      G   gnome-control-center                            2MiB |
+-----------------------------------------------------------------------------------------+

I will try to update to Ubuntu 24.04 later. Perhaps such an extreme decision will solve the situation.

Installing apps (i.e. Reaper, Librewolf) graphically https://askubuntu.com/questions/1517316/installing-apps-i-e-reaper-librewolf-graphically

I'm using the latest and updated version of Ubuntu 24.04 on a Core i7 16GB RAM laptop. I'm trying again to install Reaper and other apps. I reinstalled Ubuntu because things had gotten tangled from my attempts. After all the terminal copying and pasting I finally figured out that all I needed to do was to install Gnome Software Center or Snap Store, and I could find all the apps I wanted there. I found Reaper, Librewolf, Tidal HiFi and installed them without a problem.

But after my install Snap Store wouldn't install because it's integrated in App Center. Then I finally found Gnome Software Center that had the same icon, but to my dismay I could not find any of the aforementioned apps when doing a search.

I assume I had some repository/PPA installed that let me find these apps/snaps, but I don't know which.

I want a terminal-free approach to this (or at least limited use). I would like to be able to say that using Ubuntu is easy to a friend who (like me) only has interacted with an operating system graphically. If this is not possible I think I know why Linux use is about 1%.

How can I use bat command as an alternative to tail command? https://askubuntu.com/questions/1449326/how-can-i-use-bat-command-as-an-alternative-to-tail-command

I love the syntax highlighting of cat. So I want to use it as an alternative to tail command. But I cannot find a generic way to accomplish this. But I can use this command as an alternative to tail if I know the line numbers of the file.

e.g: if a file named test.log contains 90 lines, I can use the following command to print the last 10 lines.

batcat --line-range "80:" test.log

But I can't do the same if I don't know the line numbers of file. Is there any other way?

How can I get the equivalent of the Activities view for only one app? https://askubuntu.com/questions/1433134/how-can-i-get-the-equivalent-of-the-activities-view-for-only-one-app

I'm using Ubuntu 22.04.1 LTS

When I hit the super key Activities is called and I can see all the windows.

My question: Is there a way to customize a shortcut so that if I hit (for example) super+t I see all the windows of a particular app (for example the terminal)?

Ubuntu cannot turn the monitor on after unlocking the computer https://askubuntu.com/questions/1426233/ubuntu-cannot-turn-the-monitor-on-after-unlocking-the-computer

Ubuntu 22.04, 5.15.0-41-generic, i12700K integrated graphics, monitor Asus pg32uq connected through HDMI. This is not a laptop. All power saving features that I could find through GUI settings are turned off.

This is what happens when the monitor is connected to Ubuntu machine only. When the computer is locked, the monitor is blank. Pressing buttons on the keyboard does not make the monitor show any information from Ubuntu. An "HDMI no signal" message appears on the monitor from time to time. I assume that the computer starts sending a signal and then stops periodically.

After pressing Ctrl-Alt-F1,Ctrl-Alt-F2,Space a few times a screen with my account name appears. After I enter the password, the screen goes blank again. In most cases, it shows me Ubuntu desktop after that. In some cases, after the password is entered, the monitor shows "HDMI no signal" again and I have to repeat the process of unlocking from scratch.

The following happens when the monitor is connected to Ubuntu and Windows machines at the same time. I have described the horror with the monitor connected to just one Linux computer above. I also have a Windows 10 laptop, which I connect to the same monitor through another HDMI port. The laptop works with this monitor perfectly, regardless of whether Ubuntu machine is connected or not, however connecting the laptop makes the situation for Ubuntu worse. The monitor auto-switches between HDMI ports when it does not sense a signal. There is no way to turn auto-source off for this monitor. As soon as the monitor senses no signal on the port connected to the Linux machine, it switches back to the Windows machine. In many cases I find it impossible to login into Ubuntu machine without physically disconnecting the monitor from the Windows machine first. After the Windows laptop is disconnected from the monitor, the situation for Ubuntu from impossible becomes terrible, as described above.

Do you have any ideas about how to make Ubuntu send a video signal all the time?

Failed to start Snap Daemon https://askubuntu.com/questions/1418003/failed-to-start-snap-daemon

I am trying to install Lubuntu on a machine that has Ubuntu on it (BOTH LATEST VERSION)

When I boot with ISO disk it says loading Lubuntu for a long then it says: OK Finished Plymouth boot OK Finished Set Console scheme FAILED Failed to start Snap Daemon

Then the machine is locked up and I must turn it off to reboot

I used another Lununtu DVD but same result

Can you help me??????

Cannot change resolution on LXDE https://askubuntu.com/questions/1416400/cannot-change-resolution-on-lxde

I have Ubuntu 18.04 with LXDE on an Nvidia Jetson Nano small computer. When the monitor isn't attached I'm stuck with 640x480 resolution. Launching Preferences -> "Monitor Settings" does not result in anything appearing on the screen and lxrandr from the terminal returns a Segmentation fault error message.

I then tried manually to add the 1280x768 resolution, but I keep getting cannot find output "S-video or when changing mode to HDMI-0 I'm getting cannot find mode 1280x768.

What can I do to change the resolution? I'm accessing the device through NoMachine.

Results of several different xrandr commands:

zadadmin@ZadNANO:~$ xrandr -q
Screen 0: minimum 8 x 8, current 640 x 480, maximum 16384 x 16384
HDMI-0 disconnected primary (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
zadadmin@ZadNANO:~$ cvt 1280 768 60
# 1280x768 59.87 Hz (CVT) hsync: 47.78 kHz; pclk: 79.50 MHz
Modeline "1280x768_60.00"   79.50  1280 1344 1472 1664  768 771 781 798 -hsyn
c +vsync
zadadmin@ZadNANO:~$ xrandr --newmode "1280x768_60.00"   79.50  1280 1344 1472
 1664  768 771 781 798 -hsync +vsync
zadadmin@ZadNANO:~$ xrandr --addmode S-video 1280x768
xrandr: cannot find output "S-video"
zadadmin@ZadNANO:~$ xrandr --addmode HDMI-0 1280x768
xrandr: cannot find mode "1280x768"
zadadmin@ZadNANO:~$ xrandr --addmode DP-0 1280x768
xrandr: cannot find mode "1280x768"
zadadmin@ZadNANO:~$ sudo lxrandr
[sudo] password for zadadmin: 
Segmentation fault
zadadmin@ZadNANO:~$
errors when compiling with gcc https://askubuntu.com/questions/1344007/errors-when-compiling-with-gcc

I'm using ubuntu18.04 on the server. I have already installed gcc-4.9 under the root, but now I want to install gcc-7.4 under my own directory, so I did the following things. First I downloaded gcc-7.4.0.tar.gz, and extracted it.Then cd gcc-7.4.0/ and then download prerequisites using command ./contrib/download_prerequisites, then I run

mkdir build

and

cd build

I want to install gcc-7.4 under my directory without root, so I assigned prefix=/home/myusername/bin/ to compile. The complete command is as follow.

../configure --prefix=/home/xxx/bin --enable-shared --enable-threads=posix --enable-languages=c,c++,fortran --disable-multilib

but then I got an error.So I looked into the config.log file ,which says:

Thread model: posix
gcc version 4.9.3 (Ubuntu 4.9.3-13ubuntu2) 
configure:4314: $? = 0
configure:4303: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4314: $? = 4
configure:4303: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:4314: $? = 4
configure:4334: checking for C compiler default output file name
configure:4356: gcc    conftest.c  >&5
gcc: error trying to exec 'cc1': execvp: No such file or directory
configure:4360: $? = 1
configure:4397: result: 
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4403: error: in `/home/zxw/gcc-7.4.0/build':
configure:4407: error: C compiler cannot create executables
See `config.log' for more details.

it says C compiler cannot create executables,and also trying to exec 'cc1': execvp: No such file or directory. I searched both issues and referred to this one,but it doesn't help.

I am new to this and don't know exactly what's going on. Can anyone helps me? If you need more information, please tell me, I don't know what can I do to check it further.

update:
1.I can't install both versions system-wide, because I am preparing an environment on my lab's server which I don't have the root access. So this is why I tried to install the particular gcc version I need under my directory.
2. The reason why I need gcc-7.4.0 is because I'm preparing an environment for the detectron2 project, which is a project provided by Facebook and is used to learn object detection. And from the installation requirements of detectron2, I need to prepare cuda and gcc first, I now have cuda-10.1,ubuntu-18.04 ,so I searched for which version of gcc do I need, and from the nvidia official website, it says the gcc version that matches cuda-10.1 and ubuntu-18.04 is and only is gcc-7.4, so I am installing this particular version of gcc.
3.I'm sorry I don't know how the gcc-4.9 installed, the reason is the same as point 1, I am just a user of my lab's server, it has already been here since I joined the lab.

second update. I followed this and tried again, the command I used are as below.

tar xzf gcc-7.4.0.tar.gz
cd gcc-7.4.0
./contrib/download_prerequisites
cd ..
mkdir objdir
cd objdir
/home/xxx/gcc-7.4.0/configure --prefix=/home/xxx/GCC-7.4.0

and then received the same error report.
I doubt there is something wrong with the existing gcc version, so I can't build a new version based on the previous gcc.

How to sign your kernel and bootloader? https://askubuntu.com/questions/1313033/how-to-sign-your-kernel-and-bootloader

How to sign your kernel and bootloader?

How do I sign my kernel and bootloader?

Update (04-Feb-2021) Don't think I made clear what it is that I'm trying to do. I want to do away with OEM keys and only use my own keys. I'm trying to run Secure Boot with Full Disk Encryption, including Boot.

Preparation

  1. Disable Secure Boot and Delete existing keys.
  2. Download and install the mikos/cryptboot tool.
  3. Install package dependencies (listed in the readme)

Cryptboot configuration

Made some changes to the config file (these are the changes I made to reflect my setup).

# Encrypted boot device name (/dev/mapper/$BOOT_CRYPT_NAME)
# (have to be specified in /etc/crypttab)
BOOT_CRYPT_NAME="LUKS_BOOT"

# Boot entry in UEFI Boot Manager (if using GRUB boot loader)
EFI_ID_GRUB="ubuntu"

# Path to GRUB boot loader EFI file (relative to EFI System partition)
EFI_PATH_GRUB="EFI/ubuntu/grubx64.efi"

Steps taken

# Create and enroll keys (must be in setup mode, verify with bootctl)
cryptboot-efikeys create
cryptboot-efikeys enroll

# Sign kernel
cryptboot-efikeys sign /boot/vmlinuz-5.4.0-65-generic

# Sign bootloader
cryptboot update-grub

When I reboot and enable Secure Boot I will get this error:

error: Secure Boot forbids loading module from (cryptouuid/abcdef0123456789)/grub/x86_64-efi/normal.mod

And when I fix that by bundling/pre-loading (with --modules parameter on grub-install) the modules I get this error:

error: /vmlinuz-5.4.0-65-generic has invalid signature.
error: you need to load the kernel first

Press any key to continue...

When I verify the signatures, I get an output saying it has multiple signatures but that they're okay:

  1. Canonicals signature
  2. My custom signature

So I thought that maybe removing the Canonical signature would help. Found a program called pesign which would let me remove signatures from binaries. I removed the Canonical signature, then verfied that the signature is still okay by running:

cryptboot-efikeys verify /boot/vmlinuz-5.4.0-65-generic

All seems to be good, it says the signature is valid (OK). When I reboot I still get the same error as before. Do not think that was the issue (having Canonicals signature on it).

Additional information

I have double checked that my keys are enrolled properly.

cryptboot-efikeys list
# All UEFI Secure Boot keys enrolled in your UEFI firmware:
# Variable PK, length 835
# PK: List 0, type X509
#   ...
# Variable KEK, length 837
# KEK: List 0, type X509
#   ...
# Variable db, length 835
# db: List 0, type X509
#   ...
# Variable dbx, length -4
# Variable MokList has no entries

The double check

moktuil --import /boot/efikeys/PK.cer
# SKIP: efikeys/PK.cer is already in PK
mokutil --import /boot/efikeys/KEK.cer
# SKIP: efikeys/KEK.cer is already in KEK
mokutil --import /boot/efikeys/db.cer
# SKIP: efikeys/db.cer is already in db

When I run mokutil --list-enrolled it tells me that the MOK list is empty.

mokutil --list-enrolled
# MokListRT is empty

When looking at various guides and articles they all say that when importing your keys with mokutil you will be prompted for a password, then have to reboot and select the desired key. Then after the reboot verify that the key(s) were enrolled properly.

Since my output of mokutil --list-enrolled says the list is empty I get the feeling that this is what is causing the error I'm seeing. I've read through the cryptboot-efikeys script and it is not using mokutil anywhere, maybe that helps.

My keys are already enrolled and mokutil won't take them so if this is causing problems I do not know how to fix it without ditching cryptboot and doing all operations myself, which I prefer not having to.

Also tried the grub-efi-amd64-signed package which will give you the option to use the --uefi-secure-boot option on grub-install but this did not seem to make any difference.

System and environment information

  • Ubuntu 20.04
  • GRUB 2.04
  • Kernel 5.4.0-65

Update (04-Feb-2021)

I've done away with the cryptboot tool and started doing all steps manually. The issue of mokutil not taking my keys remains, however if I first load my keys in MOK and later into UEFI it all works fine.

I have since found out that removing grub-efi-amd64-signed makes it so that you lose the shimx64.efi and mmx64.efi, that was probably the reason I was unable to launch MokManager and the reason secure boot wasn't working.

Instead of having grub-efi-amd64-signed installed, I tried running grub-install while having shim and grub-efi-amd64 installed. Did not give me shimx64.efi therefor not being able to start MokManager. I could overcome this by copying /usr/lib/shim/shimx64.efi to /boot/efi/EFI/ubuntu/ and then adding it as a boot entry with efibootmgr. This would let me run MokManger on reboot but would still add the default keys (more on default keys in a bit).

Did a step back and reinstalled my system without any encryption, just to see what vanilla Ubuntu 20.04 would do in terms of setting up. I'm able to set up Secure Boot on the vanilla Ubuntu 20.04 desktop installation, solely using my own keys (kinda).

When adding my key using mokutil --import key.der I'm also getting the Microsoft shim signing key and the Canonical secure boot signing key. This is something I don't think I want but cannot be sure yet as I do not fully understand where the MOK keys come in to play. Deleting the Microsoft and Canonical keys from MOK using mokutil is not possible. I'm now looking in to compiling shim from source, hoping the default keys are not enrolled.

Ubuntu 20.04 LTS get stuck at logo screen https://askubuntu.com/questions/1307575/ubuntu-20-04-lts-get-stuck-at-logo-screen

I am using Ubuntu from last month, but today I tried to boot it and it get stuck at the logo screen I also disabled fast startup and secure boot ,also I add nomodeset but nothing actually improved.

Ubuntu 20.04 font and UI elements are too big on login https://askubuntu.com/questions/1268993/ubuntu-20-04-font-and-ui-elements-are-too-big-on-login

I'm running Ubuntu 20.04 on an ASUS X99-E-10G WS w/ an NVIDIA 1080Ti and an LG 4k 32" monitor which persistently gets recognized as 27". I have the 440 version of NVIDIA's graphics drivers installed.

When I log in, the text of certain UI elements is ~2x the normal size. After I go to settings/universal access and turn large text on and then off again, everything is the normal size I expect.

Screenshot after logging in:

Screenshot after logging in
Click the image to enlarge it.

After turning "large text" on:

After turning "large text" on
Click the image to enlarge it.

After turning "large text" off:

After turning "large text" off
Click the image to enlarge it.

How do I get the conditions I have after cycling the "large text" feature to be present immediately after booting?

Screen "messed up" during installation of Ubuntu 18.04/20.04 on an Nvidia computer https://askubuntu.com/questions/1259980/screen-messed-up-during-installation-of-ubuntu-18-04-20-04-on-an-nvidia-comput

I don't know what else to call this except "messed up".

enter image description here

Here is what I did to install Ubuntu.

  1. Selected Install Ubuntu. Then the screen went crazy like in the picture.
  2. Selected Try Ubuntu and it worked! but then when I clicked Install Ubuntu it went crazy.
  3. Selected Install Ubuntu (Safe Mode) and I could install (although I couldn't see the bottom of the screen so I had to hit tab and guess where Next was.

I managed to install Ubuntu, but then after rebooting, I see that screenshot.

Here is what I have tried to do to isolate other causes.

  1. I tried two different USB drives;
  2. I tried different versions (18.04 desktop, 20.04 desktop);
  3. I tried two different computers.
  4. I tried different monitors.
  5. I tried jiggling the HDMI cables.
  6. I even tried installing from UNetbootin instead of from a USB.

The only conclusion I can draw is that it has something to do with the Nvidia graphics card.

How do I add a xserver-xorg-video-dummy display to mirror the physical display? https://askubuntu.com/questions/1231608/how-do-i-add-a-xserver-xorg-video-dummy-display-to-mirror-the-physical-display

I run a home file server on Ubuntu 18.04, which normally doesn't have a monitor plugged in. I would like to be able to VNC into it, but I discovered that it doesn't start the X session until I plug in a monitor. So I installed xserver-xorg-video-dummy and created an /etc/X11/xorg.conf file that uses the dummy driver.

It works great, but I still want to be able to plug in a physical monitor. However, since the xorg.conf file overrides my previous configuration, when I plug in a physical monitor, I just get a blank screen. I can still VNC in and see my desktop, but the physical monitor is blank.

I tried removing the 'dummy' xorg.conf file and running sudo Xorg -configure without X running in order to generate an xorg.conf file that I could then add the dummy display to as a mirror of the physical display, but the Xorg -configure command segfaults. I've read that xorg.conf is rarely used anymore, and that Xorg -configure is obsolete and should not be used, and regardless, the Xorg -configure segfault is not likely to be fixed any time soon.

Is there a way I can get both the physical monitor and the dummy monitor to work, without using an xorg.conf file?

Openvpn client doesn't connect https://askubuntu.com/questions/1165766/openvpn-client-doesnt-connect

I'm something noobie on linux. Sorry if this question is so basic, but couldn't find a solution anywhere...

I have a windows10 host machine with Virtualbox installed.

There are two guest machines: one Windows7 and other Linux Ubuntu 18.04.3.

There is a VPN wich I want to connect the guests machine using openvpn. Both guest machines were configured using the same .ovpn config file.

When I connect via windows7 machine it connects and works perfectly. When I connect via Ubuntu, it seems that will connect, the switch of the network config screen turns orange (on), but after about a minute, there is a message on the top of the screen that says " VPN Connection Failed" and the switch turns back to gray (off).

No reason was displayed at the screen, so I looked for the logs via

grep VPN /var/log/syslog

But can't find any help for the reason. This was the output (if I can attach it as a file I think ti would be a somethig more organizated):

Aug 14 11:24:35 WMS NetworkManager[587]: <info>  [1565792675.5731] keyfile: add connection /etc/NetworkManager/system-connections/SCVPN_Oficial-a823c733-585b-4b36-96e2-a8c99a35c62c (a823c733-585b-4b36-96e2-a8c99a35c62c,"SCVPN_Oficial")
Aug 14 11:24:35 WMS NetworkManager[587]: <info>  [1565792675.5761] audit: op="connection-add" uuid="a823c733-585b-4b36-96e2-a8c99a35c62c" name="SCVPN_Oficial" pid=4548 uid=1000 result="success"
Aug 14 11:24:39 WMS NetworkManager[587]: <info>  [1565792679.5181] audit: op="connection-activate" uuid="a823c733-585b-4b36-96e2-a8c99a35c62c" name="SCVPN_Oficial" pid=4548 uid=1000 result="success"
Aug 14 11:24:39 WMS NetworkManager[587]: <info>  [1565792679.5317] vpn-connection[0x555efa462390,a823c733-585b-4b36-96e2-a8c99a35c62c,"SCVPN_Oficial",0]: Started the VPN service, PID 6628
Aug 14 11:24:39 WMS NetworkManager[587]: <info>  [1565792679.5483] vpn-connection[0x555efa462390,a823c733-585b-4b36-96e2-a8c99a35c62c,"SCVPN_Oficial",0]: Saw the service appear; activating connection
Aug 14 11:24:39 WMS NetworkManager[587]: <info>  [1565792679.6750] vpn-connection[0x555efa462390,a823c733-585b-4b36-96e2-a8c99a35c62c,"SCVPN_Oficial",0]: VPN plugin: state changed: starting (3)
Aug 14 11:24:39 WMS NetworkManager[587]: <info>  [1565792679.6752] vpn-connection[0x555efa462390,a823c733-585b-4b36-96e2-a8c99a35c62c,"SCVPN_Oficial",0]: VPN connection: (ConnectInteractive) reply received
Aug 14 11:24:39 WMS nm-openvpn[6634]: WARNING: file '/home/vinicius/Oficial_Starcamp_VPN/<certificate_file_name_here>.key' is group or others accessible
Aug 14 11:24:39 WMS nm-openvpn[6634]: OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2019
Aug 14 11:24:43 WMS NetworkManager[587]: <info>  [1565792683.4375] audit: op="connection-delete" uuid="78f77d40-f5ce-4491-8358-1e2b53fd5782" name="SCVPN_Oficial" pid=4548 uid=1000 result="success"
Aug 14 11:25:40 WMS NetworkManager[587]: <warn>  [1565792740.1467] vpn-connection[0x555efa462390,a823c733-585b-4b36-96e2-a8c99a35c62c,"SCVPN_Oficial",0]: VPN connection: connect timeout exceeded.
Aug 14 11:25:40 WMS NetworkManager[587]: <warn>  [1565792740.1515] vpn-connection[0x555efa462390,a823c733-585b-4b36-96e2-a8c99a35c62c,"SCVPN_Oficial",0]: VPN plugin: failed: connect-failed (1)
Aug 14 11:25:40 WMS NetworkManager[587]: <info>  [1565792740.1517] vpn-connection[0x555efa462390,a823c733-585b-4b36-96e2-a8c99a35c62c,"SCVPN_Oficial",0]: VPN plugin: state changed: stopping (5)
Aug 14 11:25:40 WMS NetworkManager[587]: <info>  [1565792740.1518] vpn-connection[0x555efa462390,a823c733-585b-4b36-96e2-a8c99a35c62c,"SCVPN_Oficial",0]: VPN plugin: state changed: stopped (6)
Aug 14 11:25:40 WMS NetworkManager[587]: <info>  [1565792740.1553] vpn-connection[0x555efa462390,a823c733-585b-4b36-96e2-a8c99a35c62c,"SCVPN_Oficial",0]: VPN service disappeared

There is a timeout information but I can't figure out the reason.

Looking for more information or a solution I tryed to start th VPN via command line:

sudo openvpn --config SCVPN_Oficial.ovpn --verb 10 > conn.log

After a while of no response I sent a ^C. The log produced is below (remote IP obfuscated).

Does someone have any idea what I shoud try?

Acer Swift 3 Fingerprint Scanner driver https://askubuntu.com/questions/1109411/acer-swift-3-fingerprint-scanner-driver

I have an Acer Swift 3, ryzen 5, model no.- SF315-41. I haven't found the fingerprint scanner driver for Ubuntu. So, I tried the Windows version with wine but it failed. The fingerprint reader is Can anyone please help?

Here are the Infos about the fingerprint scanner:

Bus 003 Device 005: ID 1c7a:0570 LighTuning Technology Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1c7a LighTuning Technology Inc.
idProduct 0x0570
bcdDevice 10.41
iManufacturer 1 EgisTec
iProduct 2 EgisTec Touch Fingerprint Sensor
iSerial 3 07061E6E
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 3
Device Status: 0x0002
(Bus Powered)
Remote Wakeup Enabled
Thunderbird icon is missing in system tray bar in Ubuntu 18.04 https://askubuntu.com/questions/1070523/thunderbird-icon-is-missing-in-system-tray-bar-in-ubuntu-18-04

In Ubuntu 16.04 I had a Thunderbird icon in tray bar with unread messages but there isn't in Ubuntu 18.04.

Is there a chance to have it again?

How to correct auto/manual installation flags of installed packages? https://askubuntu.com/questions/987054/how-to-correct-auto-manual-installation-flags-of-installed-packages

I have installed Ubuntu on the new Lenovo T470. To have the same packages as on the old notebook installed I have created a list of installed packages on the old notebook and I installed those on new Lenovo using How to list all installed packages.

Now I have almost all packages marked as installed manually (I read the some comments too late) - autoremove will not work correctly.

I would like to correct the manual/auto flags of dependent packages to auto.

I'm thinking I need to take the following steps:

  1. Create a list of all installed packages

    apt-mark showmanual >installed_packages.txt
    apt-mark showauto >>installed_packages.txt
    
  2. Retrieve the dependencies (quite a long process)

    for PACKAGE in $( sort installed_packages.txt ); do
        apt-cache depends ${PACKAGE} --important -q --installed | awk '/epends:/ {print $2}' >>dependencies_all.txt
    done
    sort -u dependencies_all.txt > dependencies_uniq.txt
    

    Note the --important option of apt-cache. AWK will print only a package name of Depends: and PreDepends:

  3. Set the auto flag for all dependent packages

    cat dependencies_uniq.txt | xargs sudo apt-mark auto
    

Are these steps correct? Are the dependencies retrieved by apt-cache depends --important the same as selected for installation by APT when a package is installed?

Is there a better way to correct these flags?

Use proxychains in terminal https://askubuntu.com/questions/885073/use-proxychains-in-terminal

I know that I'm using the proxy(tor) by the precise return of this command:

sudo proxychains sh -c 'apt update'

However, when I do this in 2 steps, the command's return isn't as precise as before: proxychains xfce4-terminal Wait for the terminal window to appear, then enter:

sudo apt update

Why? Plus, if I uninstall tor the 2 steps method still works; it shouldn't !

Ubuntu 16.04 dual monitor resolution problem with Dell Precision 5510 https://askubuntu.com/questions/777994/ubuntu-16-04-dual-monitor-resolution-problem-with-dell-precision-5510

I installed Ubuntu 16.04 on my Dell Precision 5510 laptop. My graphics are Intel 530 and Nvidia Quadro m1000m. I'm using a dual monitor that has 1920x1080 resolution.

Kernel version is 4.4.11 xenial.

Results of xrandr:

~ $ ercsb
[sudo] password for subji:
~ $ xrandr
Screen 0: minimum 8 x 8, current 5090 x 3240, maximum
eDP1 connected primary 3840x2160+1250+1080 (normal le
   3840x2160     60.00*+
   3200x1800     60.00
   2880x1620     60.00
   2560x1440     60.00
   2048x1536     60.00
   1920x1440     60.00
   1856x1392     60.01
   1792x1344     60.01
   2048x1152     60.00
   1920x1200     59.95
   1920x1080     60.00      59.93
   1600x1200     60.00
   1680x1050     59.95      59.88
   1600x1024     60.17
   1400x1050     59.98
   1600x900      60.00
   1280x1024     60.02
   1440x900      59.89
   1280x960      60.00
   1368x768      60.00
   1360x768      59.80      59.96
   1152x864      60.00
   1280x720      60.00
   1024x768      60.00

but I connect the external monitor by HDMI cable.

Panel and font size are too large in the external monitor

When I run gnome-tweak-tool in the window of the menu that modified configuration window scaling 2 to 1, the laptop monitor's font and panel are too small.

Bluetooth not working on a Lenovo ideapad 100-15iby (Wi-Fi unstable too) https://askubuntu.com/questions/761275/bluetooth-not-working-on-a-lenovo-ideapad-100-15iby-wi-fi-unstable-too

I have made edits to this post and Wi-Fi works now, but I still have problems with Bluetooth, and is further explained below at "EDITS:"

A verbose output of lsusb has been posted down below, please tell me if I can get more info out of this. It indicates that Bluetooth is under Chicony Electronics.

Note: I have added another bounty on this question as I still have this issue with Bluetooth. I would like to have my internal Bluetooth working to reduce hassle with USB devices. I recall browsing answers which includes converting and editing specific driver files from Windows so I can use it with Linux and would like to do that where possible, but I lack experience with it and would love an answer that guides me through.

Original Question

I've got everything working on this laptop except for two tiny wee things:

  1. Bluetooth is not functioning correctly: it does show up in the tray, I can turn it on. When trying searching for a new device, none is found, and my other devices are unable to find my laptop either.
  2. Wi-Fi does seem to work, but after some time this becomes unstable: I'm unable to connect to any access point anymore until I restart my machine.

I have been searching on several forums and on this website, but I honestly do not have any idea what specific model I have for Bluetooth & Wi-Fi, and am unable to determine what drivers I need for this. I do know that the manufacturer of this Bluetooth device is Realtek.

If you would like to help me, I'd gladly appreciate it.

lsusb:

reboot@LNV-IDPAD-100-14IBY0:~$ sudo lsusb 
[sudo] password for reboot: 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 04f2:b49f Chicony Electronics Co., Ltd 
Bus 002 Device 002: ID 174f:1169 Syntek 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
reboot@LNV-IDPAD-100-14IBY0:~$ 

lspci:

00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0e)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0e)
00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI (rev 0e)
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0e)
00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 (rev 0e)
00:1c.1 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 2 (rev 0e)
00:1c.2 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 3 (rev 0e)
00:1c.3 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 4 (rev 0e)
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0e)
00:1f.3 SMBus: Intel Corporation Atom Processor E3800 Series SMBus Controller (rev 0e)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 0a)
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter

If any more information is needed, please tell me. Thanks in advance,

Reboot

Edits:

lsusb -v: http://pastebin.com/5Whp5dfv

I have installed the Wi-Fi driver from source from here. I tried to install the Bluetooth driver with these files and make, but they do not work. Does anyone know the solution to Bluetooth?

MSI 970 Gaming USB 3.0 drivers https://askubuntu.com/questions/602791/msi-970-gaming-usb-3-0-drivers

I recently switched to Ubuntu, with intents to make it my main OS. So far I've managed to get everything working correctly except my USB 3 ports. No matter what I plug in (I've tried flash drives, portable hard drives, and wireless adaptors) it receives power, but is never detected by the system.

I'm assuming this problem is due to a missing driver for my motherboard, an MSI 970 gaming.

There are no official linux drivers, but I was hoping someone here could point me to a site that might have some.

How to display $PATH as one directory per line? https://askubuntu.com/questions/600018/how-to-display-path-as-one-directory-per-line

I cannot figure out how to list the various paths in $PATH separately so that they look like this:

/bin
/usr/bin
/usr/local/bin

How can this be done?