Stuck in Auth Loop trying to login into Cisco.com, just installed kubuntu 26.04 https://askubuntu.com/questions/1566384/stuck-in-auth-loop-trying-to-login-into-cisco-com-just-installed-kubuntu-26-04

Using firefox, and attempting to login to Cisco.com with valid credentials, I get stuck on a blank screen listing this URL: https://www.cisco.com/content/cdc/sso/token.html. It never recovers. Able to login using my other computers not running Kubuntu 26.04. Able to login to other websites with no issues... seems isolated to Cisco.com

Kwallet does not work appropriately with Ubuntu 26.04 https://askubuntu.com/questions/1566383/kwallet-does-not-work-appropriately-with-ubuntu-26-04

Kwallet fail to import encrypted files. It does not show the initial wallet. Or if it imports the file, it does not show it as a new wallet. Deleting a wallet is also failing.

ESM for decomissioned desktop https://askubuntu.com/questions/1566382/esm-for-decomissioned-desktop

I decommissioned a desktop some time ago, but forgot to drop it from my free support account and I still think it counts in my allowable 5 systems. I'm trying to figure out if it actually still does, and if so, disable it so I have options to add newer machines in the future. Can this be done somehow?

File manager in Ubuntu 24.04.4 LTS not showing thumbnails [duplicate] https://askubuntu.com/questions/1566381/file-manager-in-ubuntu-24-04-4-lts-not-showing-thumbnails

I have tried all the answers at File manager in Ubuntu 20.04 not showing thumbnails

To summarize, I have tried installing and re-installing ffmpegthumbnailer, I have tried deleting ~/.cache/thumbnails, creating recommended symbolic links, rebooting, etc. I am not seeing any thumbnails in nautilus. I also tried installing nemo and didn't seen any thumbnails there. Until recently, I would see thumbnails for some media files but not others. But after attempting various solutions recommended in a similar thread for 20.04, I no longer see any thumbnails at all.

Is there a mirror or alternative way to apt update given ppa.launchpadcontent.net has failed for three days? https://askubuntu.com/questions/1566380/is-there-a-mirror-or-alternative-way-to-apt-update-given-ppa-launchpadcontent-ne

Given there is an ongoing attack on Ubuntu infrastructure - see Ubuntu Infrastructure including ppa.launchpadcontent.net not responding, returning 503 or other errors - and that although ubuntu security updates are working (for me), other components, such as launchpadcontent, have been unusable for about three days. I saw previous questions about mirrors, with one brief answer that are there are none. Hence, this question. Example "apt update" results in last hour (I retry this about every 12 hours):

Ign:5 https://ppa.launchpadcontent.net/pipewire-debian/pipewire-upstream/ubuntu noble InRelease                                                        
Ign:6 https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu noble InRelease
Ign:5 https://ppa.launchpadcontent.net/pipewire-debian/pipewire-upstream/ubuntu noble InRelease
Ign:6 https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu noble InRelease
Ign:5 https://ppa.launchpadcontent.net/pipewire-debian/pipewire-upstream/ubuntu noble InRelease
Ign:6 https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu noble InRelease
Err:5 https://ppa.launchpadcontent.net/pipewire-debian/pipewire-upstream/ubuntu noble InRelease
  Could not connect to ppa.launchpadcontent.net:443 (2620:2d:4000:1::81), connection timed out Could not connect to ppa.launchpadcontent.net:443 (185.125.190.80), connection timed out
Err:6 https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu noble InRelease
  Unable to connect to ppa.launchpadcontent.net:https:
Cant boot after installing ubuntu or other distributions https://askubuntu.com/questions/1566379/cant-boot-after-installing-ubuntu-or-other-distributions

I want to install Linux only on a Elitebook 8560p. After install i cant boot anything and it shows the SSD has no OS installed on it. What should i do?

same goes with bazzite or Nobara

Ubuntu 26.04 Installer Snap: No provider of glBlitFramebuffer found https://askubuntu.com/questions/1566378/ubuntu-26-04-installer-snap-no-provider-of-glblitframebuffer-found

I'm attempting to install Ubuntu 26.04 Desktop on an older computer with an Intel i5-640 and 8 GB RAM. The Ubuntu live ISO boots fine and all applications are working except: (1) the App Center (until I disabled "opengl" in the system settings) and (2) the snap-based installer application.

When I attempt to launch the installer snap, it renders a full black window for a second before exiting.

ubuntu@ubuntu:~/Desktop$ MESA_DEBUG=1 /snap/bin/ubuntu-desktop-bootstrap
INFO ubuntu_bootstrap: Logging to /var/log/installer/ubuntu_bootstrap.log
Gdk-Message: 21:47:29.093: Unable to load  from the cursor theme
INFO flavor_provider: Using default flavor: UbuntuFlavor.ubuntu
INFO subiquity_server: Waiting server up to 90 seconds
Gtk-Message: 21:47:29.168: Failed to load module "canberra-gtk-module"
INFO subiquity_server: ApplicationState.WAITING
INFO subiquity_client: Opening socket to Endpoint(/run/subiquity/socket )
DEBUG desktop: Disabling automounting
DEBUG telemetry: Writing report to /var/log/installer/telemetry
INFO subiquity_status: null => ApplicationStatus(state: ApplicationState.WAITING, confirmingTty: , error: null, nonreportableError: null, cloudInitOk: true, interactive: true, echoSyslogId: subiquity_echo.3280, logSyslogId: subiquity_log.3280, eventSyslogId: subiquity_event.3280)
DEBUG subiquity_client: POST http://localhost/meta/client_variant?variant=%22desktop%22
Mesa: error: GL_INVALID_ENUM in glGetIntegerv(pname=GL_READ_FRAMEBUFFER_BINDING)
DEBUG subiquity_client: ==> setVariant(Variant.DESKTOP) null
DEBUG subiquity_client: POST http://localhost/meta/mark_configured?endpoint_names=%5B%22mirror%22%2C%22proxy%22%2C%22ssh%22%2C%22snaplist%22%2C%22ubuntu_pro%22%5D
No provider of glBlitFramebuffer found.  Requires one of:
    Desktop OpenGL 3.0
    GL_ARB_framebuffer_object
    OpenGL ES 3.0
    GL_EXT_framebuffer_blit
    GL_NV_framebuffer_blit
Aborted                    (core dumped) "$@"

Looking at the OpenGL support on the machine:

ubuntu@ubuntu:~/Desktop$ glxinfo  | grep -iE '^[^[:space:]0]|blit' 
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX version: 1.4
GLX extensions:
Extended renderer info (GLX_MESA_query_renderer):
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics (ILK)
OpenGL version string: 2.1 Mesa 26.0.3-1ubuntu1
OpenGL shading language version string: 1.20
OpenGL extensions:
    GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_object, 
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 26.0.3-1ubuntu1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:

So it seems like "blitting" (whatever that is) is exposed only via the OpenGL 2 API and not the OpenGL 3 API.


How do I:

  1. Tell the installer snap to not try to use 'blitting' / opengl like the App Center?
  2. ~~Alternately, install an implementation of OpenGL 3 for this computer?~~ It has one -- the snap may not, but the base OS does!
  3. Alternatively, how do I install the installer (subuiquity?) outside of snap, where it might have a better chance of working
  4. Alternatively, perform a command line install of Desktop Ubuntu

(P.S. Isn't this the sort of B.S. that snaps are supposed to avoid? Aren't the snaps shipped with all of their dependencies built in?!)


Update: I tried forcing the OpenGL API version:

ubuntu@ubuntu:~/Desktop$ MESA_GL_VERSION_OVERRIDE=3.0 glxinfo  | grep -iE '^[^[:space:]0]|blit' 
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX version: 1.4
GLX extensions:
Extended renderer info (GLX_MESA_query_renderer):
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics (ILK)
OpenGL version string: 3.0 Mesa 26.0.3-1ubuntu1
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
    GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_object, 
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 26.0.3-1ubuntu1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:

It did not help:

ubuntu@ubuntu:~/Desktop$ MESA_EXTENSION_OVERRIDE="+GL_EXT_framebuffer_blit" MESA_GL_VERSION_OVERRIDE=3.0 /snap/bin/ubuntu-desktop-bootstrap
INFO ubuntu_bootstrap: Logging to /var/log/installer/ubuntu_bootstrap.log
Gdk-Message: 22:12:05.778: Unable to load  from the cursor theme
INFO flavor_provider: Using default flavor: UbuntuFlavor.ubuntu
INFO subiquity_server: Waiting server up to 90 seconds
Gtk-Message: 22:12:05.842: Failed to load module "canberra-gtk-module"
INFO subiquity_server: ApplicationState.WAITING
INFO subiquity_client: Opening socket to Endpoint(/run/subiquity/socket )
DEBUG desktop: Disabling automounting
DEBUG telemetry: Writing report to /var/log/installer/telemetry
INFO subiquity_status: null => ApplicationStatus(state: ApplicationState.WAITING, confirmingTty: , error: null, nonreportableError: null, cloudInitOk: true, interactive: true, echoSyslogId: subiquity_echo.3280, logSyslogId: subiquity_log.3280, eventSyslogId: subiquity_event.3280)
DEBUG subiquity_client: POST http://localhost/meta/client_variant?variant=%22desktop%22
No provider of glBlitFramebuffer found.  Requires one of:
    Desktop OpenGL 3.0
    GL_ARB_framebuffer_object
    OpenGL ES 3.0
    GL_EXT_framebuffer_blit
    GL_NV_framebuffer_blit
Aborted                    (core dumped) "$@"

booting 26.04 from usb stick stalls with error: "NovaCore unsupported chipset: boot 42 = 0x124a1002 (architecture 0x12, implementation 0x4)" https://askubuntu.com/questions/1566376/booting-26-04-from-usb-stick-stalls-with-error-novacore-unsupported-chipset-b

I want to upgrade my desktop pc - currently running ubuntu 24.04 - to the latest version 26.04. I created a bootable usb drive with the latest iso image. When booting into the USB disk, I get the following error: spi-nor spi0.0: probe NovaCore unsupported chipset: boot 42 = 0x124a1002 (architecture 0x12, implementation 0x4). The installation stalls.

Why was deborphan removed in 26.04? https://askubuntu.com/questions/1566375/why-was-deborphan-removed-in-26-04

I've just upgraded to 26.04 and noticed that deborphan is missing in repos. Is there a record of the removal reason?

Ubuntu 24.04 LTS : not booting after uninstalling some junk https://askubuntu.com/questions/1566374/ubuntu-24-04-lts-not-booting-after-uninstalling-some-junk

Yesterday I deleted some software I had installed to play some games (to no avail). Including wine and winetricks.

Today, when I tried to boot my computer, it just didn't work.

I took photos of what the messages are.

https://postimg.cc/gallery/JGz6pQJ

The first pic is where my computer is stuck (for at least 15 minutes).

Then I tried the recovery mod and to repair broken dependencies (dpkg). It didn't work. I then understood I needed to activate the network. The dpkg did work more, but at some point said it couldn't go further and just stopped the processus and went back.

Last pic was when I got the computer to shut down after all this. First I just had a black screen, then I pressed the power button. It started to show lines rather quickly (that's the last picture) then shutdown.

I also tried to boot on my flashdrive (with ubuntu 18.04LTS), but I didn't manage to actually see my two other drives ... So I'm rather lost on what I can do to solve this problem.
I wouldn't mind just scrap everything and reinstall. But I'd first need to save my data. I'm not sure how I could do it in this state.

Does anyone have an idea of how I could do it ?

Memory stick used many times is suddenly 'Read only file system' https://askubuntu.com/questions/1566371/memory-stick-used-many-times-is-suddenly-read-only-file-system

I have just tried to rename a file on a memory stick (ext4).

I have done this many times on the same memory stick.

This time I'm getting the error:

alan@AM5:/media/alan/writable$ sudo mv DEV/ 50DEV/
[sudo] password for alan: 
mv: cannot move 'DEV/' to '50DEV/': Read-only file system
alan@AM5:/media/alan/writable$ 

Why? How to fix?

Cannot install driver for smartcard reader https://askubuntu.com/questions/1566368/cannot-install-driver-for-smartcard-reader

I run Ubuntu 24.04 LTS on a Lenovo laptop with Ryzen 3. I downloaded what the manufacturer calls a driver for the Manhattan 102049 type smartcard reader, but the "installation instructions" are insufficient and ridiculous. Following the instructions from technical support I got the system to recognize the reader and the inserted ID card, but I do not get the interface required for really using the reader for identification on line. What should I do?

Can't see grub loader menu after changing monitor, Plasma desktop also ceased to work https://askubuntu.com/questions/1566365/cant-see-grub-loader-menu-after-changing-monitor-plasma-desktop-also-ceased-to

Good day to everybody.

I have dual system computer with Windows 10 and Ubuntu 24.04.4 LTS with added KDE Plasma (installed by "kubuntu-desktop"). The computer has embedded (Intel® HD) and external videocard (NV108), the latter was used when installing Linux. The computer has worked fine until recently.

Yesterday I changed monitor to another one (with bigger diagonal) and mistakenly connected it to embedded graphics. Working with Linux was ok and GRUB menu was visible and allowed to select a system, but Windows ceased to work, it showed empty desktop, the mouse and the keyboard didn't react in Windows either (while worked in both Linux environments).

I realized that I had used wrong video output and changed it to external.

The first anomaly was that GRUB menu disappeared, but Windows started to work perfectly (it is indicated in GRUB_DEFAULT and starts due to GRUB_TIMEOUT). GRUB_TIMEOUT_STYLE is menu, so the menu must appear. Then I tried Linux, with the result that GNOME (default Ubuntu) desktop works normally, but Plasma desktop behaves as Windows formerly - empty desktop, the mouse and the keyboard do not react.

I tried "--reinstall kubuntu-desktop", but nothing changed.

I assume that problem may be associated with monitor, as the monitor is the piece of hardware that changed, but strangely that GRUB shows menu only while embedded videocard is used (so it must be tied with Plasma desktop that doesn't work either).

Would be grateful for any helpful suggestions to fix the problem.

Ubuntu 24.04.4 LTS linux kernel 6.17.0-23-generic boots to initramfs alert UUID does not exist https://askubuntu.com/questions/1566364/ubuntu-24-04-4-lts-linux-kernel-6-17-0-23-generic-boots-to-initramfs-alert-uuid

initramfs_alert_uuid

available kernets

I can't do much on busybox / initramfs because listing the partions / blocks returns nothing (I tested the ls /dev/sd* /dev/nvme* /dev/vd* 2>/dev/null I saw from this post

Same ending when starting on kernel 6.17.0-23-generic in recovery mode. Happily, kernel 6.17.0-22-generic still works (this is what I am currently using to write this post)

Can someone help me ?

What I did before getting this error : (I think) I was able to work on kernel 6.17.0-23-generic at least one time. But got some troubles to have my laptop HDMI output working. However, the HDMI on my USBC hub was working. So I decided to change the driver from X.org to NVIDIA driver 595-open. Reboot was needed, and since, I have this error message. Using older kernel 6.17.0-22-generic, I switched back to Xorg, but does not solved my initramfs alert.

I booted to my windows boot, to perform some update (included a lot of DELL bios updates) after getting this error. Still did not magically solved my error.

Ouput of sudo blkid :

/dev/nvme0n1p7: UUID="bd26295c-ba4d-4842-825a-f6d18d9e39aa" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="43b443de-457b-4c3b-a703-b809df0b8b23"
/dev/loop1: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop29: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop19: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/nvme0n1p5: LABEL="Image" BLOCK_SIZE="512" UUID="26260B4A260B1B07" TYPE="ntfs" PARTUUID="8ab846ce-c954-4df8-8446-2bc7e2f49f34"
/dev/nvme0n1p3: TYPE="BitLocker" PARTLABEL="Basic data partition" PARTUUID="9f5503c2-21a4-4912-985a-8b1754fceee3"
/dev/nvme0n1p1: LABEL_FATBOOT="ESP" LABEL="ESP" UUID="9C91-0681" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="7996296c-826a-4e45-b14b-bde50ed1b8b4"
/dev/nvme0n1p6: LABEL="DELLSUPPORT" BLOCK_SIZE="512" UUID="62B0AC18B0ABF129" TYPE="ntfs" PARTUUID="5e1e97fe-6cbc-4f07-9437-d0a3aad4f2be"
/dev/nvme0n1p4: LABEL="WINRETOOLS" BLOCK_SIZE="512" UUID="5E160B09160AE1BF" TYPE="ntfs" PARTUUID="2507d349-09cc-49c9-84fe-851a5a54d498"
/dev/nvme0n1p2: PARTLABEL="Microsoft reserved partition" PARTUUID="4b84bd57-13e9-46d9-a74c-32ec46221756"
/dev/loop37: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop27: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop17: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop8: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop35: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop25: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop15: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop6: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop33: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop23: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop13: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop41: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop4: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop31: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop21: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop11: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop2: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop38: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop0: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop28: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop18: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop9: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop36: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop26: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop16: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop7: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop34: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop24: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop14: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop5: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop32: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop22: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop12: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop40: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop3: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop30: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop20: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop10: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop39: BLOCK_SIZE="131072" TYPE="squashfs"
Black screen after booting Ubuntu 26.04 https://askubuntu.com/questions/1566363/black-screen-after-booting-ubuntu-26-04

Since updating to Ubuntu 26.04 on my laptop, I've been having an issue where the screen just goes black after Ubuntu boots up. I see the boot animation, but as soon as I reach the login screen, the screen goes black. When I connect a second monitor, I can see that everything works fine on it. I’ve already found a workaround to reactivate the primary screen: if I briefly close the laptop and then open it again, everything suddenly works as it should. I generated a GPU log of the startup. You can see that after 9 seconds, the graphics card tries to communicate with the screen and apparently fails. A clean install did not fix the problem. Does anyone have any idea how to fix this?

Hardware specs: ASUS Viviobook TN3402QA AMD Ryzen 7 5800HS with integrated Radeon RX Vega 8 graphics card

Here is an excerpt of the log:

[    8.802777] [drm] Initialized amdgpu 3.64.0 for 0000:03:00.0 on minor 1
[    8.823121] fbcon: amdgpudrmfb (fb0) is primary device
[    8.823135] amdgpu 0000:03:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[    8.842110] [drm] pre_validate_dsc:1667 MST_DSC dsc precompute is not needed
[    9.233067] amdgpu 0000:03:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[    9.449688] amdgpu 0000:03:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[    9.667098] amdgpu 0000:03:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[    9.940800] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1122: core_link_write_dpcd (DP_DOWNSPREAD_CTRL) failed
[    9.961162] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1127: core_link_write_dpcd (DP_LANE_COUNT_SET) failed
[   10.001292] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1144: core_link_write_dpcd (DP_LINK_BW_SET) failed
[   10.021449] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1149: core_link_write_dpcd (DP_LINK_RATE_SET) failed
[   11.021179] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1122: core_link_write_dpcd (DP_DOWNSPREAD_CTRL) failed
[   11.041226] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1127: core_link_write_dpcd (DP_LANE_COUNT_SET) failed
[   11.081319] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1144: core_link_write_dpcd (DP_LINK_BW_SET) failed
[   11.101481] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1149: core_link_write_dpcd (DP_LINK_RATE_SET) failed
[   12.150694] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1122: core_link_write_dpcd (DP_DOWNSPREAD_CTRL) failed
[   12.171328] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1127: core_link_write_dpcd (DP_LANE_COUNT_SET) failed
[   12.212682] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1144: core_link_write_dpcd (DP_LINK_BW_SET) failed
[   12.233327] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1149: core_link_write_dpcd (DP_LINK_RATE_SET) failed
[   13.354679] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1122: core_link_write_dpcd (DP_DOWNSPREAD_CTRL) failed
[   13.375666] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1127: core_link_write_dpcd (DP_LANE_COUNT_SET) failed
[   13.416987] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1144: core_link_write_dpcd (DP_LINK_BW_SET) failed
[   13.437652] amdgpu 0000:03:00.0: [drm] *ERROR* dpcd_set_link_settings:1149: core_link_write_dpcd (DP_LINK_RATE_SET) failed
[   13.803319] amdgpu 0000:03:00.0: [drm] enabling link 0 failed: 15
[   35.801921] amdgpu 0000:03:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[   47.886079] amdgpu 0000:03:00.0: [drm] PCIE GART of 1024M enabled.
[   47.886086] amdgpu 0000:03:00.0: [drm] PTB located at 0x000000F41FC00000
[   47.886113] amdgpu 0000:03:00.0: SMU is resuming...
[   47.887211] amdgpu 0000:03:00.0: dpm has been disabled
[   47.888408] amdgpu 0000:03:00.0: SMU is resumed successfully!
26.04 fresh install: is Gstreamer broken for .mkv video? https://askubuntu.com/questions/1566358/26-04-fresh-install-is-gstreamer-broken-for-mkv-video

Happy Sunday everyone!

A fresh install of 26.04 is working brilliantly, and the CPU and GPU-related improvements are proving to be a welcome speed/quality upgrade to my system. However...

I use the default [Rygel] media sharing to watch videos on my TV simply by dropping them into my Videos folder on Ubuntu, and it was working fine in 24.04. However, I noticed that since my fresh install of 26.04 my .mkv videos are no longer served and do not appear in VLC local network discovery on both my TV and mobile.

The root cause is Gstreamer, which Rygel uses, unable to decipher .mkv files anymore; all other formats, e.g. MP4, are fine and I can see and play them. The error comes up as either 'unsupported pixel format' or 'failed to configure the buffer pool' depending which .mkv file I try. In case this problem was Rygel-specific, I installed the [now default] Showtime app, which is also Gstreamer-based, and sure enough, that comes back with 'unable to play video' on .mkv files with the detailed error being Gstreamer with the same two errors as above.

Please could someone confirm this bug for me? The easiest way is just to try to play any .mkv video using Showtime. I have restricted extras installed and all other codec/video libraries including good, bad and ugly. It would be interesting to hear from someone who does not have my ARM-based (Raspberry Pi 5) system to make sure it is not specific to the RPi5-specific build of 26.04.

Many thanks in advance

Nick

As requested by https://askubuntu.com/users/1004020/daniel-t (thank you):

$ dpkg --get-selections | grep gstreamer
gir1.2-gstreamer-1.0:arm64            install
gstreamer1.0-alsa:arm64                install
gstreamer1.0-gl:arm64                install
gstreamer1.0-gtk3:arm64                install
gstreamer1.0-gtk4:arm64                install
gstreamer1.0-libav:arm64            install
gstreamer1.0-packagekit                install
gstreamer1.0-pipewire:arm64            install
gstreamer1.0-plugins-bad:arm64            install
gstreamer1.0-plugins-base:arm64            install
gstreamer1.0-plugins-base-apps            install
gstreamer1.0-plugins-extra:arm64        install
gstreamer1.0-plugins-good:arm64            install
gstreamer1.0-plugins-ugly:arm64            install
gstreamer1.0-tools                install
gstreamer1.0-x:arm64                install
libgstreamer-gl1.0-0:arm64            install
libgstreamer-plugins-bad1.0-0:arm64        install
libgstreamer-plugins-base1.0-0:arm64        install
libgstreamer-plugins-extra1.0-0:arm64        install
libgstreamer1.0-0:arm64                install

In case it helps, these are the errors from opening two different .mkv files in Showtime video player (Gstreamer-based):

Error from element /GstPlayBin3:playbin3/GstURIDecodeBin3:uridecodebin3/GstDecodebin3:decodebin3-0/v4l2slh265dec:v4l2slh265dec0: GStreamer error: negotiation problem.
Unsupported pixel format
../sys/v4l2codecs/gstv4l2codech265dec.c(460): gst_v4l2_codec_h265_dec_negotiate (): /GstPlayBin3:playbin3/GstURIDecodeBin3:uridecodebin3/GstDecodebin3:decodebin3-0/v4l2slh265dec:v4l2slh265dec0:
No support for 3840x2160 format UNKNOWN

Error from element /GstPlayBin3:playbin3/GstURIDecodeBin3:uridecodebin3/GstDecodebin3:decodebin3-0/v4l2slh265dec:v4l2slh265dec0: Could not get/set settings from/on resource.
Failed to configure the buffer pool
../gst-libs/gst/video/gstvideodecoder.c(4373): gst_video_decoder_decide_allocation_default (): /GstPlayBin3:playbin3/GstURIDecodeBin3:uridecodebin3/GstDecodebin3:decodebin3-0/v4l2slh265dec:v4l2slh265dec0:
Configuration is most likely invalid, please report this issue.

Output of ffmpeg:

Input #0, matroska,webm, from 'test video 1080p.mkv':
  Metadata:
    creation_time   : 2026-04-27T14:41:20.000000Z
    ENCODER         : Lavf62.3.100
  Duration: 01:41:46.75, start: -0.021000, bitrate: 2017 kb/s
  Stream #0:0: Video: hevc (Main), 1 reference frame, yuv420p(tv, bt709, left), 1918x1040 [SAR 1:1 DAR 959:520], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      DURATION        : 01:41:39.719000000
  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp, delay 1024, start -0.021000 (default)
    Metadata:
      title           : AAC 5.1 320kbs
      DURATION        : 01:41:46.752000000
  Stream #0:2(eng): Subtitle: subrip (srt), start -0.021000
    Metadata:
      title           : English
      DURATION        : 01:34:33.417000000
[out#0/null @ 0xaaaad3d17ba0] No explicit maps, mapping streams automatically...
[vost#0:0/wrapped_avframe @ 0xaaaad3df5840] Created video stream from input stream 0:0
Device creation failed: -14.
[vist#0:0/hevc @ 0xaaaad3df53e0] [dec:hevc @ 0xaaaad3dfe320] No device available for decoder: device type drm needed for codec hevc.
[vist#0:0/hevc @ 0xaaaad3df53e0] [dec:hevc @ 0xaaaad3dfe320] Hardware device setup failed for decoder: Bad address
Error opening output file -.
Error opening output files: Bad address
[AVIOContext @ 0xaaaad3d18f50] Statistics: 32768 bytes read, 0 seeks

Exiting with exit code -14
Error “unknown filesystem” in GRUB, no matter what I do https://askubuntu.com/questions/1566355/error-unknown-filesystem-in-grub-no-matter-what-i-do

Two days ago I ran “apt upgrade” on a Ubuntu 24.04 machine to get a kernel update, and as usual a reboot was suggested. However, the machine (in a data center far away) did not come back up, and using a remote console I found out that GRUB seems to have some kind of issue:

error: unknown filesystem <- this is supposed to be an inline image: https://imgur.com/a/X6vrel0

GNU GRUB  version 2.12

Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists possible
device or file completions. To enable less(1)-like paging, "set
pager=1". ESC exits at any time.

grub> set pager=1
grub> lsmod
error: unknown filesystem
grub> ls
error: unknown filesystem
grub> lspci
error: unknown filesystem
grub> _

How did an “apt upgrade” get my GRUB into a state where it cannot even perform an “ls?” And more important, how do I get GRUB out of that state?

(This question clearly differs from Grub rescue - error: unknown filesystem, in that whatever is going on in this question can obviously not be solved by running “ls” because, as shown above, only an error message is displayed, as reaction to many basic GRUB commands, except set, insmod, and recordfail. I’ve tried recreating the steps that grub.cfg lists for the default “Ubuntu” menu entry, but everything that’s not an insmod gets met with “error: unknown filesystem”. I’m not sure how to proceed from here.)

This answer recommends using GRUB’s auto-completion to list stuff, and I can indeed get GRUB to list partitions of the installed disks:

grub> ls (hd0,
Possible partitions are:

    Partition hd0,gpt1: No known filesystem detected - Partition start at 2048KiB - Total size 33554432KiB
    Partition hd0,gpt2: No known filesystem detected - Partition start at 33556480KiB - Total size 1048576KiB
    Partition hd0,gpt3: No known filesystem detected - Partition start at 34605056KiB - Total size 2111832064KiB
    Partition hd0,gpt4: No known filesystem detected - Partition start at 2146437120KiB - Total size 1760581447.5KiB
    Partition hd0,gpt5: No known filesystem detected - Partition start at 1024KiB - Total size 1024KiB

grub> ls (hd0,gpt

The ext2 module has been inserted (insmod ext2 did not show an error), but GRUB still does not recognize the filesystems on any of the partitions, and at least three of them it should recognize! hd0,2 is /boot, which is ext3 (I think?), and hd0,3 and hd0,4 are / and /home, respectively, which are also ext3 or ext4. (I honestly don’t care, as it should be irrelevant here. Relevant is that GRUB should be able to recognize the filesystems, as GRUB can handle all of them.) Just as before, running the actual ls command results in “error: unknown filesystem” the device it is supposed to read its configuration from!

Okay, more details: there’s two identically-sized disks, 5 partitions each, and four of those are RAID-1’ed into four md devices, 0 to 3 (swap, /boot, /, /home). (Fifth is “BIOS boot” for GRUB’s second stage loader.)

The grub.cfg contains the following lines:

set root='mduuid/c35208cb3d5eb477ed4dad145decf0cb'
search --no-floppy --fs-uuid --set=root d6db4f8c-c03a-4948-b07f-52116b495cf2

The first ID corresponds to an MD device, ls /dev/disk/by-id:

lrwxrwxrwx 1 root root   9 May  1 20:08 md-uuid-c35208cb:3d5eb477:ed4dad14:5decf0cb -> ../../md1

The second ID corresponds to the filesystem inside the device, according to blkid:

/dev/md1: UUID="d6db4f8c-c03a-4948-b07f-52116b495cf2" BLOCK_SIZE="4096" TYPE="ext3"

(These results were obtained from a rescue system running on the machine.)

Now, on the GRUB shell, I can see the following:

grub> ls (mduuid/c35208cb3d5eb477ed4dad145decf0cb)/
error: unknown filesystem
grub> ls (mduuid/a404642c5311376de00e5317dbd699bd)/
lost+found/ boot/ home/ sys/ tmp/ srv/ media/ usr/ root/ lib64 [abbreviated because I don’t want to type it all]
grub> ls (md/2)/
lost+found/ boot/ home/ sys/ tmp/ srv/ media/ usr/ root/ lib64 [same as above]
grub> ls (md/1)/
error: unknown filesystem

Clearly GRUB has not completely forgotten how to read filesystems, it can show the contents of md/2 (which is /) without any issues, but for some reason md/1 is a problem. I can boot into the rescue system and mount the device md/1 without any problems. fsck.ext3 reports zero problems, even when forcing the check.

Also, as requested, I tried to find out what $root and $prefix are set to, and grub cuts off the output.

grub> $root
error: can't find command 'mduuid/c35208cb3d5eb'.
grub> $prefix
error: can't find command '(mduuid/c35208cb3d5e'.

I am also 99% confident that EFI is not a factor here; when putting the disks into a QEMU (a service offered by the DC operator), the system actually boots up, and running efibootmgr basically refuses to do anything, as if the system was not booted via EFI.

Problem z Ubuntu 26.04 LTS https://askubuntu.com/questions/1566352/problem-z-ubuntu-26-04-lts

I'm having a problem with Ubuntu 26.04 LTS. After updating from 25.10 to 26.04 beta at first then to the 26.04 LTS and it started freezing, meaning it runs for about 10 seconds and then freezes for about 0.5 seconds. I watch YouTube and it freezes regularly. I do a speed test on the website, and it freezes for 0.5 sec after around 5-10 sec. I play on Steam and it freezes, but I can hear that the graphics card isn't working at the moment—it doesn't make the same noises it normally does. When watching YouTube or running speed tests on the website, the CPU temperature is a maximum of 70 degrees Celsius, and the GPU is 30 degrees Celsius. Everything works fine except for the freezing. My question is, how can I approach this? How can I diagnose the problem? Or what could be the cause?

Command result:

lspci -k | grep -A 3 -E 'VGA|3D|Display'
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 [Radeon RX 9070/9070 XT/9070 GRE] (rev c0)
    Subsystem: XFX Limited Device 8811
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu

Best regards

Marek

After upgrading from 20.04 to 22.04 several apps appear that were not previously on my laptop. One is Remmina https://askubuntu.com/questions/1566342/after-upgrading-from-20-04-to-22-04-several-apps-appear-that-were-not-previously

I didn't have Remmina installed previously. It isn't in the snap list and when I run the Ubuntu software app and search Remmina, it doesn't recognize that it's already installed so I can't remove it. Is this app required for updating or support? I uninstalled from the command line but I'm wondering why the Ubuntu software doesn't recognize it and how it got there in the first place. There were several files and folders listed in different directories related to remmina. Now there are two empty folders - org.remmina.Remmina and remmina - in my .cache. Best way to remove them?

In response to the comments about 20 to 22 upgrade below: This laptop previously was partitioned previously with Win7 and Ubuntu 22 on it. When I tried to upgrade it to 24, I had all kinds of problems. I formatted this drive to eliminate the Win7 partition but attempts to install any OS using a USB failed. I had to go back to my original 18.04 dvd to install and do subsequent upgrades to get it back to 22. (I bought a new laptop for 24.04.) Remmina showed up in the installed apps. When I searched that in the App Center, there was no prompt to uninstall or upgrade the existing. Instead there was a prompt to install. Before my attempt to upgrade to 24, I updated the 22 to make sure I had the latest updates. I suppose that could have installed the Remmina then and I just didn't see it. This version is 22.04.5 but I could have been on 22.04.4 before the upgrade.

Firefox tab crashing https://askubuntu.com/questions/1566332/firefox-tab-crashing

Any ideas why this tab is constantly crashing ? https://www.icloud.com/mail/

I maintain various tabs with my email addresses open so I can check for emails. They are stable, but the address above keeps crashing.

Ubuntu version 24.04.4 LTS

Firefox version 150.1

luit was not included in noble LTS release https://askubuntu.com/questions/1554371/luit-was-not-included-in-noble-lts-release

For many years I have used luit to convert local encodings to UTF-8.

luit --encoding XXX cat mywierdfile.txt

It was in the x11-tools package for previous releases of Ubuntu. It is no longer in this package in 24.04LTS. Is there a reason it wasn't included? Is there an alternative? I've seen this answer (Using packages from a previous release) but I'm curious as to why it was left out of noble.

Error:; Failed to open \EFI\ubuntu - not found https://askubuntu.com/questions/1522329/error-failed-to-open-efi-ubuntu-not-found

I installed ubuntu 24.04 on older Dell laptop (originally window 8) intel 3i processor. After the error (Failed to open \EFI\ubuntu - not found) it loads grub and then boots to ubuntu. Everything is fine until I go into the files of the OS. The computer locks up. Reference boot-info https://paste.ubuntu.com/p/rMMm7spNCf/. I ran boot repair with no change. I think the original UEFI is preventing a proper boot.

Setting up NVIDIA drivers on ubuntu gets rid of GUI https://askubuntu.com/questions/1518271/setting-up-nvidia-drivers-on-ubuntu-gets-rid-of-gui

I am on Ubuntu 22.04.4 LTS. On HP ZBook Power 16 inch G11 Mobile Workstation PC. It contains Nvidia RTX 2000 Ada Generation Laptop GPU. I am having trouble installing its driver. I downloaded driver version 550.90.07. Below are all supported versions for this GPU (link):

enter image description here

I first installed gcc-13 and then executed the downloaded driver file NVIDIA-Linux-x86_64-550.90.07.run. It executed successfully and showed the GPU information when I run nvidia-smi command. But when I restarted the PC, it showed just the blinking cursor. I switched to tty2 (Ctrl+Alt+F2) and then rerun the downloaded driver file from the tty2, though it is almost instantaneous and does not take much time. It gave me back GUI. But now I have to repeat the same process during each boot. How can I fix this so that I dont have to repeat on each boot?

Another thing that is not working is that this machine is not at all detecting external monitor. I tried both before and after nvidia driver installation. But its simply not working. How do I fix it?

PS

Some more observations:

$ sudo lshw -C video
[sudo] password for perception3: 
  *-display                 
       description: 3D controller
       product: NVIDIA Corporation
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: iomemory:400-3ff iomemory:420-41f irq:209 memory:8c000000-8cffffff memory:4000000000-41ffffffff memory:4200000000-4201ffffff ioport:3000(size=128)
  *-display UNCLAIMED
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 08
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list
       configuration: latency=0
       resources: iomemory:520-51f iomemory:420-41f memory:5228000000-5228ffffff memory:4210000000-421fffffff memory:c0000-dffff memory:4202000000-4208ffffff
  *-graphics
       product: EFI VGA
       physical id: 2
       logical name: /dev/fb0
       capabilities: fb
       configuration: depth=32 resolution=1920,1200

Also, it says llvmpipe in graphics information:

enter image description here

Also, I am unable to change screen brightness.

Update 1

One more thing to add: I tried to determine ubuntu recommended driver as follows:

$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd000028B8sv0000103Csd00008CA3bc03sc02i00
vendor   : NVIDIA Corporation
manual_install: True
driver   : nvidia-driver-545-open - distro non-free
driver   : nvidia-driver-535-open - distro non-free
driver   : nvidia-driver-545 - distro non-free
driver   : nvidia-driver-535 - distro non-free recommended
driver   : nvidia-driver-535-server - distro non-free
driver   : nvidia-driver-535-server-open - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

In above output v535 seems to be recommended one. Also I tried following command as suggested by Hannu, to determine the driver:

$ ubuntu-drivers list 2>/dev/null | grep --color=none nvidia
nvidia-driver-545, (kernel modules provided by nvidia-dkms-545)
nvidia-driver-535-open, (kernel modules provided by linux-modules-nvidia-535-open-generic-hwe-22.04)
nvidia-driver-535-server-open, (kernel modules provided by linux-modules-nvidia-535-server-open-generic-hwe-22.04)
nvidia-driver-535, (kernel modules provided by linux-modules-nvidia-535-generic-hwe-22.04)
nvidia-driver-535-server, (kernel modules provided by linux-modules-nvidia-535-server-generic-hwe-22.04)
nvidia-driver-545-open, (kernel modules provided by nvidia-dkms-545-open)

Finally, I ended up installing first driver (v535 with suffix "tested") from additional drivers panel:

enter image description here

Above screenshot was taken before my current driver installation using *.run file. I had fresh Ubuntu installation and then installed from this Additional Drivers panel. It gave me just the blinking cursor after boot. No UI. I was not even able to switch to tty with Ctrl+Alt+Fn keys. So I reformatted, installed fresh ubuntu and then installed driver using *.run file.

/usr/bin/ld: cannot find -ltinfo https://askubuntu.com/questions/1081404/usr-bin-ld-cannot-find-ltinfo

I've a problem installing coriander.
The error says it can't find ltinfo and I've tried most of the suggested ways in the other threads none seems to work that if I executed them correctly.
Am I missing some libraries?
I'm fairly new to the linux stuff.
I'm using a fresh copy of Ubuntu 18.0.4 LTS

Terminal

How to install/upgrade to newest WiFi driver from wireless.wiki.kernel.org? https://askubuntu.com/questions/1080813/how-to-install-upgrade-to-newest-wifi-driver-from-wireless-wiki-kernel-org

I have problems with the iwlwifi network driver, and I want to try upgrading it to the newest available version. On AskUbuntu, I found a suggestion to download a driver from https://wireless.wiki.kernel.org. I found a page there for the iwlwifi driver, at:

https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi?s[]=iwlwifi

My adapter is an Intel Wireless 3160. The "Firmware" section on the kernel.org page has multiple entries for the 3160 card for different kernels, e.g.:

  • 3.10+ → iwlwifi-3160-ucode-22.1.7.0.tgz
  • ...
  • 4.1+ → iwlwifi-3160-ucode-25.30.13.0.tgz
  • 4.3+ → iwlwifi-3160-ucode-16.242414.0.tgz

I'm on Ubuntu 16.04 LTS, checking the kernel version:

$ uname -a
Linux akavel-lenovo 4.4.0-137-generic #163-Ubuntu SMP Mon Sep 24 13:14:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

My kernel is 4.4 — so, which one of the above drivers should I choose? My first thought was to use the 4.3+ — but then I noticed the driver version is apparently 16.x, while 4.1+ has 25.x — so can I use the 4.1+? Is the driver really newer, or the ucode numbers mean something else? Or do I have to use the 4.3+? Or something else? I'm confused :( Or should I maybe just compile a driver on my own? If yes, then how? To add the confusion, the page also has a section like below (emphasis mine):

7260, 3160, 7265, 7265D, 3165 and 3168 support

Those devices will not be supported by the newest firmware versions: the last firmware that was released for 3160, 7260 and 7265 is -17.ucode. Bug fixes will be ported to -17.ucode.

Looking into the linux-firmware.git repository mentioned somewhere else on the page indeed seems to show an iwlwifi-3160-17.ucode as the one with the highest number. But when I downloaded the iwlwifi-3160-ucode-16.242414.0.tgz, it only has a iwlwifi-3160-16.ucode inside...

To summarize: the "Firmware" section on the wireless.wiki.kernel.org website is confusing to me, I don't really know which version should I download?

edit 1: Hm; after downloading the iwlwifi-3160-ucode-25.30.13.0.tgz and looking into it, it has an iwlwifi-3160-13.ucode file inside, so at least it seems to clear part of the confusion, in that the internal ordering follows the kernel version ordering, and I should probably just ignore the weird versioning in the tgz names. Still not sure what is it about the ucode-17 mentioned as the "newest version" but not being present in the newest tarball.

Registering an init.d service https://askubuntu.com/questions/1053107/registering-an-init-d-service

Trying to register a service in /etc/init.d, but cannot get it to run with service myservice start and at boot-up

Executable file:

#!/bin/sh
# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
    set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
### BEGIN INIT INFO
# Provides:          skeleton
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Example initscript
# Description:       This file should be used to construct scripts to be
#                    placed in /etc/init.d.  This example start a
#                    single forking daemon capable of writing a pid
#                    file.  To get other behavoirs, implemend
#                    do_start(), do_stop() or other functions to
#                    override the defaults in /lib/init/init-d-script.
### END INIT INFO

# Author: Foo Bar <foobar@baz.org>
#
# Please remove the "Author" lines above and replace them
# with your own name if you copy and modify this script.

DESC="bel radio recording"
DAEMON=/usr/bin/streamripper

case "$1" in
start)  log_daemon_msg "Starting bel radio recording" "streamripper"
        sudo -u ubuntu /usr/bin/streamripper http://184.154.58.146:29378/ch18_56.mp3 --quiet -s -a -d ~ &

        ;;
stop)   log_daemon_msg "Stopping bel radio recording" "streamripper"
        pkill streamripper
        RETVAL=0

        log_end_msg $RETVAL
        ;;
restart) log_daemon_msg "Restarting bel radio recording" "streamripper"
        $0 stop
        $0 start
        ;;
*)

esac
exit 0

Trying to register this with

sudo update-rc.d recordbyradio defaults

and the command returns silently no matter how many times I run it

then

sudo service recordbyradio start 

also returns silently and doesn't start anything.

/etc/init.d/recordbyradio start

works fine however

Ubuntu version (running in EC2):

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:        16.04
Codename:       xenial
How to list all enabled services from systemctl? https://askubuntu.com/questions/795226/how-to-list-all-enabled-services-from-systemctl

How can I list all enabled services from systemctl?

I know running systemctl command by itself lists all services, but I would like to only get the enabled ones.

Ubuntu 12.04 via xrdp keyboard layout cannot be changed https://askubuntu.com/questions/391234/ubuntu-12-04-via-xrdp-keyboard-layout-cannot-be-changed

I have a virtually hosted ubuntu server 12.04 on which I installed Unity desktop. It all works fine except the only keyboard option I have is "US". This could be due to the fact that ubuntu server was installed with US keyboard (by the virtual machine provider).

I want the keyboard layout to be Canadian-French. I cannot change the keyboard layout from the GUI/Desktop see pic.

I have the feeling I need to install new layouts, perhaps using apt-get something! (noob)

SO the questions could be how to add new layouts? (I have root btw)

enter image description here

Any 3D CAD programs for Ubuntu? https://askubuntu.com/questions/327807/any-3d-cad-programs-for-ubuntu

I need a good CAD program for mechanical engineering.
Are there any good 3D CAD programs available for Ubuntu like Autocad?

Retaining bash prompt colors when starting a screen session https://askubuntu.com/questions/24712/retaining-bash-prompt-colors-when-starting-a-screen-session

When I ssh into a Ubuntu Lucid box the prompt is all pretty, with colors. Everything is the default, as far as I know. Here's my $PS1 outside screen:

\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@dev\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$

Before connecting with screen

But then once I start screen up the colors go away. Everything else is fine, and my screen can support colors (notice that the . and .. in this ls -al are blue) but the prompt isn't. In theory everything should be exactly the same. $PS1 inside screen:

${debian_chroot:+($debian_chroot)}\u@dev:\w\$

after screening in

EDIT: This is just plain vanilla screen.