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
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
$ 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?

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 enabled Preserve Battery Health option on Ubuntu 25.10. It supposed to keep the battery percentage at %80 max but even after shutting down the pc and powering it next morning, I see the battery percentage at %80. Doesn't it supposed the start at %100 and go down to %80 and stay there?

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.

Issue with touchpad on Dell G15 5511 laptop - cursor jump? https://askubuntu.com/questions/1567591/issue-with-touchpad-on-dell-g15-5511-laptop-cursor-jump

Referring to @Mausy5043 in another post.

My mousepad is not working correctly (not responding always). It's been progressive and if I force it, pushing stronger, it may work but getting worse

Does this help:

DELL0A71:00 04F3:317E Touchpad            id=11   [slave  pointer  (2)]`

Device 'DELL0A71:00 04F3:317E Touchpad':
    Device Enabled (200):   1
    Coordinate Transformation Matrix (202): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Tapping Enabled (362): 0
    libinput Tapping Enabled Default (363): 0
    libinput Tapping Drag Enabled (364):    1
    libinput Tapping Drag Enabled Default (365):    1
    libinput Tapping Drag Lock Enabled (366):       0
    libinput Tapping Drag Lock Enabled Default (367):       0
    libinput Tapping Button Mapping Enabled (368):  1, 0
    libinput Tapping Button Mapping Default (369):  1, 0
    libinput Natural Scrolling Enabled (333):       0
    libinput Natural Scrolling Enabled Default (334):       0
    libinput Disable While Typing Enabled (370):    1
    libinput Disable While Typing Enabled Default (371):    1
    libinput Scroll Methods Available (335):        1, 1, 0
    libinput Scroll Method Enabled (336):   1, 0, 0
    libinput Scroll Method Enabled Default (337):   1, 0, 0
    libinput Click Methods Available (372): 1, 1
    libinput Click Method Enabled (373):    1, 0
    libinput Click Method Enabled Default (374):    1, 0
    libinput Clickfinger Button Mapping Enabled (375):      1, 0
    libinput Clickfinger Button Mapping Default (376):      1, 0
    libinput Middle Emulation Enabled (342):        0
    libinput Middle Emulation Enabled Default (343):        0
    libinput Accel Speed (344):     1.000000
    libinput Accel Speed Default (345):     0.000000
    libinput Accel Profiles Available (346):        1, 1, 1
    libinput Accel Profile Enabled (347):   1, 0, 0
    libinput Accel Profile Enabled Default (348):   1, 0, 0
    libinput Accel Custom Fallback Points (349):    <no items>
    libinput Accel Custom Fallback Step (350):      0.000000
    libinput Accel Custom Motion Points (351):      <no items>
    libinput Accel Custom Motion Step (352):        0.000000
    libinput Accel Custom Scroll Points (353):      <no items>
    libinput Accel Custom Scroll Step (354):        0.000000
    libinput Left Handed Enabled (355):     0
    libinput Left Handed Enabled Default (356):     0
    libinput Send Events Modes Available (318):     1, 1
    libinput Send Events Mode Enabled (319):        0, 0
    libinput Send Events Mode Enabled Default (320):        0, 0
    Device Node (321):      "/dev/input/event4"
    Device Product ID (322):        1267, 12670
    libinput Drag Lock Buttons (357):       <no items>
    libinput Horizontal Scroll Enabled (358):       1
    libinput Scrolling Pixel Distance (359):        15
    libinput Scrolling Pixel Distance Default (360):        15
    libinput High Resolution Wheel Scroll Enabled (361):    1`

I: Bus=0018 Vendor=04f3 Product=317e Version=0100
N: Name="DELL0A71:00 04F3:317E Touchpad"
P: Phys=i2c-DELL0A71:00
S: Sysfs=/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-DELL0A71:00/0018:04F3:317E.0001/input/input9
U: Uniq=
H: Handlers=mouse1 event4 
B: PROP=5
B: EV=1b
B: KEY=e520 10000 0 0 0 0
B: ABS=2e0800000000003
B: MSC=20

I'm not sure if this could only be a question of maintenance in fact but before that I'd like to check whether I can solve it technically.

More information using journalctl:

Jun 08 16:47:01 xxxxxx-dellg155511 kcminit_startup[2608]: kcm_touchpad: Using X11 backend
Jun 08 16:47:01 xxxxxx-dellg155511 kded6[2628]: kcm_touchpad: Using X11 backend
Jun 08 16:48:18 xxxxxx-dellg155511 systemsettings[3164]: kcm_touchpad: Using X11 backend
Jun 08 17:13:22 xxxxxx-dellg155511 kded6[4164]: kcm_touchpad: Using X11 backend
Jun 08 17:14:38 xxxxxx-dellg155511 kded6[4201]: kcm_touchpad: Using X11 backend
Jun 08 17:19:43 xxxxxx-dellg155511 sddm-helper-start-x11user[1982]: "(EE) event4  - DELL0A71:00 04F3:317E Touchpad: kernel bug: Touch jump detected and discarded.\nSee https://wayland.freedesktop.org/libinput/doc/1.31.1/touchpad-jumping-cursors.html for details\n"
Jun 08 17:19:43 xxxxxx-dellg155511 sddm-helper-start-x11user[1982]: "(EE) event4  - DELL0A71:00 04F3:317E Touchpad: kernel bug: Touch jump detected and discarded.\nSee https://wayland.freedesktop.org/libinput/doc/1.31.1/touchpad-jumping-cursors.html for details\n"
Jun 08 17:19:44 xxxxxx-dellg155511 sddm-helper-start-x11user[1982]: "(EE) event4  - DELL0A71:00 04F3:317E Touchpad: kernel bug: Touch jump detected and discarded.\nSee https://wayland.freedesktop.org/libinput/doc/1.31.1/touchpad-jumping-cursors.html for details\n"

Now I also checked this is a bug because if I use the touchpad with 2 fingers it immediately works and I can then follow with only one fingers almost normally. But if I take the finger off I'm back to being off. I can only connect with two fingers. Any operation only works with 2 fingers. Is it a setting? I don't think so.

Cannot retore files in a Deja Dup Archive 26.04 generated from same on 26.04 https://askubuntu.com/questions/1567582/cannot-retore-files-in-a-deja-dup-archive-26-04-generated-from-same-on-26-04

Cannot restore files in a Deja-dup v50 Archive 26.04 generated from same on 26.04.

My understanding is that you now cannot restore files directly from nautilus. However, when I attempt to restore a file, I select my archive (from Deja-dup archive selection) and it goes into nautilus. Is this right? It is a file selector of some sort, anyway, but there is no mechanism to initiate a restore. Right and left click does not reveal anything and I cannot see any more buttons

I use a 24.04 and 26.04 with a common /home. So when it was installed on 26.04 it would have inherited the 24.04 customization files if there are any. I know there is something in `~/.cache` but I couldn't identify anything relevant to this.

I have also looked in dconf editor and I couldn't find anything relevant in there.

I now assume that Deja Dup v50 is not compatible with Deja Dup (current version in 24.04) as when I logged into 24.04 it could not identify any archives at all. I did check it was pointing to the same place as in 26.04.

Questions. Can you fix the restore?

Should I keep 24.04 and 26.04 completely separate? Note: I suspect the two versions are sharing the setup data that dconf editor is pointing to which will make this a little tricky.

System Details Report
  Report details
    Date generated:                              2026-06-08 18:51:15
      Hardware Information:

      Hardware Model:                              Advent DT4102
      Memory:                                      8.0 GiB
      Processor:                                   Intel® Pentium® G2030 × 2
      Graphics:                                    Intel® HD Graphics 2500 (IVB GT1)
      Disk Capacity:                               2.0 TB
      Software Information:

      Firmware Version:                            4.6.5
      OS Name:                                     Ubuntu 26.04 LTS
      OS Build:                                    (null)
      OS Type:                                     64-bit
      GNOME Version:                               50
      Windowing System:                            Wayland
      Kernel Version:                              Linux 7.0.0-22-generic

Thanks for any help given.


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 do I share my screen with Teams in Firefox / Ubuntu 26.04 (Wayland)? https://askubuntu.com/questions/1567512/how-do-i-share-my-screen-with-teams-in-firefox-ubuntu-26-04-wayland

Screen sharing when using Microsoft Teams from a browser (firefox, in this case) used to be simple, but since Ubuntu 26.04 uses GNOME without X11 support, only Wayland, the situation changed. Wayland is more secure than X11 and makes it harder for one app access the contents of other apps windows.

If I try to share the screen in Firefox (149.0.2, distributed with Ubuntu), the following happens: first, a dialog appears:

enter image description here

I click on "Allow", select the display to share, briefly a screen sharing icon appears in the GNOME toolbar:

enter image description here

and then disappears. Screen is not shared. The same thing happens if I try to share a window, even a Firefox Window. How can you share a screen with Teams in Firefox on Ubuntu 26.04?

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?

How can I get Ubuntu to work on a MacBook Pro 13" 2017 without T2 chip? https://askubuntu.com/questions/1566766/how-can-i-get-ubuntu-to-work-on-a-macbook-pro-13-2017-without-t2-chip

Disclaimer, I’m posting this to help out anyone having issues with their intel MacBook no t2 chip cause I went through hours of troubleshooting and don’t want anyone to go through that. Also I’m new to the linux world so Claude was a huge part of this and fixed all of my issues. I installed Ubuntu 26.04 on a MacBook Pro 13" 2017 No Touch Bar (A1708 / MacBookPro14,1). This model does NOT have a T2 chip.

Out of the box I had these problems:

  • Closing the lid appeared to suspend but the machine stayed fully awake (hot, battery draining fast)
  • Manually suspending caused a complete hard freeze requiring a force reboot
  • WiFi, keyboard and trackpad didn't recover after resume
  • Audio showed as "Dummy Output" — no sound at all
  • FaceTime HD webcam not detected

How do I fix suspend, audio and the webcam on this model?

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?

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.

What is wrong with my attempted setting up of TightVNC as a service? https://askubuntu.com/questions/1270876/what-is-wrong-with-my-attempted-setting-up-of-tightvnc-as-a-service

I have TightVNC installed and working on my Ubuntu 18.4 virtual server, following this guide. It says to use nano and create a 'unit' file called /etc/systemd/system/vncserver@.service. It then specifies the contents of the file, and I have checked and double-checked, but when I try and start the service with:

systemctl start vncserver@1

I get an error that says:

Job for vncserver@1.service failed because the control process exited with error code.

Then I run:

systemctl status vncserver@1.service

and I get this output:

● vncserver@1.service - Start TightVNC server at startup
   Loaded: loaded (/etc/systemd/system/vncserver@.service; indirect; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2020-08-28 19:13:08 UTC; 12h ago

Aug 28 19:13:08 BradysApp systemd[1]: Starting Start TightVNC server at startup...
Aug 28 19:13:08 BradysApp vncserver[1232]: Can't find file /home/brady/.vnc/BradysApp:1.pid
Aug 28 19:13:08 BradysApp vncserver[1232]: You'll have to kill the Xtightvnc process manually
Aug 28 19:13:08 BradysApp systemd[1]: vncserver@1.service: Control process exited, code=exited status=2
Aug 28 19:13:08 BradysApp systemd[1]: vncserver@1.service: Failed with result 'exit-code'.
Aug 28 19:13:08 BradysApp systemd[1]: Failed to start Start TightVNC server at startup.

My unit file looks like this:

[Unit]
Description=Start TightVNC server at startup
After=syslog.target network.target

[Service]
Type=forking
User=brady
Group=brady
WorkingDirectory=/home/brady
PIDFile=/home/brady/.vnc/%H:%i.pid
ExecStartPre=/usr/bin/vncserver -kill :%i > /dev/null 2>&1
ExecStart=/usr/bin/vncserver -depth 24 -geometry 1280x800 :%i
ExecStop=/usr/bin/vncserver -kill :%i

[Install]
WantedBy=multi-user.target

The user brady is my non-root user and works just fine, so that isn't the problem.

Any ideas or suggestions as to what might be wrong? I am a total Linux novice, working on a Digital Ocean VPS's web-based terminal.

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.

How to let Muon update manager run without entering a password? https://askubuntu.com/questions/160364/how-to-let-muon-update-manager-run-without-entering-a-password

How to prevent Muon from asking a password when installing updates?

Adding user ALL=(ALL) NOPASSWD: ALL to sudoers does not help. sudo apt-get upgrade works without a password, but Muon is still asking for it.

It is very annoying to enter password every day to install updates.

(Kubuntu 12.04)

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?