[00:01] ehm, if one runs firefox from terminal, such warnings are normal. [00:01] why running firefox from terminal? [00:02] im not running from terminal.. this is in syslog [00:03] but i'll assume if it was a real issue then firefox would not actually start [00:04] these scope permission messages seem common [00:06] and if there was a scope issue with systemd, then "systemd-run --user --scope echo hello" would fail [00:18] weird, I only see those scope permission denied messages when starting firefox from the desktop file [00:18] if I start it from terminal, there is no problem [00:18] syphyr: what command is the .desktop file running [00:19] Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/firefox_firefox.desktop /snap/bin/firefox %u [00:19] are you running it like that? [00:20] if I cd to /snap/bin and run ./firefox then there is no permission error [00:21] thats not what that exec line is... [00:22] if i run "env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/firefox_firefox.desktop /snap/bin/firefox" from terminal [00:22] then no permission error [00:23] something with the desktop file is calling systemd [00:23] in a weird way [00:24] its the context of the window manager [00:24] ahh.. i think i see why [00:25] vs the context of the terminal [00:25] i have two versions of firefox installed [00:25] lol [00:25] one from the deb file [00:25] and one from snap [00:26] one of the snap firefox.desktop files has an exec line like this: Exec=firefox %u [00:27] ill bet that if I remove the older firefox from the deb then the permission error goes away [00:27] just a theory [00:27] i could just edit the desktop file to point to /snap/bin/ === halvors1 is now known as halvors [00:28] err, no.. [00:29] this is the one that i think its using: /var/lib/snapd/desktop/applications/firefox_firefox.desktop [00:29] and that one is pointing to /snap/bin/ [00:39] nope, there is a difference b/n running exec command from terminal and clicking on desktop file [00:39] but i dont see it [00:39] running exec command has no errors [01:31] problem solved by adding "systemd.legacy_systemd_cgroup_controller=1" to grub [01:31] it was a systemd bug [01:32] i dont know how enabling a legacy feature in the kernel to fix an error is a "bug" === halvors1 is now known as halvors [01:54] its not enabling a legacy feature in the kernel.. [01:54] its enabling a legacy feature in systemd [01:55] the kernel does not have legacy_systemd_cgroup_controller in the code [01:55] but this is only an issue when using a super old version of systemd === ubuntu is now known as Guest6749 [02:48] hello everyone I am trying to sort some stuff in ubuntu 20.0.4, can someone assist? [02:49] !ask | jaywng [02:49] jaywng: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience === Andrew is now known as Guest4791 [02:51] @ubuttu sorry most IRC channels re ghost towns nowadays, so I do not just "Type it out" [02:54] So my issue is I am trying to figure out how to get NGINX to route a port to a certain program, I know what its called, I just need some guidance as to where the proper conf file is located, the server currently has two program sharing the same ports, i want to isntall a third but need help coniguring the box [02:57] route a port to a program? === realivanjx8 is now known as realivanjx === tristan_ is now known as tristan_1 === tristan_1 is now known as tristan_ === jowen is now known as lustrous_cola [03:17] rbox, yes exactly [03:17] exactly what === deepSleep is now known as Guest7586 === ubuntu is now known as Guest7825 [04:22] #ubuntu22.04 [04:22] Hello, could someone help understand what the following means please? Line 3 (why different to line 2?), line 5 (related to line 8?) https://dpaste.org/T0Lip [04:23] Guest7825: line 2 is the default route [04:23] i dont really see the point of line 3 [04:24] 5 and 8 are competley differnet masks [04:25] rbox, thanks, I just setup a vm router on this Ubuntu 22.04 desktop, just trying to map out the virtual connections https://i.imgur.com/gbwM3aD.png [04:27] rbox, so line 2 would be the gateway for the host (Ubuntu 22.04), where would I enter GW 100.64.0.1? 100.64.0.1 is also the IP of the bridged ISP router? [04:27] that came from dhcp [04:29] rbox, ok, so the ISP bridged router must be assigned 100.64.0.1 either from the ISP public WAN IP or from the vm router 192.168.1.170? [04:29] wherver you are getting the dhcp from [04:29] rbox, I have listed 100.64.0.1 in the ISP bridged router. Is this wrong or should I also add a GW 100.64.0.1 somewhere on the host's interfaces? [04:31] rbox, the dhcp is probably coming from the vm router, however I notice the ISP bridged router already has 100.64.0.1 before I create the vm router. Therefore the bridged router might be getting 100.64.0.1 from the ISP's public WAN IP? [05:03] hello sir, i have problem related to flatpak. [05:06] pls help [05:06] !ask [05:06] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience === ord is now known as quem [05:09] i have installed flatpak, but the flatpak is not showing in the software store, and also i cant access it from the terminal.. pls help [05:11] i dont think the software store does flatpaks [05:12] but i have installed it manually. [05:12] and? [05:12] it not working' [05:12] sounds like you didnt set up flatpak properly [05:13] can u tell me [05:15] help pls [05:16] surely the flatpak website has installation instructions [05:16] i had followed this instructions.. [05:18] Which flatpak are you trying to run? [05:19] version is 1.12.7 [05:19] for ubuntu 22.04 lts [05:20] Not the version of say the flatpak utility.. what actual program are you trying to run that's packaged into a flatpak [05:20] trying to install software [05:21] the flatpak utility itself? [05:21] from flatpak [05:22] If so, where in these few steps do things break? https flatpak.org/setup/Ubuntu [05:23] i had followed this command. [05:24] what can i do for remove snap and install flatpak. [05:25] I didn't see what command you installed but don't try to uninstall snap from Ubuntu.. you will wreck the OS. Just run flatpaks in parallel to snaps [05:40] i also have a problem, when system is booting there is showing [05:40] sda3 clean and blocks [05:41] and the problem is? [05:42] in the black screen showing sda3 clean(some process) and block(some process). [05:44] [10:41:00 PM] and the problem is? [07:02] What does Ubuntu uses to manage battery charge threshold? In 20.04? [07:03] I know 22.04 did it but not sure how [07:05] Oh upower? [07:13] Which Window System does Ubuntu 22.04 use? X or Wayland? [07:14] it supporst both [07:15] since the newest ubuntu update the firefox bookmarks toolbar no longer exists, but it is still in the menue [07:16] What are the user-visible differences between the two? [07:17] meta-coder: nothing [07:17] some WMs/DEs might not work on one or the other... [07:18] the symbol line below the URL is not visible [07:18] an it is activated [07:19] The Jammy/22.04 release notes says GNOME uses Wayland by default. I checked the 22.04 Live CD just now, I see Xorg running, but no Wayland. [07:20] what happens in a live enviornment sometimes isn't the same as once you have an installed system [07:30] Can we switch between the two Window System? [07:31] meta-coder: yes you just need to select it in the login screen [07:32] Ok. [07:34] meta-coder: sidenote; nvidia graphics cards wont work well with wayland yet, will need xorg to login [07:35] (I don't have NVidia) [07:52] In the Live run of 22.04, I tried logging out and logging in, but I don't see any option or choice to change the Window System. [07:53] meta-coder: in the the live i think its xorg by default, you might need to physical install to test wayland [07:54] Yes, I wanted to test Wayland. OK, I'll have to install... === ord is now known as quem === neoclust1 is now known as neoclust === guiverc2 is now known as guiverc [09:07] How would I convert a software RAID 1 OS boot drive to non-RAID? Is there any reason I couldn't leave the array permanently degraded and just fail/zero the drive? [09:23] the easiest way would be rsync from the raid to a large entough recipeint non-raid hdd - Lcawte [09:24] once you have confirmed the files are all there, you may then disassemble the array. === _miruoy is now known as miruoy [09:41] weedmic: As the array is the root of the file system, I'm guessing I'll need to do that over IPMI (it's a dedicated server) on a LiveCD? === AndrewYu is now known as Andrew === respawn_ is now known as respawn [11:10] so I installed a package A. package A has "Recommends: R (=1.2.3)" in its control file. Package A is held back for various reasons, but package R can be upgraded to 1.2.4. the new version R_1.2.4 is no longer a dependency or recommendation of anything and "apt autoremove" will happily remove it, oops! [11:11] glad I noticed that before it happened [11:20] these "various reasons", btw, are related to me using 20.04 and the software (jitsi-meet) depending on prosody (>= 0.11.7), which I guess is from 22.04... [11:21] TomyLobo2: can you pastebin the whole apt output of whats happening, so the volunteers get the full picture to help you? [11:23] I don't need help. tbh I don't know what to do about this at all [11:24] TomyLobo2: if you dont need help, why are you posting your question in here then? [11:24] the software shouldn't mix their 20.04 and 22.04 versions in one repo [11:24] wait, is this not a channel where you can talk about ubuntu without asking a question? [11:24] nop [11:25] !discuss [11:25] Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [11:25] oh okay [11:25] well those channels are empty by comparison [11:27] doesnt mean you won't get a discussion [12:25] Has anyone ever typed a key combination while trying to copy text inside vi (to paste in another window) and instead managed to disable the arrow keys (using hjkl still works) to move the cursor? [12:25] If so, how did you get arrows back? [12:26] Right now I do not know if that affected the terminal program itself, tmux, or vi === _miruoy is now known as miruoy === guiverc2 is now known as guiverc === ord is now known as quem === Pacman is now known as Guest6170 [15:38] I have 2 SSDs which are both encrypted with LVM. Both were named vgubuntu (default encryption settings) and I used vgrename to rename my main OS one to vgjammy in order for them not to be duplicated names as I was running into problems to mount my other SSD due to this issue. [15:39] Now I cant really boot up, it drops to shell after entering my encryption password to the RENAMED SSD [15:39] Alert! /dev/mapper/vgubuntu-root does not exist! Dropping to shell [15:40] How can I fix this please? [15:42] https://ibb.co/PDgxpdM [15:46] Guest6170: You need to fix either grub or the initrd (probably both). [15:46] !fixgrub [15:46] 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 [15:46] Guest6170: it is quite possible your GRUB configuration is still pointing to the old root (I cannot read the screenshot, badly pixellated). You should check it [15:48] How do I update grub to point to newly renamed lvm? [15:48] It was default encryption settings LVM during Ubuntu installation [15:50] please see the link posted by ubottu above. [15:51] I'm not finding docs on how to rebuild initramfs for ubuntu, sorry. [15:52] Guest6170: It looks like update-initramfs is the correct tool for that. [15:54] just change vgubuntu to vgjammy , this might be a help https://www.shellhacks.com/reinstall-grub-from-live-usb-uefi-lvm/ [16:32] oerheks: I changed it from vgubuntu to vgjammy in order not to have 2 duplicate encrypted SSD with same name [16:32] hey there. can someone give me a hint: trying to setup a raspi with ubuntu server using cloudinit. got my cloudinit.txt. whats next? [16:33] As I was having problems to access my other encrypted SSD with File Manager due to them being same names (it would disappear as soon as I would decrypt it? [16:34] jhutchins: can I use update-initframfs from shell it drops me to after I enter encryption password? [16:44] Please help [16:59] Guest6170: if you renamed devices required for booting, you will need to run update-initramfs and update-grub while all file systems of the proper system are mounted. you can get to this point by either booting off an ubuntu installer/live usb and chroot-ing into the installed system, or by using the recovery option from grub's Advanced menu, then manually setting up all block devices / mounts as needed. [17:01] I see. Thanks a lot guys, will try. [17:04] Encrypting file systems is WAY too easy for beginners. [17:07] Guest6170: i think /etc/fstab points to the name of the rootfs in such an install [17:12] Guest6170: also have a look at /etc/crypttab [17:40] Hi hello [17:47] EriC^^: The boot device is configured in grub. Iirc fstab is copied to the initrd. [18:00] jhutchins: yeah, that error looks like it's from the grub line, he still has to fix fstab probably though, dont use encryption myself [18:01] myb [18:02] myb: hi there, do you have an ubuntu support question? [18:58] @tomreyn: How do I chroot into installed system from my Ubuntu live usb? [18:59] My main system is also encrypted with LVM [19:01] Guest6170: https://help.ubuntu.com/community/LiveCdRecovery [19:02] https://askubuntu.com/questions/719409/how-to-reinstall-grub-from-a-liveusb-if-the-partition-is-encrypted-and-there-i covers encryption + lvm, too [19:17] How do I find out which is my /boot partition @tomreyn [19:17] Could it be /dev/sdb1 or sdb2 or sbd3? [19:18] I installed guided partitioning using encryption + LVM [19:19] I can see that /dev/sdb1 says Type EFI System and /dev/sdb3 is about 920gb out of 1TB SSD I have [19:19] The /dev/sdb2 says 1.gb Linux Filesystem [19:19] 1.7gb [19:30] Solved it by renaming vgjammy back go vgubuntu (as it was) and I managed to boot [19:30] I have 2 SSDs which are both encrypted and named vgubuntu [19:31] If I mount my other one, it will simply disappear from file manager because of duplicate name [19:31] How do I solve this @tomreyn PLEASE help one last time brother === madmax__ is now known as madmax [19:38] It dissappears from File Manager as soon as I open it because it has the same name as vgubuntu in my main OS [19:39] What the heck :( [19:39] lvm rename volumegroup gives a lot of howto's [19:39] https://thaniri.com/blog/2019-12-01-rename-volume-group-ubuntu-1604/ [19:39] really did you do any research? [19:39] But if I rename it, it will NOT boot up (I have another Linux OS on it) [19:39] Lol [19:39] lol, then time to reinstall [19:41] Surely it can be done without reinstalling [19:41] Wtf is this @linux devs [19:41] no you don;t want to. [19:41] another good howto https://www.golinuxcloud.com/rename-logical-volume-example/ [19:42] this all ofcourse without that 2nd copy mounted [20:05] hi [20:05] imi, hello [20:06] as far as I can tell cryptsetup luksRemoveKey does not remove the key, it replaces it with a different one [20:09] @oerheks: I renamed my LVM but when I run update-initramfs -u -k -all I got update-initramfs: failed for /boot/initrd.img--all with 2. [20:09] What now? Fml [20:13] solved [20:16] Is rsync the best CLI tool for copying my files from the other SSD? [20:16] What does everyone use for copying large amounts of files between drives? [20:17] cp, rsync, dd, file manager, zfs snapshot beaming, it depends on the use case... === shokohsc57 is now known as shokohsc5 [20:59] Guest6170: What was your solution? [21:01] @jhutchins: I booted into my main OS in my main SSD, as root I renamed the LVM using vgrename tool and updated /etc/fstab + /boot/grub/grub.cfg vgubuntu string to my new lvm name [21:02] Ran update-initramfs for my kernal too and rebooted [21:02] It worked [21:02] Guest6170: Sounds great, and you got there pretty quickly. [21:02] But honestly, this problem should not even exist at all [21:02] Ubuntu devs need to fix it [21:03] If another Luks encrypted SSD has Ubuntu too on it and is encrypted under same LVM name "vgubuntu" (the default) [21:03] you want update-initramfs to rename LVM volunme groups? [21:03] Then it should NOT disappear from file manager when you decrypt and mount it just because it has same LVM name as your main OS one [21:04] Someone tell Ubuntu devs about this [21:04] Should honestly be fixed [21:05] Guest6170: there is no bug. Don't try to mount multiple volumes with the same volume group names [21:05] But my other ssd is encrypted too with the same name vgubuntu [21:06] Why should it disappear from File Manager when I enter my encryption key? [21:06] It's nonsense [21:06] don't do that [21:06] But I have too. A lot of times people need to do this [21:06] It should not disappear [21:07] !bug | Guest6170 [21:07] Guest6170: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [21:08] this is the first time i see someone try to use the same volume names. [21:08] That's because I used the default Ubuntu LVM encryption during installation [21:08] In both SSDs, I installed Ubuntus [21:09] And I have my files in my other SSD and I want to back them up elsewhere [21:10] How about Ubuntu offers to name the LVM during installation? [21:10] Didn't see that option! [21:12] just curious, what would ubuntu offer, when you install a 3rd volumegroup? [21:12] grinn [21:13] you have a rather corner case setup there, with two ubuntu installations between which you multi-boot. still, having the graphical file manager handle multiple VG's of the same name properly does seem like a good bug report / feature request to me. [21:14] 22.04 is installed in ssd1 [21:14] 23.10 is installed in ss2 [21:14] this is probably referring to naultilus / gnome files, and you would need to report it upstream in addition to against ubuntu [21:14] My files are in ssd2. I want to decrypt and mount my ssd2 so I can copy my files to ssd1 [21:14] Nope, can't do that because they have same names "vgubuntu" [21:15] That ssd will automatically disappear from file manager because they have the same name [21:15] Which is completely nonsense [21:15] i think what you are reporting here is understood. [21:15] Let's be honest. Please fix this [21:15] did you file bug reports, yet? [21:16] because just reporting something on an irc self-support chat isn't going to get it fixed [21:17] Surely Ubuntu has PAID developers in this chat who will get it fixed, r-right? [21:17] Guest6170: No. [21:18] Guest6170: This channel is almost entirely fellow users who may know something about your questions. [21:18] Guest6170: IRC is a horrible bug tracker [21:19] Guest6170: Some of us are waiting for answers to our own questions. We also learn from other people's questions and solutions. [21:19] and you'll get the same response from any other distro, even the more commercial ones [21:19] Now my Ubuntu crashes/freezes when trying to copy folders from ssd2 to ssd1 [21:19] Great! Got high end hardware too specifically so I could get a good workstation [21:19] The more commercial ones tend to have less community support. [21:20] but will still not take bug reports from irc [21:20] It is 7700X Ryzen + 6700XT, 64 Ram etc and still freezes [21:20] Jfc Ubuntu get your shit fixed [21:20] !bug | Guest6170 [21:20] Guest6170: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [21:21] Guest6170: That's not how OS software works. [21:21] The fact it freezes when copying files isn't a particular bug [21:21] Guest6170: no need to curse. [21:21] It's just a badly designed system/drivers problem etc [21:21] Guest6170: "freezing" is a bug. [21:22] Guest6170: You're free to use a different distro. [21:22] How do I find out what exactly is causing the bug? [21:22] Guest6170: Or Windows for that matter. [21:22] How do I try to understand what is causing errors when my Ubuntu freezes/crashes when it shouldn't? [21:22] Guest6170: what release of ubuntu are you running? [21:22] you read your logs and spend time to get a better understanding of what they mean, like all of us do [21:23] 22.04 LTS [21:23] How do I read the logs? [21:24] Guest6170: stock Ubuntu Gnome desktop install or is it one of other flavors? [21:24] Stock amd64 iso [21:24] Guest6170: which kernel? ( run "uname -a" in a terminal ) [21:24] Tried Kubuntu 22.04 but just wouldn't work, annoying bugs here and there which would make Plasma crash/freeze [21:25] 5.19.0.-45 [21:26] How do I read the logs? [21:26] Guest6170: do you have the 3rd party drivers installed for your GPU? [21:26] No proprietary drivers in use [21:26] Guest6170: can you try? [21:27] The amd graphic card drivers from Amd website? Yes I can [21:27] the journalctl command lets you access your system logs. other logs may exist in /var/log and $HOME/.local [21:27] no, from the "additional drivers" utility built into ubuntu [21:27] But doubt that's the problem. How do I find out what is causing it to freeze? It really shouldn't as it's high end hardware [21:28] Let me upload a photo of my hardware [21:28] Hi, anyone knows how to run xrandr for another seat on a multiseat setup with lightdm? I can do it if the other seat is logged in but "sudo -u lightdm env DISPLAY=:1 xrandr" gives a "Authorization required, but no authorization protocol specified Can't open display :1" error message [21:28] Guest6170: high end hardware, especially with a discrete GPU, I've seen act unstable if the proprietary drivers aren't installed [21:29] rardiol1: isn't the other "seat" running as a different user? [21:29] Guest6170: as for logs, I would start with running "dmesg -Tw" in a terminal and trying to reproduce the issue [21:29] https://ibb.co/7tz0N50 [21:29] Guest6170: you can also run "nautilus" from a terminal and watch the messages there while you try to reproduce the issue [21:29] That's my hardware [21:30] leftyfb: it's not logged in yet, there's nothing on the screen, I want to run xrandr to see if I can fix it. [21:30] rardiol1: login as the user [21:30] A bit hard when I don't see anything but guess I can configure autologin and try that. thanks [21:33] rardiol1: you do know xrandr doesn't save the settings right? [21:34] leftyfb: frankly I just want to know if the monitor settings are available at all because I'm not sure if my setup theoretically works [21:38] check your mobo for a bios update, current is F9A https://www.gigabyte.com/Motherboard/B650M-GAMING-X-AX-rev-1x/support#support-dl-bios [21:38] I have updated it to the last version [21:41] I will try the drivers from amd website. So far it seems the problem happens only when copying large sized folders from ss2 to ss1. Hope it's not a common issue as this is supposed to be my main workstation rig [21:43] you most likely don't want the amd graphics drivers from amd.com, but stick to those that ubuntu provides. [21:44] 2023 Jun 18 17:27:33 no, from the "additional drivers" utility built into ubuntu [21:44] well they won't be there either because they're open source [21:44] They are not there [21:44] better focus on your logs. === rardiol is now known as rardiol1 [21:49] leftyfb: for some reason the autologin didn't actually work but configuring it and rebooting made the screen work. Thanks for the help. === mulaney is now known as hey === shaggysi1 is now known as shaggysi0 [22:32] Hi folks.  Slightly silly question. I am replacing one of my 3 hard drives, which is I believe failing.  sda.  However... I'm not sure which of the 3 physical drives is sda. :-)  What's the easiest way to figure that out?  Can I get a serial number from the OS somehow and then check the hardware, or is there a better way? [22:35] sudo hdparm -i /dev/sd* # would show info and serialnr [22:36] udevadm info --query=all --name=/dev/sda | grep ID_SERIAL [22:36] more than one solution [22:37] do that for sdb and sdc and so on [22:37] Hm.  The hdparm one is giving me a DMA fail "inappropriate ictl for device" on all three drives. [22:37] udevadm works, though. [22:37] you think your hdd fails, maybe it is the controller? [22:39] Not impossible, I suppose.  The symptoms are overall system slowness on seemingly any IO, yet low load.  I ran smartctl -t short on each of the drives, and sda never finished, but the other two did.  Hence I concluded sda was dying.  (It's a 3 disk RAID5 array.) === hey is now known as JHM === JHM is now known as JohnHolmesMiskat [23:14] Well this is fun.  mdadm --manage /dev/md0 --fail /dev/sda # Reports no such device.  There's also an md1, but it doesn't seem to be found there, either.  Yet I know it's there, because I could try running smart tests on it.  Wha? [23:31] I seem to be doing something wrong. I have used linux as a desktop, off and on, for about 20 years. The desktop has gotten where I don't even really notice that I'm not in Windows anymore. Except for one thing, the handling of multi-monitors. I have constantly fought this. I run 3 4k screens on one video card. Upon screen wake, I have to re-setup [23:31] everything, every time. Either Gnome forgets the number of screens, the location, the resolution, or the scaling. If not all of the above. Then I have to reposition all my windows. Please tell me that I'm doing something wrong and not that Gnome is terrible at multiple screens. If so, what DM and WM should I be running to not have these problems?