rhythmbox questions [closed] https://askubuntu.com/questions/1563264/rhythmbox-questions

I hope this is the best place for this. If not, please direct me.

Ubuntu 22.04 + Cinnamon. I understand Rhythmbox is the default music player. It is installed and works, at least minimally. I also tried Strawberry, but it is not supported or does not work in Ubuntu 22.04. I'm not ready to upgrade. I can't find a "search" feature in Rhythmbox to find a track. ctrl+f does nothing. I have 11,000 tracks and would like to search by artist or title. Is this not even possible? Seems like basic functionality.

Does Rhythmbox support .m4a and .m4b? If not, how do I play those tracks? Thank you.

opera ubuntu 25.10 graphics acceleration not working https://askubuntu.com/questions/1563260/opera-ubuntu-25-10-graphics-acceleration-not-working

Over the course of approximately the last month, I have noticed that the Opera browser offered on the Ubuntu 25.10 store is unable to provide graphics acceleration. This is particularly manifest in using Google Meet and trying to blur the background. In this case Google Meet advises:

Configure your browser for visual effects
To use visual effects, turn on hardware acceleration in your browser settings.

Checking that setting, it's turned on. Also opera://gpu indicates:

Graphics Feature Status
=======================
*   Canvas: Software only, hardware acceleration unavailable
*   Direct Rendering Display Compositor: Disabled
*   Compositing: Software only. Hardware acceleration disabled
*   Multiple Raster Threads: Enabled
*   OpenGL: Disabled
*   Rasterization: Software only. Hardware acceleration disabled
*   Raw Draw: Disabled
*   Skia Graphite: Disabled
*   TreesInViz: Disabled
*   Video Decode: Software only. Hardware acceleration disabled
*   Video Encode: Software only. Hardware acceleration disabled
*   Vulkan: Disabled
*   WebGL: Software only, hardware acceleration unavailable
*   WebGL2: Software only, hardware acceleration unavailable
*   WebGPU: Disabled
*   WebNN: Software only, hardware acceleration unavailable

Running Opera from the command line shows this message:

[13682:13682:0125/114440.551721:ERROR:media/gpu/vaapi/vaapi_wrapper.cc:1631] vaInitialize failed: unknown libva error
[13682:13682:0125/114440.553468:ERROR:components/viz/service/main/viz_main_impl.cc:189] Exiting GPU process due to errors during initialization

I see from searching that Chromium (on which Opera is apparently based) also suffers from a similar problem.

I have updated my NVIDA driver to 590 (previously at 580) and neither version solves the problem.

I have checked with vainfo which reports:

Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: VA-API NVDEC driver [direct backend]
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain12             : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointVLD
      VAProfileHEVCMain444_10         : VAEntrypointVLD
      VAProfileHEVCMain444_12         : VAEntrypointVLD

so that seems OK as far as I can tell. Based on other comments I have seen I have also installed:

 libvdpau-va-gl1 (0.4.2-2)
nvidia-vaapi-driver (0.0.14-1)

but neither seem to make an appreciable difference.

Has anyone run into a similar problem and solved it?

Overheating and High Fan Noise on Ubuntu 24.04 (HP Laptop - i5-14450HX) https://askubuntu.com/questions/1563259/overheating-and-high-fan-noise-on-ubuntu-24-04-hp-laptop-i5-14450hx

I am experiencing high CPU temperatures and loud fan noise on Ubuntu 24.04 based system (Kernel 6.14.0-37-generic), specifically when the charger is plugged in. Even under light load, the CPU stays between 60°C and 65°C, and the fans are quite aggressive.

My Specifications:

  • CPU: Intel Core i5-14450HX
  • GPU: NVIDIA RTX 4050 Mobile / Intel UHD Graphics
  • Motherboard: HP 8C99 (v: 10.33)
  • OS: Linux Mint 22.3 (Cinnamon Edition - Ubuntu 24.04 Base)

What I have done so far:

  • Secure Boot: Disabled in BIOS.

  • Power Management: TLP is installed and configured. Intel Power Saving settings have been applied.

  • Frequency Scaling: I have manually capped the CPU frequency to 3.0 GHz while on AC power.

Despite these limits, the thermal behavior does not improve on AC power compared to battery mode.

What is causing the problem and how can I solve it?

Update with requested details:

Laptop Model: Victus by HP Gaming Laptop 16-r1xxx

Active Graphics Card: Intel (Confirmed via glxinfo and prime-select).

Graphics Driver: NVIDIA 590-open (recommended) is available, but currently using Intel mode for power saving.

OpenGL Vendor: Intel
opera snap ubuntu 25.10 printers missing https://askubuntu.com/questions/1563258/opera-snap-ubuntu-25-10-printers-missing

I have been experimenting with the Opera browser for a few months, using the snap available from the Ubuntu 25.10 store.

I noticed today (and, I think, previously, though I cannot say when) that when I try to print something, it does not offer me the local printer on my home network - just save to PDF. This is the case whether or not I use the system dialogue.

If I run Opera in the terminal and attempt to print, I see this error message:

[13001:13001:0125/114006.429088:ERROR:printing/backend/print_backend_cups.cc:205] CUPS: Error getting default printer: Bad file descriptor

[11339:11339:0125/114006.429315:ERROR:components/device_event_log/device_event_log_impl.cc:198] [11:40:06.429] Printer: local_printer_handler_default.cc:286 Failure getting default printer via service, result: kFailed

which I assume points to the problem. Anyone here solved this problem?

Force GNOME to use afc instead of gphoto2 backend for ipod https://askubuntu.com/questions/1563255/force-gnome-to-use-afc-instead-of-gphoto2-backend-for-ipod

I'm on 24.04LTS and have two iPods. One is recognised by gtkpod the other is not. This one is an iPod Touch A1288. I would like to know where the gvfs services are configured and how I can force gvfs-afc to be used with this ipod.

Problem with wifi - rtl8192cu https://askubuntu.com/questions/1563245/problem-with-wifi-rtl8192cu

I installed Ubuntu 25.10 and had no wifi i have the rtl8192cu wifi card does anyone has a driver? (i found one but it has a problem with the kernel i think)

Selecting text with shift + click does not work https://askubuntu.com/questions/1563241/selecting-text-with-shift-click-does-not-work

In any operating system I know, I can select text in the following way:

  1. set the cursor at the beginning of that text by a left-click
  2. set the cursor at the end of that text by a left-click while pressing the shift key

This does not work on my Ubuntu 25.10 machine (the cursor is repositioned, but the text is not selected). And as far as I'm aware of I have not set any special configuration for my keyboard or my mouse.

Is this the standard behaviour of Ubuntu? What can I do to change it?

Edit: This behaviour is not application specific – it is the same with Firefox, LibreOffice, VSCode, the default Ubuntu text editor and other applications.

MySQL perpetually in startup https://askubuntu.com/questions/1563221/mysql-perpetually-in-startup

I had an issue creating users and my research uncovered this as a solution:

mysqld --initialize

The command returned instantly, but I don't know how long it should take. In any case, I tried to start MySQL after that, but it would not start.

Here is the journal output:

Subject: Unit failed
 Defined-By: systemd
 Support: http://www.ubuntu.com/support
The unit mysql.service has entered the 'failed' state with result 'exit-code'.
Jan 24 11:23:55 dap002 systemd\[1\]: Failed to start mysql.service - MySQL Community Server.
Subject: A start job for unit mysql.service has failed
 Defined-By: systemd
 Support: http://www.ubuntu.com/support
A start job for unit mysql.service has finished with a failure.
The job identifier is 3317688 and the job result is failed.
Jan 24 11:23:55 dap002 systemd\[1\]: mysql.service: Consumed 2.236s CPU time.
Subject: Resources consumed by unit runtime
 Defined-By: systemd
 Support: http://www.ubuntu.com/support
The unit mysql.service completed and consumed the indicated resources.
Jan 24 11:23:56 dap002 systemd\[1\]: mysql.service: Scheduled restart job, restart counter is at 3.
Subject: Automatic restarting of a unit has been scheduled
 Defined-By: systemd
 Support: http://www.ubuntu.com/support
Automatic restarting of the unit mysql.service has been scheduled, as the result for the configured Restart= setting for the unit.
Jan 24 11:23:56 dap002 systemd\[1\]: Starting mysql.service - MySQL Community Server...
Subject: A start job for unit mysql.service has begun execution
 Defined-By: systemd
 Support: http://www.ubuntu.com/support
A start job for unit mysql.service has begun execution.
The job identifier is 3317885.

Short of reinstalling mysql, how can I fix it? As far as I can tell there is nothing that tells me what is wrong.

Updated 1/25/25:

I am seeing this in the error log.

Cannot load from mysql.tables_priv. The table is probably corrupted!

That does not surprise me since I thought that was what --initialize was supposed to fix. I guess I need to restore the entire database from my backup, right?

Screen video/audio capture app for Ubuntu 24.04 https://askubuntu.com/questions/1563067/screen-video-audio-capture-app-for-ubuntu-24-04

I'm looking for a GUI screen video with audio capture app for Ubuntu 24.04 running on Wayland. Search on Ask Ubuntu pulls up stuff 10-15 years old with things no longer in existence, the same with search engines.

Ubuntu Software only has recording junk. Most do not even open, have no GUI, or open and lock up like they're not working with Wayland.

That print screen thing only records video. no audio.

VLC says it can capture the desktop, but has no record button or way to select.

I can use my laptop's HDMI output to record screen to my DVD recorder, bring the burned DVD to the laptop, and use Handbrake to make mp4 recordings. It seems there should be something more user friendly.

I tried OBS Studio and got this:

enter image description here

Lenovo 300w Gen3, can't install Ubuntu, no trackpad https://askubuntu.com/questions/1557460/lenovo-300w-gen3-cant-install-ubuntu-no-trackpad

I am attempting to install Ubuntu on a Lenovo 300w Gen 3. I have successfully installed Ubuntu 22.04.4, but the trackpad will not work. I have attempted editing and rolling back the kernel, updating the unit's BIOS, updating, uninstalling, and reinstalling the drivers for the touchpad, but it will not recognize it. I can't install the newest version of Ubuntu because it causes a Busybox error, so that is not a solution. Do you have any advice on how to resolve this issue?

Dark mode not working for all apps at Ubuntu 24.04 when I select NVIDIA On-Demand X-Server PRIME Profile https://askubuntu.com/questions/1539193/dark-mode-not-working-for-all-apps-at-ubuntu-24-04-when-i-select-nvidia-on-deman

I've recently installed Ubuntu 24.04 and I'm having a serious problem when trying to use dark mode.

I know there seems to be an issue with NVIDIA proprietary drivers... but when I set Nouveau opensource driver - instead of NVIDIA proprietary own drivers - my dedicated NVIDIA Graphics Card doesn't seem to work... although then the dark mode seems to work.

So I keep having to choose, either set the dark mode or set my graphics card to work, which is awful.

The dark mode partially works for some apps but not for others: it doesn't for Files, Calculator, Settings, etc.

When I change the PRIME profile to Performance Mode, the computer gets a lot lazier to start the system and open apps, initially the dark mode keeps light, and then, eventually, turns out to work ok, but the computer gets too slow.

What do I want ?

I want to be able to use the latest NVIDIA proprietary graphics card driver, use either of both PRIME profiles available, and have the dark mode to work fine for all apps... without making my notebook get slow.

Is that possible ?

PS.:

  1. I've already set gtk-application-prefer-dark-theme=1 at settings.ini at gtk-3/4 folders at ~/.config, it didn't work;
  2. I've tried to add gtk-application-prefer-dark-theme=1 to my .profile, to load on boot, but it also didn't work;
  3. I tried exporting the env variable GTK_THEME=[THEME_NAME], at my .profile, and that kept the dark mode black (on both PRIME profiles, for all apps), but messed badly with the line-heights at the Files... and at other softwares as well, including the Calculator, so I had to undo that...
  4. The only partial solution up until now is to set the PRIME profile to Performance Mode and deal with a lot more slow system - the dark mode then works.

THANKS to anyone who might have a solution...

enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here

How to fix boot though grub> and initramfs> command prompts? https://askubuntu.com/questions/1515618/how-to-fix-boot-though-grub-and-initramfs-command-prompts

First signs something was wrong : a file wouldn't save and a browser bookmark was not recorded.

du -h

Said the partition was 100% full. I didn't think that was true, but I deleted 4 full-feature movies (with the key, so they don't just go into the trash). I emptied the trash anyway. The above command still said the partition (I have only one working partition, with Lubuntu) was 100% full.

I thought the computer was simply playing up and I rebooted. Or tried to.

When I try to boot, I see the splash screen, then some text (this is normal) and the mouse pointer appears (and moves when I touch the scratchpad). Nothing more.

Pressing F12 gives me a boot menu with Ubuntu, Windows (was overwritten but still has some stuff in /dev/dsa1) or UEFI. No advanced options or recovery mode. Any of these 3 options end up as described above.

Pressing escape repeatedly while booting gives me a prompt :

grub>

Following instructions here: howtogeek.com/887757/how-to-use-grub-rescue-to-fix-linux I typed

grub> set root=(hd0,2)
grub> linux /boot/vmlinuz-6.5.0-28-generic root=/dev/sda2
grub> initrd /boot/initrd.img-6.5.0.28-generic
grub> boot

This said there was no hda2 and gave me another type of command prompt, this one was called

initramfs>

Typing

initramfs> exit

goes back and changes the keyboard layout back to azerty. So it has found hda2, otherwise how could it know I have an azerty keyboard? Before I had to type in qwerty on the azerty keyboard.

Searching online returned many post talking about new installations. This is not a new installation and I don't want to loose the stuff I have on that computer.

I also found lots of advice using normal command-line instructions. Please don't suggest any of this as I cannot access any bash terminal. I can only access grub> and initramfs> command prompts and the language is very different.

The closest is : Boot drops to a (initramfs) prompts/busybox but it doesn't answer my problem.

How do I change dash-to-dock sorting order of windows in preview? https://askubuntu.com/questions/1493218/how-do-i-change-dash-to-dock-sorting-order-of-windows-in-preview

I'm running Ubuntu 22.04 LTS on my laptop. I've installed dash-to-dock and customized a few things.

When I click on a running app on the dash-to-dock, it shows an overview of the running windows. I usually have some instances/windows of Firefox running. Whenever I start the laptop, I restore the Firefox session and all the windows get reopened. When I click on the Firefox icon on the dash-to-panel, I get the preview of open windows, but every time, the windows are sorted in another way, so the window that was on the top of the preview last time, this time is somewhere below.

I find this behaviour inconvenient. Whenever I restart the laptop, I have to search the whole dash-to-dock preview to find the window I want to dive into.

I have been searching for a solution or workaround, but I didn't find anything. I also tried dconf but did not see any configuration related to the sorting order.

Is there a way to define a sorting order in a single app's preview of open windows?

Is it possible to add a connection by nmcli command without sudo? https://askubuntu.com/questions/1476888/is-it-possible-to-add-a-connection-by-nmcli-command-without-sudo

I'm working with a lubuntu 22.04 distribution. I need to execute the following command by a user without root privileges:

> nmcli c add ifname enp3s0 type ethernet con-name 'connection-test'

The output of the previous command is the following:

Error: Failed to add 'connection-test' connection: Insufficient privileges

I have added the user to the group netdev (used the command sudo adduser <username> netdev) as suggested by this post, but the problem is not solved. The post reports this sentences:

On Debian, the "netdev" group gains access to using Network Manager. On Ubuntu, Network Manager access rights are gained by being at the system console, so the name of this entry in gnome-system-tools is misleading.

The "netdev" group can administer wicd and wpasupplicant.

The "netdev" group can set the avahi host name using DBus.

The "netdev" group can administer Bluetooth devices.

This means that on Ubuntu the name of the group netdev is different?

Is it possible to be able for a not root user to execute the nmcli c add command without sudo?


This other post treats the same topic and suggests to create a service, executed with root privilege, which creates the NetworkManager connection.

How can I get the equivalent of the Activities view for only one app? https://askubuntu.com/questions/1433134/how-can-i-get-the-equivalent-of-the-activities-view-for-only-one-app

I'm using Ubuntu 22.04.1 LTS

When I hit the super key Activities is called and I can see all the windows.

My question: Is there a way to customize a shortcut so that if I hit (for example) super+t I see all the windows of a particular app (for example the terminal)?

error while processing rock-dkms and rocm-dkms https://askubuntu.com/questions/1269337/error-while-processing-rock-dkms-and-rocm-dkms

Hi guys since yesterday I have been trying to fix a problem regarding the rock-dkms and rocm-dkms, whenever i try to update or install any packages to my system this error occurs:

    -------- Uninstall Beginning --------
Module:  amdgpu
Version: 3.7-20
Kernel:  5.4.0-42-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

amdgpu.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.4.0-42-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


amdttm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.4.0-42-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


amdkcl.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.4.0-42-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


amd-sched.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.4.0-42-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


Running the post_remove script:
depmod...

update-initramfs.........

DKMS: uninstall completed.

------------------------------
Deleting module version: 3.7-20
completely from the DKMS tree.
------------------------------
Done.
Loading new amdgpu-3.7-20 DKMS files...
Building for 5.4.0-42-generic 5.7.16-xanmod2
Building for architecture x86_64
Building initial module for 5.4.0-42-generic
  Secure Boot not enabled on this system.
Done.
Forcing installation of amdgpu

amdgpu.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-42-generic/updates/dkms/

amdttm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-42-generic/updates/dkms/

amdkcl.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-42-generic/updates/dkms/

amd-sched.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-42-generic/updates/dkms/

depmod...

Backing up initrd.img-5.4.0-42-generic to /boot/initrd.img-5.4.0-42-generic.old-
dkms
Making new initrd.img-5.4.0-42-generic
(If next boot fails, revert to initrd.img-5.4.0-42-generic.old-dkms image)
update-initramfs.........

DKMS: install completed.
Building initial module for 5.7.16-xanmod2
ERROR (dkms apport): kernel package linux-headers-5.7.16-xanmod2 is not supporte
d
Error! Bad return status for module build on kernel: 5.7.16-xanmod2 (x86_64)
Consult /var/lib/dkms/amdgpu/3.7-20/build/make.log for more information.
dpkg: error processing package rock-dkms (--configure):
 installed rock-dkms package post-installation script subprocess returned error 
exit status 10
Setting up libio-string-perl (1.08-3) ...
Setting up libcwidget4:amd64 (0.5.18-5build1) ...
Setting up aptitude-common (0.8.12-1ubuntu4) ...
Setting up aptitude (0.8.12-1ubuntu4) ...
update-alternatives: using /usr/bin/aptitude-curses to provide /usr/bin/aptitude
 (aptitude) in auto mode
Setting up libsub-name-perl (0.26-1) ...
Setting up libfcgi-perl (0.79-1) ...
dpkg: dependency problems prevent configuration of rocm-dkms:
 rocm-dkms depends on rock-dkms; however:
  Package rock-dkms is not configured yet.

dpkg: error processing package rocm-dkms (--configure):
 dependency problems - leaving unconfigured
Setting up libclass-accessor-perl (0.51-1) ...
No apport report written because the error message indicates its a followup erro
r from a previous failure.
                          Setting up libcgi-fast-perl (1:2.15-1) ...
Setting up libparse-debianchangelog-perl (1.2.0-13) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Errors were encountered while processing:
 rock-dkms
 rocm-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

I am new to the Linux environment so I am not really sure what to do, I tried to look up for a solution but nothing seemed to work :/

Kicked to initramfs after rebooting for no reason https://askubuntu.com/questions/1259341/kicked-to-initramfs-after-rebooting-for-no-reason

I'm running Ubuntu 16.04 on an HP T620 Thin Client. Since a few days ago I've been struggling with this new issue. I started up my PC normally, everything looked just fine, but Psensor indicator displayed only CPU usage (that caught my attention because I had configured GPU indication as well). I thought "OK fine, a restart could help", but after rebooting I was kicked to initramfs (for me, with no logical reason) with this information.

[    2.759289] Couldn't get size: 0x800000000000000e
/dev/sda2 contains a file system with errors, check forced.
Inodes that were part of a corrupted orphan linked list found.

/dev/sda2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
        (i.e., without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/sda2 requires a manual fsck

BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1.4) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) shutdown_

Ubuntu suggested to perform fsck, so I did it. After that Ubuntu restarted properly, but concerned about my PC security (something corrupted important system files causing this whole "initramfs situation") I've run dmesg to view logs and look for suspicious entries.

I found only this:

Couldn't get size: 0x800000000000000e
MODSIGN: Couldn't get UEFI MokListRT

ACPI Error: Method parse/execution failed \HWMC, AE_AML_UNINITIALIZED_ELEMENT (20170831/psparse-550)
ACPI Error: Method parse/execution failed \_SB.WMID.WMAA, AE_AML_UNINITIALIZED_ELEMENT (20170831/psparse-550)

Disk SMART parameters are good (checked it, even ran some diagnostics to be sure), I've changed nothing in BIOS (especially in the power management settings).

What happened exactly? Should I be concerned about system security because it was caused by virus or something? I was looking for a similar thread in the forum, but I didn't find someone who had a similar problem.

Today I decided to take a closer look on SMART logs, because the problem is still present and I want to discover what is going on with my system and what caused the data corruption which I meant earlier. I did short and long DST tests from UEFI. Short passed, extended -failed, but this has no confirmation with tests done from OS (all tests passed) - until today. Today the disk is reporting that did not pass any test, and has some uncorrectable errors. The system itself does not hang, and does not show any symptoms that something is wrong.

The problem that I'm facing with is actually some bad sectors, bad blocks...? Is this disk failure has a correlation with the problem described earlier?

Screenshot 1

Screenshot 2

Effect of hdparm command:

ubuntu@hp-t620:~$ sudo hdparm --read-sector 12032336 /dev/sda

/dev/sda:
reading sector 12032336: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e0 01 11 04 00 00 00 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00
succeeded

Before I asked the question here, I tried to modify the grub attributes (as indicated in the question pointed by @user535733), but this did not bring the desired results.

How do I patch Minecraft's LWJGL libraries for ARM64 for MultiMC? https://askubuntu.com/questions/1211821/how-do-i-patch-minecrafts-lwjgl-libraries-for-arm64-for-multimc

Though this question has been asked before, all information I can found is outdated, so I decided to ask myself.

For those that don't know, MultiMC is a free, open-source launcher for Minecraft. I'm using it because I prefer it to the default launcher, and I found it easier to install, which I did by compiling it myself.

When launching the game, MultiMC copies libraries from common folders, as detailed in the log below. Therefore, information on how to patch a normal Minecraft's install would also be helpful.

Minecraft's default Linux LWJGL library is not built for ARM and thus the game crashes during initialization. At least, I believe that is the problem, though I'm not entirely sure.

Here is the full log.

I have tried, using a shell script, simply replacing all the .jar files in the .../install/libraries/org/lwjgl/lwjgl-*/3.2.2/ folders, with the equivalent ARM files downloaded from lwjgl.org (which are 3.2.3, if that matters). That yields this crash.

But now I'm at a loss for what to do. Am I even addressing the right problem?

TP-Link TG-3468 Ethernet pci card not working https://askubuntu.com/questions/1199444/tp-link-tg-3468-ethernet-pci-card-not-working

Hi i bought a new pci ethernet card as my motherboard ethernet would constantly crash at random times causing the computer to continue to run and have no networking abilities.

The new card is recognized + the driver (r8169) is already being used by the previous motherboard ethernet

lspci output (new card is 05:00.0):

05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)

lsmod also has r8169 listed.

when the ethernet is plugged into the new card the light blinks green so power is running through.

Nvidia Persistance Daemon failed to start with 390.xx drivers https://askubuntu.com/questions/1018232/nvidia-persistance-daemon-failed-to-start-with-390-xx-drivers

I am currently using 384.111 drivers, which work just fine, however I tried upgrading to 390.12 initially, which caused this error, and 390.25 does too. I suspect 390.42 will have the same issue. I've installed both from the .run file on Nvidia's website and the nvidia-384 package.

Whenever I start up a 390.xx driver from the Ubuntu grub option, it loads with the regular splash screen and then into tty1, except it starts blinking as if the screen turns off and then on again. While the screen is off, none of my keystrokes are registered, meaning I have to spam a key a couple times for it to show up. This also makes it impossible to enter my password as I cannot see if a keystroke has been registered.

The thing is, when I select the Advanced options for Ubuntu grub option and then select recovery mode and then Resume, it boots normally into gdm3 and I can use the system as usual.

I tried booting into Ubuntu and then pressing Esc to show tty1, and saw a black screen with the following boot messages.

[  OK  ] Stopped NVIDIA Persistence Daemon.
         Starting NVIDIA Persistence Daemon...
[  OK  ] Started NVIDIA Persistence Daemon.
[  OK  ] Stopped NVIDIA Persistence Daemon.
         Starting NVIDIA Persistence Daemon...
[  OK  ] Started NVIDIA Persistence Daemon.
[  OK  ] Stopped NVIDIA Persistence Daemon.
[FAILED] Failed to start NVIDIA Persistence Daemon.
See 'systemctl status nvidia-persistence.service' for details.
[  OK  ] Stopped NVIDIA Persistence Daemon.
[FAILED] Failed to start NVIDIA Persistence Daemon.
See 'systemctl status nvidia-persistence.service' for details.
[  OK  ] Stopped NVIDIA Persistence Daemon.
[FAILED] Failed to start NVIDIA Persistence Daemon.
See 'systemctl status nvidia-persistence.service' for details.
[  OK  ] Stopped NVIDIA Persistence Daemon.
[FAILED] Failed to start NVIDIA Persistence Daemon.
See 'systemctl status nvidia-persistence.service' for details.
[  OK  ] Started LSB: Start windscribe daemon at boot time.
[  OK  ] Started TeamViewer remote control daemon.
[  OK  ] Stopped NVIDIA Persistence Daemon.
[FAILED] Failed to start NVIDIA Persistence Daemon.
See 'systemctl status nvidia-persistence.service' for details.
[  OK  ] Stopped NVIDIA Persistence Daemon.
[FAILED] Failed to start NVIDIA Persistence Daemon.
See 'systemctl status nvidia-persistence.service' for details.
[  OK  ] Stopped NVIDIA Persistence Daemon.
[FAILED] Failed to start NVIDIA Persistence Daemon.
See 'systemctl status nvidia-persistence.service' for details.
[  OK  ] Stopped NVIDIA Persistence Daemon.
[FAILED] Failed to start NVIDIA Persistence Daemon.
See 'systemctl status nvidia-persistence.service' for details.
[  OK  ] Stopped NVIDIA Persistence Daemon.
[FAILED] Failed to start NVIDIA Persistence Daemon.
See 'systemctl status nvidia-persistence.service' for details.
[  OK  ] Stopped NVIDIA Persistence Daemon.
[FAILED] Failed to start NVIDIA Persistence Daemon.
See 'systemctl status nvidia-persistence.service' for details.
[  OK  ] Stopped NVIDIA Persistence Daemon.
[FAILED] Failed to start NVIDIA Persistence Daemon.
See 'systemctl status nvidia-persistence.service' for details.
[  OK  ] Stopped NVIDIA Persistence Daemon.
[FAILED] Failed to start NVIDIA Persistence Daemon.
See 'systemctl status nvidia-persistence.service' for details.
[  OK  ] Stopped NVIDIA Persistence Daemon.
[FAILED] Failed to start NVIDIA Persistence Daemon.
See 'systemctl status nvidia-persistence.service' for details.
[  OK  ] Stopped NVIDIA Persistence Daemon.
[FAILED] Failed to start NVIDIA Persistence Daemon.
See 'systemctl status nvidia-persistence.service' for details.

Specs:

  • Ubuntu 16.04
  • 4.13.0-37-generic
  • NVIDIA GTX 1060 6GB graphics card
Ubuntu 16.04.4 LTS wont load in the Boot Manager after being installed on to a SSD of a Yoga 11E https://askubuntu.com/questions/1016888/ubuntu-16-04-4-lts-wont-load-in-the-boot-manager-after-being-installed-on-to-a-s

I'm not that advanced with computers, but I have tried to install Ubuntu 16.04.4 LTS on a completely new SSD in my Lenovo Yoga 11E.

  • I made a bootable USB drive using Rufus and was able to launch the Ubuntu installer on the laptop.

  • I was then able to install Ubuntu on the laptop.

  • ...but when I restarted it to load the OS from the SSD, it wouldn't launch from the SSD, only from the USB.

  • I have tried this thread: Install ubuntu on thinkpad yoga

Here is what happens when I type sudo fdisk -l into the terminal.

 Disk /dev/loop0: 1.5 GiB, 1564921856 bytes, 3056488 sectors
 Units: sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes


 Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
 Units: sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disklabel type: gpt
 Disk identifier: 7B76C6F6-8D31-43AC-8E0F-86786319FB9E
 
 Device         Start       End   Sectors   Size Type
 /dev/sda1       2048   1050623   1048576   512M EFI System
 /dev/sda2    1050624 491968511 490917888 234.1G Linux filesystem
 /dev/sda3  491968512 500117503   8148992   3.9G Linux swap


 Disk /dev/sdb: 7.5 GiB, 8053063680 bytes, 15728640 sectors
 Units: sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disklabel type: dos
 Disk identifier: 0x0921d6a2

 Device     Boot Start      End  Sectors  Size Id Type
 /dev/sdb1  *     2048 15728639 15726592  7.5G  c W95 FAT32 (LBA)

I checked to see if there was a boot flag on sda1, and there was one already and "esp".

Here is a screenshot of this.

screenshot

Next I used this thread to reinstall GRUB: How do I manually install GRUB? While following the steps, there were problems with the "recover" step.

Steps I followed when reinstalling GRUB:

Image of steps I followed when reinstalling GRUB

Response from the terminal using this code:

Image of response from the Terminal using this code

Grub repair unsuccessful, boot to grub rescue>. Trying to boot from sda4 (ubuntu 14.04), sda2 has broken kernel ubuntu 16.04 https://askubuntu.com/questions/854599/grub-repair-unsuccessful-boot-to-grub-rescue-trying-to-boot-from-sda4-ubuntu

I have a broken boot on a linux server that has 4 partitions (sda1-4).

We had a boot issue and resolved it by running grub repair. Once rebooted we updated to Ubuntu 16.04 (on sda2 where all our working directories are). The update resulted in a broken desktop where we couldn't sign in users (put password in and then screen flash and went back to user login). The partition was almost full, so it's possible the update wasn't complete, however there was no error message.

I made a new boot partition (sda4) with Ubuntu 14.04 and tried to delete Ubuntu 16.04, in case it was causing interference, from sda2 by booting from a live CD with the below commands, however it's still there. I also deleted files from sda2 to make space.

sudo mount /dev/sda2 /mnt  
sudo mount --bind /sys /mnt/sys  
sudo mount --bind /proc /mnt/proc  
sudo mount --bind /dev /mnt/dev  
sudo chroot /mnt   
sudo apt-get remove --purge linux-headers_4.4.8*  
sudo apt-get remove --purge image-headers_4.4.8*  

I tried Boot-Repair after removal. It boots to grub rescue>. I tried Boot-Repair again and the log is here.

I noticed that for sda4 there is no "boot sector" information. Is this the issue?

Results of df:

Filesystem      1K-blocks       Used  Available Use% Mounted on
/cow             32979776      43984   32935792   1% /
udev             32935276          4   32935272   1% /dev
tmpfs             6595956       1252    6594704   1% /run
/dev/sr0           987136     987136          0 100% /cdrom
/dev/loop0         944256     944256          0 100% /rofs
none                    4          0          4   0% /sys/fs/cgroup
tmpfs            32979776       1028   32978748   1% /tmp
none                 5120          4       5116   1% /run/lock
none             32979776         76   32979700   1% /run/shm
none               102400         48     102352   1% /run/user
/dev/sda2      7338794732 5768586068 1200331900  83% /media/ubuntu/b697f249-e945-46f0-898b-438a8da6b100
/dev/sda4        47115636    4139200   40560052  10% /media/ubuntu/3ad839ec-2ceb-4123-aaa2-396634fde7bc

GParted:

GParted screenshot

New Boot-Repair report post Ubuntu 16.04 updates: https://pastebin.ubuntu.com/23549880/

vboxapi for python3 https://askubuntu.com/questions/829932/vboxapi-for-python3

I need to spawn/kill virtual box machines using python3.

There is a module called pyvbox, but it does not work because the vboxapi package is incompatible with python3.

If I try to import vboxapi:

>>> import vboxapi
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'vboxapi'

>>> import virtualbox
>>> pool = virtualbox.pool.MachinePool("ubuntu1")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/dist-packages/virtualbox/pool.py", line 76, in __init__
    with self._lock() as session:
  File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.5/dist-packages/virtualbox/pool.py", line 85, in _lock
    vbox = VirtualBox()
  File "/usr/local/lib/python3.5/dist-packages/virtualbox/library_ext/vbox.py", line 21, in __init__
    manager = virtualbox.Manager()
  File "/usr/local/lib/python3.5/dist-packages/virtualbox/__init__.py", line 103, in __init__
    with import_vboxapi() as vboxapi:
  File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.5/dist-packages/virtualbox/__init__.py", line 34, in import_vboxapi
    import vboxapi
ImportError: No module named 'vboxapi'

There is a package in /usr/lib/python2.7/dist-packages/vboxapi, but it is incompatible with python3, for instance because of

File "/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/__init__.py", line 128
    except IOError, why:
              ^
SyntaxError: invalid syntax

Is there a way to use vboxapi with python3, which is the default python version on Ubuntu 16.06, or do I have to write such a package on my own?

(Optional) What is xpcom?

I run on Linux Iwillnottellyoumyhostname 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux.

Unable to boot ubuntu 14.4 from usb on dell inspirton 15 3537 https://askubuntu.com/questions/655665/unable-to-boot-ubuntu-14-4-from-usb-on-dell-inspirton-15-3537

So I recently installed windows 10 on my computer. Before that I had a dual boot windows 7/ubuntu 14.4. Now I wanted to boot ubuntu from a usb.

I created a live usb using unetbootin. After that I rebooted my pc, pressed F12 (to access boot menu) and selected USB Storage Device. But then nothing happened. My old OS started booting and nothing else happened. Since then I have changed a few settings in hope that my flash drive would be recognized by my computer, but it didn't. So if anybody has had a similar or the same problem and has figured it out please do share your solution. Thanks.

Securely delete browsing history incognito https://askubuntu.com/questions/557502/securely-delete-browsing-history-incognito

I want to know how delete my browsing history SECURELY so someone with technical knowledge can't open my computer and figure out my history so everything is GONE completely. Any way of doing this?

motd displayed twice https://askubuntu.com/questions/405613/motd-displayed-twice

So here's the deal. I've created /etc/motd.tail as suggested by Ubuntu documentation which should append STATIC content to /etc/motd . However as well as this work, it displays the MOTD TWICE when I log on to the server via ssh. W00t ?! Is there any way to fix this ? This does seem like a bug to me. Thanks

The USB drive is read-only even write protection is off https://askubuntu.com/questions/388155/the-usb-drive-is-read-only-even-write-protection-is-off

I have made my Transcend USB 3.0 flash drive into a bootable Arch Linux USB flash drive using the dd command. After that it become read-only and I was not able to use it. I formatted as MBR with NTFS partition using Disk Utility in Ubuntu and there were no errors, but when I try to use it, it's saying read-only and not allowing me to copy anything.

Here is a screenshot of the error.

USB Error

I had tried reformatting as GPT,the same error. I have tried EXT4 also.I have ran fsck command also, it says everything is clear. The following is the output of dmesg | tail -n25.

[ 5399.004036] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:2c:41:38:db:7e:b7:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 5413.351497] type=1400 audit(1386569943.739:66): apparmor="DENIED" operation="capable" parent=1 profile="/usr/sbin/cupsd" pid=8956 comm="cupsd" pid=8956 comm="cupsd" capability=36  capname="block_suspend"
[ 5438.323077] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:2c:41:38:c8:82:00:08:00 SRC=169.144.44.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=31744 PROTO=2 
[ 5463.333598] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:2c:41:38:db:7e:b9:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 5472.271930] usb 2-1.5: USB disconnect, device number 3
[ 5479.546220] usb 2-1.5: new high-speed USB device number 4 using ehci_hcd
[ 5479.639030] usb 2-1.5: New USB device found, idVendor=8564, idProduct=1000
[ 5479.639039] usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5479.639044] usb 2-1.5: Product: Mass Storage Device
[ 5479.639047] usb 2-1.5: Manufacturer: JetFlash
[ 5479.639052] usb 2-1.5: SerialNumber: 1250498862
[ 5479.639699] scsi17 : usb-storage 2-1.5:1.0
[ 5480.636704] scsi 17:0:0:0: Direct-Access     JetFlash Transcend 8GB    1.00 PQ: 0 ANSI: 6
[ 5480.637548] sd 17:0:0:0: Attached scsi generic sg2 type 0
[ 5480.638034] sd 17:0:0:0: [sdb] 15433728 512-byte logical blocks: (7.90 GB/7.35 GiB)
[ 5480.638406] sd 17:0:0:0: [sdb] Write Protect is off
[ 5480.638415] sd 17:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 5480.638771] sd 17:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
[ 5480.650924]  sdb: sdb1
[ 5480.652992] sd 17:0:0:0: [sdb] Attached SCSI removable disk
[ 5480.798379] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[ 5486.400055] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:2c:41:38:db:7e:ae:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 5486.826155] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:2c:41:38:db:7e:af:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 5487.220538] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:2c:41:38:db:7e:ba:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 5514.209561] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6

This is weird. I have formatted as FAT, I have checked the permissions, it is normal (-rw-r--r--). I have opened the terminal and used mkdir and created a directory. I am able to create files also from the command line, but whenever I try to access them using nautilus, the error mentioned at the start is occurring. I have checked in my friend's laptop, and there is no problem. I still can't understand the problem.

Encrypting FAT32 with Luks https://askubuntu.com/questions/233217/encrypting-fat32-with-luks

In previous versions of Ubuntu I was able to encrypt USB flashdrives using the disks tool in any format I pleased. Now unfortunately I am only able to encrypt a flash drive in EXT format. This is bothersome as when the flashdrive is taken to another machine it will not allow the user accessing it to have ownership of the files. How would I encrypt a flashdrive using LUKS + FAT?

Setting LD_LIBRARY_PATH before running an app from a terminal has no effect https://askubuntu.com/questions/187286/setting-ld-library-path-before-running-an-app-from-a-terminal-has-no-effect

I have several builds of an application on my system (a dev build and many older released builds). When I'm trying to run an older release, the system invariably picks up the dynamic libraries from the dev build.

From /home/franz/Projects/appleseed/archives/releases/1.1.0-alpha-14-0-g4e46ed9/appleseed/bin which is the directory of the older release I'm trying to run:

$ ldd appleseed.studio 
    [stuff omitted]
libappleseed.so => /home/franz/Projects/appleseed/build/linux-gcc4/appleseed/libappleseed.so (0x00007fbcb090b000)
libappleseed.shared.so => /home/franz/Projects/appleseed/build/linux-gcc4/appleseed.shared/libappleseed.shared.so (0x00007fbcb030c000)
    [more stuff omitted]

(/home/franz/Projects/appleseed/build/linux-gcc4/appleseed/ is the path to my dev build.)

Naturally I should set LD_LIBRARY_PATH correctly before running an older release:

$ export LD_LIBRARY_PATH=/home/franz/Projects/appleseed/archives/releases/1.1.0-alpha-14-0-g4e46ed9/appleseed/bin ; ./appleseed.studio

(LD_LIBRARY_PATH is initially empty so I don't bother with concatenation.)

However this doesn't work and the system continues to pick up the dev build of the dynamic libraries.

Am I doing something wrong? Any idea?

I am running a 64-bit build of Ubuntu 10.10 Maverick Meerkat (unsupported as of April 2012).

UPDATE: I have updated my system to Ubuntu 11.10 (Natty) and the problem persists.

How to show line numbering in nano when opening a file https://askubuntu.com/questions/73444/how-to-show-line-numbering-in-nano-when-opening-a-file

Is there a way to tell nano to automatically show line numbering each time I open a file?