No internet, and no Wi-Fi connection icon, https://askubuntu.com/questions/1560772/no-internet-and-no-wi-fi-connection-icon

enter image description here

Please help I don't know what to do I new to Ubuntu

LANs can't communicate when WAN is shared https://askubuntu.com/questions/1560767/lans-cant-communicate-when-wan-is-shared

I'm using ubuntu 22.04 and I have the following configuration acting as a router

  1. WAN - DHCP

  2. LAN1 - 10.42.1.1/24

  3. LAN2 - 10.42.2.1/24

I am using Network Manager to share WAN with LAN1 and LAN2 using the ipv4.method shared.

Everything works great except LAN1 can't access LAN2 and LAN2 can't access LAN1.

For example, from a client in LAN1 I get

$ ping 10.42.2.175
PING 10.42.2.175 (10.42.2.175) 56(84) bytes of data.
From 10.42.1.1 icmp_seq=1 Destination Port Unreachable
From 10.42.1.1 icmp_seq=2 Destination Port Unreachable
From 10.42.1.1 icmp_seq=3 Destination Port Unreachable
^C
--- 10.42.2.175 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2003ms

and

$ nc -v 10.42.2.175 22
nc: connect to 10.42.2.175 port 22 (tcp) failed: Connection refused

I know the packet is reaching the router at 10.42.1.1 because inside it I get

# tcpdump -n -i enp1s0 icmp
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on enp1s0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
23:20:38.012039 IP 10.42.1.154 > 10.42.2.175: ICMP echo request, id 181, seq 76, length 64
23:20:38.012169 IP 10.42.1.1 > 10.42.1.154: ICMP 10.42.2.175 protocol 1 port 16422 unreachable, length 92
23:20:39.013334 IP 10.42.1.154 > 10.42.2.175: ICMP echo request, id 181, seq 77, length 64
23:20:39.013467 IP 10.42.1.1 > 10.42.1.154: ICMP 10.42.2.175 protocol 1 port 19232 unreachable, length 92
23:20:40.007654 IP 10.42.1.154 > 10.42.2.175: ICMP echo request, id 181, seq 78, length 64
23:20:40.007763 IP 10.42.1.1 > 10.42.1.154: ICMP 10.42.2.175 protocol 1 port 63769 unreachable, length 92
23:20:41.002888 IP 10.42.1.154 > 10.42.2.175: ICMP echo request, id 181, seq 79, length 64
23:20:41.003051 IP 10.42.1.1 > 10.42.1.154: ICMP 10.42.2.175 protocol 1 port 4887 unreachable, length 92
^C
8 packets captured
8 packets received by filter
0 packets dropped by kernel
10 packets dropped by interface

Also, inside the router I get

# ping 10.42.2.175
PING 10.42.2.175 (10.42.2.175) 56(84) bytes of data.
64 bytes from 10.42.2.175: icmp_seq=1 ttl=64 time=0.188 ms
64 bytes from 10.42.2.175: icmp_seq=2 ttl=64 time=0.219 ms
64 bytes from 10.42.2.175: icmp_seq=3 ttl=64 time=0.274 ms
^C
--- 10.42.2.175 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2077ms
rtt min/avg/max/mdev = 0.188/0.227/0.274/0.035 ms

So I know the router can access LAN2.

Also I have

# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination         

and

# nft list ruleset

~snip~

table ip nm-shared-enp1s0 {
    chain nat_postrouting {
        type nat hook postrouting priority srcnat; policy accept;
        ip saddr 10.42.1.0/24 ip daddr != 10.42.1.0/24 masquerade
    }

    chain filter_forward {
        type filter hook forward priority filter; policy accept;
        ip daddr 10.42.1.0/24 oifname "enp1s0" ct state { established, related } accept
        ip saddr 10.42.1.0/24 iifname "enp1s0" accept
        iifname "enp1s0" oifname "enp1s0" accept
        iifname "enp1s0" reject
        oifname "enp1s0" reject
    }
}
table ip nm-shared-enp1s0.2 {
    chain nat_postrouting {
        type nat hook postrouting priority srcnat; policy accept;
        ip saddr 10.42.2.0/24 ip daddr != 10.42.2.0/24 masquerade
    }

    chain filter_forward {
        type filter hook forward priority filter; policy accept;
        ip daddr 10.42.2.0/24 oifname "enp1s0.2" ct state { established, related } accept
        ip saddr 10.42.2.0/24 iifname "enp1s0.2" accept
        iifname "enp1s0.2" oifname "enp1s0.2" accept
        iifname "enp1s0.2" reject
        oifname "enp1s0.2" reject
    }
}

which leads me to believe that nftables is doing NAT instead of iptables, but I don't understand nftables yet to know if the above is where the problem lies.

How can I further determine if this is a NAT issue or a firewall issue?

Headphone jack stops working and need to drain battery for make it work https://askubuntu.com/questions/1560766/headphone-jack-stops-working-and-need-to-drain-battery-for-make-it-work

One day suddenly my headphone jack stopped working. i tried everything from restarting and reinstalling drivers. But didnt worked. After some days my battery drained completely and thinkpad turned off. after turning on, system detected the headphone. it was working smoothly but same issue occured. i intentionally drained my battery and after that it was working. Now its again not detecting. How to solve this issue.

Can't change display resolution and second display dont show up https://askubuntu.com/questions/1560765/cant-change-display-resolution-and-second-display-dont-show-up

So I just downloaded ubuntu cinnamon, last version that is. I'm a previous Windows 10 user but decided to change today to Linux but I can't change the display!!! Im right now using this kind of "trial version" of ubuntu using Rufus, latest version to date too. Aand also, I'm using two monitors right now, one with HDMI and my main one with DVI. I'm really not sure how to keep going and I feel lowkey stupid. I appreaciate any help!! this is how settings looks like

I have a RTX 5060 and after running lspci this is what it shows 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU 00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge 00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge 00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge 00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51) 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6 00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7 01:00.0 VGA compatible controller: NVIDIA Corporation Device 2d05 (rev a1) 01:00.1 Audio device: NVIDIA Corporation Device 22eb (rev a1) 02:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset USB 3.1 XHCI Controller 02:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller 02:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Upstream Port 03:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea 03:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea 04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15) 06:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. Device 5028 (rev 03) 07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function (rev c8) 07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller 07:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor 07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 07:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 07:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller

SSH to Telia Sagemcom router https://askubuntu.com/questions/1560763/ssh-to-telia-sagemcom-router

I am running a web server on a privat Telia fibre connection with a Sagemcom router. From december 6 2025 is port 22 stale and cannot be opened/forwarded any longer. The result is that I cannot log into it from remote, which did function for years before. The HTTPS connection is also broken. What am I missing?

It's a Ubuntu 24.04 server with DDNS, SSH with keys, no root login/password. Did my provider (Telia) perhaps update some server requirements? I did ask, but Telia does not answer such questions from non-enterprise customers. Where should I look to find what's missing?

Ubuntu Server on ARM fails to boot after cloning EFI partition from HDD to SSD https://askubuntu.com/questions/1560735/ubuntu-server-on-arm-fails-to-boot-after-cloning-efi-partition-from-hdd-to-ssd

Description:

I’m unable to boot Ubuntu Server after migrating the system from an HDD to an SSD on an ARM-based system. Here’s what I did and the current state:

Steps to reproduce:

  1. I cloned the EFI partition from my original HDD (/dev/sdc1) to a new SSD (/dev/sde1) using mount and cp (or another cloning tool). Both partitions are 500 GB.
  2. Set the SSD as the boot drive in UEFI/BIOS as the first priority.

Current behavior:

When booting, GNU GRUB (version 2.12) only shows one option:

*UEFI Firmware Settings

No Ubuntu boot entry appears, and I cannot proceed to the OS.

Seeing only "UEFI Firmware Settings" in GRUB usually means GRUB isn't detecting your Linux kernel or other OS entries, often due to incorrect EFI System Partition (ESP) mounting, missing kernel modules, issues during installation, or disabled OS Prober, requiring steps like reinstalling GRUB with correct partition mounts (e.g., ESP to /boot or /boot/efi), enabling os-prober, disabling Windows Fast Startup, or running efibootmgr to manually create entries.


What I’ve tried:

  1. Checked that the EFI partition on the SSD contains a /boot/efi/EFI folder.
    userA@ubuntu:~$ sudo ls -al /boot/efi
    total 24
    drwx------ 3 root root 16384 Jan  1  1970 .
    drwxr-xr-x 1 root root   120 Dec 10 17:17 ..
    drwx------ 4 root root  8192 Dec 17  2018 EFI
    
  2. Try to use Boot Repair to fix the problem but got error message:

    64bits detected. Please use this software in a 64bits session. (Please use Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd) which contains a 64-bits-compatible version of this software.) This will enable this feature.

  3. Try to re-generate the GRUB configuration file.
    # Regenerate the GRUB configuration file
    grub-mkconfig -o /boot/grub/grub.cfg
    
    # Reinstall GRUB for UEFI systems
    grub-install --target=arm64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
    
    But got error:
    grub-install: error: /usr/lib/grub/aarch64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.
    

System information:

  • Architecture: ARM (Marvell® ThunderX2® CN9975 28-core ARM processors)
  • Original HDD: /dev/sdc1 (EFI partition)
  • Target SSD: /dev/sde1 (cloned EFI partition)
  • Ubuntu version: 24.04.3 LTS

How can I rebuild the GRUB boot entries or fix the boot configuration from a USB live Ubuntu desktop environment?

SSD is not detected in Asus ROG Strix Scar 18 laptop https://askubuntu.com/questions/1560715/ssd-is-not-detected-in-asus-rog-strix-scar-18-laptop

I just bought a new Asus ROG Strix Scar 18 (2025) laptop with Windows 11 installed. When I am loading from an Ubuntu USB stick (I tried both Ubuntu 22.04 and 24.04), the system does not detect the SSD at all. When browsing with Google, I saw that the RAID mode of SSD can be an issue; however, when I disable VMD mode in the BIOS, the SSD disappears even from BIOS boot options

I looked on the internet, and have not found any specific AHCI drivers for Windows 11 for my laptop model. I just saw multiple times that it is enough to remove the AHCI mode from BIOS (for example, here https://www.reddit.com/r/techsupport/comments/r2wxjo/anyone_know_how_to_enable_ahci_mode_in_this_bios/). In my BIOS (G835LXEC.314), apart from enabling/disabling VMD, there is also an option to remove RAID data:

Bios screenshot 1

Bios screenshot 2

Is this the only way to remove RAID and let the SSD be visible on Linux? As far as I understand from the description, it will remove Windows completely, which I need to keep. Or are there any other ways to enable AHCI mode on Windows and fix the issue?

Also, you asked about the .iso versions, which I tried installing from. Those were: ubuntu-22.04.5-desktop-amd64.iso and ubuntu-24.04.3-desktop-amd64.iso. Today, I also tried ubuntu-25.10-desktop-amd64.iso, but it didn't detect the SSD either.

Why does OpenVPN on my Xubuntu notebook close the tunnel right after establishing it? https://askubuntu.com/questions/1560674/why-does-openvpn-on-my-xubuntu-notebook-close-the-tunnel-right-after-establishin

I installed OpenVPN client

OpenVPN 2.6.14 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO]
library versions: OpenSSL 3.0.13 30 Jan 2024, LZO 2.10
DCO version: N/A

from the Ubuntu repositories on my Xubuntu notebook:

Linux Yoga 6.14.0-36-generic #36~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 15 15:45:17 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Unfortunately I can't get it working correctly. Whenever I try to connect to a server, the tunnel is closed immediately after it was established. In order to rule out any server problems, I tried to connect to a public server (https://www.vpnbook.com/). This is the critical part of openvpn.log at verbosity level 5:

2025-12-11 23:46:41 us=280367 TUN/TAP device tun1 opened
2025-12-11 23:46:41 us=280388 do_ifconfig, ipv4=1, ipv6=0
2025-12-11 23:46:41 us=280410 net_iface_mtu_set: mtu 1500 for tun1
2025-12-11 23:46:41 us=280472 net_iface_up: set tun1 up
2025-12-11 23:46:41 us=280769 net_addr_ptp_v4_add: 10.9.0.42 peer 10.9.0.41 dev tun1
2025-12-11 23:46:41 us=281043 Data Channel MTU parms [ mss_fix:1385 max_frag:0 tun_mtu:1500 tun_max_mtu:1600 headroom:136 payload:1768 tailroom:562 ET:0 ]
2025-12-11 23:46:41 us=281317 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2025-12-11 23:46:41 us=281341 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2025-12-11 23:46:41 us=281358 Data Channel: cipher 'AES-256-GCM', peer-id: 0, compression: 'lzo'
2025-12-11 23:46:41 us=281366 Timers: ping 5, ping-restart 30
WrW2025-12-11 23:46:43 us=476484 net_route_v4_add: 51.75.145.220/32 via 192.168.1.1 dev [NULL] table 0 metric -1
2025-12-11 23:46:43 us=476603 net_route_v4_add: 0.0.0.0/1 via 10.9.0.41 dev [NULL] table 0 metric -1
2025-12-11 23:46:43 us=476645 sitnl_send: rtnl: generic error (-101): Network is unreachable
2025-12-11 23:46:43 us=476662 ERROR: Linux route add command failed

The reason, why 'Linux route add command failed' is that the tunnel is already deleted. I got this information from /var/sys/syslog. In order ot get as much information as possible I set the log level for the NetworkManager to TRACE:

2025-12-04T11:56:37.835655+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: CONNECTION_FILENAME=/run/NetworkManager/system-connections/tun1.nmconnection
2025-12-04T11:56:37.835698+01:00 Yoga NetworkManager[2163]: <debug> [1764845797.8342] device[b85795c8545325df] (tun1): remove_pending_action (0): 'queued-state-change-activated'
2025-12-04T11:56:37.835743+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: CONNECTION_UUID=ff0d7388-cf79-4511-9dcb-b7711d47ad40
2025-12-04T11:56:37.835777+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: CONNECTION_ID=tun1
2025-12-04T11:56:37.835813+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: DEVICE_IFACE=tun1
2025-12-04T11:56:37.835850+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: DEVICE_IP_IFACE=tun1
2025-12-04T11:56:37.835891+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: IP4_NUM_ROUTES=0
2025-12-04T11:56:37.835928+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin
2025-12-04T11:56:37.835964+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: NM_DISPATCHER_ACTION=up
2025-12-04T11:56:37.836006+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: completed: no scripts
2025-12-04T11:56:37.865011+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.8649] settings: [timestamps-keyfile]: write keyfile: "/var/lib/NetworkManager/timestamps"
2025-12-04T11:56:37.865085+01:00 Yoga NetworkManager[2163]: <debug> [1764845797.8649] dispatcher: (14) succeeded (after 0.031 sec, 0 scripts invoked)
2025-12-04T11:56:37.904770+01:00 Yoga sh[6248]: Configuring interface:
2025-12-04T11:56:37.904956+01:00 Yoga sh[6404]: Warning: Executing wildcard deletion to stay compatible with old scripts.
2025-12-04T11:56:37.905003+01:00 Yoga sh[6404]:          Explicitly specify the prefix length (10.9.0.58/32) to avoid this warning.
2025-12-04T11:56:37.905035+01:00 Yoga sh[6404]:          This special behaviour is likely to disappear in further releases,
2025-12-04T11:56:37.905064+01:00 Yoga sh[6404]:          fix your scripts!
2025-12-04T11:56:37.905114+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9046] platform-linux: event-notification: RTM_DELADDR, flags 0, seq 1764845798: 6: 10.9.0.58/32,10.9.0.57
2025-12-04T11:56:37.905192+01:00 Yoga NetworkManager[2163]: <debug> [1764845797.9047] platform: (tun1) signal: address 4 removed: 10.9.0.58/32 brd 0.0.0.0 lft forever pref forever lifetime 1288-0[4294967295,4294967295] ptp 10.9.0.57 dev 6 flags permanent src kernel
2025-12-04T11:56:37.905256+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9047] l3cfg[ac529313dcf0010b,ifindex=6]: emit signal (platform-change, obj-type=ip4-address, change=removed, obj=10.9.0.58/32 brd 0.0.0.0 lft forever pref forever lifetime 1288-0[4294967295,4294967295] ptp 10.9.0.57 dev 6 flags permanent src kernel)
2025-12-04T11:56:37.905321+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9047] platform-linux: event-notification: RTM_DELROUTE, flags 0, seq 0: type unicast 10.9.0.57/32 dev 6 metric 0 mss 0 rt-src rt-kernel scope link pref-src 10.9.0.58
2025-12-04T11:56:37.905372+01:00 Yoga NetworkManager[2163]: <debug> [1764845797.9047] platform: (tun1) signal: route   4 removed: type unicast 10.9.0.57/32 dev 6 metric 0 mss 0 rt-src rt-kernel scope link pref-src 10.9.0.58
2025-12-04T11:56:37.905416+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9047] l3cfg[ac529313dcf0010b,ifindex=6]: emit signal (platform-change, obj-type=ip4-route, change=removed, obj=type unicast 10.9.0.57/32 dev 6 metric 0 mss 0 rt-src rt-kernel scope link pref-src 10.9.0.58)
2025-12-04T11:56:37.905502+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9047] platform-linux: event-notification: RTM_DELROUTE, flags 0, seq 0: type local table 255 10.9.0.58/32 dev 6 metric 0 mss 0 rt-src rt-kernel scope host pref-src 10.9.0.58
2025-12-04T11:56:37.905552+01:00 Yoga NetworkManager[2163]: <debug> 

tun1 is ready at 2025-12-04T11:56:37.865085+01 and right after that I get a warning from the ip-command which obviously got the task to delete an IP address.The next entries show how tun1 is deactivated.

I have a second notebook with the same Xubuntu and the same openVPN installation, which works perfectly. On this machine new addresses and routes are added after tun1 is established.

What else could I do in order to find out why OpenVPN has this strange behaviour?

waltinator suggests that it was a mistake to publish the logs at the highest verbosity level (see below). Ok, I'm a newbie but eager to learn from experts. This is the critical part of openvpn.log at verbosity level 1:

    2025-12-11 09:56:45 TUN/TAP device tun1 opened
    2025-12-11 09:56:45 net_iface_mtu_set: mtu 1500 for tun1
    2025-12-11 09:56:45 net_iface_up: set tun1 up
    2025-12-11 09:56:45 net_addr_ptp_v4_add: 10.9.0.6 peer 10.9.0.5 dev tun1
    2025-12-11 09:56:47 sitnl_send: rtnl: generic error (-101): Network is unreachable
    2025-12-11 09:56:47 ERROR: Linux route add command failed

This is the critical part of openvpn.log at verbosity level 2:

    2025-12-11 23:01:05 TUN/TAP device tun1 opened
    2025-12-11 23:01:05 net_iface_mtu_set: mtu 1500 for tun1
    2025-12-11 23:01:05 net_iface_up: set tun1 up
    2025-12-11 23:01:05 net_addr_ptp_v4_add: 10.9.0.18 peer 10.9.0.17 dev tun1
    2025-12-11 23:01:05 Data Channel: cipher 'AES-256-GCM', peer-id: 0, compression: 'lzo'
    2025-12-11 23:01:05 Timers: ping 5, ping-restart 30
    2025-12-11 23:01:07 sitnl_send: rtnl: generic error (-101): Network is unreachable
    2025-12-11 23:01:07 ERROR: Linux route add command failed

This is the critical part of openvpn.log at verbosity level 3:

    2025-12-11 23:01:48 TUN/TAP device tun1 opened
    2025-12-11 23:01:48 net_iface_mtu_set: mtu 1500 for tun1
    2025-12-11 23:01:48 net_iface_up: set tun1 up
    2025-12-11 23:01:48 net_addr_ptp_v4_add: 10.9.0.18 peer 10.9.0.17 dev tun1
    2025-12-11 23:01:48 Data Channel: cipher 'AES-256-GCM', peer-id: 0, compression: 'lzo'
    2025-12-11 23:01:48 Timers: ping 5, ping-restart 30
    2025-12-11 23:01:50 sitnl_send: rtnl: generic error (-101): Network is unreachable
    2025-12-11 23:01:50 ERROR: Linux route add command failed

This is the critical part of openvpn.log at verbosity level 4:

    2025-12-11 23:02:31 us=551032 net_iface_up: set tun1 up
    2025-12-11 23:02:31 us=551879 net_addr_ptp_v4_add: 10.9.0.18 peer 10.9.0.17 dev tun1
    2025-12-11 23:02:31 us=552627 Data Channel MTU parms [ mss_fix:1385 max_frag:0 tun_mtu:1500 tun_max_mtu:1600 headroom:136 payload:1768 tailroom:562 ET:0 ]
    2025-12-11 23:02:31 us=553471 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
    2025-12-11 23:02:31 us=553554 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
    2025-12-11 23:02:31 us=553609 Data Channel: cipher 'AES-256-GCM', peer-id: 0, compression: 'lzo'
    2025-12-11 23:02:31 us=553635 Timers: ping 5, ping-restart 30
    2025-12-11 23:02:33 us=461615 net_route_v4_add: 51.75.145.220/32 via 192.168.1.1 dev [NULL] table 0 metric -1
    2025-12-11 23:02:33 us=461955 net_route_v4_add: 0.0.0.0/1 via 10.9.0.17 dev [NULL] table 0 metric -1
    2025-12-11 23:02:33 us=462142 sitnl_send: rtnl: generic error (-101): Network is unreachable
    2025-12-11 23:02:33 us=462201 ERROR: Linux route add command failed

Please explain at which level I could see why the tunnel is deactivated right after activation.

Actual output from screen is not fitting monitor https://askubuntu.com/questions/1560640/actual-output-from-screen-is-not-fitting-monitor

I've spent the past 2 days trying to fix this alone, but it hasn't worked. my display says it's in 1024x768 when it should be at 1920x1080, and it was until 2 days ago. I have tried everything online and nothing has worked. Done xrandr addmode 1920 etc.., things with ctr, but nothing has worked. I genuinely don't know what else to do. I'm really new to linux so I'm sorry if the question isn't very clear. I'll past some things below

~$ xrandr --size 1920x1080
Failed to change the screen configuration!
~$ xrandr -q
Screen 0: minimum 16 x 16, current 1024 x 768, maximum 32767 x 32767
None-1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 270mm x 203mm
   1024x768      59.92*+
   800x600       59.86  
   640x480       59.38  
   320x240       59.52  
   960x600       59.63  
   928x580       59.88  
   800x500       59.50  
   768x480       59.90  
   720x480       59.71  
   640x400       59.95  
   320x200       58.96  
   1024x576      59.90  
   864x486       59.92  
   720x400       59.55  
   640x350       59.77  
   1920x1080_60.00  59.96  

If you need any other info please let me know. This isn't all I've tried but I've tried a lot and had to clear the terminal eventually so I've lost most of it.

Can I answer Capture Input Dialog permanently https://askubuntu.com/questions/1536186/can-i-answer-capture-input-dialog-permanently

Synergy now supports Wayland, at least experimentally. I am running Ubuntu 24.10 with the default Gnome desktop environment & Wayland. I installed Synergy 3.2.1, and all works beautifully, auto discovery and everything. The only slight annoyance is that fairly often the dialog asking for permission to capture input (pictured below) pops up again, and again,.... Is there any way to configure the system to allow Synergy this permission permanently?

The other machine Synergy is connecting to is running Kubuntu 24.10 and the equivalent dialog in KDE has a "remember this" checkbox, and the dialog doesn't keep popping up. This is the sort of thing I am looking for under Ubuntu, but if a config file is involved that is totally fine.

Capture Input Dialog

RDP doesn't keep sessions alive in Ubuntu 24.04 after disconnecting https://askubuntu.com/questions/1518131/rdp-doesnt-keep-sessions-alive-in-ubuntu-24-04-after-disconnecting

So I am using RDP with Ubuntu 24.04. However, whenever I disconnect or close the session, all the apps that I had open terminate. Next rdp starts with a clean environment.

Is there a way I can keep the sessions saved like in Windows 11 where even if I disconnect the session, all the apps are still in the same state when I reconnect using RDP ?

How do I install the gcc-13 aarch64 cross compiler on Ubuntu 22.04? https://askubuntu.com/questions/1490387/how-do-i-install-the-gcc-13-aarch64-cross-compiler-on-ubuntu-22-04

The Linux kernel now requires gcc v13 in order to compile, but Ubuntu 22.04 is stuck on gcc v11. I found instructions to install the latest native gcc-13 via a PPA (https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/ppa), but I don't see any way to install the v13 aarch64 (aka ARM64) cross-compiler. The PPA says that it contains "gcc-13-cross", but that does not appear to be a package that I can install.

QEMU not installing https://askubuntu.com/questions/1443212/qemu-not-installing

So I wanted to install QEMU on my Windows laptop running Ubuntu 20.04 using:

sudo apt-get install qemu-system-i86 -y

and I got this error.

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package qemu-system-i86

I tried lots of different versions such as qemu, qemu-system, qemu-system-x86_64 and guess what? NONE OF THEM WORKED So, how can I fix this? (btw im running wsl) I've tried using apt policy qemu-system-* but it dosen't work.

Stuck joining Ubuntu Studio 22.04.1 to Active Directory https://askubuntu.com/questions/1425289/stuck-joining-ubuntu-studio-22-04-1-to-active-directory

I am trying to join my freshly installed Ubuntu Studio 22.04.1 to an AD domain hosted on my Synology NAS, by following the instructions in this white paper, starting on page 11 ("Joining After Installation via SSSD").

When I perform the recommended checks on pages 19-20 everything looks fine, but when I run:

systemctl status sssd

as suggested on page 21, I get the expected output as shown in the whitepaper, followed by 5 error messages like this:

tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = Server not found in Kerberos database.

The remaining tests on pages 21-24 using sssctl and samba-tool produce the expected results, but when I try to login (from an existing terminal session), I get:

login: Cannot possibly work without effective root

Since the login command is shown entered at what looks like a shell prompt rather than a terminal session prompt, I may have misunderstood the context.

IAC, what can/must I do about the Kerberos errors? Presumably no AD login will be possible without a Kerberos server.

Missing wifi connection GUI on 22.04 - Realtek 8822BE https://askubuntu.com/questions/1410085/missing-wifi-connection-gui-on-22-04-realtek-8822be

enter image description here

My wifi connection is not working, LAN connection works normally. The Wifi GUI offers me Bluetooth settings, which I believe is a remainder of previously shared bluetooth internet connection (via my phone).

My laptop is Thinkpad E595 running Ubuntu 22.04.

Is there a way to try to reinstall wifi drivers? Does this seem to be a HW problem?

EDIT:

Wifi HW information:
Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
    Subsystem: Lenovo ThinkPad E595
    Physical Slot: 0
    Flags: fast devsel, IRQ 255, IOMMU group 12
    I/O ports at 2000 [disabled] [size=256]
    Memory at d0700000 (64-bit, non-prefetchable) [disabled] [size=64K]
    Capabilities: <access denied>
    Kernel modules: rtw88_8822be

sudo dkms status

8812au/5.6.4.2_35491.20191025, 5.15.0-30-generic, x86_64: installed
backport-iwlwifi/9858, 5.15.0-30-generic, x86_64: installed
backport-iwlwifi/9858, 5.15.0-33-generic, x86_64: installed
bcmwl/6.30.223.271+bdcom, 5.15.0-30-generic, x86_64: installed
bcmwl/6.30.223.271+bdcom, 5.15.0-33-generic, x86_64: installed
rtlwifi-new/0.6, 5.15.0-33-generic, x86_64: installed

I have tried to install several drivers, so some should be removed?

I think that the main problem now is the unassigned class of the wifi HW? I have not found any way to repair that so far.

22-04 : Howto install python-gtk2 and python-glade-2 for fslint https://askubuntu.com/questions/1405544/22-04-howto-install-python-gtk2-and-python-glade-2-for-fslint

I need python-gtk2 and python-glade-2 for an old app, but when I run dpkg -i I get this (translated), stating I miss python ???

sudo dpkg -i python-gtk2_2.24.0-5.1ubuntu2_amd64.deb python-glade2_2.24.0-5.1ubuntu2_amd64.deb 
Selecting packet python-gtk2 previously deselected.
(reading database... 364958 files et directories already installed.)
Preparation to unpacking python-gtk2_2.24.0-5.1ubuntu2_amd64.deb ...
Unpacking python-gtk2 (2.24.0-5.1ubuntu2) ...
Selecting packet python-glade2 previously deselected.
Preparation to unpacking python-glade2_2.24.0-5.1ubuntu2_amd64.deb ...
Unpacking python-glade2 (2.24.0-5.1ubuntu2) ...
dpkg: dependencies problems prevent configuration of python-gtk2 :
 python-gtk2 depends on python (<< 2.8) ; although :
  Packet python is not installed.
 python-gtk2 depend on python (>= 2.7) ; although :
  Package python is not installed.
 python-gtk2 depend on python:any (>= 2.6.6-7~) ; although :
  Package python is not installed.

dpkg: error when processing python-gtk2 package (--install) :
 dependencies problems - left unconfigured
dpkg: dependencies problems prevent configuration of python-glade2 :
 python-glade2 depends on python (<< 2.8) ; although :
  Package python is not installed.
 python-glade2 depends on python (>= 2.7) ; although :
  Package python is not installed.
 python-glade2 depends on python-gtk2 (= 2.24.0-5.1ubuntu2) ; although :
 Package python-gtk2 is not yet configured.

dpkg: error when processing python-glade2 package (--install) :
 dependencies problems - left unconfigured
Errors were encountered when running :
 python-gtk2
 python-glade2

Although :

sudo apt list python2.7 --installed
Listing... Done
python2.7/jammy,now 2.7.18-13ubuntu1 amd64  [installed]

Please tell me what is wrong there. I did it OK some days ago on a debian11 and I just had to run

sudo apt -f install

to fix the problem. Instead, when I apt -f install here, ubuntu wants to remove the 2 packages instead of fixing the installation.

Thanks for tips. I know this is really not standard thing to do.

Is there HDR monitor support in Ubuntu https://askubuntu.com/questions/1383101/is-there-hdr-monitor-support-in-ubuntu

More monitors have the HDR (high dynamic range) functionality. Does Ubuntu (Linux) support this, too?

Can't connect two Bluetooth devices at the same time https://askubuntu.com/questions/1354909/cant-connect-two-bluetooth-devices-at-the-same-time

I'm trying to connect a keyboard and a mouse in Ubuntu 20.04 but I just can't get it done.

Tried with bluetoothctl and blueman but no results. I have the devices trusted and paired but I can only connect one at a time, can't connected both. I have dual-boot, in Windows 10 everything works but in Ubuntu 20.04 just one device at a time.

Any ideas? Thanks!

Need to change default boot order. Instead of Ubuntu 21.04 to Windows 7 https://askubuntu.com/questions/1341389/need-to-change-default-boot-order-instead-of-ubuntu-21-04-to-windows-7

I have now three hard disks in my desktop. A Samsung SSD that boots Win7, a Toshiba HDD which is not bootable, and yesterday I added a Crucial SSD which boots Ubuntu 21.04.

If I now simply start my computer, Linux on the Crucial will boot..

If at startup I press F11 this allows to choose between these three and surprisingly, a non-existing fourth named "Ubuntu"(?). If I click on the Samsung then Windows will boot, if I click on the Crucial (or Ubuntu) Ubuntu will boot. As you can see on the left of the two pictures:

https://ibb.co/ctB75g0

The right picture shows what I get when press F2, the boot order setting at the ASRock Motherboard, while booting, I only get to "choose" between the identical Crucial and Ubuntu...

I want the Samsung to boot Win7 as default. From what I have heard, I have to do this in Ubuntu, and I know absolutely nothing about it. How do I make this change?

It was suggested to use grub-customizer for this, but as the picture shows, it does not even see the Samsung disk with the Windows.

https://ibb.co/fq1bKZC

My Win7 is not an UEFI, it is a legacy installation. Could that be the reason?

Ubuntu 20.04 Installation stuck, dual boot with Win10 in the same SSD https://askubuntu.com/questions/1230599/ubuntu-20-04-installation-stuck-dual-boot-with-win10-in-the-same-ssd

I have a Window 10 installed on a SSD, and previously there was also the Ubuntu 18.04 dual boot in the same SSD. I formatted the Ubuntu 18.04 partition, and hoping to do a fresh install of the new ubuntu 20.04.

However, I am stuck during the installation, right after picking the partition for root and for /home, I have tried many times, sometimes it's "Removing Conflicting Operating System Files", sometimes it's "Creating ext4 for /home", and there is really something loading, but it takes forever (4 - 5 hours) for it to run and still not finishing...

The only unusual thing I have noticed is that during the installation Ubuntu did not recognize I have the Windows 10 OS installed. I looked online and ran the error checking on C:, then do the chkdsk cmd on C:, but the installation still could not detect the win10 OS.

I have also tried disabling fast boot of windows 10, removing the Virtual machines which have dynamic memory enabled and all the corresponding files, but none of them work. I have also tried to install Kubuntu, but similar problem appears.

I now have 3 live USBs, 2 with Ubuntu 20.04 from different downloads, and 1 with Kubuntu. Please help.

Thanks.

There is an error message saying that "the attempt to mount a filesystem with type vfat in SCSI3 (0,0,0), partition #1 (SDA) at /boot/efi failed" , right after I have performed the partitioning, there are 2 options , go back to the partition table or continue, and I clicked continue.

How to Know your screen time for the whole day in Ubuntu System 18.04.4 LTS? https://askubuntu.com/questions/1219548/how-to-know-your-screen-time-for-the-whole-day-in-ubuntu-system-18-04-4-lts

I wanted to know for how much time the screen of my laptop(with Ubuntu) was 'ON' for the whole day.

I have used 'uptime -p' but it doesn't work if you turned your system off and then later turned ON for use. Hence, it tells for how long the system(not screen) is running from the last time it was turned ON.

Please suggest if there are any other softwares/desktop-apps also.

audio stuttering/crackling in ubuntu 18.04 https://askubuntu.com/questions/1158648/audio-stuttering-crackling-in-ubuntu-18-04

The audio is stuttering/crackling whenever played in external speakers/headphone or the laptop's speaker.

I have tried several solutions to no avail, and different combinations of them:

  • https://unix.stackexchange.com/a/136591

    • Changing default-sample-rate = 42100default-sample-rate = 48000 at /etc/pulse/daemon.conf.

    • Changing load-module module-udev-detectload-module module-udev-detect tsched=0.

      This has significantly reduced the amount of noise and slowness of the music but it is not perfect.

  • https://askubuntu.com/a/1067759: pulseaudio -k.

  • https://askubuntu.com/a/1135589: Add options snd-hda-intel power_save=0 power_save_controller=N to /etc/modprobe.d/alsa-base.conf.

  • Audio stuttering on 18.04: Quoting:

    • add options snd-hda-intel position_fix=1 to /etc/modprobe.d/alsa-base.conf
    • edit to load-module module-udev-detect tsched=1 in /etc/pulse/default.pa
    • add resample-method = src-sinc-best-quality in /etc/pulse/daemon.conf

    Points to other sources as well.

I have also tried:

pulseaudio -k && sudo alsa force-reload

Reboot.


Other solutions which I have not tried because there is no such an option for me:


I have recently upgraded from Lubuntu 16.04 and it worked perfectly. I have a Lubuntu 18.04:

$ uname -a
Linux abcde 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Remmina 1.3.4 on Ubuntu - which is the HOST KEY? https://askubuntu.com/questions/1142590/remmina-1-3-4-on-ubuntu-which-is-the-host-key

I can't identify the right "HOST KEY" to do "copy and paste" with text. Seems a dummy question but I tried all combinations.

thanks in advance.

How should I update my wi-fi driver? https://askubuntu.com/questions/1019862/how-should-i-update-my-wi-fi-driver

I use Ubuntu16.04 and my laptop model is Asus-n552vw. My wi-fi network doesn't work properly. I thought maybe the problem solved if I update my wi-fi driver. I searched for that but couldn't find how should I do it?

EDIT: My problem is very strange and stupid! If I connect to my wi-fi network at home that has 512kbps speed, I should disconnect and reconnect for every access to internet! I mean I must disconnect/reconnect to open a new site, then I must do it again for another site, or refreshing the other apps data.

But, If I use a VPN like windscribe and connecting to it, my network works well untill I am connected to it!!!

Also when I use other network connections with 2mbps or upper speeds, it seems my network works well again!

MSMTP Gmail, username and password incorrect https://askubuntu.com/questions/841182/msmtp-gmail-username-and-password-incorrect

I am trying to send emails using the php mail(); function. I have installed msmtp to allow me to use a gmail account. However whenever I try to send test email using msmtp then a destination email, the system freezed and I cannot write more commands.

This is the contents of ~/.msmtprc:

account gmail
tls on
tls_starttls on
tls_certcheck off
auth on
logfile ~/.msmtp.log
host smtp.gmail.com
port 587
user ****@gmail.com
from ****@gmail.com
password **********

account default : gmail

Also when it does sometimes work, I get an error which says bad credentials even though the details are correct, access for less secure apps is on and there is no 2-step verification.

Ubuntu 15.04 installation xboxdrv error with xboxdrv.service https://askubuntu.com/questions/617569/ubuntu-15-04-installation-xboxdrv-error-with-xboxdrv-service

I have repeatedly tried to install on Ubuntu 15.04 64 bit drivers for controller xbox360 and always got the same error after performing the following commands:

sudo apt-add-repository -y ppa:rael-gc/ubuntu-xboxdrv
sudo apt-get update
sudo apt-get install ubuntu-xboxdrv
...

Configuring the ubuntu-xboxdrv package (20150319-1) ...
/usr/bin/update-desktop-database
Failed to start xboxdrv.service: Unit xboxdrv.service failed to load: No such file or directory.
dpkg: error processing ubuntu-xboxdrv (--configure) package:
  subprocess installed post-installation script returned error code 6
Configuring the evtest package (1: 1.32-1) ...
Configuring the joystick package (1: 1.4.7-2) ...
Parsing libc-bin (2.21-0ubuntu4) triggers ...
Processing ureadahead (0.100.0-19) triggers ...
Processing dbus packet triggers (1.8.12-1ubuntu5) ...
There were errors while processing:
  ubuntu-xboxdrv
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ubuntu 14.04 blank desktop screen after VirtualBox was installed and updated https://askubuntu.com/questions/589707/ubuntu-14-04-blank-desktop-screen-after-virtualbox-was-installed-and-updated

I have Ubuntu 14.04 installed. It was working fine until I installed VirtualBox, and then without installing any guest OS under Virtual Box, ran an system update when prompted by Ubuntu.

Now when I log in to Ubuntu, all I get is a blank default desktop screen (the peachy pink mauve one), cannot access menus, and cannot access the terminal CTRL+ALT+T. Right-clicking does nothing, although the mouse cursor still appears and can be dragged around the empty screen. CTRL+ALT+F1 brings up a terminal.

I have a lot of data on my Ubuntu installation that I do not want to lose, and would like to secure/save/backup it in case something goes wrong.

I have a bootable Ubuntu 14.04 DVD which works, and using this I can run another Ubuntu 14.04 without installing. When I run the Ubuntu without installing from the DVD, I can only see some of the data, because I get the message, you do not have the necessary permissions to access this folder or some words to that effect.

Black Screen After Login:: Lubuntu https://askubuntu.com/questions/351585/black-screen-after-login-lubuntu

I was going to switch monitors and the screen looked really weird and stretched so I changed the resolution. The next time I turned on my computer and logged in, the screen says it can not display. I switched back to the old monitor. I do not want to reinstall lubuntu, is there a way I can change the resolution back to auto without logging in?

How to render Minecraft on the GPU? https://askubuntu.com/questions/195312/how-to-render-minecraft-on-the-gpu

Hardware:

  • Intel i7
  • AMD Radeon HD 6970
  • SSD with plenty of space
  • 6 GB RAM

Software

  • OpenJDK 6, 7, and Oracle Java 7 (reproducible with all three)
  • AMD Catalyst 12.8 and open source driver (reproducible with both)
  • Ubuntu 12.04 x86_64 and older
  • Minecraft 1.3.2 vanilla and older

On this setup I am getting rubbish frame rates after a short while of playing, dropping from about 45-55 to 15 in a couple of minutes. CPU use is 40-45 even when rendering the opening screen at 1920x1280, and gameRenderer is using about 90% CPU when playing.

Rather than trying to eke out a few more FPS out of an obviously broken rendering pipeline, I really hope to find a solution to make the GPU render Minecraft.

Edit 1: Something bizarre just happened: The first thing I always change in the settings is to turn bobbing off. Turns out that re-enabling bobbing makes the frame rate shoot right back up from 15-20 to 30-50 (mostly around 30) in fullscreen mode! It is still rather erratic, bumping down to 15-20 sometimes, but usually only for a few seconds. Also, the debug mode (F3) shows that 100% of the time is spent in "unspecified".

Edit 2: That seems to have been a dud - I disabled bobbing again a few minutes later, and it's been running at 20-40 FPS since. The snooper reports 24 FPS.

No sound on laptop speakers on an Acer Aspire 6920 https://askubuntu.com/questions/135883/no-sound-on-laptop-speakers-on-an-acer-aspire-6920

Computer: Acer Aspire 6920

Card: HDA Intel

Chip: Realtek ALC889

My problem is that the laptop build-in speakers don't play any sound. When i plug in my headphones the sound works normally, the same goes with external speakers. Those work normally like the headphones.

The profile in the Sound settings is Analog two-way Stereo.

I am using Ubuntu 12.04.

Might trere be any problem with my sound drivers or something similar?

Any form of help appreciated.