https://api.snapcraft.io/ not accessible https://askubuntu.com/questions/1566306/https-api-snapcraft-io-not-accessible

I am not able to connect to port 443 at api.snapcraft.io since today. However port 80 works. Since port 443 is not accessible I cannot "refresh" my snaps:

# snap refresh
error: unable to contact snap store
# curl -I https://api.snapcraft.io
curl: (28) Connection timed out after 300170 milliseconds
# telnet api.snapcraft.io 80
Trying 185.125.188.59...
Connected to api.snapcraft.io.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
# telnet api.snapcraft.io 443
Trying 185.125.188.57...
Connection failed: Connection timed out

I have some virtual servers around the world and all work with no problem.

However, I have tried with two different ISP's in my location (Turkey) and both have the problem I described above.

Is it a general problem? Are any other snap users around the world facing the same problem?

Sleeping mode isue after upgrading to Ubuntu 26.04, Nvidia driver https://askubuntu.com/questions/1566305/sleeping-mode-isue-after-upgrading-to-ubuntu-26-04-nvidia-driver

when I turn my pc (tower HP)to sleeping mode I have the fans of the graphic card going noisy, then black screen and total freeze. Nothing to do but reboot. Graphic Card : GTX1060 driver 580.142 . I tried to install driver 535 with no effect. I also tried with no Nvidia driver an then sleeping mode is OK but not satisfying situation. This points clearly a Nvidia/Wayland driver Issue I guess. Any idea ? (I'm now with 580 driver)

Applet not connecting to internet while everything else does https://askubuntu.com/questions/1566302/applet-not-connecting-to-internet-while-everything-else-does

Good morning all, I'm running Ubuntu 2404 and since yesterday I'm getting an error while searching for apps in Applets. It states there's no internet connection but everything else like web browser, mail et works. I have stopped VPN to no avail.

Any suggestions?

Ubuntu 26.04 freezing troubleshooting https://askubuntu.com/questions/1566300/ubuntu-26-04-freezing-troubleshooting

When working in a Ubuntu 26.04, the system suddenly freezes and none of the keys on the keyboard or mouse work

Does the recent attack on Ubuntu infrastructure put Ubuntu computers under security risk? https://askubuntu.com/questions/1566299/does-the-recent-attack-on-ubuntu-infrastructure-put-ubuntu-computers-under-secur

Is it known whether the recent attacks (see Ubuntu Infrastructure not responding, returning 503 or other errors) on the whole Ubuntu infrastructure (official Websites/snapcraft/Launchpad) cause any security risk in computers running Ubuntu?

Discord not streaming on Ubuntu https://askubuntu.com/questions/1566296/discord-not-streaming-on-ubuntu

What I know so far.

  1. When I start streaming on discord using the desktop app it stops streaming a less than a second after starting it.

  2. I have attempted to stream using the browser and that does work. But I would rather not have to join on the browser every time I have to stream.

  3. I have followed some other advice here and found out that I am on Wayland (not sure what that means) and that I should want to be on X11. But when I have attempted to go into the config file to change it the comment #waylandenabled = false is nowhere to be seen. And the config file isn't that long so I can't be missing it.

I attempted to add in waylandenabled = false into the config under [daemon], then I saved and exited the config. I believe after I hit enter it caused me to reset my computer or at least made me log out again.

After that discord still isn't streaming so I'm not sure what to do next exactly.

I have mostly been looking at this here Im having issues with screen sharing in Discord on Ubuntu

and attempting to use the AI assistant tool.

Can't boot MacBook Air with a disfunctional screen https://askubuntu.com/questions/1566288/cant-boot-macbook-air-with-a-disfunctional-screen

I have a MacBook Air that I want to use as a small home server (Casa OS was recommended). The issue is that I can't see the Ubuntu Server installation screens, because the MacBook's screen is dead. I troubleshot it, and there's no way to make it work without a pricey repair. When macOS is fully booted I can use an external screen to interact with it, but this screen does not display images during booting which means if I were to put Ubuntu Server on it I'd have to do it blindly. Has anybody ran into a similar problem or know how to help?

Ubuntu 26.04: Restore / change App grid padding https://askubuntu.com/questions/1566286/ubuntu-26-04-restore-change-app-grid-padding

After updating to 26.04, the icons in the app grid got significally smaller and the padding seems a bit off, especially on very wide monitors..

enter image description here

How can I "restore" or fix the app grid without using extensions?

Microphone is missing in files https://askubuntu.com/questions/1566285/microphone-is-missing-in-files

Hi just had my pc redone the girl put Linsux on it I am unfamiliar with it it didnt down load a microphone

Ubuntu 26.04 installation experience [closed] https://askubuntu.com/questions/1566284/ubuntu-26-04-installation-experience

I tried installation of both server and desktop installations today, both as VMs on Hyper-V. The experience couldn´t be more different. I suspect it is because the installation is also a live experience, but comparing the two looks really strange to me, with all those duplications and differences.

Two examples:

the desktop installation supports use of TPM for FDE, whereas the server installation does not. Neither supports Clevis & Tang, which would make sense in an enterprise environment.

also, the desktop installation supports active directory integration, whereas the server install does not. As I am running mostly server installs, I´d appreciate if active directory integration would be an installation option.

I also encountered two (supposed) bugs:

For the desktop with TPM test I activated the virtual TPM of Hyper-V. Windows 11 runs fine with that. Ubuntu 26.04 install complains with the following:

error with TPM2 devices: TPM2 device is present but is not a PC-Client TPM

Does it matter at all, whether it is a PC-Client TPM or not?

The other is that I activated active directory during installation, but couldn´t login using active directory. How can I analyze the reason for that?

Issue creating an ISO with autoinstall https://askubuntu.com/questions/1566283/issue-creating-an-iso-with-autoinstall

My goal is to create a bootable USB drive with Ubuntu 24.04 that includes an autoinstall configuration. I’m relatively new to Linux and Ubuntu, so I may be missing something basic.

I’m able to successfully create a standard bootable USB using the official ubuntu-24.04.4-desktop-amd64.iso. However, when I try to customize the ISO, I run into problems.

Here’s what I’m doing:

  1. I extract the contents of the original ISO:

    sudo rsync -av ~/iso_mod/mount/ ~/iso_mod/extracted/
    
  2. I then rebuild the ISO using:

    sudo xorriso -as mkisofs -r \
      -V "Ubuntu 24.04 Custom" \
      -o custom-ubuntu-24.04.iso \
      -J -l \
      -b boot/grub/i386-pc/eltorito.img \
      -c boot.catalog \
      -no-emul-boot -boot-load-size 4 -boot-info-table \
      --grub2-boot-info \
      -eltorito-alt-boot \
      -e efi.img \
      -no-emul-boot -isohybrid-gpt-basdat \
      ./extracted
    
  3. Finally, I write the ISO to a USB drive:

    sudo dd if=/home/gene/iso_mod/custom-ubuntu-24.04.iso of=/dev/sdb bs=4M conv=fsync status=progress
    

The issue is that the resulting USB drive is not recognized as bootable on the target desktop system.

What am I missing in this process? Is there a reliable guide or resource that explains how to correctly modify and rebuild a bootable Ubuntu ISO with autoinstall support?

I realize that these steps just recreate the ISO but it doesn't work and if I can't get that working I will not be able to get autoinstall working.

Thank you for your help.

Ubuntu Infrastructure not responding, returning 503 or other errors https://askubuntu.com/questions/1566282/ubuntu-infrastructure-not-responding-returning-503-or-other-errors

MODERATOR NOTICE: This is an active incident. Do not respond unless you have additional information on it. Speculation is not permitted, nor is just saying "it's down right now".

Such posts or answers WILL be deleted without question.


I have tried to visit the official Ubuntu website, but it seems to fail with 503. Can anyone share any information they might know about this issue?

Error while installing wine on Ubuntu 25.10 https://askubuntu.com/questions/1566281/error-while-installing-wine-on-ubuntu-25-10

I ran sudo apt install wine command to install wine on my computer but below error occurred. I didn't check if it is working. What should I do?

Error: Failed to fetch https://mirror.cs.odu.edu/ubuntu/pool/main/f/flac/libflac14_1.5.0%2bds-2_i386.deb  OpenSSL error: error:0A000126:SSL routines::unexpected eof while reading  [IP: 128.82.4.140 443]
Error: Unable to fetch some archives, maybe run apt update or try with --fix-missing?
Multipass on macOS Apple Silicon M5 fails with host-arm-cpu.sme error https://askubuntu.com/questions/1566277/multipass-on-macos-apple-silicon-m5-fails-with-host-arm-cpu-sme-error

I've been having trouble getting Multipass to run Ubuntu instances on Apple Silicon M2 and M3.

The problem, at launch, is:

[2026-04-30T16:33:59.021] [error] [pluto] process error occurred Crashed program: qemu-system-aarch64; error: Process crashed
--
[2026-04-30T16:38:30.684] [debug] [arp] [74162] started: arp -an
[2026-04-30T16:38:30.783] [debug] [pluto] QMP: {"QMP": {"version": {"qemu": {"micro": 1, "minor": 2, "major": 8}, "package": ""}, "capabilities": ["oob"]}}
[2026-04-30T16:38:30.823] [warning] [pluto] Unexpected error in object_property_find_err() at ../../../qom/object.c:1330:
qemu-system-aarch64: Property 'host-arm-cpu.sme' not found
  • macOS 26.4.1 25E253

  • Apple MacBook Air M5

I have tried all sorts of things: uninstalling, installing with brew from source, and using the qemu version from ports.

My computer is suddenly struggling to run Skyrim LE after the latest update for Ubuntu 22? https://askubuntu.com/questions/1566275/my-computer-is-suddenly-struggling-to-run-skyrim-le-after-the-latest-update-for

This has been going on for a few days now. My computer did a major update, and after that my computer struggles with Skyrim LE even though it had no issue at all before that. The spikes mainly happen during combat, particularly dragon fights, making the game nigh impossible to play. Even simply walking around is grueling because of the lag spikes.

I tried to change my emulator to proton 10 ge from proton 8 ge, but that only made my game run worse. I tried to revert to the last version, but that just made my computer freeze. I did this through the menu that comes up if you press esc during start up. Its the same menu that appears after a major update at times. I selected version 5, but as stated that didn't end well. I even reinstalled my graphics driver, but that made no difference at all either.

I'm at a loss as to what else to do. I can't continue my playthrough because my game is now practically unplayable even though it was fine just before. I was hoping another update would fix this after people complained, but nothing has happened other than updates for something called iproute2. I can't even find an option on my comp to issue a report about the problem I'm having.

What else can I do here?

And no, my steam is NOT installed through snap. I learned that the hard way when I first installed ubuntu years ago.

update: Well, I got another major update. It both updated the kernal, and some of the updates even named my graphics card driver. After that, my game runs like it did before, perhaps better even. I'd still like to know what happened. Version right now is showing Ubuntu 22.0.4.5 LTS. Graphics driver is nvidia 580. And yes, I know that's not the most up to date version, I had to set it to that to keep firefox from crashing on me randomly. It had no impact on my games fortunately enough.

Problem with ubuntu mirrors https://askubuntu.com/questions/1566272/problem-with-ubuntu-mirrors

After installing Ubuntu 26.04 I updated the snap packages and it went fine, but when trying to do a sudo apt update or install an application with apt I get the following errors:

  • When running sudo apt update:
Ign:1 file:/cdrom resolute InRelease
Err:2 file:/cdrom resolute Release
  File not found - /cdrom/dists/resolute/Release (2: No such file or directory)
Hit:3 http://security.ubuntu.com/ubuntu resolute-security InRelease                
Hit:4 http://ba.archive.ubuntu.com/ubuntu resolute InRelease                       
Hit:5 http://ba.archive.ubuntu.com/ubuntu resolute-updates InRelease
Hit:6 http://ba.archive.ubuntu.com/ubuntu resolute-backports InRelease
Error: The repository 'file:/cdrom resolute Release' no longer has a Release file.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.
  • When trying to install an app (in this case flatpak) using apt:
Err:1 http://ba.archive.ubuntu.com/ubuntu resolute/universe amd64 libostree-1-1 amd64 2025.6-1
  404  Not Found [IP: 2a03:3320:387:c387::20 80]
Err:2 http://ba.archive.ubuntu.com/ubuntu resolute/universe amd64 flatpak amd64 1.16.1-3ubuntu1
  404  Not Found [IP: 2a03:3320:387:c387::20 80]
Error: Failed to fetch http://ba.archive.ubuntu.com/ubuntu/pool/universe/o/ostree/libostree-1-1_2025.6-1_amd64.deb  404  Not Found [IP: 2a03:3320:387:c387::20 80]
Error: Failed to fetch http://ba.archive.ubuntu.com/ubuntu/pool/universe/f/flatpak/flatpak_1.16.1-3ubuntu1_amd64.deb  404  Not Found [IP: 2a03:3320:387:c387::20 80]
Error: Unable to fetch some archives, maybe run apt update or try with --fix-missing?

This issue is most certainly because the mirror that was chosen automatically doesn't work. I have encountered this issue on ubuntu 24.04 as well when I tried it but I simply fixed it by using the tool Software & Updates which is now removed. Since you can't install that tool you also can't fix the problem graphically. I fixed the problem by editing the /etc/apt/sources.list.d/ubuntu.sources file and changing it to the global mirror. Shouldn't there be a way for the system to automatically detect if the mirror is working and then if does not to fallback to the global mirror? Or better yet to find the fastest working mirror relative to your location and to set that. Also, during installation at the end it said that there was an error but when I restarted my PC ubuntu was installed. I guess that the error when I run sudo apt update is causing that. I haven't gotten in to fixing that.

How to Disable Wayland and work only on X11 in 26.04 https://askubuntu.com/questions/1566265/how-to-disable-wayland-and-work-only-on-x11-in-26-04

i did some basic tweak for supressing the Wayland Display, but could not set to x11.

Can someone post how i can disable Wayland and continue on X11 i haev some apps that dont support Wayland.

For example wmctrl and onboard don't work for me with Wayland. So if you really need one of these or some other tool, that needs x11, then I suggest that you try with Lubuntu or Xubuntu or some other flavor of Ubuntu, that is still using x11. You can try these flavors live (booted from USB without installing) before you decide what to use. But several tools work with Wayland now, and there are might be alternatives for some of your old favorites, alternatives that work in Wayland.

Ubuntu 26.04 Gnome Remote Desktop is unstable https://askubuntu.com/questions/1566258/ubuntu-26-04-gnome-remote-desktop-is-unstable

I've just installed Ubuntu 26.04 on my PC. I am using the built in Gnome Remote Desktop, however it is a bit unstable, as the connection will be working for a few hours and then it crashes so I cannot connect again. The only fix I have been able to get working is to SSH into the machine and reboot.

I have tried the following commands via SSH as well, but none of them seem to fix the problem.

systemctl --user restart gnome-remote-desktop
pkill -f gnome-remote-desktop
killall -1 gnome-shell
sudo ss -lntp | grep 3389
sudo kill -9 \<PID\>

I have relatively little experience with Linux, so I'm unsure where to find logs or how to debug this problem.

How do I fix CVE-2026-31431 on Ubuntu 24.04 LTS? https://askubuntu.com/questions/1566254/how-do-i-fix-cve-2026-31431-on-ubuntu-24-04-lts

We are running a bunch of containers for a cyber security teaching environment, where students can execute arbitrary commands (unprivileged).

Our system (Ubuntu 24.04.4 LTS) is affected by the recently-published "Copy Fail" vulnerability (CVE-2026-31431).

Unfortunately, updating did not produce any new kernel packages, and we are still stuck with 6.8.0-110:

# uname -a
Linux teaching-host 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux

PoC exploit (makes su not ask for passwords until reboot):

$ cat exploit.py | python3 && su
# id
uid=0(root) gid=1000(user) groups=1000(user),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),101(lxd),988(docker)

How can we harden our system until an official patch package becomes available?

NONE of the AppImages work 26.04 https://askubuntu.com/questions/1566242/none-of-the-appimages-work-26-04

NONE of the AppImages work

I'm using 26.04 LTS.

I'm using AppImage with a lot of applications.

None of them work. I installed Fuse, and only one works; the rest don't. They say this.

lex@home:~$ '/home/lex/.apps/games/RetroArch-Nightly/RetroArch-Linux-x86_64/RetroArch-Linux-x86_64.AppImage' 
Setting $HOME to /home/lex/.apps/games/RetroArch-Nightly/RetroArch-Linux-x86_64/RetroArch-Linux-x86_64.AppImage.home
/tmp/.mount_RetroAFCmjmb/AppRun.wrapped: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory

lex@home:~$ '/home/lex/.apps/games/pcsx2/pcsx2-v2.6.3-linux-appimage-x64-Qt.AppImage' 
Setting $HOME to /home/lex/.apps/games/pcsx2/pcsx2-v2.6.3-linux-appimage-x64-Qt.AppImage.home
/home/lex/.apps/games/pcsx2/pcsx2-v2.6.3-linux-appimage-x64-Qt.AppImage: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory

lex@home:~$ '/home/lex/.apps/on-line/qBittorrent.AppImage' 
/tmp/.mount_qBittocoBMge/AppRun.wrapped: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory
System lag/freeze after resume from suspend - Ubuntu 26.04 - Kernel 7.0 - NVIDIA Driver 580.142 https://askubuntu.com/questions/1566240/system-lag-freeze-after-resume-from-suspend-ubuntu-26-04-kernel-7-0-nvidia

I am experiencing severe lag and intermittent freezing after resuming my laptop from suspend on Ubuntu 26.04 (Resolute). The system becomes almost unresponsive for a period of time or requires a hard reboot.

My System Specs:

  • OS: Ubuntu 26.04 LTS (Development Branch)

  • Kernel: 7.0.0-14-generic

  • CPU: AMD Ryzen 5 4600H with Radeon Graphics

  • GPU: NVIDIA GeForce GTX 1650 (Laptop)

  • Driver Version: 580.142

  • Display Server: Wayland

  • RAM: 32GB

What I have tried so far:

  1. Disabled the following NVIDIA systemd services to see if it bypasses the hang during resume:

    • nvidia-suspend.service

    • nvidia-hibernate.service

    • nvidia-resume.service

  2. Verified that nvidia-persistenced is active (running).

  3. Updated GRUB and checked the memory sleep state.

Observations:

  • I am running a hybrid graphics setup (AMD + NVIDIA) on Wayland.

  • The issue persists even with the 580.x and 590.x driver series.

Question:
Has anyone encountered similar freezing issues with the 7.0 kernel and NVIDIA 580 drivers? Is there any way to fix this issue?

How to change keyboard backlight color on an ASUS gaming laptop? https://askubuntu.com/questions/1566237/how-to-change-keyboard-backlight-color-on-an-asus-gaming-laptop

I have an ASUS TUF Gaming F16 with an RGB backlit keyboard. How can I configure the COLOR of the keyboard and any effects, not just the brightness? I hate the default color changing effect and I just want it solid green.

HP LaserJet 1018 detected via USB but not printing on Ubuntu 24.04 (jobs stuck in processing, silent exits, HPLIP cannot communicate) https://askubuntu.com/questions/1565955/hp-laserjet-1018-detected-via-usb-but-not-printing-on-ubuntu-24-04-jobs-stuck-i

I am trying to use an HP LaserJet 1018 on Ubuntu 24.04 with HPLIP installed, but the printer does not actually print despite being detected.


🧩 Problem description

  • The printer is correctly detected by the system (lsusb)

  • It appears in the CUPS web interface

  • However, when sending a print job:

    • The job stays in “processing”

    • Then disappears without printing

    • No clear error message is shown


🔍 Technical details

✔ USB detection

lsusb

Output includes:

Bus 001 Device 003: ID 03f0:4117 HP, Inc LaserJet 1018

❌ Printing backend issue

lpinfo -v
  • No proper USB printer backend is listed

⚙️ CUPS configuration

  • Printer is listed in CUPS and Ubuntu's Printers settings Menu

  • Driver in use:

    HP LaserJet 1018, hpcups 3.23.12 (and required plugins are installed)
    
    
  • Connection URI:

    hp:/usb/HP_LaserJet_1018?serial=...
    
    

Errors shown in CUPS:

Invalid printer command "Clean"

Print job log:

processing...
cfFilterChain: pdftopdf (...) exited with no errors
  • Job completes silently but nothing prints

🔧 HPLIP diagnostics

hp-check

Output:

Unable to communicate with device (code=12)
No devices found
Device not found

Also reports:

HPLIP does not support auto installation for Ubuntu 24.04

❓ Question

Why is the printer detected but not able to communicate or print, and how can this be fixed on Ubuntu 24.04? How to set up HP Laser 1018 printer properly on Ubuntu?

Trouble Installing Mathematica 14.3 in Ubuntu 25.10+ https://askubuntu.com/questions/1563509/trouble-installing-mathematica-14-3-in-ubuntu-25-10

Not sure if this or a mathematica-focused forum is the right place for this, but I suspect my issue is something with my ubuntu setup, so I am hoping someone here will have some ideas.

I am trying to install Mathematica from the official installer Wolfram_14.3.0_LIN_Bndl.sh, but it's being strangely annoying.

When I try running it, with any of ./Wolfram_14.3.0_LIN_Bndl.sh, sudo ./Wolfram_14.3.0_LIN_Bndl.sh, bash Wolfram_14.3.0_LIN_Bndl.sh or sudo bash Wolfram_14.3.0_LIN_Bndl.sh , I receive output of the form

Wolfram Mathematica 14.3.0 for LINUX Installer Archive

Verifying archive integrity. 
Error in MD5 checksums: 7b75ed1e8117f0a81eea3b41358b9e28 is different from b78ec7c79750834b95d15731c9903fa4

However, the wrong checksum is computed each time, e.g. the 7b75ed1e8117f0a81eea3b41358b9e28 will become f393c094e26d8506c0cca1bc8addb413 or something else each time I run it.

I downloaded the script from wolfram's website, so I know it is the correct/official one. I do not have any good guesses for why the wrong checksum is being computed or why it is different every time. I tried bypassing this check by manually editing the relevant function in the shell script, but then the install fails at the next step with output

Wolfram Mathematica 14.3.0 for LINUX Installer Archive

Verifying archive integrity. 
Extracting installer. ........Extraction failed. No space left on .625963
.Removing temporary files.

I am also confused by this. It seems some tar command is failing under the hood, but I do not know why. It certainly is not because of a lack of space; I have hundreds of gigabytes free, and while Mathematica is pretty big, it's not that big.

At this point, I am very confused about what is causing these issues, so I thought I would turn to the internet for help. Does anyone here have any suggestions?

Some extra considerations

  • I know the installation script itself is fine. I pulled out an old laptop and tried running it on there, and it worked with no issue. If it matters, my current computer is running Ubuntu 25.10, but the old one is running 25.04.

  • The md5sum function on my (current) laptop also appears to being working correctly. I tested this via echo -n "The quick brown fox jumps over the lazy dog" | md5sum and comparing the output to this example given on Wikipedia.

  • If it matters, my computer has two physical SSDs in it. One is basically a huge storage partition and is where the install script is downloaded. The other has my Linux partition (as well as a separate Windows partition for emergencies). I doubt this matters for anything, but figured I'd mention it just in case.

Let me know if I can provide any more information about my setup/computer, if I should provide any snippets of the installation shell script, or if I can share anything else that might be helpful. Also let me know if there is a better place to ask for help with this. Thanks.

`apparmor` prevents `wireguard` from starting https://askubuntu.com/questions/1547783/apparmor-prevents-wireguard-from-starting

After upgrading from Ubuntu 24.10 to 25.04, I noticed that WireGuard does not start. Investigating the problem I found the following error message in system log:

May 15 17:09:31 ocasrv wg-quick[14511]: [#] /etc/wireguard/helper/log-info.sh startdate
May 15 17:09:31 ocasrv wg-quick[14521]: /usr/bin/wg-quick: /etc/wireguard/helper/log-info.sh: /bin/bash: bad interpreter: Permission denied
May 15 17:09:31 ocasrv wg-quick[14523]: Unable to access interface: No such device

Here log-info.sh is my custom script that ran without problems in the previous version of Ubuntu.

I checked the system-provided /usr/bin/wg-quick and it is exactly the same as in the previous version of Ubuntu.

However, I see the following errors also:

[ 2875.720653] audit: type=1400 audit(1747318171.354:3330): apparmor="DENIED" operation="open" class="file" profile="wg-quick" name="/etc/nsswitch.conf" pid=14511 comm="wg-quick" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 2875.720673] audit: type=1400 audit(1747318171.355:3331): apparmor="DENIED" operation="open" class="file" profile="wg-quick" name="/etc/passwd" pid=14511 comm="wg-quick" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 2875.740073] audit: type=1400 audit(1747318171.374:3332): apparmor="DENIED" operation="exec" class="file" profile="wg-quick" name="/etc/wireguard/helper/log-info.sh" pid=14521 comm="wg-quick" requested_mask="x" denied_mask="x" fsuid=0 ouid=0

Checking the /etc/apparmor.d/ directory, I noticed two new files named wg and wg-quick. These files were not present in the previous versions of Ubuntu.

ChatGPT recommended this:

# ln -s /etc/apparmor.d/wg-quick /etc/apparmor.d/disable/
# ln -s /etc/apparmor.d/wg /etc/apparmor.d/disable/
# apparmor_parser -R /etc/apparmor.d/wg-quick
# apparmor_parser -R /etc/apparmor.d/wg
# systemctl reload apparmor

which solves the problem.

However, what is the recommended action? Is this a new bug?

Can't get Ubuntu 22.04 server to resolve names https://askubuntu.com/questions/1484577/cant-get-ubuntu-22-04-server-to-resolve-names

I installed Ubuntu 22.04 and I setup the interface my server has with an IP and DNS servers that it is supposed to use:

root@m15jumplnxnoc01v:/# cat /etc/netplan/00-installer-config.yaml
network:
  ethernets:
    ens160:
      dhcp4: no
      addresses:
        - 10.248.0.235/24
      routes:
        - to: default
          via: 10.248.0.1
      nameservers:
        addresses:
          - 10.248.0.100
          - 10.248.0.103

  version: 2

After getting the interface configured and working, I confirmed that I was able to ping 8.8.8.8, but I couldn't get nslookup to resolve www.google.com

So I went ahead and added the DNS servers globally by adding them to the file /etc/systemd/resolved.conf and restarting the service:

[Resolve]
DNS=10.248.0.100 10.248.0.103
FallbackDNS=8.8.8.8
Domains=~.
#DNSSEC=no
#DNSOverTLS=no
#MulticastDNS=no
#LLMNR=no
#Cache=no-negative
#CacheFromLocalhost=no
#DNSStubListener=yes
#DNSStubListenerExtra=
#ReadEtcHosts=yes
#ResolveUnicastSingleLabel=no

That didn't resolve my problem, although I was able to see both the global and interface DNS servers properly set:

root@m15jumplnxnoc01v:/# resolvectl
Global
           Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
    resolv.conf mode: stub
  Current DNS Server: 10.248.0.103
         DNS Servers: 10.248.0.100 10.248.0.103
Fallback DNS Servers: 8.8.8.8
          DNS Domain: ~.

Link 2 (ens160)
    Current Scopes: DNS
         Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 10.248.0.100
       DNS Servers: 10.248.0.100 10.248.0.103

But I'm still getting an error reporting "time outs" to the DNS servers:

root@m15jumplnxnoc01v:/# nslookup www.google.com
;; communications error to 127.0.0.53#53: timed out
;; communications error to 127.0.0.53#53: timed out
;; communications error to 127.0.0.53#53: timed out
;; no servers could be reached

The interesting things is that the connectivity is indeed in place:

root@m15jumplnxnoc01v:/# nc -uvz 172.0.0.53 53
Connection to 172.0.0.53 53 port [udp/domain] succeeded!

root@m15jumplnxnoc01v:/# nc -uvz 10.248.0.100 53
Connection to 10.248.0.100 53 port [udp/domain] succeeded!

root@m15jumplnxnoc01v:/# nc -uvz 10.248.0.103 53
Connection to 10.248.0.103 53 port [udp/domain] succeeded!

root@m15jumplnxnoc01v:/# nc -uvz 8.8.8.8 53
Connection to 8.8.8.8 53 port [udp/domain] succeeded!

I did a tcpdump looking for UDP/53 traffic, and I do see the requests going to the right servers:

root@m15jumplnxnoc01v:/#  tcpdump -nni any udp and port 53
tcpdump: data link type LINUX_SLL2
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes
17:33:25.372379 lo    In  IP 127.0.0.1.43642 > 127.0.0.53.53: 4933+ [1au] A? detectportal.firefox.com. (53)
17:33:25.372418 lo    In  IP 127.0.0.1.43642 > 127.0.0.53.53: 34751+ [1au] AAAA? detectportal.firefox.com. (53)
17:33:26.008362 lo    In  IP 127.0.0.1.42621 > 127.0.0.53.53: 45529+ [1au] A? ntp.ubuntu.com. (43)
17:33:26.008405 lo    In  IP 127.0.0.1.42621 > 127.0.0.53.53: 32209+ [1au] AAAA? ntp.ubuntu.com. (43)
17:33:30.012481 lo    In  IP 127.0.0.1.38425 > 127.0.0.53.53: 5001+ A? www.google.com. (32)
17:33:30.377639 lo    In  IP 127.0.0.1.45370 > 127.0.0.53.53: 62098+ [1au] A? detectportal.firefox.com. (53)
17:33:30.377837 lo    In  IP 127.0.0.1.45370 > 127.0.0.53.53: 5017+ [1au] AAAA? detectportal.firefox.com. (53)
17:33:31.013169 lo    In  IP 127.0.0.1.39636 > 127.0.0.53.53: 1505+ [1au] A? ntp.ubuntu.com. (43)
17:33:31.013201 lo    In  IP 127.0.0.1.39636 > 127.0.0.53.53: 19416+ [1au] AAAA? ntp.ubuntu.com. (43)
17:33:35.016648 lo    In  IP 127.0.0.1.54656 > 127.0.0.53.53: 5001+ A? www.google.com. (32)
17:33:35.383028 lo    In  IP 127.0.0.1.45370 > 127.0.0.53.53: 62098+ [1au] A? detectportal.firefox.com. (53)
17:33:35.383062 lo    In  IP 127.0.0.1.45370 > 127.0.0.53.53: 5017+ [1au] AAAA? detectportal.firefox.com. (53)
17:33:36.018367 lo    In  IP 127.0.0.1.39636 > 127.0.0.53.53: 1505+ [1au] A? ntp.ubuntu.com. (43)
17:33:36.018411 lo    In  IP 127.0.0.1.39636 > 127.0.0.53.53: 19416+ [1au] AAAA? ntp.ubuntu.com. (43)
17:33:40.022204 lo    In  IP 127.0.0.1.41749 > 127.0.0.53.53: 5001+ A? www.google.com. (32)
17:33:41.020464 lo    In  IP 127.0.0.1.48022 > 127.0.0.53.53: 27022+ [1au] A? ntp.ubuntu.com. (43)
17:33:41.020506 lo    In  IP 127.0.0.1.48022 > 127.0.0.53.53: 51079+ [1au] AAAA? ntp.ubuntu.com. (43)
17:33:46.025666 lo    In  IP 127.0.0.1.48022 > 127.0.0.53.53: 27022+ [1au] A? ntp.ubuntu.com. (43)
17:33:46.025709 lo    In  IP 127.0.0.1.48022 > 127.0.0.53.53: 51079+ [1au] AAAA? ntp.ubuntu.com. (43)
17:33:46.026381 ens160 Out IP 10.248.0.235.34103 > 10.248.0.100.53: 35474+ A? detectportal.firefox.com. (42)
17:33:46.026533 ens160 Out IP 10.248.0.235.33402 > 10.248.0.100.53: 40994+ A? ntp.ubuntu.com. (32)
17:33:46.026700 ens160 Out IP 10.248.0.235.60090 > 10.248.0.100.53: 36947+ AAAA? ntp.ubuntu.com. (32)
17:33:46.026813 ens160 Out IP 10.248.0.235.33960 > 10.248.0.100.53: 10092+ A? www.google.com. (32)
17:33:46.026930 ens160 Out IP 10.248.0.235.39671 > 10.248.0.100.53: 26888+ AAAA? detectportal.firefox.com. (42)
17:33:51.028884 lo    In  IP 127.0.0.1.39871 > 127.0.0.53.53: 58427+ [1au] A? ntp.ubuntu.com. (43)
17:33:51.028924 lo    In  IP 127.0.0.1.39871 > 127.0.0.53.53: 14641+ [1au] AAAA? ntp.ubuntu.com. (43)
17:33:51.029477 ens160 Out IP 10.248.0.235.42022 > 10.248.0.103.53: 26888+ AAAA? detectportal.firefox.com. (42)
17:33:51.029655 ens160 Out IP 10.248.0.235.34400 > 10.248.0.103.53: 10092+ A? www.google.com. (32)
17:33:51.029776 ens160 Out IP 10.248.0.235.38663 > 10.248.0.103.53: 36947+ AAAA? ntp.ubuntu.com. (32)
17:33:51.029894 ens160 Out IP 10.248.0.235.58453 > 10.248.0.103.53: 40994+ A? ntp.ubuntu.com. (32)
17:33:51.030040 ens160 Out IP 10.248.0.235.51256 > 10.248.0.103.53: 35474+ A? detectportal.firefox.com. (42)
17:33:56.032396 lo    In  IP 127.0.0.1.39871 > 127.0.0.53.53: 58427+ [1au] A? ntp.ubuntu.com. (43)
17:33:56.032440 lo    In  IP 127.0.0.1.39871 > 127.0.0.53.53: 14641+ [1au] AAAA? ntp.ubuntu.com. (43)
17:34:00.365067 lo    In  IP 127.0.0.1.44129 > 127.0.0.53.53: 8050+ [1au] A? detectportal.firefox.com. (53)
17:34:00.365104 lo    In  IP 127.0.0.1.44129 > 127.0.0.53.53: 4987+ [1au] AAAA? detectportal.firefox.com. (53)
17:34:01.036519 lo    In  IP 127.0.0.1.34244 > 127.0.0.53.53: 36036+ [1au] A? ntp.ubuntu.com. (43)
17:34:01.036568 lo    In  IP 127.0.0.1.34244 > 127.0.0.53.53: 59855+ [1au] AAAA? ntp.ubuntu.com. (43)
^C
37 packets captured
64 packets received by filter
0 packets dropped by kernel

I even tried changing the DNS service to resolvconf and editing the config file /etc/resolvconf/resolv.conf.d/head to add the DNS servers there, and dnsmasq and adding the DNS serves to /etc/resolv.conf (which is what dnsmasq uses).

No matter which service I try or how I configure it it keeps timing out, but the connectivity is definitely there as shown above.

Any idea on what else can I check?

Thanks in advance!

Remote Desktop - Ubuntu 22.04 LTS https://askubuntu.com/questions/1482111/remote-desktop-ubuntu-22-04-lts

I run Ubuntu 22.04 LTS with Remote Desktop that is built in and it is great! (see attached image) However, when my internet connection breaks the service seems to hang up and I need to reboot the computer in order to be able to connect again. The normal sshd always works even after a connection issue so I wonder how do I: Reset this service from command line?

It seems to me that just resetting it will work but I don't know what service it is... Thanks for any suggestion :-)

enter image description here

Intel AX201 wifi adapter disconnecting frequently https://askubuntu.com/questions/1453583/intel-ax201-wifi-adapter-disconnecting-frequently

I'm new to linux, so sorry for my little knowledge in advance. Intel AX201 wifi adapter doesn't seem to work properly for me on Ubuntu 22.10. It didn't work so good with windows 10/11 too. Disconnects randomly and I can't get it working again; but when I reboot,it sometimes works for 10 minutes or so and then goes away again. what info should I provide to be able to get any help?

How to install missing plug-in wayland-egl https://askubuntu.com/questions/1335754/how-to-install-missing-plug-in-wayland-egl

I am installing vokoscreen 3.0.8:

https://snapcraft.io/vokoscreen-ng

When I try to run it, it tells me:

wiktor@wiktor:~$ vokoscreen-ng
This application failed to start because it could not find or load the Qt platform plugin "wayland-egl"
in "".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Reinstalling the application may fix this problem.
Aborted (core dumped)

How to install the missing wayland-egl?

I am running Ubuntu 21.04 on Wayland.

Make and receive calls on Ubuntu using an external android phone https://askubuntu.com/questions/768121/make-and-receive-calls-on-ubuntu-using-an-external-android-phone

Is there any way that I could use my old Android device by connecting it via USB or even using the wireless LAN and make/receive calls and traditional text messages (SMS) on my laptop running Ubuntu?