HP ProBook 645 G3 — Synaptics touchpad enumerates as "PS/2 Generic Mouse" after sleep/boot, no gestures, phantom clicks https://askubuntu.com/questions/1567761/hp-probook-645-g3-synaptics-touchpad-enumerates-as-ps-2-generic-mouse-after

System details

  • Laptop: HP ProBook 645 G3

  • OS: Ubuntu 26.04 LTS (Resolute Raccoon)

  • Kernel: 7.0.0-22-generic

  • BIOS: P82 Ver. 01.45 (latest available)

  • Windowing system: Wayland (GNOME 50)

Problem

After a sleep/resume cycle, the Synaptics touchpad loses its proper enumeration and falls back to basic PS/2 mode. On the next boot it may enumerate as "PS/2 Logitech Mouse" or "PS/2 Generic Mouse" instead of a Synaptics touchpad, causing phantom clicks, erratic cursor jumps, and complete loss of multi-touch gestures.

The touchpad works normally in BIOS (basic pointer only, no gestures). On Windows it enumerates correctly as "Synaptics SMBus TouchPad" with the proper driver.

Key findings

  • Touchpad is on serio3 (i8042 AUX2 port). Keyboard is on serio0.

  • Firmware ID confirms Synaptics hardware: PNP: SYN304d SYN0100 SYN0002 PNP0f13

  • Protocol on serio3 shows PS/2 instead of Synaptics

  • Attempting echo -n "synaptics" | sudo tee /sys/bus/serio/devices/serio3/protocol silently fails — protocol stays PS/2

  • libinput debug events show wildly erratic coordinates (e.g. 467.50/-73.33, -499.88/486.16) and phantom BTN_LEFT/RIGHT/MIDDLE firing simultaneously from event19

  • Adding AttrPressureRange=8:0 via udev rule on serio3's physical path stabilises basic pointer movement as a workaround but does not restore gestures

  • Kernel params i8042.reset, i8042.nomux, i8042.nopnp tried — broke keyboard, reverted

  • options psmouse proto=synaptics in modprobe.d tried — also broke keyboard, reverted

Theory

Suspect EC (Embedded Controller) state corruption on sleep/resume is causing the touchpad to re-enumerate in PS/2 emulation mode instead of Synaptics protocol mode. The EC firmware appears to have been written with Windows' resume sequence in mind. Is there a way to force Synaptics protocol negotiation specifically on serio3 without affecting serio0 (keyboard), or to trigger a proper EC reset on resume?

Question

What is the correct way to force this specific Synaptics device (SYN304d on serio3) to negotiate Synaptics protocol on boot and after resume, without breaking the keyboard on serio0?

When installing Ubuntu's first version (4.10), it gets stuck at installing the kernel on 87%. Any fixes? [closed] https://askubuntu.com/questions/1567756/when-installing-ubuntus-first-version-4-10-it-gets-stuck-at-installing-the-k

I am running this in Virtualbox, put the HDD and CD in a virtual IDE, and gave it 30 gigabytes of storage. I have an image of it being stuck.

enter image description here

Epson L380 printing random symbols, asterisks, and blank lines on Ubuntu https://askubuntu.com/questions/1567755/epson-l380-printing-random-symbols-asterisks-and-blank-lines-on-ubuntu

The version I use is Ubuntu 26.04 LTS

Hi everyone! I urgently need help with my printer on Ubuntu (dark theme GUI).

I have an Epson L380-Series connected via USB. Every time I send a document to print (or even a system test page), it does not print the text. Instead, it feeds mostly blank pages with random lines of numbers, asterisks, and weird characters.

I have already tried the following troubleshooting steps with NO success:

  1. Cleared paragraph formatting and margins in the document.
  2. Exported the document to PDF and tried printing directly from a web browser (Chrome/Firefox), but it still outputs random code/symbols.
  3. Power-cycled the printer to clear its internal memory cache.
  4. Deleted the printer from the system settings, unplugged the USB cable, plugged it into a different port, and turned it back on so the system would re-add it automatically.

I suspect this is a corrupted driver issue, a raw data stream conflict, or a CUPS service glitch, but I am a beginner user and don't know how to properly reset CUPS or force the correct driver for this specific model. Could anyone guide me on the terminal commands or steps to fix this?

Running commands in Linux https://askubuntu.com/questions/1567754/running-commands-in-linux

I am new to Linux and when I use my keyboard combination Ctrl + Alt + T I obtain the following prompt:

user@ARKPC-1234567:~$

I just am trying to find out if my bootloader certificates are satisfactory for any Windows issues that may come along at the end of June 2026. It seems like sudo commands whatever they are may enable me to be an administrator (which surely I should be by default anyway).

I am used to running commands under the Windows command prompt where I obtained the following:

Microsoft Windows [Version 10.0.19045.6466]  
(c) Microsoft Corporation. All rights reserved.  
C:\Users\Mark>
Ubuntu Hangs on Shutdown - kernel bug https://askubuntu.com/questions/1567750/ubuntu-hangs-on-shutdown-kernel-bug

I believe this is a bug but trying to report it as a bug got me nowhere. Hopefully developers will take this and run with it or maybe someone here can tell me how to do it. the ubuntu-bug command needs a package name and I don't know what to use for this. Running Ubuntu 24.04 LTS. When using the latest kernel 6.17.0-35-generic Ubuntu hangs on shutdown. When running 6.14.0-37-generic everything is fine. My hardware is an Asus ROG Strix laptop with an AMD Ryzen processor and Nvidia Geforce RFX display hardware.

Trouble singing in [duplicate] https://askubuntu.com/questions/1567745/trouble-singing-in

I think somebody may have accessed my laptop and, amongst other things, changed the admin password. Now I cannot log in as admin. Is there a way to fix it?

Seems my ubuntu passward works for logging in and the terminal, but not the snap store https://askubuntu.com/questions/1567744/seems-my-ubuntu-passward-works-for-logging-in-and-the-terminal-but-not-the-snap

Lately I've been struggling to install a few updates for the ubuntu snap store. The password that works for logging in and the terminal works, but for whatever reason it won't work on the snap store despite me having no memory or changing I at all. Any idea tl fix this?

Does Ubuntu Core 26 work on Raspberry Pi 5? https://askubuntu.com/questions/1567743/does-ubuntu-core-26-work-on-raspberry-pi-5

I have a few Pi's running UC24 and wanted to "upgrade" them to UC26.

I followed the instructions for the remodel and ran into a boot failure issue on reboot.

From there I decided to install fresh. There was no UC26 option in the rpi-imager so I pulled the

    ubuntu-core-26-arm64+raspi.img.xz

image from https://cdimage.ubuntu.com/ubuntu-core/26/stable/current/ . This boots to a blank screen for me (tried both micro-HDMI ports).

Does anyone else have UC26 running on a Pi5? If so, which image did you use and were there any extra steps?

wpa2 enterprise with no certificate at (k)ubuntu26.04 - cannot connect https://askubuntu.com/questions/1567738/wpa2-enterprise-with-no-certificate-at-kubuntu26-04-cannot-connect

I just installed kubuntu 26.04; but then I just cannot connect to my University WPA2 enterprise wifi (like I could with 25.20, 24.04 and 22.04), signal eduroam.

This signal is configured with wpa2 enterprise, mschapv2 and peap, but no CA certificate.

At NetworkManager I (no longer? I cannot recall in previous kubuntu versions...) do not have a square to tick "No CA certificate" (initially I thought leaving it blank would mean "No certificate").

The command nm-connection-editor does show a window where I have such square - I save the configuration for eduroam, but I cannot devise where it is saved.

In fact, I can see a file netplan-NM-44fa4c25-2dc7-4a52-b83e-adcd7dd39185-eduroam.nmconnection at /run/NetworkManager/system-connections, but this file does not contain a line , e.g.,

system-ca-cert=false

(or whatever line I should provide to say there is no CA certificate). Also, this file is created at run time.

Yet, at /etc/NetworkManager/system-connections I produced a file netplan-NM-44fa4c25-2dc7-4a52-b83e-adcd7dd39185-eduroam.nmconnection with such line - but I could not devise how to convince the system to use this configuration file when I call for a connection to eduroam.

Currently I see some alternatives, that I do not know exactly how to put in action: i) the NetworkManager to be instructed to not use a certificate, even if it is does not present this option at its configuration window ii) the gui issued by the nm-connection-editor command to record a configuration file that does become used iii) to connect by the nmcli command, but to use a specific configuration file

I googled around , but I must miss some detail here. Thank you,

J.


As indicated, I add to the original question my new comments:

Thanks heynnema and Andrei Borzenkov for inputs.

a) I tried netplan apply and retested, no difference (so I learn there is a /etc/netplan/ directory with some .yaml configuration files); b) I thought my problem might be the CA certificate - well I might not be sure of this. I try to connect to eduroam and it keeps asking for my password, again and again. I do get this eduroam connection through windows 10 (dual boot machine). c) If I understand, this issue of CA certificate might not be the culprit. So I report what I observe at trying to log and I also write below the log "with journactl" with the "relevant lines" (sorry for the length):

"

Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.7625] audit: op="connection-activate" uuid="44fa4c25-2dc7-4a52-b83e-adcd7dd39185" name="eduroam" pid=1873 uid=1000 result="success"
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.7753] audit: op="statistics" interface="wlp0s20f3" ifindex=2 args="0" pid=1873 uid=1000 result="success"
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8335] device (wlp0s20f3): state change: deactivating -> disconnected (reason 'new-activation', managed-type: 'full')
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8337] dhcp4 (wlp0s20f3): canceled DHCP transaction
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8338] dhcp4 (wlp0s20f3): activation: beginning transaction (timeout in 45 seconds)
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8338] dhcp4 (wlp0s20f3): state changed no lease
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8531] manager: NetworkManager state is now DISCONNECTED
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8532] device (wlp0s20f3): Activation: starting connection 'eduroam' (44fa4c25-2dc7-4a52-b83e-adcd7dd39185)
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8537] device (wlp0s20f3): supplicant interface state: completed -> disconnected
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8537] device (p2p-dev-wlp0s20f3): supplicant management interface state: completed -> disconnected
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8549] device (wlp0s20f3): state change: disconnected -> prepare (reason 'none', managed-type: 'full')
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8561] manager: NetworkManager state is now CONNECTING
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8562] device (wlp0s20f3): state change: prepare -> config (reason 'none', managed-type: 'full')
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8564] device (wlp0s20f3): Activation: (wifi) access point 'eduroam' has security, but secrets are required.
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8564] device (wlp0s20f3): state change: config -> need-auth (reason 'none', managed-type: 'full')
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8570] device (wlp0s20f3): state change: need-auth -> prepare (reason 'none', managed-type: 'full')
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8571] device (wlp0s20f3): state change: prepare -> config (reason 'none', managed-type: 'full')
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8572] device (wlp0s20f3): Activation: (wifi) connection 'eduroam' has security, and secrets exist.  No new secrets needed.
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8576] Config: added 'ssid' value 'eduroam'
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8576] Config: added 'scan_ssid' value '1'
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8576] Config: added 'bgscan' value 'simple:30:-65:300'
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8576] Config: added 'key_mgmt' value 'WPA-EAP FT-EAP FT-EAP-SHA384 WPA-EAP-SHA256'
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8576] Config: added 'password' value '<hidden>'
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8576] Config: added 'eap' value 'PEAP'
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8576] Config: added 'fragment_size' value '1266'
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8576] Config: added 'phase2' value 'auth=MSCHAPV2'
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8577] Config: added 'identity' value 'iulek'
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8577] Config: added 'proactive_key_caching' value '1'
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8795] device (wlp0s20f3): supplicant interface state: disconnected -> authenticating
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.8795] device (p2p-dev-wlp0s20f3): supplicant management interface state: disconnected -> authenticating
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.9218] device (wlp0s20f3): supplicant interface state: authenticating -> associating
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.9219] device (p2p-dev-wlp0s20f3): supplicant management interface state: authenticating -> associating
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.9393] device (wlp0s20f3): supplicant interface state: associating -> associated
Jun 15 15:07:08 silicon NetworkManager[213851]: <info>  [1781546828.9394] device (p2p-dev-wlp0s20f3): supplicant management interface state: associating -> associated
Jun 15 15:07:12 silicon NetworkManager[213851]: <info>  [1781546832.0253] device (wlp0s20f3): supplicant interface state: associated -> disconnected
Jun 15 15:07:12 silicon NetworkManager[213851]: <info>  [1781546832.0253] device (p2p-dev-wlp0s20f3): supplicant management interface state: associated -> disconnected
Jun 15 15:07:12 silicon NetworkManager[213851]: <info>  [1781546832.1254] device (wlp0s20f3): supplicant interface state: disconnected -> scanning
Jun 15 15:07:12 silicon NetworkManager[213851]: <info>  [1781546832.1255] device (p2p-dev-wlp0s20f3): supplicant management interface state: disconnected -> scanning
Jun 15 15:07:25 silicon NetworkManager[213851]: <info>  [1781546845.6761] device (wlp0s20f3): supplicant interface state: scanning -> authenticating
Jun 15 15:07:25 silicon NetworkManager[213851]: <info>  [1781546845.6761] device (p2p-dev-wlp0s20f3): supplicant management interface state: scanning -> authenticating
Jun 15 15:07:25 silicon NetworkManager[213851]: <info>  [1781546845.7191] device (wlp0s20f3): supplicant interface state: authenticating -> associating
Jun 15 15:07:25 silicon NetworkManager[213851]: <info>  [1781546845.7192] device (p2p-dev-wlp0s20f3): supplicant management interface state: authenticating -> associating
Jun 15 15:07:25 silicon NetworkManager[213851]: <info>  [1781546845.7364] device (wlp0s20f3): supplicant interface state: associating -> associated
Jun 15 15:07:25 silicon NetworkManager[213851]: <info>  [1781546845.7364] device (p2p-dev-wlp0s20f3): supplicant management interface state: associating -> associated
Jun 15 15:07:34 silicon NetworkManager[213851]: <warn>  [1781546854.5693] device (wlp0s20f3): Activation: (wifi) association took too long
Jun 15 15:07:34 silicon NetworkManager[213851]: <info>  [1781546854.5693] device (wlp0s20f3): state change: config -> need-auth (reason 'none', managed-type: 'full')
Jun 15 15:07:34 silicon NetworkManager[213851]: <warn>  [1781546854.5695] device (wlp0s20f3): Activation: (wifi) asking for new secrets
Jun 15 15:07:34 silicon NetworkManager[213851]: <info>  [1781546854.5967] device (wlp0s20f3): supplicant interface state: associated -> disconnected
Jun 15 15:07:34 silicon NetworkManager[213851]: <info>  [1781546854.5967] device (p2p-dev-wlp0s20f3): supplicant management interface state: associated -> disconnected
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9711] device (wlp0s20f3): state change: need-auth -> prepare (reason 'none', managed-type: 'full')
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9715] device (wlp0s20f3): state change: prepare -> config (reason 'none', managed-type: 'full')
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9719] device (wlp0s20f3): Activation: (wifi) connection 'eduroam' has security, and secrets exist.  No new secrets needed.
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9728] Config: added 'ssid' value 'eduroam'
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9728] Config: added 'scan_ssid' value '1'
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9728] Config: added 'bgscan' value 'simple:30:-65:300'
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9728] Config: added 'key_mgmt' value 'WPA-EAP FT-EAP FT-EAP-SHA384 WPA-EAP-SHA256'
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9729] Config: added 'password' value '<hidden>'
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9729] Config: added 'eap' value 'PEAP'
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9729] Config: added 'fragment_size' value '1266'
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9729] Config: added 'phase2' value 'auth=MSCHAPV2'
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9729] Config: added 'identity' value 'iulek'
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9729] Config: added 'proactive_key_caching' value '1'
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9824] device (wlp0s20f3): supplicant interface state: disconnected -> scanning
Jun 15 15:07:57 silicon NetworkManager[213851]: <info>  [1781546877.9825] device (p2p-dev-wlp0s20f3): supplicant management interface state: disconnected -> scanning
Jun 15 15:08:00 silicon NetworkManager[213851]: <info>  [1781546880.7687] device (wlp0s20f3): supplicant interface state: scanning -> authenticating
Jun 15 15:08:00 silicon NetworkManager[213851]: <info>  [1781546880.7688] device (p2p-dev-wlp0s20f3): supplicant management interface state: scanning -> authenticating
Jun 15 15:08:00 silicon NetworkManager[213851]: <info>  [1781546880.8126] device (wlp0s20f3): supplicant interface state: authenticating -> associating
Jun 15 15:08:00 silicon NetworkManager[213851]: <info>  [1781546880.8127] device (p2p-dev-wlp0s20f3): supplicant management interface state: authenticating -> associating
Jun 15 15:08:00 silicon NetworkManager[213851]: <info>  [1781546880.8349] device (wlp0s20f3): supplicant interface state: associating -> associated
Jun 15 15:08:00 silicon NetworkManager[213851]: <info>  [1781546880.8350] device (p2p-dev-wlp0s20f3): supplicant management interface state: associating -> associated
Jun 15 15:08:05 silicon NetworkManager[213851]: <info>  [1781546885.8040] device (wlp0s20f3): supplicant interface state: associated -> disconnected
Jun 15 15:08:05 silicon NetworkManager[213851]: <info>  [1781546885.8040] device (p2p-dev-wlp0s20f3): supplicant management interface state: associated -> disconnected
Jun 15 15:08:05 silicon NetworkManager[213851]: <info>  [1781546885.9055] device (wlp0s20f3): supplicant interface state: disconnected -> scanning
Jun 15 15:08:05 silicon NetworkManager[213851]: <info>  [1781546885.9055] device (p2p-dev-wlp0s20f3): supplicant management interface state: disconnected -> scanning
Jun 15 15:08:19 silicon NetworkManager[213851]: <info>  [1781546899.4321] device (wlp0s20f3): supplicant interface state: scanning -> authenticating
Jun 15 15:08:19 silicon NetworkManager[213851]: <info>  [1781546899.4322] device (p2p-dev-wlp0s20f3): supplicant management interface state: scanning -> authenticating
Jun 15 15:08:19 silicon NetworkManager[213851]: <info>  [1781546899.4753] device (wlp0s20f3): supplicant interface state: authenticating -> associating
Jun 15 15:08:19 silicon NetworkManager[213851]: <info>  [1781546899.4754] device (p2p-dev-wlp0s20f3): supplicant management interface state: authenticating -> associating
Jun 15 15:08:19 silicon NetworkManager[213851]: <info>  [1781546899.4951] device (wlp0s20f3): supplicant interface state: associating -> associated
Jun 15 15:08:19 silicon NetworkManager[213851]: <info>  [1781546899.4952] device (p2p-dev-wlp0s20f3): supplicant management interface state: associating -> associated
Jun 15 15:08:22 silicon NetworkManager[213851]: <info>  [1781546902.6583] device (wlp0s20f3): supplicant interface state: associated -> disconnected
Jun 15 15:08:22 silicon NetworkManager[213851]: <info>  [1781546902.6583] device (p2p-dev-wlp0s20f3): supplicant management interface state: associated -> disconnected
Jun 15 15:08:22 silicon NetworkManager[213851]: <info>  [1781546902.7585] device (wlp0s20f3): supplicant interface state: disconnected -> scanning
Jun 15 15:08:22 silicon NetworkManager[213851]: <info>  [1781546902.7585] device (p2p-dev-wlp0s20f3): supplicant management interface state: disconnected -> scanning
Jun 15 15:08:23 silicon NetworkManager[213851]: <warn>  [1781546903.5690] device (wlp0s20f3): Activation: (wifi) association took too long
Jun 15 15:08:23 silicon NetworkManager[213851]: <info>  [1781546903.5690] device (wlp0s20f3): state change: config -> need-auth (reason 'none', managed-type: 'full')
Jun 15 15:08:23 silicon NetworkManager[213851]: <warn>  [1781546903.5692] device (wlp0s20f3): Activation: (wifi) asking for new secrets
Jun 15 15:08:25 silicon NetworkManager[213851]: <info>  [1781546905.5123] device (wlp0s20f3): supplicant interface state: scanning -> inactive
Jun 15 15:08:25 silicon NetworkManager[213851]: <info>  [1781546905.5123] device (p2p-dev-wlp0s20f3): supplicant management interface state: scanning -> inactive
Jun 15 15:08:26 silicon NetworkManager[213851]: <warn>  [1781546906.2536] device (wlp0s20f3): no secrets: User canceled the secrets request.
Jun 15 15:08:26 silicon NetworkManager[213851]: <info>  [1781546906.2536] device (wlp0s20f3): state change: need-auth -> failed (reason 'no-secrets', managed-type: 'full')
Jun 15 15:08:26 silicon NetworkManager[213851]: <info>  [1781546906.2538] manager: NetworkManager state is now DISCONNECTED
Jun 15 15:08:26 silicon NetworkManager[213851]: <warn>  [1781546906.2539] device (wlp0s20f3): Activation: failed for connection 'eduroam'
Jun 15 15:08:26 silicon NetworkManager[213851]: <info>  [1781546906.2541] device (wlp0s20f3): state change: failed -> disconnected (reason 'none', managed-type: 'full')
Jun 15 15:08:28 silicon NetworkManager[213851]: <info>  [1781546908.9803] policy: auto-activating connection 'acessoLivreUEPG' (6ca6770e-ad6c-4f89-8685-3ec9f427180e)

"

(acessoLivre - undesirable - is the signal it gets automatically if no success in with eduroam).

I hope this brings in more details. Please, let me know if you need more information. I also try to learn from the points you raise.

Thanx.

J.

Having issue with fstab and startup https://askubuntu.com/questions/1567720/having-issue-with-fstab-and-startup

I've done this many times on different systems, but this has me puzzled:

OS: Ubuntu 26

Had an external drive that I was mounting using the fstab.

/dev/sda1 /data ext4 defaults 0 0

I removed the drive and of course it rebooted and went into recovery mode. So I edited the /etc/fstab and removed the external drive mount. Now when it reboots, it still hangs up on trying to mount that drive.

Does Ubuntu 26 store the information that is/was in the fstab in another spot? Like a database or other file? I noticed the fstab in Ubuntu 26 is very minimal, so I'm guessing there is some sort of other place that needs to be updated??

Unattended Upgrade Emails with msmtp https://askubuntu.com/questions/1567670/unattended-upgrade-emails-with-msmtp

I do not want to install a complete mail stack on my server as we have a mailserver in our network that can deliver emails already. I have a very simple and functioning msmtp setup but it seems that unattended upgrades wants specific packages that procure a program called mailx, mail and sendmail.

I have already tried to just symlink sendmail and mail to msmtp as I remember these programs to have the same command line arguments but running a dry-run with the reporting set to "always" doesn't deliver any mail.

Is there some simple way to set something up that doesn't require me to install the entire emailing stack that comes with bsd-mailx (which includes postfix) and similar packages?

No focus, no paste in Ubuntu https://askubuntu.com/questions/1567667/no-focus-no-paste-in-ubuntu

Recently I got problems with my Ubuntu 22.04 using Gnome: I can’t paste with the mouse middle button. New windows didn’t get focus or remained hidden. I tried several suggestions from the web but to no avail. I installed 25.04 and 26.04 on the side using the same home directory. The same problems. A new user with a fresh home on any of the installations has no problems. My experiments shows that the problems are associated with the home/.config directory. My .config is, however, huge and I have difficulties finding the culprit file or files. Can anyone pls help me. Any tip is appreciated. Håkan

How to unlock custom refresh rate https://askubuntu.com/questions/1567657/how-to-unlock-custom-refresh-rate

I have asus monitor and it supports overclock to 270 hz. but ubuntu 26.04 only can recognize 240hz, if I install nvidia rtx 3060 gpu and it's drivers I can get 270hz, but for some reason my AMD rx 9070xt gpu and display can only give me 240hz, I've tried to make some changes through xrandr but no luck, changes I make are not applying and my custom options not showing up, I've also tried to use software Linux_CRU-x86_64 but still no dice. Can someone assist me?

Laptop battery percentage stays at 80% even after powering off https://askubuntu.com/questions/1567630/laptop-battery-percentage-stays-at-80-even-after-powering-off

I have Preserve Battery Health option enabled on Ubuntu 25.10. It is limiting the battery charging capacity at around 80% level but even after shutting down the laptop and turning it on next morning, I see the battery level stays at 80%.

Doesn't it suppose to start at 100% and go down to %80 and stay there? Since OS have no control on the battery after shut down, it should be charged to the maximum level.

What am I missing?

Ubuntu 26.04 inaccessible disk https://askubuntu.com/questions/1567128/ubuntu-26-04-inaccessible-disk

I have a ASUS TUF GAMING laptop with two separate nvme each 1TB. On first one windows 11 installed with bitlocker disabled. And on the second one I installed Ubuntu Raccoon. But during installation Ubuntu installer reported bitlocker detected. Anyhow installation finished without any problem. I did not used any encryption either. Just created a user to login. I have created a swap, efi and an ext4 partition. After login, I could not mount the ext4 partition as it prompts for a password!? By the way, I checked the disk and discovered a Microsoft reserved partition in front of queue which was strange. Any idea? Tks

How can I override the sudo being used by ansible for a given host? https://askubuntu.com/questions/1566824/how-can-i-override-the-sudo-being-used-by-ansible-for-a-given-host

I have a number of hosts running Ubuntu in a lab managed by ansible. Ansible is used to upgrade and install specific deb and apt packages.

I've just upgraded one to 26.04 LTS. The upgrade caused a problem with ansible, triggered by the transition to sudo-rs.

How can I specify for a specific machine a different sudo executable; in this case, /usr/bin/sudo.ws?

How do I change default terminal emulator? https://askubuntu.com/questions/1557467/how-do-i-change-default-terminal-emulator

I'm currently using Ubuntu 25.04 and recently tried changing the default terminal from gnome-terminal to ghostty.

I tried running sudo update-alternatives --config x-terminal-emulator, but ghostty wasn't listed.

I then ran sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /snap/bin/ghostty 50

After that I could see ghostty in update-alternatives, but, even after rebooting, when I open the terminal with Ctrl+Alt+T, gnome-terminal still opens instead.

What am I missing here?

smbpasswd command changes password fail on Ubuntu 24 https://askubuntu.com/questions/1537039/smbpasswd-command-changes-password-fail-on-ubuntu-24

I have an Ubuntu 24.04 LTS server with a bunch of users, all having accounts on it and their home directories being available via Samba.

I need to allow each user to be able to change its own Samba password using the command smbpasswd but it can't work, I get following error:

machine 127.0.0.1 rejected to change the password with error: {Access Denied} A process has requested access to an object but has not been granted those access rights.

The following content is my Samba parameters.

yaobmc@U24:~$ testparm 
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
    log file = /var/log/samba/log.%m
    logging = file
    map to guest = Bad User
    max log size = 1000
    obey pam restrictions = Yes
    pam password change = Yes
    panic action = /usr/share/samba/panic-action %d
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    passwd program = /usr/bin/passwd %u
    server role = standalone server
    server string = %h server (Samba, Ubuntu)
    unix password sync = Yes
    usershare allow guests = Yes
    idmap config * : backend = tdb


[homes]
    browseable = No
    comment = Home Directories
    create mask = 0700
    directory mask = 0700
    read only = No
    valid users = %S

As far as I was able to look for a solution I couldn't find a good one. Do you have any ideas?

How can I transfer files from Ubuntu Linux to iPhone? https://askubuntu.com/questions/1534792/how-can-i-transfer-files-from-ubuntu-linux-to-iphone

I would like to transfer PDFs, MP3s, and MP4s from Ubuntu 20 Linux to iPhone 16, but I am struggling to find a way to easily do this, and I need your help.

On Android, I'm very used to connecting my phone to my computer with a USB cable, simply copying files over from my computer, locating them via the Files app on Android, and opening them with whatever app makes sense for the file type. I'd like to do the same thing with iPhone.

When I plug my iPhone into my computer via USB, I see two mounts in Files: "Documents on iPhone" and "iPhone". "iPhone" shows pictures and videos from my camera. If I try creating a folder there, I get an error: "Error while creating directory testing123. There was an error creating the directory in gphoto2://[...]. Error creating directory: -6: Not Supported".

In "Documents on iPhone", I see app icons for GarageBand, iMovie, Keynote, Numbers, Pages, Brave, and Firefox. If I double-click Brave or Firefox, I see a Downloads folder. If I try creating a folder there, I get an error: "Error while creating directory testing123. There was an error creating the directory in afc://[...]/Downloads. The connection was interrupted." At that point, I can no longer access ("This location could not be displayed. Sorry, could not display all the contents of "Brave": Unhandled Apple File Control error (2)"), and I have to remount.

Many recommend libimobiledevice and ifuse. I installed those on Ubuntu and can successfully mount my iPhone and copy files to it, but I can't see the files or access them from my iPhone.

I enabled Bluetooth and could successfully pair my iPhone with my computer, but I didn't see any option on either side to initiate a file transfer via Bluetooth, and https://help.ubuntu.com/stable/ubuntu-help/bluetooth-send-file.html.en says "Send Files does not work on unsupported devices such as iPhones."

I don't want to pay for an app to do what I think should be a very simple thing.

I don't want to use cloud services (such as iCloud, Dropbox, Google Drive) because I don't want to upload gigs of data and then download gigs of data. Same applies to email and messaging.

I don't have a Windows or macOS computer to work with.

I don't want to jailbreak my phone.

How can I successfully copy PDFs, MP3s, and MP4s from Ubuntu 20 Linux to iPhone 16 and open them from iPhone?

How to fix `GLIBCXX_3.4.30' not found in Ubuntu 22.04 https://askubuntu.com/questions/1432031/how-to-fix-glibcxx-3-4-30-not-found-in-ubuntu-22-04

Trying to compile dotnet code on ubuntu and get this error:

Failed to load /usr/lib/dotnet/dotnet6-6.0.109/host/fxr/6.0.9/libhostfxr.so, error: /home/ubuntu/anaconda3/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/dotnet/dotnet6-6.0.109/host/fxr/6.0.9/libhostfxr.so) The library libhostfxr.so was found, but loading it from /usr/lib/dotnet/dotnet6-6.0.109/host/fxr/6.0.9/libhostfxr.so failed

dotnet --version and dotnet --info do not work.

How do I fix this?

Ubuntu 22.04. Flameshot not working https://askubuntu.com/questions/1410848/ubuntu-22-04-flameshot-not-working

Just upgraded to 22.04 from 21.10. Flameshot not working. I click on the Flameshot icon and nothing happens. How to fix this?

Connect to openconnect server from the command line? https://askubuntu.com/questions/1346952/connect-to-openconnect-server-from-the-command-line

I tried finding a similar question and did but there's a caveat though, older questions use --no-cert-check option which is removed due to security reasons and I don't know the exact fingerprint for the server as it will change from time to time. I need to pass two inputs to the openconnect command using something like echo -e "arg1\narg2" but was not successful.

How can I do it? (below is the command I used):

echo -e "yes\nmypassword" | openconnect serveraddress --user="myuser" --passwd-on-stdin
How to make space in /boot/efi without resizing the partition? https://askubuntu.com/questions/1237185/how-to-make-space-in-boot-efi-without-resizing-the-partition

I upgraded to 20.04 yesterday. I just noticed that in Ubuntu Software there is an update for Dell Inc. System Firmware, but my system does not have enough space to run the update.

enter image description here

Is there any way except by resizing the partition with gparted (or similar) to clean this location up from Ubuntu?

I want to keep the Windows partition.

enter image description here

With ls -alt /boot/efi/EFI/ubuntu/

total 4248
-rwxr-xr-x 1 root root     108 Mai  7 22:04 BOOTX64.CSV
-rwxr-xr-x 1 root root     117 Mai  7 22:04 grub.cfg
-rwxr-xr-x 1 root root 1677176 Mai  7 22:04 grubx64.efi
-rwxr-xr-x 1 root root 1269496 Mai  7 22:04 mmx64.efi
-rwxr-xr-x 1 root root 1334816 Mai  7 22:04 shimx64.efi
drwxr-xr-x 6 root root    1024 Feb 18 18:45 ..
drwxr-xr-x 3 root root    1024 Jan 15 19:26 .
drwxr-xr-x 2 root root    1024 Jan 15 19:26 fw
-rwxr-xr-x 1 root root   61833 Nov 13 19:46 fwupdx64.efi

In the fw folder

-rwxr-xr-x 1 root root 11500365 Jan 15 19:26 fwupd-33773727-8ee7-4d81-9fa0-57e8d889e1fa.cap
-rwxr-xr-x 1 root root    57218 Jan 15 19:26 fwupd-3b8c8162-188c-46a4-aec9-be43f1d65697.cap

In the Dell folders

drwxr-xr-x 4 root root 1024 Feb 18 18:45 .
drwxr-xr-x 6 root root 1024 Feb 18 18:45 ..
drwxr-xr-x 2 root root 6144 Feb 18 18:45 logs
drwxr-xr-x 3 root root 1024 Dez 10 11:55 Bios

ls -alt /boot/efi/EFI/Dell/Bios/

total 3
drwxr-xr-x 4 root root 1024 Feb 18 18:45 ..
drwxr-xr-x 3 root root 1024 Dez 10 11:55 .
drwxr-xr-x 2 root root 1024 Dez 10 11:55 Recovery

ls -alt /boot/efi/EFI/Dell/Bios/Recovery/

total 21288
drwxr-xr-x 2 root root     1024 Dez 10 11:55 .
drwxr-xr-x 3 root root     1024 Dez 10 11:55 ..
-rwxr-xr-x 1 root root 10874905 Dez 10 11:55 BIOS_CUR.RCV
-rwxr-xr-x 1 root root 10920235 Jun  6  2019 BIOS_PRE.rcv
WiFi connection error: deauthenticating by local choice (Reason: 3=DEAUTH_LEAVING) https://askubuntu.com/questions/1180240/wifi-connection-error-deauthenticating-by-local-choice-reason-3-deauth-leavin

I'm encountering a connection issue to my university WiFi network that I cannot solve: when attempting to connect, I get the following message with dmesg -T :

[ven. oct. 11 12:32:04 2019] wlan0: deauthenticating from X by local choice (Reason: 3=DEAUTH_LEAVING)

This problem has already been pointed out in the forum, but none of the solutions I tried worked:

  • Disabling the powersave for WiFi (in /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf set wifi.powersave = 2 ).
  • Changing from NetworkManager to WICD.
  • Adding the following lines to /etc/sysctl.conf:

    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1
    

None of these worked.

Hard drive is not bootable after a sudden powercut(power interruption) https://askubuntu.com/questions/1118152/hard-drive-is-not-bootable-after-a-sudden-powercutpower-interruption

It's an old Asus laptop that i use sometime for programming. It's battery is dead so i have to be connected to power supply whenever i have to use. Was working fine for the last few years(even with a dead battery). Today while i was working on it, the power plug got dislodged from the socket and the computer instantly shutoff (normal, happened a lot previously). But this time when i tried to start it up, the first time- i could hear the wheezy sound(as usual) but the screen was complete black as if it was shutoff. I gave it some time but didn't see anything on the screen so i rebooted. Now the screen lights up proper (as usual) but i get the 'This is not a bootable disk ...Insert a bootable floppy and press any key...' error on the screen. I tried these at the BIOS setup

  1. enable/disable UEFI

  2. check boot priority ( there's only the hard drive and the dvd drive with the hard drive at the top priority).

No result.

I had a live USB of a Kali distro and i could boot from it (UEFI mode). My hard drive is GPT. It has Ubuntu 16.04 and Lubuntu 18.10 dual booted. Six partition including the sda1(grub_boot). There is no secure boot option in my BIOS setup.

Could anybody suggest :

  1. Where should i look to see whether it is a hardware related problem or just the grub is messed up.

  2. Should i go ahead with a Boot-repair or wait until it am sure where he problem is. Thanks in advance


                   :Update:

I restarted my system and now, as Ill luck would have it , the screen doesn't even light up though i can hear the fan noise see the power lights. Restarted a dozen of times but to no use so gave up. In the evening, i tried as the last ditch effort but now it's seemed the problem got worse as i could not even hear the fan noise or in fact no noise at all. So couldn't figure out if the POST test is happening or not after pressing the power button. So as a final effort, i started the pc on last time and kept in on for a good 20 minutes and then restarted the System. seems it solved the Dead screen issue and now i can see the pc logo and can enter the BIOS setup. But however, the initial problem still persist so now i am going to do some smart test from the live Kali on flash drive. This is a whole new experience, will update if get any major result.

How to automatically connect OpenConnect VPN when the connection closes? https://askubuntu.com/questions/803021/how-to-automatically-connect-openconnect-vpn-when-the-connection-closes

I need to use a third party web service which is accessible only through Cisco AnyConnect VPN. I'm using OpenConnect on Ubuntu to connect to this VPN using host, username, and password.

However, instead of having to manually connect every time we need to connect to the service (since the service is being consumed by a script that runs on daily basis), I would like to set it up once and have itself reconnect when the tunnel breaks.

Is there a way for us to connect openconnect client (or any other similar client for Cisco AnyConnect) to automatically reconnect when the connection breaks.

Alternatively, is there a way to login without username and password and store that configuration somewhere so we can automatically respawn the process when it stops.

Please note that this is all on a server, so no GUI.

Rotate images from terminal https://askubuntu.com/questions/591733/rotate-images-from-terminal

I have a directory with a lots of images but they are in the wrong orientation. I want to rotate the images to correct the orientation (mostly ±90o). Using image (shotwell photo) viewer I can rotate them individually by clicking the rotate button but that's too tedious.

I looked at man shotwell and shotwell --help-all but there's nothing that explains how to invoke the rotate command from the command line.

Is there any way I can invoke the rotate command of shotwell (or any other viewer) from the terminal? Or any other methods to rotate images are welcome too.

Shorten lines, adding "..." ellipsis https://askubuntu.com/questions/523861/shorten-lines-adding-ellipsis

How to cut off lines that are longer than some width, and marking the lines that were chopped off with an ellipsis?

Only lines that were actually shortened should be marked, but not lines that had just the right lenght in the first place.

I would like to use the command in a pipeline.

How do I get passed the "MBR-helper missing" error message in installation? [closed] https://askubuntu.com/questions/406079/how-do-i-get-passed-the-mbr-helper-missing-error-message-in-installation

I'm entirely new to Linux/Ubuntu so please bear with me.

I currently have Windows 7 32Bit and wanted to install Ubuntu. I used the installation off the website and copied it onto my bootable USB. As I installed Ubuntu it says I need to reboot my system - so I did.

As I try to boot up in Ubuntu it just simply says 'MBR-helper missing' and nothing else, however, it lets me boot back up in Windows fine.

Is there a way to get around or repair this error? I can't find a clear answer on forums.

Is this error because I copied it into my USB? Or is this a common yet fixable problem?

Please help.

Create bookmarks in pdf https://askubuntu.com/questions/88256/create-bookmarks-in-pdf

I've noticed that when viewing some PDFs in Evince some of them have a index in the left side of Evince where items are clickable.

Well i want to build something like that for one PDF is that possible in Ubuntu?

like this enter image description here