Simply, what can be done manually to trigger the XZ backdoor https://askubuntu.com/questions/1564482/simply-what-can-be-done-manually-to-trigger-the-xz-backdoor

Follow-up to my previous question on here:

Basically does the user of the Ubuntu Linux system have to use XZ Utils to create an infected liblzma for the sshd to use to activate the backdoor? As in “I can’t load! I need liblzma to run!” Does the user have to do essentially anything on Linux manually when they are connected to public sshd to trigger the backdoor

Sam James implied himself that using XZ Utils to create the infected library could infect your machine

The attack relied on OpenSSH linking to a library which in turn linked to the xz library and not on compression or decompression in anyway. The backdoor’s code was included as a part of the Xz build process.

Also was systemd notification enabled by default in OpenSSH?

Do you have to manually enable systemd notification in Linux or is it enabled by default?

Ubuntu 24.04 visual bug and unmounted volume after update https://askubuntu.com/questions/1564480/ubuntu-24-04-visual-bug-and-unmounted-volume-after-update

There is a folder that I can't select, open or delete on the lower part of the screen and unmounted volume in the side bar:

enter image description here

I don't know how to fix this. The folder shows with any application.

How can the [] messages in tmux be suppressed? https://askubuntu.com/questions/1564479/how-can-the-messages-in-tmux-be-suppressed

Using tmux in a script, tmux produces messages like [remote detached from 585664.devpts0] or [exited]

How can these messages be suppressed?

I use in config

set -g visual-bell off
set -g status off; 
set -g visual-activity  off

and 2>/dev/null for all the tmux commands, but I can't get rid of the messages.

OpenCV with Cuda - build - Ubuntu https://askubuntu.com/questions/1564478/opencv-with-cuda-build-ubuntu

Ref: https://gist.github.com/raulqf/f42c718a658cddc16f9df07ecc627be7

Assuming drivers and cuda toolkit are already setup perfectly

In my case: -Ubuntu 20

  • 4090 --sm_89 -- compute 8.9
  • cuda toolkit 11.8
  • OpenCV 4.10
mkdir ~/opencv_build/opencv
cd ~/opencv_build

$ wget -O opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
$ wget -O opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
$ unzip opencv.zip
$ unzip opencv_contrib.zip

 conda create -n opencv_env python==3.10
 conda activate opencv_env

 pip install numpy==1.26.4
 which python -- get path of env 

For passing : -D OPENCV_PYTHON3_INSTALL_PATH=~/miniconda3/envs/opencv/lib/python3.8/site-packages/ \
-D PYTHON_EXECUTABLE=~/miniconda3/envs/opencv/bin/python \

4090 -- arch sm_89 -- compute 8.9

cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D WITH_TBB=ON \
-D ENABLE_FAST_MATH=1 \
-D CUDA_FAST_MATH=1 \
-D WITH_CUBLAS=1 \
-D WITH_CUDA=ON \
-D BUILD_opencv_cudacodec=OFF \
-D WITH_CUDNN=ON \
-D OPENCV_DNN_CUDA=ON \
-D CUDA_ARCH_BIN=8.9 \
-D WITH_V4L=ON \
-D WITH_QT=OFF \
-D WITH_OPENGL=ON \
-D WITH_GSTREAMER=ON \
-D OPENCV_GENERATE_PKGCONFIG=ON \
-D OPENCV_PC_FILE_NAME=opencv.pc \
-D OPENCV_ENABLE_NONFREE=ON \
-D OPENCV_PYTHON3_INSTALL_PATH=~/miniconda3/envs/opencv/lib/python3.8/site-packages/ \
-D PYTHON_EXECUTABLE=~/miniconda3/envs/opencv/bin/python \
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_build/opencv_contrib-4.10.0/modules \
-D INSTALL_PYTHON_EXAMPLES=OFF \
-D INSTALL_C_EXAMPLES=OFF \
-D BUILD_EXAMPLES=OFF ..


make 
sudo make install


to check your GPU compute capability: https://developer.nvidia.com/cuda/gpus
WiFi issue and Network Manager unavailable https://askubuntu.com/questions/1564475/wifi-issue-and-network-manager-unavailable

I've an issue which I did try but no success. Before WiFi section on status bar and settings was available but now I can't access internet at all.

  • Operating System is 24.04.1 LTS
  • OS type 64-bit
  • Kernel Version: Linux 6.8.0-41

When I try;

sudo systemctl enable NetworkManager & sudo systemctl start NetworkManager

I get Output

Job for NetworkManager.srrvice failed because the control process exited with error code.
See "systemctl status NetworkManager.service" and "journalctl -xeu NotworkManager.service" for details 
About The XZ Backdoor’s Potential Impact (sshd XZ Compression Question) [closed] https://askubuntu.com/questions/1564472/about-the-xz-backdoor-s-potential-impact-sshd-xz-compression-question

This is a question about the XZ backdoor that I’ve tried to get answered for a while now.

Does a package only get compressed when it is updated or when the compressor used to compress it (e.g. Zstandard, XZ, etc.) is updated? I'm hoping this is only the case if the program itself gets updated because this would decrease the chance of exploits and backdoors.

I'm asking this for a friend and they're extremely scared about this kind of thing. Do Linux distros Debian and Ubuntu have to compress a package with XZ Utils/zstandard only once? Also was Ubuntu considering if they were going to compress OpenSSH around the time the XZ Utils backdoor was discovered? Asking this because projects improve with every update and I feel the same would apply to XZ Utils. I have a bit of hope though since it’s been documented to take longer for compression with XZ Utils than normal with the infected version (it’s really obvious) with compressed file size being slightly bigger than normal. Also old Debian images were discovered to have the backdoor so if the backdoor was shipped to every Linux distro (Ubuntu decided to update their latest version of XZ to 5.6.1) then it would probably be detected before the end of 2024 in such a scenario, if not then systemd would have applied the patch removing the loading of liblzma (liblzma loading was done by the distro though)

However if OpenSSH (the compressed/infected program needs to run with the process name of /usr/sbin/sshd) was planned to be converted with the new XZ Utils update at the time of the discovery of the backdoor or when XZ gets updated to v7 or something then that would be catastrophic for data centers which are built on Linux. Can any experienced Ubuntu developers tell me if they compress Linux packages with XZ once or with the latest update to a package or something? Or when XZ has a significant improvement? Basically were there any plans to compress OpenSSH at the time of the backdoor’s discovery or within a few years of the day the backdoor was found? (or ever again?)

Because Linux and OpenSSH/sshd dominate data centers (it powers most cloud infrastructure and servers) I feel like Linux sshd backdoors like the xz backdoor should have a lot of investigation until we're absolutely sure that it's not apocalyptic regardless if it makes it to stable or not. All it takes to collapse everything is activating the backdoor just by connecting to exposed sshd on Linux.

Can't install Ubuntu 24.04 as install prompt is distorted https://askubuntu.com/questions/1564471/cant-install-ubuntu-24-04-as-install-prompt-is-distorted

I'm a new user and wanted to try Linux. I downloaded the Ubuntu 24.04 ISO, installed it on a USB, and booted into it. I selected "install/try" and it loads the desktop. Attached is what I see. The install window is distorted and I can't click anything on it. I've restarted several times and it persists. The app icons in the app bar on the left (when expanded) look fine.

Attached image

Is there a way to have multiple applications use the same microphone and headphones at the same time? https://askubuntu.com/questions/1564451/is-there-a-way-to-have-multiple-applications-use-the-same-microphone-and-headpho

I'm a voice actor and I recently had a session with a game developer who wanted to do some live direction. We jumped into a Zoom call and I discovered the following:

  • Zoom was using my webcam microphone with no option to select the studio mic.
  • Zoom was using my headphones.
  • Audacity was using my studio microphone.
  • Audacity was not using my headphones.

As such, the client could only hear the crappy, webcam audio instead of the studio mic. While Audacity was recording with the correct microphone, playback wasn't audible to any of us (luckily, I didn't have to do any playback for them during the session). Once I exited Zoom, all of my audio devices showed up in Audacity's dropdown menus again. It's like the programs take ownership of the hardware and don't feel like sharing at all.

tl;dr - I'm trying to get multiple applications (Zoom and Audacity) to use the same microphone and headphones at the same time, hopefully without having to add yet more hardware into the chain (like a mixer).

Out of memory chrome - kiiling all processes and log out from my linux [closed] https://askubuntu.com/questions/1564438/out-of-memory-chrome-kiiling-all-processes-and-log-out-from-my-linux

I have an issue I am working with R, and using chrome, but only like 7 tabs, not more and got every couple of minute this error - Out of memory chrome - kiiling all processes number of processes in black screen..

And then it just logged out from my ubuntu..

I am not programmist, just tring to analyse some data not sure what this is and how to fix it.

I have found a lot of the same issues but not sure where to start and it's a scary thing to install or update something because I have a bad experience when this lead me to lose ubuntu and data on my laptop.

My ubuntu is pretty old - ubuntu 20.04

Google Chrome 130.0.6723.91

$ free -m
         total   used   free   shared    buff/cache    available
Mem:      7665   3858   2346      281    1459          3132 
Swap:     2047   1113   934

It seems I don't have oom

sudo apt remove systemd-oomd Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package systemd-oomd

But when I tried other option like sudo egrep -ri 'killed process' /var/log/ | grep -v auth.log

I got all over my terminal next - /var/log/syslog:Mar 1 19:34:13 alla-Vostro-5301 kernel: [24897.566394] Out of memory: Killed process 4525 (chrome) total-vm:34467328kB, anon-rss:59088kB, file-rss:0kB, shmem-rss:188kB, UID:1000 pgtables:1248kB oom_score_adj:200 /var/log/syslog:Mar 1 19:34:19 alla-Vostro-5301 kernel: [24903.880135] Out of memory: Killed process 4527 (chrome) total-vm:33965708kB, anon-rss:25396kB, file-rss:0kB, shmem-rss:400kB, UID:1000 pgtables:724kB oom_score_adj:200 /var/log/syslog:Mar 1 19:34:24 alla-Vostro-5301 kernel: [24908.383328] Out of memory: Killed process 18147 (rstudio) total-vm:34380728kB, anon-rss:2984kB, file-rss:0kB, shmem-rss:16736kB, UID:1000 pgtables:772kB oom_score_adj:200 /var/log/syslog:Mar 1 19:34:27 alla-Vostro-5301 kernel: [24911.879598] Out of memory: Killed process 18104 (rsession) total-vm:2706124kB, anon-rss:1824960kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:4376kB oom_score_adj:0 Binary file /var/log/journal/5e45b4b261ff4406bfce1d6962b0d179/system@644aef618ca04989908f6be5d7347365-0000000000058280-0006473d1b14c7c3.journal matches Binary file /var/log/journal/5e45b4b261ff4406bfce1d6962b0d179/system@644aef618ca04989908f6be5d7347365-000000000002453d-00064586927e8ab8.journal matches

I also got sign that - xorg closed, because of the out of memory

Offline Configuration of Wi‑Fi on Ubuntu Server for Raspberry Pi https://askubuntu.com/questions/1564431/offline-configuration-of-wi-fi-on-ubuntu-server-for-raspberry-pi

I’m preparing several Raspberry Pis that will all run Ubuntu Server. Since each device needs the same applications and initial configuration, I want to create a preconfigured image that I can flash onto any SD card. The only thing that should differ between devices is the Wi‑Fi configuration.

I need to be able to change the Wi‑Fi settings offline, while the SD card is mounted on another Linux system, before booting the Raspberry Pi. However, I can’t find any documentation on how to modify the Wi‑Fi configuration via Netplan without knowing the exact WLAN interface name or being able to run commands on the Pi itself.

It must be possible, though — for example, the Raspberry Pi Imager allows you to set Wi‑Fi credentials through its UI, and the system connects successfully on first boot.

Upgraded the WiFi card, now no WiFi at all, and won't always finish booting https://askubuntu.com/questions/1564093/upgraded-the-wifi-card-now-no-wifi-at-all-and-wont-always-finish-booting

Similar to Ubuntu 24.04 (Noble): Wi-Fi stopped working after kernel upgrade to 6.17.0-14-generic (Intel AX211 / iwlwifi), but the solution there does not work for me. As noted below, I'm on version 6.8 of the kernel, while that question is for version 6.17. Presumably, all of the solutions over there are also for 6.17, since they all boil down to the same thing that doesn't do anything for me. No change in behavior at all.


Ubuntu Studio 24.04.1 LTS (KDE 5, kernel 6.8) on a Dell Precision M6800 Mobile Workstation. It was rock-solid before, but I thought I'd upgrade the WiFi, since I found a forum post elsewhere that claimed success. So I got the exact model from that post, and swapped it in:

https://www.amazon.com/8774Mbps-Gigabit-Interface-Bluetooth-BE200HMW/dp/B0DNZS761K?th=1


Edit: Output of the Wireless Info Script is here:
https://drive.google.com/file/d/1hDamjIeDjaBPvvXzgR65BeXS4hg3Ec9n/view?usp=sharing

dmesg:
https://drive.google.com/file/d/1--iBvEnSYAVdLa33QNZh4S6fuPIyFllO/view?usp=sharing
I suspect the relevant part might be this, but I'm not sure what it means:

[    6.792669] Intel(R) Wireless WiFi driver for Linux
[    6.792777] iwlwifi 0000:03:00.0: enabling device (0000 -> 0002)
[    6.795777] iwlwifi 0000:03:00.0: Detected crf-id 0x1001910, cnv-id 0x1001910 wfpm id 0x80000000
[    6.795846] iwlwifi 0000:03:00.0: PCI dev 272b/00f0, rev=0x471, rfid=0x112100
[    6.822777] mc: Linux media interface: v0.10
[    6.847006] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-86.ucode failed with error -2
[    6.872835] workqueue: smp_call_on_cpu_callback hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND
[    6.924924] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-85.ucode failed with error -2
[    6.975001] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-84.ucode failed with error -2
[    6.975060] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-83.ucode failed with error -2
[    6.975086] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-82.ucode failed with error -2
[    7.008101] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-81.ucode failed with error -2
[    7.008151] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-80.ucode failed with error -2
[    7.008156] iwlwifi 0000:03:00.0: no suitable firmware found!
[    7.008159] iwlwifi 0000:03:00.0: minimum version required: iwlwifi-gl-b0-fm-b0-80
[    7.008162] iwlwifi 0000:03:00.0: maximum version supported: iwlwifi-gl-b0-fm-b0-86
[    7.008164] iwlwifi 0000:03:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

And on a LiveUSB of UbuntuStudio 24.04.4, with the newer kernel:

ubuntu-studio@ubuntu-studio:~$ sudo dmesg | grep iwl
[   20.141491] iwlwifi 0000:03:00.0: enabling device (0000 -> 0002)
[   20.164852] iwlwifi 0000:03:00.0: Detected crf-id 0x1001910, cnv-id 0x1001910 wfpm id 0x80000000
[   20.164925] iwlwifi 0000:03:00.0: PCI dev 272b/00f0, rev=0x471, rfid=0x112100
[   20.164929] iwlwifi 0000:03:00.0: Detected Intel(R) Wi-Fi 7 BE200 320MHz
[   20.179995] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-102.ucode failed with error -2
[   20.180058] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-101.ucode failed with error -2
[   20.180108] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-100.ucode failed with error -2
[   20.180160] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-99.ucode failed with error -2
[   20.180215] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-98.ucode failed with error -2
[   20.180217] iwlwifi 0000:03:00.0: no suitable firmware found!
[   20.180220] iwlwifi 0000:03:00.0: minimum version required: iwlwifi-gl-b0-fm-b0-98
[   20.180221] iwlwifi 0000:03:00.0: maximum version supported: iwlwifi-gl-b0-fm-b0-102
[   20.180223] iwlwifi 0000:03:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
ubuntu-studio@ubuntu-studio:~$

Back to the native install of 24.04.1 with the 6.8 kernel:

aaron@aaron-M6800:~$ locate iwlwifi-gl-c0-fm-c0-98.ucode
/home/aaron/Downloads/2026-02-17_WiFi/linux-firmware/intel/iwlwifi/iwlwifi-gl-c0-fm-c0-98.ucode
/usr/lib/firmware/iwlwifi-gl-c0-fm-c0-98.ucode
/usr/lib/firmware/iwlwifi-gl-c0-fm-c0-98.ucode.zst
aaron@aaron-M6800:~$ 

Continue reading for the order of troubleshooting.


It started up just fine, but no WiFi at all. lspci said:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d4)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d4)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d4)
00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d4)
00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d4)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM87 Express LPC Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GP104GLM [Quadro P5000 Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)
03:00.0 Network controller: Intel Corporation Wi-Fi 7(802.11be) AX1775*/AX1790*/BE20*/BE401/BE1750* 2x2 (rev 1a)
11:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)

So I swapped back to the old card, same configuration as before, and it wouldn't finish booting! First time it's done that in a VERY long time! It got as far as the second splash screen, after auto-login, for loading the user's settings, and then hung there, gear spinning for far longer than it normally does.

Eventually I gave up, held the power button to force it off, took the card out, and tried to run it with no WiFi card at all. Same thing again: hung on the spinning gear after auto-login.

So I went back to the one configuration that worked - the new WiFi card - and it STILL did the exact same thing: hung on loading user settings.

Then I went into the BIOS and got this, still with the new card:

Diagnostics

System Information

Integrated NIC

Misc

Wireless Switch

Wireless Enable

After that, it finally finished logging in, in the same time that it normally takes, but I don't know how or why since I didn't change anything. Still no WiFi.

aaron@aaron-M6800:~$ ifconfig
Command 'ifconfig' not found, but can be installed with:
sudo apt install net-tools
aaron@aaron-M6800:~$ sudo apt install net-tools
[sudo] password for aaron: 

...

aaron@aaron-M6800:~$ ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet ***.***.***.***  netmask ***.***.***.***  broadcast ***.***.***.***
        inet6 ****::****:****:****:****  prefixlen 64  scopeid 0x20<link>
        ether 34:e6:d7:**:**:**  txqueuelen 1000  (Ethernet)
        RX packets 143994  bytes 165365853 (165.3 MB)
        RX errors 0  dropped 2  overruns 0  frame 0
        TX packets 97963  bytes 16432715 (16.4 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf7800000-f7820000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 6661  bytes 719614 (719.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6661  bytes 719614 (719.6 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

aaron@aaron-M6800:~$ sudo lshw -class network
[sudo] password for aaron: 
  *-network                 
       description: Ethernet interface
       product: Ethernet Connection I217-LM
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eno1
       version: 04
       serial: 34:e6:d7:**:**:**
       size: 1Gbit/s
       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=6.8.0-94-lowlatency duplex=full firmware=0.13-3 ip=192.168.20.98 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:41 memory:f7800000-f781ffff memory:f783d000-f783dfff ioport:f080(size=32)
  *-network UNCLAIMED
       description: Network controller
       product: Wi-Fi 7(802.11be) AX1775*/AX1790*/BE20*/BE401/BE1750* 2x2
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 1a
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list
       configuration: latency=0
       resources: memory:f7700000-f7703fff
aaron@aaron-M6800:~$ rfkill list all
1: dell-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: dell-bluetooth: Bluetooth
        Soft blocked: yes
        Hard blocked: no
3: hci0: Bluetooth
        Soft blocked: yes
        Hard blocked: no
aaron@aaron-M6800:~$ sudo dmesg | grep -i firmware
[23505.872167] audit: type=1400 audit(1771394432.473:1374): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=40061 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
aaron@aaron-M6800:~$ 

Fortunately, my home dock is wired, which is how I'm posting this, but I do need WiFi when I take it places. At this point, I'd be happy if either card worked, but of course I'd still prefer the new one. Any ideas?

make command throws different name for gcc-12 https://askubuntu.com/questions/1536325/make-command-throws-different-name-for-gcc-12

Trying to install vmware modules as shown in this: https://superuser.com/a/1733280, but whenever I try to run make, this error shows up

  The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
  You are using:           gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0

I can't really find info on this online, I'd like some help as I am not that experienced with Linux in general.

Fixing No Sound (Dummy Output) Issue in Ubuntu 24.04 https://askubuntu.com/questions/1515538/fixing-no-sound-dummy-output-issue-in-ubuntu-24-04

After updating my Ubuntu to version 24.04, my desktop PC (Gigabyte H510M-K DDR4) can't detect audio drivers. Headphones work, but external speakers are not recognized.

~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC897 Analog [ALC897 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [PHL 271V8]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

In the Sound Settings, it only shows 'Dummy Output'. I have attempted various troubleshooting steps, including:

  • sudo apt install --reinstall pulseaudio
  • sudo apt install --reinstall alsa-base alsa-utils
  • sudo apt install pulseaudio
  • sudo apt install pavucontrol
  • pulseaudio -k && sudo alsa force-reload
  • sudo touch /usr/share/pipewire/media-session.d/with-pulseaudio
  • systemctl --user restart pipewire-session-manager
  • systemctl --user restart wireplumber pipewire pipewire-pulse
  • sudo apt install pipewire-audio-client-libraries pipewire-pulse it
  • sudo nano /etc/modprobe.d/alsa-base.conf
  • sudo nano /etc/modprobe.d/blasklist.conf
  • sudo modprobe snd-hda-intel
  • Trying different options such as options snd-hda-intel model=auto and blacklist snd_soc_avs

But it did not work:

~$ sudo modprobe snd-hda-intel
~$ sudo alsa force-reload
Unloading ALSA sound driver modules: snd-seq-dummy snd-seq-midi snd-seq-midi-event snd-rawmidi snd-sof-pci-intel-tgl snd-sof-intel-hda-common snd-sof-intel-hda snd-sof-pci snd-sof-xtensa-dsp snd-sof snd-sof-utils snd-soc-hdac-hda snd-soc-acpi-intel-match snd-soc-acpi snd-hrtimer snd-seq snd-seq-device snd-sof-intel-hda-mlink snd-hda-codec-realtek snd-hda-codec-generic snd-hda-ext-core snd-soc-core snd-hda-codec-hdmi snd-compress snd-pcm-dmaengine snd-hda-intel snd-intel-dspcfg snd-intel-sdw-acpi snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer (failed: modules still loaded: snd-hrtimer snd-seq snd-seq-device snd-sof-intel-hda-mlink snd-hda-codec-realtek snd-hda-codec-generic snd-hda-ext-core snd-soc-core snd-hda-codec-hdmi snd-compress snd-pcm-dmaengine snd-hda-intel snd-intel-dspcfg snd-intel-sdw-acpi snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer).
Loading ALSA sound driver modules: snd-seq-dummy snd-seq-midi snd-seq-midi-event snd-rawmidi snd-sof-pci-intel-tgl snd-sof-intel-hda-common snd-sof-intel-hda snd-sof-pci snd-sof-xtensa-dsp snd-sof snd-sof-utils snd-soc-hdac-hda snd-soc-acpi-intel-match snd-soc-acpi snd-hrtimer snd-seq snd-seq-device snd-sof-intel-hda-mlink snd-hda-codec-realtek snd-hda-codec-generic snd-hda-ext-core snd-soc-core snd-hda-codec-hdmi snd-compress snd-pcm-dmaengine snd-hda-intel snd-intel-dspcfg snd-intel-sdw-acpi snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer
~$ pulseaudio --kill
~$ journalctl --user -u pulseaudio.service | awk '{print $5 "\t" $6}'

systemd[3097]:  Starting
pulseaudio[14920]:  Daemon
pulseaudio[14920]:  pa_pid_file_create()
systemd[3097]:  pulseaudio.service:
systemd[3097]:  pulseaudio.service:
systemd[3097]:  Failed
systemd[3097]:  pulseaudio.service:
How can I scan a QR code to connect to a Wi-Fi network on Ubuntu? https://askubuntu.com/questions/1470379/how-can-i-scan-a-qr-code-to-connect-to-a-wi-fi-network-on-ubuntu

On various devices, both smartphones and computers, it is possible to generate a QR code for a Wi-Fi network. You can connect to that Wi-Fi network by scanning the QR code.

Ubuntu 23.04 has this functionality. You can open the Settings app, and navigate to the "Wi-Fi" section, then click the QR code button next to a Wi-Fi network.

Screenshot (image from OMGLinux)

How can I connect to a Wi-Fi network on my Ubuntu computer by scanning a QR code? I can't find the "scan QR code" button.

GPU system load monitor for xfce panel https://askubuntu.com/questions/1469922/gpu-system-load-monitor-for-xfce-panel

I am trying to get a GPU system load monitor to work in xfce4 panel. Is there any way to configure the current CPU system load monitor to reflect GPU usage? I know we can run a script in genmon generic monitor but I don't have the skills necessary to create the script.

I have an AMD GPU and currently use gpu-mon --gui for monitoring but would like to have something similar to the CPU monitor in the panel, preferably for GPU load and vram mem load.

Thanks

Ubuntu 20.04 add static route https://askubuntu.com/questions/1417767/ubuntu-20-04-add-static-route

I have two virtual Servers with ubuntu 20.04, both are working so far. But my problem is, that Server1 can not ping Server2 and vice versa. I get the error 'Destination Host Unreachable'. This is with the domainname and also with the ip. AFAIS this a wrong or missing route between this servers I have found this tutorial https://contabo.com/blog/creating-static-routes/

But it don't work for me, and my config seams to be different.

My /etc/netplan/01-netcfg.yaml looks like this:

  network:
  version: 2
  renderer: networkd
  ethernets:
    ens18:
      match:
        macaddress: 00:50:56:46:a3:de
      addresses:
        - 38.242.229.xx/19
        #- 2a02:c206:3009:2902:0000:0000:0000:0001/64
      #gateway6: fe80::1
      routes:
        - to: 0.0.0.0/0
          via: 38.242.224.1
          on-link: true
      nameservers:
        search: [ invalid ]
        addresses:
          - 161.97.189.52
          - 161.97.189.51
          #- 2a02:c206:5028::2:53
          #- 2a02:c206:5028::1:53

Maybe someone can help that I can reach the other (second) server from this instance. My knowledge about networking with Linux is not so good that I can change the tutorial to my needs. Thank you.

ip addr:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:50:56:46:a3:de brd ff:ff:ff:ff:ff:ff
    inet 38.242.229.72/19 brd 38.242.255.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:fe46:a3de/64 scope link
       valid_lft forever preferred_lft forever
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
    link/ether 02:42:e1:f9:bb:15 brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
       valid_lft forever preferred_lft forever

ip route:

default via 38.242.224.1 dev eth0 proto static onlink
38.242.224.0/19 dev eth0 proto kernel scope link src 38.242.229.72

ip addr of second server:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:50:56:46:a3:dd brd ff:ff:ff:ff:ff:ff
    inet 38.242.229.63/19 brd 38.242.255.255 scope global eth0
       valid_lft forever preferred_lft forever
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
    link/ether 02:42:5f:77:59:e9 brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
       valid_lft forever preferred_lft forever
55: br-195a84347f94: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:a6:46:7a:27 brd ff:ff:ff:ff:ff:ff
    inet 172.25.0.1/16 brd 172.25.255.255 scope global br-195a84347f94
       valid_lft forever preferred_lft forever
57: vethb13ec38@if56: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-195a84347f94 state UP group default
    link/ether 92:e8:8a:e0:f1:7c brd ff:ff:ff:ff:ff:ff link-netnsid 1
59: veth21971c4@if58: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-195a84347f94 state UP group default
    link/ether 4e:95:40:7d:78:93 brd ff:ff:ff:ff:ff:ff link-netnsid 2
68: br-d0ad0289f7c7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:ef:83:ac:3e brd ff:ff:ff:ff:ff:ff
    inet 172.28.0.1/16 brd 172.28.255.255 scope global br-d0ad0289f7c7
       valid_lft forever preferred_lft forever
70: veth07b736d@if69: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-d0ad0289f7c7 state UP group default
    link/ether f6:85:f1:48:45:8e brd ff:ff:ff:ff:ff:ff link-netnsid 3
74: br-c2c3481624b2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:e8:3c:59:c0 brd ff:ff:ff:ff:ff:ff
    inet 172.30.0.1/16 brd 172.30.255.255 scope global br-c2c3481624b2
       valid_lft forever preferred_lft forever
76: veth98745d8@if75: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-c2c3481624b2 state UP group default
    link/ether 2a:70:8d:58:de:e8 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    enter code here

ip route of second server:

default via 38.242.224.1 dev eth0 proto static onlink
38.242.224.0/19 dev eth0 proto kernel scope link src 38.242.229.63
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
172.25.0.0/16 dev br-195a84347f94 proto kernel scope link src 172.25.0.1
172.28.0.0/16 dev br-d0ad0289f7c7 proto kernel scope link src 172.28.0.1
172.30.0.0/16 dev br-c2c3481624b2 proto kernel scope link src 172.30.0.1

ping to gateway is working, also a ping to yahoo.com is working.

May goal is that the first server is able to clone/pull a git repository from gitlab which is running on the second server.

Every server can ping everything but not the other one. The hoster tells me that this is because both ip-addresses are in the same subnet and so I have to make a static root to solve this. But I am not able to follow the instructions in the link above for ubunto 20.04 with success.

ucsi_acpi USBC000:00: usci_handle_connector_change: GET_CONNECTOR_STATUS failed (-110) https://askubuntu.com/questions/1370002/ucsi-acpi-usbc00000-usci-handle-connector-change-get-connector-status-failed

On boot the following message appears and I cannot login (well I can but only if I go to tty3 and login via cli): ucsi_acpi USBC000:00: usci_handle_connector_change: GET_CONNECTOR_STATUS failed (-110)

Tech specs of my laptop, it's a Dell Latitude 5420

I've tried to use fsck on recovery mode but this happens.

When I check some logs I can see some errors in nvme0n1. I have nvme0n1p1, nvme0n1p2 and nvme0n1p3 (this one is encrypted). It seems that nvme0n1 is the entire disk, but i can't run fsck on it because it's always mounted.

Does anyone know what is this error?

Is there a utility to monitor memory for processes over time? https://askubuntu.com/questions/1352674/is-there-a-utility-to-monitor-memory-for-processes-over-time

This question has been asked in different ways over time. Specifically, given current versions, I'd like to chart memory usage of processes over time, ideally in comparison with other processes.

Use case: With regular updates I'll reboot my Ubuntu systems once every couple weeks - a required process for which Linux fans used to mock Windows users. If I don't restart for maybe three weeks or a month, the system eventually becomes inaccessible, with the console reporting out of memory conditions. To determine which process(es) is/are responsible for this I want to see which processes consume and then do not release memory. A graph should show at least one process with an average consumption that is greater than its release - until memory is exhausted. That is - a line graph should should show one or more processes continuing to go up from one reboot to the next.

I understand that I can craft a solution with RRDtool, pidstat, ps in a cron, etc. Before I create a DIY project I'd like to know if there is an existing tool that already does this. I have to believe there is. Of course if I have to create it, I'll FOSS it. Thanks.

How to permanently fix fsck check failing during boot https://askubuntu.com/questions/1288588/how-to-permanently-fix-fsck-check-failing-during-boot

My laptop is an ASUS FX505DY. I bought it without any OS and installed Ubuntu 19.10, then upgraded it to 20.04 a few months later (no dual boot).

From time to time, the system doesn't boot normally and goes into "emergency mode" (it's actually the 3rd time after about 1 year of use). Each time the cause is fsck failing to check /home partition. journalctl gives me:

oct. 30 12:19:44 poulpito systemd-fsck[624]: fsck failed with exit status 4.
oct. 30 12:19:44 poulpito systemd[1]: Failed to start File System Check on /dev/disk/by-uuid/91e9d404-4089-4b8d-af58-5aebcd76b5a0.

I can easily fix it with: fsck.ext4 -v /dev/sda4. I hit enter to every questions and then I can reboot and enjoy an OS running normally. But I feel uneasy with the problem recurring and I would like to fix it permanently.

So my questions are:

  1. Why file system get corrupted on this partition? Could it be a hardware problem? Do I need to change some parameters or configuration or switch to ext3? I've run smartctl -t short /dev/sda4 in recovery mode and no error were reported.

  2. /home is on a sata HDD where I also have /var, /tmp and swap partitions. I never get any fsck check problem for these. Perhaps because the boot sequence just doesn't check these partitions? Or corruptions really happen just on /home?

  3. The last time I had to run fsck.ext4, I got these questions:

  • pass 1: inode <inode id> seems to contain garbage and inode <inode id> passes checks, but checksum does not match inode, actually 16 messages of these kinds with contiguous inode numbers

  • pass 2: entry '<filename>' in <path> (<inode id>) has deleted/unused inode <inode id> (inode numbers suggest that it is a mere consequence of inodes cleared during pass 1

  • pass 4: inode <inode id> ref count is <count>, should be <count> (again, seems to be just a consequence of pass 2)

  • pass 5: inode and block bitmap differences, free inodes/free blocks/directories count wrong

    Does this mean that I lose some data? Since all impacted inodes are related to application files in $HOME/.config/ or $HOME/.local/, I don't see directly the effect of a missing or corrupted file...

  1. How do I prevent the file system to be corrupted?

Here is a screenshot of the SMART data window in the Disks app.

screenshot

smartctl gives roughly the same data in English:

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       1350
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       670
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   050    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   095   095   000    Old_age   Always       -       2224
 10 Spin_Retry_Count        0x0033   113   100   030    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       509
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       48
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       10
193 Load_Cycle_Count        0x0032   098   098   000    Old_age   Always       -       24418
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       34 (Min/Max 19/42)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   253   000    Old_age   Always       -       0
220 Disk_Shift              0x0002   100   100   000    Old_age   Always       -       0
222 Loaded_Hours            0x0032   096   096   000    Old_age   Always       -       1931
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
224 Load_Friction           0x0022   100   100   000    Old_age   Always       -       0
226 Load-in_Time            0x0026   100   100   000    Old_age   Always       -       263
240 Head_Flying_Hours       0x0001   100   100   001    Pre-fail  Offline      -       0
254 Free_Fall_Sensor        0x0032   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      2218         -

Another screenshot of GParted:

screenshot

As suggested I've upgraded my BIOS firmware. The upgrade went fine and didn't break anything. For sure, it's better to have firmware up-to-date in any case, but I must confess that I don't understand how the BIOS could be responsible of filesystem corruptions on a single partition of my hard drive and I can't see any way to verify that the problem is really solved. I've given up for now, and I'll update this post if the problem occurs again.

Update: the same error occurred again about two months after the original post and BIOS update.

More details, as requested by @heynnema.

$ free -h
              total       utilisé      libre     partagé tamp/cache   disponible
Mem:          7,7Gi       2,3Gi       3,8Gi        49Mi       1,5Gi       5,0Gi
Partition d'échange:        15Gi          0B        15Gi

sudo lshw -C memory https://paste.ubuntu.com/p/Sq9qy9kxVb/

zgrep -i gnome-software /var/log/syslog* https://paste.ubuntu.com/p/Qqy99YnFvC/

$ cat /etc/fstab 
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=cbee80f8-6637-44e3-8dbd-7f710be58e54 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=E06D-1632  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda4 during installation
UUID=91e9d404-4089-4b8d-af58-5aebcd76b5a0 /home           ext4    defaults        0       2
# /tmp was on /dev/sda2 during installation
UUID=51e800d3-f199-490a-bb7a-d2f49635e71c /tmp            ext4    defaults        0       2
# /var was on /dev/sda3 during installation
UUID=da892f2f-b8d2-47f5-a5e7-30e779fe9d2c /var            ext4    defaults        0       2
# swap was on /dev/sda1 during installation
UUID=7317598f-60e6-475e-a7d0-38503bac42fc none            swap    sw              0       0
Cannot connect to a specific wifi on ubuntu 20.04 https://askubuntu.com/questions/1230954/cannot-connect-to-a-specific-wifi-on-ubuntu-20-04

I have a strange issue about Wifi connectivity. My home has two wifi modems, F1 and F2 for each floor. My Ubuntu version was 18.04 and I want to upgrade to 20.04, but have to upgrade to 19.10 first. Then when I finally upgraded to 20.04, I cannot connect to F2 wifi, it keeps connecting but never success. Connecting to F1 works well.

All I remember is when I was at Ubuntu 19.10, I use the F2 wifi to run command for upgrading to 20.04. Hence, when I unplug the F2 wifi modem and replug, my laptop can connect to it but when I disconnect it or restart the computer, the issue persists.

If you need any information for investigation, just tell me. Thank you.

Cannot view mounted drive contents in Sonarr/Radarr https://askubuntu.com/questions/1086298/cannot-view-mounted-drive-contents-in-sonarr-radarr

I've just recently built a home server, and went through all the steps of installing Sabnzbd, Sonarr, Radarr, and Plex. This time around, I decided to use Ubuntu 18.04.1 (as opposed to Windows Server 2016) and Docker.

The problem I am having is that when I go to add existing series and movies via Sonarr and Radarr, respectively, I am unable to locate the drive that the shows and movies are contained on. I have two drives apart from the main OS drive, and they separately contain movies and shows. They are set to automatically mount in the /media/ directory with fstab. Plex is able to read these files, which I find odd. I know it's a permissions issue with the folders but I'm just having trouble configuring the folders' permissions. I have set the folder owner and group to my user account, but in WinSCP the folders still show the owner being root, not sure if that's a bug or not. How do I need to have these folders set up?

If you need any more information please let me know. Thanks!

EDIT:

  1. Permissions according to ls -la:

drwxrwxrwx 1 administrator root 131072 Oct 23 00:15 movies drwxrwxrwx 1 administrator root 81920 Oct 23 19:03 tv

  1. FSTAB:

UUID=E046167246164A24 /media/movies ntfs-3g permissions 0 1 UUID=1C5829AD5829871C /media/tv ntfs-3g permissions 0 1

  1. The drive format is NTFS.
libinput is ignoring my conf file https://askubuntu.com/questions/1008342/libinput-is-ignoring-my-conf-file

I was trying to find a way to disable my touchpad while writing, so i installed libinput. The tap to click has been disabled, so i edited the file usr/share/X11/xorg.conf.d/90-libinput.conf like this:

https://i.sstatic.net/dWg0z.jpg

to mantain its original behaviour.

But when i restart this is the result of xinput list-props "Elan Touchpad" :

https://i.sstatic.net/EPiHl.jpg

It basically ignore the other instructions apart from the "Accel Speed". This is confirmed in xorg.0.log.

What i'm trying to understand is if there is some kind of trickery behind this strange behaviour, because i'm kinda sure im making everything right. I even tried to make a custom script in /etc/init.d but it does not work. If i launch the commands xinput set-prop <...> manually they work ok for the session. All I want is to be able enable to tap to click and middle mouse click! Thank you in advance

update: i tried using false/true instead of 0/1 in the .conf file. it didnt worked

How to resize / and add another logical volume without data loss https://askubuntu.com/questions/794246/how-to-resize-and-add-another-logical-volume-without-data-loss

Ubuntu 16.04 installed with these settings "Erase Disk and install Ubuntu" with "Use LVM with the new Ubuntu installation". Now have 3 partitions:

  • /dev/sda1 mounted as /boot/efi
  • /dev/sda2 Linux file system mounted as /boot and
  • /dev/sda3 Linux LVM as 255 GB LVM2 PV with inside 2 Logical Volume /dev/ubuntu-vg/root (247 GB) and /dev/ubuntu-vg/swap_1 (8,5 GB).

Have searched for a clear and safe tutorial to be able to safely shrink the root partition to something like 30 GB (more or less) and create a new Logical Volume with the rest for a home/data partition.

Can't use system-config-lvm because of an error. The GUI shows up but doesn't display anything:

Unable to show VG because it contains features that are not supported in current version of system-config-lvm.

So I need to use the command line but not sure if it takes care of the data on the root partition (got a backup of important data).

Can anybody give me directions on what to do?

DHCP request is timing out suddenly https://askubuntu.com/questions/792495/dhcp-request-is-timing-out-suddenly

I'm on a work computer. There have been no problems with connectivity until now. I was working diligently, when suddenly my computer seized up. I thought it was a graphics issue and rebooted. When I couldn't log in (but my colleagues could) I realized that I couldn't authenticate to the LDAP server. From there I realized it was because my wired eth0 interface was not communicating with the network.

Results of ifconfig:

eth0      Link encap:Ethernet  HWaddr f8:b1:56:a8:14:6b  
          inet6 addr: fe80::fab1:56ff:fea8:146b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10557 errors:0 dropped:11 overruns:0 frame:0
          TX packets:881 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1231403 (1.2 MB)  TX bytes:205674 (205.6 KB)

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:2543 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2543 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:419097 (419.0 KB)  TX bytes:419097 (419.0 KB)

I checked the cable, and I checked the port with a different cable, and the IT guy's laptop. No problems there. He gave me a USB -> Ethernet adapter which I am currently using, but being USB it is not fast enough for the kind of data processing I do.

I checked syslogs from about the time it started failing:

$ cat /var/log/syslog | grep eth0  
Jun 28 12:46:05 picasso kernel: [    0.526128] r8169 0000:03:00.0 eth0: RTL8168g/8111g at 0xffffc90000074000, f8:b1:56:a8:14:6b, XID 0c000800 IRQ 47
Jun 28 12:46:05 picasso kernel: [    0.526130] r8169 0000:03:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
Jun 28 12:46:05 picasso kernel: [    5.261935] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Jun 28 12:46:10 picasso NetworkManager[1865]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/net/eth0, iface: eth0)
Jun 28 12:46:10 picasso NetworkManager[1865]:    SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/net/eth0, iface: eth0): no ifupdown configuration found.
Jun 28 12:46:10 picasso NetworkManager[1865]: <info> (eth0): carrier is OFF
Jun 28 12:46:10 picasso NetworkManager[1865]: <info> (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
Jun 28 12:46:10 picasso NetworkManager[1865]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
Jun 28 12:46:10 picasso NetworkManager[1865]: <info> (eth0): now managed
Jun 28 12:46:10 picasso NetworkManager[1865]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Jun 28 12:46:10 picasso NetworkManager[1865]: <info> (eth0): bringing up device.
Jun 28 12:46:11 picasso NetworkManager[1865]: <info> (eth0): preparing device.
Jun 28 12:46:11 picasso NetworkManager[1865]: <info> (eth0): deactivating device (reason 'managed') [2]
Jun 28 12:46:11 picasso NetworkManager[1865]: <info> Added default wired connection 'Wired connection 1' for /sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/net/eth0
Jun 28 12:46:11 picasso kernel: [   21.290817] r8169 0000:03:00.0 eth0: link down
Jun 28 12:46:11 picasso kernel: [   21.290839] r8169 0000:03:00.0 eth0: link down
Jun 28 12:46:11 picasso kernel: [   21.290855] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Jun 28 12:46:11 picasso kernel: [   21.291021] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> (eth0): carrier now ON (device state 20)
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> (eth0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) starting connection 'Wired connection 1'
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Jun 28 12:46:13 picasso kernel: [   23.791505] r8169 0000:03:00.0 eth0: link up
Jun 28 12:46:13 picasso kernel: [   23.791512] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Beginning IP6 addrconf.
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Jun 28 12:46:14 picasso NetworkManager[1865]: <info> (eth0): DHCPv4 state changed nbi -> preinit
Jun 28 12:46:14 picasso dhclient: Listening on LPF/eth0/f8:b1:56:a8:14:6b
Jun 28 12:46:14 picasso dhclient: Sending on   LPF/eth0/f8:b1:56:a8:14:6b
Jun 28 12:46:14 picasso dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Jun 28 12:46:15 picasso avahi-daemon[1859]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::fab1:56ff:fea8:146b.
Jun 28 12:46:15 picasso avahi-daemon[1859]: New relevant interface eth0.IPv6 for mDNS.
Jun 28 12:46:15 picasso avahi-daemon[1859]: Registering new address record for fe80::fab1:56ff:fea8:146b on eth0.*.
Jun 28 12:46:17 picasso dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Jun 28 12:46:19 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:22 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:28 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:34 picasso NetworkManager[1865]: <info> (eth0): IP6 addrconf timed out or failed.
Jun 28 12:46:34 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Jun 28 12:46:34 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Jun 28 12:46:34 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Jun 28 12:46:34 picasso dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Jun 28 12:46:37 picasso dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Jun 28 12:46:38 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:41 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:44 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:52 picasso dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Jun 28 12:46:54 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:57 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:59 picasso NetworkManager[1865]: <warn> (eth0): DHCPv4 request timed out.

It seems to think the Ethernet adapter died, but it's at least being recognized. What can I do to fix it?

Update:

via IT:

I can ping this computer from the Access and Distribution switches, but not outside its subnet.

He asked me to verify the default gateway, but the Default route (I'm assuming it's the same thing) is already set to 10.30.64.1 according to the GUI network manager.

Restrict Deluge to tun0 only but allow Deluge Web UI over eth0 https://askubuntu.com/questions/633131/restrict-deluge-to-tun0-only-but-allow-deluge-web-ui-over-eth0

After many searches I have been able to restrict deluge network traffic to only the VPN interface tun0 using the following command:

sudo iptables -A OUTPUT -m owner --uid-owner deluge \! -o tun0 -j REJECT

But now I am unable to access the WebUI via eth0 on port 8112 (i.e. 192.168.0.23:8112)

Can I use another iptables rule to provide access to the WebUI on the local network?

New Ubuntu install, initramfs https://askubuntu.com/questions/625385/new-ubuntu-install-initramfs

I've only really used Debian and Debian variants before and then only on either in VirtualBox or Raspberry Pi. I'm trying to install the server variant of Ubuntu onto a Samsung N150 plus netbook (1GB RAM, 150GB HDD).

In the install for some reason it wouldn't install GRUB. It just said fatal error, so I installed LILO (version 24 I think), but after that the install completed successfully. As I have a another Windows PC, I let it use the whole disk to install Ubuntu.

On the first boot up it gives the following error:

[ 2.913376] input: ETPS/2 Elantech Touchpad as devices/platform/i8042/serio1/input/input6
Gave up waiting for root device. Common problems:
 -boot args (cat /proc/cmdline)
   -check rootdelay= (did the system wait long enough?)
   -check root= (did the system boot to the right device?)
 -missing modules (cat /proc/modules; Is /dev)
ALERT! /dev/sdb1 does not exist. Dropping to a shell!
[ 33.370303] hidraw: raw HID events driver (C) Jiri Kosina
[ 33.383562] usbcore: registered new interface driver usbhid
[ 33.387133] usbhid: USB HID core driver 

BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) 
[ 41.000170] random: nonblocking pool is initialized 

After that there was a pause (maybe 30 minutes) just as I finished typing out the above it added two more lines on below:

[ 1292.492081] perf samples too long (2501 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
[ 1292.492081] INFO: NMI handler (perf_event_nmi_handler) too long to run: 3.302 msecs
(initramfs) _

I've tried googling the problem, but most of the time it doesn't seem to happen on first boot. Most of the solutions involve changing code on a 'live CD'. I installed Ubuntu from a USB flash drive, and when I boot from that the option is to run the installation again, but I don't see anywhere to access the terminal.

Boot stuck on logo screen after upgrading from 14.04 to 14.10 [duplicate] https://askubuntu.com/questions/549687/boot-stuck-on-logo-screen-after-upgrading-from-14-04-to-14-10

After upgrading from 14.04 to 14.10 my computer cannot boot anymore, it is stuck at the logo screen (with animated dots). I'm using Windows to post this question.

By displaying the boot process, I see that it is stuck at "Stopping log initial device creation". When I press Ctrl+Alt+F2, only a flickering dash appears, and I can't even log in.

 * Starting Uncomplicated firewall
 * Starting load fallback graphics devices
 * Starting set console font
 * Stopping load fallback graphics devices
 * Stopping set console font
 * Starting userspace bootsplash
 * Starting Send an event to indicate plymouth is up
 * Stopping userspace bootsplash
 * Starting configure network device security
 * Starting configure network device security
 * Starting Mount network filesystems
 * Stopping Mount network filesystems
 * Starting Bridge socket events into upstart
 * Starting configure network device
 * Starting set sysctls from /etc/sysctl.conf
 * Stopping set sysctls from /etc/sysctl.conf
 * Starting configure network device
 * Stopping Read required files in advance (for other mountpoints)
 * Stopping cold plug devices
 * Stopping log initial device creation
_
How to install libqt4-webkit? https://askubuntu.com/questions/512843/how-to-install-libqt4-webkit

New version of Skype requires libqt4-webkit, but when i trying to install it i get this error:

web@web-X501A1 ~ $ sudo apt-get install libqt4-webkit
[sudo] password for web: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libqt4-webkit
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 9,140 B of archives.
After this operation, 133 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libqt4-webkit
Install these packages without verification [y/N]? y
Err http://archive.ubuntu.com/ubuntu/ quantal-updates/universe libqt4-webkit i386 4:4.8.3+dfsg-0ubuntu3.4
  404  Not Found [IP: 91.189.91.15 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/q/qt4-x11/libqt4-webkit_4.8.3+dfsg-0ubuntu3.4_i386.deb  404  Not Found [IP: 91.189.91.15 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Already tried apt-get update and --fix-missing

Steam forgets where game directory is on second HDD https://askubuntu.com/questions/437958/steam-forgets-where-game-directory-is-on-second-hdd

I installed steam onto my SSD, but of course that can't hold very many games so I setup a second steam directory on my HDD.

However every single time a I restart my computer steam shows all my games in the directory as being uninstalled. However, when I click install I can navigate to the directory I made, select it, then all my steam games once again appear as installed.

How do I fix this.

Ubuntu 13.10

How can I permanently change touchpad settings? https://askubuntu.com/questions/382110/how-can-i-permanently-change-touchpad-settings

I added this script to my startup programs to change my touchpad settings on startup:

synclient TapButton2=2 TapButton3=3

But this settings don't stay this way after startup.

I changed my script to watch the results:

synclient TapButton2=2 TapButton3=3
synclient | grep TapButton > $HOME/tmp/touchpad.txt

Results were confusing, touchpad still didn't work the way I want:

$ cat ~/tmp/touchpad.txt
TapButton1              = 1
TapButton2              = 2
TapButton3              = 3

But when I ran synclient | grep TapButton in gnome-terminal after startup the output was:

$ synclient | grep TapButton
TapButton1              = 1
TapButton2              = 3
TapButton3              = 0

I tried adding delays (sleep 10s) to my script before and/or after every line, but this didn't help too.

Therefore I assume that there is another program, script or daemon that changes touchpad settings, but I couldn't find which one.

Two questions:

  • Which program, script or daemon can change touchpad settings?
  • Is there another way to permanently change your touchpad settings? Maybe adding such script to startup is not supposed to be working.

Update

I tried putting

Section "InputClass"
    Identifier "touchpad my settings"
    MatchIsTouchpad "on"
    MatchOS "Linux"
    MatchDevicePath "/dev/input/mouse*"
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3"
    Option "PalmDetect" "on"
EndSection

into file /usr/share/X11/xorg.conf.d/99-my.conf. It didn't help as well.