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 Direct 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.

this is dumb. I want to help other people find help https://askubuntu.com/questions/1566294/this-is-dumb-i-want-to-help-other-people-find-help

I would like to help other people. Why do you make it difficult?

your not allowing upvotes on correct answers is piss poor. and you should be ashamed.

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.com failing with 503 https://askubuntu.com/questions/1566282/ubuntu-com-failing-with-503

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?
MEDIATEK MT7902 802.11ax PCIe Wireless Network Adapter [Filogic 310] https://askubuntu.com/questions/1566278/mediatek-mt7902-802-11ax-pcie-wireless-network-adapter-filogic-310

"I manually compiled the MEDIATEK Corp. MT7902 network controller on Ubuntu 26.04 (kernel 7.0.0-14-generic) and it’s working fine. However, I can't get it to compile on the 7.0.0-15-generic kernel."

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.

Affect shell sessions globally in bash https://askubuntu.com/questions/1566276/affect-shell-sessions-globally-in-bash

I wrote a small bash script to handle conda initialization outside .bashrc, then aliased it in .bashrc

alias startconda='source /home/ade/.adebin/conda_init.sh'

conda_init.sh:

#!/bin/bash

if [ x"${CONDA_EXE}" == "x" ]; then     
    # >>> conda initialize >>>
    # !! Contents within this block are managed by 'conda init' !!
    __conda_setup="$('/home/ade/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
    if [ $? -eq 0 ]; then
        eval "$__conda_setup"
    echo "aqui"
    else
        if [ -f "/home/ade/anaconda3/etc/profile.d/conda.sh" ]; then
            . "/home/ade/anaconda3/etc/profile.d/conda.sh"
        else
            export PATH="/home/ade/anaconda3/bin:$PATH"
        fi
    fi
    unset __conda_setup
    # <<< conda initialize <<<

    #Login messages
    echo "bash-conda-init: Conda initialized"
    echo "bash-conda-init: Conda environment settup"
fi

#eval "$('conda' 'activate')"
conda activate
if [ x"${CONDA_EXE}" == "x" ]; then
    echo "Not set or null"
else 
    echo "set"
fi

The problem is that it only affects my current shell session. Is there a way to make it apply to all sessions, that is, each time I open a new terminal?

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.

Ubuntu installation on Hyper-v vm seems to be stuck on installing the system https://askubuntu.com/questions/1566274/ubuntu-installation-on-hyper-v-vm-seems-to-be-stuck-on-installing-the-system

I have set the VM up with Generation 2, 4GB RAM, 127GB HDD.

The physical disk it is installing on is mechanical.

I am running Windows 10

I have been through all the steps to start the install. I have connected to the internet and opted to install all recommended proprietary software. No Encryption.

It seems to be stuck with an orange bar moving at the bottom and saying 'Installing the system'.

I have pressed the button on the bottom right and the last entry says, "rsync error: error in rsync protocol data stream (code 12) at oi.c(232)

Could someone please let me know what is goin on. I am going to leave it as is overnight and will check in morning.

I have uploaded a picture of the log.

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.

When will the 25.10 to 26.04 upgrade be available on Software Updater? [duplicate] https://askubuntu.com/questions/1566267/when-will-the-25-10-to-26-04-upgrade-be-available-on-software-updater

I am running Ubuntu 25.10 and my Software Updater app is configured for "Notify me of a new Ubuntu version: For any new version" but 26.04 is not yet showing up. When will it be available for the Software Updater?

Please note I am asking about updating from 25.10 to 26.04 and the questions in the the link you say answers my question are about updating LTS versions, ie from 24.04 to 26.04. I see a difference there but if you want to remove my question go ahead.

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.

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.

Does GSK_renderer=cairo as a global environment variable stop system-wide hardware acceleration? https://askubuntu.com/questions/1566236/does-gsk-renderer-cairo-as-a-global-environment-variable-stop-system-wide-hardwa

GSK_renderer=cairo significantly reduces the memory usage of GTK4 apps.

I am thinking about applying it to some of my low-end computers by adding it to /etc/environment. However, I don't want to turn off system-wide hardware acceleration.

By any chance, does this environment variable stop system-wide hardware acceleration, or is it only for GTK4 apps?

How to remove all non-Ubuntu deb-packaged software? https://askubuntu.com/questions/1566153/how-to-remove-all-non-ubuntu-deb-packaged-software

In the recommendations of best practices to upgrade an Ubuntu distribution (and in a previous similar post), it is recommended to:

Disable all non-Ubuntu (unoficial) deb sources, including disabling PPAs. Uninstall the deb packages that those sources provided. Return your deb packages to as close to stock condition as possible.

I know sources can be disabled in the Software and Updates application, by using add-apt-repository -r, or by adding Enabled: no to the .sources files. But how can I also uninstall the deb packages that were installed from those sources?

I have seen ppa-purge being mentioned, but it did not work properly for me. To give an example for josm that did not seem to do anything:

❯ sudo ppa-purge -s josm.openstreetmap.de ppa:apt/dists
Updating packages lists
PPA to be removed: apt dists
Package revert list generated:
 josm/questing

Updating packages lists
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
josm is already the newest version (1.5.svn19555).
Selected version '1.5.svn19555' (josm.openstreetmap.de [all]) for 'josm'
Solving dependencies... Done
0 to upgrade, 0 to newly install, 0 to remove and 28 not to upgrade.
PPA purged successfully

The output of apt policy still includes:

Package files
...
 500 https://josm.openstreetmap.de/apt questing/universe amd64 Packages
     release n=questing,c=universe,b=amd64
     origin josm.openstreetmap.de

and the contents of /etc/apt/sources.list.d/josm.sources remain (i.e., they do not include Enabled: no):

Types: deb
URIs: https://josm.openstreetmap.de/apt
Suites: questing
Components: universe
Architectures: amd64
Signed-By: /etc/apt/keyrings/josm-apt.gpg

Is there any other simple way of removing deb packages that were installed from non-Ubuntu (unofficial) sources?

Ubuntu 24.04 to 26.04 LTS upgrade is not available in the Ubuntu Software Updater https://askubuntu.com/questions/1566029/ubuntu-24-04-to-26-04-lts-upgrade-is-not-available-in-the-ubuntu-software-update

I'm from India, currently running Ubuntu 24.04.4 LTS. I am excited to upgrade to the newly released 26.04 LTS. However, even today's morning (Apr 25), my software updater couldn't find a newer version to upgrade to. Articles like (https://linuxconfig.org/upgrade-ubuntu-24-04-to-26-04) and (https://linuxize.com/post/how-to-upgrade-to-ubuntu-26-04/) suggest a manual upgrade via the terminal, first upgrading to a non-LTS version (25.10). I am not willing to wait till 26.04.1 LTS release.

How do I upgrade? Please help!

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?

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.

Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository ... doesn't support architecture 'i386' https://askubuntu.com/questions/1029198/skipping-acquire-of-configured-file-contrib-binary-i386-packages-as-repository

I installed Ubuntu 18.04 and then while installing Virtualbox i get the 'i386' error message after I did:

$ sudo apt-get update
Get:1 http://nl.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                
Hit:3 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease                                         
Hit:4 http://nl.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://nl.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:6 http://download.virtualbox.org/virtualbox/debian bionic InRelease [4429 B]
Get:7 http://download.virtualbox.org/virtualbox/debian bionic/contrib amd64 Packages [1426 B]
Fetched 248 kB in 1s (209 kB/s)     
Reading package lists... Done
N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'http://download.virtualbox.org/virtualbox/debian bionic InRelease' doesn't support architecture 'i386'

I found several answers on Askubuntu for the 'i386' message but I don't know how to apply this to my situation

Configuring network to set wlan0 as primary https://askubuntu.com/questions/481645/configuring-network-to-set-wlan0-as-primary

I recently had to rebuild my pc and decided to go for ubuntu 14.04. I think the mistake I made was I started from a 12.04 install disk instead of the 12.10 disk I'd used previously and when given the option set my primary connection as ethernet (because the wireless option didn't work).

After upgrading to 14.04 etc, I managed to get the wireless working, or more using steps like ifconfig -a and the likes I managed to prove that the wireless card etc. is all installed and working.

However every time I boot without a hard wired connection plugged in I get the message "waiting for network configuration".

I can then once it's booted without a network get my wirless working using

sudo ifconfig wlan0 up iwlist wlan0 scan

This seems to kick the wireless module into life and it appears in the GUI and I can then select a network, however all the options like edit network and disconnect etc are all greyed out.

What I would like of course is if the WLAN0 was just set as my primary default network so I've been looking for a solution to this and it would seem that I need to adjust the old /etc/network/interfaces file but when I try to do so using the

sudo vi /etc/network/interfaces

command I, well I simply have no idea what I'm doing. Other than that typing :q! gets me out of there before I do to much damage!

As far as I can tell (by navigating to the file in the GUI) the output of my /etc/network/interfaces is as follows: (obviously not including the " in each line that's just to break the heading rule of the #)

"# This file describes the network interfaces available on your system "# and how to activate them. For more information, see interfaces(5).

"# The loopback network interface auto lo iface lo inet loopback

"# The primary network interface auto eth0 iface eth0 inet dhcp

If this is the case then this clearly doesn't contain what it should do but I don't how to fix it. Nor do I even know if I'm on the right track.

Any help would be appreciated thanks :)