Internet Connection Problem https://askubuntu.com/questions/1568487/internet-connection-problem

I frequently experience hotspot and ethernet connection problems on my Ubuntu OS, sometimes, it connects successfully but I can not access anything on the internet whiles at the same time, with the same hotspot, I can connect with my Windows OS and it works. I am using Ubuntu version 26.04.

New server and CA certificate (need steps) https://askubuntu.com/questions/1568484/new-server-and-ca-certificate-need-steps

I have an Ubuntu LAMP server and its server certificate is almost out of date. We managed to create a new server certificate and put it here:

  • /etc/ssl/certs/CERTNEW.crt

  • /etc/ssl/private/CERTNEW.key

Because we also have a new issuing server, we also have new CA root certificate that we put here:

  • /etc/ssl/certs/CA.crt

Within /etc/apache2/sites-available I see a few vhost *.conf files which have a link to the current server certificate. Before I continue further I would like to know which steps I need to take now (2 questions).

  1. Which exact files do I have to modify to point to the new server and CA certificate?

  2. Where do I put the intermediate certificate?

Lubuntu 26.04 battery percentage indicator is gone from the Panel https://askubuntu.com/questions/1568482/lubuntu-26-04-battery-percentage-indicator-is-gone-from-the-panel

I was trying to organize my Panel, and accidentally deleted the battery percentage indicator. How do I fix it!?

enter image description here

Repeated corrupted files, but SMART reports no issues https://askubuntu.com/questions/1568481/repeated-corrupted-files-but-smart-reports-no-issues

I have a small server (Zotac Zbox) running Ubuntu 24.04. Twice now it's had an entire series of corrupted files on the HDD. (This time it's affected apt such that apt --fix-broken install fails; I think a reinstall will be required regardless.) It'll hang at boot complaining that a manual fsck is needed, then give errors like "inode <inode id> seems to contain garbage". The SMART diagnostics aren't finding anything wrong.

  1. How can I tell if there's a hard drive problem doing this? What other troubleshooting can I do to try to narrow it down?

  2. What can I do to prevent it in the future?

SMART data is below. The short and long tests at 156xx hours was after this event, and I believe the two tests at the 86xx mark were last time this happened. (No telling how long it had inode errors between these two. It is very rarely rebooted.)

Model Family:     Toshiba L200 (SMR)
Device Model:     TOSHIBA HDWL120
Serial Number:    44BBPKQVT
LU WWN Device Id: 5 000039 cf2680683
Firmware Version: JT001A
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Zoned Device:     Device managed zones
Device is:        In smartctl database 7.3/5528
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Jul 18 20:26:24 2026 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled


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       -       1623
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       15
  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   061   061   000    Old_age   Always       -       15679
 10 Spin_Retry_Count        0x0033   100   100   030    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       14
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       1
193 Load_Cycle_Count        0x0032   001   001   000    Old_age   Always       -       1195817
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       46 (Min/Max 19/50)
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   200   000    Old_age   Always       -       0
220 Disk_Shift              0x0002   100   100   000    Old_age   Always       -       0
222 Loaded_Hours            0x0032   076   076   000    Old_age   Always       -       9859
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       -       271
240 Head_Flying_Hours       0x0001   100   100   001    Pre-fail  Offline      -       0

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%     15682         -
# 2  Short offline       Completed without error       00%     15677         -
# 3  Extended offline    Completed without error       00%      8640         -
# 4  Short offline       Completed without error       00%      8634         -

(Edited to add long test results.)

Poor video performance after upgrade to 26.04 https://askubuntu.com/questions/1568480/poor-video-performance-after-upgrade-to-26-04

I'm running a Dell Optiplex with integrated intel video card. I recently upgraded from a live USB, wiping the root directory, but kept my home directory in place.

Since upgrading to 26.04, I can hear my fan rev up any time my browser tries to load a page with a lot of images. Like Amazon or Ebay, where there's an array of images on a page. I don't know if it's this or the Javascript, but it takes a long time to load and I can hear the fan always revving up.

Mouse performance becomes choppy over time. I'm running dual monitors, the first with Displayport and second with HDMI and when I move the cursor from the first to the second, I can see it stutter.

In general, I'm just getting laggy performance and it feels like a video card-related issue. Has anyone been having these problems, and how do you fix them?

Server installation - installation logs - no reboot now button https://askubuntu.com/questions/1568475/server-installation-installation-logs-no-reboot-now-button

I'm trying to install the Ubuntu Server operating system, but unfortunately at the last stage of installing, the installation logs, the 'Reboot now' button is not showing up. I've waited for fifteen minutes. It is an older laptop (Dell Inspiron 15 5000 series i7. I'm pretty inexperienced with this kind of thing. Is it just slow or is there something wrong? Also, my Ethernet connection is not working properly. I don't know if this has something to do with it.

I also can't backtrack by pressing the Esc key or a 'back' option. The version I am using is "ubuntu-26.04-live-server-amd64".

Mouse and keyboard 'sandbox' concept [closed] https://askubuntu.com/questions/1568474/mouse-and-keyboard-sandbox-concept

Finnally downgrade 'input|output' less timings into insider circular-direction design forms may reduce it's move spread all around display-screen.

?

HDMI audio broken in noble numbat and resolute racoon https://askubuntu.com/questions/1568473/hdmi-audio-broken-in-noble-numbat-and-resolute-racoon

I use an Asus E510 laptop. After upgrading from Ubuntu 22.04 to Ubuntu 24.04 the left audio channel is now shared across both speakers on the output device (my TV) and the right channel audio signal is not sent.

Clean booting into Ubuntu 24.04 or Ubuntu 26.04 from a live disk also causes the problem, so it is not a problem caused by a damaged or jumbled upgrade. Clean booting back into Ubuntu 22.04 from a live disk fixes the problem again, so it is not a setting on my TV nor is there anything wrong with my laptop or HDMI cable. I have also tested with multiple HDMI cables to be sure.

There are also issues with the new 5.1 and 7.1 HDMI output modes in Ubuntu 24.04 and onward where the right side channels do not respond appropriately.

This is an untenable situation.

Fix boot partition out of space https://askubuntu.com/questions/1568471/fix-boot-partition-out-of-space

I am getting the apparently common problem of a boot partition with 0 space left. I have gone through the best links that I found so far, but with no luck resolving it (partly because I'm a noob).

How do I free up more space in /boot?

The autoremove command does not work because it needs to create files, but there is no space left to do so.

The sudo apt-get purge command also fails due to an attempt to create files again was met with no space left.

The boot partition is 2GB and attempting to expand partition doesn't work (using Disk Utility) because there is no non-filesystem free space left on the 2TB drive.

EDIT: Below is contents of the /boot folder, then the result of "df -h". I am on "Ubuntu 26.04 LTS - Framework desktop". Is it safe to manually delete files listed as 7.0.0-15 (old kernels?) via "sudo rm" instead of "purge" which does not work (requires space)

ls -1 df -h

No audio on Pulseaudio/pipewire on Xubuntu 26.04 https://askubuntu.com/questions/1568470/no-audio-on-pulseaudio-pipewire-on-xubuntu-26-04

When I start up Xubuntu, my audio profile is automatically switched to digital output because it believes analog stereo is "unavailable" and the front headphones are unplugged (they aren't) and even when I manually set these settings, I get no sound, despite PulseAudio control panel showing activity in the volume indicator. There are no other audio output sources active.

Window showing analog as "unavailable":

Window showing analog as "unavailable"

Window showing headphones are "unplugged":

Window showing headphones are "unplugged"

Audio source that's showing audio, but doesn't come out of my headphones:

Window showing an audio source that is showing audio, but doesn't come out of my headphones

Output of wpctl status:

PipeWire 'pipewire-0' [1.6.2, cobradile@cobradile-Xubuntu-PC, cookie:2529966601]
 └─ Clients:
        43. pipewire                            [1.6.2, cobradile@cobradile-Xubuntu-PC, pid:20280]
        68. LibreWolf                           [1.6.2, cobradile@cobradile-Xubuntu-PC, pid:16236]
        72. xdg-desktop-portal                  [1.6.2, cobradile@cobradile-Xubuntu-PC, pid:5146]
        80. WirePlumber [export]                [1.6.2, cobradile@cobradile-Xubuntu-PC, pid:21518]
        85. WirePlumber                         [1.6.2, cobradile@cobradile-Xubuntu-PC, pid:21518]
       104. Chromium input                      [1.6.2, cobradile@cobradile-Xubuntu-PC, pid:24985]
       116. Nightly                             [1.6.2, cobradile@cobradile-Xubuntu-PC, pid:22342]
       135. wpctl                               [1.6.2, cobradile@cobradile-Xubuntu-PC, pid:26070]
       154. xfce4-pulseaudio-plugin             [1.6.2, cobradile@cobradile-Xubuntu-PC, pid:5399]
       180. PulseAudio Volume Control           [1.6.2, cobradile@cobradile-Xubuntu-PC, pid:8540]
       185. pipewire                            [1.6.2, cobradile@cobradile-Xubuntu-PC, pid:20280]
       203. Blueman                             [1.6.2, cobradile@cobradile-Xubuntu-PC, pid:6435]
       224. Betterbird                          [1.6.2, cobradile@cobradile-Xubuntu-PC, pid:2]
       234. SDL Application                     [1.6.2, cobradile@cobradile-Xubuntu-PC, pid:2]
 
Audio
 ├─ Devices:
 │      63. PCM2900C Audio CODEC                [alsa]
 │      73. Starship/Matisse HD Audio Controller [alsa]
 │     131. TU104 HD Audio Controller           [alsa]
 │  
 ├─ Sinks:
 │      71. Starship/Matisse HD Audio Controller Analog Stereo [vol: 0.40]
 │  
 ├─ Sources:
 │     107. Starship/Matisse HD Audio Controller Analog Stereo [vol: 1.00]
 │  *  236. PCM2900C Audio CODEC Digital Stereo (IEC958) [vol: 1.00]
 │  
 ├─ Filters:
 │    - loopback-20280-13                                           
 │      64. input.loopback-20280-13                                      [Stream/Input/Audio]
 │      99. output.loopback-20280-13                                     [Stream/Output/Audio]
 │  
 └─ Streams:
        39. PulseAudio Volume Control                                   
             36. monitor_FR     
             79. monitor_FL     
            103. input_FR        < ALC887-VD Analog:capture_FR  [active]
            227. input_FL        < ALC887-VD Analog:capture_FL  [active]
        48. SDL Application                                             
             95. output_FR       > PulseAudio Volume Control:input_FR   [active]
            222. output_FL       > ALC887-VD Analog:playback_FL [active]
        55. PulseAudio Volume Control                                   
             41. input_FL        < SDL Application:output_FL    [active]
             75. monitor_FL     
            123. input_FR        < SDL Application:output_FR    [active]
            124. monitor_FR     
        97. PulseAudio Volume Control                                   
             74. monitor_FL     
            130. input_FR       
            138. input_FL       
            163. monitor_FR     
       108. PulseAudio Volume Control                                   
             67. input_FL       
            140. monitor_FL     
            151. input_FR       
            238. monitor_FR     
       156. PulseAudio Volume Control                                   
             58. monitor_FL     
            125. input_FR        < loopback-20280-13:output_FR  [active]
            155. monitor_FR     
            170. input_FL        < loopback-20280-13:output_FL  [active]
       159. PulseAudio Volume Control                                   
             50. input_FL        < ALC887-VD Analog:monitor_FL  [active]
            127. input_FR        < ALC887-VD Analog:monitor_FR  [active]
            137. monitor_FL     
            177. monitor_FR     
       160. PulseAudio Volume Control                                   
             37. monitor_FR     
             46. monitor_FL     
            106. input_FR        < USB AUDIO  CODEC:capture_FR  [active]
            152. input_FL        < USB AUDIO  CODEC:capture_FL  [active]
 
Video
 ├─ Devices:
 │      90. UNKNOWN/GENERIC                     [v4l2]
 │  
 ├─ Sinks:
 │  
 ├─ Sources:
 │  *  207. UNKNOWN/GENERIC (V4L2)             
 │  
 ├─ Filters:
 │  
 └─ Streams:
 
Settings
 └─ Default Configured Devices:

What do I do?

Built-in laptop screen very dim after an automatic Dell BIOS update (fwupd); external monitor is fine — Intel i915 https://askubuntu.com/questions/1568468/built-in-laptop-screen-very-dim-after-an-automatic-dell-bios-update-fwupd-ext

After a routine fwupd firmware update my laptop's built-in screen became very dim, even at "100%" brightness. An external monitor on the same machine looks completely normal.

  • Laptop: Dell Latitude 5430, Intel Iris Xe (Alder Lake, i915), internal eDP panel (AU Optronics).

  • OS: Ubuntu 24.04, GNOME.

  • Trigger: fwupd auto-flashed the Dell system BIOS from 1.36.0 to 1.39.1 (check with fwupdmgr get-history). The screen was fine before that.

What I already ruled out (none of these help):

  • Not a kernel regression — dim on every kernel I tried; the panel is only bright in recovery mode / with nomodeset (i.e. when i915 is not driving it).

  • Not gamma/ICCxrandr Brightness 1.0, Gamma 1.0, no VCGT in the ICC profile.

  • Not a software brightness slider/sys/class/backlight/intel_backlight reports brightness == actual_brightness == max_brightness (1023), yet the panel is dim.

  • Brightness keys only make it dimmer, never brighter.

  • Downgrading the BIOS is blocked: LVFS only offers 1.39.1, so fwupdmgr / GNOME Firmware cannot roll back.

How do I get the panel bright again without a BIOS downgrade?

Bluetooth has disappeared entirely in Kubuntu 24.04 https://askubuntu.com/questions/1568463/bluetooth-has-disappeared-entirely-in-kubuntu-24-04

For starters, here is my system. EDIT: My headphones are Skullcandy ANC Crusher 2, if that also helps.

dorkus@Robot-Overlord-2:~$ hostnamectl
 Static hostname: Robot-Overlord-2
       Icon name: computer-desktop
         Chassis: desktop
      Machine ID: cb951c28f5914877ac1ffec151517b6f
         Boot ID: da44c91966764dc18e535841f756b86f
Operating System: Ubuntu 24.04.4 LTS              
          Kernel: Linux 6.8.0-136-generic
    Architecture: x86-64
 Hardware Vendor: ASUS
  Hardware Model: ROG STRIX B650E-F GAMING WIFI
Firmware Version: 2214
   Firmware Date: Tue 2024-01-02
    Firmware Age: 2y 6month 2w 1d   

It started when trying to fix a connection issue between KDE Connect and my Android. I changed my firewall settings to "allow" and while it fixed the KDE Connect issue, it caused my bluetooth audio to sound choppy and distorted in A2DP sink.

I then tried a few fixes for that from here and here and here.

And now bluetooth has disappeared from my system tray entirely, with no way to reconnect it.

Running hciconfig shows this:

dorkus@Robot-Overlord-2:~$ hciconfig
hci1:   Type: Primary  Bus: USB
        BD Address: 74:F6:1C:14:86:DF  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING 
        RX bytes:5514 acl:0 sco:0 events:685 errors:0
        TX bytes:61032 acl:0 sco:0 commands:684 errors:0

hci0:   Type: Primary  Bus: USB
        BD Address: C8:94:02:6E:C8:B4  ACL MTU: 1021:6  SCO MTU: 240:8
        UP RUNNING 
        RX bytes:16686 acl:0 sco:0 events:2267 errors:0
        TX bytes:554095 acl:0 sco:0 commands:2267 errors:0

Trying to bring hci1 back up using sudo hciconfig -a hci1 up only results in a timeout error.

Using sudo dmesg |grep -i bluetooth brings this up as well:

[   10.444683] Bluetooth: Core ver 2.22
[   10.444697] NET: Registered PF_BLUETOOTH protocol family
[   10.444698] Bluetooth: HCI device and connection manager initialized
[   10.444702] Bluetooth: HCI socket layer initialized
[   10.444704] Bluetooth: L2CAP socket layer initialized
[   10.444706] Bluetooth: SCO socket layer initialized
[   10.461217] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240219111427
[   10.562871] Bluetooth: hci1: BCM: chip id 102
[   10.563864] Bluetooth: hci1: BCM: features 0x2f
[   10.579873] Bluetooth: hci1: BCM20703A1
[   10.579876] Bluetooth: hci1: BCM20703A1 (001.001.005) build 0000
[   10.581959] Bluetooth: hci1: BCM20703A1 'brcm/BCM-0bb4-0306.hcd' Patch
[   11.738855] Bluetooth: hci1: BCM: features 0x2f
[   11.756004] Bluetooth: hci1: BCM20703A1 Generic USB 20Mhz fcbga_BU
[   11.756008] Bluetooth: hci1: BCM20703A1 (001.001.005) build 0481
[   31.962093] Bluetooth: hci0: Device setup in 21007347 usecs
[   31.962100] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[   32.237327] Bluetooth: hci0: AOSP extensions version v1.00
[   32.237335] Bluetooth: hci0: AOSP quality report is supported
[   38.338622] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   38.338625] Bluetooth: BNEP filters: protocol multicast
[   38.338629] Bluetooth: BNEP socket layer initialized
[   38.339681] Bluetooth: MGMT ver 1.22
[   38.339717] Bluetooth: MGMT ver 1.22
[   38.755139] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240219111427
[   38.918839] Bluetooth: hci0: Device setup in 169917 usecs
[   38.918844] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[   39.194199] Bluetooth: hci0: AOSP extensions version v1.00
[   39.194205] Bluetooth: hci0: AOSP quality report is supported
[   43.528015] Bluetooth: RFCOMM TTY layer initialized
[   43.528021] Bluetooth: RFCOMM socket layer initialized
[   43.528024] Bluetooth: RFCOMM ver 1.11

Not sure what I'm missing here. I tried some instructions to also reinstall the entire bluetooth stack with no luck either. Any ideas would be greatly appreciated.

UPDATE: Apparently I can still connect my headphones using bluetoothctl using the scan command to get the MAC address of the headphones and then forcing it to pair. Audio is still choppy but now I'm wondering what is really going on. Perhaps it's just an issue with the system tray itself? Bluetooth apparently does work, but it's a pain to do it this way every time.

UPDATE 2: I'm not sure if this is anything but using hcitool dev shows this:

dorkus@Robot-Overlord-2:~$ hcitool dev
Devices:
        hci1    74:F6:1C:14:86:DF
        hci0    C8:94:02:6E:C8:B4

Afaik, my PC only has one bluetooth receiver. So I wonder why it's showing 2 of them. I got the Bluez menu to come up in the system tray and it shows both as well. But only hci0 seems to work, possibly being the actual bluetooth hardware.

How to detect ill effects of clicking on a link in an malicious email? https://askubuntu.com/questions/1568462/how-to-detect-ill-effects-of-clicking-on-a-link-in-an-malicious-email

I was stupid enough to fall for what purported to be an e-invitation in my inbox from someone in my address book. I went so far as to click on what was labeled as “View Invitation” and landed on some page that said something like “that event has already past” before it dawned on me that I might have just been pwned.

First sensible thing I did was put the device (laptop running Ubuntu 24.04.4 LTS) into airplane mode (I'm typing this on another device). Then I checked the full message body. I didn't see anything that looked fishy in the SMTP headers, but careful inspection of the visible message reveals it's bogus: It bears a surface resemblance to something from Evite, but the URLs that Thunderbird shows when I cursor-hover over various of the message’s features involve paperlessinvguestview.com and paperlessgrandivio.com. (Yes of course I should have glanced at the lower-left corner of the message’s window before clicking: we have already established that I was stupid.)

Next I looked up both domains on check-host.net. For the first one it turned up nothing (so maybe it's already been shut down?), but for the second it resolved to 104.21.72.204, which it attributed to Cloudflare.

Since I didn't type anything at all, let alone any sensitive information, the only bad potential effect I have thought of is inadvertently downloading/running evil things (of course there may be other bad effects that haven’t occurred to me).

My main question is: How can I detect what harm if any has been done?

I figured I could look to see what files had recently been modified, so at the command line I ran:

find / -mmin -240 -mmin +120 -type f -exec ls -lt {} +

Of course this returned some 1300 lines to stdout (plus more than 1400 lines of “Permission denied” to stderr), but when I filtered that by grep -v \.cache, it fell to a manageable 550 lines. Perusing that didn't unearth any smoking guns either, at least not smoking heavily enough for me to recognize it. A whole lot of 0-length files in /proc and /sys/fs/cgroup/user.slice, and some data in some of my password manager’s cache directories; stuff like that. It did occur to me to wonder about all those unreadable (system) directories, but I was reluctant to rerun the find inside a sudo because who knew if, say, I was now running a key logger that would capture my root password.

I have also run ps -aux, but again from out of its 314 lines of output, there is nothing that stands out to me along the lines of rm /*. It was the same for top. Likewise, perusing contents of /var/log turns up nothing that makes ME panic (kern.log, syslog, and auth.log are the only files modified since, and none is obviously shouting, “Danger!”).

I checked out this question and this one too, but I figure a whole lot may have changed in the more or less decade since they were posted.

I guess at some point I will just have to risk connecting again, if only to install something like ClamAV?

grub update failing- kernel installation error [closed] https://askubuntu.com/questions/1568448/grub-update-failing-kernel-installation-error

Tried to redo the kernel installation, but fails using sudo apt upgrade -y. Had to rewrite initrd configuration before update-grub. Could you kindly check right now. Kindly see below for details

After this operation, 0 B of additional disk space will be used.
Setting up linux-image-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
Setting up linux-headers-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 7.0.0-28-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
make -j16 KERNELRELEASE=7.0.0-28-generic KERNEL_DIR=/lib/modules/7.0.0-28-generic/build all...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/v4l2loopback-dkms.0.crash'
Error! Bad return status for module build on kernel: 7.0.0-28-generic (x86_64)
Consult /var/lib/dkms/v4l2loopback/0.12.7/build/make.log for more information.
dkms autoinstall on 7.0.0-28-generic/x86_64 succeeded for nvidia
dkms autoinstall on 7.0.0-28-generic/x86_64 failed for v4l2loopback(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 7.0.0-28-generic
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-7.0.0-28-generic (--configure):
 installed linux-headers-7.0.0-28-generic package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
 linux-headers-generic-hwe-24.04 depends on linux-headers-7.0.0-28-generic; however:
  Package linux-headers-7.0.0-28-generic is not configured yet.

dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
 linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 7.0.0-28.28~24.04.1); however:
  Package linux-headers-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup er
ror from a previous failure.
                            Processing triggers for linux-image-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 7.0.0-28-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
make -j16 KERNELRELEASE=7.0.0-28-generic KERNEL_DIR=/lib/modules/7.0.0-28-generic/build all...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/v4l2loopback-dkms.0.crash'
Error! Bad return status for module build on kernel: 7.0.0-28-generic (x86_64)
Consult /var/lib/dkms/v4l2loopback/0.12.7/build/make.log for more information.
dkms autoinstall on 7.0.0-28-generic/x86_64 succeeded for nvidia
dkms autoinstall on 7.0.0-28-generic/x86_64 failed for v4l2loopback(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 7.0.0-28-generic
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-7.0.0-28-generic (--configure):
 installed linux-image-7.0.0-28-generic package post-installation script subprocess returned error exit status 11
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 linux-headers-7.0.0-28-generic
 linux-headers-generic-hwe-24.04
 linux-generic-hwe-24.04
 linux-image-7.0.0-28-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Apparmor interferes with CUPS PDF print https://askubuntu.com/questions/1568439/apparmor-interferes-with-cups-pdf-print

Could the issue be something other than apparmor? A 24.04 system on the same network gives the same DENIED type messages but, the print to PDF happens. On 26.04, I see no output file at all when the print is coming from another system on the LAN

Using 26.04. CUPS print to PDF is working when the originator of the file is on the 26.04 system. The CUPS PDF print is shared with other systems in my local area network. At attempt print to PDF from an XP system in my local area network is failing. The system log contains a few lines such as this

2026-07-16T21:23:36.032922-05:00 localhost kernel: audit: type=1400 audit(1784255016.031:150402): apparmor="DENIED" operation="connect" class="file" profile="/usr/lib/cups/backend/cups-pdf" name="/run/samba/winbindd/pipe" pid=1158626 comm="cups-pdf" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0

Due to the presence of an XP system in my local area network, winbind is installed.

I've got rid of the above message from syslog by disabling apparmor with regard to cupsd (I think) but messages about dbus-daemon persist, an example is:

2026-07-17T10:06:37.333138-05:00 localhost kernel: audit: type=1107 audit(1784300797.331:152868): pid=1310 uid=995 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/com/redhat/PrinterSpooler" interface="com.redhat.PrinterSpooler" member="JobQueuedLocal" name=":1.8991" mask="receive" pid=349875 label="unconfined" peer_pid=1168372 peer_label="/usr/sbin/cupsd" peer_info="No such file or directory"

What do I need to change so that this works?

nautilus is not showing my home directory contents https://askubuntu.com/questions/1568429/nautilus-is-not-showing-my-home-directory-contents

Up until a couple of days ago, everything was honky-dory. Earlier today, I went through a few firmware updates using the firmware-updater GUI and rebooted when asked. I am not sure whether what is happening is tied to that.

I'm on Ubuntu 24.04.

When I launch a terminal, I can see all my files. However, when I open Nautilus, all I see is a snap folder.

Any other link on the left panel, i.e., Downloads, Documents, Music, etc., shows an "Oops, something went wrong" message, while displaying the correct path underneath it. That path is accessible and owned by my user throughout, as I can see from the terminal.

I used to be a Unix/Linux sysadmin back in the day, but later switched to infosec and retired a few years ago. I can still find my way around Bash, but this GUI crap is all nonsense to me. How do I fix this?

Freecad (stable) reports error in Ubuntu 26.04 "Failed to create wl_display (No such file or directory)" https://askubuntu.com/questions/1568375/freecad-stable-reports-error-in-ubuntu-26-04-failed-to-create-wl-display-no

I use Freecad since more than 5 years on Ubuntu.

Freecad, channel stable, doesn't start anymore on all my Ubuntu machines installed with Ubuntu 26.04 (kept up-to-date). Channel edge however, does start.

Summary of the error (when started "freecad" in the terminal):

"Failed to create wl_display (No such file or directory) (qt.qpa.plugin) From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin."

Full text of the error massage:

Warning: Schema “org.gnome.system.locale” has path “/system/locale/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
FreeCAD 1.1.1, Libs: 1.1.1R44227 +647 (Git)
(C) 2001-2026 FreeCAD contributors
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.

Adding snap-specific PYTHONPATH to sys.path: /home/harm/snap/freecad/common/.local/lib/python3.12/site-packages:/snap/freecad/2337/lib/python3.12/site-packages:/snap/freecad/2337/usr/lib/python3/dist-packages

Failed to create wl_display (No such file or directory)
(qt.qpa.plugin) From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Ubuntu 24.04 / 25.04 26.04 cannot shut down properly on ThinkPad P50s, but Windows and Kali Linux work https://askubuntu.com/questions/1562157/ubuntu-24-04-25-04-26-04-cannot-shut-down-properly-on-thinkpad-p50s-but-windo

I am encountering a persistent shutdown issue that seems to be specific to Ubuntu, and I would like help diagnosing it.

System Information:

   Hardware: Lenovo ThinkPad P50s
   Architecture: x86_64
   Boot mode: UEFI
   Storage: Internal SSD (issue also occurs with no external devices connected)

Affected Ubuntu Versions:

   Ubuntu 24.04 LTS
   Ubuntu 25.04

This issue occurs on both versions.

Other Operating Systems (for comparison):

   Windows (same machine) → shuts down normally
   Kali Linux (same machine) → shuts down normally

This suggests the problem is not hardware-related, but likely related to Ubuntu-specific kernel, systemd, ACPI, or power management behavior.

Problem Description:

   When selecting Shut Down in Ubuntu
   The shutdown process starts
   The screen may go black or stay on a shutdown screen, however the system never fully powers off.
   Power LED remains on, and sometimes fans keep running. The only way to turn the machine off is by holding down the power button.

Steps to reproduce:

   Boot into Ubuntu (24.04 or 25.04).
   Use the system normally (or even stay idle).
   Click “Shut Down” from the system menu.
   The system hangs and does not power off.

What works:

   Reboot usually works correctly.
   Shutdown works normally on Windows and Kali Linux.

What I have tried:

   Waiting several minutes during shutdown
   Disconnecting all USB / external drives
   Fully updating the system
   Checking dmesg and journalctl for errors

Expected Behavior:

   The system should power off completely after shutdown.

Actual Behavior:

   Shutdown hangs and requires a forced power-off.

Suspicions / Questions:

   Possible ACPI or power-off (poweroff.target) issue
   Ubuntu-specific kernel or systemd configuration
   Missing or incompatible kernel parameters for ThinkPad P50s

I would appreciate advice on:

   What logs or debug options to collect
   Kernel parameters (e.g. acpi=, reboot=) worth testing
   Whether this is a known issue with recent Ubuntu kernels

Missing packages for Ubuntu 24.04 LTS arm64 https://askubuntu.com/questions/1531395/missing-packages-for-ubuntu-24-04-lts-arm64

I have an ARM-based virtual machine running Ubuntu 24.04 LTS (GNU/Linux 6.8.0-40-generic aarch64) at a small cloud provider. Today I was not able to install a new package; apt update and apt upgrade failed and gave errors about missing packages.

I tried several mirrors, but they are all missing some packages for Arm64. While manually checking a mirror from my browser, I noticed that all the other folders have a modification date of today.

Why are the Arm64 packages missing? Are they being built as I type this question? When will they be available?

The end of the output of sudo apt update:

Fetched 634 kB in 1s (455 kB/s)
Reading package lists... Done
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/noble-security/main/binary-arm64/Packages  404  Not Found [IP: 2620:2d:4000:1::103 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble/main/binary-arm64/Packages  404  Not Found [IP: 2620:2d:4000:1::103 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-updates/main/binary-arm64/Packages  404  Not Found [IP: 2620:2d:4000:1::103 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-backports/universe/binary-arm64/Packages  404  Not Found [IP: 2620:2d:4000:1::103 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

Screenshot of http://security.ubuntu.com/ubuntu/dists/noble-security/main/ without binary-arm64 folder:

Screenshot of http://security.ubuntu.com/ubuntu/dists/noble-security/main/ without binary-arm64 folder

Noise when initiating play with handsfree https://askubuntu.com/questions/1506285/noise-when-initiating-play-with-handsfree

A loud tikk sound is played when starting with handsfree.

In each use of handsfree this problem occurs only once.

I don't have that problem with the speaker.

Audio:
 Device-1: Intel Haswell-ULT HD Audio driver: snd_hda_intel
 Device-2: Intel 8 Series HD Audio driver: snd_hda_intel
 API: ALSA v: k6.6.15-amd64 status: kernel-api
 Server-1: PipeWire v: 1.0.3 status: active
Use KDE Plasma desktop over VNC on Kubuntu 22.04 https://askubuntu.com/questions/1498847/use-kde-plasma-desktop-over-vnc-on-kubuntu-22-04

In short: how I can I use the Plasma desktop environment over VNC?


I am running Ubuntu 22.04.3 LTS with KDE Plasma 5.24.7 (the "Kubuntu" image install).

Logging in to the machine physically is fine and the UI looks awesome. Now I want to access the machine using something like remote desktop, I figured VNC is the best option.

So I install and run tightvncserver on the machine, basically following this guide:

sudo apt install tightvncserver
tightvncserver :1

I can already remote in now, from Windows, using the RealVNC client. However, the screen is just empty.

So I go back to my machine to change ~/.vnc/xstartup and make it look like:

#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &

After restarting the VNC server I can now remote in and actually see and use a desktop, but the environment is of course now Xfce, instead of KDE Plasma like I use with physical access.
How can I use KDE when using VNC? Which xstartup command would I need?


I have already tried startkde &, startx & and startplasma-x11 & but all of those just result in a plain grey screen.

Specifically I found this guide which suggests the following for xstartup:

#!/bin/sh
# Start up the standard system desktop
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
/usr/bin/cinnamon-session
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
x-window-manager &

Now I get the Plasma loading splash screen on VNC connect, but after a few seconds the screen becomes black. The full error log for this from TightVNC:

03/01/24 11:37:50 Xvnc version TightVNC-1.3.10
03/01/24 11:37:50 Copyright (C) 2000-2009 TightVNC Group
03/01/24 11:37:50 Copyright (C) 1999 AT&T Laboratories Cambridge
03/01/24 11:37:50 All Rights Reserved.
03/01/24 11:37:50 See http://www.tightvnc.com/ for information on TightVNC
03/01/24 11:37:50 Desktop name 'X' (canis-major:1)
03/01/24 11:37:50 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
03/01/24 11:37:50 Listening for VNC connections on TCP port 5901
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: xrender >= 0.5 required to create pixmap cursors
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 32195, result = 0
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 355, resource id: 32, major code: 53 (CreatePixmap), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 356, resource id: 8388619, major code: 55 (CreateGC), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 357, resource id: 8388619, major code: 55 (CreateGC), minor code: 0
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit5: opened connection to :1
qt.qpa.xcb: XKeyboard extension not present on the X server
Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_style.so"
kdeinit5: Got SETENV 'GTK_RC_FILES=/etc/gtk/gtkrc:/home/robert/.gtkrc:/home/robert/.config/gtkrc' from launcher.
kdeinit5: Got SETENV 'GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/robert/.gtkrc-2.0:/home/robert/.config/gtkrc-2.0' from launcher.
QDBusConnection: error: could not send signal to service "" path "//home/robert/.kde/share/config/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/robert/.kde/share/config/kdeglobals
Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
Xlib:  extension "XInputExtension" missing on display ":1".
kdeinit5: Got SETENV 'XCURSOR_THEME=breeze_cursors' from launcher.
kdeinit5: Got SETENV 'XCURSOR_SIZE=24' from launcher.
org.kde.plasma.session: process job  "kcminit_startup" finished with exit code  0
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
Warning: Setting a new default format with a different version or profile after the global shared context is created may cause issues with context sharing.
The X11 connection broke: Unsupported extension used (code 2)
XIO:  fatal IO error 0 (Success) on X server ":1"
      after 183 requests (5 known processed) with 0 events remaining.
qt.qpa.xcb: XKeyboard extension not present on the X server
Qt: Session management error: networkIdsList argument is NULL
Xlib:  extension "MIT-SCREEN-SAVER" missing on display ":1".
kdeinit5: Got SETENV 'SESSION_MANAGER=local/canis-major:@/tmp/.ICE-unix/32251,unix/canis-major:/tmp/.ICE-unix/32251' from launcher.
kdeinit5: Got SETENV 'SESSION_MANAGER=local/canis-major:@/tmp/.ICE-unix/32251,unix/canis-major:/tmp/.ICE-unix/32251' from launcher.
Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_kgamma.so"
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/powerdevil.desktop" ("/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdevil")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/baloo_file.desktop" ("/usr/lib/x86_64-linux-gnu/libexec/baloo_file")
Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
kcm_touchpad: Using X11 backend
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.plasmashell.desktop" ("/usr/bin/plasmashell")
Xlib:  extension "XInputExtension" missing on display ":1".
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/xembedsniproxy.desktop" ("/usr/bin/xembedsniproxy")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop" ("/usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1")
kwin_platform_x11_standalone: Compositing disabled: no composite extension available
kwin_core: Compositing is not possible
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/kaccess.desktop" ("/usr/bin/kaccess")
Baloo File Indexing has been disabled
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pam_kwallet_init.desktop" ("/usr/share/libpam-kwallet-common/pam_kwallet_init")
kf.config.core: "\"fsrestore1\" - conversion of \"0,0,0,0\" to QRect failed"
kf.config.core: "\"fsrestore2\" - conversion of \"0,0,0,0\" to QRect failed"
kwin_core: Failed to update gamma ramp for output KWin::X11PlaceholderOutput(0x55c9cb2ee1e0, name="Placeholder-0", geometry=QRect(0,0 1920x1080), scale=1)
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 536, resource id: 20971525, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: XKeyboard extension not present on the X server
kde.xembedsniproxy: could not load damage extension. Quitting
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 544, resource id: 20971526, major code: 18 (ChangeProperty), minor code: 0
Xlib XKB extension major= 1  minor= 0
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
New PolkitAgentListener  0x5613b941ae00
Adding new listener  PolkitQt1::Agent::Listener(0x5613b94433a0) for  0x5613b941ae00
Listener online
X server has not matching XKB extension

qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 564, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
Authentication agent result: true
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pulseaudio.desktop" ("/usr/bin/start-pulseaudio-x11")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.discover.notifier.desktop" ("/usr/lib/x86_64-linux-gnu/libexec/DiscoverNotifier")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/gmenudbusmenuproxy.desktop" ("/usr/bin/gmenudbusmenuproxy")
AUDIT: Wed Jan  3 11:37:51 2024: 32132 Xtightvnc: client 12 rejected from local host
Failure: Module initialization failed
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/xdg-user-dirs.desktop" ("/usr/bin/xdg-user-dirs-update")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.kdeconnect.daemon.desktop" ("/usr/lib/x86_64-linux-gnu/libexec/kdeconnectd")
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
qt.qpa.xcb: XKeyboard extension not present on the X server
org.kde.powerdevil: org.kde.powerdevil.discretegpuhelper.hasdualgpu failed
org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed ""
org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
kf.plasma.quick: Applet preload policy set to 1
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/geoclue-demo-agent.desktop" ("/usr/libexec/geoclue-2.0/demos/agent")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/at-spi-dbus-bus.desktop" ("/usr/libexec/at-spi-bus-launcher", "--launch-immediately")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/im-launch.desktop" ("/usr/bin/sh", "-c", "if [ \"x$XDG_SESSION_TYPE\" = \"xwayland\" ] ; then exec env IM_CONFIG_CHECK_ENV=1 im-launch true; fi")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/spice-vdagent.desktop" ("/usr/bin/spice-vdagent")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/kup-daemon.desktop" ("/usr/bin/kup-daemon")
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/snap-userd-autostart.desktop" ("/usr/bin/snap", "userd", "--autostart")
org.kde.powerdevil: DPMS extension not available
qt.qpa.xcb: XKeyboard extension not present on the X server
kup.daemon: "Kup is not enabled, enable it from the system settings module. You can do that by running kcmshell5 kup"
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 612, resource id: 58720261, major code: 18 (ChangeProperty), minor code: 0
org.kde.powerdevil: Handle button events action could not check for screen configuration
org.kde.powerdevil: The profile  "AC" tried to activate "DimDisplay" a non-existent action. This is usually due to an installation problem, a configuration problem, or because the action is not supported
org.kde.powerdevil: The profile  "AC" tried to activate "DPMSControl" a non-existent action. This is usually due to an installation problem, a configuration problem, or because the action is not supported
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed ""
org.kde.kscreen: Failed to request backend: unknown error
org.kde.powerdevil: Handle button events action could not check for screen configuration
QObject::connect(QObject, ConfigMonitor::Private): invalid nullptr parameter
org.kde.kscreen: Failed to request backend: unknown error
qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:118:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:118:19: QML Loader: Binding loop detected for property "height"
The X11 connection broke: Unsupported extension used (code 2)
XIO:  fatal IO error 2 (No such file or directory) on X server ":1"
      after 478 requests (441 known processed) with 0 events remaining.
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 819, resource id: 46137350, major code: 15 (QueryTree), minor code: 0
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP

03/01/24 11:37:53 Got connection from client 127.0.0.1
03/01/24 11:37:53 Using protocol version 3.8
03/01/24 11:37:53 Full-control authentication passed by 127.0.0.1
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 24
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 16
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 22
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 21
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 15
03/01/24 11:37:53 Using zlib encoding for client 127.0.0.1
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding -314
03/01/24 11:37:53 Enabling full-color cursor updates for client 127.0.0.1
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding -223
03/01/24 11:37:53 Pixel format for client 127.0.0.1:
03/01/24 11:37:53   8 bpp, depth 6
03/01/24 11:37:53   true colour: max r 3 g 3 b 3, shift r 4 g 2 b 0
03/01/24 11:37:53 Using raw encoding for client 127.0.0.1
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 24
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 22
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 21
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 16
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 15
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding -314
03/01/24 11:37:53 Enabling full-color cursor updates for client 127.0.0.1
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding -223
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 24
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 16
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 22
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 21
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding 15
03/01/24 11:37:53 Using zlib encoding for client 127.0.0.1
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding -314
03/01/24 11:37:53 Enabling full-color cursor updates for client 127.0.0.1
03/01/24 11:37:53 rfbProcessClientNormalMessage: ignoring unknown encoding -223
03/01/24 11:37:53 Pixel format for client 127.0.0.1:
03/01/24 11:37:53   32 bpp, depth 24, little endian
03/01/24 11:37:53   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
03/01/24 11:37:53   no translation needed
kdeconnect.core: Could not query capabilities from notifications server
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 857, resource id: 8388622, major code: 18 (ChangeProperty), minor code: 0
03/01/24 11:38:25 Client 127.0.0.1 gone
03/01/24 11:38:25 Statistics:
03/01/24 11:38:25   key events received 2, pointer events 37
03/01/24 11:38:25   framebuffer updates 683, rectangles 39590, bytes 9729171
03/01/24 11:38:25     cursor shape updates 3, bytes 1092
03/01/24 11:38:25     raw rectangles 1, bytes 17292
03/01/24 11:38:25     zlib rectangles 39586, bytes 9710787
03/01/24 11:38:25   raw bytes equivalent 820767620, compression ratio 84.370986

Similar questions that are close but of no help to me:

vscode keeps crashing with "clean-exit" and code 0 https://askubuntu.com/questions/1489744/vscode-keeps-crashing-with-clean-exit-and-code-0

I just got the error message "The window terminated unexpectedly (reason: 'clean-exit', code:'0')" while working in vs code. I had launched an app at this point in the integrated terminal, but apart from that did not do anything off.

I now am not able to start vscode anymore as even after uninstalling and reinstalling I keep getting the mentioned error.
OS: Ubuntu Mate

Is there any way of deleting the apparently saved session data without losing all my other configurations? Thanks in advance.

Audio Conexant CX20753/4 only outputs to internal speaker if i reboot from Windows, headphones doesn't work https://askubuntu.com/questions/1459755/audio-conexant-cx20753-4-only-outputs-to-internal-speaker-if-i-reboot-from-windo

If I start Ubuntu from a cold boot, Internal audio, and Headphones work flawlessly.

But if I start Windows and I reboot to Ubuntu, only internal speakers work, no matter how much I connect and disconnect it from my laptop, the audio comes out of the speakers and not through the headphones even when they are connected.

Here are my logs and dumps:

Common info (There is the kernel info, the audio, and kernel modules):

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20753/4 Analog [CX20753/4 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
    Subsystem: Lenovo Sunrise Point-LP HD Audio
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 64
    Interrupt: pin A routed to IRQ 150
    Region 0: Memory at e1420000 (64-bit, non-prefetchable) [size=16K]
    Region 4: Memory at e1410000 (64-bit, non-prefetchable) [size=64K]
    Capabilities: [50] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Address: 00000000fee004d8  Data: 0000
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel, snd_soc_skl, snd_soc_avs


snd_seq_dummy          16384  0
snd_hrtimer            16384  1
snd_hda_codec_hdmi     81920  1
snd_ctl_led            24576  0
snd_hda_codec_conexant    28672  1
snd_hda_codec_generic   102400  1 snd_hda_codec_conexant
snd_soc_avs           131072  0
snd_soc_skl           176128  0
snd_soc_hdac_hda       24576  1 snd_soc_skl
snd_hda_ext_core       36864  3 snd_soc_avs,snd_soc_hdac_hda,snd_soc_skl
snd_soc_sst_ipc        20480  1 snd_soc_skl
snd_soc_sst_dsp        36864  1 snd_soc_skl
snd_soc_acpi_intel_match    69632  1 snd_soc_skl
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_soc_skl
snd_soc_core          368640  3 snd_soc_avs,snd_soc_hdac_hda,snd_soc_skl
snd_compress           24576  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      20480  1 snd_soc_core
snd_hda_intel          53248  3
snd_intel_dspcfg       36864  3 snd_soc_avs,snd_hda_intel,snd_soc_skl
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_hda_codec         176128  6 snd_hda_codec_generic,snd_hda_codec_conexant,snd_soc_avs,snd_hda_codec_hdmi,snd_hda_intel,snd_soc_hdac_hda
snd_hda_core          114688  9 snd_hda_codec_generic,snd_hda_codec_conexant,snd_soc_avs,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_hdac_hda,snd_soc_skl
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               155648  10 snd_soc_avs,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
ledtrig_audio          16384  3 snd_ctl_led,snd_hda_codec_generic,thinkpad_acpi
snd_seq_midi           20480  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            45056  1 snd_seq_midi
snd_seq                77824  9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              40960  3 snd_seq,snd_hrtimer,snd_pcm
snd                   114688  22 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_hda_codec_conexant,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm,snd_rawmidi
soundcore              16384  2 snd_ctl_led,snd


Linux thinkpad-e580 5.19.0-35-generic #36~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 17 15:17:25 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
  • When I cold boot to Ubuntu (shutdown laptop, power on, and boot to Ubuntu):

Dump:

Codec: Conexant CX20753/4
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x14f15111
Subsystem Id: 0x17aa5068
Revision Id: 0x100101
No Modem Function Group found
Default PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 D3cold S3D3cold CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=3, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x10 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="CX20753/4 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-Out vals:  [0x46 0x46]
  Converter: stream=0, channel=0
  PCM:
    rates [0x60]: 44100 48000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x11 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-Out vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  PCM:
    rates [0x60]: 44100 48000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x12 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x07, nsteps=0x07, stepsize=0x0f, mute=0
  Amp-Out vals:  [0x03]
Node 0x13 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Device: name="CX20753/4 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x80 0x80] [0x50 0x50] [0x50 0x50]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x18 0x1a* 0x19
Node 0x14 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x19* 0x1a 0x15
Node 0x15 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
  Amp-In caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10 0x11
Node 0x16 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x04211040: [Jack] HP Out at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10* 0x11
Node 0x17 [Pin Complex] wcaps 0x400501: Stereo
  Pincap 0x00000010: OUT
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10 0x11*
Node 0x18 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00001124: IN Detect
    Vref caps: HIZ 80
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x19 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00001124: IN Detect
    Vref caps: HIZ 80
  Pin Default 0x04a11030: [Jack] Mic at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1a [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x02 0x02]
  Pincap 0x00000020: IN
  Pin Default 0x95a60120: [Fixed] Mic at Int Top
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono

Screenshots from HDA Jack Retask: Basic View Advanced View

  • When I reboot from Windows to Ubuntu:

Dump:

Codec: Conexant CX20753/4
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x14f15111
Subsystem Id: 0x17aa5068
Revision Id: 0x100101
No Modem Function Group found
Default PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 D3cold S3D3cold CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=3, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=1, dir=0, wake=0, sticky=0, data=0, unsol=1
Node 0x10 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
  Control: name="Master Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Master Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="CX20753/4 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-Out vals:  [0x3d 0x3d]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x11 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-Out vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x12 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x07, nsteps=0x07, stepsize=0x0f, mute=0
  Amp-Out vals:  [0x03]
Node 0x13 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Device: name="CX20753/4 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x80 0x80] [0x50 0x50] [0x50 0x50]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x18 0x1a* 0x19
Node 0x14 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x19* 0x1a 0x15
Node 0x15 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
  Amp-In caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10 0x11
Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x17 [Pin Complex] wcaps 0x400501: Stereo
  Pincap 0x00000010: OUT
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10* 0x11
Node 0x18 [Pin Complex] wcaps 0x40058b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x0000113c: IN OUT HP Detect
    Vref caps: HIZ 80
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10* 0x11
Node 0x19 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00001124: IN Detect
    Vref caps: HIZ 80
  Pin Default 0x04a11030: [Jack] Mic at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1a [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x02 0x02]
  Pincap 0x00000020: IN
  Pin Default 0x95a60120: [Fixed] Mic at Int Top
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono

Screenshots from HDA Jack Retask: Basic view Advanced View

  • Changes between cold boot to Linux and reboot from Windows:

Diff: https://pastebin.com/q6jBNDgB

Screenshot with color output from terminal: Diff Color

Can it be a kernel-related bug about this?

I really appreciate any help you can provide.

Node.js is installed but not working https://askubuntu.com/questions/1403763/node-js-is-installed-but-not-working

Node.js is installed but not working. How to solve it?

$ nvm install node
Downloading and installing node v18.0.0...
Downloading https://nodejs.org/dist/v18.0.0/node-v18.0.0-linux-x64.tar.xz...
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v18.0.0 (npm v)
Creating default alias: default -> node (-> v18.0.0)
$ node -v
node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by node)
node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
Why does Dolphin take forever to load on Kubuntu 20.04 all of a sudden? https://askubuntu.com/questions/1378721/why-does-dolphin-take-forever-to-load-on-kubuntu-20-04-all-of-a-sudden

I am using Ubuntu 20.04 with kde plasma. All of a sudden, my Dolphin file browser takes forever to open. Earlier it opened instantly, but now it is taking almost 30 seconds to start.

This seems to have started after an update; when I use kernel 5.11.0-38-generic there is no issue: the problem occurs when I use kernel 5.11.0-41-generic. In addition when on 5.41 the whole system seems to run slower.

When I run dolphin from the command line, there is no error output, and it is as slow as before to open.

I am using an Intel 4690k CPU with 16GB ram and SSD. I checked my drive health and it is fine.

How can I make my CSR 4.0 work? https://askubuntu.com/questions/1315739/how-can-i-make-my-csr-4-0-work

I bought a CSR 4.0 bluetooth toogle hopping to use for music and stuff. I have already tried a plug n' play BT toogle but I can't remember its brand or model (it was white though). It worked for 4.0 devices but not for my 5.0 headphone for instance.

When I did the same thing for this "plug n' play" usb toogle it didn't work. After search the web and countless forums I come here again asking for help. Here is a quick list of thinks I tried and some details of the issue:

  1. First I installed the bluez and blueman packages (through synaptic) both in dev versions as well. When I open it and try to pair with my phone, it keeps searching endlessly.

  2. Also while blueman tries to search, the bluetooth system tool does as well.

  3. However, after installing the packages, my desktop is recognizable by my phone. But when I try to pair them: an error mensage apears.

That was pretty much what I did to solve it. The rest was me trying to diagnose the problem. It follows:

$ dmesg | grep Bluetooth
[   26.575777] Bluetooth: Core ver 2.22
[   26.575801] Bluetooth: HCI device and connection manager initialized
[   26.575806] Bluetooth: HCI socket layer initialized
[   26.575809] Bluetooth: L2CAP socket layer initialized
[   26.575812] Bluetooth: SCO socket layer initialized
[   27.131101] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds...
[   50.842293] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   50.842294] Bluetooth: BNEP filters: protocol multicast
[   50.842302] Bluetooth: BNEP socket layer initialized
[  108.698627] Bluetooth: RFCOMM TTY layer initialized
[  108.698636] Bluetooth: RFCOMM socket layer initialized
[  108.698643] Bluetooth: RFCOMM ver 1.11
[  275.396684] Bluetooth: hci0: command 0x0c3a tx timeout

...

[  847.972771] Bluetooth: hci0: command 0x0401 tx timeout
[ 1135.777423] Bluetooth: hci0: command 0x0c14 tx timeout
[ 1596.128411] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds...
[ 1614.944973] Bluetooth: hci0: command 0x0401 tx timeout

...

[ 8563.066095] Bluetooth: hci0: command 0x0401 tx timeout
[ 9612.606636] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds...
[ 9632.069367] Bluetooth: hci0: command 0x0401 tx timeout
[ 9644.069487] Bluetooth: hci0: command 0x0401 tx timeout
[ 9656.073641] Bluetooth: hci0: command 0x0401 tx timeout
[ 9668.069734] Bluetooth: hci0: command 0x0401 tx timeout
[ 9680.069856] Bluetooth: hci0: command 0x0401 tx timeout
[ 9692.069981] Bluetooth: hci0: command 0x0401 tx timeout
[ 9704.074094] Bluetooth: hci0: command 0x0401 tx timeout
[ 9716.070247] Bluetooth: hci0: command 0x0401 tx timeout
[ 9728.070347] Bluetooth: hci0: command 0x0401 tx timeout
[ 9740.070431] Bluetooth: hci0: command 0x0401 tx timeout

And:

    $ lsusb | grep Cambridge
    Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
$ hciconfig
 hci0:  Type: Primary  Bus: USB
    BD Address: 00:1A:7D:DA:71:10  ACL MTU: 640:4  SCO MTU: 64:8
    UP RUNNING PSCAN ISCAN 
    RX bytes:778 acl:0 sco:0 events:61 errors:0
    TX bytes:4789 acl:0 sco:0 commands:591 errors:540

Finally I saw that tip in one askubuntu topic and tried my own. The result:

$ sudo hcidump
HCI sniffer - Bluetooth packet analyzer ver 5.53
device: hci0 snap_len: 1500 filter: 0xffffffffffffffff
< HCI Command: Inquiry (0x01|0x0001) plen 5
    lap 0x9e8b33 len 8 num 0
< HCI Command: Reset (0x03|0x0003) plen 0

As a result of the code from another terminal tab

$ sudo hciconfig hci0 down
$ sudo hciconfig hci0 up
Can't init device hci0: Connection timed out (110)

So long I've seen, $ sudo hciconfig hci0 reset also works. Then the bluetooth system manager and gnome control panel behave like this and I have to remove and insert the device to be connected again.

Finally, I read that this could happen as the kernel were updated from Ubuntu 16 to 20. Mine is 5.8.0-43-generic, but people complain about this problem since 5.4. I'm not sure if installing an old kernel would solve it once I know almost nothing about it.

Any help is welcome ;)

How do I mount a GPT Drive in Ubuntu 18.04 LTS? https://askubuntu.com/questions/1038816/how-do-i-mount-a-gpt-drive-in-ubuntu-18-04-lts

So here´s what happened:

1 - I have an Imac and was trying to downgrade it from High Sierra to El Capitan by trying to force its installation manually. That corrupted the OS system files and I could not start the Imac.

2 - Then I created a bootable Ubuntu 18.04 LTS into a pendrive and am booting the Imac that way. While Ubuntu does list the drive, it cannot mount it. Therefore, I cannot backup the files to try and reinstall the mac OS again.

So, How do I get to mount the Apple SSD in order to backup my files ?

It´s an 1.0 TB Disk Apple SSD GPT partition, and the imac does not have access to internet, so anything I might need to install in order to fix this i have to get from another computer and use a flashdrive to transfer to the mac.

Hopefully i made myself clear enough, not a code expert so looking forward to the simplest solution to this.

EDIT: Here are some things I've tried:

sudo fdisk -l
Disk /dev/sda: 931.9 GiB, 1000555581440 bytes, 1954210120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt


Device      Start        End    Sectors   Size Type
/dev/sda1      40     409639     409600   200M EFI System
/dev/sda2  409640 1954210079 1953800440 931.7G unknown

ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt/mydrive mount: /mnt/mydrive: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.

root@ubuntu:~# sudo mount -o force -t hfsplus /dev/sda2 /mnt/mydrive mount: /mnt/mydrive: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.

`root@ubuntu:~# sudo blkid /dev/sda1: LABEL="EFI" TYPE="vfat" PARTLABEL="EFI System Partition" /dev/loop0: TYPE="squashfs" /dev/loop1: TYPE="squashfs" /dev/loop2: TYPE="squashfs" /dev/loop3: TYPE="squashfs" /dev/loop4: TYPE="squashfs" /dev/loop5: TYPE="squashfs" /dev/loop6: TYPE="squashfs" /dev/sdb1: LABEL="Ubuntu 18.04 LTS amd64" TYPE="iso9660" PTTYPE="dos" /dev/sdb2: SEC_TYPE="msdos" TYPE="vfat" /dev/sda2: PARTLABEL="Customer"

ubuntu@ubuntu:~$ chmod 777 /mnt/mydrive chmod: changing permissions of '/mnt/mydrive': Operation not permitted

root@ubuntu:~# dmesg | tail [15973.657824] hfsplus: unable to find HFS+ superblock [16676.299567] hfsplus: unable to find HFS+ superblock [16678.938532] hfsplus: unable to find HFS+ superblock [16692.359656] hfsplus: unable to find HFS+ superblock [16698.538832] hfsplus: unable to find HFS+ superblock [17648.524471] usb 1-6: USB disconnect, device number 12 [17906.084770] hfsplus: unable to find HFS+ superblock [18851.170154] hfsplus: unable to find HFS+ superblock [20157.836826] hfsplus: unable to find HFS+ superblock [20311.030734] hfsplus: unable to find HFS+ superblock

How can I open games I downloaded? https://askubuntu.com/questions/995897/how-can-i-open-games-i-downloaded

Every time I download a game from the terminal I can't open it.

Example 1:

$ sudo apt-get install 0ad
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0ad is already the newest version (0.0.22-3.1).
The following packages were automatically installed and are no longer required:
  libboost-atomic1.62.0 libboost-chrono1.62.0 libboost-program-options1.62.0
  libboost-serialization1.62.0 libboost-test1.62.0 libboost-timer1.62.0
  libcaribou-gtk-module libcaribou-gtk3-module libcgal12 libevent-2.0-5
  libgom-1.0-common libqcustomplot1.3 libqt5sql5 libqt5sql5-sqlite libsfcgal1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 113 not upgraded.

Now when I try to launch O A.D.:

0ad
bash: 0ad: command not found

Example 2:

sudo apt-get install nsnake

same thing...

Now time to run it.

nsnake  
bash: nsnake: command not found.  
What editor can I use as a simple vi/vim alternative? https://askubuntu.com/questions/920147/what-editor-can-i-use-as-a-simple-vi-vim-alternative

I'm a Windows user coming to Ubuntu's Bash thanks to WSL. Now I need to edit some files and I really hate Vi. Do I just have to deal with it, or is there a simpler alternative?

The features I am looking for are:

  • CLI based
  • easy to use (typing and editing should be similar to Notepad)
  • simple editing capabilities are enough

I will try to master Vim, but I need to make a quick edit right now!

LibreOffice Writer edited document is recognized as virus or spyware https://askubuntu.com/questions/590000/libreoffice-writer-edited-document-is-recognized-as-virus-or-spyware

I got MS word document, person asked me to edit it, to add table of contents, to add page numbers, because she doesn't know how to do in MS Office. So I did with LibreOffice writer. But when I saved (tried several filetypes, including: .doc, .docx, .odt) and send file back to her through facebook firefox and chrome showed error in download list saying

"Blocked: May contain a virus or spyware - "

And actually it says same thing when I download file which I sent and try to open it. And when I did edited this file second time, this time with windows and MS word, everything worked just fine.

So what's the problem here... Do I have virus which is unlikely, not even because I'm on linux, but I know how viruses works and I do not open suspicious files, I'm not going to suspicious websites and this ubuntu 14.04 LTS installed 2 weeks ago.

Something should be wrong with LibreOffice, right.. ?

Can't find any info on the internet about this issue...

And I can replicate this by creating new file with LibreOffice Writer, saved it in .odt with random text with two fonts, Times New Roman and LiberationSeriff, sent it via facebook and can not open it, same error...

Did some experiments and: it's Times New Roman font what caused the problem... What should I do? I need this font...

EDITED: So I turned off this blockage on firefox and I can download file and open it, haven't tried to open it in MS office yet, so not sure if it will work if something really wrong what libre does with MS fonts...

UPDATE: well... everything works in MS Office, nothing bad happened with fonts or document when I opened it. So everything works, but still, browser treats it as virus or spyware. :) I guess LibreOffice guys should know that...