[00:25] oerheks: I hope you don't mind my highlighting you, but do you mean that I can use Rufus to create a persistent bootable Ubuntu USB pen drive so that modifications and changes to the file system is not lost apart system reset? I am not planning on doing anything massive with this, just the tv tuner, with data storage restricted to actual spindle drives [00:30] ehm it gives some storage, not actually updating the system [00:30] and firefox needs to be downloaded every time, AFAIK [00:31] tv tuner .. does that need restricted extras? [00:37] Any way to get audio working on Ubuntu Server 24.04? [00:39] install some audio programm, sure it will pull in the rest [00:39] oerheks I tried a few but it keeps saying it cant find the audio card [00:40] oerheks https://bpa.st/JXRQ [00:40] hmm I think it needs a modified kernel for maximum stability but it should otherwise work with mythtv [00:41] mythtv is the primary purpose [00:44] junyx: `cat /proc/asound/cards` [00:44] topcat001 https://bpa.st/KYJQ [00:48] Maybe you are missing firware? (firmware-sof-signed) [00:48] topcat001 any way to install that? [00:50] Or is firmware-sof-signed the name of the package? [00:50] The package name is in parentheses. BTW also try `aplay /usr/share/sounds/alsa/Front_Center.wav` [00:50] topcat001 same error [00:51] try installing the fw package (might need a reboot) [00:51] slightly different. extra line at the end: aplay: main:834: audio open error: No such file or directory [00:51] ok [00:51] topcat001 firmware-sof-signed is already the newest version (2023.12.1-1ubuntu1) [00:52] Seems its already installed. I can try a reinstall [00:52] no need. Do you have any custom alsa config? [00:52] topcat001 I do not [00:52] I have ffmpeg installed if that makes a difference [00:53] don't think so [00:53] you should run alsa-info and post its output online so you and others can go over the cmoplete configuration [00:54] yes [00:54] also, are you running (or have installed) pulseaudio? Please post `systemctl status` [00:55] (pa or pipewire) [00:55] if you are then you need the alsa emulation package [00:56] this is almost surely a setup issue [00:56] /usr/share/alsa-base/alsa-info.sh [00:56] alsa-info output: https://bpa.st/3QZA [00:57] oh its a macbook [00:57] systemctl status: https://bpa.st/NVKQ [00:58] I do see some pulseaudio files on the system [00:59] And yes I have pulseadio command [00:59] Should I uninstall it? [01:02] is this a regular ubuntu installation? [01:02] tomreyn yes ubuntu server 24.04 [01:02] Installed yesterday [01:04] actually PA is quite useful. I would use it (after your issue is resolved). Anyway it is not running. [01:04] Ok [01:04] when you run lspci -knn what does it output on the "Audio device" line? [01:05] tomreyn 00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04) [01:06] I see a number of `speech-dispatcher` processes [01:06] tomreyn I tried installing espeak and others and thats how I found out audio doesn't work [01:07] topcat001 ^ [01:09] junyx: is your user in `audio` group? What is the output of `id`? [01:09] pretend you want to install ubuntu-desktop by running sudo apt --simulate --assume-no install ubuntu-desktop and go over those packages it lists, maybe you're missing something relevant for audio, such as pipewire. [01:10] topcat001 user is not in audio group: uid=1000(mb12) gid=1000(mb12) groups=1000(mb12),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),101(lxd) [01:10] although this is usually handled using ACL [01:10] could you please post `getfacl /dev/snd/controlC0`? [01:11] tomreyn's suggestion is also worth looking into [01:11] topcat001 I don't have acl installed. Any alternative? [01:11] the main issue is likely the chipset though, there are few reports of it actually working https://linux-hardware.org/?id=pci:8086-1e20-8086-7270 [01:11] tomreyn that's a lot of output. I'll have to go through that later [01:13] Ok I just tried somethiing [01:13] And it worked [01:13] :O [01:13] I did sudo aplay /usr/share/sounds/alsa/Front_Center.wav and it played some woman talking [01:13] Just had to add sudo [01:13] ah I was right then :) [01:13] topcat001 please explain [01:13] I was going to make you check the permissions [01:14] Yeah that's what gave me the idea. I didn't see audio group [01:14] ok let's figure this out. Do you have a `getfacl` command? [01:14] topcat001 I don't [01:15] getent group | grep audio [01:16] does this not output anything? [01:17] getent group audio [01:17] topcat001 audio:x:29:pulse [01:17] should only show pulse, as users are [01:17] granted access using acls [01:17] by logind [01:18] oh, i'm not on 24.04, maybe it's different there [01:18] Its ok. I can run with sudo. [01:18] even on 22.04 it's like this. I am on 22.04 (and also 24.04) [01:18] I do notice that mp3 and m4a files sound like static. Do I need some kind of codec to use the aplay command? [01:18] nono dont sudo, and aplay can only do wav [01:19] we can cheat by adding your user to the audio group, but the question is why is the ACL not getting set? Maybe server? [01:20] Ah ok. I'll convert it then [01:20] I don't have a server handy to test unfortunately; both my installs are desktop [01:20] Thank you both so much for your help [01:20] for now you can just add your user to the `audio` group [01:20] topcat001 ok I'll do that. Thank you [01:20] good luck [01:22] junyx: if you don't mind, may I see your `ls -al /dev/snd` please? [01:24] topcat001 I'll show you mine if you show me yours ;) jk. One sec [01:24] https://wiki.ubuntu.com/Audio/TheAudioGroup is really old, but it states: [01:24] "The ConsoleKit daemon automatically switches access to the audio device according to the currently logged in user. It does so by setting access rights to the sound device nodes (i e everything under /dev/snd/* ). You can verify that by downloading the acl package, then running the "getfacl /dev/snd/* " terminal command, it should list the current logged in user as having read and write access." [01:24] topcat001 https://bpa.st/2YIA [01:24] i'm not sure if that's still how it works, this was pre-systemd [01:25] yup no ACL bits set. Anyway audio group should work [01:26] tomreyn: not anymore [01:26] Thanks all! You guys rocks [01:26] it is now handled by systemd-logind with ACL [01:26] for example from my 22.04 desktop: [01:26] okay so ConsoleKit no longer handles it but systemd-logind now, but still using acl's [01:27] on a multi-user / desktop system at least [01:27] indeed [01:28] for some reason the ACL is not set on junyx's server machine [01:28] (there are no '+'s in the ls listing) [01:33] so, fortunately, it's just a matter of configuration, not a hardware/encoder/firmware issue === chris14_ is now known as chris14 [01:33] maybe going through the list of packages a desktop would install will point out what's missing [01:37] junyx: check whether loginctl says that a seat is assigned to your user [01:38] https://askubuntu.com/questions/445557/control-sound-permissions-revoke-access-to-audio discusses the acl commands, but this should really not be done directly. [01:41] junyx: Are you logging in remotely, as in you don't have a "seat"? [01:41] `loginctl list-sessions` please :) [01:41] topcat001 I do both. But the audio issue was only tested via ssh [01:42] if you don't have a seat you don't have an ACL entry. [01:42] This is ssh: 1 1000 mb12 - pts/0 active no - [01:43] you can then 1. either add yourself to audio group, or 2. go through pulseaudio which is in audio group [01:43] I added already to the group [01:44] a direct console login will have a seat and set acl [01:44] junyx: so it works fine now? Sorry I might have missed your update :) [01:44] topcat001 yes all working now even without sudo [01:44] Thanks you so much [01:44] cool [03:34] helo [03:51] hello? [03:59] Welcome. [04:24] okay, so I discovered that the Ubuntu live usb mode saves changes and remains persistant between boots but how do I get rid of Gnome and install Cinnamon in its place [04:24] I really hate that clunky interface. [04:25] how do I install puppeteer on ubuntu 22.04? npm/node is too old and refuses to update itself on its own, and all the solutions I could find on google were not helpful [04:25] and I'm not a fan of curl|bash style installs [04:29] nevertheless; [04:29] !info node-puppeteer | bparker [04:29] bparker: node-puppeteer (13.4.1+dfsg-2ubuntu1, noble): API to control Chrome over the DevTools Protocol. In component universe, is optional. Built by node-puppeteer. Size 402 kB / 5,249 kB [04:31] way too old [04:31] latest is 22 [04:43] how do I get less to actually be case-sensitive, which I thought was supposed to be the default [04:43] when searching with / key [04:47] bparker: normally 'less' is case sensitive searches, unless option '-i' or '-I' (uppercase i) was used [04:47] it's not being used [04:48] braxas: printenv | grep LESS [04:48] braxas: sorry, unping [04:48] bparker: printenv | grep LESS [04:49] bparker: does that return anything, or nothing? [04:49] bparker: echo $LESS [04:49] bparker: does this return anything? [04:49] https://termbin.com/lrqx [04:52] bparker: ok, your 'less' is started with options '-RXF' by default, it means (something about raw ansi colors) (something about terminal initialization strings) and (quit if file fits one screen). they don't look related to the issue [04:53] bparker: i'm personally out of ideas here; i'd suggest asking #bash or #gnu about it, if there is no success in here after a short while [04:53] ok, onto my next question then [04:54] when I click the file folder icon at the bottom of my screen, nothing happens [04:55] this one at the bottom left https://x0.at/-AKj.png [04:55] any idea why that is [04:55] Zoinnks, is that you bparker ? long time! I hope you get your issue resolved. [04:56] howdy [04:57] if I run nautilus from the terminal, it opens fine, but the process stays running after I close the window. if I leave it running and THEN click on the folder icon, it actually does work... until I finally ctrl-c that nautilus process, and then it stops working again [04:58] and I don't think it's supposed to run as a daemon or anything? [04:58] so I'm confused [05:22] wow this really bites! U just created a bootable Ubuntu usb thumb drive, installed build-essential and Cinnamon Desktop and now it has suffered A catastrophic error! I seriously did nothing else except for those two things. [05:23] I guess trying to get rid of Gnome is not an option. Ill just dl Ubuntu Cinnamon from da web. i'm just really disappointed. [05:26] Its the dreaded, "Oh no! Something has gone wrong!" error. ah well [05:27] I give up. [05:28] My USB-C connected SSD does not show up in lsusb after boot. Unplug and plug shows and mounts it. How to re-scan USB ports w/o physically unplugging? [05:31] installing build essentials in a live environment? [05:31] interesting.. [05:35] ngong, there is a snap for that https://snapcraft.io/install/usb-reset/ubuntu [05:39] oerheks, will try [05:58] Hi All, I was hoping to get some help in regards to the /etc/shadow changes from Ubuntu 20.04, to Ubuntu 24.04. Previously I had a regex such as ^(root:[$][0-9][0-9a-zA-Z]?[$][^:]+)(:[^:]*){7}$ which worked on 20.04. However it appears that the first digit after the `$` is no longer present on the newer system. Is this some change in the underlying [05:58] crypt library? [06:03] i press ctrl+. anywhere and it enters some weird input mode, any ideas? [06:04] Hi all, I am having an issue with the /etc/shadow structure. On Ubuntu 20.04 I had a regex such as ^(root:[$][0-9][0-9a-za-z]?[$][^:]+)(:[^:]*){7}$, However in Ubuntu 24.04 this seems to have changed. it's as if the first digit no longer exists after the first '$'. Has the underlying crypt library potentially had some changes, if so is there a changelog to explain the new structure of the shadow files? [06:05] stagas: Not that I would be able to help, but maybe also say which window manager/ desktop environment you are using? [06:05] i think i found the issue https://askubuntu.com/questions/1397082/pressing-ctrl-shows-e [06:06] dzilvys: the regular one that comes with ubuntu [06:09] yup it was that, it was entering emoji input mode, but why did it suddenly appear, weird. i don't remember changing anything related [06:10] have you always used CTRL+. or only recently have started pressing it? [06:10] to add onto my question, has ubuntu potentialy changed the hashing algorithm used when generating its /etc/shadow files/ [06:13] oerheks, the result of usb-reset is, that any class for "usb-reset -c " has no effect. The output of lsusb stays constant, missing the SSD. Issuing "usb-reset -a" results in that no USB device works any longer until I physically reconnect at least the keyboard and mouse. [06:18] ngong, sorry to hear that, no idea howto reset and soft-plug an usb device [06:21] ngong: If I remember correctly, some devices need to be essentially power cycled, as in having the power reset so a soft reset I don't think does that [06:22] hello, Ubuntu isn't showing grub when I poweron it [06:22] it never did, press esc or hold shift while booting [06:22] !grub [06:22] GRUB2 is the default Ubuntu boot manager. Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub - For more information and troubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub2 [06:23] in that url is enough info to make it show, if you want to [06:23] oerheks: I don't want the grub command line. I just want the grub menu like we get in arch linux [06:24] press shift or ESC [06:24] dzilvys, power reset does not lead to detect the USB-C SSD, but reconnecting after power reset. I fear that the connectors will give up after a while. [06:24] ok so pressing shift or ESC should do [06:24] jups [06:24] thanks you!!! (◍•ᴗ•◍)♡ ✧*。 [06:25] ngong: no I mean the ssd's need a power reset not the device itself [06:25] anyone here using webdav? i found quite a large difference in terms of performance between the files app and davfs2 (latter is a lot slower). for example, loading thumbnails for large video files is a lot lot faster compared connecting via davfs2 [06:26] oerheks: I pressed esc [06:26] and now I am in grub command line [06:26] :( [06:26] I don't know what to do [06:27] never happened to me, boot again, hold left shift [06:27] see grub2 manual [06:27] I pressed esc [06:27] -_- [06:27] yeah, there are 2 different types of interrupt, we cannot tell [06:27] dzilvys, ok - the SSD has no power button other than reconnection. Some delay while booting may be too short, waiting for the SSD to power up is required. [06:27] on UEFI it is shift  [06:28] exit [06:28] ESC too often will drop you into the shell  [06:28] on old bios too, not all machines, especially laptops do this [06:28] can I permanently disable it [06:28] I mean I always want to see the grub menu [06:28] GRUB_TIMEOUT=0 [06:29] if I set it to some time will it show me menu? [06:29] whatever you do, run update-grub after that [06:30] sure sir! [06:33] ngong: I wasnt in the server to see your original messages, but can't you just solve your issue by unmounting and mounting it? [06:33] Do you have to reconnect it? [06:36] dzilvys, as it is not recognized after boot, he needs to remount, but wants to do this soft [06:38] does it show up in `lsusb`? also does it show up in `/dev`? if it does you could potentially use udev to automount it on boot === ubuntu is now known as Guest1682 [07:48] ** Hrrm, packages.ubuntu.com seems to be failing [07:52] works fine here [07:52] no notices https://status.canonical.com/ [07:59] that is not monitored there at all  [07:59] and it always had performance problems  [07:59] sometimes when a mirror get updates, known issue [08:04] hi i have tried to troubleshoot this https://askubuntu.com/questions/1519517/fix-boot-device-compatibilities-for-zenbook-14-on-ubuntu the only solutions i found were disk space related but there is plenty of disk space in the partitions/disk . Anyone else can suggest a solution to this? Would it be possible to downgrade from 24 to 22 ? [08:35] dzilvys; you asked: "does it show up in `lsusb`? also does it show up in `/dev`? if it does you could potentially use udev to automount it on boot", my answer: no. It is not recognized at all. One possible cause is that some timeout waiting for the device to come up is too short, and SanDisk Extreme needs power down after that non-successful trial [08:35] at boot. [08:37] Is here anybody for my problem? [08:37] I came back by Phone yesteday but ioria wasn t here [08:38] I opened recovery mode [08:38] But i didn t know how to proceed [09:07] Hi [09:07] Anyone around? [09:16] Hi Jantz! [10:26] !nomodeset [10:26] Systems with certain graphics chipsets may not boot properly out of the box. "Temporarily Add a Kernel Boot Parameter for Testing" as discussed at https://wiki.ubuntu.com/Kernel/KernelBootParameters to add the "nomodeset" parameter there. === fur is now known as furry === Anjor is now known as Guest74 === Guest74 is now known as Anjor [12:09] Hi all [12:25] R here anybody to help me with [12:25] !nomodeset [12:25] Systems with certain graphics chipsets may not boot properly out of the box. "Temporarily Add a Kernel Boot Parameter for Testing" as discussed at https://wiki.ubuntu.com/Kernel/KernelBootParameters to add the "nomodeset" parameter there. === Guest5218 is now known as sotaoverride [12:33] yo [12:37] ols [12:55] Where can I find any information why Ubuntu does not upgrade libxml2 (2.9) to more recent versions (2.13)? [12:56] !latest | skinkie [12:56] skinkie: Packages in Ubuntu may not be the latest. Ubuntu aims for stability, so "latest" may not be a good idea. Post-release updates are only considered if they are fixes for security vulnerabilities, high impact bug fixes, or unintrusive bug fixes with substantial benefit. See also !backports, !sru, and !ppa. [13:00] leftyfb: the latest version of the 2.9 series is two years ago. [13:14] ioria i Read nomodeset but i don t know how to proceed [13:14] !nomodeset [13:14] Systems with certain graphics chipsets may not boot properly out of the box. "Temporarily Add a Kernel Boot Parameter for Testing" as discussed at https://wiki.ubuntu.com/Kernel/KernelBootParameters to add the "nomodeset" parameter there. [13:15] Yesterday i came back but maybe u didn t be here [13:19] Can anyone else help me? I Lost a too important file 😕 [13:39] Is there anyone else? Maybe @ioria is busy [13:39]  😕 I absolutely have to solve this, that file is too important 😕 [13:39] ioria [13:44] Guest57: please dont keep highlighting volunteers, just ask your question and remain patient until someone helps you [13:46] Ok excuse me, i just start to try to solve the problem and after all stops because i don t have the Next steps [13:46] We solved our microphone issue let me show you [13:46] lotuspsychje [13:47] https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-6.5/+bug/2054266 [13:47] -ubottu:#ubuntu- Launchpad bug 2054266 in linux-signed-hwe-6.5 (Ubuntu) "microphone and headset does not work [solved]" [Undecided, Confirmed] [13:48] Guest57: re-ask your question you want to solve here in the channel, so other volunteers can try helping you [13:48] T [13:49] I already re-asked [13:49] lotuspsychje Ubuntu doesn't start, just text login [13:51] Yesterday ioria gave me [13:51] !nomodeset [13:51] Systems with certain graphics chipsets may not boot properly out of the box. "Temporarily Add a Kernel Boot Parameter for Testing" as discussed at https://wiki.ubuntu.com/Kernel/KernelBootParameters to add the "nomodeset" parameter there. [13:51] But i don t know how to proceed [13:56] lotuspsychje From chat via phone the connection always drops, I don't know why [13:56] Do u Read me? === sebastian is now known as Guest9486 [14:22] lotuspsychje The chat always drops and I don't know why 😕 [14:30] getting an error trying to install the lxd snap: https://bpa.st/JQHA [14:57] .tell carlfk I owe you a beer man that worked perfectly === TheCaptain8982 is now known as TheCaptain898 [15:24] Teridon, try asking in the LXD forum https://discourse.ubuntu.com/c/lxd/126 [16:45] hi [16:45] im angel [16:45] gariel turganti [17:09] hi Angel, do you have an ubuntu support question? [17:50] ew how did I get here? [18:52] Hi === sebastian is now known as Guest509 === mrbutthead8 is now known as mrbutthead === andymandias_ is now known as andymadias === andymadias is now known as andymandias [19:37] how would I recover a folder full of subfolders full of photos? photorec dumped some folders with files in them but none of them seem to be the Photos dir that was deleted by rclone, though it's still recovering [20:32] kut: photorec is usually the best tool for it. still, your chances that it can succeed will be somewhat limited with most modern file systems. [20:33] a pity that you don't have backups apparently [20:36] any body here? === xrandr is now known as Guest4053 === Guest4053 is now known as xrandr === sebastian is now known as Guest8933 [21:23] Hello [21:52] tomreyn: ext4 [22:00] CarlFK: hopefully you got my message, overlayroot works fantastically [22:06] what happened to openssh-server? Package 'openssh-server' has no installation candidate [22:12] sure it does [22:12] !info openssh-server noble [22:12] openssh-server (1:9.6p1-3ubuntu13.4, noble): secure shell (SSH) server, for secure access from remote machines. In component main, is optional. Built by openssh. Size 498 kB / 2,097 kB [22:19] oerheks, then something broke on my 22.04 installation. I can't copy anything in my web browser after highlighting the text either. i just upgraded firefox so i don't know if firefox is broken. sudo apt install openssh-server still won't install after rebooting the box [22:19] if you just updated firefox, close firefox and open again? [22:19] and openssh-server doesn't show up in synaptic [22:19] snap package [22:20] weird, no answer to that.. [22:21] it doesn't show up in snap either [22:22] 22.04 1:8.9p1-3ubuntu0.10 [22:23] launchpad is slow today [22:26] https://packages.ubuntu.com/jammy-updates/openssh-server [22:26] eelstrebor: apt-cache policy openssh-server | nc termbin.com 9999 [22:28] leftyfb, https://termbin.com/nwea [22:29] eelstrebor: cat /etc/apt/sources.list | nc termbin.com 9999 === nethunter is now known as Filohuhum [22:31] https://termbin.com/o86j [22:35] eelstrebor: why is your sources.list so broken? [22:35] and also has 3rd party repos [22:36] broken? been working fine until now. i do have PPAs added [22:36] it's not working fine, or else you would have access to the packages in main and -updates [22:36] it's broken [22:37] remove the 3rd party repo's, add them to relevant files in /etc/apt/sources.list.d/ if you want to keep them. Then override your sources.list with this: https://paste.ubuntu.com/p/7fHgDF2gpC/ [22:37] once you do that, you'll have a properly functioning system again [22:42] maybe jammy put a fresh sources list in /usr/share/doc/apt/examples/sources.list , with universe disabled [22:42] oerheks: he has main and -updates disabled [22:42] universe was enabled [22:43] just use mine, it's the cleanest and simplest way to go about it === coc0nut_ is now known as coc0nut === sotaoverride is now known as Guest2593 [22:55] hi i have tried to troubleshoot this https://askubuntu.com/questions/1519517/fix-boot-device-compatibilities-for-zenbook-14-on-ubuntu the only solutions i found were disk space related but there is plenty of disk space in the partitions/disk . Anyone else can suggest a solution to this? Would it be possible to downgrade from 24 to 22 ? [22:58] is installing sof-audio-pci not enough? [22:59] and there are multiple zenbook 14, hardwaremay differ.. [23:27] i installed ubuntu 24.04 amd64 desktop LTS a while back. in my dell laptop i made sure secure boot and legacy roms was disabled. everything installed fine. auto enroll MOK? well im having a problem. im not sure if its because i reset bios or what but when i try and boot up it wants me to enroll an mok key or hash from disk [23:28] im typing from a different machine (desktop). the laptop ive tried just about every uefi setting possible. i do have the ubuntu 24.04 live usb stick [23:32] familiar with photorec? I recovered the files and unsure what to do with img_remaining.dd and/or how to rename them [23:49] kut:  its a Disk Image File (.dd) Dont rename it.. have to check its size as well as explore it more .. 1st find out its size : $ ls -lh img_remaining.dd  and then $ sudo fdisk -l img_remaining.dd or $ sudo cfdisk img_remaining.dd [23:50] 81gb [23:51] en1gma:  You should not Reset BIOS after installation.. now its not finding Boot partition.. [23:52] kut:  its a big size.. have you recoverd all of files which you had need ? [23:53] I think so. I had it search for all images and videos. https://pastebin.com/cYZHuEt5 [23:54] they're all in dirs like recup_dir.##\f########.ext [23:55] pastebin $ sudo cfdisk img_remaining.dd [23:56] label type? assuming gpt [23:59] https://imgur.com/screenshot-gaQorqh