Installing Chrome Remote Desktop on Ubuntu 24.04 https://askubuntu.com/questions/1563841/installing-chrome-remote-desktop-on-ubuntu-24-04

Initially I successfully installed Chrome Remote Desktop on my Ubuntu device and on my first remote connection, I realized that it was connecting to a new session, while blocking the local user to connect.

I tried to follow several recommendations in order to setup the application correctly, but no luck on that.

Anybody knows how to properly set it up?

Reading the Intel Management Engine (ME) fails and can't update BIOS https://askubuntu.com/questions/1563836/reading-the-intel-management-engine-me-fails-and-cant-update-bios

I know it has been asked a few times already, but the solutions I found don't seem to work. A few months ago my computer (ThinkPad t14 gen 2, running Ubuntu 24.0 4 iirc) crashed or something when booting and then nothing was the same. I had no more sound, Bluetooth and microphone. Through reinstalling stuff I managed to get the Bluetooth and sound back. Today, in an attempt to fix this, I reinstalled the whole OS cleanly, which did nothing.

I then saw a solution online saying to update the BIOS. I went to the webpage here where I got the latest version (1.69) of the BIOS. Then I flashed it on a fat32 USB thumb drive, booted and tried installing it, but to no avail. I got the error message "Re: BIOS Update fail: The process does not recognize this system". I tried to find a solution, on this page on which someone recommended using a few tweaks to get it on fat16. I tried again, but to no avail.

I think updating my BIOS is really supposed to fix the problem, but I don't seem to be able to update it. I don't understand why as I'm not very used to doing this.

Icons of external storage devices don't show up in the side bar https://askubuntu.com/questions/1563832/icons-of-external-storage-devices-dont-show-up-in-the-side-bar

I am a new Ubuntu user transitioning from Windows, and I am currently struggling with a hurdle in my learning journey. While I have managed to get comfortable with basic sudo commands in the terminal, I cannot get Ubuntu to automatically recognize or display external media. When I plug in an external drive or SD card to transfer files from my old PC, no media pop-up appears, and nothing shows up in the Dock or in the Files app.

Interestingly the devices are visible in the terminal when I run lsblk, but imaging tools like balenaEtcher and Raspberry Pi Imager also fail to see the storage.

My goal is to archive my old files into new Ubuntu folders, but I am currently blocked by this lack of media access. I feel like I might be missing a basic "handshake" or some setting that requires activation is not activated. Can someone please point me in the right direction to get my external storage devices recognized in the GUI?

Saving directly to my data partition https://askubuntu.com/questions/1563822/saving-directly-to-my-data-partition

Windows 11 refugee here. I'm a total newbie to Linux, but I'm making progress with Ubuntu.

My laptop has a 1 TB hard drive, which is partitioned into a 300 GB Linux partition and a 700 GB data partition. Ubuntu 24.04 is installed on the Linux partition, and the other one is still empty.

I want to set things up such that whatever documents, pictures, etc. I edit and save would be saved directly to my data partition, while all apps, config files, etc., pertaining to Ubuntu would stay on the Linux partition. Both partitions have been formatted as ext4 file systems.

The new kernel (6.17.0-14-generic) isn't recognizing my TP-Link Archer T9UH v1 (RTL8814AU) https://askubuntu.com/questions/1563769/the-new-kernel-6-17-0-14-generic-isnt-recognizing-my-tp-link-archer-t9uh-v1

I just installed 24.04.3 fresh from the installation media. APT updated and upgraded all.

My current kernel is 6.17.0-14-generic.

lsusb shows the following line:

Bus 010 Device 006: ID 2357:0106 TP-Link Archer T9UH v1 [Realtek RTL8814AU]

lsmod shows:

  • rtw88_8814au 12288 0
  • rtw88_8814a 266240 1 rtw88_8814au
  • rtw88_usb 28672 1 rtw88_8814au
  • rtw88_core 360448 2 rtw88_usb,rtw88_8814a
  • mac80211 1851392 2 rtw88_core,rtw88_usb
  • cfg80211 1462272 2 rtw88_core,mac80211

BUT the driver doesn't seem to be talking to the device as I have no IP and no activity light on the device like there was when using the old morronwr driver.

EDIT1: From journalctl... Feb 10 14:35:50 jDesktop kernel: rtw88_8814au 10-2:1.0: failed to request firmware

Feb 10 14:35:50 jDesktop kernel: rtw88_8814au 10-2:1.0: failed to load firmware

Feb 10 14:35:50 jDesktop kernel: rtw88_8814au 10-2:1.0: failed to setup chip efuse info

Feb 10 14:35:50 jDesktop kernel: rtw88_8814au 10-2:1.0: failed to setup chip information

Feb 10 14:35:50 jDesktop kernel: rtw88_8814au 10-2:1.0: probe with driver rtw88_8814au failed with error -22

Dual/Multi boot from persistant USB https://askubuntu.com/questions/1563749/dual-multi-boot-from-persistant-usb

I recently followed a guide on here that allowed me to install Ubuntu 24.04 lts on USB that was compatible with BIOS and UEFI. I have tested in on all of my computers and they all work great so far, except for my ARM based one, which of course won't work with this version of Ubuntu. I think it would be cool to also put windows 7 or 10 or something on a partition, but this may be beyond the scope of this project for me.

My question is, without ruining my partitions, how can I add other OS's to my USB stick that wont ruin my so far ultra compatible Ubuntu USB installation. I attached a link to the forum post on here that walked me through the first installation, as well as another post from the same user who detailed an older method for multiboot installation (see bottom of that post), but I think it may be out of date.

Current single boot method

Older multiboot method

Edit:

Thank you to karel for responding, basically I had to to set up my paritions in a very specific way according to those post to allow for booting with BIOS and UEFI. I am aware of tools to create multiboot usb drives, but if I use that tool will it ruin the way I had to set up my USB to be compatible with BIOS and UEFI? Should I resize my ext4 to unformated space and then use the multi boot tool on that space? Sorry, I am relatively new to live usbs and this project may be a bit advanced for me.

unattended-upgrades crash: AttributeError: module 'apt_pkg' has no attribute 'Warning' https://askubuntu.com/questions/1563717/unattended-upgrades-crash-attributeerror-module-apt-pkg-has-no-attribute-wa

After upgrade from Ubuntu 22.04 to 24.04, when I ran unattended-upgrade (with, e.g., the command sudo unattended-upgrade --dry-run --debug), I got the following error:

Traceback (most recent call last):
  File "/usr/bin/unattended-upgrade", line 83, in <module>
    import apt_inst
AttributeError: module 'apt_pkg' has no attribute 'Warning'

I tried with different approaches like reinstalling:

sudo apt dist-upgrade
sudo apt --fix-broken install
sudo apt upgrade
sudo apt remove --purge unattended-upgrades
sudo apt install unattended-upgrades

or reinstalling python3-apt with sudo apt install --reinstall python3-apt and:

sudo find /usr -name '*.pyc' -delete
sudo apt remove --purge python3-apt
sudo apt autoremove
sudo apt clean
sudo apt update
sudo apt install python3-apt
sudo find /usr -name '*.pyc' -delete
sudo apt remove --purge python3-apt
sudo apt --fix-broken install
sudo apt install -f
sudo dpkg --configure -a

or downloading it:

wget http://archive.ubuntu.com/ubuntu/pool/main/u/unattended-upgrades/unattended-upgrades_2.9.1+nmu6ubuntu1_all.deb
sudo dpkg -i unattended-upgrades_2.9.1+nmu6ubuntu1_all.deb
sudo apt --fix-broken install

But the error persists. Any idea of what is going on and how to solve it?


EDIT:

The output of apt policy python3-apt is:

python3-apt:
  Installed: 2.7.7ubuntu5.2
  Candidate: 2.7.7ubuntu5.2
  Version table:
 *** 2.7.7ubuntu5.2 500
        500 http://ar.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.7.7ubuntu5.1 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
     2.7.7ubuntu1 500
        500 http://ar.archive.ubuntu.com/ubuntu noble/main amd64 Packages
$ python3 -c 'import apt_pkg; print(apt_pkg.__file__)'
/usr/lib/python3.12/apt_pkg.so
$ python3 -c 'import platform, apt_pkg; print(platform.python_version()); print(apt_pkg.VERSION); print(apt_pkg.LIB_VERSION)'
3.12.3
2.8.3
6.0.0
Ethernet MTU problem with Intel Elkhart Lake Platform https://askubuntu.com/questions/1490199/ethernet-mtu-problem-with-intel-elkhart-lake-platform

I am using this board from congatec, and i am using Ubuntu 22.04.

I am trying to set the Ethernet MTU to 9000. Using this command i can see the max Ethernet MTU is 9000:

ip -d link list

I tried setting it to 9000, but i get this error:

xa70@xa70:~$ sudo ifconfig eno2 mtu 9000
SIOCSIFMTU: Invalid argument

I can set the mtu to a maximum of 4096:

xa70@xa70:~$ sudo ifconfig eno2 mtu 4097
SIOCSIFMTU: Invalid argument
xa70@xa70:~$ sudo ifconfig eno2 mtu 4096

I have also tried:

  1. Disabling the Ethernet interface before configuring the MTU
  2. Enabling Jumbo Packet Support in the Registers of the Ethernet Controller

Does anyone have an idea what i am doing wrong here?

EDIT:

This is the output of the command by jtessier72:

*-network:0               
   description: Ethernet interface
   product: Intel Corporation
   vendor: Intel Corporation
   physical id: 1d.1
   bus info: pci@0000:00:1d.1
   logical name: eno1
   version: 11
   serial: a6:3c:0b:94:06:5e
   size: 10Mbit/s
   capacity: 1Gbit/s
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi bus_master cap_list ethernet physical tp mii 10bt-fd 100bt-fd 1000bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=st_gmac driverversion=6.2.0-34-generic duplex=half latency=0 link=no multicast=yes port=twisted pair speed=10Mbit/s
   resources: iomemory:600-5ff irq:125 memory:6001340000-600137ffff


*-network:1
   description: Ethernet interface
   product: Intel Corporation
   vendor: Intel Corporation
   physical id: 1d.2
   bus info: pci@0000:00:1d.2
   logical name: eno2
   version: 11
   serial: de:db:d7:7b:11:80
   size: 10Mbit/s
   capacity: 1Gbit/s
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi bus_master cap_list ethernet physical tp mii 10bt-fd 100bt-fd 1000bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=st_gmac driverversion=6.2.0-34-generic duplex=half latency=0 link=no multicast=yes port=twisted pair speed=10Mbit/s
   resources: iomemory:600-5ff irq:157 memory:6001300000-600133ffff
"No WiFi adapter found", Ubuntu 22.04, Broadcom wireless drivers [14e4:4331] (rev 02) MacBook Pro https://askubuntu.com/questions/1461046/no-wifi-adapter-found-ubuntu-22-04-broadcom-wireless-drivers-14e44331-re

I used to have another version of Ubuntu on my old MacBook Pro and one day WiFi disappeared with the "No Wi-Fi Adapter Found" in the Settings. I tried to follow various options found on different forums, but it didn't help. I installed Ubuntu 22.04, but the problem is still the same.

Results of lshw -c network:

yuliia@yuliia-MacBookPro:~$ lshw -c network
WARNING: you should run this program as super-user.
  *-network UNCLAIMED
       description: Ethernet controller
       product: NetXtreme BCM57786 Gigabit Ethernet PCIe
       vendor: Broadcom Inc. and subsidiaries
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 21
       width: 64 bits
       clock: 33MHz
       capabilities: cap_list
       configuration: latency=0
       resources: memory:a0400000-a040ffff memory:a0410000-a041ffff memory:8fa00000-8fa007ff
  *-network
       description: Network controller
       product: BCM4331 802.11a/b/g/n
       vendor: Broadcom Inc. and subsidiaries
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list
       configuration: driver=bcma-pci-bridge latency=0
       resources: irq:17 memory:a0500000-a0503fff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
yuliia@yuliia-MacBookPro:~$

Results of lspci:

yuliia@yuliia-MacBookPro:~$ lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QS77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57786 Gigabit Ethernet PCIe (rev 21)
02:00.1 SD Host controller: Broadcom Inc. and subsidiaries BCM57765/57785 SDXC/MMC Card Reader (rev 21)
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4331 802.11a/b/g/n (rev 02)
04:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:03.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:04.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:05.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:06.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:00.0 System peripheral: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
yuliia@yuliia-MacBookPro:~$

Results of rfkill list all:

yuliia@yuliia-MacBookPro:~$ rfkill list all
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
yuliia@yuliia-MacBookPro:~$ grep b43 /etc/modprobe.d/*
/etc/modprobe.d/blacklist.conf:# replaced by b43 and ssb.
yuliia@yuliia-MacBookPro:~$ sudo dmesg | grep b43
[sudo] password for yuliia:
[    4.157642] b43-phy0: Broadcom 4331 WLAN found (core revision 29)
[    4.158838] b43-phy0: Found PHY: Analog 9, Type 7 (HT), Revision 1
[    4.158853] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2059, Revision 0, Version 1
[    4.158857] b43-phy0 warning: 5 GHz band is unsupported on this PHY
[    4.165618] b43 bcma0:1: Direct firmware load for b43/ucode29_mimo.fw failed with error -2
[    4.165657] b43 bcma0:1: Direct firmware load for b43/ucode29_mimo.fw failed with error -2
[    4.165698] b43 bcma0:1: Direct firmware load for b43-open/ucode29_mimo.fw failed with error -2
[    4.165729] b43 bcma0:1: Direct firmware load for b43-open/ucode29_mimo.fw failed with error -2
[    4.165733] b43-phy0 ERROR: Firmware file "b43/ucode29_mimo.fw" not found
[    4.165831] b43-phy0 ERROR: Firmware file "b43-open/ucode29_mimo.fw" not found
[    4.165909] b43-phy0 ERROR: You must go to [https://wireless.wiki.kernel.org/en/users/Drivers/b43#devicefirmware](https://www.google.com/search?q=https://wireless.wiki.kernel.org/en/users/Drivers/b43%23devicefirmware) and download the correct firmware for this driver version. Please carefully read all instructions on this website.

Results of lspci -vvnn | grep -A 9 Network:

yuliia@yuliia-MacBookPro:~$ lspci -vvnn | grep -A 9 Network
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4331 802.11a/b/g/n [14e4:4331] (rev 02)
        Subsystem: Broadcom Inc. and subsidiaries BCM4331 802.11a/b/g/n [14e4:4331]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-ParErr-Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at a0500000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: 
        Kernel driver in use: bcma-pci-bridge
        Kernel modules: bcma
yuliia@yuliia-MacBookPro:~$

I downloaded a file from here (http://www.lwfinger.com/b43-firmware/?C=D;O=A), but I don't know where I should locate it.

Update: after sudo dmesg | grep b43 - the following answer

Wifi adapter suddenly disappeared in Ubuntu 22.04.02 LTS https://askubuntu.com/questions/1455967/wifi-adapter-suddenly-disappeared-in-ubuntu-22-04-02-lts

First of all, I'm not an experienced user so please be as clear as possible in all answers. I recently installed Ubuntu 22.04 on a new HP Victus laptop (This one except with Intel Core i7-12700H and GeForce RTX 3050 Ti). The wifi was working fine. I was not messing with any settings, it just suddenly disconnected and now it says "no wifi adapter found" in settings. I have already tried some solutions from similar questions but nothing works. I'm now online using a tethered android phone.

The wifi adapter does not show up using 'sudo lshw -C network':

  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: eno1
       version: 16
       serial: a8:b1:3b:92:0a:eb
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.19.0-32-generic firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:19 ioport:3000(size=256) memory:82204000-82204fff memory:82200000-82203fff
  *-network
       description: Ethernet interface
       physical id: 12
       bus info: usb@3:3
       logical name: enx1e31043ced9f
       serial: 1e:31:04:3c:ed:9f
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=rndis_host driverversion=5.19.0-32-generic duplex=half firmware=RNDIS device ip=192.168.16.27 link=yes multicast=yes port=twisted pair

I ran a wireless-info script i found. The output is here.

sudo dmesg | grep iwl gives:

[    1.482435] Loading modules backported from iwlwifi
[    1.482436] iwlwifi-stack-public:master:10878:f4df8641

rfkill list gives:

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

iwconfig gives:

lo        no wireless extensions.

eno1      no wireless extensions.

enx1e31043ced9f  no wireless extensions.

I hope I haven't messed things up even further trying things from other questions without knowing exactly what I was doing (there are so many, i've lost track of everything I've done). I will use this computer for studying and I've spent a lot of time setting up all the software I will need, CUDA for molecular dynamics simulations and onedrive etc. So I would really like to avoid a fresh install if possible. Thank you in advance for your help.

How to connect Ubuntu 21.10 to tagged VLAN (netplan) https://askubuntu.com/questions/1386070/how-to-connect-ubuntu-21-10-to-tagged-vlan-netplan

I have network

VLAN:      4005
MTU:       1400
Subnet:    157.XX.XX.64/27
Gateway:   157.XX.XX.65
Netmask:   255.255.255.224
Broadcast: 157.XX.XX.95

I want to configure netplan Ubuntu 21.10 to IP 157.XX.XX.87

I have only two idea

network:
  version: 2
  renderer: networkd
  ethernets:
     ens3:
      dhcp: false
      optional: true
 bridges: 
   br2:
     interfaces:
     addresses: 
     - 157.XX.XX.87/32
vlans:
    vlan.4005:
    id: 4005
    link: ens3
    routes:
       - to: 0.0.0.0/0
         via: 157.XX.XX.65
         metric: 100
    mtu:1400

other idea

network:
  version: 2
  renderer: networkd
  ethernets:
     ens3:
      dhcp: false
      optional: true
      addresses: 
      - 157.XX.XX.87/32
 bridges: 
   br2:
     interfaces:
     addresses: 
     - 157.XX.XX.64/27
vlans:
    vlan.4005:
    id: 4005
    link: ens3
    routes:
       - to: 0.0.0.0/0
         via: 157.XX.XX.65
         metric: 100
    mtu:1400

Unfortunately, any my idea don't working. This server working under QEMU/KVM, therefore name of bridges and name of VLAN is define in KVM config.

What right place to setup ubuntu IP address in this case - in interface, in VLAN, in Bridge?

What right place so setup routes - in bridge or in VLAN?

What right place to setup MTU?

Is it possible to permanently show hidden files? https://askubuntu.com/questions/1358804/is-it-possible-to-permanently-show-hidden-files

Whenever I restart the OS or even after it locks, files are hidden again. I have selected to show hidden files numerous times but it always reverts back. I really have no desire to hide files and I spend a lot of times in hidden files. I have not been successful in making the setting persist at all.

I have tried using:

gsettings set org.gtk.Settings.FileChooser show-hidden true

But this eventually just returns to false.

Is this possible?

I have went through numerous topics of this same question here but very few discuss permanently toggling this. The only article that seems to have something useful was this but it doesn't work either...

I'm thinking of writing a shell script to just run that command every 5 mins but I really don't want to go that route.

For some insight, I this is a problem on 3 different computers all different brands and 2 are custom. This doesn't persist on a fresh install with nothing installed yet. Since 20.04 was released, this has never worked, I have to show hidden files numerous times per day while I am working. I never had this issue with any other version asides from 20.04.

getting vulkan error while running vulkaninfo https://askubuntu.com/questions/1322945/getting-vulkan-error-while-running-vulkaninfo

I'm getting this error when I use the command vulkaninfo ,im using Nvidia-driver-460 on Ubuntu 18.04

WARNING: [Loader Message] Code 0 : loader_icd_scan: Can not find 'ICD' object in ICD JSON file /usr/share/vulkan/icd.d/nvidia_layers.json.  Skipping ICD JSON
ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Could not get 'vkCreateInstance' via 'vk_icdGetInstanceProcAddr' for ICD libGLX_nvidia.so.0
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32
'DISPLAY' environment variable not set... skipping surface info
/build/vulkan-tools-136mCR/vulkan-tools-1.1.126.0+dfsg1/vulkaninfo/vulkaninfo.h:399: failed with ERROR_INITIALIZATION_FAILED
Slow Wired Connection on 20.04 https://askubuntu.com/questions/1257135/slow-wired-connection-on-20-04

I have very slow wired connection (less than 10Mbps), yet WiFi is fine at over 300 Mbps. I'd much prefer to use ethernet, but am currently on WiFi until I can find a solution. Most issues I've found on here relate to slow wifi, which isn't the case here.

Relatively new to Ubuntu, but willing to try anything and will provide any outputs needed.

E: output of lspci -knn | grep Eth -A3:

2a:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
    Subsystem: ASRock Incorporation I211 Gigabit Network Connection [1849:1539]
    Kernel driver in use: igb
    Kernel modules: igb
How to run script on startup with root https://askubuntu.com/questions/1127873/how-to-run-script-on-startup-with-root

I have my little script to start an application and do some more things on my Ubuntu 16.04 which looks like this:

#!/bin/bash
./ROC-smi/rocm-smi -d 1 --setfan 90
./ROC-smi/rocm-smi -d 0 --setfan 90
./ROC-smi/rocm-smi -d 2 --setfan 110
./ROC-smi/rocm-smi -d 3 --setfan 110
./ROC-smi/rocm-smi -d 4 --setfan 110
cd teamredminer-v0.4.1-linux
/usr/bin/screen -dm ./teamredminer --algo=cnr --url=*** --user=*** --pass=*** --watchdog_script

I want to autostart it with sudo. I tried rc.local with:

sh /path/to/my/script.sh
exit 0

I also tried using crontab with:

@reboot /path/to/my/script.sh

nothing worked, rc.local didn't show any errors when I tested it with sudo /etc/init.d/rc.local start, but when I type sudo screen -xr or screen -ls or sudo screen -ls, I always got a message that there's no screen to attach.

Wireless is connected but internet is not working with eth0 communicating with device and wlan0 as wireless connection https://askubuntu.com/questions/1089969/wireless-is-connected-but-internet-is-not-working-with-eth0-communicating-with-d

I am trying to set up my Ubuntu 16.04 machine to communicate with a lidar scanner (Hokuyo) through my Ethernet port (eth0) and have my WiFi connect to the internet over wlan0. The lidar communication works fine, but I get no internet through wireless even though Network Manager says I am connected.

My /etc/network/interfaces file is as follows (I deleted all the wlan0 info while troubleshooting so as of now just have the eth0):

auto lo
iface lo inet loopback

#Hokuyo Sensor
auto eth0
iface eth0 inet static
  address 192.168.0.11
  netmask 255.255.255.0
  gateway 192.168.0.1
metric 800

The WiFi is connected through the regular network manager, however I don't get any internet and cannot ping any websites.

Results of ifconfig:

/etc/network$ ifconfig
eth0      Link encap:Ethernet  HWaddr 8c:16:45:30:97:eb  
          inet addr:192.168.0.11  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::8e16:45ff:fe30:97eb/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:50 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6788 (6.7 KB)  TX bytes:6871 (6.8 KB)
          Interrupt:16 Memory:ed800000-ed820000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:3154 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3154 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:209714 (209.7 KB)  TX bytes:209714 (209.7 KB)

wlan0     Link encap:Ethernet  HWaddr a0:c5:89:a1:a8:15  
          inet addr:192.168.0.166  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::45e6:1af7:c161:97e1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:711 errors:0 dropped:0 overruns:0 frame:0
          TX packets:472 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:80467 (80.4 KB)  TX bytes:57784 (57.7 KB)

Results of sudo lshw -class network:

/etc/network$ sudo lshw -class network
[sudo] password for nicolaskk: 
  *-network
       description: Wireless interface
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlan0
       version: 78
       serial: a0:c5:89:a1:a8:15
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-33-generic firmware=34.0.1 ip=192.168.0.166 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:134 memory:ecd00000-ecd01fff
  *-network
       description: Ethernet interface
       product: Ethernet Connection (5) I219-LM
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: eth0
       version: 31
       serial: 8c:16:45:30:97:eb
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.1-3 ip=192.168.0.11 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:124 memory:ed800000-ed81ffff
How do I force BIOS to boot to shimx64.efi file when you turn OFF the computer? No dual boot needed https://askubuntu.com/questions/1083008/how-do-i-force-bios-to-boot-to-shimx64-efi-file-when-you-turn-off-the-computer

This will look like a duplicate but I assure you it's not. Unless I simply haven't found the solution yet from the correct post.

When boot-repair says, "Please do not forget to make your BIOS boot on sda1/EFI/ubuntu/shimx64.efi file!", how do I do this?

I would think that there should be NO difference between rebooting and turning off and then back on your computer. But in my case, there is.

Update: Now both restarting and turning off/on do not boot

I looked here: How do I make my BIOS boot on shimx64.efi file? (AND MANY OTHER SOURCES BUT TO NO AVAIL)

I tried, this: - as the previous post suggests. Update: along with reading the links that oldfred posted

ubuntu@ubuntu:~$ sudo efibootmgr -v

0001 shows that it points to my file. If I restart the computer, it boots (but very slowly), and it seems to be ok as long as I only restart (BUT if I turn off my computer, it will not boot and I am forced to use the USB live ubuntu install, and repeat the boot-repair install process. This is getting incredibly time consuming. Does anyone know how to force the system to always use this? I'm using the LVM setup on ubuntu install. And I believe i'm using EFI since the file is shimx64-efi.

Output from: (using live USB) ubuntu@ubuntu:~$ sudo efibootmgr -v

BootCurrent: 0008
Timeout: 0 seconds
BootOrder: 0001,0008,0006,0005,0000,0003,0004
Boot0000* Windows Boot Manager  VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* ubuntu    HD(1,GPT,f3e3baf6-59ba-457d-8dab-9b9770eace6e,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0003  UEFI: IP4 Realtek PCIe GBE Family Controller  PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(2089840f7458,0)/IPv4(0.0.0.00.0.0.0,0,0)AMBO
Boot0004  UEFI: IP6 Realtek PCIe GBE Family Controller  PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(2089840f7458,0)/IPv6([::]:[::]:,0,0)AMBO
Boot0005* Hard Drive    BBS(HD,,0x0)AMGOAMNO........o.S.T.1.0.0.0.L.M.0.2.4. .H.N.-.M.1.0.1.M.B.B....................A...........................>..Gd-.;.A..MQ..L.2.S.Q.R.9.J.C.F.0.A.5.0.6.6. . . . . . ......AMBOAMNO........u.K.i.n.g.s.t.o.n.D.T. .1.0.1. .G.2. .P.M.A.P....................A.............................B..Gd-.;.A..MQ..L.K.i.n.g.s.t.o.n.D.T. .1.0.1. .G.2. .P.M.A.P......AMBO
Boot0006* CD/DVD Drive  BBS(CDROM,,0x0)AMGOAMNO........o.T.S.S.T.c.o.r.p. .C.D.D.V.D.W. .S.N.-.2.0.8.B.B....................A...........................>..Gd-.;.A..MQ..L.8.R.9.F.G.6.C.E.0.9.D.0.Z.X. . . . . . ......AMBO
Boot0007  Could not parse device path: No such file or directory

I am about to restart my computer again (after reinstalling boot-repair, for the nth time), and am definitely not looking forward to repeating this process again. The reason for my post.

Update: Still did not reboot, created the following postbin: paste.ubuntu.com/p/PF3f4xNDjT On reboot, if I hit ESC at the splash screen, I get the following menu: menu of which none of these options work - they all just bring me straight back to this menu. And not one is this one which boot-repair said I need to boot to: sda1/EFI/ubuntu/shimx64.efi If I try 'other' and boot to rescue mode, it brings me to this prompt and stops: initramfs prompt As of 10/11/2018 10:10PM EST - I'm stuck

Thank you! I really appreciate any guidance here. This is driving me absolutely nuts!

Tool for manually labelling images https://askubuntu.com/questions/1065313/tool-for-manually-labelling-images

I have some blobs on a uniform background. I want a tool such that, when I click on an individual blob, it can detect its boundaries from the background, and paint it white. The blobs have distinct boundaries, and are brighter than the background. Then, once I am done with all the blobs, I want to click on the background, and paint it black, i.e. everything that hasn't been labeled as a blob should turn black.

What Ubuntu software would you recommend?

Find images in a Linux directory based on their resolution https://askubuntu.com/questions/1048914/find-images-in-a-linux-directory-based-on-their-resolution

I would like to scan all images in a directory (recursively within sub-folders), and find those with resolution higher than a specific threshold (e.g. say those with resolutions at least 800x600 or if easier, say with width higher than 1000 pixels). Then I would like to log their address in a text file, accompanying their resolution (or [width], [height] for a better formatting).

So log.txt would look like this:

/home/users/myuser/test/image1.jpg, 1800, 1600
/home/users/myuser/test/image20.jpg, 2800, 2600
/home/users/myuser/test/image30.jpg, 1500, 1200

How can I do that that using a bash script? I have to scan millions of images.

Uninstall MySQL workbench 6.2 on ubuntu 14.04 https://askubuntu.com/questions/1035977/uninstall-mysql-workbench-6-2-on-ubuntu-14-04

I have MySQL workbench 6.2 installed on my Ubuntu 14.04. I installed it using the downloaded package from mysql website. A Few days ago, it stopped showing me 'Server' menu options (from the top menu), also I am unable to see the import /export related options. So I am unable to import or export databases.

How to fix this or uninstall this software? I tried installing the default MySQL workbench 6.0 from the software center, but, after installing it does not show, only the 6.2 version is available for use.

I also tried this link but nothing worked

sudo apt-get remove mysql-workbench

results in

Package 'mysql-workbench' is not installed, so not removed

and

 sudo apt-get purge mysql-workbench

results in

Removing mysql-workbench (6.0.8+dfsg-2) ...
Purging configuration files for mysql-workbench (6.0.8+dfsg-2) ...

Looking for version 6.0 not the 6.2 version I have in use.

Please help.

How can I make videos out of image sequences, skipping every n files? https://askubuntu.com/questions/1011503/how-can-i-make-videos-out-of-image-sequences-skipping-every-n-files

I know how to make a video out of an image sequence using ffmpeg -i %0Xd.png or *.png etc. But what I'd like to do is somehow tell ffmpeg to skip every n files. E.g. if I have files numbered 0000, 0001, 0002, 0003, 0004, 0005, 0006 etc. I'd like to make a video out of files 0000, 0003, 0006, 0009 etc (i.e. taking every n==3rd file). Moving and renaming isn't really an option as I have hundreds of thousands of images, and I'd like to batch convert many different versions with different n amounts. e.g.

  • 0000, 0001, 0002... -> n1.mp4
  • 0000, 0002, 0004... -> n2.mp4
  • 0000, 0003, 0006... -> n3.mp4

etc.

Is this possible?

Masking a batch of images https://askubuntu.com/questions/943194/masking-a-batch-of-images

I have roughly 400 images of two hands doing gestures. The hands never meet. I need to remove the left hand from the image without changing the resolution or size of the image and basically would need to make the black color the same gray as the background. What are my best options to do so?

Here are four examples of the images I have in my dataset:

silhouette hands

Open two images side by side https://askubuntu.com/questions/869809/open-two-images-side-by-side

I have to compare lots of images (gif format) manually to each other. In order to do that I do the following steps:

  1. I open one image with the ubuntu image viewer
  2. I semi maximize the window to one side of the screen
  3. I do the same thing with the image I want to compare it to only putting it on the other side of the screen, of course

Since I need to do this for a lot of images I am wondering if there is an easier way to do this. Maybe another program?

The images I am comparing are located in different folders but have the same name. The folders contain multiple images, so it would be great to have the opportunity to select the next image from both folders.

Do you have any ideas how I could do this?

log error: "[drm:gen8_irq_handler [i915]] *ERROR* The master control interrupt lied (SDE)!" https://askubuntu.com/questions/687402/log-error-drmgen8-irq-handler-i915-error-the-master-control-interrupt-l

I get this error after installing Kubuntu 15.10 when restart Kubuntu:

[   74.873008] [drm:gen8_irq_handler [i915]] *ERROR* The master control interrupt lied (SDE)!

I use kernel 4.2.0-16 and KDE 5.4.2.

This error wil show on black background when i startup, shutdown and reboot. after that system work normal , nothing happen.

output command:

$ lspci -k | grep -EA2 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
        Subsystem: ASUSTeK Computer Inc. Device 19ad
        Kernel driver in use: i915

How to fix this error ?

Convert image color channels? https://askubuntu.com/questions/676327/convert-image-color-channels

So, I have an image and I want to be able to set the Red and Blue values so they're equal to the value of the Green in the image. This is because the image is entirely Green and I want it to appear White. Any ideas?

How do I fill certain percentage by height of an image using ImageMagick commands in ubuntu? https://askubuntu.com/questions/574306/how-do-i-fill-certain-percentage-by-height-of-an-image-using-imagemagick-command

I have an image with around 20% of its bottom filled with white color. But the image has some dots of other colors than white. I have 100s of such images which I would like to remove those dots from.

I have been using ImageMagick commands, and bash scripts to automate several tasks but I cannot find any command to fill certain percentage of an image from bottom by a solid color.

I need to remove the dots marked by the arrow

Feeding avconv one image after another https://askubuntu.com/questions/569732/feeding-avconv-one-image-after-another

I have recently taken a bunch of images to create a time-lapse video and using avconv and this was surprisingly easy (after looking up the right command).

But now I want to send each image through Imagemagick's convert function before passing it on to avconv.

This can be done by saving the edited pictures and using these as input for avconv. However, I'd like to avoid this mainly because it takes up a lot of space.

What I would like to do would be something like this

  • avconv runs in background
  • do { some processing; make image edits; send result to avconv; } repeat for all images
  • quit avconv saving the resulting video

How can I make on the fly picture edits when creating a time lapse video?

Recording audio on Ubuntu https://askubuntu.com/questions/247043/recording-audio-on-ubuntu

I want to record audio on several channels (mic, guitar, bass), but I can't get a hang of it. I have a Fender Mustang II guitar amp which I'm connecting via USB and a mic that connects through the standard mic jack. So far I've tried installing FL Studio on WINE but I don't have the FenderASIO driver so the amp is not recognized by the program. I also tried both LMMS which didn't recognize any input device and Audacity which recognized all the inputs but I was able to record sound only from my amp and only on one track. Whenever I tried to record on multiple tracks the whole computer freezes and I have to do a hard reset. Any suggestins?

get rid of software raid https://askubuntu.com/questions/131157/get-rid-of-software-raid

We are running software raid1 using MDADM on ubuntu 11.04. What's the best way to get rid of it Keeping the current system ?

I want to use hardware raid instead.

What I tried to do: -Copied the 1disk of software raid using HDClone. Configured degraded raid array without the second disk. Then copied everything from /dev/md0 onto a spare disk /dev/sdb using dd utility. However the copy wasn't accurate so I was not able to boot. I even tried to reinstall grub but it all didnt work. What's the best way to do this procedure? Thanks

How can I get a list of files on my computer that are not "owned" by any package? https://askubuntu.com/questions/108828/how-can-i-get-a-list-of-files-on-my-computer-that-are-not-owned-by-any-package

I'm contemplating writing a script that does this:

  • Goes through each file in /usr/lib
  • Does a dpkg -S search on each file.
  • Reports a list of "orphan" files not belonging to any .deb package.

The idea is that over time, I've installed a lot of make install software and I'd like to get a list of leftover files from manually installed software I've since deleted.