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.

Current linux:

Linux 6.18.33-1-MANJARO #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux

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
(resolved) Restoring incremental backups with RSYNC https://askubuntu.com/questions/1567615/resolved-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?

Left and Up Arrow keys input are wrong https://askubuntu.com/questions/1567605/left-and-up-arrow-keys-input-are-wrong

I'm new to Linux, but haven't struggled with an issue like this. A few minutes after restarting today, I noticed my Left and Up Arrow keys behaving weirdly, and, after some research, tried running the evtest command. It failed to install the first time, and after some time looking into that, then other possible solutions, followed by a restart (upon which I found the issue persisted), I tried again, and when first successfully running the command, it displayed the expected inputs for Left Arrow and Up Arrow.

I thought this was weird, and, in the process of writing a question here, realised the inputs were, in fact, normal, and the issue seemed to have resolved itself, so I deleted the drafted question and hoped for the best.

But a few minutes later, somehow, it's back, and this time, when running the evtest command, I did get something else:


Properties:
Testing ... (interrupt to exit)
Event: time 1781003817.237160, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00b5
Event: time 1781003817.237160, type 1 (EV_KEY), code 163 (KEY_NEXTSONG), value 1
Event: time 1781003817.237160, -------------- SYN_REPORT ------------
“”^[[24~Event: time 1781003817.293081, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00b5
Event: time 1781003817.293081, type 1 (EV_KEY), code 163 (KEY_NEXTSONG), value 0
Event: time 1781003817.293081, -------------- SYN_REPORT ------------
Event: time 1781003818.093134, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00b5
Event: time 1781003818.093134, type 1 (EV_KEY), code 163 (KEY_NEXTSONG), value 1
Event: time 1781003818.093134, -------------- SYN_REPORT ------------
“”Event: time 1781003818.205096, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00b5
Event: time 1781003818.205096, type 1 (EV_KEY), code 163 (KEY_NEXTSONG), value 0
Event: time 1781003818.205096, -------------- SYN_REPORT ------------

Event: time 1781003823.957103, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0194
Event: time 1781003823.957103, type 1 (EV_KEY), code 144 (KEY_FILE), value 1
Event: time 1781003823.957103, -------------- SYN_REPORT ------------
^[^[^[\^[[1;3S^[g^[h^[[17;3~Event: time 1781003824.021127, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0194
Event: time 1781003824.021127, type 1 (EV_KEY), code 144 (KEY_FILE), value 0
Event: time 1781003824.021127, -------------- SYN_REPORT ------------
Event: time 1781003824.629021, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0194
Event: time 1781003824.629021, type 1 (EV_KEY), code 144 (KEY_FILE), value 1
Event: time 1781003824.629021, -------------- SYN_REPORT ------------
^[^[^[\^[[1;3S^[g^[h^[[17;3~Event: time 1781003824.685136, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0194
Event: time 1781003824.685136, type 1 (EV_KEY), code 144 (KEY_FILE), value 0
Event: time 1781003824.685136, -------------- SYN_REPORT ------------

The first two sets of events are Left Arrow, the second two are Up Arrow. I should note that Left Arrow also occasionally opens the Context Menu, as if I had pressed Right Mouse Button. These two keys are the only ones behaving oddly, and, while briefly testing another keyboard, its own worked just fine, despite both keyboards being plugged in and tested at the same time (unfortunatly, I can't use the other keyboard for more than testing, as a few of its keys have stopped working altogether).

I'm running Ubuntu 26.04 LTS.

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
GDM keeps asking for password multiple times on login after suspension https://askubuntu.com/questions/1567600/gdm-keeps-asking-for-password-multiple-times-on-login-after-suspension

Starting around May 13-20, 2026, every time I wake my Ubuntu 24.04 machine from sleep or log in after a restart, I have to enter my password 2-3 times before it finally accepts it. The login screen seems to accept it, then immediately re-prompts. It's been consistent ever since.

Looking at the logs, I see this on every login:

gdm-password: gkr-pam: unable to locate daemon control file

gdm-password: gkr-pam: stashed password to try later in open session

I found some older Ask Ubuntu answers about this (How to solve: gkr-pam: unable to locate daemon control file? The login keyring did not get unlocked when you logged into your computer), but they're from 2010-2020 and mostly suggest PAM config tweaks that feel outdated. Has anyone else hit this recently? Any modern solutions?

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.

debuginfod hangs on 24.04.4 https://askubuntu.com/questions/1567596/debuginfod-hangs-on-24-04-4

I'm running ubuntu desktop 24.04.4 LTS on x64 bare metal.

#apt install debuginfod delivered version 0.190-1

I want the debug symbols, but I am not using gdb.

I export DEBUGINFOD_URLS="debuginfod.ubuntu.com".

But when I run debuginfod, it just hangs after printing some startup messages (last one is "groomed database in xxxs) but no errors or warnings.

ping debuginfod.ubuntu.com is successful, and browsing to http://debuginfod.ubuntu.com redirects to https://ubuntu.com/server/docs/how-to/debugging/about-debuginfod/ , so it seems the server is alive.

Any suggestions?

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.


Kubuntu 26.04 installation fails saying "could not close encrypted partition on the target system" https://askubuntu.com/questions/1567575/kubuntu-26-04-installation-fails-saying-could-not-close-encrypted-partition-on

Booted from USB drive, selected "Try Kubuntu", ran the installer, chose "Normal Installation", selected SSD, chose "Erase disk", checked "Encrypt system", entered encryption password, and continued with the rest of the installation process.

Towards the end of the installation (feels like towards the end, although I'm not sure if it leaves something out), the installer shows an error message "could not close encrypted partition on the target system". However, after closing the installer and manually rebooting, the system seems to be working. But I can't be sure if something is broken somewhere.

I later tried the same installation steps inside VirtualBox, and it works just fine. It's only on my laptop where this error shows. What should I do? Is it safe to continue using it despite the error and "failed" installation?

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 do I get the `usg` (Ubuntu Security Guide) tooling in Ubuntu 26.04? https://askubuntu.com/questions/1567430/how-do-i-get-the-usg-ubuntu-security-guide-tooling-in-ubuntu-26-04

I ran USG under earlier version of Ubuntu but it does not appear to be available on 26.04. Is there a replacement? I see there is a compliance section on the security center but there is a big splash screen that says it is only recommended for certain hardneing requirements and everything is greyed out.

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?

Install ROCm 7.2 instead of 7.1 on Ubuntu 26.04 LTS – or update coming? https://askubuntu.com/questions/1566539/install-rocm-7-2-instead-of-7-1-on-ubuntu-26-04-lts-or-update-coming

I've been eagerly waiting for Ubuntu 26.04 LTS because I knew ROCm would be installed automatically with it. Now I'm disappointed to see it's only ROCm 7.1.0 / 7.1.1 which does not work well with newer AMD Strix Halo designs like AMD RYZEN AI MAX+ 395 with Radeon 8060S (gfx1151).

To get the full potential of this GPU and NPU, I have to use ROCm 7.2 and later. First question is:

  • Should I install ROCm 7.2 myself despite there is not even an installation guide for Ubuntu 26.04 in the official documentation yet, or
  • eagerly wait for a ROCm update to come to Ubuntu 26.04 via system updates?

I would happily wait 1 or 2 months, but if this update is not to be expected in the near future then I most likely would have to do it myself. How to start?

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

/dev/ttyACM0 permission denied on Ubuntu 24.04 https://askubuntu.com/questions/1531140/dev-ttyacm0-permission-denied-on-ubuntu-24-04

I'm struggling to access an MCU connected to the USB and presented as a serial port: /dev/ttyACM0. What worked well in Ubuntu 22.04 does not work in 24.04. Whenever I connect the device, the only way to have it access is to chmod 666 it, but that works only temporarily.

The user I'm working on is already added to the dialout group, and ls -l /dev/ttyACM0 returns: crw-rw---- 1 root dialout 166, 0 Oct 25 15:33 /dev/ttyACM0 , so as I can understand it, it is the root who has r/w and any dialout group member. Am I missing anything here to configure/add? enter image description here

Edit: The driver seems to be correct so that is not the case of invalid UDEV rule triggered:

[21856.363341] usb 3-6: new full-speed USB device number 6 using xhci_hcd
[21856.761217] usb 3-6: New USB device found, idVendor=2e8a, idProduct=0005, bcdDevice= 1.00
[21856.761236] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[21856.761240] usb 3-6: Product: Board in FS mode
[21856.761244] usb 3-6: Manufacturer: MicroPython
[21856.761247] usb 3-6: SerialNumber: e6614c311b7f8c38
[21857.365083] cdc_acm 3-6:1.0: ttyACM0: USB ACM device
[21857.365219] usbcore: registered new interface driver cdc_acm
[21857.365225] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

Regards,

Piotr

How to run Timeshift from command line https://askubuntu.com/questions/1393507/how-to-run-timeshift-from-command-line

I'm struggling a bit with running Timeshift from command line. My disk structure look like this:

sda                         8:0    0   1.8T  0 disk
├─sda1                      8:1    0   512M  0 part /boot/efi
├─sda2                      8:2    0     1G  0 part /run/timeshift/backup
└─sda3                      8:3    0   1.8T  0 part
  └─ubuntu--vg-ubuntu--lv 253:0    0   100G  0 lvm  /
sdb                         8:16   0 232.9G  0 disk
└─sdb1                      8:17   0 232.9G  0 part /run/timeshift/backup

So, I would like to create a backup on the sdb1 disk, using:

sudo timeshift --create --comments "Test" --tags D --snapshot-device /dev/sdb1

gives me the following:

Mounted '/dev/sdb1' at '/run/timeshift/backup'
------------------------------------------------------------------------------
Creating new snapshot...(RSYNC)
Saving to device: /dev/sdb1, mounted at path: /run/timeshift/backup
Linking from snapshot: 2022-02-17_19-34-54
Synching files with rsync...
Created control file: /run/timeshift/backup/timeshift/snapshots/2022-02-17_20-51-55/info.json
RSYNC Snapshot saved successfully (111s)
Tagged snapshot '2022-02-17_20-51-55': ondemand
------------------------------------------------------------------------------

However, when listing using timeshift --list, I get the following:

Mounted '/dev/sda2' at '/run/timeshift/backup'
Device : /dev/sda2
UUID   : acd80a0d-761d-441a-8e8a-b5cca5bf7ee9
Path   : /run/timeshift/backup
Mode   : RSYNC
Status : Not enough disk space (< 12.9 GB)
Select another device or free up some space

No snapshots found

Any suggestions on what I am doing wrong?

Tom

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