Ubuntu 26.04 LTS freezes during suspension https://askubuntu.com/questions/1567639/ubuntu-26-04-lts-freezes-during-suspension

Ubuntu 26.04 LTS freezes specially during suspension mode and none of the keys on the keyboard or mouse work. The laptop with Ubuntu 26.04 LTS is a Lenovo Legion 5 15AHP10 with:
- CPU: AMD Ryzen 7 260 w/ Radeon 780M Graphics
- GPU: GB206M [GeForce RTX 5060 Max-Q / Mobile]
- RAM: 32GB
- kernel: 7.0.0-15-generic
- NVIDIA-SMI 595.58.03 Driver Version: 595.58.03 CUDA Version: 13.2

Could you please help me?

SHARP BP -20M22 [closed] https://askubuntu.com/questions/1567636/sharp-bp-20m22

It can be very frustrating when a printer doesn't work after you've gone through the trouble of installing it! Since the printer is a SHARP BP-20M22 and you are running Ubuntu 22.04.5 LTS,

Xubuntu 26.04 Minimal ISO with 32-bit UEFI (Intel Atom Bay/Cherry Trail Support) need modified iso [closed] https://askubuntu.com/questions/1567634/xubuntu-26-04-minimal-iso-with-32-bit-uefi-intel-atom-bay-cherry-trail-support

I found a guide explaining how to add 32-bit UEFI GRUB support to modern Linux distributions for Intel Atom devices that have a 32-bit EFI firmware but a 64-bit CPU.

Unfortunately, I do not have another Linux computer available to perform the ISO modification myself. My tablet is currently unable to boot Linux, so I cannot follow the guide and rebuild the installation image.

I would like to kindly ask if someone could create a modified version of xubuntu-26.04-minimal-amd64.iso with 32-bit UEFI boot support already included.

The target devices are Intel Atom Bay Trail and Cherry Trail tablets (such as Z3735, Z3736, Z8300, Z8350, and similar models) that are limited by their 32-bit EFI firmware.

I believe many users with these older Atom tablets would benefit from a ready-to-use ISO that can boot without requiring manual modification.

If anyone is willing to help or provide such an ISO, I would greatly appreciate it.

How to create an atom 32EFI ISO image:

https://www.linuxium.com.au/how-tos/customizing-ubuntu-isos-documentation-and-examples-of-how-to-use-isorespin-sh

target ISO need modify:

http://ftp.uni-kl.de/pub/linux/ubuntu-dvd/xubuntu/releases/26.04/release/xubuntu-26.04-minimal-amd64.iso

For devices limited to 32-bit EFI, Xubuntu Minimal is the best option. If someone does this, they'll bring back to life a device that many people have forgotten about in dusty cupboards.

Please, someone do this favor.

I recommend you read it = https://www.theregister.com/oses/2026/05/06/gnome-may-rule-ubuntu-resolute-raccoon-but-xorg-isnt-roadkill-yet/5219477

Ubuntu versions:

Ubuntu versions

converting RTL PDF to text https://askubuntu.com/questions/1567631/converting-rtl-pdf-to-text

I have scanned pdf and I want to convert it to text. I have Ubuntu 24.04.
I installed ocrmypdf and made my pdf file searchable.
Then I tried to install pdf2txt:

$ python3 --version 
Python 3.12.3  
$ pip install pdfminer.rtl
error: externally-managed-environment

× This environment is externally managed
...

$ sudo apt install python3-pdfminer.rtl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-pdfminer.rtl
E: Couldn't find any package by glob 'python3-pdfminer.rtl'

How can I make it work?
Maybe I have to install another package?

I succeeded to do this with Google Drive:
uploaded the PDF to Google Drive and opened it with 'Open with > Google Docs'.
High resolution helps.

Still, is there a Linux way to do this?

Upd: I installedpdfminer and run pdf2txt, and it seems working fine, but produced very low quality results.
So I started the whole process from beginning: scan with NAPS2 with higher resolution, run ocrmypdfand received errors:

$ocrmypdf infile.pdf withtext_file.pdf
Scanning contents     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 3/3 0:00:00
Start processing 3 pages concurrently                                                                                ocr.py:96
OCR                   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 3/3 0:00:00
Postprocessing...                                                                                                   ocr.py:144
PDF/A conversion      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 3/3 0:00:00
GPL Ghostscript 9.55.0 (2021-09-27)                                                                         ghostscript.py:309
Copyright (C) 2021 Artifex Software, Inc.  All rights reserved.                                                               
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:                                                    
see the file COPYING for details.                                                                                             
Warning: the map file cidfmap was not found.                                                                                  
Processing pages 1 through 3.                                                                                                 
Page 1                                                                                                                        
                 Output may be incorrect.                                                                                     
                                                                                                                              
                                                                                                                              
 Error: Invalid 0.0 horizontal text scaling given for Tz                                                    ghostscript.py:309
                 Output may be incorrect.                                                                                     

and more lines like this error. It is not clear which one of NAPS2 or ocrmypdf is to blame, but Document Viewer has no problem with this pdf file.

Anybody can help?

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 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?

HP EliteBook 8770w + AMD FirePro M4000 (GCN1/Tahiti) - Black Screen on Kubuntu 26.04 https://askubuntu.com/questions/1567628/hp-elitebook-8770w-amd-firepro-m4000-gcn1-tahiti-black-screen-on-kubuntu-2

I am trying to run Kubuntu 26.04 LTS on an HP EliteBook 8770w and I am having GPU driver issues.

Laptop: HP EliteBook 8770w CPU: Intel Core i5-3380M GPU: AMD FirePro M4000 PCI ID: 1002:682d BIOS Version: F.43 SSD: Samsung 840 SSD Kubuntu Version Kubuntu 26.04 LTS Kernel: 7.0.0-22-generic Plasma 6 Problem

The system only boots successfully when using: quiet splash nomodeset

Without nomodeset:

Kubuntu logo appears Screen turns black System never reaches the desktop Current Status

With nomodeset: glxinfo -B

returns: OpenGL renderer string: llvmpipe (LLVM 21.1.8, 256 bits)

and: inxi -Gxx shows:

Device: AMD/ATI Chelsea XT GL [FirePro M4000] driver: N/A renderer: llvmpipe

So the system is running entirely in software rendering.

Driver Tests amdgpu

Kernel log: amdgpu 0000:01:00.0: probe with driver amdgpu failed with error -22 radeon

I tried: sudo modprobe -r amdgpu sudo modprobe radeon

Result: modprobe: ERROR: could not insert 'radeon': Invalid argument

No useful radeon-related messages appear in dmesg.

Firmware Firmware appears to be installed: apt search linux-firmware-amd

shows: linux-firmware-amd-graphics installed

Tahiti firmware files exist: ls /lib/firmware/radeon | grep -i tahiti

returns: TAHITI_ce.bin.zst TAHITI_mc.bin.zst TAHITI_me.bin.zst TAHITI_pfp.bin.zst TAHITI_rlc.bin.zst TAHITI_smc.bin.zst ... GRUB Tests Tried:

quiet splash radeon.si_support=1 amdgpu.si_support=0

Result: Kubuntu logo appears Screen goes black No desktop

Tried: quiet splash nomodeset radeon.si_support=1 amdgpu.si_support=0

Result: System boots llvmpipe only Additional Information lspci -vnn -s 01:00.0

shows: 01:00.0 VGA compatible controller [0300]: AMD/ATI Chelsea XT GL [FirePro M4000] [1002:682d] Kernel modules: radeon, amdgpu

but there is no: Kernel driver in use: entry.

Questions

  1. Has anyone successfully used a FirePro M4000 (PCI ID 1002:682d) with Kubuntu/Ubuntu 26.04 and Kernel 7.0?
  2. Should this GPU use the radeon driver or amdgpu?
  3. Is this a known regression with Southern Islands / GCN 1.0 GPUs?
  4. Are there additional kernel parameters required for Tahiti/GCN1 on Kernel 7.0?
  5. Would booting an older 6.x kernel be recommended?

Any help would be appreciated.

When i open my LRTerminal its black from Raspberry Pi5 [closed] https://askubuntu.com/questions/1567626/when-i-open-my-lrterminal-its-black-from-raspberry-pi5

I think i followed the coding wrong and skipped a step and now its saying LXTerminal and I cannot get back into my regular command box. Do you guys know how I can get my command box back? It says pyenv cannot rehash... shims isnt rewritable

No such files or directory

Thank you

Fully disable/shut down GPU as if not connected: possible? https://askubuntu.com/questions/1567620/fully-disable-shut-down-gpu-as-if-not-connected-possible

My goal is to reduce the needed power as much as possible, in sum it should be under 30-40W. For this, I need to also disable my GPU in a way it consumes 0W or nearly 0W. I will use my CPU instead. I am fine with changing this per boot. This is not regarding a laptop but regarding a self-build PC with an AMD processor, so there seems no prime-select available as far as I am concerned.

Currently, I have it connected and running for my main display and processing. This consumes around 20W when using the browser or similar daily use apps.

What I have already tried:

  • Put a 1 into the "remove" file in the dev device (if I remember right) (no notable effect)

  • Restrict or disabled it via TLP (only Hz etc. seems "possible" but had no notable effect)

  • Restrict it via Nvidia Driver (able to restrict to lowest Hz but nearly no effect = 15-20W consumed)

  • Use software to switch between GPU and internal GPU (would disable the GPU) but this errored and lead to system crashes

  • Disable all NVidia Drivers at boot (nearly no effect, also tested together with dev/remove)

  • Switch the primary output in the motherboards settings to the internal GPU (no effect with normal usage as described above)

  • Remove it physically (reaches the 30-40W I want, but damages the GPU's pins and is hard to do from outside the case)

I also already thought about a switch I could implement into the extension cable, but I heard, the GPU works at such high speeds that if the cable length would only change a few mm it could lead to failures.

NVIDIA RTX 4050 Laptop GPU reports max power limit of 115W, but nvidia-smi -pl says power limit changes are not supported https://askubuntu.com/questions/1567619/nvidia-rtx-4050-laptop-gpu-reports-max-power-limit-of-115w-but-nvidia-smi-pl-s

I'm running Ubuntu with the NVIDIA RTX 4050 Laptop GPU.

I would like to understand why I cannot change the GPU power limit even though nvidia-smi reports that the GPU supports power limits between 5W and 115W.

When I run:

sudo nvidia-smi -pl 80

I get:

Changing power management limit is not supported for GPU: 00000000:01:00.0.
Treating as warning and moving on.
All done.

nvidia-smi output:

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.159.03             Driver Version: 580.159.03     CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4050 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   42C    P8              3W /   55W |      15MiB /   6141MiB |      0%      Default |
+-----------------------------------------------------------------------------------------+

Power information from:

nvidia-smi -q -d POWER
GPU Power Readings
    Average Power Draw       : 3.40 W
    Instantaneous Power Draw : 3.40 W
    Current Power Limit      : 55.00 W
    Requested Power Limit    : 55.00 W
    Default Power Limit      : 55.00 W
    Min Power Limit          : 5.00 W
    Max Power Limit          : 115.00 W

My questions are:

  1. Why does nvidia-smi show a maximum power limit of 115W if changing the power limit is not supported?

  2. Is this restriction imposed by the laptop firmware/BIOS, the NVIDIA driver, or Ubuntu?

  3. Is there any supported way on Ubuntu to increase the power limit above 55W for an RTX 4050 Laptop GPU?

Any explanation of how laptop GPU power limits are handled on Linux would be appreciated.

Camera not working - ubuntu 26 https://askubuntu.com/questions/1567617/camera-not-working-ubuntu-26

I have a Lenovo ThinkPad X9-15 Gen 1 with Ubuntu 26.04 (Resolute Raccoon, kernel 7.0.0-22-generic) and the built-in camera is not working in any application (Firefox, GNOME Camera, etc.). I tried to replicate solutions, given for ubuntu 24, but with no avail.

Some troubleshooting

Ubuntu version: 26.04

Ubuntu sees the camera:

$ v4l2-ctl --list-devices
Intel MIPI Camera (platform:v4l2loopback-000):
    /dev/video0

What I've already tried:

  • Installed oem-sutton-dana-meta, libcamhal0, linux-modules-ipu7-generic, v4l2loopback-dkms

  • v4l2-ctl --list-devices shows the camera via v4l2loopback

  • ipu7x.so is present in /usr/lib/libcamhal/plugins/

  • pw-cli list-objects shows the camera in PipeWire

v4l2-relayd -d fails with:

CamHAL[ERR] load_camera_hal_library, failed to open PCI device
gst_parse_launch_full: assertion 'pipeline_description != NULL' failed

libcamhal-ipu7x cannot be installed due to broken dependencies:

Depends: libjsoncpp25 but it is not installable (Ubuntu 26.04 has libjsoncpp26)
Depends: libia-cca-ipu7x0
Depends: libia-log-ipu7x0
Depends: libcamhal-ipu7x-common
Restoring incremental backups with RSYNC https://askubuntu.com/questions/1567615/restoring-incremental-backups-with-rsync

long story short, I had a dual boot Windows/Ubuntu 24.04. I removed my Windows but had accidentally removed a partition. Result, I could not longer boot in my Ubuntu.

I tried repairing the grub but was getting too complicated.

I re-installed my Ubuntu 24.04 using the same settings I had.

Before this, I had a weekly rsync backups since March done on my /home/.. folder and they were stored in another partition that is intact. I forgot how it was setup.

However, I am having hard time how to restore it (want to do a dry-run first).

Here is my backup folder:

  • duplicity-full.*.manifest.gpg
  • duplicity-full..vol.difftar.gpg
  • duplicity-full-signatures.*.sigtar.gpg
  • duplicity-inc..to..manifest.gpg
  • duplicity-inc..to..vol*.difftar.gpg
  • duplicity-new-signatures..to..sigtar.gpg

I do not want to restore everything.

I want to first see the files that are in the backups and decide which ones I want to restore.

How do I do this and which files do I give it?

(Asus motherboard logo appears twice when booting to GRUB menu with dual boot https://askubuntu.com/questions/1567613/asus-motherboard-logo-appears-twice-when-booting-to-grub-menu-with-dual-boot

The Asus motherboard manufacturer's logo appears twice when booting to GRUB boot menu with a dual boot. How do I fix this?

How can I investigate what process or event may have removed files and directories? https://askubuntu.com/questions/1567604/how-can-i-investigate-what-process-or-event-may-have-removed-files-and-directori

I am using Ubuntu 24.04 LTS. I have a directory located at ~/Documents/myfiles/....

About one day ago, this directory contained at least seven subdirectories with various files, mainly .odt (LibreOffice), .doc documents, and some source code files such as C++ headers and implementation files (.h, .cpp), as well as Java classes.

Yesterday, I closed my laptop without shutting it down, and it remained in sleep mode for about a day. When I opened it today, I noticed that almost all files and folders inside that directory had disappeared.

I am confident that no one else had access to this laptop during that time.
There is more than enough free space.

I would like to understand how this could have happened. Is there any way to track file or folder deletion history in Ubuntu? I checked the history command, but I did not find any commands such as rm or anything that would indicate manual deletion.

Upd1 This is the output of the command lsblk -e7 -o model,name,size,fstype,label,uuid,mountpoints Mian system where files disappear is nvme0n1

MODEL                      NAME                              SIZE FSTYPE      LABEL                    UUID                                   MOUNTPOINTS
SanDisk Portable SSD       sda                             931.5G iso9660     Ubuntu 24.04.2 LTS amd64 2025-02-15-09-15-26-00                
                           ├─sda1                            5.9G iso9660     Ubuntu 24.04.2 LTS amd64 2025-02-15-09-15-26-00                 /cdrom
                           ├─sda2                              5M vfat        ESP                      B5A5-8010                              
                           ├─sda3                            300K                                                                            
                           └─sda4                          925.6G ext4        writable                 145b53db-2397-4435-bb64-de2ba458fc04   /var/crash
                                                                                                                                              /var/log
SAMSUNG MZVLB512HBJQ-000L2 nvme0n1                         476.9G                                                                            
                           ├─nvme0n1p1                         1G vfat                                 80E7-8AB3                              
                           ├─nvme0n1p2                         2G ext4                                 061fdd73-39b9-4af5-a7e2-b67883a1cef5   /media/ubuntu/061fdd73-39b9-4af5-a7e2-b67883a1cef5
                           └─nvme0n1p3                     473.9G crypto_LUKS                          a13de4f1-09ad-4a30-a503-116e4fdab06d  
                             └─luks-a13de4f1-09ad-4a30-a503-116e4fdab06d
                                                           473.9G LVM2_member                          5xejxc-ebRJ-n8U7-sowq-kZhg-hu1R-i1JkbC
                               └─ubuntu--vg-ubuntu--lv     473.9G ext4                                 85c485d1-28de-4212-b9f3-b0fb795c2a52  
ubuntu@ubuntu:/var/log/recovered$

Upd2

(base) denis@denis:~$ stat ~/Documents/myfiles/
  File: /home/denis/Documents/myfiles/
  Size: 4096        Blocks: 8          IO Block: 4096   directory
Device: 252,1   Inode: 5667304     Links: 3
Access: (0775/drwxrwxr-x)  Uid: ( 1000/   denis)   Gid: ( 1000/   denis)
Access: 2026-06-09 09:28:46.700779427 +0300
Modify: 2026-06-07 13:11:09.468080205 +0300
Change: 2026-06-07 13:11:09.468080205 +0300
 Birth: 2026-06-07 13:11:09.468080205 +0300

Upd3 The history output. I am sure that before command 1959 the files were not deleted. There is no rm and as far as I know those command cannot delete/remove anuthing

1959  cat /sys/class/net/eno1/queues/rx-0/rps_cpus 
 1960  echo ffff|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1961  echo 0|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1962  echo ffff|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1963  powerprofilesctl get
 1964  powerprofilesctl performance
 1965  powerprofilesctl set performance
 1966  echo f|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1967  echo ffff|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1968  echo 00f0|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1969  echo 0f00|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1970  echo 32768|sudo tee /proc/sys/net/core/rps_sock_flow_entries
 1971  echo 32768|sudo tee /sys/class/net/eno1/queues/rx-0/rps_flow_cnt
 1972  echo ffff|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1973  sudo sysctl -p 99-tcp-tuning-optimal.conf
 1974  cd Documents/job/
 1975  ls
 1976  clear
 1977  find ./ -name "wrk2" 2>/dev/null
 1978  find ./ -name "wrk" 2>/dev/null
 1979  find / -name "wrk" 2>/dev/null
 1980  find / -name "Prometheus" 2>/dev/null
 1981  last
 1982  history
Ubuntu Studio 26.04 and intermittent GUI-lockup https://askubuntu.com/questions/1567599/ubuntu-studio-26-04-and-intermittent-gui-lockup

On installing Ubuntu Studio 26.04 from scratch, I ended-up with an unusable system due to the screen getting scrambled+lockup at random moments several times per day. I have likewise experience on Ubuntu 25.10. This scramble+lockup was not there on earlier versions. HW has - amongst others - a Geforce RTX card driving my monitor. Googling around suggests that there is an incompatibility-issue against wayland. Before I ditch this (not exactly cheap) video-card, what options do I have? I know that I can workaround back to Xorg to some point, however, that can only be a temp workaround as all distro's seem to be forced to move to wayland. So Xorg is likely to become a narrower path every day.

Video card = GeForce RTX 2060 Rev. A I Installed Ubuntu from scratch and have not added anything related to Nvidia, manually.

This morning, I found that when logging in on the GUI desktop, it logs me out after some thing like 10 seconds. ssh-access is OK.

Update: installed 595 nvidia-driver + reboot. Desktop GUI is now usable. Have to wait and see if issues around stability are fixed by this.

Upgrade from Ubuntu 24.04 LTS to 26.04 LTS Results in No Video After BIOS Screen https://askubuntu.com/questions/1567592/upgrade-from-ubuntu-24-04-lts-to-26-04-lts-results-in-no-video-after-bios-screen

Yesterday I upgraded from Ubuntu 24.04.3 LTS to 26.04 LTS and whenever I boot, after the BIOS screen, the video output stops. My monitor says no video. I had a similar problem with this computer about 6 months ago when I tried to upgrade to the latest non-LTS version for a brand new RTX 5000 graphics card, which I ended up returning and reinstalled 24.04.3 LTS. I am surprised this issue has not been fixed in the LTS release. My hardware is ASUS TUF Gaming X570-Plus WiFi, Ryzen 5 5600X, XFX Radeon HD 7870.

RDP keyboard is not responding https://askubuntu.com/questions/1567540/rdp-keyboard-is-not-responding

I've been using Remmina on Ubuntu for quite some time to connect to a Windows machine remotely (Windows Server 2008), but it stopped working recently. The frustration loop is the same: I get to the login page, put in my credentials using the keyboard, login, and then the keyboard doesn't work. The mouse is operational during the whole session. When I use the top bar to send a prompt I do get "hello world". I've tried to tinker with keyboard mapping settings and other suggestions that I've found online without success. Have any of you ever encountered it?

Ubuntu 20.04.6 LTS booting very slowly [closed] https://askubuntu.com/questions/1567519/ubuntu-20-04-6-lts-booting-very-slowly

My Ubuntu 20.04.6 LTS with Ubuntu Pro https://ubuntu.com/pro was updated itself automatically and asked to be rebooted. I let it do so. It booted very slowly. If I run

systemd-analyze
Startup finished in 17.865s (firmware) + 13.633s (loader) + 1min 49.055s (kernel) + 5min 18.512s (userspace) = 7min 39.067s 
graphical.target reached after 2min 19.851s in userspace

My Virtual machine does not start automatically any more and I don't see my phone in Files, when connected by USB.
Before my machine restarted about 1 minute. Now it take 5 minutes.

Fortunately Android Studio can see my phone by USB, so I can continue developing and test apps with it, even if Files does not show my phone.

Any ideas, what causes this this slow booting now and why mount phone can't be seen in Files any more.

How to run a .bat file for a game which starts a webserver? https://askubuntu.com/questions/1567493/how-to-run-a-bat-file-for-a-game-which-starts-a-webserver

I'm on Ubuntu 24.04 and I have the 9.something version of Wine installed. I have a few games which require running a .bat file (since it wasn't made for Linux) in order to work. When I try to right-click -> Open with wine installer, nothing happens. Then I tried this:

~$ wine cmd.exe /c home/myself/Downloads/thegamefiles/Start—thegame.bat

I got this result:

007c:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\winebth": c0000135
Can't recognize '/home/myself/Downloads/thegamefiles/Start—thegame.bat' as 
an internal or external command, or batch script.

What is the problem and how can I get this to work?

I also tried to make a .sh copy of the file (with #!/bin/bash instead of @echo off), but the terminal tells me command not found for every line. edit: As asked I made this output on the terminal

~$ ls -l /home/myself/Downloads/thegamefiles/Start—thegame.bat

And I got this:

ls: cannot access '/home/myself/Downloads/thegamefiles/Start—thegame.bat': No such file or driectory

And I can also give the code inside the bat file :

@echo off
title title of the game
echo.
echo   ++++++++++++++++++++++++++++++++++
echo          title of the game
echo         the game
echo   ++++++++++++++++++++++++++++++++++
echo.
echo   Opening browser...
START http://127.0.0.1:29595/
echo   Starting server...
echo.
echo   Closing this window will stop the server
"server/miniweb.exe" -p 29595 -i 127.0.0.1 -r game/thegame >nul 2>&1
echo.
echo   Shutting down...
echo.

another edit: the game's folder is organised this way => there's the Start-thegame.bat file and two additional folders named "Server" (where there's just the "miniweb.exe file) and "Game" which contains another folder which in turn has a html file,and dozens of folders with pretty names such as "d5dc1e3202d89e15b3f5675fab7b1c86" with a binary file inside every single one of them.

new edit: I tried to do as told in here with this command:

wine cmd c/ /home/myself/.wine/drive_c/users/myself/Downloads/thegamefiles/Start-thegame.bat
0080:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\winebth": c0000135
Microsoft Windows 10.0.7601
How to run properly Xen 4.20 over Ubuntu 26.04LTS to provide to VMs passthrough access to GPU? https://askubuntu.com/questions/1567362/how-to-run-properly-xen-4-20-over-ubuntu-26-04lts-to-provide-to-vms-passthrough

By the old guide for Xen 4.11 and Ubuntu 14.04, the:

$ sudo apt install xen-hypervisor-amd64
$ sudo reboot

lead to booting into:

Loading Xen 4.20-amd64... 
Loading Linux 7.0.0-22-generic... 
Loading initial ramdisk...

This is a dead-lock state when the OS gets stuck. By the reboot it is possible to enter via GRUB menu into regular Ubuntu and configure the environment.

Using this and this guides, which are also very old, these lines are added into /etc/default/grub instead of default similar lines:

GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noirqbalance i915.enable_guc=0 intel_iommu=on xen-pciback.hide=(0000:00:02.0) module_blacklist=i915"
GRUB_CMDLINE_XEN_DEFAULT="dom0_mem=8192M,max:8192M dom0_max_vcpus=4 iommu=on,no-igfx,verbose"

Then sudo update-grub && sudo update-initramfs -c -k 7.0.0-22-generic && sudo reboot . In Ubuntu 26.04 LTS and Xen 4.20 this also leads into getting stuck on Loading initial ramdisk...

Running these "guards" under root permissions is considered to reserve the GPU for Xen:

tee /etc/modprobe.d/blacklist-i915.conf << EOF
blacklist i915
EOF

tee /etc/modprobe.d/xen-pciback.conf << EOF
options xen-pciback hide=(0000:00:02.0)
EOF

update-initramfs -u
reboot

However, this does not help either. The boot gets stuck on Loading initial ramdisk...

I am struggling to find up-to-date documentation for Xen. Last official manuals are ending at Xen 4.9, now we're at 4.20.

I tried to install Ubuntu with SSD encryption and without, with Intel TXT enabled and disabled. The result is the same.

This solution was also tried. It results in total skip of Xen boot and loading plain Ubuntu, as expected by the solution but not clear how did it help in that case.

Xen Gurus, what else should be set, changed, deleted, updated in the Ubuntu 26.04 to run Xen 4.20 and provide to VMs passthrough access to GPU?

kernel panic fatal exception in interrupt ubuntu 26 linux 7.0.0-15 https://askubuntu.com/questions/1567211/kernel-panic-fatal-exception-in-interrupt-ubuntu-26-linux-7-0-0-15

After upgrading from Ubuntu 25. to Ubuntu 26.04 LTS, randomly when starting Thunderbird the screen freezes and says "kernel panic fatal exception in interrupt" After restart it continues to work, but randomly crashes again?

openssh-server post-installation script error (exit status 10) and SSH not working https://askubuntu.com/questions/1566463/openssh-server-post-installation-script-error-exit-status-10-and-ssh-not-worki

I’m encountering an issue where openssh-server fails during configuration, and SSH is currently not working on my system.

This error appears during package operations, even when I’m not explicitly trying to install openssh-server.

What happens

During apt/dpkg operations, I see:

Setting up openssh-server (1:9.6p1-3ubuntu13.16) ...
dpkg: error processing package openssh-server (--configure):
 installed openssh-server package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 openssh-server

What I’ve tried

  1. Re-running configuration:
sudo dpkg --configure -a

Same error persists.


  1. Running the post-install script manually with debugging:
sudo bash -x /var/lib/dpkg/info/openssh-server.postinst configure

This didn’t produce any obvious error output, and the last line is `exec /usr/share/debconf/frontend /var/lib/dpkg/info/openssh-server.postinst configure which tells me that something to do with package configuration is failing.


  1. Regenerating SSH host keys:
sudo rm -f /etc/ssh/ssh_host_*
sudo ssh-keygen -A

Keys were generated successfully, but the issue remains.

  1. Restore ssh config:
sudo cp /usr/share/openssh/sshd_config /etc/ssh/sshd_config

Observations

  • SSH into this machine is not functioning.

  • The openssh-server package is broken.

  • The post-installation script consistently exits with status 10.


Research

I found that post-installation script failures can be caused by misconfiguration or missing files, but most solutions suggest reinstalling or purging the package. I haven’t found a clear explanation for exit status 10 specifically or how to resolve it without risking further issues.

Previously, I have used this sequence of commands to fix similar errors:

rm -rf /var/lib/dpkg/info/<packagename>* (in this case openssh*)

dpkg --configure -a

Fix package post-installation script subprocess returned error exit status 10 for libpaper1:amd64

Error reinstalling isc-dhcp-server "post installation script returned error exit status 255"

Like in the above posts, which has fixed the error temporarily, but probably messed up the dpkg package lists or something.

The issue keeps coming back, it's a different package or packages every time so it seems like an issue with dpkg or a corrupt filesystem.

Any ideas what is causing this issue, and how I can resolve it without reinstalling the system?

Update: I got ssh server working again, but still seeing the error on install/configure. getting closer. these are the commands that fixed it and my logic behind them

sudo cp /usr/share/openssh/sshd_config /etc/ssh/sshd_config

-- there was no sshd config until i copied it from here

--- then uncommented the host keys in that file, and generated them. made sshd user

grep -n "HostKey" /etc/ssh/sshd_config

2140 ls -l /etc/ssh/sshd_config.d

2141 sshd -T | grep hostkey

2142 sudo nano /etc/ssh/sshd_config

2143 sshd -t

2145 ls -l /etc/ssh/ssh_host_*

2146 namei -l /etc/ssh/ssh_host_rsa_key

2147 sudo ssh-keygen -lf /etc/ssh/ssh_host_rsa_key

2148 sshd -T | head -50

2149 lsattr /etc/ssh/ssh_host_rsa_key

2150 mount | grep " / "

2151 sudo rm -f /etc/ssh/ssh_host_*

2152 sudo ssh-keygen -A

2153 sudo ls -l /etc/ssh/ssh_host_*

2154 sudo /usr/sbin/sshd -t -f /etc/ssh/sshd_config

2155 getent passwd sshd

2156 id sshd

--- no sshd user??

2157 sudo adduser --system --no-create-home --group sshd

2158 getent passwd sshd

2159 sudo sshd -t -f /etc/ssh/sshd_config

2161 sudo mkdir -p /run/sshd

2162 sudo chmod 755 /run/sshd

2163 sudo sshd -t -f /etc/ssh/sshd_config

2164 sudo systemctl restart ssh

2165 systemctl status ssh --no-pager

2166 sudo dpkg --configure -a

2167 sudo apt -f install

--- still seeing the error here but the server is up and i can connect from another machine

edit: ssh has been working fine for weeks, now seeing the same error with libreoffice (I haven't installed them recently, but I did a package upgrade).

Setting up libreoffice-base (4:24.2.7-0ubuntu0.24.04.5) ... dpkg: error processing package libreoffice-base (--configure): installed libreoffice-base package post-installation script subprocess returned error exit status 10 Setting up libreoffice-math (4:24.2.7-0ubuntu0.24.04.5) ...

i can't update or change my nvidia drivers and they seem to be stuck on the x.org drivers https://askubuntu.com/questions/1555377/i-cant-update-or-change-my-nvidia-drivers-and-they-seem-to-be-stuck-on-the-x-or

sorry if i don't give enough info i'm new to this stuff

the output when i do lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.3 LTS
Release:    24.04
Codename:   noble

the nvidia gaphics card in question TU117M [GeForce GTX 1650 Mobile / Max-Q] i need to update the drivers cause it shows the card as "unclaimed" when i dosudo lshw -c displayand last time that happend reinstalling drivers works

 *-display UNCLAIMED       
       description: VGA compatible controller
       product: TU117M [GeForce GTX 1650 Mobile / Max-Q]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller cap_list
       configuration: latency=0
       resources: memory:f6000000-f6ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:f000(size=128) memory:f7000000-f707ffff
  *-display
       description: VGA compatible controller
       product: Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:05:00.0
       logical name: /dev/fb0
       version: c1
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix vga_controller bus_master cap_list fb
       configuration: depth=32 driver=amdgpu latency=0 resolution=1920,1080
       resources: irq:24 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:c000(size=256) memory:f7500000-f757ffff

so i follow the instructions on https://documentation.ubuntu.com/server/how-to/graphics/install-nvidia-drivers/

cat /proc/driver/nvidia/version

cat: /proc/driver/nvidia/version: No such file or directory

then i did sudo ubuntu-drivers list

udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.

then i did sudo ubuntu-drivers install it outputs

udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
All the available drivers are already installed.

so i just do sudo apt install nvidia:535 but it error somewhere and now i think it's stuck cause whenever i do sudo apt auto-remove it outputs

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nvidia-dkms-535 (535.171.04-0ubuntu2) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Removing old nvidia-535.171.04 DKMS files...
Deleting module nvidia-535.171.04 completely from the DKMS tree.
Loading new nvidia-535.171.04 DKMS files...
Building for 6.14.0-29-generic
Building for architecture x86_64
Building initial module for 6.14.0-29-generic
ERROR (dkms apport): kernel package linux-headers-6.14.0-29-generic is not supported
Error! Bad return status for module build on kernel: 6.14.0-29-generic (x86_64)
Consult /var/lib/dkms/nvidia/535.171.04/build/make.log for more information.
dpkg: error processing package nvidia-dkms-535 (--configure):
 installed nvidia-dkms-535 package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver-535:
 nvidia-driver-535 depends on nvidia-dkms-535 (<= 535.171.04-1); however:
  Package nvidia-dkms-535 is not configured yet.
 nvidia-driver-535 depends on nvidia-dkms-535 (>= 535.171.04); however:
  Package nvidia-dkms-535 is not configured yet.

dpkg: error processing package nvidia-driver-535 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Processing triggers for initramfs-tools (0.142ubuntu25.5) ...
update-initramfs: Generating /boot/initrd.img-6.14.0-29-generic
Errors were encountered while processing:
 nvidia-dkms-535
 nvidia-driver-535
E: Sub-process /usr/bin/dpkg returned an error code (1)

i check the additional drivers tab from the "software & updates" while it has a list of drivers

it's using x.org X server - nouveau display driver

i tried to switch to nvidia driver metapackage from nvidia driver 535 (proprietary,tested) after a bit an error pop ups saying

Error while applying changes

pk-client-error-quark:Error while installing package :installed nvidia-dkms-535 package post-installation scrpit:subprocess returned error exit status 10 (313)

for some reason when i tried to get the error message again to type out it change the drivers without issue but when i reboot it's back to x.org and the error message appears again

edit: a comment says a should do sudo apt update that also a problem that might be unrelated when i enter the command it outputs

Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
N: Skipping acquire of configured file 'main/binary-1385/Packages' as repository 'http://archive.ubuntu.com/ubuntu noble InRelease' doesn't support architecture '1385'
N: Skipping acquire of configured file 'restricted/binary-1385/Packages' as repository 'http://archive.ubuntu.com/ubuntu noble InRelease' doesn't support architecture '1385'
N: Skipping acquire of configured file 'universe/binary-1385/Packages' as repository 'http://archive.ubuntu.com/ubuntu noble InRelease' doesn't support architecture '1385'
N: Skipping acquire of configured file 'multiverse/binary-1385/Packages' as repository 'http://archive.ubuntu.com/ubuntu noble InRelease' doesn't support architecture '1385'

there's seems to be an error about noble inrelease

i don't think dpkg --print-foreing-architectures is correct cause it outputs

dpkg: error: unknown option --print-foreing-architectures

if it was a typo and was supposed to be dpkg --print-foreign-architectures output is

i386
1385

doing sudo dpkg --remove-architecture 1385 and sudo apt update again seems to have worked?

Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

but sudo apt upgrade still gives errors

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libmagickcore-6.q16-7t64 libzvbi-common imagemagick
  libmagickcore-6.q16-7-extra libcjson1 libavdevice60 ffmpeg libpostproc57
  libavcodec60 libavcodec60 libgstreamer-plugins-bad1.0-0 libzvbi0t64
  libzvbi0t64 libavutil58 libavutil58 imagemagick-6.q16 libswscale7
  libswresample4 libswresample4 imagemagick-6-common 7zip libavformat60
  libavfilter9 libmagickwand-6.q16-7t64
Learn more about Ubuntu Pro at https://ubuntu.com/pro
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up nvidia-dkms-535 (535.171.04-0ubuntu2) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Removing old nvidia-535.171.04 DKMS files...
Deleting module nvidia-535.171.04 completely from the DKMS tree.
Loading new nvidia-535.171.04 DKMS files...
Building for 6.14.0-29-generic
Building for architecture x86_64
Building initial module for 6.14.0-29-generic
ERROR (dkms apport): kernel package linux-headers-6.14.0-29-generic is not suppo
rted
Error! Bad return status for module build on kernel: 6.14.0-29-generic (x86_64)
Consult /var/lib/dkms/nvidia/535.171.04/build/make.log for more information.
dpkg: error processing package nvidia-dkms-535 (--configure):
 installed nvidia-dkms-535 package post-installation script subprocess returned 
error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver-535:
 nvidia-driver-535 depends on nvidia-dkms-535 (<= 535.171.04-1); however:
  Package nvidia-dkms-535 is not configured yet.
 nvidia-driver-535 depends on nvidia-dkms-535 (>= 535.171.04); however:
  Package nvidia-dkms-535 is not configured yet.

dpkg: error processing package nvidia-driver-535 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro
r from a previous failure.
                          Processing triggers for initramfs-tools (0.142ubuntu25
.5) ...
update-initramfs: Generating /boot/initrd.img-6.14.0-29-generic
Errors were encountered while processing:
 nvidia-dkms-535
 nvidia-driver-535
E: Sub-process /usr/bin/dpkg returned an error code (1)

tried sudo apt auto-remove again also tried drivers list and drivers install but they all gave the same thing as before

the additional driver thing seems to have change to nvidia driver 535? but lshw still shows the driver as unclamied and nvidia smi still errors and inxi -Gx still shows the driver:N/A

Upgrading to Ubuntu 24.04 LTS breaks Chrome (apparmor issue) https://askubuntu.com/questions/1533668/upgrading-to-ubuntu-24-04-lts-breaks-chrome-apparmor-issue

Upgraded for the previous LTS to 24.04 LTS. Installed Chrome from Google .deb package, not through Ubuntu's apt repos or snap. Since the Ubuntu upgrade Chrome fails to launch. Running it from the command line returns a hard error and terminates.

$ /opt/google/chrome/chrome
[###:FATAL:credentials.cc(131)] Check failed: . : Permission denied (13) Trace/breakpoint trap (core dumped)

Chrome will run with --no-sandbox flag which is of course less safe.

sudo dmesg included entry like

apparmor="DENIED" operation="userns_create" class="namespace" info="Userns create restricted - failed to find unprivileged_userns profile" error=-13 profile="unconfined" pid=5054 comm="chrome" requested="userns_create" denied="userns_create" target="unprivileged_userns"

This points to an apparmor issue. /etc/apparmor.d/chrome exists and matches what is some of the Ubuntu documentation at https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces . The path defined matches my chrome installation. Why doesn't this work?

Bluetooth doesn't work on Ubuntu 24.04 https://askubuntu.com/questions/1515216/bluetooth-doesnt-work-on-ubuntu-24-04

I've installed ubuntu 24.04 on my geecom A7. And I wasn't able to figure out why bluetooth is not working. Problem looks same as described here:

https://www.cnx-software.com/2024/02/24/geekom-a7-mini-pc-review-ubuntu-22-04-ubuntu-24-04-linux/

For the record, bluetooth works fine on windows (on same mini PC).

  1. rfkill shows that Bluetooth is not blocked.
rfkill list all
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
  1. bluetoothctl reports that there is no default controller.
[bluetooth]# devices
No default controller available
  1. lsmod shows
lsmod | grep bluetooth
bluetooth            1089536  15 btrtl,btmtk,btintel,btbcm,bnep,btusb
ecdh_generic           16384  1 bluetooth
  1. systemcltl shows
systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-05-24 11:05:05 CST; 13min ago
       Docs: man:bluetoothd(8)
   Main PID: 1029 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 37566)
     Memory: 2.8M (peak: 3.1M)
        CPU: 32ms
     CGroup: /system.slice/bluetooth.service
             └─1029 /usr/libexec/bluetooth/bluetoothd

May 24 11:05:05 terrasoff-A7 systemd[1]: Started bluetooth.service - Bluetooth service.
May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: Starting SDP server
May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support csip plugin
May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support micp plugin
May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support vcp plugin
May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support mcp plugin
May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support bass plugin
May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support bap plugin
May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: Bluetooth management interface 1.22 initialized
  1. dmesg | grep -i bluetooth shows
[    6.914793] Bluetooth: Core ver 2.22
[    6.914815] NET: Registered PF_BLUETOOTH protocol family
[    6.914816] Bluetooth: HCI device and connection manager initialized
[    6.914819] Bluetooth: HCI socket layer initialized
[    6.914821] Bluetooth: L2CAP socket layer initialized
[    6.914825] Bluetooth: SCO socket layer initialized
[    8.512540] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    8.512545] Bluetooth: BNEP filters: protocol multicast
[    8.512549] Bluetooth: BNEP socket layer initialized
[    8.933590] Modules linked in: qrtr bnep binfmt_misc intel_rapl_msr nls_iso8859_1 intel_rapl_common snd_hda_codec_realtek amdgpu(+) edac_mce_amd snd_hda_codec_generic snd_hda_codec_hdmi kvm_amd snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi kvm snd_hda_codec irqbypass snd_hda_core mt7921e crct10dif_pclmul snd_hwdep amdxcp mt7921_common polyval_clmulni btusb snd_pcm drm_exec mt792x_lib polyval_generic btrtl gpu_sched snd_seq_midi mt76_connac_lib ghash_clmulni_intel btintel drm_buddy snd_seq_midi_event mt76 sha256_ssse3 btbcm drm_suballoc_helper drm_ttm_helper snd_rawmidi sha1_ssse3 btmtk ttm snd_seq mac80211 aesni_intel bluetooth drm_display_helper snd_seq_device crypto_simd snd_timer cec ecdh_generic cryptd rc_core cfg80211 snd ecc wmi_bmof rapl i2c_algo_bit input_leds joydev ccp soundcore k10temp libarc4 i2c_piix4 apple_mfi_fastcharge amd_pmc mac_hid msr parport_pc ppdev lp parport efi_pstore nfnetlink dmi_sysfs ip_tables x_tables autofs4 hid_logitech_hidpp hid_logitech_dj hid_apple hid_generic usbhid sdhci_pci
[    9.061366] Bluetooth: hci0: Opcode 0x0c03 failed: -110
  1. lsusb doesn't show my Bluetooth name:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 13d3:3585 IMC Networks Wireless_Device
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 005 Device 005: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 005 Device 006: ID 05ac:024f Apple, Inc. Aluminium Keyboard (ANSI)
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 002: ID 05e3:0625 Genesys Logic, Inc. USB3.2 Hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  1. hcitool dev doesn't find any bluetooth device.

  2. /var/lib/bluetooth is empty

  3. lspci shows

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e8
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 14e9
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f7
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
02:00.0 Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter
03:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
04:00.0 Non-Volatile memory controller: Phison Electronics Corporation PS5021-E21 PCIe4 NVMe Controller (DRAM-less)
65:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 (rev c2)
65:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
65:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h (Model 74h) CCP/PSP 3.0 Device
65:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b9
65:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15ba
65:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
65:00.7 Signal processing controller: Advanced Micro Devices, Inc. [AMD] Device 164a
66:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 14ec
66:00.1 Signal processing controller: Advanced Micro Devices, Inc. [AMD] AMD IPU Device
67:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 14ec
67:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15c0
67:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15c1
67:00.5 USB controller: Advanced Micro Devices, Inc. [AMD] Pink Sardine USB4/Thunderbolt NHI controller #1

Any ideas how to fix it?

Controlling fans and undervolting in Acer Nitro 5 with Ubuntu https://askubuntu.com/questions/1300102/controlling-fans-and-undervolting-in-acer-nitro-5-with-ubuntu

I installed Ubuntu on my Acer Nitro 5 || 8GB DDR4 || 1TB NVME SSD || i5-9300H || 4GB GTX 1650 laptop, replacing Windows.

Switching to Linux I think there are many features that I am unable to use like controlling fans and undervolting as in Windows; so is there any way by which I can get access to such features?

Acer Nitro 5

What should I do with "No candidate ver" packages when upgrading Ubuntu? https://askubuntu.com/questions/1285778/what-should-i-do-with-no-candidate-ver-packages-when-upgrading-ubuntu

Upgrading a server from 18.04 to 20.04 I get a list of No candidate ver packages. What do I do with this list? Should they be removed and cleaned up?

I know I don't need older version of the PHP packages, for example, but if I'm presented with things like systemd-services which I don't know about, how do I check if these are required and safely remove them if necessary?

Ignoring this warning doesn't prevent the upgrade from completing.

No candidate ver:  libxcb-util0
No candidate ver:  libxmlada4.1
No candidate ver:  libxmlada4.4.0
No candidate ver:  libxp6
No candidate ver:  libxtables10
No candidate ver:  libyahoo2-11
No candidate ver:  libzeroc-ice35
No candidate ver:  linux-image-3.13.0-123-generic
No candidate ver:  linux-image-3.13.0-48-generic
No candidate ver:  linux-image-3.13.0-68-generic
No candidate ver:  linux-image-4.4.0-121-generic
No candidate ver:  linux-image-4.4.0-140-generic
No candidate ver:  linux-image-4.4.0-178-generic
No candidate ver:  linux-image-4.4.0-185-generic
No candidate ver:  linux-image-4.4.0-83-generic
No candidate ver:  linux-image-extra-4.4.0-121-generic
No candidate ver:  linux-image-extra-4.4.0-140-generic
No candidate ver:  linux-image-extra-4.4.0-83-generic
No candidate ver:  linux-modules-4.4.0-178-generic
No candidate ver:  linux-modules-4.4.0-185-generic
No candidate ver:  linux-modules-extra-4.4.0-178-generic
No candidate ver:  linux-modules-extra-4.4.0-185-generic
No candidate ver:  lxc-common
No candidate ver:  mountall
No candidate ver:  mysql-server-5.5
No candidate ver:  perl-modules
No candidate ver:  php5-cli
No candidate ver:  php5-common
No candidate ver:  php5-curl
No candidate ver:  php5-gd
No candidate ver:  php5-intl
No candidate ver:  php5-json
No candidate ver:  php5-mcrypt
No candidate ver:  php5-mysql
No candidate ver:  php5-readline
No candidate ver:  php7.0-bz2
No candidate ver:  php7.0-cli
No candidate ver:  php7.0-common
No candidate ver:  php7.0-curl
No candidate ver:  php7.0-gd
No candidate ver:  php7.0-intl
No candidate ver:  php7.0-json
No candidate ver:  php7.0-mbstring
No candidate ver:  php7.0-mcrypt
No candidate ver:  php7.0-mysql
No candidate ver:  php7.0-opcache
No candidate ver:  php7.0-readline
No candidate ver:  php7.0-xml
No candidate ver:  php7.0-zip
No candidate ver:  python3-aptdaemon.pkcompat
No candidate ver:  python3.4
No candidate ver:  python3.4-minimal
No candidate ver:  python3.5-minimal
No candidate ver:  ruby1.9.1
No candidate ver:  systemd-services
No candidate ver:  systemd-shim
No candidate ver:  sysv-rc
No candidate ver:  upstart
No candidate ver:  webmin

As mentioned in the comments, this was originally an Ubuntu 14.04 server as far as I know, and has been up through 16.04 as well.

VIDEOIO ERROR:V4L: Can't open camera by index 0 https://askubuntu.com/questions/1110766/videoio-errorv4l-cant-open-camera-by-index-0

On a Intel NUC, I have loaded Ubuntu 16.04. I have disabled the desktop module by making changes to /etc/default/grub. The machine boots in text mode. I have a python program that uses Opencv (Opencv4.0.0 is currently installed) and imutils library and a webcam. I have created bash script named runBot.sh that runs the python program. The bash script contains the following:

#!/bin/bash
python3 /home/mycomp/rfd/liveCamObject.py

When I run it in the terminal window using

sh runBot.sh

it runs without a problem. However I am trying to run the program on reboot, hence I have set a cron job which is as follows:

@reboot /home/mycomp/runBot.sh

Both the sh file and the .py file has sudo rwx rights.

When I reboot the machine, on boot I get the following error:

error: no video mode activated

and after few seconds it boots normally and waits for login and password. The bash script at reboot gets triggered but throws the error:

VIDEOIO ERROR:V4L: can't open camera by index 0.

Since the runBot.sh runs from terminal and not with crontab, I tried changing the ownership from mycomp:mycomp to root:mycomp, it didn't help. I read that providing

sudo modprobe bcm2835-v4l2

and I tried various combinations v4_l_2, V4_L_2, etc...I always got an error

FATAL: Module `bcm2835-v4l2` not found in directory `/lib/modules/4.15.0-43-generic`

How do I enable the video camera on boot?

How do I install a program from a cd? https://askubuntu.com/questions/834855/how-do-i-install-a-program-from-a-cd

I want to install my Evermore Integrate Office 2007 from my cd. Followed the instructions exactly, but hit different problems. Previously I installed it like that on an Acer Aspire One Netbook.

Linux Installation: Method One: Log on as root and insert the CD installation disk in the CD or DVD ROM drive, run from the EIOffice CD and the EIOffice Install Wizard will begin. Follow the On-Screen install procedure.

Click on setup and I get this error;

Invalid url: '/media/chris/EIO2007/Linux/setup' given, exiting
No ':' in the uri

Method Two: Log on as root and Insert the CD installation disk in the CD or DVD ROM drive. Run the terminal window and input "cd /mnt/cdrom/Linux", press Enter and then input "./setup", the EIOffice Install Wizard will begin. Follow the On-Screen install procedure.

Sudo'd into root. In my case ~#: cd /media/chris/EIO2007/Linux. Command "setup" gets error command not found, ./setup gets error Permission denied.

Tried cd /media/chris/EIO2007 then cp /media/chris/EIO2007/Linux /usr/EIO2007 gets cp: omitting directory /media/chris/EIO207/Linux' (read-only disc?)

chmod 1777 not working as expected since it is a read-only disc.

I can read all the files in command line after cd /media/chris/EIO2007/Linux and ls -l as I see them in the File Manager, so I don't understand the error in the first method.

Thought of sudo apt install, but there is no identifiable file name. The /Linux/assocaiate (sic) folder has three directories; Fedora, Impi and Suse. Oh yes, there is a "dispose.jar" file but I do not understand/fear to try it without at least some knowledge of it.

Wit's end. Any ideas welcome, thanks.

Qualcomm Atheros AR9485 Wireless Network Adapter not working on Ubuntu 13.10 https://askubuntu.com/questions/419867/qualcomm-atheros-ar9485-wireless-network-adapter-not-working-on-ubuntu-13-10

Solution 1

Hi I recently installed Ubuntu 13.10 on my laptop alongside windows. I have an Atheros AR9485 adapter. It worked well for a few weeks and now won't work anymore although it still works for the windows. I have tried out some of the solutions suggested but it still doesn't work. This so what I have so far done and the answers I get;

$ sudo modprobe -r iwlwifi
Error: missing module name.
FATAL: Error running remove command for iwlwifi

$ sudo modprobe -r iwlwifi.conf
FATAL: Module iwlwifi.conf not found.

$ cd /etc
/etc$ ls

Here I find the directory modprobe.d but modprobe does not exist so I try

$ cd modprobe.d
modprobe.d: No such file or directory

Then I go back to the /etc and try

$ cd /etc
$ cd modprobe.d
/etc/modprobe.d$ ls

I find the file iwlwifi.conf~ and try:

/etc/modprobe.d$ sudo modprobe -r iwlwifi.conf~
FATAL: Module iwlwifi.conf~ not found.

/etc/modprobe.d$ cd ~

$ sudo modprobe.d -r iwlwifi.conf~
sudo: modprobe.d: command not found

I had read a solution that was giving the steps below if I had succeeded. I tried to look for the .conf file and edited it as directed in the last part of this solution but it didn't work and I was unable to go beyond that;

Looks like this hardware has some problem with N configuration in WiFi. Please try:

sudo modprobe -r iwlwifi
sudo modprobe iwlwifi 11n_disable=1

Now try to reconnect, if it helps follow below steps

  1. Look into /etc/modprobe.d whether there are any file like intel-5100-iwlwifi-disable11n.conf then edit the file.

     sudo gedit /etc/modprobe.d/<filename_here>
    

    Edit the line that says

    options iwlwifi 11n_disable=1
    

    to

    options iwlwifi 11n_disable=0
    

    Save and reboot.

  2. If no file exists, create a new file

    gksudo gedit /etc/modprobe.d/iwlwifi.conf
    

    Add a new line:

    options iwlwifi 11n_disable=1
    

    Save and reboot.

Solution 2:

When solution 1 failed, I tried solution 2 as shown here below;

lspci -nnk | grep -iA2 net
lsmod
iwconfig
rfkill list

lspci -nnk | grep -iA2 net

01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI
Express Fast Ethernet controller [10ec:8136] (rev 05)
    Subsystem: Acer Incorporated [ALI] Device [1025:061f]
    Kernel driver in use: r8169
02:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
    Subsystem: Foxconn International, Inc. Device [105b:e047]
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)

lsmod

Module                  Size  Used by
nls_iso8859_1          12713  1 
parport_pc             32701  0 
ppdev                  17671  0 
bnep                   19564  2 
rfcomm                 69070  0 
bluetooth             371874  10 bnep,rfcomm
vesafb                 13828  1 
lp                     17759  0
parport                42299  3 lp,ppdev,parport_pc
hid_generic            12548  0 
usbhid                 53014  0 
hid                   101512  2 hid_generic,usbhid
usb_storage            62062  1 
rtsx_pci_sdmmc         23527  0 
ahci                   25819  2 
libahci                31898  1 ahci
rtsx_pci               45546  1 rtsx_pci_sdmmc
r8169                  67341  0
mii                    13934  1 r8169

iwconfig

eth0      no wireless extensions.
lo        no wireless extensions.

rfkill list

The last command did not give an output so I could not follow the instructions that were to come as shown below;

Deactivate the hardware encryption of the driver:

Code:

echo "options ath9k nohwcrypt=1" | sudo tee /etc/modprobe.d/ath9k.conf
sudo modprobe -rfv ath9k
sudo modprobe -v ath9k

Any help either along these steps or any other solution will be appreciated.

How do I turn off PCI devices? https://askubuntu.com/questions/4546/how-do-i-turn-off-pci-devices

With the purchase of an Intel SSD and 85WHr Li-ion battery and the linking of wifi and bluetooth to my laptop's wireless switch, extensive Intel PowerTop usage, switching from compiz to metacity, stopping of the desktop-couch daemon, removal of Ubuntu One and several other services from my startup, disabling of everything possible in my BIOS, and physical removal of my optical drive, I've gotten my battery life up fairly high, but I think there's still more to be done. Specifically, when I'm in class taking notes, I want to temporarily but completely power down:

  • Ethernet
  • Firewire
  • USB ports
  • SD card reader
  • Optical drive
  • Webcam
  • Sound card
  • PCMCIA slot

..without turning them off in my BIOS like they are now, if possible, because then I have to restart my computer to use any of them. As it stands, I still haven't managed to power down:

Firewire USB connection to webcam sound card

How do I tell Linux to disable and power down these devices? Is it true that any PCI slot can be physically powered down?

My current idle power consumption is 7.9 watts plus the screen. (10.0W at min. brightness)

Also, how do I set the screen timeout to ten seconds? gconf editor isn't honoring it when I set it to that. Will switching from nVidia to Nouveau save any significant amount of power?