Can’t login on tty2 https://askubuntu.com/questions/1564395/can-t-login-on-tty2

The gdm is failing to run on tty1, but when I go to any other tty it fails to logs in, and then immediately kicks me out to the login prompt again.

Running on Ubuntu 24.04, I saw the post about the gdm failing but was wondering if anybody know why I can’t login to tty2 to fix it.

Audio becomes distorted/low quality when the microphone is active in Ubuntu 24.04 with PipeWire https://askubuntu.com/questions/1564392/audio-becomes-distorted-low-quality-when-the-microphone-is-active-in-ubuntu-24-0

Ubuntu 24.04
PipeWire 1.0.5

PipeWire / WirePlumber is causing my audio to sound like there's water in my speakers when the microphone is active.

I'm looking for either fix to issue or different audio microphone software that does not have this problem.

Ubuntu 24.04 How to update python3 3.12.3 for CVE-2025-4517? [duplicate] https://askubuntu.com/questions/1564390/ubuntu-24-04-how-to-update-python3-3-12-3-for-cve-2025-4517

My company's SOC has tagged my Ubuntu 24.04 default python3 3.12.3 with CVE https://www.cve.org/CVERecord?id=CVE-2025-4517

According to cve.org, to remediate the CVE I must upgrade python3 to at least 3.12.12. From what I've seen online I should only update the default Python with 'apt update' and 'apt upgrade.' But when I do so, the python3 version remains 3.12.3. How do I safely upgrade the default python3?

Thank you,

David

Printer Driver Mystery, Different Results on Different Computers [closed] https://askubuntu.com/questions/1564389/printer-driver-mystery-different-results-on-different-computers

I just ran into a scenario where on one computer I can print no problem, and on another computer, it prints very oddly. Both computers have the same driver. That particular document is a pdf that is from handwriting things on notability on an ipad. The computer with printing issues has an older version of ubuntu, and I just upgraded it to 20.04 thinking that might make the difference but it has the same issues

I'm not even sure what info I should provide to differentiate the two computers and try to track it down?

"snap download kate" downloads snap applications without installing, but how to download similar applications from Discover app and Flatpak? https://askubuntu.com/questions/1564387/snap-download-kate-downloads-snap-applications-without-installing-but-how-to

The snap download kate command downloads snap applications without installing, but how to download similar applications from the Discover (community.kde.org) and Flatpak stores (Original:


, но как скачать подобные приложения из магазинов "Discover" (community.kde.org) и FlatPak).

The snap download kate command downloads snap applications without installing, but how to download similar applications from the Discover (community.kde.org) and Flatpak (GNOME project) stores

I simply installed applications from two foreign Ubuntu stores, under the * * * name FlatPak and "Discover," I want to separately download applications without installation, similar to your snap download kate command, and then install these applications.

(Original: Команда snap download kate скачивает приложения snap без установки, а как скачать аналогичные приложения из магазинов "Discover" (community.kde.org) и FlatPak (Проект GNOME)

Я попросту установил приложения от двух магазинов чужеродных Ubuntu, под ***наименованием FlatPak и "Discover", хочется в отдельности скачать приложения без установки, аналогичные вашей команде snap download kate, а потом установить эти приложения.)

Discover:

enter image description here

GNOME Software:

enter image description here

dpkg error: "trying to overwrite file, which is also in..." for two versions of the same library [duplicate] https://askubuntu.com/questions/1564382/dpkg-error-trying-to-overwrite-file-which-is-also-in-for-two-versions-of

Recently, I installed updates on my work desktop computer after not having access to it for a while. After rebooting it, one of the two screens didn't come back on. This one is plugged in via VGA and not HDMI (like the one that still works) or DP, so I figured it's probably a driver issue. After digging through nvidia docs a bit, I am now faced with the current situation.

When running `sudo apt --fix-broken install`, I get this error stack:

After this operation, 307 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 354619 files and directories currently installed.)
Preparing to unpack .../libnvidia-cfg1-535_535.288.01-0ubuntu1_amd64.deb ...
Unpacking libnvidia-cfg1-535:amd64 (535.288.01-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libnvidia-cfg1-535_535.288.01-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.1', which is also in package libnvidia-cfg1:amd64 590.48.01-0ubuntu1
Errors were encountered while processing:
 /var/cache/apt/archives/libnvidia-cfg1-535_535.288.01-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I found this old question on here, which recommends removing the package where the file is "also" found in. However, this is my nvidia driver... surely that will break some things? Is there another workaround in 2026? Should I contact nvidia support directly?

Downsides to only asking for the unencryption key when logging in Ubuntu? https://askubuntu.com/questions/1564380/downsides-to-only-asking-for-the-unencryption-key-when-logging-in-ubuntu

Because I encrypted the drive and I'm already asked to enter a password at system boot, I wondered what downsides could arise if I check the 'automatic login' option for my user, as this would streamline accessing the computer, having to enter just 1 instead of 2 passwords every single time. Thank you.

USB-C Port Issue Ubuntu 24.04 https://askubuntu.com/questions/1564379/usb-c-port-issue-ubuntu-24-04

The USB-C ports on Asus NUC 14 Pro (BTW...Asus says Ubuntu 24.04 and Windows 11 are 2 supported OS on the NUC 14). Searching and diving into a possible fix I see others with the same configuration have the same problem. I've tried many supposed remedies with no luck. I even sent NUC back (bare bones) for testing and it tested fine. I put my NvMe and memory back in and it still doesn't work on C ports?

Any points to consider and to resolve this pesky problem are appreciated! Thanks

How to install UGREEN AX900 USB WiFi adapter? https://askubuntu.com/questions/1564377/how-to-install-ugreen-ax900-usb-wifi-adapter

I have the same problem as described in previous question when installing the same WiFi adapter. I have followed the instructions exactly, but the driver installation fails.

Here is the output from lsusb.

paul@paul-Lenovo-IdeaPad-Yoga-13:~$ lsusb  
..  
Bus 003 Device 007: ID a69c:8d80 aicsemi AIC Wlan  
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub  
..  

Here is some of the output the output from the dpkg command:

$ sudo dpkg -i CM762/Linux/linux_driver_package/aic8800d80fdrvpackage.deb >ax900install.txt  
[sudo] password for paul:   
rmmod: ERROR: Module aic8800_fdrv is not currently loaded  
rmmod: ERROR: Module aic_load_fw is not currently loaded  
/bin/sh: 1: test: -lt: unexpected operator  
/bin/sh: 1: test: -lt: unexpected operator  
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.  
warning: the compiler differs from the one used to build the kernel  
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0  
  You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0  
make[5]: warning: -j4 forced in makefile: resetting jobserver mode.  
aic_load_fw/aicbluetooth.c:259:5: warning: no previous prototype for ‘aic_crc32’ [-Wmissing-prototypes]  
  259 | u32 aic_crc32(u8 *p, u32 len, u32 crc)  
      |     ^~~~~~~~~  
aic_load_fw/aicbluetooth.c: In function ‘rwnx_plat_flash_bin_upload_android’:  
aic_load_fw/aicbluetooth.c:760:15: warning: conversion from ‘long unsigned int’ to ‘u32’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow]   
  760 |     u32 crc = ~0UL;  
      |               ^  
aic_load_fw/aicbluetooth.c: At top level:  
aic_load_fw/aicbluetooth.c:900:6: warning: no previous prototype for ‘get_fw_path’ [-Wmissing-prototypes]  
  900 | void get_fw_path(char* fw_path){  
      |      ^~~~~~~~~~~  
.. 
Lots of Wmissing-prototypes messages.  
..   
aic8800_fdrv/rwnx_wakelock.c:15:12: warning: assignment to ‘struct wakeup_source *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]  
   15 |         ws = wakeup_source_create(name);  
      |            ^  
aic8800_fdrv/rwnx_msg_rx.c: In function ‘rwnx_rx_scanu_result_ind’:  
aic8800_fdrv/rwnx_msg_rx.c:792:29: warning: the comparison will always evaluate as ‘true’ for the address of ‘bssid’ will never be NULL [-Waddress]
  792 |                 if (!bss || !bss->bssid) {  
      |                             ^  
In file included from aic8800_fdrv/rwnx_defs.h:20,  
                 from aic8800_fdrv/rwnx_msg_rx.c:14:  
/usr/src/linux-headers-6.17.0-14-generic/include/net/cfg80211.h:3091:12: note: ‘bssid’ declared here  
 3091 |         u8 bssid[ETH_ALEN];  
      |            ^~~~~  
aic8800_fdrv/rwnx_msg_rx.c:797:68: warning: the comparison will always evaluate as ‘true’ for the address of ‘bssid’ will never be NULL [-Waddress]  
  797 |                         if (!scan_re_wext || !scan_re_wext->bss || !scan_re_wext->bss->bssid) {  
      |                                                                    ^  
/usr/src/linux-headers-6.17.0-14-generic/include/net/cfg80211.h:3091:12: note: ‘bssid’ declared here  
 3091 |         u8 bssid[ETH_ALEN];  
      |            ^~~~~  


aic8800_fdrv/rwnx_wakelock.c:25:9: error: implicit declaration of function ‘wakeup_source_destroy’; did you mean ‘wakeup_source_register’? [-Werror=implicit-function-declaration]  
   25 |         wakeup_source_destroy(ws);  
      |         ^~~~~~~~~~~~~~~~~~~~~  
      |         wakeup_source_register  
cc1: some warnings being treated as errors  
make[5]: *** [/usr/src/linux-headers-6.17.0-14-generic/scripts/Makefile.build:287: aic8800_fdrv/rwnx_wakelock.o] Error 1  
make[5]: *** Waiting for unfinished jobs....  
aic_load_fw/aic_compat_8800d80.c: In function ‘aicfw_download_fw_8800d80’:  
aic_load_fw/aic_compat_8800d80.c:375:31: warning: unused variable ‘patch_info’ [-Wunused-variable]  
  375 |     struct aicbt_patch_info_t patch_info = {    
  
make[4]: *** [/usr/src/linux-headers-6.17.0-14-generic/scripts/Makefile.build:556: aic8800_fdrv] Error 2  
make[4]: *** Waiting for unfinished jobs....  
aic_load_fw/aicwf_txq_prealloc.c:13:7: warning: no previous prototype for ‘aicwf_prealloc_txq_alloc’ [-Wmissing-prototypes]
   13 | void *aicwf_prealloc_txq_alloc(size_t size)  
      |       ^~~~~~~~~~~~~~~~~~~~~~~~  
aic_load_fw/aicwf_txq_prealloc.c:50:6: warning: no previous prototype for ‘aicwf_prealloc_txq_free’ [-Wmissing-prototypes]  
   50 | void aicwf_prealloc_txq_free(void)  
      |      ^~~~~~~~~~~~~~~~~~~~~~~  
make[3]: *** [/usr/src/linux-headers-6.17.0-14-generic/Makefile:2016: .] Error 2  
make[2]: *** [/usr/src/linux-headers-6.17.0-14-generic/Makefile:248: __sub-make] Error 2  
make[1]: *** [Makefile:248: __sub-make] Error 2  
make: *** [Makefile:64: modules] Error 2  
dpkg: error processing package aic8800d80fdrvpackage (--install):  
 installed aic8800d80fdrvpackage package post-installation script subprocess returned error exit status 1  
Errors were encountered while processing:  
 aic8800d80fdrvpackage  
RESUME or resume variable for initramfs config? https://askubuntu.com/questions/1564358/resume-or-resume-variable-for-initramfs-config

I realize this question may seem trivial, but following my recent experience, I believe it holds relevance for me and potentially for the community as well.

I recently performed a fresh installation of Ubuntu 24.04 on my workstation and configured a swap partition on a secondary SSD. I configured GRUB with the resume variable in lowercase:

/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=fcb43bc3-b6b8-4707-8a23-683bf93bd9bf" 

and initramfs with the RESUME variable in uppercase, as recommended in various wikis and documentation:

/etc/initramfs-tools/conf.d/resume
RESUME=UUID=fcb43bc3-b6b8-4707-8a23-683bf93bd9bf

This configuration led to intermittent resume from hibernation failures and overall system instability.

[    6.366929] Hibernate inconsistent memory map detected!
[    6.366933] PM: hibernation: Image mismatch: architecture specific data

[    6.367902] PM: Error -1 resuming
[    6.367906] PM: hibernation: Failed to load image, recovering.
[    6.368582] PM: hibernation: Basic memory bitmaps freed
[    6.369124] PM: hibernation: resume failed (-1)

After troubleshooting potential causes and testing various remedies, I decided to systematically review the entire configuration one final time before abandoning hibernation (at least temporarily). Interestingly, as randomly, I discovered that using lowercase in the initramfs configuration

sudo gedit /etc/initramfs-tools/conf.d/resume
resume=UUID=fcb43bc3-b6b8-4707-8a23-683bf93bd9bf

produced the expected correct update:

sudo update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-6.17.0-14-generic
I: The initramfs will attempt to resume from /dev/sdc2
I: (UUID=fcb43bc3-b6b8-4707-8a23-683bf93bd9bf)
I: Set the RESUME variable to override this.
update-initramfs: Generating /boot/initrd.img-6.14.0-37-generic
I: The initramfs will attempt to resume from /dev/sdc2
I: (UUID=fcb43bc3-b6b8-4707-8a23-683bf93bd9bf)
I: Set the RESUME variable to override this.

After making this change, the hibernation problems and system instability were resolved.

Notably, the uppercase variant RESUME=UUID=fcb43bc3-b6b8-4707-8a23-683bf93bd9bf generated no indication that the system would attempt to resume from the specified device at initramfs update.

Two questions arise: Has there been a change in initramfs behavior? Has it been aligned with GRUB's parameter format? Is it just a coincidence?

Recent upgrade to 6.17.0-14 yields kernel panic. How do I remove that kernel from GRUB? https://askubuntu.com/questions/1564321/recent-upgrade-to-6-17-0-14-yields-kernel-panic-how-do-i-remove-that-kernel-fro

A recent auto-upgrade from 6.14.0-37 to 6.17.0-14 yields a kernel panic at boot: Unable to mount root fs Unknown Block (0,0)

To get the machine up I have to select 6.14.0-37 from the GRUB boot menu. I can no longer do a normal boot/reboot because GRUB auto boots the newest (bad) kernel. I want to remove 6.17.0-14 from the GRUB menu.

All the help articles I've found instruct how to remove old kernel versions. How do I remove the NEWEST kernel version and retain the oldest in GRUB?

In reply to @heynnema:

ls -al /boot | grep init
lrwxrwxrwx  1 root root       28 Feb 22 08:04 initrd.img -> initrd.img-6.17.0-14-generic
-rw-r--r--  1 root root 75369010 Feb 22 08:00 initrd.img-6.14.0-37-generic
lrwxrwxrwx  1 root root       28 Feb 22 06:24 initrd.img.old -> initrd.img-6.14.0-37-generic

In reply to guiverc:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.4 LTS
Release:    24.04
Codename:   noble

In reply to david, looks like a DKMS build issue: etting up linux-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ... Setting up linux-headers-6.17.0-14-generic (6.17.0-14.14~24.04.1) ... /etc/kernel/header_postinst.d/dkms:

  • dkms: running auto installation service for kernel 6.17.0-14-generic Sign command: /usr/bin/kmodsign Signing key: /var/lib/shim-signed/mok/MOK.priv Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module: Cleaning build area... make -j24 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2) ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash' Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64) Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information. dkms autoinstall on 6.17.0-14-generic/x86_64 failed for virtualbox(10) Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information.

  • dkms: autoinstall for kernel 6.17.0-14-generic ...fail! run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11 dpkg: error processing package linux-headers-6.17.0-14-generic (--configure): installed linux-headers-6.17.0-14-generic package post-installation script subprocess returned error exit status 11 dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04: linux-headers-generic-hwe-24.04 depends on linux-headers-6.17.0-14-generic; however: Package linux-headers-6.17.0-14-generic is not configured yet.

dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04: linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 6.17.0-14.14~24.04.1); however: Package linux-headers-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-24.04 (--configure): dependency problems - leaving unconfigured Processing triggers for linux-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ... /etc/kernel/postinst.d/dkms:

  • dkms: running auto installation service for kernel 6.17.0-14-generic Sign command: /usr/bin/kmodsign Signing key: /var/lib/shim-signed/mok/MOK.priv Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der Building module: Cleaning build area... make -j24 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2) ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash' Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64) Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information. dkms autoinstall on 6.17.0-14-generic/x86_64 failed for virtualbox(10) Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information.
  • dkms: autoinstall for kernel 6.17.0-14-generic ...fail! run-parts: /etc/kernel/postinst.d/dkms exited with return code 11 dpkg: error processing package linux-image-6.17.0-14-generic (--configure): installed linux-image-6.17.0-14-generic package post-installation script subprocess returned error exit status 11 Errors were encountered while processing: linux-headers-6.17.0-14-generic linux-headers-generic-hwe-24.04 linux-generic-hwe-24.04 linux-image-6.17.0-14-generic

DKMS issue relates to building the VirtulBox 7.0.16 kernel module

can traffic be routed out the interface of my SSH connection https://askubuntu.com/questions/1564072/can-traffic-be-routed-out-the-interface-of-my-ssh-connection

I have 6 VLANS and a WiFi connection. None of the networks interact. They can connect to things on their network and the public Internet. I was trying to use iproute2 source based routing and I guess I am not understanding something. The SSH session connects and its traffic flows correctly but anything try goes out the default network. Any assistance or direction to documents would be appreciated.

Setup: Ubuntu 24.04 IPROUTE2 tables I connect to 192.168.202.245 and I need all traffic my session generates to use 192.168.202.1 as a gateway But you will see from the ping it is using the WiFi network. If I down the WiFi, I can still connect and my session works, but I can not send any other traffic out.

testuser@pcr-svr2:~$ echo $SSH_CONNECTION
67.218.213.186 63029 192.168.202.245 22
testuser@pcr-svr2:~$ ping -c 2 -R 67.218.213.161
PING 67.218.213.161 (67.218.213.161) 56(124) bytes of data.
64 bytes from 67.218.213.161: icmp_seq=1 ttl=254 time=13.0 ms
NOP
RR:     192.168.10.101
        67.218.213.186
        67.218.213.161
        192.168.10.1
        192.168.10.101

64 bytes from 67.218.213.161: icmp_seq=2 ttl=254 time=10.0 ms
NOP     (same route)

testuser@pcr-svr2:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.4 LTS
Release:        24.04
Codename:       noble

cat /etc/iproute2/rt_tables
#
# reserved values
#
255     local
254     main
253     default
0       unspec
#
# local
#
#1      inr.ruhep
1 enp1s0
2 V2
3 V3
5 V5
10 V10
40 V40
90 WiFi

testuser@pcr-svr2:~$ nmcli
wlp2s0: connected to wlp2s0
        "Realtek RTL8822CE"
        wifi (rtw_8822ce), 48:8F:4C:D4:A9:16, hw, mtu 1500
        ip4 default
        inet4 192.168.10.101/24
        route4 192.168.10.0/24 metric 600
        route4 default via 192.168.10.1 metric 0

enp1s0: connected to enp1s0
        "Realtek RTL8111/8168/8411"
        ethernet (r8169), 00:E0:9D:85:8A:2C, hw, mtu 1500
        inet4 172.27.0.245/16
        route4 default via 172.27.0.1 metric 10
        route4 172.27.0.0/16 metric 100

enp1s0.10: connected to VLAN10
        "enp1s0.10"
        vlan, 12:12:12:02:01:10, sw, mtu 1500
        inet4 172.28.64.245/19
        route4 default via 172.28.64.1 metric 10
        route4 172.28.64.0/19 metric 403

enp1s0.2: connected to VLAN2
        "enp1s0.2"
        vlan, 12:12:12:02:01:02, sw, mtu 1500
        inet4 192.168.202.245/24
        route4 default via 192.168.202.1 metric 10
        route4 192.168.202.0/24 metric 400

enp1s0.3: connected to VLAN3
        "enp1s0.3"
        vlan, 12:12:12:02:01:03, sw, mtu 1500
        inet4 192.168.203.245/24
        route4 default via 192.168.203.1 metric 10
        route4 192.168.203.0/24 metric 401

enp1s0.40: connected to VLAN40
        "enp1s0.40"
        vlan, 12:12:12:02:01:40, sw, mtu 1500
        inet4 172.29.0.245/16
        route4 default via 172.29.0.1 metric 10
        route4 172.29.0.0/16 metric 404

enp1s0.5: connected to VLAN5
        "enp1s0.5"
        vlan, 12:12:12:02:01:05, sw, mtu 1500
        inet4 172.28.32.245/19
        route4 default via 172.28.32.1 metric 10
        route4 172.28.32.0/19 metric 402

lo: connected (externally) to lo
        "lo"
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
        inet4 127.0.0.1/8
        inet6 ::1/128

DNS configuration:
        servers: 192.168.10.1
        interface: wlp2s0

        servers: 192.168.203.1
        interface: enp1s0.3

        servers: 172.28.64.1
        interface: enp1s0.10

        servers: 172.27.0.1
        interface: enp1s0

        servers: 192.168.202.1
        interface: enp1s0.2

        servers: 172.28.32.1
        interface: enp1s0.5

        servers: 172.29.0.1
        interface: enp1s0.40

Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.

Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.
testuser@pcr-svr2:~$ ip rule list
0:      from all lookup local
10:     from 172.27.0.245 lookup enp1s0 proto static
10:     from 192.168.202.245 lookup V2 proto static
10:     from 192.168.203.245 lookup V3 proto static
10:     from 172.28.32.245 lookup V5 proto static
10:     from 172.28.64.245 lookup V10 proto static
10:     from 172.29.0.245 lookup V40 proto static
32766:  from all lookup main
32767:  from all lookup default
testuser@pcr-svr2:~$
testuser@pcr-svr2:~$
testuser@pcr-svr2:~$ ip route
default via 192.168.10.1 dev wlp2s0
172.27.0.0/16 dev enp1s0 proto kernel scope link src 172.27.0.245 metric 100
172.28.32.0/19 dev enp1s0.5 proto kernel scope link src 172.28.32.245 metric 402
172.28.64.0/19 dev enp1s0.10 proto kernel scope link src 172.28.64.245 metric 403
172.29.0.0/16 dev enp1s0.40 proto kernel scope link src 172.29.0.245 metric 404
192.168.10.0/24 dev wlp2s0 proto kernel scope link src 192.168.10.101 metric 600
192.168.202.0/24 dev enp1s0.2 proto kernel scope link src 192.168.202.245 metric 400
192.168.203.0/24 dev enp1s0.3 proto kernel scope link src 192.168.203.245 metric 401
testuser@pcr-svr2:~$
testuser@pcr-svr2:~$
testuser@pcr-svr2:~$ ip route list table 2
default via 192.168.202.1 dev enp1s0.2 proto static metric 10
testuser@pcr-svr2:~$
*****
the other vlans are the same with their gateway and device

I am not sure how local is created.   here it is:
testuser@pcr-svr2:~$ ip route list table local
local 127.0.0.0/8 dev lo proto kernel scope host src 127.0.0.1
local 127.0.0.1 dev lo proto kernel scope host src 127.0.0.1
broadcast 127.255.255.255 dev lo proto kernel scope link src 127.0.0.1
local 172.27.0.245 dev enp1s0 proto kernel scope host src 172.27.0.245
broadcast 172.27.255.255 dev enp1s0 proto kernel scope link src 172.27.0.245
local 172.28.32.245 dev enp1s0.5 proto kernel scope host src 172.28.32.245
broadcast 172.28.63.255 dev enp1s0.5 proto kernel scope link src 172.28.32.245
local 172.28.64.245 dev enp1s0.10 proto kernel scope host src 172.28.64.245
broadcast 172.28.95.255 dev enp1s0.10 proto kernel scope link src 172.28.64.245
local 172.29.0.245 dev enp1s0.40 proto kernel scope host src 172.29.0.245
broadcast 172.29.255.255 dev enp1s0.40 proto kernel scope link src 172.29.0.245
local 192.168.10.101 dev wlp2s0 proto kernel scope host src 192.168.10.101
broadcast 192.168.10.255 dev wlp2s0 proto kernel scope link src 192.168.10.101
local 192.168.202.245 dev enp1s0.2 proto kernel scope host src 192.168.202.245
broadcast 192.168.202.255 dev enp1s0.2 proto kernel scope link src 192.168.202.245
local 192.168.203.245 dev enp1s0.3 proto kernel scope host src 192.168.203.245
broadcast 192.168.203.255 dev enp1s0.3 proto kernel scope link src 192.168.203.245
testuser@pcr-svr2:~$


I had also tried:
ip route add default via 192.168.202.1 dev enp1s0.2 table V2 src 192.168.202.245
but it did not appear to make any difference

Why do I have to restart my machine every day to stream video on Ubuntu 24.04.3? https://askubuntu.com/questions/1555199/why-do-i-have-to-restart-my-machine-every-day-to-stream-video-on-ubuntu-24-04-3

I just restarted yesterday, and there it goes again. This video is not going to play:

A random YouTube video I was trying to watch

That means my video call at 11 will not work, so I need to restart my machine ASAP. System information:

  ⎿  Linux T14-Gen6 6.14.0-29-generic #29~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug 14 16:52:50 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

● Bash(lsb_release -a)
  ⎿  Distributor ID:    Ubuntu        
     Description:       Ubuntu 24.04.3 LTS
     Release:   24.04
     … +1 line (ctrl+r to expand)

● Bash(lscpu | head -20)
  ⎿  Architecture:                            x86_64                           
     CPU op-mode(s):                          32-bit, 64-bit
     Address sizes:                           48 bits physical, 48 bits virtual
     … +25 lines (ctrl+r to expand)

● Bash(hostnamectl)
  ⎿   Static hostname: T14-Gen6       
            Icon name: computer-laptop
              Chassis: laptop 💻
     … +10 lines (ctrl+r to expand)

● System Diagnostics Summary:

  Ubuntu Version: 24.04.3 LTS (Noble Numbat)
  Kernel: Linux 6.14.0-29-generic
  Architecture: x86_64 (64-bit)
  Hostname: T14-Gen6

  Hardware:
  - Lenovo ThinkPad T14 Gen 6 laptop
  - AMD Ryzen AI 7 PRO 350 processor
  - 8 cores, 16 threads
  - Radeon 860M graphics
  - Max CPU frequency: 5090 MHz

  Firmware: R2XET33W v1.13 (June 2025)

I even used Claude Code to help create an optimized version of Chrome. I've installed drivers, flipped many chrome://flags, and turned off an on hardware acceleration.

During a brief period of trying Firefox, I experienced the same thing.

Restarting daily just cannot be life with Ubuntu! Can someone help me out here?

Keep a VPN available but disabled by default? https://askubuntu.com/questions/1550495/keep-a-vpn-available-but-disabled-by-default

I'm running Wireguard to manage my VPN. I need to be able to use a VPN to access our staging server periodically. Most of the time, by default, I don't want to use the VPN.

Even if I disable the VPN (by toggling the button in the "Network" box), if my machine goes to sleep, when I wake it the VPN is re-enabled.

Is there any way to store the settings, so they're there when I want to turn on my VPN, but not default to keeping the VPN always on.

screenshot of the network panel.

I don't see any settings options that look like they would let you manage auto connecting.

screenshot of the vpn settings


What seemed like it worked was to check the "Use this connection only for routes on its network." box in the IPv6 settings (that toggled it for IPv4 as well).

That stopped working after a few days.

Screenshot showing a checkbox and "Use this connection only for routes on its network."

USB-C to HDMI adapter shows as a billboard device - no display https://askubuntu.com/questions/1436289/usb-c-to-hdmi-adapter-shows-as-a-billboard-device-no-display

I've tried a few different adapters to get display output from my USB-C port. None of them have worked on Ubuntu. This is what I get (or similar) from lsusb for every USB-C to HDMI adapter that I bought:

Bus 001 Device 010: ID 0bda:2172 Realtek Semiconductor Corp. BillBoard Device

From what I can gather 'Billboard' just means that switching to alternate mode failed because of some issue.

In monitor settings, I only see the built-in monitor. Similarly, I installed ARandR and no other outputs appear.

Adapter

I have tried a few adapters. The one I'm trying currently is 'plugable USB-C to HDMI adapter'. It is stated to support Linux and any USB-C port that supports DisplayPort Alternate Mode.

Laptop

I have the ASUS C523N. It is stated to support driving a display from usb-c, but nothing more specific: spec sheet.

This is a Chromebook. When I boot into Chrome OS, the display works through the same USB-C port.

Other details

Kernel: 5.15.0-50-generic

jasper@crbook1:~$ cat /boot/config-$(uname -r) | grep TYPEC_DP
CONFIG_TYPEC_DP_ALTMODE=m

Ubuntu: 22.04.1 LTS

dmesg:

[80603.451223] usb 1-2: new full-speed USB device number 8 using xhci_hcd
[80603.610532] usb 1-2: not running at top speed; connect to a high speed hub
[80603.628180] usb 1-2: New USB device found, idVendor=0bda, idProduct=2172, bcdDevice= 1.00
[80603.628202] usb 1-2: New USB device strings: Mfr=17, Product=18, SerialNumber=19
[80603.628210] usb 1-2: Product: BillBoard Device
[80603.628217] usb 1-2: Manufacturer: Realtek
[80603.628223] usb 1-2: SerialNumber: 00000000000000000

Related issue

The only issue that I can find matching is this: USB-C to HDMI not working on Dell XPS 13 9370

The solution there was just to try another adapter. I'm on my third purchase and I can't always get returns. This one explicitly says it supports Linux. I will try to contact their support and report back here. I really can't keep buying cables and hoping that it works. I'm looking to at least get a handle on what the problem is here.

/sbin/init splash high CPU usage https://askubuntu.com/questions/1278372/sbin-init-splash-high-cpu-usage

I'm running Ubuntu 20.04 and since a week the fan of my laptop spins constantly. There are also major performance dropouts where the system seems to halt for a few seconds.

Now I had the time to take a closer look at it and noticed, that /sbin/init splash is constantly eating around 25% CPU time. I have an encrypted partition, is that to blame?

OpenGL 4.x support on Ubuntu 18.04.2 using Intel UHD 620 https://askubuntu.com/questions/1157002/opengl-4-x-support-on-ubuntu-18-04-2-using-intel-uhd-620

I am trying to figure out how to get Ubuntu 18.04.2 to support OpenGL 4.x on my Dell Latitude 7300 laptop with Intel UHD 620 graphics.

From this post:

How to upgrade Intel Graphics driver?

I gleaned that I need to upgrade my Intel drivers, and the best way to do this was to add a new repository with up-to-date Intel drivers like so:

sudo add-apt-repository ppa:oibaf/graphics-drivers

However, when I added that repository and did:

sudo apt install xserver-xorg-video-intel

The output suggested I needed additional dependencies:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 xserver-xorg-video-intel : Depends: xorg-video-abi-23
                            Depends: xserver-xorg-core (>= 2:1.18.99.901)
E: Unable to correct problems, you have held broken packages.

I tried installing the requested dependencies:

sudo apt install xserver-xorg-core

But didn't realize what this was doing:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  intel-gpu-tools libllvm7
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  xfonts-100dpi | xfonts-75dpi
The following packages will be REMOVED:
  ubuntu-desktop xorg xserver-xorg-core-hwe-18.04 xserver-xorg-hwe-18.04
  xserver-xorg-input-all-hwe-18.04 xserver-xorg-input-libinput-hwe-18.04
  xserver-xorg-input-wacom-hwe-18.04 xserver-xorg-video-all-hwe-18.04
  xserver-xorg-video-amdgpu-hwe-18.04 xserver-xorg-video-ati-hwe-18.04
  xserver-xorg-video-fbdev-hwe-18.04 xserver-xorg-video-intel-hwe-18.04
  xserver-xorg-video-intel-hwe-18.04-dbg xserver-xorg-video-nouveau-hwe-18.04
  xserver-xorg-video-qxl-hwe-18.04 xserver-xorg-video-radeon-hwe-18.04
  xserver-xorg-video-vesa-hwe-18.04 xserver-xorg-video-vmware-hwe-18.04
The following NEW packages will be installed:
  xserver-xorg-core
0 upgraded, 1 newly installed, 18 to remove and 0 not upgraded.

This screwed up my system, since it UNINSTALLED drivers for my trackpad and other critical pieces. I managed to get the critical pieces re-installed, but I am left wondering, what is the correct procedure to get Intel drivers that support OpenGL 4.x installed?

sudo xrandr --addmode LVDS1 1976x1080_60.00 X Error of failed request: BadMatch (invalid parameter attributes) https://askubuntu.com/questions/964796/sudo-xrandr-addmode-lvds1-1976x1080-60-00-x-error-of-failed-request-badmatch

When I try to change resolution this comes:

$ sudo xrandr --addmode LVDS1 1976x1080_60.00
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  32
  Current serial number in output stream:  33

Please help me.

How to set intel_idle.max_cstate=1 https://askubuntu.com/questions/749349/how-to-set-intel-idle-max-cstate-1

How can i set intel idle max cstate to 1 and how can i check when it will done. i have a freeze problem because of bay trail cores.

i tried kernel 4.5 4.1.12 4.4 but freeze problem still continue. at the moment 4.4 is my kernel version.

/etc/init.d/rsyslog {start | stop | restart} : Need this to work https://askubuntu.com/questions/674769/etc-init-d-rsyslog-start-stop-restart-need-this-to-work

I have read the answer/comments for the thread Diffrence between /etc/init.d/ssh start and service ssh start.

But I need this /etc/init.d method to be working. I have some auto-generated scripts which invoke /etc/init.d method only. Could you kindly provide me some fix/workaround for this?

WebGL not aviable Chromium https://askubuntu.com/questions/635163/webgl-not-aviable-chromium

This is a problem I recently encountered when I was trying to upload a model to Sketchfab. It shown that WebGL in not supported. I opened chrome://flags and enabled override rendering list. However, even doing that didn't resolve much. I was able to see primitive preview of model in sketchfab(but not original) and 3D settings still weren't aviable. So here are some screenshots.

Version 43.0.2357.81 Ubuntu 15.04 (64-bit)

WebGL report:

enter image description here
Click image to enlarge it.

chrome://gpu:

enter image description here
Click image to enlarge it.

Nvidia information:

enter image description here
Click image to enlarge it.

Unable to get wireless internet Qualcomm Atheros QCA6174 802.11ac https://askubuntu.com/questions/608381/unable-to-get-wireless-internet-qualcomm-atheros-qca6174-802-11ac

I've been looking around for hours to find a driver or a solution to get my wifi working on my new laptop (Acer Aspire V 17 nitro).

But without success.

I have a fresh Ubuntu 14.04 Installed,

This is the result i get from lspci -vnn | grep Network

Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 20)

I have been googling for hours, is there no solution ?

Will I have to get a usb wifi adaptor and get a wifi connection like that ?

DigitalOcean droplet root password not accepted for client, but works for console https://askubuntu.com/questions/530606/digitalocean-droplet-root-password-not-accepted-for-client-but-works-for-consol

I have an Ubuntu 14.04 droplet with PubkeyAuthentication set to yes and PermitRootLogin set to no. Since I created it, my pubkey has worked fine. For some unknown reason today it's not accepting my pubkey.

So I login via the droplet console to see what's going on (which worked fine with my root password).

I re-generated my pubkey first in hopes that I could just ssh-copy-id up to the server but I kept just getting permission denied (publickey).

When that didn't work I set /etc/ssh/sshd_config values PubkeyAuthentication set to no and PermitRootLogin to yes so I can get a prompt again on my client MacbookPro.

[Partial] Output of ssh jeitnier@[ip] -v:

debug1: Authentications that can continue: 
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /Users/jeitnier/.ssh/jeitnier_aws
debug1: Authentications that can continue: 
debug1: Trying private key: /Users/jeitnier/.ssh/id_rsa
debug1: Trying private key: /Users/jeitnier/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: 
debug1: Next authentication method: password
jeitnier@[ip]'s password: 

So I enter the exact same password that I did to enter the console and I get Permission denied, please try again.

I've checked that I'm not locked out with grep ^jeitnier /etc/shadow.

I've never run into this before. What can I try next?

Status of RDP Session Manager sesman fail https://askubuntu.com/questions/519517/status-of-rdp-session-manager-sesman-fail

I was using xrdp to remotely connect from my Windows laptop to Ubuntu server. It was doing OK, but it failed all out of sudden after a weekend. I did a >#service xrdp status and it returned:

* Checking status of Remote Desktop Protocol server xrdp                [ OK ]  
* Checking status of RDP Session Manager sesman                         [Fail] 
Problem with restarting Apache2 on Ubuntu Server 14.04 https://askubuntu.com/questions/471187/problem-with-restarting-apache2-on-ubuntu-server-14-04

I have a problem when I'm trying to restart Apache2 on my Ubuntu Server 14.04. I'm getting this error:

Restarting web server apache2
[Fri May 23 18:50:56.662042 2014] [alias:warn] 
[pid 8635] AH00671: The Alias directive in /etc/apache2/conf-enabled/phpmyadmin.conf at line 3 will probably never match because it overlaps an earlier Alias.
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.


[fail]
The apache2 instance did not start within 20 seconds. Please read the log files to discover problems

Can somebody help me to fix this error?

Apache unable to connect to MySQL https://askubuntu.com/questions/448201/apache-unable-to-connect-to-mysql

I installed apache server (this story). I cannot connect with remote (I tried local too) mysql server. After a long loading page I get error MySQL database connect failure. Mysql server is far from me. On same page which locate in Internet with same settings is good work. How to solve this?

When I typed in terminal:

mysql -u username -h x.xx.xx.x -p

After a minute I get:

ERROR 2003 (HY000): Can't connect to MySQL server on 'xxxxxxxxx' (110)

I cannot visit localhost/phpadmin/, because I get 403 error. I doubt the correctness of the phpadmin settings...

How can I list all applications installed in my system? https://askubuntu.com/questions/433609/how-can-i-list-all-applications-installed-in-my-system

I know, I just can hit Super+A to see all installed apps in Ubuntu, but I need a command to list their names. The command

dpkg --get-selections | awk '{print $1}'

is also not an option because it shows all installed packages and it contains drivers, kernels and libraries.

How do I connect to USB HDD on BT Homehub 3? https://askubuntu.com/questions/302073/how-do-i-connect-to-usb-hdd-on-bt-homehub-3

I have a home network, based around a BT Homehub 3.

My understanding is that whilst the BT Homehub 3 is essentially a Linux machine, it uses Windows (SMB) networking.

I also have an HTPC based on OpenELEC on the network, and a Sony Vaio on which I use Ubuntu (dual boot with Windows 7).

Attached to the BT homehub 3 (via USB) is a 2TB NTFS media storage drive.

The HTPC can see and connect to this just fine, at smb://BTHUB3/USB1, and can stream media from it, as intended.

However I wish to also connect my Ubuntu laptop and the homehub mounted drive. This is proving to be a real pain.

I have tried the following:

  • In the browser (Chromium) navigate to file://192.168.1.254/ (that is the correct IP for the BThomehub, but I get the file list for my laptop.

  • In nautilus - click through HOME group - freezes and fails to access "unable to access location".

  • In terminal: nautilus smb://bthub3/usb1 - nothing happens.

Note that the default workgroup for Ubuntu is WORKGROUP, but I changed this to HOME. I have tried all the above using both variations.

Does Ubuntu have GParted included? https://askubuntu.com/questions/292572/does-ubuntu-have-gparted-included

As the title suggests, I need a live distro that has GParted included to work on some hard drive partitions.

Graphics problems with applications https://askubuntu.com/questions/47875/graphics-problems-with-applications

For some reason, I've got some graphical issues sometimes. Mostly with AbiWord, LibreOffice (and OpenOffice.org), and Wine applications. I've added some screenshots below to clarify a bit. This is not a problem that recently popped up. As a matter of fact, I've always had it since Ubuntu 8.10, and there was never an update to fix it.

I'm currently using Linux Mint 10 (based upon Ubuntu 10.10), but as I already said, that doesn't really say much as I've also had this problem with Linux Mint 8, Ubuntu 8.10, Ubuntu 9.04, Ubuntu 9.10 and Ubuntu 10.04.

It was never a big problem, as I rarely used any text processing programs, but recently, I'm starting to use them more and more, and it's really annoying being unable to work because of this problem. When I first open an application, everything looks normal, then after a while (when I highlight, click, an item) they'll suddenly screw up. This also happens when I move or resize the window. Sometimes when this happens, I can just minimize the window, and when I restore it, sometimes it will be gone (for a few seconds at least) or it will have changed positions.

I'm using the nvidia-current graphics card driver, but I have also always had this problem on my old computer, which used, I think nvidia-96.

Screenshots:

LibreOffice Writer:

LibreOffice Writer

LibreOffice Writer:

LibreOffice Writer

LibreOffice Writer:

LibreOffice Writer

LibreOffice Writer:

LibreOffice Writer

Photoshop (Wine):

Photoshop (Wine)

I've done the blur myself, so that's not the issue. The problem is that blue crap.

LibreOffice Writer:

LibreOffice Writer