Will Ubuntu load on a MediaTek Processor Chromebook https://askubuntu.com/questions/1564003/will-ubuntu-load-on-a-mediatek-processor-chromebook

I have an HP Chromebook with a Mediatek MT8183 processor, 4gb LPDDR4 and 32Gbemmc. I bought it because it was cheap and said I could run Linux on it. I cannot get anything to run. Has anyone replaced Chrome with Ubuntu or any other Linux distribution on such a machine and how.

Steam in Xubuntu Minimal https://askubuntu.com/questions/1564002/steam-in-xubuntu-minimal

I had Steam installed on a laptop with Xubuntu 22.4 LTS and everything was working fine. I recently installed Steam on a new laptop with Xubuntu Minimal 24.4 LTS - not because I wanted minimal but because the usb stick I had handy didn't have room for the regular Xubuntu startup disk.

After setting up the computer, I installed Steam, but when I try to launch most games, I get a Unity splash screen with a progress bar, and the game doesn't launch and there is no error message.

Assuming the problem was Unity, I installed it using Synaptic. But it doesn't appear to have changed anything.

Does anyone know which packages are necessary for it to work? Steam Support answered that they don't support this distribution.

Broadcom problem in Ubuntu 24.04.4 https://askubuntu.com/questions/1564001/broadcom-problem-in-ubuntu-24-04-4

Using the Fonts app, I tried to install the Urdu font. It fails due to 'broadcom'.

Everything used to work fine (including the Urdu font) before I was hacked. I erased my disk and reinstalled Ubuntu, but I upgraded from 24.04.3 LTS to 24.04.4 LTS.

Here is a portion of the crash report.

**```none Building initial module for 6.17.0-14-generic ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash' Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64) Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.


When I check this file

**vi  /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log**

This is what I see

**DKMS make.log for broadcom-sta-6.30.223.271 for kernel 6.17.0-14-generic (x86_64)
Sun Feb 15 05:43:45 PM AEDT 2026
CFG80211 API is prefered for this kernel version
Makefile:91: Neither CFG80211 nor Wireless Extension is enabled in kernel
KBUILD_NOPEDANTIC=1 make -C /lib/modules/6.17.0-14-generic/build M=`pwd`
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/usr/src/linux-headers-6.17.0-14-generic'
make[2]: Entering directory '/var/lib/dkms/broadcom-sta/6.30.223.271/build'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
  CC [M]  src/shared/linux_osl.o
src/shared/linux_osl.c:23:10: fatal error: typedefs.h: No such file or directory
   23 | #include <typedefs.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-headers-6.17.0-14-generic/scripts/Makefile.build:287: src/shared/linux_osl.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.17.0-14-generic/Makefile:2016: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.17.0-14-generic/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/broadcom-sta/6.30.223.271/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.17.0-14-generic'
make: *** [Makefile:183: all] Error 2**
~                                           
The /usr/lib/wsl/drivers folder takes up a lot of memory https://askubuntu.com/questions/1563999/the-usr-lib-wsl-drivers-folder-takes-up-a-lot-of-memory

I have a WSL2 Ubuntu. The /usr/lib/wsl/drivers folder takes up a lot of memory (about 8 GB). Is there a way to clean it up? I don't use WSLg (Windows Subsystem for Linux GUI).

I've already added guiApplications=false to the %USERPROFILES%\\.wslconfig file, however Ubuntu memory was not freed up.

Dual boot issue in gaming laptop with an Nvidia graphics card https://askubuntu.com/questions/1563998/dual-boot-issue-in-gaming-laptop-with-an-nvidia-graphics-card

I am experiencing a freezing issue at the loading page of Ubuntu even after installing the Nvidia graphics drivers. I have to use nomodeset every time in order to use Ubuntu. Is there any way to use Ubuntu Nvidia graphics?

Playing a video course eats HDD free space https://askubuntu.com/questions/1563997/playing-a-video-course-eats-hdd-free-space

I am using Ubuntu Desktop 22.04. When I play a video course from my external HDD the space in my laptop's HDD decreases to zero. This happens even if the available HDD space is more than 1GB. Where are these files stored?. How can I delete them to restore my laptop's HDD free space?

I have tried:

  1. Run sudo apt clean in the terminal. There was no improvement in space usage.
  2. du -sh ~/.cache | sort -h
  3. sudo rm -rf ~/.cache/*
How can I fix boot problem (ending up in BusyBox, UUID not found) https://askubuntu.com/questions/1563923/how-can-i-fix-boot-problem-ending-up-in-busybox-uuid-not-found

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

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

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

If I enter "exit" I get:

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

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

It had me create a removable drive to boot Ubuntu temporarily from, and get to the Terminal. At one point, it had me run the following for "quick diagnostics":

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

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

Key findings from your output​

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

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

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

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

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

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

...to which it said:

Key takeaways from output

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

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

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

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

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

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

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

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

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

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

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

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

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


Edit: As asked for me to add:

ubuntu@ubuntu:~$ cat /etc/fstab
overlay / overlay rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
clamav needs sudo privileges Ubuntu 24.04.3 LTS https://askubuntu.com/questions/1563920/clamav-needs-sudo-privileges-ubuntu-24-04-3-lts

I added the clamav user to sudo group:

$ groups clamav
clamav : clamav sudo

When I reload, it gives me permission problem

$ clamd reload
ERROR: Failed to open log file /var/log/clamav/clamav.log: Permission denied  
ERROR: Can't initialize the internal logger

Even when I use sudo, which should not be necessary because clamav is in the sudo group !

$ sudo clamd reload
ERROR: Fri Feb 13 11:35:24 2026
LOCAL: Socket file /etc/clamav/clamd.ctl could not be bound: Permission denied*

I do not wish to change permissions on any of the important directories and introduce security problems. But I do wish to run Clam antivirus software as a daemon.

Kubuntu (Wayland) microphone detected by PipeWire but browsers don’t create input stream (Realtek ALC257, PipeWire 1.2.7) https://askubuntu.com/questions/1563887/kubuntu-wayland-microphone-detected-by-pipewire-but-browsers-don-t-create-inpu

I’m facing a persistent microphone issue on Kubuntu under Wayland. The hardware and ALSA layer appear to work correctly, but browsers fail to create an input stream.

I would appreciate guidance on structured debugging.


System Information

  • Distro: Kubuntu (Plasma)

  • echo $XDG_SESSION_TYPEwayland

  • Audio stack: PipeWire 1.2.7 + WirePlumber

  • Chipset: HDA Intel PCH

  • Codec: Realtek ALC257

Output of:

cat /proc/asound/cards
0 [PCH]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0x6001140000 irq 171

Problem Description

  • During calls, people cannot hear me.

  • I can hear them perfectly.

  • Happens in Chrome, Firefox, and Brave.

  • Sometimes browser shows “Mic not found”.

  • Happens with and without headphones.

  • Restarting PipeWire sometimes temporarily fixes it.

  • Issue is inconsistent.


Current PipeWire State

Output of:

wpctl status

Audio devices:

  • Built-in Audio detected

  • Sink and Source both present

  • Default sink and source correctly set to built-in analog stereo

However, when Chrome is open, under “Streams” I only see:

output_FL
output_FR

There are no input_FL / input_FR streams created for Chrome.

So:

  • ALSA sees capture device

  • PipeWire sees source

  • Default source is correctly configured

  • Browser does not create input stream


What I’ve Tried

  1. Restarted services:

    systemctl --user restart pipewire pipewire-pulse wireplumber
    systemctl --user restart xdg-desktop-portal
    
    
  2. Verified capture device exists:

    arecord -l
    
    
  3. Verified duplex profile enabled (Analog Stereo Duplex).

  4. Set default sink/source manually:

    wpctl set-default <sink-id>
    wpctl set-default <source-id>
    
    
  5. Checked in pavucontrol:

    • Mic visible

    • Not muted

    • Volume normal

  6. Disabled ALSA power saving:
    Created /etc/modprobe.d/disable-hda-powersave.conf with:

    options snd_hda_intel power_save=0 power_save_controller=N
    
    

    Rebuilt initramfs and rebooted.

  7. Verified xdg-desktop-portal and xdg-desktop-portal-kde are installed.

None of these resolved the issue permanently.


Observations

  • Hardware appears functional.

  • ALSA layer is functional.

  • PipeWire source node exists.

  • Browser does not create capture stream.

  • Restarting services sometimes restores mic temporarily.

  • System is running under Wayland.


ASPERA on Ubuntu 22.04 LTS - Connectivity issues https://askubuntu.com/questions/1563857/aspera-on-ubuntu-22-04-lts-connectivity-issues

Having issues connecting with ASPERA to NCBI SRA; connection is "timing out". Tried the test connection page that IBM set-up and got the following error. Any suggestions? (Using FF).

Secure Connection Failed

An error occurred during a connection to ibmaspera.com. PR_CONNECT_RESET_ERROR

Error code: PR_CONNECT_RESET_ERROR

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.
Installation error: "Sorry, there was a problem completing the installation." https://askubuntu.com/questions/1541872/installation-error-sorry-there-was-a-problem-completing-the-installation

I'm encountering this error during installation (24.04.1 LTS), usually just as I'm entering what I want my password to be towards the end of installation. I looked around a bit and saw some issues to do with how partitions are set up. I double-checked the options during install. I let Ubuntu itself set that all up, giving it an empty logical RAID 5 drive. Do I need to manually partition it all and set up all the different settings or can it do that itself? The machine is a HPE ProLiant DL380 G10, with HPE Smart Array E208i-a, RAID 5 array with 3 800GB Intel SSD DC S3610 series SSDs, so nothing too fancy or complicated by any means. I assume this is an ID-10-T error, but I wanted to check. I've seen a couple of posts relating to similar situations, but nothing quite the same as this one. I can provide the full error log maybe, it's maybe not the easiest thing to copy.

Image of screen displaying error

Ethernet not working on Ubuntu (RealtekRTL8111/8168/8411), Works fine on Windows https://askubuntu.com/questions/1530739/ethernet-not-working-on-ubuntu-realtekrtl8111-8168-8411-works-fine-on-windows

I have an issue with my Ethernet connection on Ubuntu 22.04. I have a dual boot system with Windows 11, and the Ethernet connection works fine on Windows (the port LED lights up, and I get a stable connection), however when I switch to Ubuntu the Ethernet connection doesn't work, and the LED on the Ethernet port doesn't light up at all.

Here's some information about my system:

  • Network card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller

  • Ubuntu version: 22.04 Jammy Jellyfish

What I've tried:

  • I ran lshw -C network and the Ethernet interface (enp4s0) is listed.

  • I tried restarting NetworkManager with sudo service NetworkManager restart.

Unfortunately, I can’t use apt or install new drivers directly as I don’t have internet access on Ubuntu.

I'm wondering if I need to manually install a driver for the Realtek Ethernet card. If so, could someone guide me on how to install it without an internet connection, or suggest any other possible solutions?

Nvidia graphics driver is no longer available https://askubuntu.com/questions/1516842/nvidia-graphics-driver-is-no-longer-available

I have been happily using Ubuntu 22.04 LTS on my PC for some time. Recently a major update was installed on reboot (black screen with an Ubuntu logo and spinning wheel). I'm suddenly having all kinds of problems with my dual monitor setup. I went to check the Additional Drivers app, but no Nvidia driver packages are available. See screenshot. I was previously using the 545 Nvidia metapackage. How can I re-enable Nvidia drivers?

Limited Driver Options

Mysql error "'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)'" and I can't reset root password either https://askubuntu.com/questions/1452835/mysql-error-cant-connect-to-local-mysql-server-through-socket-var-run-mysql

I'm getting the following error for a couple of commands I'm trying to run AND I don't know the password whenever I'm prompted for that. (note: I just updated my ubuntu distribution to 22.04, but I previously didn't have a password set/had an empty password for 'root').

error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)'

It seems from most posts that the common issue is that mysql-server isn't actually running. I can see that mine is running, though, with sudo service mysql status and the following commands return...

$ cat /etc/services | grep 3306
    mysql           3306/tcp
$  netstat -tulpn | grep 3306
    (No info could be read for "-p": geteuid()=1000 but you should be root.)
    tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -
    tcp        0      0 127.0.0.1:33060         0.0.0.0:*               LISTEN  

These commands are giving the "Can't connect..." error:

  • mysqladmin -u root -p shutdown
  • mysqladmin version
  • mysql
  • mysql -u root
  • mysql -u root -h localhost -p

Running mysql -u root -h 127.0.0.1 -p seems to work in that it prompts me for a password, but none of my prior passwords are working and I have not been able to run sudo mysqld_safe --skip-grant-tables & or sudo mysqld_safe --skip-grant-tables --skip-networking & successfully to reset the root password.

I have also run...

Additional random info:

I also know that /var/run/mysqld/mysqld.sock did exist earlier in this process (I only have mysql.bak in that directory now), but when I run sudo find / -type s, it just returns a bunch of files/directories with "Permission Denied" (I assume because I'm in WSL), so I haven't checked that there could be another mysql.sock somewhere.

I also know that /etc/mysql/my.cnf is just pointing to -> /etc/alternatives/my.cnf, which only has the following in it (other than some comments):

!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mysql.conf.d/
Trying to add i386 architecture to install Wine on 22.04 https://askubuntu.com/questions/1422760/trying-to-add-i386-architecture-to-install-wine-on-22-04

I'm trying to install wine, but when it says I need wine32, I can't install it either with similar messages as trying to install i386 dependencies.

I read a post (Cannot install wine32 in Jammy (22.04)) where he narrowed it down to libsystemd0

from dpkg-architecture -l:

DEB_BUILD_ARCH=amd64
DEB_BUILD_ARCH_ABI=base
DEB_BUILD_ARCH_BITS=64
DEB_BUILD_ARCH_CPU=amd64
DEB_BUILD_ARCH_ENDIAN=little
DEB_BUILD_ARCH_LIBC=gnu
DEB_BUILD_ARCH_OS=linux
DEB_BUILD_GNU_CPU=x86_64
DEB_BUILD_GNU_SYSTEM=linux-gnu
DEB_BUILD_GNU_TYPE=x86_64-linux-gnu
DEB_BUILD_MULTIARCH=x86_64-linux-gnu
DEB_HOST_ARCH=amd64
DEB_HOST_ARCH_ABI=base
DEB_HOST_ARCH_BITS=64
DEB_HOST_ARCH_CPU=amd64
DEB_HOST_ARCH_ENDIAN=little
DEB_HOST_ARCH_LIBC=gnu
DEB_HOST_ARCH_OS=linux
DEB_HOST_GNU_CPU=x86_64
DEB_HOST_GNU_SYSTEM=linux-gnu
DEB_HOST_GNU_TYPE=x86_64-linux-gnu
DEB_HOST_MULTIARCH=x86_64-linux-gnu
DEB_TARGET_ARCH=amd64
DEB_TARGET_ARCH_ABI=base
DEB_TARGET_ARCH_BITS=64
DEB_TARGET_ARCH_CPU=amd64
DEB_TARGET_ARCH_ENDIAN=little
DEB_TARGET_ARCH_LIBC=gnu
DEB_TARGET_ARCH_OS=linux
DEB_TARGET_GNU_CPU=x86_64
DEB_TARGET_GNU_SYSTEM=linux-gnu
DEB_TARGET_GNU_TYPE=x86_64-linux-gnu
DEB_TARGET_MULTIARCH=x86_64-linux-gnu

I've added the architecture: dpkg --add-architecture i386

It shows up here: dpkg --print-foreign-architectures i386

but I can't install it:

apt-cache policy libsystemd0:{amd64,i386}
libsystemd0:
  Installed: 249.11-0ubuntu3.4
  Candidate: 249.11-0ubuntu3.4
  Version table:
 *** 249.11-0ubuntu3.4 100
        100 /var/lib/dpkg/status
     249.11-0ubuntu3 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
libsystemd0:i386:
  Installed: (none)
  Candidate: 249.11-0ubuntu3
  Version table:
     249.11-0ubuntu3 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/main i386 Packages
apt install libsystemd0:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 apt : Depends: adduser but it is not going to be installed
       Depends: gpgv or
                gpgv2 but it is not going to be installed or
                gpgv1 but it is not going to be installed
       Depends: libapt-pkg6.0 (>= 2.4.6) but it is not going to be installed
       Depends: libc6 (>= 2.34) but it is not installable
       Depends: libgcc-s1 (>= 3.3.1) but it is not going to be installed
       Depends: libgnutls30 (>= 3.7.0) but it is not going to be installed
       Depends: libseccomp2 (>= 2.4.2) but it is not going to be installed
       Depends: libstdc++6 (>= 11) but it is not going to be installed
       Depends: libsystemd0 but it is not installable
       Recommends: ca-certificates but it is not going to be installed

Edit: for the record, following the instructions here: https://www.linuxcapable.com/how-to-install-winehq-on-ubuntu-22-04-lts/

sudo apt install software-properties-common apt-transport-https wget -y
wget -O- https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor | sudo tee /usr/share/keyrings/winehq.gpg
echo deb [signed-by=/usr/share/keyrings/winehq.gpg] http://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main | sudo tee /etc/apt/sources.list.d/winehq.list

All of those commands complete without errors. Then

root@michalk-desktop:~# apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://dl.winehq.org/wine-builds/ubuntu jammy InRelease [8,041 B]                                                     
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease                                                            
Get:4 http://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages [35.1 kB]                                  
Get:5 http://dl.winehq.org/wine-builds/ubuntu jammy/main all Packages [928 B]                                                                                   
Get:6 http://dl.winehq.org/wine-builds/ubuntu jammy/main i386 Packages [34.9 kB]                                                                                
Hit:7 https://download.virtualbox.org/virtualbox/debian jammy InRelease                                                                        
Hit:8 https://ppa.launchpadcontent.net/savoury1/chromium/ubuntu jammy InRelease                                    
Hit:9 https://ppa.launchpadcontent.net/savoury1/ffmpeg4/ubuntu jammy InRelease
Fetched 79.0 kB in 2s (35.1 kB/s)                          
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@michalk-desktop:~# sudo apt install winehq-stable --install-recommends  -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package winehq-stable

So, trying staging:

root@michalk-desktop:~# sudo apt install winehq-staging --install-recommends  -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 winehq-staging : Depends: wine-staging (= 7.14~jammy-1)
E: Unable to correct problems, you have held broken packages.

root@michalk-desktop:~# sudo apt install wine-staging --install-recommends  -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 apt : Depends: libapt-pkg6.0 (>= 2.4.6) but it is not going to be installed
       Depends: libsystemd0 but it is not installable
 bsdutils : PreDepends: libsystemd0 but it is not installable
 init : PreDepends: systemd-sysv
 libasound2:i386 : Depends: libc6:i386 (>= 2.34) but it is not installable
 libasound2-plugins:i386 : Depends: libc6:i386 (>= 2.34) but it is not installable
                           Depends: libjack-jackd2-0:i386 (>= 1.9.10+20150825) but it is not installable or
                                    libjack-0.125:i386
                           Depends: libpulse0:i386 (>= 0.99.1-1~) but it is not installable

and so forth.

Edit:

sudo apt install --reinstall libsystemd0=249.11-0ubuntu3
...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 init : PreDepends: systemd-sysv
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

This machine is a fresh install, about one week old. The only 20.04 remnants is my home directory. I don't pin packages, or rarely install packages with dpkg -i to prevent dependency hell. I don't think I have broken packages, I think this is what it thinks is an "impossible situation". It may be easier for me to do a reinstall of the OS.

Edit: more information.

dpkg -l | egrep -v '^ii|rc'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
+++-==========================================-=============================================-============-================================================================================
grep -r deb /etc/apt/sources.list /etc/apt/sources.list.d/
/etc/apt/sources.list:deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib
/etc/apt/sources.list:# deb cdrom:[Ubuntu 22.04 LTS _Jammy Jellyfish_ - Release amd64 (20220419)]/ jammy main restricted
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ jammy main restricted
/etc/apt/sources.list:# deb-src http://us.archive.ubuntu.com/ubuntu/ jammy main restricted
/etc/apt/sources.list:# deb-src http://us.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ jammy universe
/etc/apt/sources.list:# deb-src http://us.archive.ubuntu.com/ubuntu/ jammy universe
/etc/apt/sources.list:# deb-src http://us.archive.ubuntu.com/ubuntu/ jammy-updates universe
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ jammy multiverse
/etc/apt/sources.list:# deb-src http://us.archive.ubuntu.com/ubuntu/ jammy multiverse
/etc/apt/sources.list:# deb-src http://us.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
/etc/apt/sources.list:deb-src http://us.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu jammy-security main restricted
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu jammy-security universe
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu jammy-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu jammy-security multiverse
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu jammy-security multiverse
/etc/apt/sources.list:# (e.g. netinst, live or single CD). The matching "deb cdrom"
/etc/apt/sources.list.d/savoury1-ubuntu-ffmpeg4-jammy.list:deb https://ppa.launchpadcontent.net/savoury1/ffmpeg4/ubuntu/ jammy main
/etc/apt/sources.list.d/savoury1-ubuntu-ffmpeg4-jammy.list:# deb-src https://ppa.launchpadcontent.net/savoury1/ffmpeg4/ubuntu/ jammy main
/etc/apt/sources.list.d/savoury1-ubuntu-chromium-jammy.list:deb https://ppa.launchpadcontent.net/savoury1/chromium/ubuntu/ jammy main
/etc/apt/sources.list.d/savoury1-ubuntu-chromium-jammy.list:# deb-src https://ppa.launchpadcontent.net/savoury1/chromium/ubuntu/ jammy main
/etc/apt/sources.list.d/savoury1-ubuntu-chromium-jammy.list.save:deb https://ppa.launchpadcontent.net/savoury1/chromium/ubuntu/ jammy main
/etc/apt/sources.list.d/savoury1-ubuntu-chromium-jammy.list.save:# deb-src https://ppa.launchpadcontent.net/savoury1/chromium/ubuntu/ jammy main
/etc/apt/sources.list.d/owncloud.list:deb https://download.owncloud.com/desktop/ownCloud/stable/2.10/linux/Ubuntu_22.04/ /
/etc/apt/sources.list.d/savoury1-ubuntu-ffmpeg4-jammy.list.save:deb https://ppa.launchpadcontent.net/savoury1/ffmpeg4/ubuntu/ jammy main
/etc/apt/sources.list.d/savoury1-ubuntu-ffmpeg4-jammy.list.save:# deb-src https://ppa.launchpadcontent.net/savoury1/ffmpeg4/ubuntu/ jammy main

Edit: more info root@michalk-desktop:~# apt-show-versions | fgrep avail root@michalk-desktop:~# apt-show-versions doesn't have anything with "avail"

Ubuntu 21.10: Disabled "Allow flipping" in NVIDIA X server settings to fix refresh rate problem, but now there is screen tearing https://askubuntu.com/questions/1374364/ubuntu-21-10-disabled-allow-flipping-in-nvidia-x-server-settings-to-fix-refre

I was having the same issue as was described here: Dual monitors setup capped at 60hz

I did the fix in that thread and it worked, but now my 60Hz monitor has really bad screen tearing on everything (I thought there wasn't screen tearing on the 144Hz monitor, but there was. It seems that's just a limitation with X).

I think I've narrowed it down to "allow flipping". If I have it on, there is no screen tearing, but almost every thing on the 144Hz monitor is stuck at 60Hz.

Is there a way to fix this while keeping the 144Hz monitor at 144Hz?

(I'm on ubuntu 21.10 btw, but it was also happening on 21.04)

"Sorry, there was a problem completing the installation" screen https://askubuntu.com/questions/1346019/sorry-there-was-a-problem-completing-the-installation-screen

I am installing Ubuntu Server 20.04 on a VM (in Ubuntu). I tried virt-manager and VMbox, but both show the same error. I have tried some solutions on the internet, but they did not work for me.

screenshot

No NVIDIA settings except Prime Profiles https://askubuntu.com/questions/1236143/no-nvidia-settings-except-prime-profiles

My machine is an Alienware m15r1 with an NVIDIA RTX 2060 graphics card. I have Ubuntu 20.04 LTS installed, and I use NVIDIA drivers 440.

Whenever I run nvidia-settings, I only get one tab option on the left side, which is PRIME PROFILES. There is no other option available to me.

Here is a screenshot of my NVIDIA X Server Settings:

[![nvidia-settings][1]][1]

And here is a screenshot from the terminal output of nvidia-settings.

ame-ru@abyss:~$ nvidia-settings

ERROR: Unable to load info from any available system


(nvidia-settings:39733): GLib-GObject-CRITICAL **: 18:55:57.516: g_object_unref:
assertion 'G_IS_OBJECT (object)' failed
** Message: 18:55:57.518: PRIME: Requires offloading
** Message: 18:55:57.518: PRIME: is it supported? yes
** Message: 18:55:57.541: PRIME: Usage: /usr/bin/prime-select nvidia|intel|on-de
mand|query
** Message: 18:55:57.541: PRIME: on-demand mode: "1"
** Message: 18:55:57.541: PRIME: is "on-demand" mode supported? yes
█ 

Here's the output of lspci -k | grep -EA3 'VGA|3D|Display'.

crossorigin@nitro:~$ lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
        DeviceName: Onboard - Video
        Subsystem: Dell UHD Graphics 630 (Mobile)
        Kernel driver in use: i915

01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2060 
Mobile] (rev a1)
        Subsystem: Dell TU106M [GeForce RTX 2060 Mobile]
        Kernel driver in use: nvidia
        Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
crossorigin@nitro:~$ █

What can I do to resolve this?

How to configure USB to HDMI in Ubuntu 18.04? https://askubuntu.com/questions/1211354/how-to-configure-usb-to-hdmi-in-ubuntu-18-04

I want to connect my external monitor with my laptop using an USB to HDMI device, a Fresco Logic inc. FL2000 USB to HDMI adapter (identified by lsusb as Bus 002 Device 005: ID 1d5c:2000), but I don't know how to get it work with Ubuntu 18.04.

How do I use that adapter to send video to an HDMI monitor?

What's the difference between NVIDIA third-party free and distro non-free drivers? https://askubuntu.com/questions/1205669/whats-the-difference-between-nvidia-third-party-free-and-distro-non-free-driver

Mostly I focus on better driver performance. Whats the difference? I have NVIDIA 435 Distro Non-Free driver and NVIDIA 440 third-party free driver recommended as shown below:

mantas@mantas-pc:~$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001C81sv0000196Esd000011C0bc03sc00i00
vendor   : NVIDIA Corporation
model    : GP107 [GeForce GTX 1050]
driver   : nvidia-driver-435 - distro non-free
driver   : nvidia-driver-440 - third-party free recommended
driver   : nvidia-driver-390 - distro non-free
driver   : nvidia-driver-430 - third-party free
driver   : xserver-xorg-video-nouveau - distro free builtin

mantas@mantas-pc:~$ █

Which Nvidia graphics driver to pick?

Sound card not detected (Dummy Output only) on Dell XPS 13 9350 https://askubuntu.com/questions/1180851/sound-card-not-detected-dummy-output-only-on-dell-xps-13-9350

My Dell XPS 13 9350 laptop came with Ubuntu 14.04 installed and I had never had sound issues. Since an upgrade to Ubuntu 18.04 the laptop has produced no sound so I've tried applying various fixes found online, possibly messing up more things.

  • In the graphical interface, in the "Settings > Sound > Output" the only available device is Dummy Output. The same Dummy Ouput name appears when I change volume through F-keys.

  • pulseaudio -k && sudo alsa force-reload unloads ALSA sound drivers then reloads them but this does not restore sound.

  • pacmd list-cards gives 0 card(s) available.

About ALSA

On the other hand, aplay -l finds a sound card whose number matches the "Audio controller" RealTek ALC3246 listed in the BIOS:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3246 Analog [ALC3246 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ grep "Codec:" /proc/asound/card*/codec*
Codec: Realtek ALC3246

This is consistent with the behaviour of alsamixer, which shows Realtex ALC3246 and a bunch of gauges I can vary, with no effect.

Since all seems normal for ALSA, I tried bypassing pulseaudio. First, speaker-test does not produce any sound. Next I tried

aplay -D sysdefault ~/Downloads/file_example_WAV_1MG.wav

without success. With the -vvv option I can see an indicator bar showing the volume varying along the music; still no sound. Repeating the experiment with pulseaudio uninstalled (sudo apt-get purge pulseaudio) does not help.

lsof, ps and lsmod

lsof /dev/snd/* gives no output at all (but as per ls the directory /dev/snd contains: by-path controlC0 hwC0D0 pcmC0D0c pcmC0D0p seq timer).

$ ps -ef | grep pulse
gdm       2168  1827  0 19:53 ?        00:00:00 /usr/bin/pulseaudio --daemonize=no
bruno     2555     1  0 19:54 ?        00:00:00 /usr/bin/pulseaudio --start --log-target=syslog
bruno     4106  3923  0 20:11 pts/2    00:00:00 grep --color=auto pulse

$ lsmod | grep snd
snd_soc_skl           106496  0
snd_soc_hdac_hda       24576  1 snd_soc_skl
snd_hda_ext_core       28672  2 snd_soc_hdac_hda,snd_soc_skl
snd_soc_skl_ipc        65536  1 snd_soc_skl
snd_soc_sst_ipc        20480  1 snd_soc_skl_ipc
snd_soc_sst_dsp        36864  1 snd_soc_skl_ipc
snd_soc_acpi_intel_match    28672  1 snd_soc_skl
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_soc_skl
snd_hda_codec_realtek   114688  1
snd_soc_core          233472  2 snd_soc_hdac_hda,snd_soc_skl
snd_hda_codec_generic    77824  1 snd_hda_codec_realtek
snd_compress           24576  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_intel          49152  0
snd_hda_codec         135168  4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core           86016  7 snd_hda_codec_generic,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               102400  7 snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
ledtrig_audio          16384  3 snd_hda_codec_generic,snd_hda_codec_realtek,dell_laptop
snd_seq_midi           20480  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            36864  1 snd_seq_midi
snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              36864  2 snd_seq,snd_pcm
snd                    86016  12 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
soundcore              16384  1 snd

pulseaudio -v

I just killed and reran pulseaudio verbosely with pulseaudio -k ; pulseaudio -v and some messages seem interesting.

I: [pulseaudio] (alsa-lib)utils.c: could not open configuration file /usr/share/alsa/ucm/HDA Intel PCH at 0xdc328000 irq 133/HDA Intel PCH at 0xdc328000 irq 133.conf
I: [pulseaudio] (alsa-lib)parser.c: error: could not parse configuration for card HDA Intel PCH at 0xdc328000 irq 133
I: [pulseaudio] (alsa-lib)parser.c: uknown master file field pcm
I: [pulseaudio] (alsa-lib)parser.c: uknown master file field HDA-Intel
I: [pulseaudio] alsa-ucm.c: UCM available for card HDA Intel PCH
E: [pulseaudio] alsa-ucm.c: No UCM verb is valid for HDA Intel PCH
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="pci-0000_00_1f.3" card_name="alsa_card.pci-0000_00_1f.3" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed.
I: [pulseaudio] module-udev-detect.c: Card /devices/pci0000:00/0000:00:1f.3/sound/card0 (alsa_card.pci-0000_00_1f.3) failed to load module.
I: [pulseaudio] module-udev-detect.c: Found 1 cards.
Is my Nvidia driver working or not? https://askubuntu.com/questions/1090936/is-my-nvidia-driver-working-or-not

If run the command prime-select query it returns nvidia, however if I run nvidia-smi it looks like my Nvidia processor is not being used.

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.73       Driver Version: 410.73       CUDA Version: 10.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 105...  Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   52C    P3     N/A /  N/A |      0MiB /  4042MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

I can't use nvidia-settings to diagnose because for some reason it won't open on my computer. If this is a Wayland issue, well Gnome crashes immediately with Xorg when I have 410 nvidia driver installed.

If I run dmesg | grep nvidia I get the following output:

nico@nico-XPS-15-9570:~$ dmesg | grep nvidia
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.19.1-041901-generic root=UUID=899fc278-6886-4423-a1c5-002e2f3267b2 ro quiet splash mem_sleep_default=deep nouveau.modeset=0 nvidia-drm.modeset=1 vt.handoff=1
[    0.111062] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.1-041901-generic root=UUID=899fc278-6886-4423-a1c5-002e2f3267b2 ro quiet splash mem_sleep_default=deep nouveau.modeset=0 nvidia-drm.modeset=1 vt.handoff=1
[    2.401559] nvidia: loading out-of-tree module taints kernel.
[    2.401565] nvidia: module license 'NVIDIA' taints kernel.
[    2.418952] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    2.425837] nvidia-nvlink: Nvlink Core is being initialized, major device number 236
[    2.426012] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[    2.531250] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  410.73  Sat Oct 20 22:08:51 CDT 2018
[    3.063889] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    4.517742] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[    5.067613] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 234
nico@nico-XPS-15-9570:~$

If I run inxi -G I get the following output:

nico@nico-XPS-15-9570:~$ inxi -G  
Graphics:  Card-1: Intel Device 3e9b  
           Card-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile]  
           Display Server: wayland (X.Org 1.19.6 )  
           drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)  
           Resolution: 1920x1080@59.96hz  
           OpenGL: renderer: Mesa DRI Intel HD Graphics (Coffeelake 3x8 GT2)
           version: 4.5 Mesa 18.0.5
Installing nvidia-396 on an Ubuntu MATE laptop https://askubuntu.com/questions/1077407/installing-nvidia-396-on-an-ubuntu-mate-laptop

I have a problem with using the nvidia-396 driver in Ubuntu MATE 18.04.

I have a brand new HP Pavilion Power 15-CB084NO laptop with a Nvidia GeForce GTX 1050 graphics card. I'm trying to use an external monitor connected via HDMI, however Ubuntu MATE doesn't detect any signal from the monitor when I'm in "Monitor Preferences" and pressing "Detect Monitors". Windows 10 can detect the monitor on the same laptop, so it's not a hardware problem.

I have installed nvidia-driver-396, and in "Software & Updates / Additional Drivers," it appears that it's working (see screenshot below):

Screenshot Software and Updates

For some reason, it appears that it's not working anyway, and that this is the reason why I can't get a signal on the external monitor.

When I type cat /var/log/gpu-manager.log in the terminal, a part of the reply is:

Is nvidia loaded? no
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? no
Is amdgpu blacklisted? no
Is amdgpu versioned? no
Is amdgpu pro stack? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is nvidia kernel module available? yes
Is amdgpu kernel module available? no

What am I doing wrong? Does anybody know how to fix this in MATE?

Ubuntu 17.10 won't use Nvidia drivers, but uses Nouveau instead https://askubuntu.com/questions/995558/ubuntu-17-10-wont-use-nvidia-drivers-but-uses-nouveau-instead

I'm running Ubuntu 17.10 for a while now. I have a Lenovo Ideapad 510-15ISK with a Nvidia Geforce 940MX and some Intel integrated graphics card. This was working fine with Dota 2, which I play. I had installed the Nvidia Proprietary drivers 384.111.

But suddenly I noticed when playing Dota 2 that the framerate was decreased a lot, from a steady 100 to about 30 - 40. I of course assumed there was a driver issue. So I found out that the Nvidia drivers weren't used anymore but the nouveau drivers instead:

03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
Subsystem: Lenovo GM108M [GeForce 940MX]
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at 93000000 (32-bit, non-prefetchable) [size=16M]
Memory at 80000000 (64-bit, prefetchable) [size=256M]
Memory at 90000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [disabled] [size=128]
Expansion ROM at <ignored> [disabled]
Capabilities: <access denied>
Kernel modules: nvidiafb, nouveau

I found out that 'nvidiafb' is not the Nvidia Proprietary driver.

However, when I look in 'Software & Updates', it states that I'm using the proprietary drivers. See this screenshot:

nvidia drivers

As you can see in the screenshot, I've changed driver versions. I've already tried purging all nvidia drivers and reinstalling. I've used both 384.111 and 390.12, but in all cases, my Ubuntu installation still uses the nouveau drivers instead.

Also I've tried to add the nouveau drivers to the blacklist, but that won't make a difference.

What could be the problem? How can I make Ubuntu use the proprietary drivers again? Hopefully I gave enough information, let me know if I need to give more information.

(Probably, because of this, the Nvidia X Server application won't start.)

Ubuntu 17 no redirection to WiFi login page (only in some networks) https://askubuntu.com/questions/961557/ubuntu-17-no-redirection-to-wifi-login-page-only-in-some-networks

I installed Ubuntu 17 on a Lenovo Ideapad 700 and I'm having some troubles connecting to only some public WiFi networks. The problem is, after connecting to the hotel's WiFi, Firefox won't redirect me to the login page. But in my office's WiFi network it perfectly redirects to login page without any issues.

Please note that the hotel's WiFi network work with other devices. Also I tried to enter random URLs and IPs after googling and nothing seems to work.

Any help is much appreciated to resolve this issue.

Wifi doesn't detect any networks on 16.04 https://askubuntu.com/questions/789975/wifi-doesnt-detect-any-networks-on-16-04

I'm having troubles with wifi. I'm using a MacBook Pro 7,1 with a Broadcom 4322 wireless interface, and it theoretically works, but it's not showing any networks.

rfkill says that nothing is blocked, the module is up, and iwlist says that there are 32 channels available but doesn't find any networks when it scans.

Any help would be appreciated. Thanks!

UPDATE: So if the laptop is plugged in via ethernet, and then I reboot, I can get a wireless connection. If it's not, though, then I can't get anything. Very odd.

UPDATE II: Scratch that, it appears to be entirely random... buh.

Logitech Media Server web interface won't open on Ubuntu 14.04 https://askubuntu.com/questions/526345/logitech-media-server-web-interface-wont-open-on-ubuntu-14-04

I always worked on Microsoft Windows (latest one was Windows 7), but changed to Linux one year ago.

I used to run Logitech Media Server on Windows and also on Lubuntu without any problem. Smoothly installed.

Several months ago, I changed to Ubuntu 14.04 (because no more updates on Lubuntu version I had) and again installed the Logitech Media Server. Checked that the service is indeed running. But I'm not able to open the web interface on my localhost port 9000. "Not available."

I read on the Internet that perhaps the 32-bit version had to do with it so now I installed the 64-bit version of Ubuntu 14.04. But remains the same. Is there anything I overlooked?

Ubuntu SSH X11 Forwarded Client Very Slow https://askubuntu.com/questions/412781/ubuntu-ssh-x11-forwarded-client-very-slow

Running SSH X forwarded session from my Ubuntu 12LTS client to a SLES server results in very slow(seconds per mouse click) GUI app(on the server) performance.

Using a windows client from the same LAN with Putty and XMing to SSH to the same server hosted application is blazing fast(instantaneous).

Likewise, SSH -X from other SLES machines to the same server hosted application is very fast.

I have tried numerous combinations of ssh parameters(listed below) with no effect on performance. The Ubuntu client is painfully slow while PuTTY/XMing are very fast.

-X
-C
-o GSSAPIAuthentication no
-c blowfish-cbc

UseDNS no -- on the servers sshd_config
Multiple Samba workgroups https://askubuntu.com/questions/323534/multiple-samba-workgroups

Samba share "scanning" when just clicking on the network tab works perfect when the workgroup setting matches the windows workgroup

   workgroup = WORKGROUP

This is fine for a desktop but when I use my laptop and connect to many networks and try to connect to the network shares nothing shows until i update that line with the current workgroup. I can connect if i know the hostname (eg smb://hostname)

Windows PC's list all networks OK, Is there a way i can set Samba to do the same ?

I dont have administrator access to any of the shares and its unlikely the same name will be chosen for the 3.

How to Edit PDFs? https://askubuntu.com/questions/162037/how-to-edit-pdfs

I typically have two needs:

Scenario A. Change a single PDF page.

In this case I have a PDF but not the original source file used to create the PDF. I don't want to try to recreate the document from scratch. I'd like to open the PDF and change a few things. A good example of this scenario: I was responsible for planning a big event at a campground site, I had a PDF of the site. I wanted to start with that document, highlight some parts, add some labels, remove some parts that weren't relevant.

or

Scenario B. Combine PDFs or extract page(s) from a PDF

This scenario usually arises because I want a single PDF deliverable that is made up of parts that are best created in different programs. In this case I have the source files for all the documents but they don't play well enough together to easily create a single PDF deliverable. For part of it, I may want to use Libre Office Writer. For another page I may want to use Gimp. Still another page I may use Libre Office Calc. I could use Writer as the master document and embed images or the Calc object into that, but for ultimate control, you can't beat separate PDF documents that are then combined.

What are the best tools / processes for editing PDFs in Ubuntu?