[00:14] <Haris> hello all
[00:14] <Haris> is there a ubuntu legacy channel?
[00:15] <Bashing-om> Haris: explain "ubuntu legacy" .
[00:16] <Haris> I have apache 2.4.7 on ubuntu 14.04 lts. I need mod evasive on it. its installed. but acting like its not enabled or not working
[00:16] <oerheks> there has been thoughts about it, -legacy; support for eol versions, but no.
[00:16] <Haris> I have a HTTP DDoS to mitigate
[00:16] <oerheks> no support for 14.04
[00:16] <Haris> mod_evasive is like its there but not working
[00:16] <oerheks> try the security or pentest channels?
[00:17] <tomreyn> pull network cable
[00:17] <oerheks> that would be safe, yes.
[00:18] <Haris> that's not funny guys
[00:18] <Haris> there's pen test channels here?
[00:18] <tomreyn> not in #ubuntu
[00:18] <oerheks> !alis
[00:22] <flyback> it's not from rufus either
[00:23] <flyback> that insist to do a efi and make a fat32 parition install appears to be a bug in ucuntu 18.04 and up
[00:23] <flyback> if there isn't a way ti disable that crap I will just reload 16.04 and do a sysup
[00:23] <flyback> this is rediculous
[00:24] <flyback> also if I try to do lvm it bombs installing grub as well
[00:24] <flyback> not that I need lvm or care
[00:25] <tomreyn> who left you out of ##security containment?
[00:25] <tomreyn> for many other poeple, it just works fine.
[00:25] <tomreyn> something must be specific to what you're doing
[00:26] <flyback> no I have seen it on 3+ machines now
[00:26] <tomreyn> flyback: try some other method of writing the installation media
[00:26] <flyback> I d id
[00:26] <flyback> same shit
[00:26] <tomreyn> three of the same machines?
[00:27] <flyback> nope
[00:27] <flyback> 2 laptops, 2 servers
[00:27] <flyback> all predate efi
[00:27] <tomreyn> and you're using which ubuntu installer image exactly?
[00:28] <oerheks> the iso is hybrid, so if it writes an uefi part on it, that is not a bug.
[00:28] <flyback> so it's setting up a boot system for hardware that does not exist
[00:29] <flyback> genius
[00:29] <oerheks> if you talk about the usb, yes, genius.
[00:29] <flyback> heh
[00:30] <flyback> sad and pathetic
[00:30] <oerheks> if your system creates a efi part during install, it is not 'predate efi'..
[00:30] <flyback> I been in the IT field almost 30 yrs
[00:31] <flyback> it's my job to take apart hardware and troubleshoot systems
[00:31] <flyback> poweredge 840 PREDATES EFI
[00:31] <flyback> LATITUDE d830 predares efi
[00:31] <flyback> latitude d820 predares efi
[00:32] <flyback> hell i'll read out the bios image and run it thru binwalk and prove
[00:32] <flyback> NO EFI CODE
[00:32] <flyback> k thx
[00:39] <oerheks> https://www.dell.com/support/manuals/de/de/debsdt1/poweredge-r840/per840_ism_pub/boot-settings    Title: Dell EMC PowerEdge R840 Installation and Service Manual (at www.dell.com) first sentence: "You can use the Boot Settings screen to set the boot mode to either BIOS or UEFI."
[00:39] <flyback> it's not the r840
[00:39] <flyback> genius
[00:39] <flyback> this is a old core2xeon based system from 2008
[00:39] <flyback> anything else?
[00:40] <oerheks> *proest*
[00:40] <flyback> this behavior didn't start till after 16.04 server
[00:40] <flyback> BMCC
[00:40]  * flyback smacks oerheks with a canadian
[00:42] <flyback> !bmcc oerheks
 oerheks: BITE MY 'CANUCK', CANUCK!
[00:42] <MikeRL> So I encrypted the system partition. But now it dumps me to GRUB and I don't know why.
[00:45] <tomreyn> MikeRL: hey, we have soemthing in common - we also don'T know why. or what you're running, or how you installed. or what you installed.
[00:48] <MikeRL> I was looking for the program.
[00:50] <MikeRL> I used cryptsetup-reencrypt on /dev/sda6 (Ubuntu 20.04 install) and it wasn't previously encrypted.
[00:51] <MikeRL> Did so from a live USB and the encryption succeeded without error. I followed the man page for the program.
[00:51] <tomreyn> and this was the system currently running at the time?
[00:51] <tomreyn> ah ok
[00:51] <MikeRL> Yes
[00:52] <tomreyn> hmm, did you update-initramfs afterwards?
[00:52] <MikeRL> Nope.
[00:52] <MikeRL> should have. don't know how to.
[00:52] <MikeRL> Let me search it.
[00:52] <tomreyn> you'd also need to edit /etc/crypttab
[00:52] <MikeRL> My guess is I can chroot in.
[00:53] <MikeRL> Edit it to what?
[00:53] <tomreyn> you can probably chroot to it if you're running a 20.04 live system
[00:53] <tomreyn> (possibly also with others)
[00:53] <tomreyn> there's a man page for crypttab, i believe
[00:54] <tomreyn> yes, crypttab(5)
[00:54] <MikeRL> says error mounting after unlocking in disks.
[00:54] <MikeRL> I did use the correct passphrase.
[00:54] <tomreyn> i'd do it on the CLI, don't know the GUI tools well enough
[00:55] <tomreyn> also, i like to know what went wrong
[00:55] <Aktive> how do I make my mouse faster? I already have sensitivity to max. Or how do I increase dpi ?
[00:56] <tomreyn> settings -> devices -> mouse & touchpad -> mouse speed
[00:56] <MikeRL> Hmm. "mount: /mnt: unknown filesystem type 'crypto_LUKS'
[00:57] <MikeRL> I typed in "sudo mount /dev/sda6 /mnt/"
[00:57] <MikeRL> After fdisk -l. That shows the install
[00:57] <tomreyn> you need to     sudo cryptsetup luksOpen /dev/sda6 sda6_crypt
[00:57] <MikeRL> Oh thanks
[00:58] <tomreyn> then      sudo mount /dev/mapper/sda6_crypt /whereveryouwantit
[00:59] <tomreyn> unless you have lvm in there or some other layers
[00:59] <MikeRL> First one isn't being typed in correctly.
[01:00] <tomreyn> is there a key stroke eating monster on your keyboard?
[01:00] <MikeRL> I typed "sudo cryptsetup lukes0pen /dev/sda6 sda6_crypt.
[01:00] <tomreyn> this one is without using the force, luke
[01:00] <MikeRL> was that a typo? no just using irc on phone. sucks
[01:00] <tomreyn> just luksOpen
[01:00] <MikeRL> will change to desktop
[01:01] <tomreyn> and an upper case oooh, not a zero
[01:02] <MikeRL> Bingo.
[01:02] <MikeRL> Says already mounted.
[01:03] <MikeRL> Disks must've done the same thing as the first command.
[01:04] <tomreyn> so do you see at the mount point what you expect to see?
[01:04] <MikeRL> "mount: /dev/mapper/sda6_crypt: can't find in /etc/fstab".
[01:05] <MikeRL> More useful error than the GUI.
[01:06] <tomreyn> you need to indicate where to mount to
[01:06] <tomreyn> but then you just said it was already mounted?
[01:06] <tomreyn> if so, "mount" would say
[01:09] <MikeRL> I see nothing under mount.
[01:09] <MikeRL> It appeared mounted. my mistake. Shows in nautilus. under other locations.
[01:10] <MikeRL> but clicking it in disks and nautilus generates an error.
[01:10] <tomreyn> looks like you're still working with gui tools
[01:11] <MikeRL> Under mount command I see the Windows partition and a few MB partition I labelled ENCRYPT.
[01:11] <MikeRL> Used cli as well
[01:11] <tomreyn> what is a "MB partition"?
[01:12] <MikeRL> few megabytes.
[01:12] <tomreyn> ok sorry i really didn't get it, it's getting late
[01:12] <MikeRL> That's fine.
[01:12] <tomreyn> maybe you can share the fidsk - loutput?
[01:13] <MikeRL> I did get a more detailed error from using the cli earlier, too. did you catch it?
[01:13] <tomreyn> maybe you can share the    fdisk -l    output?
[01:13] <tomreyn> which one do you mean?
[01:13] <tomreyn> this? "mount: /dev/mapper/sda6_crypt: can't find in /etc/fstab".
[01:13] <MikeRL> Yes.
[01:14] <tomreyn> i had responded this: you need to indicate where to mount to - but then you just said it was already mounted? if so, "mount" would say.
[01:14] <MikeRL> I thought it was mounted
[01:14] <MikeRL> it was not.
[01:14] <tomreyn> i see. so run what i suggested earlier:
 then      sudo mount /dev/mapper/sda6_crypt /whereveryouwantit
[01:15] <tomreyn> replace /whereveryouwantit by an existing, empty directory
[01:15] <MikeRL> Can I place it in mnt?
[01:16] <tomreyn> in /mnt ? yes, if nothing else is mounted there
[01:16] <MikeRL> mnt is ok.
[01:16] <MikeRL> Similar error to GUI.
[01:17] <tomreyn> "mnt" is not ok, "/mnt" probably is
[01:17] <tomreyn> so you want to disclose this similar error?
[01:18] <MikeRL> "mount: /mnt: wrong fs type, bad option, bad superblock on /dev/mapper/sda6_crypt, missing codepage or helper program, or other error.
[01:19] <MikeRL> sda6_crypt did print with sudo fdisk -l
[01:19] <tomreyn> and the exact command you ran was?
[01:19] <MikeRL> sudo mount /dev/mapper/sda6_crypt /mnt
[01:20] <MikeRL> The directory was empty as well.
[01:20] <aaaardvark__> why is my do-release-upgrade on a 19.10 system not yet offering me 20.04 unless I do the -d switch?
[01:20] <tomreyn> MikeRL: looks good. what's the output of  file -s /dev/mapper/sda6_crypt
[01:20] <oerheks> !ltsupgrade
[01:20] <MikeRL> The cli and GUI errors even have very similar wording. but said wording is vague.
[01:20] <tomreyn> MikeRL: with sudo please
[01:20] <oerheks> it happens with 20.04.1 point release, i would wait
[01:21] <MikeRL> "/dev/mapper/sda6_crypt: symbolic link to ../dm-0
[01:21] <MikeRL> crap.
[01:22] <aaaardvark__> oerheks: I get why my 18.4 instances are not offering it - my question is why does my 19.10 not offer it?
[01:22] <MikeRL> Same output with sudo.
[01:22] <oerheks> aaaardvark__, same reason, LTS gives a different upgrade path, by design
[01:22] <tomreyn> MikeRL: that's ok. what's the output of   sudo file -sL /dev/mapper/sda6_crypt
[01:23] <oerheks> go for the -d option
[01:23] <MikeRL> At least I do have a 20.04 have from this week just in case. will get output.
[01:23] <aaaardvark__> oerheks: I relaize I can do the -d option - my qiestion remains why I am not being offered the choice without the -d
[01:23] <MikeRL> Give me a sec. can use hexchat.
[01:24] <MikeRL> typing on the phone is a pita.
[01:24] <tomreyn> sure
[01:24] <aaaardvark__> I have spun up a KVM 20.04 and amd REALLY impressed how fast it boots compared to 18.4 and 19.10
[01:25] <aaaardvark__> oerheks: but all docs I can find say that the 19.10->20.04 should be available by now
[01:25] <oerheks> lots of development project need this pause
[01:25] <MikeRL> Back.
[01:25] <MikeRL> Output is "/dev/mapper/sda6_crypt: Linux rev 1.0 ext4 filesystem data, UUID=e690c737-9fbc-402c-ab8a-657cfe879a5e (extents) (64bit) (large files) (huge files)
[01:25] <MikeRL> "
[01:25] <oerheks> all the doc, like omgubuntu?
[01:26] <oerheks> the iso is available for download.
[01:27] <aaaardvark__> oerheks: yes - I know it is available, as I said, I spun up a KVM version and really appreciate how much faster booting is
[01:27] <tomreyn> MikeRL: hmm, now i'm puzzles as to why this wouldn't mount with "mount: /mnt: wrong fs type, bad option, bad superblock on /dev/mapper/sda6_crypt, missing codepage or helper program, or other error." unless /mnt doesn't exist, of course.
[01:27] <tomreyn> *puzzleD
[01:28] <MikeRL> "/mnt" in the live usb
[01:28] <tomreyn> MikeRL: you could run e2fsck against it
[01:28] <MikeRL> Against the unlocked partition?
[01:28] <tomreyn> MikeRL: yes, /mnt on the live usb, should probably exist, and be writable, by root.
[01:29] <tomreyn> MikeRL: against the unlocked partition but unmounted file system on top of this partition, yes
[01:29] <tomreyn> use -f
[01:30] <MikeRL> https://ibb.co/DYv92Q1
[01:30] <MikeRL> Proof the folder exists and has the right permissions.
[01:31] <tomreyn> pretty tiny proof, but yes
[01:31] <tomreyn> though i have less trust in GUIs
[01:31] <tomreyn> !paste
[01:32] <MikeRL> Should I specify any arguments?
 use -f
[01:32] <MikeRL> Didn't know that bot.
[01:33] <MikeRL> e2fsck: Cannot continue, aborting.
[01:33] <MikeRL> Even though it says unmounted already after typing in sudo umount /dev/sda6
[01:33] <tomreyn> please show the full command you ran and its full output
[01:34] <tomreyn> or re-run like this:   sudo e2fsck -fn /dev/mapper/sda6_crypt 2>&1 | nc termbin.com 9999
[01:34] <MikeRL> Will rerun.
[01:35] <MikeRL> https://termbin.com/g1fp
[01:35] <MikeRL> Looks like the size is off.
[01:36] <tomreyn> the file system is larger than the container
[01:36] <tomreyn> you may have lost some data
[01:36] <MikeRL> How to go about fixing it? Well I got a backup.
[01:36] <MikeRL> File system had a lot of free space on it, but I take it that doesn't guarantee anything.
[01:36] <tomreyn> cryptsetup-reencrypt doesn't state it with as many uppercase characters as it probbaly needs to
[01:37] <tomreyn> it doesn't ensure that the existing file system will still fit onto the encryption layer
[01:37] <tomreyn> but obviously the resulting file system will need to be smaller than it used to be
[01:37] <tomreyn> since the encryption layer also takes some space on the partition
[01:38] <MikeRL> So, what is the next recommended move? I'm wondering...
[01:38] <tomreyn> you can resize2fs the file system
[01:38] <tomreyn> but i'm not sure it'll be happy to do this with a dirty file system
[01:39] <tomreyn> actually it may not have the dirty bit set
[01:39] <MikeRL> I'll run it with the -f option.
[01:40] <tomreyn> is it needed, though?
[01:41] <MikeRL> Uh oh.
[01:41] <MikeRL> Failed.
[01:41] <MikeRL> "resize2fs 1.45.5 (07-Jan-2020) resize2fs: Device or resource busy while trying to open /dev/sda6 Couldn't find valid filesystem superblock."
[01:41] <tomreyn> busy? so it is mounted?
[01:41] <tomreyn> what did you run?
[01:42] <MikeRL> Nothing except what was told.
[01:42] <tomreyn> /dev/sda6
[01:42] <tomreyn> no one said /dev/sda6
[01:43] <tomreyn> that's a partition containing a crypto layer
[01:43] <MikeRL> Oh.
[01:43] <MikeRL> It's supposed to be sda6_crypt, right?
[01:43] <tomreyn> yes, in a different directory
[01:43] <tomreyn> e2fsck and resize2fs operate on file systems
[01:44] <tomreyn> sda6_crypt is the unlocked crypto layer containing a file system
[01:44] <MikeRL> OK.
[01:44] <MikeRL> So I tried that. But where would the directory be?
[01:45] <MikeRL> Sorry I am not well versed with encryption on Linux. Or in general.
 "/dev/mapper/sda6_crypt: symbolic link to ../dm-0
[01:45] <MikeRL> Did see that in a command earlier.
[01:46] <tomreyn> so you can either specify /dev/mapper/sda6_crypt or /dev/dm-0
[01:47] <MikeRL> "ubuntu@ubuntu:/mnt$ sudo resize2fs -f /dev/dm-0
[01:47] <MikeRL> resize2fs 1.45.5 (07-Jan-2020)
[01:47] <MikeRL> Resizing the filesystem on /dev/dm-0 to 136758784 (4k) blocks.
[01:47] <MikeRL> resize2fs: Attempt to read block from filesystem resulted in short read while trying to resize /dev/dm-0
[01:47] <MikeRL> Please run 'e2fsck -fy /dev/dm-0' to fix the filesystem
[01:47] <MikeRL> after the aborted resize operation.
[01:47] <MikeRL> "
[01:47] <tomreyn> !paste
[01:47] <heitibd> hi
[01:47] <tomreyn> MikeRL: you got muted for posting too many lines to the channel at a time. the mute will expire shortly
[01:47] <heitibd> i need help! when i close lid i want my screen to lock. how to do that? Using 20.04 LTS
[01:48] <tomreyn> MikeRL: use https://paste.ubuntu.com
[01:48] <MikeRL> https://paste.ubuntu.com/p/CyZX65G4FQ/
[01:48] <tomreyn> (see /topic )
[01:49] <tomreyn> so do what it suggests
[01:49] <MikeRL> I could try running the suggested command next.
[01:49] <tomreyn> with sudo
[01:49] <MikeRL> It auto aborts.
[01:50] <heitibd> anyone is there?
[01:50] <heitibd> no one know how to make this work?
[01:50] <tomreyn> MikeRL: details please
[01:50] <MikeRL> https://paste.ubuntu.com/p/98KDDPBJ8Q/
[01:52] <tomreyn> MikeRL: so i'm not sure how to handle this situation gracefully other than by copying this file system onto a a device that provides as much space as the file system thinks it is large.
[01:52] <MikeRL> Verbose mode gives the same output.
[01:52] <heitibd> !help
[01:52] <heitibd> i need help! when i close lid i want my screen to lock. how to do that? Using 20.04 LTS
[01:52] <tomreyn> MikeRL: you can re-run without -y and continue, possibly breaking the file system
[01:52] <MikeRL> Figured something out.
[01:54] <heitibd> is this channel logged?
[01:54] <MikeRL> It was auto-answering yes, Figured that out of the man pages.
[01:54] <MikeRL> I don't think the command fixed it. I will give another paste.
[01:55] <tomreyn> heitibd: irclogs.ubuntu.com
[01:55] <MikeRL> https://paste.ubuntu.com/p/rkSrHmrNgY/
[01:55] <MikeRL> Could try replacing the superblock
[01:55] <heitibd> tomreyn: how can i grep it?
[01:57] <MikeRL> So what caused my error in short again? The partition was resized too small? The man page mentions that can be done to create another partition for the encryption keys.
[01:58] <tomreyn> MikeRL: what you need to do is to resize the file system to match the size of its underlying layer, which has decreased due to adding the crypto layer in between
[01:58] <MikeRL> Yeah no errors except the size thing.
[01:58] <tomreyn> MikeRL: you can specify a desired size when running resize2fs
[01:59] <MikeRL> How do I go about it? It coughed up issues before. Try this time with /dev/dm-0?
[01:59] <MikeRL> Is the default size in bytes?
[01:59] <tomreyn> no, in blocks
[01:59] <MikeRL> Is there a way to specify in bytes?
[02:00] <tomreyn> the size returned by e2fsck is also in blocks
[02:00] <tomreyn> so it should be easy
[02:00] <tomreyn> sudo resize2fs /dev/mapper/sda6_crypt 136758784
[02:01] <tomreyn> heitibd: you can download logs, then run grep on them, i guess
[02:02] <flyback> there
[02:02] <flyback> fixed
[02:02] <heitibd> tomreyn i want to without download.. or if not possible how to download?
[02:02] <flyback> just had to do a manual partition because the installer system incorrectely assumes it's a efi system
[02:02] <MikeRL> https://paste.ubuntu.com/p/xNCq9Y2DB4/
[02:03] <MikeRL> Stuck in a loop. e2fsck -f returns no errors.
[02:03] <tomreyn> heitibd: what are you hoping to achieve?
[02:03] <heitibd> tomreyn you join now?
[02:05] <oerheks> gnome-teak-tool gives the option 'suspend when laptop lid is closed'
[02:05] <oerheks> !info gnome-tweak-tool
[02:05] <tomreyn> MikeRL: so yes, try a different superblock, the original one is probably no longer there
[02:05] <heitibd> no it doesnt
[02:05] <oerheks> yes it does.
[02:06] <heitibd> wait suspend
[02:06] <heitibd> i said iwant lock
[02:06] <heitibd> please read..
[02:06] <MikeRL> I may just restore and reencrypt. But where did I go wrong? I'd have to reread the man page.
[02:06] <MikeRL> Thanks for all the help.
[02:06] <heitibd> oerheks suspends works but i want to lock instead
[02:07] <tomreyn> MikeRL: i tried to explain twice :/
[02:07] <MikeRL> I must've not read it. Oops.
[02:07] <tomreyn> MikeRL: using 'reencrypt', you're adding a new layer between the partition and the file system. this layer takes some space.
[02:08] <tomreyn> so you need to shrink the file system before you do it
[02:08] <MikeRL> As in shrinking the partition via the GUI would cut it?
[02:09] <tomreyn> shrinking a partition is a different action than shrinling a file system
[02:09] <MikeRL> Yes.
[02:10] <tomreyn> some GUIs would realize that they would need to shrink upper layers if you try to shrink lower layers. others may not.
[02:10] <oerheks> dconf editor gives some paths; org.gnome.settings-daemon.plugins.power lid-close-ac-action --- org.gnome.settings-daemon.plugins.power lid-close-battery-action
[02:10] <oerheks> both are suspend standard
[02:11] <MikeRL> So there's a difference... Shrinking a file system sets aside space for stuff like encryption.
[02:12] <heitibd> oerheks they dont have option to lock
[02:12] <tomreyn> MikeRL: if you'll keep the partition at the same size, then running the resize2fs command to shrink the file system to the specific size of 136758784 blocks (or safer: a litte less) *before* doing the 'reencrypt' should make things work fine.
[02:12] <oerheks> if that does not apply, HandleLidSwitch=lock https://askubuntu.com/a/1200757
[02:13] <heitibd> oerheks oh yeah it doesnt work LOL
[02:15] <MikeRL> Tired. Thanks. What I'll do is shrink from the command after a restore. Maybe 136600000?
[02:15] <MikeRL> Should be enough. At least I hope.
[02:16] <tomreyn> MikeRL: you can extend the file system to cover the full available space within the crypto layer after cryptsetup_reencrypt finished.
[02:16] <tomreyn> extending is as easy as running resize2fs against the file system without any parameters
[02:17] <tomreyn> even works while it's mounted
[02:17] <tomreyn> for the preparatory step of shrinking the file system, see the example "Add LUKS encryption to not yet encrypted device" in cryptsetup-reencrypt(8)
[02:19] <MikeRL> Thank you sir.
[02:19] <MikeRL> I am tired now. Goodbye.
[02:19] <tomreyn> MikeRL: 136600000 is less than 136758784 so it should be ok
[02:19] <MikeRL> Yep.
[02:19] <tomreyn> goodbye, tired here, too
[02:28] <Aktive> @tomreyn, I already said I have it on max
[02:35] <heitibd> hi
[02:35] <heitibd> someone wrote something?
[03:12] <pnwise> Does anyone from the maintainers comes here?
[03:13] <pnwise> Or better from canonical
[03:13] <pnwise> https://www.reddit.com/r/linux/comments/gc7p1t/ubuntu_2004_lts_snap_obsession_has_snapped_me_off/
[03:13] <pnwise> if so better forward this in your internal channels
[03:13] <pnwise> I mean if you care, I am noone to tell you what to do
[03:14] <oerheks> read that,
[03:15] <oerheks> if one does not like the design and snaps, hop distro?
[03:15] <pnwise> I used to unistall snapd before, will see if that works next few days
[03:15] <pnwise> Sure will do
[03:16] <pnwise> I still have not tested it, I am evaluating the server for our infrastructure, but it doesn't look like the desktop will make it for me
[03:16] <pnwise> The thing is I don't even use the desktop, mainly I use ubuntu for the apt with i3
[03:16] <pnwise> whatever, just though someone might be interested
[03:16] <pnwise> going to bed
[03:17] <OERIAS> Does anyone know how to remove the studpid pantheon title bars and restore them to the classic title bars?
[03:28] <matsaman> OERIAS: screenshot?
[03:48] <OERIAS> matsaman, this type of title bar
[04:06] <matsaman> OERIAS: ?
[04:06] <OERIAS> matsaman, https://imgur.com/LzRxXTi
[04:14] <de-facto> what is wrong with chromium, its unable to print, generating preview forever
[04:15] <de-facto> every few months its got some serious issues with major functionality
[05:02] <eSoul> Sorry if its been asked 100 times already, any news on when do-release-upgrade from 19.10 to 20.04 will work without the -d option
[05:02] <rainmanjam> Hey everyone. running into a strange issue when it comes to my updates. Getting these two issues https://pastebin.com/jPv8bwSb https://pastebin.com/abbVFtJU
[05:38] <noraatepernos> I’ve been trying to figure out a good  way to recursively see which files have been modified within the past 3 hours and I get everything.  Was just subject to this zeromq exploit.
[05:38] <noraatepernos> Stopped their bitcoin miner.  I’m just curious what else they left around.
[05:43] <tripelb> There's a word that I forgot It's for a de That doesn't have a desktop It just has windows.. Oh yes I three is one Now I can look it up
[05:46] <tripelb> Tiling windows manager
[05:49] <warsoul> hello
[05:49] <warsoul> how i install tcl 8.5?
[05:52] <oerheks> warsoul, not, we are at 8.6.x for some time now
[05:52] <oerheks> https://launchpad.net/ubuntu/+source/tcltk-defaults
[05:55] <devslash> Ubuntu hangs at a purple screen after updating 18.04 to 19.04. I booted to single user mode. mounted my fs and did chroot. i do dpkg --configure -a and i see W: couldn't identify type of root file system for fsck hook
[05:58] <warsoul> Tcl error in file 'eggdrop.conf':
[05:58] <warsoul> can't find package dict
[05:58] <warsoul>     while executing
[05:58] <warsoul> "package require dict"
[05:58] <warsoul> how i install the dict
[05:58] <warsoul> ?
[05:59] <warsoul> thanks
[05:59] <warsoul> need to install dict
[06:10] <Junior> good morning!
[06:11] <Junior> i have a server which runs an old version of ubuntu - 14.04 LTS - untill when do i have to time to upgrade all my web apps to run on php 7 so that i can upgrade to ubuntu 16 then eventually to 18?
[06:12] <Junior> based on https://wiki.ubuntu.com/Releases I have time untill April 2022 - is this correct?
[06:14] <warsoul> Ubuntu 14.04.6
[06:14] <warsoul> im on this ubuntu
[06:14] <warsoul> how do i upgrade to the new version 20.04
[06:15] <luna_> warsoul: sudo update-manager -d
[06:15] <warsoul> this erase what i have saved
[06:15] <warsoul> ?
[06:19] <devslash> im not sure what else to do at this point
[06:22] <Junior> warsoul theoretically it won't erase your files but if i recall well and if you are running ubuntu server some softwares have changed their configurations so some services might not start as disired so act with caution. If i recall well I had problems with sendmail on this
[06:24] <oerheks> i would reinstall
[06:26] <warsoul> Junior im running just a irc server
[06:26] <warsoul> after i update
[06:26] <warsoul> should i reboot?
[06:26] <oerheks> so long without updates, .. bad
[06:29] <eSoul> Junior:  Unless you are paying for extended support, 14.04 stopped receiving security updates in 2019
[06:32] <oerheks> yes, why should we take this request seriously
[06:38] <matsaman> Junior: I don't know much about it, but it kinda looks like you can get 5.6 on 20.04 from this PPA: https://launchpad.net/~ondrej/+archive/ubuntu/php/+packages?field.name_filter=5.6&field.status_filter=published&field.series_filter=
[06:38] <matsaman> Junior: after which you should definitely upgrade your PHP stuff, and/or stop using such a poorly implemented language altogether
[06:39] <The_LoudSpeaker> Hey! I have an ubuntu 18.04 server set up on AWS. I didn't yet get the option to upgrade to 20.04. even after running a do-release-upgrade.
[06:39] <oerheks> !ltsupgrade
[06:39] <oerheks> wait for 20.04.1
[06:40] <The_LoudSpeaker> Oh! Okay. Thanks!
[06:40] <oerheks> and aws, they will provide images, i hope
[06:42] <The_LoudSpeaker> And what about those running 19.10?
[06:47] <Junior> matsaman i have some old apps on php 5.5, i have upgraded most of them i cannot install on 18/20 ubuntu 5.5 :)
[06:48] <matsaman> php 5.5 isn't compatible with 5.6?
[06:48] <matsaman> if so that's worse than I thought, which was pretty worse
[06:51] <Junior> some elements changed from 5.5 to 5.6
[06:51] <Junior> i don't have many apps on 5.5 though
[06:52] <Junior> my sole problem is untill when i have to upgrade
[06:52] <Junior> i prefer lose one legacy app instead of losing the server
[07:00] <matsaman> well you should probably upgrade everything (including scripts) a lot more often
[07:03] <matsaman> 5.5 has been EOL for 3.75 years
[07:26] <Junior> matsaman when there are too many things to do...
[07:31] <Kristine86> I am trying to make hdmi external monitor work with my laptop using Ubuntu, can anybody help me?
[07:31] <Kristine86> its Ubuntu 20.04 LTS
[07:32] <CarlFK> Kristine86: it should "just work"
[07:32] <Kristine86> CarlFK it didn't and it didn't show up in Settings>Display either
[07:34] <Kristine86> CarlFK I was trying to solve this for a week and now it suddenly worked. I just added one more stick of 8GB ddr4 ^^
[07:34] <CarlFK> \o/
[07:34] <Kristine86> what does that symbol mean? hehe
[07:34] <CarlFK> my arms over my head rejoicing
[07:35] <Kristine86> oh haha yipeeee. I'm so happy. Now I just need to solve issue of dual booting with Windows.
[07:44] <fastfresh> What is the package that provides screen sharing in gnome settings?
[07:51] <k-rad> so I'm doing a speedtest from a vps in SoCal and for some reason the 'nearest' server it's selecting based on ping is in far eastern Russia
[07:51] <k-rad> so I'm doing a speedtest from a vps in SoCal and for some reason the 'nearest' server it's selecting based on ping is in far eastern Russia
[07:51] <k-rad> Selecting best server based on ping...
[07:51] <k-rad> Hosted by CJSC TransTeleCom DV (Khabarovsk) [7134.77 km]: 314.325 ms
[07:51] <k-rad> lel
[07:51] <olegb> fastfresh: vino (https://help.gnome.org/users/gnome-help/stable/sharing-desktop.html.en)
[07:52] <fastfresh> olegb: and what is gnome-remote-desktop?
[07:59] <olegb> ubottu: !info gnome-remote-desktop
[07:59] <olegb> ubottu: info gnome-remote-desktop
[08:00] <olegb> fastfresh: apt show gnome-remote-desktop ... since ubottu isnt helping much :-)
[08:01] <olegb> fastfresh: I guess both should work ..
[08:03] <fastfresh> Thanks
[08:11] <OERIAS> can some help with a title bar issue?
[08:12] <OERIAS> I hate the panteon title bars and I want to have the classic title bar
[08:12] <OERIAS> https://imgur.com/a/920P1Bi
[08:15] <oerheks> 'classic' as in gnome? elementary guys maybe know howto, ..
[08:17] <OERIAS> oerheks, thanks I will check with them
[08:57] <AndreasR> Aloha
[08:57] <luna_> hey
[08:58] <matsaman> shalom
[08:58] <AndreasR> I got a DELL laptop that after suspending longer amounts of time (like.. overnight) freezes after grub prompt- I searched launchpad for bugs.. found some.. upgraded to ubuntu 20.04 for testing and disabled the nvidia proprietary driver.. but still. short amounts work fine. Longer times it freezes.
[08:59] <AndreasR> fun fact: it will resume when I plug in a power cable :)
[08:59] <AndreasR> can I raise this as a bug?
[08:59] <matsaman> you can, it might be ignored or invalidated
[09:00] <AndreasR> it's hard to capture any useful output.. as it freezes right after GRUB
[09:00] <matsaman> I wonder if you're suspending to ram when maybe you should suspend to disk
[09:00] <matsaman> or the like
[09:01] <AndreasR> i tried masking hibernate.target and suspend-then-hibernate.target but same..
[09:01] <AndreasR> matsaman: I will try the other route, I guess. (only hibernate)
[09:01] <matsaman> sometimes also
[09:02] <matsaman> there can be a mismatch between the BIOS settings and what the OS is configured for
[09:02] <matsaman> the BIOS settings/actual hardware support, and what the OS is configured for
[09:03] <AndreasR> :)
[09:03] <AndreasR> brb.. reboot to BIOS to check
[09:15] <AndreasR> meh.. all I can do in BIOS is "disable sleep for OS" :/
[09:15] <AndreasR> should have gotten a thinkpad methinks ;)
[09:20] <AndreasR> ahwell. there seems to be something like that - I am joining that https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1853369
[09:22] <ghaoil> Is there a way to configure Ubuntu (PAM) to connect to a SSH server with the username and password provided, and when that connection is successful to allow the local login even if the user might not exists locally.
[09:23] <AndreasR> take care people :)
[09:24] <broomhall> During install of 20.04 desktop, do you need to use LVM now to use disk encryption? Can't seem to find a way to use disk encryption without going into "Advanced features".
[09:26] <ghaoil> broomhall: No, you can add a new partition and select something stating encryption there.
[09:28] <broomhall> ghaoil: thanks. There used to be an easy check box rather than needing to use the advanced partitioning tool. I guess that's not there anymore.
[09:32] <pankaj_> Does sticky bit has any significance on modern linux systems?
[09:33] <mindofmateo> Is there any way to set `alt_r` to `caps` with setxkbmap?
[09:34] <mindofmateo> I have been searching through stack overflow for quite a while and reading docs/files eg the man page, but I've only made mistakes and had to reboot so far :shrug:
[09:37] <usr123> there was a game I used to play about 1-2 years ago. It was a mix of FPS and minecraft. I can't remember the game's name. I downloaded it from the software market in ubuntu
[09:38] <usr123> any one has an idea which game I might have played?
[09:40] <usr123> openspades
[09:40] <usr123> got it
[09:55] <Forza> Hi. I would like to install samba 4.12 in my ubuntu 20.04 vm. How can I do that? =)
[10:11] <pankaj_> quit
[10:15] <rory> Forza: 20.04 ships 4.11, there are no packages for 4.12 (yet) - if you do need 4.12 specifically it looks like you have to build it yourself https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba
[10:15] <rory> or wait.
[10:17] <Forza> rory: thanks. I'll go with Fedora for now. It is just a test VM to test the new io_uring vfs module.
[10:18] <rory> cool, good luck.
[10:19] <Forza> rory: thanks =)
[10:29] <Voziv> Anyone know why when a different app makes a sound I get a popping sound in my headphones? For example if I get a bell in the terminal I get the pop, then if I play something with sound in firefox it happens again. Then the next time the terminal makes a sound the same thing.
[10:30] <Voziv> Was happening previously on 19.10, just upgraded to 20.04 this morning. I'm using a usb sound card (Scarlett 2i2)
[10:35] <BluesKaj> Howdy all
[11:39] <crimson_king> Some third-party scripts look for the 'python' executable instead of python3, which is the one that comes installed by default. They fail because 'python' is not installed. It requires Python v3, by the way, not v2. How do you work around this?
[11:41] <jeremy31> crimson_king: edit the script and make the first line point to the executable needed, example #! /usr/bin/env python3.5
[11:41] <manjaro> what's up everyone
[11:41] <crimson_king> hmmm... it's a lot of files. I'm building LineageOS. It's huge.
[11:41] <crimson_king> alternatives?
[11:41] <ioria> python-minimal maybe (not sure) crimson_king
[11:42] <crimson_king> i'll take a look
[11:42] <ioria> crimson_king, nope, not available in repo
[11:43] <crimson_king> ah! found a way, i think
[11:43] <tomreyn> if you don't have a "python" executable in path already, you could use the update-alternatives system to point it to python3
[11:43] <crimson_king> the package 'python-is-python3'
[11:43] <crimson_king> does that, so /usr/bin/python is python3
[11:43] <ioria> crimson_king, yeah
[11:44] <tomreyn> hehe nice
[11:44] <raidghost> What intel graphics driver is recommanded for ubuntu 20.04 LTS ?
[11:44] <raidghost> The card is a Intel Graphics 4600
[11:46] <ioria> crimson_king, but honestly might cause some confusion 'cause python2.7 is still available in focal
[11:47] <jeremy31> raidghost: the correct driver should be included in install
[11:48] <raidghost> jeremy31: weird. since have some issues trying to build openttd from source
[11:49] <raidghost> configure: error: no video driver development files found
[11:51] <crimson_king> ioria, "In Ubuntu, all python packages use explicit python3 or python2 interpreter and do not use unversioned /usr/bin/python at all. Some third-party code is now predominantly python3 based, yet may use /usr/bin/python." - Maybe this means it should be safe at least to what comes from Ubuntu. It would only break third-party scripts, if they need 'python' to be python 2.x, I think.
[11:55] <ioria> crimson_king, that's true for the ubuntu packages
[11:56] <raidghost> jeremy31: so how do i solve it?
[11:58] <jeremy31> raidghost: no idea
[12:08] <blurkis> raidghost: you might need development-files for some library.  The os comes with needed libraries to run, but most often not the development-files.  You need to figure out what files. For example, library-devel, where library is the package name.
[12:11] <blurkis> raidghost: after looking,  openttd uses sdl. So you need sdl-devel.  Im not sure of the exact name.  Do a "apt-cache search sdl|grep devel"  That will most likely list the packages needed to install
[12:27] <tasuki> DNS seems to be handled in a very complicated way on Ubuntu 20.04, the following all seem involved and I'm not too sure how they interact with each other: Netplan, NetworkManager, systemd-resolved ... where can I read more about this?
[12:34] <blb4393> crimson_king: you create a symlink
[12:35] <crimson_king> blb4393, I already solved it by installing python-is-python3. Thanks
[12:35] <rory> crimson_king: thank you for this package!
[12:35] <blb4393> probably it creates a symlink
[12:35] <crimson_king> yes
[12:36] <rory> > /usr/bin/python: symbolic link to python3
[12:36] <rory> it does :) in an apt-y way.
[12:37] <onio> Hi I am looking for an application that can simulate a projector unit. I want to use with an presentation application that expects to connect to a projector on a given IP and port number
[12:45] <blb4393> I can't believe that python2 eradication story if close to be over. How long did it take, like, 10 years?
[12:46] <tasuki> My `/etc/resolv.con` contains lines: `# Generated by NetworkManager` and `nameserver 127.0.1.1`, I'd like the second line to say `nameserver 127.0.0.1` - what do I have to do?
[12:47] <tasuki> */rec/resolv.conf
[12:48] <StevenJayCohen> Edit the file? Open a text editor and edit the file. Am I missing something?
[12:49] <tasuki> Yes, but it gets overridden to 127.0.1.1 the next time NetworkManager starts. I want this to be a permanent change.
[12:49] <tasuki> Ie I don't know where the `127.0.1.1` is coming from. If I knew, I could easily fix it I suppose.
[12:50] <StevenJayCohen> Or, you could figure out how to over ride it in a user config instead of fighting with the machine.
[12:50] <tasuki> Yes, how to override it in a user config?
[12:51] <raidghost> blurkis: https://pastebin.com/prp8Q1dJ (What packages needed?)
[12:51] <StevenJayCohen> tasuki: Google is your friend: https://itsfoss.com/resolvconf-permanent-ubuntu/
[12:53] <StevenJayCohen> You do see how the question that you asked does not even come close to describing your problem?
[12:53] <StevenJayCohen> How do I edit a file?
[12:54] <StevenJayCohen> I happened to be looking at the channel and got you to clarify, but man, you'd typically hear crickets with a question like that.
[12:55] <StevenJayCohen> Take your time, write out the whole situation in 1 long description of the problem next time
[12:56] <tasuki> fwiw this doesn't work
[12:56] <tasuki> and I'm pretty angry about the whole situation hence the lack of coherence
[12:57] <tasuki> $ cat /etc/dhcp/dhclient.conf
[12:57] <tasuki> # Configuration file for /sbin/dhclient.
[12:57] <tasuki> prepend domain-name-servers 127.0.0.1;
[12:57] <tasuki> 14:55:11 vita@balrog ~
[12:57] <tasuki> $ sudo service network-manager restart
[12:57] <Eickmeyer> !paste | tasuki
[12:57] <tasuki> 14:55:21 vita@balrog ~
[12:58] <tasuki> here, that's the way it doesn't work: https://paste.ubuntu.com/p/nJgYvwy3kW/
[13:00] <StevenJayCohen> tasuki: You did 1/2 of what it suggested, you removed the # but ignored the other half of the instruction
[13:00] <Eickmeyer> tasuki: If you don't get a response here, I'd try asking in ##networking.
[13:01] <StevenJayCohen> Remove the preceding “#” and use the domain-name and domain-name-servers which you want. Save it. Now the DNS related changes will be permanent.
[13:02] <StevenJayCohen> You've manually assigned domain-name-servers 127.0.0.1 instead of directing it anywhere
[13:04] <tasuki> hmm, so what's the `supersede domain-name` supposed to be set to?
[13:04] <StevenJayCohen> what were you setting it to in the file that was being over written?
[13:04] <tasuki> anyway, installing resolvconf helped - that's how it used to work for years and it worked splendidly and I don't understand why things have to be changed around all the time and that's why I'm upset
[13:05] <tasuki> StevenJayCohen and Eickmeyer thank you both for help and patience!
[13:20] <makara> https://jatan.blog/2020/05/02/ubuntu-snap-obsession-has-snapped-me-off-of-it/
[13:27] <xet7> makara: that's just FUD
[13:29] <makara> yeah
[13:31] <cyveris> What parts of it are inaccurate?
[13:31] <cyveris> Calling it FUD doesn't provide much value.
[13:32] <xet7> All that hate for Snap is FUD
[13:33] <xet7> Because of Snap security updates are installed fast
[13:33] <xet7> It's the best system available
[13:34] <JacksonMike> Should I use  csh or tcsh   with ubuntu 20.04, i dont really know the difference
[13:34] <cyveris> That doesn't refute any particular point made. The whole article is critical of snaps.
[13:35] <cyveris> xet7: Saying the whole article is wrong doesn't do anything to inform people who have little experience with snaps - like me - about what's true and what's not.
[13:37] <cyveris> Because even a single point - such as apt install chromium-browser forcing you to go the snap route - is pretty bad. And that one, I can confirm.
[13:38] <makara> most pesky thing for me is having hundreds of loopback devices when I want to check disk space
[13:38] <xet7> What would be solution to that?
[13:39] <xet7> Would community step up to provide .deb packages?
[13:40]  * StevenJayCohen wonders if this conversation should be in the off topic channel?
[13:40] <makara> i suppose i could set an alias to grep sda
[13:41] <makara> he's wrong about auto-updates. He should do what popey said and download the package
[13:41] <makara> tell me one thing though, is it true apps are slow to launch?
[13:41] <cyveris> xet7: https://packages.debian.org/buster/chromium
[13:41] <cyveris> xet7: It's already there.
[13:41] <cyveris> makara: From my experience, yes.
[13:42] <cyveris> StevenJayCohen: And probably.
[13:43] <StevenJayCohen> See you there!
[13:44] <xet7> I do make Snap package for Wekan, it has strict confinement. For me Snap works great.
[13:44] <Xard> at least in 20.04 gnome system monitor now excludes the snap loop devices and in terminal "df -x squashfs" does the same
[13:47] <makara> Xard: thanks!
[13:47] <JacksonMike> Should I use  sh, csh or tcsh   with ubuntu 20.04, i dont really know the difference
[13:49] <makara> JacksonMike: zsh with oh-my-zsh and powerlevel9k
[13:49] <Xard> I used snaps regularly in 18.04 and the cluttering of the disk space indicators was worst problem I encountered
[13:50] <Eickmeyer> Xard: This channel is strictly for support. Please take anything else to #ubuntu-offtopic.
[13:50] <JacksonMike> makara alright ty
[13:54] <StevenJayCohen> <JacksonMike "Should I use  sh, csh or tcsh   "> If you don't know the difference, just use the default (it's the default for a reason). If you do some research and come up with a real reason to change, then it makes sense to change :)
[13:55] <makara> by the time he's set up that lot he'll know all about shells ;)
[13:57] <StevenJayCohen> Probably best to find a #channel for each shell and talk there with people about the pluses and minuses of each. This is the support channel for Ubuntu issues. And really, "which shell" isn't an issue...
[13:58] <Eickmeyer> Historically, such "poll" or opinion-based questions haven't been allowed here.
[13:59] <StevenJayCohen> Right, that's why I suggested finding a channel for each shell and talking there.
[14:00] <Eickmeyer> StevenJayCohen: I was agreeing with you. :)
[14:00] <JacksonMike> Eickmeyer StevenJayCohen This channel is strictly for support. Please take anything else to #ubuntu-offtopic.
[14:01] <Eickmeyer> JacksonMike: If you're going to mock or troll, please leave now.
[14:01] <JacksonMike> im kidding, luv u <3
[14:01] <Eickmeyer> JacksonMike: Hard to tell. :)
[14:07] <heitibd> hi
[14:08] <heitibd> i installed 20.04 LTS but having issue
[14:09] <Aktive> hello
[14:09] <heitibd> hello
[14:09] <StevenJayCohen> heitibd: Write out the entire issue in 1 long post explaining as much as you can at once. "having issues" isn't helpful on our end :)
[14:09] <Aktive> How do I make my mouse faster? I already maxed it out in settings. Or how do I increase dpi ?
[14:09] <heitibd> Yes, so when I close the laptop lid it suppose to lock screen/suspend but neither of them works. Today it worked. Help?
[14:11] <tomreyn> so it doesn't work but actually today it works? this seems contradictive to a degree, can you explain?
[14:11] <heitibd> yes i explained
[14:11] <StevenJayCohen> heitibd: Do you have gnome tweaks installed?
[14:11] <heitibd> tomreynwhat you dont understand?
[14:12] <heitibd> StevenJayCohen: yes
[14:12] <StevenJayCohen> heitibd: And you have that setting turned on, I assume. So, what do you see in Logs after the error happens?
[14:13] <heitibd> StevenJayCohen i dont know how to access the logs. yes its turned on
[14:15] <StevenJayCohen> heitibd: SuperKey and type Logs
[14:18] <heitibd> i dont know so many logs
[14:20] <ioria> heitibd, in general, when suspend is not working is due to hardware not (completely) supported by the os; so ...what's your hw ?
[14:20] <heitibd> intel cpu, intel gpu
[14:21] <ioria> heitibd, ok, it has a name ... brand ?
[14:21] <Aktive> nevermind
[14:21] <heitibd> ioria can you read here https://ubuntuforums.org/showthread.php?t=2442362
[14:22] <ioria> heitibd, so you disable it ?
[14:22] <heitibd> I actually revert on gnome-tweaks to suspend and return to default
[14:23] <heitibd> and today it lock the screen instead of suspending it
[14:23] <ioria> better you don't like overheating
[14:23] <heitibd> huh?
[14:24] <heitibd> ioria: can you help me please?
[14:24] <ioria> heitibd, if you disable suspend and close the lid, the machine stays up and running
[14:24] <heitibd> I enabled it
[14:24] <ioria> ok
[14:24] <heitibd> let me update the post
[14:24] <heitibd> SMH
[14:24] <ioria> heitibd, lspci -nnk | nc termbin.com 9999
[14:24] <heitibd> im troubleshooting all day since yesterday
[14:25] <AndreasR> if I close and open my lid and then do "systemctl status systemd-logind" I see:
[14:25] <AndreasR> #systemd-logind[977]: Lid closed.
[14:25] <AndreasR> #systemd-logind[977]: Lid opened.
[14:25] <AndreasR> but no suspend, either
[14:25] <AndreasR> hmmm
[14:25] <heitibd> yes i did see that but SMH it doesn't really help
[14:25] <heitibd> just to EXAMINE it close lid
[14:25] <heitibd> SMH
[14:26] <heitibd> ioria i dont feel like sharing my hardware information. what do u want to know exactly?
[14:26] <AndreasR> in tweak tools "Suspend when laptop lid closed" is enabled.. but no sleep here, either.
[14:26] <heitibd> yep bro
[14:26] <heitibd> do you have 20.04 ?
[14:26] <heitibd> i mean do you use it?
[14:26] <AndreasR> if you stop calling me bro I will talk to you :)
[14:26] <heitibd> done
[14:27] <heitibd> also i dont mind its an issue and 100% everyone has it
[14:27] <heitibd> i mean i really want it to resolve for the community
[14:27] <v0lksman> I just upgraded a host from 16.04 to 18.04...now I'm ready to upgrade to 20.04 but I'm getting this error when I do-release-upgrade
[14:27] <v0lksman> There is no development version of an LTS available.
[14:28] <v0lksman> ls-release: DISTRIB_RELEASE=18.04
[14:29] <Andrio> out of curiosity, when is 19.10 no longer supported?
[14:29] <standeronore> v0lksman I Had the same issue from 19.10. Backed up and reinstalled completely. But did you add new repos?
[14:30] <heitibd> AndreasR im sorry
[14:30] <heitibd> i hope you are not hurtful
[14:30] <AndreasR> so.. all my fans start spinning full speed when I close the lid but no suspend.
[14:30] <v0lksman> I have the postgresql repo enabled yes
[14:30] <heitibd> pls take my apologize sir
[14:30] <AndreasR> I don't like bro culture that's all :) trying to fix problems is awesome
[14:30] <heitibd> do you have 20.04 ?
[14:32] <heitibd> AndreasR can you cat /etc/systemd/logind.conf ?
[14:32] <DJones> Andrio: Looks like its around march/april 2021
[14:33] <standeronore> v0lksman Sorry, you mean the `deb https://...`?
[14:33] <v0lksman> yeah
[14:33] <v0lksman> only one non-standard repo
[14:33] <Andrio> ah.
[14:33] <heitibd> ioria hello?
[14:34] <DJones> Andrio: Correction, July 2020
[14:34] <DJones> Andrio: https://endoflife.software/operating-systems/linux/ubuntu
[14:35] <v0lksman> https://dpaste.org/oRPw
[14:35] <v0lksman> doesn't make any sense
[14:38] <ioria> heitibd, have you tried this ? https://itsfoss.com/ubuntu-close-lid-suspend/
[14:38] <standeronore> v0lksman, I've used to follow this guide: https://linuxconfig.org/how-to-upgrade-ubuntu-to-20-04-lts-focal-fossa. What it did: it changed all the repos from 19.10 to 20.04, but when attempting `do-release-upgrade` it showed me only the development version.
[14:39] <heitibd> ioria what exactly?
[14:39] <heitibd> why doesn't ubuntu comes with pm-utils? I don't know this package.
[14:39] <AndreasR> I disabled Intel TPM in BIOS and it looks better now..
[14:39] <heitibd> huh?
[14:39] <heitibd> u disabled and now it suspend or lock?
[14:39] <AndreasR> I can suspend/resume
[14:40] <AndreasR> took me two reboots .. also had to disable secure boot
[14:40] <AndreasR> :/
[14:40] <heitibd> ok but do you use gnome-tweaks?
[14:40] <AndreasR> yes
[14:40] <heitibd> does the option enabled of suspend
[14:40] <heitibd> ?
[14:40] <heitibd> inside gnome-tweaks suspend option is enabled?
[14:41] <heitibd> and can you send me the file "/etc/systemd/logind.conf" please?
[14:41] <AndreasR> yes, enabled now it works. can you check bios for secure boot and Intel TPM/TPP stuff? if you don't use this for professional stuff / someone else manages your laptop remotely you may be able to disable it.
[14:41] <heitibd> i dont have intel TPM afaik
[14:41] <heitibd> and secure boot is disabled
[14:42] <heitibd> can you please send me the file of /etc/systemd/logind.conf
[14:42] <AndreasR> it's all disabled/commented out (default?)
[14:42] <heitibd> nothing uncommented?
[14:42] <AndreasR> nope
[14:42] <heitibd> weird
[14:42] <heitibd> what does it gives you ? echo $XDG_SESSION_TYPE
[14:42] <AndreasR> x11
[14:43] <AndreasR> I expected wayland..
[14:43] <heitibd> can you run this and show output? systemd-inhibit
[14:43] <heitibd> no i have X11 too...
[14:43] <AndreasR> could be due to nvidia stuff
[14:43] <heitibd> i am not sure but i dont think so?
[14:45] <heitibd> AndreasR can you please upload file if need censor ur username and do you have pm-utils installed?
[14:45] <AndreasR> https://pastebin.com/HcT8DAEq
[14:45] <heitibd> dpkg -l | grep pm-utils
[14:45] <heitibd> i dont have it installed tho
[14:45] <AndreasR> isn't that (pm-utils) ancient?
[14:46] <heitibd> i think so too
[14:46] <heitibd> someone said to install pm-utils
[14:47] <heitibd> if i recall it was ioria
[14:47] <AndreasR> it's installed, it seems - ii  pm-utils  1.4.1-19
[14:48] <heitibd> weird
[14:48] <heitibd> systemd-inhibit | grep block
[14:49] <heitibd> anyway i am still having issue
[14:50] <standeronore> Well, mine have a question [Ubuntu MATE 20.04 | iMac'15 @ Intel 5250u]. Am I right that the latest LTS stable one is `5.4.0-28-generic`? Yesterday I tried to install Mainline package to handle the unsigned kernel. Later I realized that this idea is a little bit vulnerable (although Bluetooth support returned; that was the reason for such movements). I removed with all configs the 5.4.26 kernel and switched back to 5.4.0-28-generic. Sorry for such
[14:50] <standeronore> a strange question: Can I be sure that the kernel in my Ubuntu installation is safe, without any potentials for rootkits? I've never used to play around with Linux mainline kernels and do not well understand the `generic` nature of Ubuntu kernels. So, they are signed and safe, right?
[14:50] <AndreasR> mine works now.. I wonder if it's because of the reboot or the disable TPM/TPP stuff. ( I read about that in other posts)
[14:51] <heitibd> yeah but dont expect that it work again
[14:51] <heitibd> it worked for me before than not
[14:51] <AndreasR> heitibd: that's not very helpful, as others have said. you need logs/evidence/what has changed :/ sorry
[14:52] <AndreasR> "doesn't work" is not helpful. I am struggling, too. as my freeze after suspend happens only sometimes and only when no power cable is plugged in ?!?!
[14:52] <AndreasR> and the lid.. I didn't even notice until today that it doesn't work
[14:53] <heitibd> AndreasR https://ubuntuforums.org/showthread.php?t=2442362
[14:53] <heitibd> i am trying to make it clear as it's very hard to trace what is relating to issue and people expect me to describe while simplicity is not enough
[14:55] <AndreasR> changing systemd files doesn't help ,either. If you want to troubleshoot go to basic/default first.
[14:56] <AndreasR> like.. vanilla install. all commented out in logind.conf
[14:56] <v0lksman> standeronore: yeah got it to work by adding -d to do-release-upgrade not cool though
[14:56] <YourAverageLinux> hey guys
[14:56] <YourAverageLinux> is it me or Kernel version 5.4.0 has screen tearing issues with an nvidia gpu?
[14:56] <heitibd> AndreasR i think logind shouldn't be commented out
[14:58] <heitibd> AndreasR if you close lid again does it work?
[14:58] <AndreasR> heitibd:  http://manpages.ubuntu.com/manpages/focal/man5/logind.conf.5.html#configuration%20directories%20and%20precedence
[14:58] <AndreasR>  The default configuration is defined during compilation, so a configuration file is only
[14:58] <AndreasR>        needed when it is necessary to deviate from those defaults.
[14:58] <AndreasR> :]
[14:59] <genhaoqi> YourAverageLinux: the driver
[14:59] <YourAverageLinux> 440
[14:59] <AndreasR> heitibd: don't change defaults if you want help - you are on your own
[14:59] <AndreasR> like.. running gentoo ;)
[14:59] <MikeRL> Ready to try again. I want to double check that the examples section under a URL I will post gives two correct commands.
[14:59] <heitibd> in that case i will install gentoo
[14:59] <heitibd> nothing works
[15:00] <AndreasR> :/
[15:00] <MikeRL> I am trying to use cryptsetup-reencrypt. Backup was from Wednesday, so I was fine.
[15:00] <YourAverageLinux> i remember when i was using manjaro, switching from 5.4 to 4.19 actually turned Prime Sync on, so i guess it's a kernel issue. xrandr --verbose outputs that prime sync is on but in nvidia-settings, it's off
[15:00] <MikeRL> https://manpages.ubuntu.com/manpages/trusty/man8/cryptsetup-reencrypt.8.html
[15:01] <MikeRL> Wait new URL. Just saw the documentation I posted was for trusty.
[15:01] <MikeRL> https://manpages.ubuntu.com/manpages/focal/man8/cryptsetup-reencrypt.8.html
[15:01] <heitibd> AndreasR how to get the default configuration?
[15:01] <heitibd> for.. /etc/systemd/logind.conf
[15:02] <genhaoqi> YourAverageLinux: maybe try 5.4.8 ?
[15:02] <YourAverageLinux> eh, i mean, I would prefer to not risk bricking my distro
[15:03] <julius> hi
[15:03] <MikeRL> Seeing a lot of stuff tomreyn mentioned yesterday here: https://help.ubuntu.com/community/ResizeEncryptedPartitions
[15:06] <AndreasR> heitibd: all commented out.
[15:06] <heitibd> Ubuntu doesn't care about your modification. overriding HandlePowerKey doesn't work. overriding shortcut not works
[15:06] <AndreasR> if you want to troubleshoot/fix you can start uncommenting/changing. that's what it's for
[15:06] <heitibd> yeah but whee is the default?
[15:06] <heitibd> where*
[15:09] <heitibd> damn no one can  help me resolve that annoying issue? ;_
[15:11] <Eickmeyer> heitibd: You aren't treating volunteers very well. People in here are volunteering their time. Please treat the volunteers with respect.
[15:13] <julius> just installed a 19.10 server version and it gets a very high load (6+) in about the first 30 seconds after boot. whats running right after boot that generates that load? the cpu is idling
[15:14] <xet7> julius: updates maybe?
[15:14] <AndreasR> I must admit since systemd I don't even try to understand anymore. I have too many other problems/tasks/quests in my life these days :D
[15:14] <AndreasR> so, sorry heitibd
[15:14] <AndreasR> https://wiki.ubuntu.com/UnderstandingSuspend
[15:14] <julius> load did go away after the 3 boots today
[15:15] <AndreasR> lots of good articles have been written by people for ubuntu.. you'll learn a lot about the system when you find it out. that I promise you :)
[15:15] <heitibd> AndreasR what is better than systemd and does nvidia has anything related to that issue?
[15:16] <heitibd> ubuntu modifies what i modifies like windows? maybe for securing there system but its unacceptable for me
[15:16] <AndreasR> well.. I am very happy all my problems are gone since 20.04. I have native GNOME, can run PRIME (dual Intel/Nvidia GPU) and somehow all works.
[15:16] <MikeRL> What I'm thinking is inputting "cryptsetup-reencrypt /dev/sdb1 --new --reduce-device-size 158784S"
[15:16] <MikeRL> That I meant sda6. That way, there's enough space.
[15:17] <AndreasR> heitibd: I ran Arch for many years. Sadly the Antergos distro died.. that had an amazing community for tweaking till there is nothing left to tweak. Maybe check out Arch if you find ubuntu too restrictive?
[15:17] <heitibd> haha
[15:17] <AndreasR> it is becoming like windows, I agree. and it's not a bad thing, I think
[15:17] <heitibd> "till there is nothing left to tweak" causing it to die? :D
[15:18] <AndreasR> heitibd: or melt down or eat your unborn children... yes.
[15:18] <heitibd> yeah i just not sure how to do luks, install nvidia, etc on arch linux
[15:18] <heitibd> damn
[15:18] <heitibd> and how to make screen lock when system lid close
[15:21] <Eickmeyer> This channel is strictly for support. Please take other conversation to #ubuntu-offtopic if you want to simply chat. ;)
[15:21] <heitibd> can i ask my question again ?
[15:21] <Eickmeyer> heitibd: You've asked it multiple times in this channel. Nobody has an adequate answer for you. Try ##linux.
[15:24] <heitibd> Eickmeyer no i just want to get the default config.. where can i find it?
[15:25] <Eickmeyer> heitibd: https://www.linuxuprising.com/2019/03/how-to-reset-gnome-desktop-settings-to.html
[15:26] <heitibd> does it reset ubuntu settings aswell?
[15:26] <AndreasR> heitibd: # Entries in this file show the compile time defaults.
[15:26] <AndreasR> # You can change settings by editing this file.
[15:26] <AndreasR> # Defaults can be restored by simply deleting this file.
[15:26] <Eickmeyer> heitibd: Ubuntu runs the gnome desktop environment. If you modified anything in /etc, nobody can help you, it would be faster to reinstall.
[15:27] <MikeRL> Anyone know how to convert filesystem block size to MB or anything else?
[15:27] <heitibd> so if no one modified and many have this issue what would you tell them ? Eickmeyer
[15:27] <Eickmeyer> heitibd: I would link them that article. Stop fighting.
[15:28] <Eickmeyer> heitibd: You've been given several answers, none of which are adequate for you. Stop belaboring it.
[15:30] <MikeRL> Umm... I should rephrase my question. I have a 560GB Ubuntu 20.04 partition, and wonder how much space I should give it when resizing the filesystem (not partition, learned that the hard way).
[15:31] <Eickmeyer> MikeRL: I've run it in as little as 32GB cleanly. It's really up to you. :)
[15:31] <AndreasR> I am off eating ice cream :) take care people. thanks
[15:31] <MikeRL> Oh thaks. I would have not had a clue. Not many good examples online. Like looking for a needle in a haystack.
[15:32] <MikeRL> I ran with 2MB yesterday, following an example, and I don't think it was enough.
[15:32] <MikeRL> As in 2MB reduced and set aside for encryption.
[15:33] <heitibd> Eickmeyer sorry i just would like to know after reinstalling ubuntu can i make it to lock screen isntead of suspend?
[15:33] <heitibd> instead*
[15:33] <Eickmeyer> heitibd: If you do that, you'll run the risk of overheating your laptop. Not recommended, and I won't support it.
[15:34] <MikeRL> Eickmeyer, you mean 32GB total space, or 32GB set asie?
[15:34] <MikeRL> *aside.
[15:34] <Eickmeyer> MikeRL: 32 total for the installation, EFI partition (if needed), everything.
[15:34] <heitibd> but im using the laptop and it doesn't overheating, also is this replying you causing a fight?
[15:34] <MikeRL> Eickmeyer, I should have specified I'm converting an install.
[15:34] <Eickmeyer> heitibd: You were given answers about that yesterday.
[15:35] <MikeRL> And I'm reiszing the filesystem Linux is installed on.
[15:35] <heitibd> can you redirect me to those or logs i would like to re-read them
[15:35] <MikeRL> Not the cleanest way to go, but I have backups and if anyone is willing to help, I can convert it with the terminal.
[15:36] <Eickmeyer> heitibd: https://irclogs.ubuntu.com/latest/%23ubuntu.html
[15:36] <Eickmeyer> MikeRL: I guess I don't completely understand what you're trying to do.
[15:37] <Xard> MikeRL: needed space depends on amount of installed packages and 32 GB is plenty for packages system packages
[15:37] <MikeRL> I'm referring to resizing via this: https://manpages.ubuntu.com/manpages/focal/man8/cryptsetup-reencrypt.8.html
[15:38] <heitibd> Eickmeyer i dont remember anyone replying me with an answer but i will check the logs i might forgot
[15:38] <Eickmeyer> MikeRL: Yikes, that's above my paygrade (as if I get paid).
[15:38] <MikeRL> Under examples. Last command I think resizes it.
[15:39] <MikeRL> It does cite 4096S and it caused the whole thing to go screwball last night.
[15:39] <heitibd> oof
[15:39] <MikeRL> I thought I screwed up but it's possible the docs were off somewhere.
[15:39] <MikeRL> Or I misread them.
[15:41] <tomreyn> MikeRL: hi there. i still don't understand why you'Re trying to convert a number of blocks to bytes (since all relevant tools seem to accept input in # blocks just fine), but you can certianly do that once you know the block size. from memory, yours is 3096 bytes, but i'm not really sure there.
[15:42] <tomreyn> *4096 bytes
[15:43] <MikeRL> So I can just input that the difference in from yesterday? Got 158,784.
[15:44] <heitibd> Eickmeyer do you recommend to reset gnome settings using gnome-tweaks? because that is not come with ubuntu
[15:44] <tomreyn> MikeRL: can you sum up the situation again, and the outputs of the relevant commands?
[15:45] <tomreyn> MikeRL: ...as well as the commands themselves.
[15:46] <tomreyn> the channel logs are at https://irclogs.ubuntu.com/latest/%23ubuntu.html
[15:46] <MikeRL> tomreyn, I'm trying to resize using the command               cryptsetup-reencrypt /dev/sda6 --new --reduce-device-size NUMBERUNIT,  but I'm uncertain of how much space to allocate.
[15:46] <MikeRL> tomreyn, I tried 4096S yesterday I believe and it wasn't enough.
[15:47] <MikeRL> tomreyn, https://manpages.ubuntu.com/manpages/focal/man8/cryptsetup-reencrypt.8.html
[15:47] <MikeRL> tomreyn, Stuck a bit on first and second (last) commands under examples.
[15:47] <Aktive> anyone know how I can increase my mouse sensitivity more
[15:48] <Aktive> I already got the max
[15:48] <sgt_chuckles> Hello, anyone else having problems after upgrading to 20.04? For some reason, my apps wont show on the application menu: https://i.imgur.com/sT33VGv.jpg
[15:48] <MikeRL> tomreyn, The bad partition from last night is kaput. I restored from backup.
[15:48] <heitibd> Aktive why would you want to do that?
[15:49] <Aktive> I want faster mouse
[15:49] <Aktive> like normal
[15:50] <eaglgenes101> The latest fontconfig is giving me a giant load of errors about the config file (fontconfig support binaries, fontconfig config, and libfontconfig1 are all on version 2.13.1-2ubuntu3
[15:50] <eaglgenes101> The errors seem pretty systematic, not what you'd get from an accidental corruption, but from a backwards incompatible change
[15:52] <sgt_chuckles> also searching for apps doesnt work either. its just stuck here: https://i.imgur.com/15SVjnA.png
[15:52] <eaglgenes101> The text of the errors: https://paste.rs/vrn
[15:52] <tomreyn> MikeRL: so you restored the entire unencrypted partition and ar enow trying to run cryptsetup-reencrypt against it again to add a block device encryption layer between this partition and the existing ext4 file system on it?
[15:53] <Aktive> @sgt_chuckles,  is your harddrive full
[15:53] <tomreyn> MikeRL: if so, the first step to take is to shrink the file system by the amount needed by the block device encryption layer.
[15:53] <sgt_chuckles> Aktive: no
[15:54] <heitibd> my touchpad moves weird is there a way to fix it?
[15:54] <tomreyn> MikeRL: ...so that both of them can fit within the boundaries of the partition (which I understand you don't plan to modify - and that's fine)
[15:54] <eaglgenes101> Can you elaborate on "weird"
[15:54] <ducasse> Aktive: you can set accel speed with xinput
[15:54] <Aktive> @heitibd, break its feet
[15:55] <heitibd> what do you mean?
[15:55] <Aktive> alright let me see
[15:55] <heitibd> Aktive how can i do that?
[15:55] <Aktive> your touch pad cant move without functioning feet
[15:55] <eaglgenes101> I mean, does it move stuffy, accelerate too fast, move in a different direction than intended, move on its own, or what
[15:55] <Aktive> joke
[15:55] <eaglgenes101> All of those can be described as weird, and there's no indication of which one you mean
[15:57] <MikeRL> tomreyn, Yes to the first question. Sorry I had to eat quickly and take some medication.
[15:57] <heitibd> Aktive oh sorry HAHA
[15:57] <MikeRL> tomreyn, I don't know the amount needed by the block device encryption layer.
[15:57] <heitibd> eaglgenes101 i think move bit fast
[15:57] <heitibd> and not accurate
[16:05] <Aktive> @ducasse, X Error of failed request:  BadAccess (attempt to access private resource denied)
[16:05] <tomreyn> MikeRL: me neither. you could calculate it based on the example provided on the cryptsetup-reencrypt man page. but i think the safer approch is to just shrink the file system more than needed.
[16:05] <tomreyn> to be on the safe side
[16:05] <MikeRL> tomreyn, How much?
[16:06] <MikeRL> Lucky me I have a very recent backup. From this Wednesday.
[16:06] <MikeRL> I think it maxes out at 20MB.
[16:07] <ducasse> Aktive: are you running wayland?
[16:07] <Aktive> how can I see that fast
[16:07] <Eickmeyer> heitibd: If you don't trust it, don't use it. BUT, because it's the GNOME desktop environment, there's no reason not to trust it.
[16:07] <MikeRL> 20MB will have to do.
[16:08] <MikeRL> Not multiple of 512/
[16:09] <tomreyn> MikeRL: you came up with a suggestion of blocks to reduce to last night, which sounded fine to me.
[16:09] <ducasse> Aktive: echo $XDG_SESSION_TYPE
[16:09] <Aktive> x11
[16:09] <Aktive> I guess not
[16:09] <tomreyn> MikeRL: when you'll try to shrink the file system, ext2resize will warn you if you're trying to resize to less than the required size.
[16:10] <tomreyn> MikeRL: there's also an option you can provide to ext2resize to have it reduce the file system to the minimal possible size.
[16:10] <MikeRL> tomreyn, SO ext2resize is better than using that second command?
[16:10] <tomreyn> MikeRL: which is "the second command"?
[16:11] <Aktive> ducasse, I did xinput --setprop 8 293 2
[16:11] <MikeRL> In the example, "cryptsetup-reencrypt /dev/sdb1 --new --reduce-device-size 4096S"
[16:12] <MikeRL> tomreyn, after an apropos, it appears ext2resize is resize2fs.
[16:12] <MikeRL> Oops.
[16:12] <MikeRL> Duh.
[16:13] <Seven_Six_Two> If userA is in groupB, and a file is userB:groupB with 660 permissions, why does  sudo -u userA test -r ./filename.txt; echo $0;        return 0??
[16:14] <Aktive> Im gonna continue with it another day I guess ducasse
[16:14] <tomreyn> MikeRL: right, sorry, i meant resize2fs. "cryptsetup-reencrypt /dev/sdb1 --new --reduce-device-size 4096S" is the command you'll need to run after shrinking the file system. we'll actually need to calculate the correct value to supply (instead of "4096S") there.
[16:14] <Aktive> Im so happy with lts 20.4
[16:15] <Aktive> except the pictures, they gotta get rid of them and get  better ones
[16:15] <MikeRL> tomreyn, You must be used to the old filesystem and commands. (-:
[16:15] <MikeRL> tomreyn, I started Ubuntu back in high school. Used 9.04 for my first distro.
[16:15] <MikeRL> tomreyn, Resize was successful. No errors.
[16:16] <tieinv> Aktive: what pictures are you refering to?
[16:17] <MikeRL> tomreyn, So, the two commands under examples at https://manpages.ubuntu.com/manpages/focal/man8/cryptsetup-reencrypt.8.html
[16:17] <Industrial> Hi.
[16:17] <MikeRL> tomreyn, They do what? Do I need to modify them?
[16:17] <Industrial> I am on Ubuntu 19.10 and I am using Docker from Snap.
[16:17] <MikeRL> Besides the partition to /dev/sda6.
[16:17] <Industrial> I have /mnt/linux-data which is a partition I want to host all the docker images / etc on.
[16:18] <Industrial> What directory is used to save all docker things?
[16:18] <Aktive> tieinv, wallpaper
[16:18] <tieinv> Aktive: then use your own pictures
[16:19] <Aktive> ye
[16:19] <Aktive> but I think that ubuntu should provide  good ones
[16:19] <Aktive> it would be better
[16:19] <tieinv> Akitive: those are just examples no?
[16:20] <Aktive> they come with ubuntu
[16:22] <MikeRL> tomreyn, I shrank it to 136600000 blocks from 136760320 blocks.
[16:23] <MikeRL> tomreyn, Difference is 160320.
[16:23] <MikeRL> It does not, divide evenly into 512, though.
[16:24] <MikeRL> Dividing 160320 by 512 equals 313.125
[16:28] <tomreyn> MikeRL: fdisk should say which block size you have there. sorry, i am having a longer phone call so i'm in and out all the time.
[16:28] <eaglgenes101> fontconfig chokes on a config file that came in a package of the same version https://paste.rs/vrn
[16:29] <eaglgenes101> Personally looks like the fontconfig library had a backwards incompatible change that the config file wasn't updated to account for, but what do I know
[16:29] <eaglgenes101> In any case, what's the best way to fix this problem
[16:30] <MikeRL> tomreyn, That's fine. You're entitled to a life.
[16:31] <eaglgenes101> Refreshing the fontconfig cache doesn't fix it, and the fontconfig packages are all 2.13.1-2ubuntu3
[16:31] <dhollinger> Quick question - does Ubuntu not support/package 32-bit libs for Feral Gamemode? Due to the inherent issue of dropping 32-bit for gaming, several games and gaming apps I have (such as Lutris) don't recognize gamemode without 32-bit libs
[16:32] <MikeRL> Sector size for the whole SSD is 512 bytes logical, 4096 physical.
[16:35] <ioria> dhollinger, probably you need to build it yourself
[16:36] <dhollinger> ioria: That doesn't make for a good user experience, unless Ubuntu no longer really is going for general use desktop users
[16:38] <MikeRL> tomreyn, So would 313 be adequate? I subtracted the new fs size from the original size (136760320 minus 136600000) and then divided it by 512 to get 313.125. Rounded down to 313. Is that the number I want?
[16:38] <ioria> dhollinger, you want the link to try to build it or not ?
[16:40] <dhollinger> I'll try and build it myself as I have the technical know-how. Don't get all huffy about my comment. It IS bad UX for users to be told to "Go build it yourself"
[16:42] <ioria> dhollinger, this is the situation about 32bit on ubuntu
[16:42] <ioria> dhollinger, if you prefer i can answer you : 'no you cannot !
[16:43] <MikeRL> tomreyn, Number I got was 160256.
[16:45] <MikeRL> It aborted. Said no space for new keyslot. Will generate paste.
[16:46] <MikeRL> https://paste.ubuntu.com/p/j4gQN9Hpx5/
[16:59] <heitibd> hello friends, i restart settings in gnome-tweaks and restart. closed lid and no suspend please help
[17:01] <tomreyn> MikeRL: sorry for keeping you waiting, i should have more time now. so this is luks2, which takes more space than luks1, probably at least twice as much, since it stores two copies of the luks header.
[17:02] <zutat> heitibd: see if the system is able to suspend at all, by running "systemctl suspend" in a terminal
[17:03] <heitibd> zutat : Operation inhibited by "user" (PID 2123 "gnome-session-b", user hiro), reason is "user session inhibited".
[17:03] <heitibd> what does it mean
[17:10] <MikeRL> tomreyn, Sorry I myself was messing with my phone.
[17:12] <MikeRL> tomreyn, By messing, I mean I donated to the FairEmail dev. Not much, but MS is matching sponsorships for the first year for devs that registered before a certain date. Don't have too much to spare, but I spared $2, which is technically $4. That app is updated like several times a day with various notable changes each time. I replaced Gmail with it.
[17:12] <tomreyn> MikeRL: according to https://wiki.archlinux.org/index.php/Dm-crypt/Drive_preparation#Wipe_LUKS_header "LUKS2 header is 4 MiB if created with cryptsetup < 2.1 or 16 MiB if created with cryptsetup ≥ 2.1. "
[17:13] <MikeRL> tomreyn, OK. So I assume that means version check time.
[17:13] <tomreyn> which ubuntu release are you running again?
[17:13] <tomreyn> !info cryptsetup 18.04
[17:13] <MikeRL> tomreyn, "cryptsetup --version returns cryptsetup 2.2.2 Ubuntu 20.04.
[17:13] <tomreyn> !info cryptsetup focal
[17:14] <MikeRL> So 16MB.
[17:14] <tomreyn> And 16 MiB in 512 KiB blocks is?
[17:14] <MikeRL> Does tat mean 16000000 bytes?
[17:15] <MikeRL> *that
[17:15] <MikeRL> Oh Kib.
[17:16] <tomreyn> 16 MiB = 16×1024×1024 bytes https://en.wikipedia.org/wiki/Mebibyte
[17:16] <may1234> how is the ubuntu installation dvd compiled?
[17:16] <MikeRL> DDG says 16000KiB.
[17:16] <tomreyn> who is DDG?
[17:16] <MikeRL> DuckDuckGo.
[17:16] <MikeRL> Search engine.
[17:17] <heitibd> someone help please :)
[17:17] <CarlenWhite> Is there a particular flow to restart Xorg on
[17:17] <CarlenWhite> Erp
[17:18] <tomreyn> MikeRL: so you'll need to choose whom to trust, your search engine or (wikipedia and me).
[17:18] <CarlenWhite> I was going to ask if there's a particular flow on restarting Xorg on Ubuntu 20.04, but I wasn't sure if I'm using Xorg or Wayland.
[17:18] <CarlenWhite> Given that I recently updated to 20.04
[17:18] <tomreyn> MikeRL: or, better, consult more sources
[17:19] <MikeRL> Not IEC sizes.
[17:19] <lotuspsychje> heitibd: try to give some more details to the volunteers, to able to help you better, ubuntu version, computer brand/model, kernel version, dmesg?
[17:20] <CarlenWhite> Yeah I'm using Xorg. Online suggests restarting gdm or using systemctl restart display-manager for a distro agnostic solution, but neither do the job.
[17:20] <CarlenWhite> Switching between the virtual terminals doesn't present a login or a desktop.
[17:20] <MikeRL> I'm wondering if when I ran "sudo resize2fs /dev/sda6 136600000" and it succeeded if it will mess anything up.
[17:22] <standeronore> Hi all [again]. Could someone explain me, why on macbook air'13 with Lubuntu 20.04 installed I see after 20 minutes SSD temperature around 70*C ? Well, SanDisk can hold up to 95 degrees, but using macOS this temperature is usually 55-59*C. I tried power optimizations, even removed swap partition. How to cool down a bit SSD (the CPU is fine, according to `lm_sensors`)
[17:22] <heitibd> lotuspsychje ubuntu 20.04
[17:23] <heitibd> standeronore which year?
[17:23] <MikeRL> tomreyn, Those sizes look like IEC sizes from fdisk -l and the output of the commands that failed earlier with sudo cryptsetup-reencrypt /dev/sda6 yadayada.
[17:23] <standeronore> heitibd Mid-2013, i5-4200u, SSD SanDisk 256Gb
[17:24] <standeronore> heitibd Internal OEM. This happens on every Flavor, like MATE, generic or so fouth
[17:25] <CarlenWhite> standeronore, Is is physically warmer?
[17:25] <CarlenWhite> I want to guess a buggy sensor since I've came across a system that'd report it's temperature higher than reality.
[17:26] <standeronore> CarlenWhite Really strange, but yeah. I can touch, how somewhere around CPU (I service internals regularly) it becomes rather warm. I thought about some I/O processes which are intensive, but I turned off SWAP at all. So, I/O seems not to be very heavy, to my guess.
[17:27] <CarlenWhite> MikeRL, If you're wondering what the size portion of your command is doing exactly, I pulled up the `man` for it and it's in the second paragraph.
[17:27] <standeronore> For instance, CPU under Firefox + LO Writer is around 49-52*C, but SSD is 60 :\
[17:27] <may1234> i mean how is the ubuntu installation dvd put together by the development team? is information on this available on the website?
[17:28] <MikeRL> tomreyn, 16777216 is the number I'm looking for? In bytes I think.
[17:29] <Industrial> Hi. Has anyone worked with Docker from Snap?
[17:29] <Industrial> ln -s /mnt/linux-data/docker-common /var/snap/docker/common
[17:29] <Industrial> Can I do this?
[17:29] <tomreyn> 16777216 is what I believe is 16 MiB (and what everyone but maybe storage manufacturers abbreviate as "MB" nowadays).
[17:30] <MikeRL> Now I'm hoping this succeeds. No warnings this time. Thanks.
[17:30] <MikeRL> But I'm certain I'm not done yet. Will have to decrypt and edit /etc/fstab, right? And likely more.
[17:32] <tomreyn> MikeRL: and that's, according to my interperetation of the arch wiki page cites above, the minimum amount by which you need to shrink the file system, and the exact amount of bytes you need to pass to the --reduce-device-size option (to cryptsetup-reencrypt)
[17:32] <MikeRL> tomreyn, Well that's a relief.
[17:32] <MikeRL> tomreyn, Sleep sure helped me think better.
[17:32] <tomreyn> MikeRL: so you now have the encryption layer, and you have the file system on it. you can now extend the file system to cover the entire space available within the crypto container
[17:33] <tomreyn> MikeRL: i agree sleep help both you and i. ;)
[17:33] <MikeRL> tomreyn, Don't I have to wait for encryption to finish first?
[17:33] <tomreyn> MikeRL: right, you should wait for excryption to finish.
[17:33] <MikeRL> OK.
[17:33] <tomreyn> *encryption
[17:34] <MikeRL> ETA 57:47 from right now.
[17:34] <MikeRL> Then back to more fun.
[17:34] <tomreyn> so which commands will you need to run after that?
[17:34] <tomreyn> plan ahead if you like, or maybe i'll still be around then.
[17:34] <tomreyn> (or maybe you don't actually need me)
[17:36] <CarlenWhite> standeronore, You could use the package `iotop` to monitor IO but it does sound like something more strange is occuring. By the way, swap shouldn't be used much unless you have a low memory system.
[17:36] <MikeRL> I'll think about it now.
[17:37] <MikeRL> I took notes on the sizes and a command.
[17:37] <tomreyn> you'll need to unlock the crypto layer, mount the root file system and other needed file systems (incl. virtual ones), chroot, update /etc/fstab and /etc/crypttab and run update-initramfs -u   and   update-grub
[17:37] <MikeRL> I also bookmarked some pages and synced Firefox.
[17:37] <CarlenWhite> And you'd still want swap as a 'just in case' if you happen to run more than your memory can handle without stuff crashing/killed.
[17:37] <CarlenWhite> And for hibernation if you want it
[17:38] <w0jtas_> hello, my ubuntu stopped booting, it got stuck on Create Volatile Files and Directories
[17:38] <grimeton> hi, the 20.04 lts network installer is not able to detect the uefi environment inside a hyper-v vm .... not installing grub, errroring out
[17:38] <MikeRL> Unlock the crypto layer?
[17:38] <w0jtas_> what can i do ? i cleared /tmp and /var/tmp dir
[17:38] <CarlenWhite> You might need to consult someone else for further investigation because this is starting to look like it's outside my knowledge.
[17:39] <MikeRL> I lost all the chat history from yesterday because I was tired and didn't think of backing up the commands.
[17:39] <MikeRL> But today I did take some notes.
[17:40] <CarlenWhite> MikeRL, Example, the LVM that contains my /home, swap, and a partition I use for development is encrypted with LUKS. LUKS has to be "unlocked" before I can mount these partitions during boot.
[17:41] <tomreyn> !irclogs | MikeRL
[17:41] <CarlenWhite> And / importantly! Derp!
[17:41] <CarlenWhite> So LUKS would be this crypto layer.
[17:42] <CarlenWhite> Without it "unlocked" by my password my system will not boot and I'll be stuck at GRUB.
[17:43] <MikeRL> IRC log is bookmarked.
[17:44] <MikeRL> Synced.
[17:45] <MikeRL> I only use one partition. /dev/sda6m I believe.
[17:45] <MikeRL> All used for Linux. So I'm guessing I only gotta unlock once.
[17:45] <tomreyn> MikeRL: so what about /boot, where is this stored?
[17:46] <CarlenWhite> One partition for the whole system? /dev/sda6m being your root mount with your entire system on it?
[17:46] <MikeRL> For Linux, I think. I can check.
[17:46] <tomreyn> that would seem wise :)
[17:46] <CarlenWhite> You could peek /etc/fstab
[17:46] <MikeRL> Yes.
[17:47] <MikeRL> Gparted says it's the only ext4 partition. No swap partition. Just a swap file.
[17:47] <tomreyn> sudo fdisk -l | nc termbin.com 9999
[17:47] <MikeRL> Keep in mind it's still encrypting.
[17:47] <tomreyn> this won't modify your partitions
[17:47] <MikeRL> https://termbin.com/y33g
[17:48] <CarlenWhite> tomreyn, Eh I beg to differ. At least having a seperate /home partition saves some trouble if your OS blows up.
[17:48] <MikeRL> Windows 10 dual boot and an EFI partition in addition to Linux.
[17:48] <MikeRL> Too lazy for separate home partition.
[17:49] <tomreyn> CarlenWhite: differ on what?
[17:49] <MikeRL> Also I don't do a lot of mission critical stuff.
[17:49] <CarlenWhite> On having all your files reside only on the root file system.
[17:49] <MikeRL> On a side note, even with most of the telemetry disabled, 10 is so slow I gave up on encrypting that.
[17:50] <tomreyn> CarlenWhite: that's not a preference i stated i have
[17:50] <CarlenWhite> Then I misread
[17:50] <MikeRL> They really did some amazing work at speeding up GNOME shell. No CPU spikes. Someone else I know that's a dev actually really likes this release.
[17:50] <tomreyn> happens to the best of us ;)
[17:50] <MikeRL> Best in years IMO.
[17:51] <tomreyn> MikeRL: let's keep it to ubuntu support in here, we can move to #uubntu-discuss for discussing ubuntu, or other channels for discussing other things.
[17:51] <CarlenWhite> MikeRL, It's more of convenience. I've fubared my OS once and reinstall wasn't too painful since I just had to tell the installer to pave over the root file system and leave the existing /home parition alone.
[17:51] <MikeRL> Sure. Will stay OT.
[17:51] <tomreyn> thanks.
[17:52] <MikeRL> I think I know, out of all the things mentioned, how to chroot in and update grub. Least I can look it up. My memory isn't the best.
[17:53] <heitibd> any help
[17:54] <MikeRL> I will probably take a break now. In 30 minutes it'll be done.
[17:54] <tomreyn> MikeRL: so, you're now encrypting the full partition space that contains the ubuntu system. however, the kernel needs to be booted, too, from somewhere. and while grub (the boot loadeR) can actually decrypt LUKSv1 block device encryption, i'm not sure it has yet learnt to decrypt LUKSv2, yet.
[17:54] <banisterfiend_> anyone know how to fix broken packages? I have a few broken packages that are preventing me from upgrading ubuntu....but --fix-broken install is unable to fix it
[17:54] <CarlenWhite> I can check my system, hold on...
[17:54] <tomreyn> MikeRL: what the ubuntu installer would normally do is to encrypt anything but /boot (leaving that unencrypted on a separate partition)
[17:55] <rainmanjam> Having an issue with a dpkg package. Has anyone seen this before? https://pastebin.com/QE8vmuiU
[17:55] <puzzola> Probably a newbie question: how to I set Ubuntu 19.10 (console, no GUI) to auto login on boot? All the solutions I found are for GUI autologin.
[17:56] <CarlenWhite> tomreyn, I'm using LUKS2 on this system and it's decrypted by GRUB at boot.
[17:56] <CarlenWhite> https://termbin.com/43w3
[17:57] <StevenJayCohen> <puzzola "Probably a newbie question: how "> https://vitux.com/how-to-enable-disable-automatic-login-in-ubuntu-18-04-lts/
[17:57] <tomreyn> CarlenWhite: and you run whihc ubuntu release?
[17:58] <CarlenWhite> I'm running Ubuntu 20.04. Encrypted in...Eoan I think? Maybe even earlier.
[17:58] <EriC^^> puzzola: https://askubuntu.com/questions/168706/how-do-i-auto-login-as-root-into-the-tty-upon-boot
[17:58] <tomreyn> CarlenWhite: https://www.phoronix.com/scan.php?page=news_item&px=GRUB-Boots-LUKS2-Disk-Encrypt
[17:59] <EriC^^> puzzola: note that logs in as root, i guess changing to your username might work too, not sure though
[17:59] <StevenJayCohen> puzzola: https://blog.shvetsov.com/2010/09/auto-login-ubuntu-user-from-cli.html
[18:00] <CarlenWhite> So I guess it's been encrypted since Eoan at least.
[18:00] <tomreyn> chances are 20.04's grub is the first one to support LUKSv2
[18:01] <tomreyn> unless it was backported to 19.10, but i would think that's less likely
[18:01] <MikeRL> If that's the case, I'm in luck.
[18:02] <CarlenWhite> This system upgraded from Eoan.
[18:02] <CarlenWhite> I'm partially confident I even upgraded from 18.04 as well. I can check logs to get an idea.
[18:04] <CarlenWhite>  /var/log/installer points out it installed Eoan, but I have paved over the install at least once.
[18:05] <banisterfiend_> hey guys, anyone know how to fix broken packages? i get this https://gist.github.com/banister/631ba45ee9209c3e2eba5690ad02e288   but --fix-broken install doesn't fix it
[18:05]  * CarlenWhite runs a one-liner to find the oldest file in his home directory...
[18:07] <StevenJayCohen> banisterfiend_: what does aptitude suggest?
[18:07] <tomreyn> CarlenWhite: what's the output of    findmnt --target /boot/
[18:08] <tomreyn> !aptitude | StevenJayCohen
[18:08] <CarlenWhite> tomreyn, /boot  /dev/nvme0n1p2 ext4   rw,relatime
[18:09] <CarlenWhite> What are you trying to determine?
[18:09] <banisterfiend_> Steven_: holdon a minute, i just tried random commands from here https://www.maketecheasier.com/fix-broken-packages-ubuntu/ and it looks like it might have fixed it
[18:09] <tomreyn> CarlenWhite: whether this is correct. <CarlenWhite> tomreyn, I'm using LUKS2 on this system and it's decrypted by GRUB at boot.
[18:10] <tomreyn> CarlenWhite: you just showed that you have /boot on a separate partition, so it's unlikely that grub decrypts your root file system, rather the initrd
[18:10] <CarlenWhite> I'll list the typography, moment...
[18:11] <CarlenWhite> https://termbin.com/9uqo
[18:11] <StevenJayCohen> ubottu: I still find it a good reference when trying to figure out broken packages, but I understnad
[18:12] <tomreyn> CarlenWhite: classic multi-partition layout with unencrypted /boot
[18:13] <CarlenWhite> I thought that was the defacto thing, but I guess it's been a while.
[18:13] <tomreyn> it's what the ubuntu installers set up till this point
[18:14] <CarlenWhite> Ah. It's been changed in 20.04?
[18:14] <puzzola> Thank you, guys! For future chatlog archaeologists: https://askubuntu.com/a/1229543 did the trick (replacing root wit my username worked just fine)
[18:15] <CarlenWhite> Because I was led to that something has to be unencrypted to begin the process to get into an encrypted system.
[18:15] <tomreyn> CarlenWhite: 'this point' being today, and tomorrow, and a while longer, until someone may work on bug 1773457
[18:16] <tomreyn> grub is usually not encrypted.
[18:16] <CarlenWhite> Of course.
[18:17] <tomreyn> if grub can open a luks2 encrypted root device it can load the initrd and kernel from there, and have the initrd decrypt the root file system while the kernel boots.
[18:18] <CarlenWhite> I kinda want to try migrating the /boot partition into the layer but I feel like that's asking for pain.
[18:18] <tomreyn> you'll need to enter your passphrase once for grub and another time for the cryptsetup binary embedded in the initrd (or find a way to pass it along)
[18:18] <CarlenWhite> Into the LVM, derp
[18:18] <tomreyn> https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019 explains how this can be done
[18:18] <lalitmee> Hey guys, why is it so that the fonts look different in Ubuntu and Windows. I logged on to Github and I noticed that Github looks completely different in Windows and Ubuntu because of the fonts rendering.
[18:22] <jkelol111> Could be due to different default fonts?
[18:23] <tomreyn> CarlenWhite: nowadays, as (for the most part) discussed on the article above, you can have /boot/ reside on LVM on top of dmcrypt-luks on top of a partition on top of a partition table on a storage which grub will then boot from. this way, you can have anythign encrypted other than grub, and the lower (negative) 'rings', so firmware (UEFI) and ME/PSP/TrustZone. so boot loader and firmware will remain unencrypted but can, theoretically and
[18:23] <tomreyn> sometimes practically, be secured against modification by those lower layers by means of 'secure boot'
[18:23] <lalitmee> jkelol111: So the fonts setting for the website is the work of the OS or the browser or the website itself?
[18:24] <ioria> lalitmee, for me, they are both identical
[18:24] <jkelol111> There is a font setting in Firefox
[18:24] <jkelol111> Not too sure about the difference in font rendering though, I find GitHub on Ubuntu to look nearly identical to every other platform
[18:28] <lalitmee> ioria: but for me its completely different
[18:28] <lalitmee> I don't know why
[18:28] <lalitmee> jkelol111: Font setting is in every browser I think
[18:29] <ioria> lalitmee, what's the font in use on ubuntu/firefox ?
[18:32] <lalitmee> Actually I just inspected Github in firefox and noticed that it uses some apple-system fonts and then on third number it uses Seoge UI font which is not installed in my system that's why I think its looking different in Ubuntu. May be its already installed in Windows
[18:35] <MikeRL> Encryption is done.
[18:35] <MikeRL> Now to unlock the cryptop lair. Sorry was on the phone checking on my grandmother and parents.
[18:40] <valentin> just doing some sanity checking: is anyone else using an intel GPU suffering from judder on 20.04 under gnome when multiple windows are open? I can easily notice when scrolling a page in firefox, but other electron-based apps show it too. I know people usually blame gnome 3 or gnome-shell and the common wisdom is to just wait for updates. in my case it seems for some reason the GPU frequency is not scaling up fast enough to
[18:40] <valentin> meet the demand, so I'm not sure if it's necessarily gnome-shell related. I performed a couple of tests in other DEs (KDE, Mate, ubuntu 20.04) and the GPU gets scaled up nicely with the demand
[18:41] <valentin> fwiw, I had the same judder on 19.10
[18:42] <MikeRL> Hmm. Good news. Now it mounts.
[18:47] <MikeRL> What do I need to do a "sudo mount --bind" to in terms of folders?
[18:47] <MikeRL> I have already unlocked the partition and mounted it in /mnt.
[18:48] <strobe2020> i've been trying to initialize my own xsession through a remote ssh connection. there is already an xsession running by another user
[18:48] <strobe2020> apparently, the startx command can only be run from a virtual console on the host, not remotely. when i had the user assist me by switching to a virtual console at the host, logging in as me (using a temporary password), then initialized startx, their own x session on the graphics console crashed.
[18:49] <strobe2020> we tried 'startx' as my user (assuming it would open $DISPLAY :1) and 'startx -- :1' but either way it didn't matter; their own user's x session crash and the computer had to be rebooted to restore their desktop environment.
[18:50] <strobe2020> what are we doing wrong? ideally, i just want to remotely log in to the host with my user (which i can do), then start my own x session. i have admin rights to the host i'm remotely accessing.
[18:51] <strobe2020> and by "starting my own xsession" i mean a full desktop environment
[18:51] <strobe2020> i know those are technically two seperate issues, but still...
[18:52] <CarlenWhite> tomreyn, Almost done with retrofitting a encrypted /boot
[18:52] <heitibd> someone is using laptop on ubuntu?
[18:53] <tomreyn> heitibd: certainly. it's also certianly not the question you meant to ask.
[18:53] <CarlenWhite> Created a equal-sized LV in my LVM, byte-to-byte copied, sha256 checked, regenerated UUID to prevent clashing, updated /etc/fstab, update-grub, updated initramfs
[18:54] <CarlenWhite> Don't think updating the initramfs is needed, but did it anyways to be safe.
[18:54] <tomreyn> CarlenWhite: crypttab?
[18:54] <CarlenWhite> It's in the same LVM as the entire system. It should prompt my password as normal.
[18:54] <CarlenWhite> Keyword, should.
[18:55] <CarlenWhite> But I have the unencrypted boot partition if I fail.
[18:56] <tomreyn> crypttab will be needed. you'll also need GRUB_ENABLE_CRYPTODISK=y
[18:57] <CarlenWhite> crypttab doesn't need to be touched. Did add that to the config.
[18:57] <heitibd> i dont understand if i modified logind.conf then i returned it back it copies the modification and i cant revert it. is it kind of security feature but not work well?
[18:57] <CarlenWhite> Anyways. Restarting
[18:57] <CarlenWhite> Wish me luck.
[18:57] <MikeRL> Hmm. I do not have a /etc/crypttab file after unlocking the disk. I backed up my /etc/fstab file.
[18:57] <MikeRL> Just in case something messes up.
[18:58] <tomreyn> MikeRL: you will need to create it manually
[18:58] <MikeRL> I have the new UUID for /dev/sda6 from sudo fdisk -l
[18:58] <MikeRL> Do I need another UUID?
[18:58] <tomreyn> the uuid's for fstab and crypttab should come from "blkid"
[18:59] <tomreyn> those are not partition uuids but file system uuids
[18:59] <MikeRL> Actually I entered in blkid.
[18:59] <MikeRL> Sorry got confused.
[19:00] <MikeRL> Output of blkid: https://paste.ubuntu.com/p/ND9hpnqKG8/
[19:01] <MikeRL> tomreyn, My guess is I want sda6?
[19:02] <tomreyn> MikeRL: my guess is you haven't unlocked the crypto layer that's on sda6, yet
[19:02] <MikeRL> tomreyn, How do I do that?
[19:02] <tomreyn> cryptsetup luksopen ... just like we did it yesterday
[19:04] <MikeRL> I searched the chat log of 5/2 and see nothing.
 you need to     sudo cryptsetup luksOpen /dev/sda6 sda6_crypt
[19:05] <MikeRL> Thanks.
[19:05] <petar_1v> join/topic
[19:06] <heitibd> how to install virtualbox?
[19:06] <tomreyn> the log keeping computer may follow a different timezone than yours
[19:06] <heitibd> !virtualbox
[19:06] <MikeRL> Yeah. Never thought about the timezone.
[19:06] <heitibd> this not work
[19:06] <MikeRL> Must be UTC.
[19:06] <MikeRL> Or wherever the server is located.
[19:07] <MikeRL> Yeah it went into 5/3.
[19:09] <TheFuzzball> Hey, I'm getting "runtime: mlock of signal stack failed: 12. runtime: increase the mlock limit (ulimit -l) or runtime: update your kernel to 5.3.15+, 5.4.2+, or 5.5+. fatal error: mlock failed" on Ubuntu Server 20.04.
[19:09] <MikeRL> OK. Now it's mounted via cli to /mnt.
[19:09] <TheFuzzball> Is it possible to upgrade the kernel to 5.4.2+ on 20.04 LTS?
[19:09] <tarelerulz> error: out of memory.error: syntax error.error: Incorrect command.error: syntax error.Syntax error at line 566Syntax errors are detected in generated GRUB config file.Ensure that there are no errors in /etc/default/gruband /etc/grub.d/* files or please file a bug report with/boot/grub/grub.cfg.new file attached.
[19:09] <tarelerulz> I'm trying to boot an iso from grub
[19:10] <tarelerulz> Everything is old , I find that tells you how
[19:11] <tarelerulz> initrd.lz does not have the .iz on the end wen you look in the iso
[19:12] <CarlenWhite> tomreyn, Had to reinstall grub, but after doing that it just broke booting the system and dropped me to the grub prompt. But being forward thinking, I just told it to use the old /boot. Gonna do more research.
[19:13] <MikeRL> Hmm. Something interesting. https://paste.ubuntu.com/p/bssPCVMJ7g/
[19:13] <tomreyn> CarlenWhite: good luck.
[19:13] <heitibd> need help pls
[19:14] <MikeRL> Should I run e2fsck on /dev/mapper/sda6_crypt? No wait it's still encrypted.
[19:14] <heitibd> I ran this command and I want to undo it because it didn't work sudo sh -c "echo 'deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free' > /etc/apt/sources.list.d/virtualbox.list" && wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key .. from !virtualbox
[19:14] <tomreyn> MikeRL: what do you mean by "it's still encrypted"?
[19:14] <MikeRL> I think it is.
[19:15] <MikeRL> It's not seen as a directory.
[19:15] <MikeRL> Looks like a symlink.
[19:15] <DocMors> heitibd, how do you know it's not working?
[19:16] <heitibd> DocMors yes
[19:16] <tomreyn> MikeRL: didn't you just run     sudo cryptsetup luksOpen /dev/sda6 sda6_crypt   and were prompted for your crypto layer passphrase and then this seemed to have worked out?
[19:16] <MikeRL> tomreyn, I ran "sudo e2fsck -f /dev/mapper/sda6_crypt"
[19:17] <MikeRL> As for your previous ?, Yes.
[19:17] <MikeRL> It is mounted, just at a different location.
[19:17] <Hamilton> Would ffmpeg ever be upgraded in 18.04? Current version is 3.x but 4.x is available and 3.x doesn't support dav!d so I can't convert (or even play) google's new codec avc01
[19:17] <heitibd> !apt-key
[19:17] <heitibd> need help how to list apt-key
[19:17] <heitibd> so i can remove virtualbox
[19:18] <tomreyn> MikeRL: where is the file system that's on /dev/mapper/sda6_crypt mounted (according to "mount" or /proc/mounts/ or /etc/mtab) ?
[19:18] <DocMors> heitibd, man apt-key
[19:19] <MikeRL> "/dev/mapper/sda6_crypt on /mnt type ext4 (rw,relatime)"
[19:19] <Zumochi> Is this channel suitable for Ubuntu in WSL issues?
[19:19] <tomreyn> MikeRL: and what's the output of the e2fsck  command?
[19:19] <tomreyn> Zumochi: as long as it's generic ubuntu questions, not WSL specific ones, and you point out that you're using WSL, here is fine.
[19:20] <Zumochi> Well I *think* it's probably only happening in Ubuntu WSL, not regular :P
[19:20] <MikeRL> tomreyn, https://paste.ubuntu.com/p/Tn9qTH9pMR/
[19:20] <tomreyn> !wsl | Zumochi
[19:20] <Zumochi> Ah
[19:20] <Zumochi> Cheers
[19:20] <tomreyn> MikeRL: note line 4
[19:21] <MikeRL> tomreyn, Well, crap.
[19:21] <Walex> Zumochi: WSL is basically Ubuntu with an MS-Windows kernel. GNU/NT Ubuntu instead of GNU/Linux Ubuntu.
[19:21] <tomreyn> MikeRL: not much of a problem, just unomount the file system, run e2fsck again
[19:23] <devslash> Ubuntu hangs at a purple screen after updating 18.04 to 19.04. I booted to single user mode. mounted my fs and did chroot. im not sure what to do at this point to dfix it
[19:23] <MikeRL> tomreyn, It's giving me an option to optimize saying "Inode 10619323 extent tree (at level 1) could be narrower."
[19:23] <MikeRL> Is that safe?
[19:23] <MikeRL> Just paranoid of being locked out again.
[19:24] <tomreyn> devslash: 19.04, you're sure about this?
[19:24] <devslash> yes
[19:25] <devslash> i initiated the update to 19.04, it completed and said it wanted to reboot then im at this point now
[19:25] <devslash> where it doesnt boot
[19:25] <tomreyn> MikeRL: yes, should be safe. it's just optimazation by shrinking and inode extent tree. shrinking should always be safe.
[19:25] <devslash> i really dont want to reinstall again but its looking like it
[19:25] <MikeRL> tomreyn, https://paste.ubuntu.com/p/KjZq3qGBVj/
[19:26] <tomreyn> devslash: it's just that 19.04 is EOL, so i'm surprised you'd have upgraded to that
[19:26] <devslash> i know but i was on 18.04
[19:26] <devslash> and it wouldnt give me the option of 20.04
[19:26] <devslash> i was planning on immediately updating to 20.04
[19:26] <tomreyn> MikeRL: looks fine to me
[19:27] <tomreyn> !ltsupgrade | devslash
[19:27] <devslash> err no lsb_release -a says im on 19.10
[19:27] <tomreyn> devslash: see
[19:27] <tomreyn> not 19.04 ;)
[19:28] <devslash> if i do do-release-upgrade -d it says i mered to install all available packages for my release
[19:28] <tomreyn> the purple screen showed when exactly, directly after grub?
[19:28] <devslash> if i do do-release-upgrade -d it says i need to install all available packages for my release
[19:28] <devslash> yes
[19:28] <tomreyn> a chroot situation is not a good starting point to carry out a release upgrade via do.release.upgrade
[19:29] <devslash> i have no other choice
[19:29] <devslash> i cant boot it
[19:29] <tomreyn> * do-release-upgrade
[19:29] <tomreyn> devslash: did you try recovery?
[19:29] <tomreyn> did you try failsafe graphics?
[19:29] <devslash> how
[19:29] <tomreyn> !recovery | devslash
[19:29] <devslash> i tried adding init=/bin/bash
[19:30] <devslash> to the end of the grub line
[19:30] <tomreyn> thats not recovery
[19:30] <devslash> i dont have a recovery mode
[19:30] <devslash> in the grub menu
[19:30] <devslash> so thats not an option
[19:30] <tomreyn> then you haven't installed ubuntu but something else
[19:30] <devslash> no
[19:30] <devslash> i have 19.10
[19:31] <tomreyn> then you didn't read the article properly
[19:31] <devslash> lsb_release -a
[19:31] <tomreyn> step 4
[19:31] <tomreyn> Select the line which starts with "Advanced options".
[19:31] <devslash> i dont have that
[19:31] <devslash> i have ubuntu
[19:32] <devslash> memory test (memtest86+)
[19:32] <devslash> memory test (memtest86+, serial console)
[19:32] <devslash> and windows boot manager
[19:32] <tomreyn> hmm, that's strange. so highlight the "ubuntu" one, press 'e'
[19:32] <devslash> yea thats what ive been doing
[19:33] <MikeRL> tomreyn, So after e2fsck, what's next? You can help devslash a bit first if you want to, of course.
[19:34] <tomreyn> devslash: which graphics card do you have there?
[19:34] <MikeRL> tomreyn, Besides I kind of hurt in an obvious area after sitting in this task chair for hours. LOL.
[19:34] <devslash> an nvidia gta
[19:34] <devslash> gtx 750 ti
[19:35] <devslash> had nvidia-430 drivers installed previously
[19:35] <doug16k> that still works! nice
[19:35] <doug16k> video cards tend to die
[19:35] <tomreyn> devslash: on the line starting "linux", (horizontally) scroll to the end, find and remove "splash" and "quiet", add "nomodeset" and "recovery" in their place.
[19:36] <devslash> ok
[19:36] <devslash> im at the recovery window
[19:36] <tomreyn> MikeRL: did you have a look at the article i pointed to earlier? the one about installing ubuntu from scratch with encrypted /boot ?
[19:37] <tomreyn> this one https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019
[19:37] <tomreyn> MikeRL: i suggest reading it since for a large part it will contain the proper instructions for the setup you mean to do.
[19:38] <CarlenWhite> Stuck at an impasse. Grub seems to support LVM but it isn't attempting to try to decrypt the LUKS stuff. The EFI config has this LVM's ID but no indication that it should decrypt first. Grub seems to also have the command to do this but when pointed towards the LUKS/LVM it does nothing and reports no error.
[19:38] <devslash> tomreyn, so what do i do now
[19:39] <tomreyn> devslash: enable networking, drop to a shell, purge nvidia*, undo any manual nvidia driver installations
[19:39] <CarlenWhite> Cyrpto-something. Can't remember the exact command, but pointed it to the partition to only get a empty response.
[19:40] <devslash> ok
[19:41] <tomreyn> CarlenWhite: maybe i guess wrong and 20.04 LTS doesn't have a grub version which supports LUKS2 via cryptroot, yet
[19:41] <tomreyn> *guessed
[19:42] <devslash> tomreyn, done
[19:43] <devslash> apt list --installed | grep nvidia now returns no results
[19:43] <tomreyn> devslash: "undo any manual nvidia driver installations" (and configuration, too)
[19:43] <devslash> um hoq
[19:43] <devslash> how
[19:43] <devslash> what else would i need to do
[19:44] <devslash> thats all that there is
[19:44] <tomreyn> this will probably involve removing any xorg.conf in subdirectories of /etc/X11/ as well as removing blacklisting of the nouveau kernel module off /etc/mod*{,/*}
[19:45] <devslash> when i do find * | grep nvidia from the root folder
[19:45] <devslash> it ifnds some other nvidia related modules etc
[19:45] <devslash> should i manually remove those too
[19:46] <heitibd> devslash what are you trying to do?
[19:46] <tomreyn> depends on where they are located and which kernel you're running, i guess
[19:46] <devslash> im on 5.4
[19:46] <devslash> heitibd, ubuntu doesnt boot after an update from 18.04 to 19.10
[19:46] <devslash> err 5.3
[19:47] <heitibd> maybe boot with live cd backup and install 20.04 ?
[19:47] <devslash> 5.3.0-51
[19:48] <tomreyn> devslash: does this return anything? rgrep nouveau /etc/mod*{,/*}
[19:49] <tomreyn> devslash: does this return anything? rgrep nvidia /etc/mod*{,/*}
[19:49] <devslash> so after purging nvidia drivers, it now boots
[19:49] <devslash> wait one sec
[19:49] <tomreyn> no need to check then
[19:49] <devslash> nm scratch that
[19:50] <devslash> it doesnt
[19:50] <devslash> i spoke too soon
[19:51] <devslash> im at an initramfs prompt now
[19:51] <devslash> let me boot back into recovery
[19:51] <MikeRL> tomreyn, I didn't catch the article...
[19:52] <MikeRL> I see it now.
[19:52] <devslash> im booting back into recovery
[19:53] <devslash> tomreyn, the rgrep return 2 rows for nvidia
[19:53] <devslash> nothing for the other
[19:53] <tomreyn> MikeRL: based on what CarlenWhite reports, it may not be possible to do this setup with LUKS*2* encrypted /boot you're currently preparing with ubuntu 20.04 LTS, yet. but i'm not 100% certain that this has been proven not to be possible, yet.
[19:54] <CarlenWhite> tomreyn, We're back to the previous setup. Good thing I had the foresight to keep the old /boot for a bit longer.
[19:54] <devslash> it says /etc/modprobe.d/blacklist-framebuffer.conf:blacklist nvidiafb
[19:54] <MikeRL> tomreyn, Is there any way to decrypt /boot and leave everything else encrypted?
[19:54] <devslash> does that mean that my nvidia driver is blacklisted by the os ?
[19:54] <tomreyn> devslash: that's ok. what about an xorg.conf somewhere in or below of /etc/X11/ ?
[19:55] <tomreyn> devslash: no it does not mean that
[19:55] <devslash> cant find one
[19:55] <tomreyn> MikeRL: if /boot is a crypto container of its own, yes, otherwise no
[19:55] <devslash> when i do find * | grep xorg.conf from root
[19:55] <tomreyn> MikeRL: in your case: no
[19:55] <devslash> i noticed something else
[19:56] <MikeRL> tomreyn, So, with these relevations, reformat?
[19:56] <devslash> i did update-grub and it says error cannot find a grub device for /dev/sdb1 check your device map
[19:56] <CarlenWhite> tomreyn, I'm trying to have a /boot inside an encrypted LVM but it shouldn't be a stretch for grub to decrypt the LVM and find it's /boot
[19:56] <devslash> tomreyn, ive nbever seen that message when running update-grub
[19:57] <CarlenWhite> Assuming it was able to decrypt the LVM before attempting to navigate.
[19:57] <tomreyn> MikeRL: that's entirely up to you. ;-)
[19:57] <MikeRL> Probably best to redo it all.
[19:58] <CarlenWhite> But the /boot/efi/EFI/***/grub.cfg suggests that it recongizes that the /boot but has no step to decrypt it first.
[19:58] <CarlenWhite> So
[19:58]  * CarlenWhite throws up his hands.
[19:58] <devslash> i did update-grub /dev/sdc and am able to log into my desktop now
[19:59] <devslash> but i dont think its using nvidia drivers
[19:59] <CarlenWhite> But the current setup is saisfactory for my threat-model: Prevent someone from stealing my laptop and instantly become able to rip private data from Ubuntu.
[19:59] <tomreyn> CarlenWhite: the setup works as you describe with the article posted at https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019 (which uses a LUKS1 header)
[20:00] <CarlenWhite> I checked that guide. I had to modify it since this was a retrofit.
[20:00] <CarlenWhite> But still no dice.
[20:01] <CarlenWhite> Also that guide has the /boot in a LUKS>EXT4
[20:01] <CarlenWhite> I was trying for LUKS>LVM>EXT4
[20:01] <tomreyn> CarlenWhite: i do not know whether it works on 20.04, your findings seem to suggest the grub cryptroot module on 20.04 does not support LUKS2, yet. or that you missed something.
[20:01] <tomreyn> grub can handle LUKS1>LVM>EXT4
[20:02] <tomreyn> i have an 18.04 LTS VM which does exctly this
[20:02] <CarlenWhite> That's what I'm sure of. LVM shouldn't stop grub from getting into the /boot but perhaps I should do more testing in a VM.
[20:02] <CarlenWhite> Instead, of course, doing it on my daily driver.
[20:02] <CarlenWhite> Which in retrospect is a bad idea.
[20:03] <tomreyn> devslash: "/dev/sdc" is not a valid argument to "update-grub"
[20:04] <KeithWeisshar> why does the live session default graphic mode only work if CSM is enabled in BIOS even if I boot in UEFI mode?  If CSM is disabled I get corrupted purple and green screen when booting Ubuntu.
[20:04] <tomreyn> CarlenWhite: i'd personally test such 'complex' setups in a VM first of all, yes.
[20:05] <CarlenWhite> I balance my intelligence by doing something very wise but have one major dumb thing to upset this Jenga tower of steps
[20:05] <tomreyn> KeithWeisshar: probably buggy firmware
[20:06] <tomreyn> KeithWeisshar: looks for an upgrade?
[20:06] <tomreyn> *look
[20:07] <Walex> CarlenWhite: keep it simple...
[20:08] <tomreyn> "encryption complicates matters, use more plain text!"
[20:08] <KeithWeisshar> I have an ASUS Z390 Maximus XI Hero Wi-Fi Motherboard with the BIOS version 1401.
[20:09] <Walex> KeithWeisshar: very specific questions/configurations don't play well on IRC...
[20:10] <CarlenWhite> Ah yes. Buggy firmware. The bane of installs.
[20:11] <KeithWeisshar> If CSM is disabled I can only use the safe graphics mode option during a live session
[20:11]  * CarlenWhite had to use an argument in his boot for ages until recently when he updated the firmware of the system.
[20:11] <KeithWeisshar> normal and oem mode won't work, it will corrupt the screen unless I enable CSM
[20:12] <KeithWeisshar> When I enable CSM and boot in Normal or OEM screen the monitor goes blank for a second while it switches the graphics mode
[20:12] <TheFuzzball> No way to install the latest kernel on 20.04 then?
[20:13] <KeithWeisshar> I have NVIDIA RTX 2060
[20:14] <KeithWeisshar> when CSM is disabled it crashes the noveau driver during live session
 at boot time edit grub after the word quiet add nouveau.modeset=0
[20:16] <Walex> is "goes blank for a second" the only downside?
[20:16] <KeithWeisshar> the blanking is normal when switching video mode
[20:17] <KeithWeisshar> blanking is normal when switching any video resolution
[20:17] <CarlenWhite> Dropping into grub to twiddle things
[20:18] <KeithWeisshar> the monitor temporarily turns off the video input when it detects a video mode change from the gpu
[20:20] <doug16k> KeithWeisshar, why not enable the CSM? EFI is a trainwreck of slightly faulty implementations
[20:21] <dbugger> Hello fellas
[20:22] <CarlenWhite> Back. Yeah if things were all equal, I should be able to use cryptomount in grub and it'll prompt to decrypt the LVM.
[20:22] <tomreyn> KeithWeisshar: you can try the server installer (in uefi mode), it doesn't do plymouth, i think, which may help with the early graphics switching introducing problems
[20:23] <CarlenWhite> But I suppose it doesn't have LUKS2 support yet or something else weird. However I'm getting too tired to try any further than I have.
[20:23] <tomreyn> kernel command line parameter "nosplash" may also help, or just the "failsafe graphics" option on grub
[20:24] <dbugger> I have a big problem here: My wifi was acting up the last 2 days so I called to support for my provider, and after a while, he gave up and told me to factory reset my router. I have done all the steps, and now everything works fine. My phone can connect to the wifi, without changing any settings. But my computer is not so cooperative. For some reason Ubuntu cannot find the SSID of the Wifi anymore. My router has 2 different SSID,
[20:24] <dbugger> one for 2.4Ghz and other for 5Ghz. I always connected to the 5Ghz but not that one is not appearing. Only the 2.4 appears on the network list. What could be going on??
[20:24] <doug16k> biggest observable difference between BIOS and EFI boot is, EFI boot uses about 100x more cpu to put each character on the screen
[20:26] <tomreyn> CarlenWhite: thanks for testing and reporting back, have a good night
[20:26] <bjohas> Hello all.
[20:26] <bjohas> I've upgraded to 20.04 a few days ago and I am super-impressed - feels great! However, I do have a problem that I didn't have before (on 19.10), which is to do with the display of the pointer.
[20:26] <bjohas> Basically, the pointer lags visually. It doesn't lag 'actually'. Basically, it feels as if the trackpad pointer is stuttering. I move the pointer, and it doesn't move. It only moves when I release the finger. Or lags behind if I move slowly. However, I then plugged in a USB mouse, and it was the same.
[20:26] <bjohas> I then observed the following: I have the top bar hidden. If I quickly move the pointer up (on the trackpad or USB mouse) the top bar opens BEFORE the pointer visually gets there.
[20:26] <bjohas> So it appears to be a display problem, rather than a driver problem or similar. I happened yesterday for a couple of hours, then went away. However, to day it reappeared and has so far been around for 6 hours or so. I would super-appreciate some input here, as it's clearly insanely annoying.
[20:26] <bjohas> Also posted here: https://askubuntu.com/questions/1234731/trackpad-sticky-jumpy-on-ubuntu-20-04-lenovo-yoga-520
[20:26] <tomreyn> !paste | bjohas
[20:27] <bjohas> Hello all!
[20:28] <bjohas> I've upgraded to 20.04 a few days ago and I am super-impressed - feels great! However, I do have a problem that I didn't have before (on 19.10), which is to do with the display of the pointer.
[20:28] <bjohas> Basically, the pointer lags visually. It doesn't lag 'actually'. Basically, it feels as if the trackpad pointer is stuttering. I move the pointer, and it doesn't move. It only moves when I release the finger. Or lags behind if I move slowly. However, I then plugged in a USB mouse, and it was the same.
[20:28] <bjohas> I then observed the following: I have the top bar hidden. If I quickly move the pointer up (on the trackpad or USB mouse) the top bar opens BEFORE the pointer visually gets there.
[20:28] <tomreyn> !patience | bjohas
[20:29] <bjohas> So it appears to be a display problem, rather than a driver problem or similar. I happened yesterday for a couple of hours, then went away. However, to day it reappeared and has so far been around for 6 hours or so. I would super-appreciate some input here, as it's clearly insanely annoying.
[20:29] <CarlenWhite> tomreyn, As quirky as distros can be, it's much more satisfying to work on them since there's always a tool somewhere that'll get you back to a working system without resorting to a live CD.
[20:30] <CarlenWhite> This is compared to the hairpulling from yesterday when I could not for the life of me figure out why a Windows VM would work in VirtualBox and not in QEMU.
[20:30] <doug16k> bjohas, when it happens, open a terminal and run this command: dmesg
[20:30] <CarlenWhite> Like, a verbose output I would kill for.
[20:31] <bjohas> Thanks Doug! Will try now.
[20:31] <doug16k> if any of your hardware is having trouble, it might yell about it in dmesg
[20:32] <bjohas> It happens both with a USB mouse as well as the built-in trackpad. And it seems to be the display of the pointer that's lagging, rather than the trackpad input... So I think it's not a hardware problem.
[20:32] <doug16k> a device can be timing out and holding a lock inordinately long or something
[20:33] <bjohas> I have entries relating to konversation
[20:33] <bjohas> And: kauditd_printk_skb: 20 callbacks suppressed
[20:34] <bjohas> I should note that this occurs immediately after login, without having started any other applications.
[20:35] <bjohas> Yeah, that seems reasonable.... :) .... though, the pointer works as such: If I drag up, the top bar opens immediately. It's just that the visual display of the pointer lags... but I'm no expert :)
[20:35] <bjohas> It's also not really intermittent: It's been happening for the last 6 hours now.
[20:36] <bjohas> Same behaviour. I had it yesterday for a couple of hours and then it went away. I initially thought it was something updating or something processing in teh background, but clearly that wasn't the case: The cpu load is very low.
[20:36] <doug16k> bjohas, run `sudo apt install linux-tools-$(uname -r)` then when it is happening, `sudo perf top`. it might show something using an extreme amount of cpu at the top
[20:37] <bjohas> ok
[20:37] <bjohas> Btw. thanks for the suggestions on this - I've been tearing my hairs out :)
[20:38] <bjohas> Everything with perf is coming up in gree
[20:38] <bjohas> green
[20:39] <bjohas> Few %, max 3.5%
[20:39] <bjohas> The top one is 'unknown', but I guess that's Konveration. I have nothing else running.
[20:39] <doug16k> is it stuttering now though?
[20:39] <bjohas> Yeah
[20:39] <bjohas> It's constant
[20:40] <bjohas> Started about 6 hours ago.
[20:40] <bjohas> Rebooting doesn't help.
[20:40] <bjohas> I had this for 2 hours yesterday, and it then just went away.
[20:40] <doug16k> you could try disabling selective suspend on usb controller
[20:40] <doug16k> lots of hardware gets that a bit wrong
[20:40] <bjohas> That would only affect USB mouse, right?
[20:40] <bjohas> Or trackpad as well?
[20:40] <bjohas> The behaviour on trackpad and USB mouse is exactly the same.
[20:41] <doug16k> doesn't mean the usb controller state isn't getting screwed up by the suspending
[20:41] <bjohas> OK.
[20:41] <bjohas> Sure! :0
[20:42] <doug16k> do you know how to add kernel parameters to your /etc/default/grub?
[20:42] <bjohas> SOmething like moduel_get_kall_sym just used 10%
[20:42] <banisterfiend> hi guys how do i debug/investigate crazy-long boot times? it takes 1 min untli i get into the graphical shell, and i wann afind out why
[20:42] <bjohas> Let me have a quick look.
[20:43] <bjohas> OK, yeah, so I guess just a sudo edit and reboot?
[20:43] <doug16k> `sudo nano /etc/default/grub` then add usbcore.autosuspend=-1 to GRUB_CMDLINE_LINUX_DEFAULT inside the quotes, then save and exit, then `sudo update-grub`
[20:43] <doug16k> then reboot
[20:43] <bjohas> Here's another observation.
[20:44] <bjohas> I'm running xev.
[20:44] <bjohas> Covering most of my screen.
[20:44] <bjohas> If I move the pointer e.g. across, I see the pointer position coming up in terminal immediately. However, the epointer takes a moment to move.
[20:45] <bjohas> So - xev is registering the pointer movement immediately, but the pointer icon doesn't move immediately.
[20:46] <CarlenWhite> I'm chatting with someone, does Ubuntu send notifications to the desktop if a disk is failing SMART?
[20:46] <CarlenWhite> Or more exactly, a SSD is reaching EOL
[20:47] <doug16k> they have EOL?
[20:47] <doug16k> :D
[20:47] <compdoc> CarlenWhit, not that Ive seen, unless you install an app
[20:48] <doug16k> CarlenWhite, if in doubt, run gsmartcontrol and explicitly check. perhaps run an extended self test if you really want to check it
[20:48] <compdoc> smartmontools, etc
[20:49] <CarlenWhite> I was curious. I feel like it's one of those things that would be really nice for the system to keep an eye on and give the end user a chance to act upon until it's too late.
[20:49] <CarlenWhite> Before it's too late, rather.
[20:49] <CarlenWhite> I can English.
[20:51] <CarlenWhite> doug16k, I was led to believe SSDs have finite write-cycles.
[20:53] <compdoc> you should be able to use them a few years. get the biggest ssd you can afford
[20:53] <bjohas> Hi Doug - tried the grub setting, but didn't help. However - I've just created a new user account, and it doesn't have that problem
[20:53] <bjohas> so it must be a setting in this account.
[20:57] <bjohas> GOT IT!
[20:57] <bjohas> It was the zoom option in accessibility.
[21:01] <raidghost> Is there any TROUBLEsolve for Intel Graphical 4600 graphics card And Ubuntu?
[21:01] <raidghost> Not sure whats going on, since the colors is just garbage.
[21:06] <doug16k> CarlenWhite, you'd probably be amazed how many write cycles on a good brand ssd
[21:07] <CarlenWhite> Oh. Neat.
[21:07] <doug16k> for a normal person write wearout is unlikely
[21:07] <doug16k> they will get rid of it because it is so small before it fails
[21:08] <doug16k> remember that write endurance scales with size, so a good size one will last very long
[21:10] <CarlenWhite> I kinda held off on SSDs for a good while and now I can live without it.
[21:10] <doug16k> drives will tell you their endurance remaining in smart
[21:10] <CarlenWhite> Can't, rather.
[21:10] <bjohas> Many thanks for the support Doug - much appreciated!
[21:11] <bjohas> yay! to #ubuntu!
[21:11] <doug16k> bjohas,  nice
[21:11] <MikeRL> Ugh. Can't tell if I'm a total noob or am just fed up. I reformatted with encryption during the installer and have no idea how to resize the encrypted Ubuntu partition to make way for Windows 10.
[21:11] <Walex> CarlenWhite: "led to believe SSDs have finite write-cycles" disk drives also have finite writes.
[21:12] <CarlenWhite> Walex, Write-cycles lesser than disk drives is what I meant, Sorry.
[21:12] <Walex> CarlenWhite: for example these drives are advertised as to up to 180TB: https://www.ixsystems.com/blog/library/wd-red-smr-drive-compatibility-with-zfs/
[21:12] <devslash> tomreyn, are you still here
[21:12] <CarlenWhite> I think it's an old fact/lie a while ago.
[21:12] <Walex> CarlenWhite: some SSDs have more write cycles than some disk drives...
[21:13] <Walex> the problem with disk drives is that the more you use them the more the mechanical bits wear out, rather than the recording surface.
[21:13] <MikeRL> Only option in the installer was to wipe and do an encrypted partition. No install alongside existing partitions option.
[21:13] <elmgod> doug16k. will reformatting do more to ssd than regular erase/write
[21:13] <MikeRL> I think it needs to only see Windows 10 to allow me to create an encrypted install, but I could be wrong.
[21:14] <MikeRL> I also read resizing anything encrypted can cause damage.
[21:14] <MikeRL> Moreso than with regular partitions.
[21:15] <doug16k> if you secure erase it it's basically a giant trim of the whole drive and reset the wear leveling, you allow it to lose every block, so it has like-new write performance
[21:15] <MikeRL> Anyone know if resizing LUKS2 is dangerous?
[21:15] <doug16k> but that's not likely to be worth doing though
[21:17] <doug16k> isn't there a cron job that trims all the SSDs by default in ubuntu?
[21:17] <doug16k> ...instead of enabling trim in mount options
[21:17] <MikeRL> Referencing here: https://help.ubuntu.com/community/ResizeEncryptedPartitions Documentation last edited in 2015. Not very comforting.
[21:17] <elmgod> I have reformatted my ssd aorund 30 times with new gpt partition table every time how bad is it
[21:17] <doug16k> that cron job will keep it like new
[21:18] <doug16k> elmgod, sounds fine, it's wear leveling, do as you please
[21:18] <devslash> is the grub boot menu supposed to suddenly be black with white text
[21:19] <MikeRL> Going to sign in to Firefox, sync bookmarks, and check the IRC logs to fill the holes in the documentation.
[21:21] <doug16k> elmgod, even if it didn't trim a thing and a ton of free space wasn't trimmed correctly, once you get a desktop working the trim job will make it like new write performance in the free space eventually
[21:21] <tarelerulz> if you boot an iso from grub , and that iso lives on the hard drive itself , can you use the to install Ubuntu to other partition on the same hard drive
[21:22] <MikeRL> Think something is working for once.
[21:22] <elmgod> doug16k: Got it
[21:23] <DartmanX> I have a box with minimal memory and a box with fairly large memory. If I enable X11 forwarding, ssh to the larger machine and run something like Firefox on the machine with limited memory, is it using the resources (memory) of that machine, or of the machine with the more memory.
[21:24] <DartmanX> rather, I run Firefox on the bigger memory machine but use X11 forwarding to display it on the more limited machine
[21:40] <sammyg1321> Hi there! for the Nvidia 710, do you recommend using the drivers in the aditional drivers app or the ones directly from the nvidia website? Thank you in advance
[21:40] <doug16k> sammyg1321, definitely the additional drivers ones
[21:41] <doug16k> you are asking for trouble with the website ones
[21:41] <sammyg1321> Awesome! and would you say my gaming perfomance on windows should be the exact same on linux or better? Games like Portal 2 for example
[21:41] <sammyg1321> Yeah exactly, trying to make my transition as smooth as possible haha
[21:41] <doug16k> source engine is amazing on linux
[21:42] <sammyg1321> But in terms of that performance i get on windows, i assume with linux it should be par-to-par right?>
[21:42] <sammyg1321> and cant wait to try it :D
[21:42] <sammyg1321> "On linux"
[21:42] <doug16k> it's faster than windows even with directx-to-opengl translation layer, probably due to the blinding speed of linux syscalls
[21:43] <sammyg1321> Amazing! i was worried,. Would you recommend straight up ubuntu or Kubuntu or?\
[21:43] <doug16k> they blogged about it :D
[21:43] <sammyg1321> Oh yeah! looks pretty good on youtube for the source engine :D
[21:44] <sammyg1321> Just wondering about distros now haha
[21:44] <sammyg1321> coming from a longtime windows user which UI would be the easiest
[21:44] <Ben64> ubuntu and kubuntu are flavors not different distros, they're both "Ubuntu"
[21:44] <sammyg1321> \Ohhh flavors my bad
[21:44] <Ben64> and it's really just preference
[21:44] <sammyg1321> Hmmm, for a first-timer, youd say Ubuntu is best?
[21:45] <sammyg1321> So all these different *Buntu platforms are all the same, just different UI right?
[21:46] <sammyg1321> Flavors*
[21:46] <doug16k> sammyg1321, my 3950x sits at the driver limit in tf2 on max on 1060, about 300fps
[21:46] <Ben64> different desktop environments and different software installed by default
[21:46] <doug16k> 1060 super*
[21:47] <sammyg1321> doug16k Thats dope!! i have a feeling this is gonna be good
[21:47] <doug16k> oops 2060 super. :D
[21:48] <doug16k> 10xx super is nonexistent
[21:48] <sammyg1321> Ben64 interesting, alright i guess il go with the main distro then
[21:48] <doug16k> was great on my previous 1060 though
[21:48] <sammyg1321> *Flavor
[21:48] <sammyg1321> Because i honestly dont know what is best or whatnot
[21:48] <sammyg1321> i literally have no cluie
[21:48] <sammyg1321> doug16k haahha, i wanna play CSSource :D
[21:49] <Eickmeyer> Please keep this channel strictly to support, please. For reverything else, go to #ubuntustudio-offtopic.
[21:50]  * doug16k zips it
[21:50] <Eickmeyer> Sorry, habit. #ubuntu-offtopic.
[21:52] <openface> how can i disable gnome-keyring
[21:52] <openface> perm
[21:52] <openface> for all apps
[21:52] <sammyg1321> Sorry and thank you!
[21:53] <tripelb> 20.04 no sound. Nothing plugged in the audio port YouTube sound to Max panel volume to max ??
[21:54] <Oderus> trying to share from ubuntu to windows, via samba. i got it all set up, the only problem is.. when i connect from windows it says it doesnt have permission to access it. What would a root command be to give a specified user read and write access to a given folder?
[21:54] <sammyg1321> Also do you guys recommend dual-booting for the best experience or full on disk-wipe?
[22:03] <tomreyn> sammyg1321: that's really a matter of your preferences / needs, so no general answer is possible. dual-boot will always remain a little bit more complex than a single system, and windows does not always play well with other OS around it.
[22:04] <tomreyn> (that's if the other Os is windows)
[22:04] <sammyg1321> tomreyn Awesome! il keep that in mind when doing my install, alright il be back soon gonna start my install now
[22:04] <sammyg1321> Wish me luck!
[22:07] <Oderus> dont need to change ownership just give a certain user read/write to a given dir
[22:10] <rabbitnightmare> is there a way to re-add the amazon stuff? I used that stuff quite a bit
[22:10] <fred1807> 404  Not Found [IP: 35.239.123.202 80]
[22:10] <fred1807> Err:4 http://us-central1.gce.archive.ubuntu.com/ubuntu disco Release
[22:11] <fred1807> how can I fit apt update?
[22:11] <fred1807> fix
[22:11] <tomreyn> !disco | fred1807
[22:11] <tomreyn> !eolupgrade | fred1807
[22:11] <rabbitnightmare> I really really want the amazon apps back
[22:11] <rabbitnightmare> how do I re-add those
[22:12] <fred1807> I reall ywant arch linux at amazon and google cloud :/
[22:12] <tomreyn> !ot | fred1807
[22:12] <rabbitnightmare> I want gmail, google drive, amazon stuff back why did you remove all that
[22:12] <rabbitnightmare> I used it a LOT
[22:13] <rabbitnightmare> always 1 step forward 250 steps back
[22:13] <Oderus> i didnt even know amazon had ubuntu apps
[22:13] <rabbitnightmare> is there a way to re-enable these features?
[22:13] <fred1807> how do I update this EOL ubuntu from command line?
[22:14] <rabbitnightmare> Oderus it has been there for a while
[22:14] <tomreyn> fred1807: read the documentation ubuntu provided
[22:14] <tomreyn> *ubottu
[22:14] <fred1807> there is a whole bible there
[22:14] <tomreyn> https://help.ubuntu.com/community/EOLUpgrades
[22:14] <Oderus> fred1807 sudo do-release-upgrade -d
[22:15] <tomreyn> Oderus: this won't work on most EOL releases, not on disco anyways
[22:15] <fred1807> sudo do-release-upgrade -d   <--- would be sweet to have such an easy command like this
[22:15] <dimspace> rabbitnightmare: just go to amazon.com... most people didnt want amazon built into unity
[22:15] <Oderus> tomreyn oh, I never had an issue so didnt know. ty
[22:16] <fred1807> I guess this is why bash was created for...
[22:16] <rabbitnightmare> dimspace why remove it entirely
[22:16] <rabbitnightmare> give it back!!!
[22:16] <rabbitnightmare> I used it daily
[22:16] <rabbitnightmare> dont be google
[22:17] <rabbitnightmare> how the hell do you know what "most people" wanted if you didnt bother to askl
[22:17] <rabbitnightmare> I think a lot more people used it than you realize
[22:17] <tomreyn> rabbitnightmare: what'S the output of    lsb_release -ds    on your system?
[22:18] <dimspace> they removed the web launcher, so amazon died with it
[22:18] <Oderus> i doubt anyone here is personally responsible for its removal. search in synaptic or muon for amazon
[22:18] <rabbitnightmare> it gave me a lot of important information that simply using firefox doesnt solve
[22:18] <rabbitnightmare> important tracking and shipping updates
[22:18] <rabbitnightmare> all it says now is "firefox needs your attention"
[22:19] <dimspace> but it used ubuntu web launcher which no longer exists
[22:19] <rabbitnightmare> you broke a feature that I know at least 10 people used
[22:19] <rabbitnightmare> bring it back and stop being anti-consumer
[22:19] <rabbitnightmare> real life people
[22:19] <tomreyn> rabbitnightmare: this channel is just for support q&a, not for discussions, nor for trolling
[22:19] <rabbitnightmare> I am not trolling so go fuck yourself asshole
[22:20] <rabbitnightmare> it is a feature I used that you removed
[22:20] <tomreyn> !language | rabbitnightmare
[22:20] <rabbitnightmare> go fuck yourself asshole you are trolling me
[22:20] <rabbitnightmare> kill yourself
[22:20] <rabbitnightmare> piece of shit
[22:20] <cortexman> i can't get ubuntu 18.04 to accept a static IP on AWS - isn't this like one or two commands? (or was, back in the day)
[22:22] <Oderus>  trying to share from ubuntu to windows, via samba. i got it all set up, the only problem is.. when i connect from windows it says it doesnt have permission to access it. What would a root command be to give a specified user read and write access to a given folder?
[22:22] <tomreyn> cortexman: cloud images (and AMIs) differ a little from standard installations. maybe try #ubuntu-server during UK office hours
[22:22] <bet0x> Hello, can Snaps be disabled & removed from the system?
[22:23] <cortexman> tx
[22:23] <tomreyn> bet0x: generally, yes, but it can break some functionality.
[22:23] <bet0x> So its time to move from Ubuntu?  Cause i really don't want snaps on my system
[22:24] <tomreyn> that's for you to decide. this channel is just support Q&A, but there's #ubuntu-discuss, too
[22:24] <bet0x> I got a SNAP version of Chrome when i aptd the package
[22:25] <bet0x> @tomreyn, thank you, i wanted an answer i got it. Was nice to use Ubuntu, time to move
[22:44] <bit00_kzcpu> hello
[22:46] <bit00_kzcpu> hola
[22:46] <tomreyn> hi bit00_kzcpu, do you have an ubuntu support question?
[22:47] <oerheks> :-)
[22:47] <tomreyn> ferche23: please fix your connection.
[22:50] <RoseBus> hello, when i type 'watch sensor' ubuntu is not able to find sensor
[22:50] <RoseBus> i want to check my cpu temp bc i just reseated it hoping to fix a ram issue on the mobo and i dropped it _derp_ and dust got on the termal paste.  i used tweasers to remove as much as i could but i want to make sure it's not overheating
[22:51] <tomreyn> maybe you wanted to run "watch sensors" (plural)
[22:51] <RoseBus> sorry typo, that's what i typed
[22:51] <RoseBus> sh: 1: sensors: not found
[22:52] <tomreyn> the package providing this command is lm-sensors, i think
[22:52] <oerheks> jups
[22:52] <oerheks> !sensors
[22:52] <Ben64> RoseBus: you need to replace the paste
[22:53] <RoseBus> Ben64 i ordered some, it's on the way
[22:53] <Ben64> If you remove the heatsink it needs to be cleaned off and reapplied every time
[22:53] <RoseBus> yea i figured as much
[22:54] <RoseBus> i dont have any on hand right now
[22:54] <RoseBus> installed lm-sensors, now watch sensors is working
[22:54] <RoseBus> temps are below 30C, i should be okay until the thermal paste gets here
[22:54] <RoseBus> i'll try not to run computational intsensive tasks
[22:55] <Ben64> you should make sure you have the system set to shut down if it gets too hot
[23:03] <RoseBus> Ben64 how can i do that?
[23:07] <oerheks> normally the BIOS does that, but without proper cpu paste, milage may vary; i would not use the machine until fixed
[23:07] <RoseBus> there was quite a bit of thermal paste on there when i put it back on
[23:08] <RoseBus> it was still gooey
[23:08] <Bray90820_> Anyone know of a mouse that has the multi touch features of the Magic Mouse that isn't the magic mouse and actually works well with ubuntu
[23:08] <oerheks> not good enough, paste is one time use, it hardens, and if broken, it works as a insulator, not heat transmitter anymore
[23:08] <oerheks> grinn
[23:09] <oerheks> Bray90820_, apple mouse
[23:09] <Bray90820_> Other than that mouse
[23:10] <Bray90820_> I have been trying that mouse for forever and i cant get it working well at all
[23:11] <Bray90820_> I really wanna switch to ubuntu full time but the mouse is has been holding me back
[23:11] <oerheks> multi gestures work fine, out of the box
[23:12] <Bray90820_> oerheks: has anything changed in the past year?
[23:13] <oerheks> no?
[23:13] <Bray90820_> Because i tried like 6 months ago and nothing worked well
[23:48] <Rozha> hallo need some help
[23:48] <Rozha> some one here
[23:49] <oerheks> :-)
[23:49] <Rozha> oerheks can you help little ?
[23:50] <oerheks> hi Rozha, just ask, wait and see
[23:50] <Rozha> oerheks i install ubuntu 20.04 server
[23:51] <Rozha> i want to install apache2 php mysql
[23:51] <Rozha> but to much differnce to install it corectly
[23:51] <Bashing-om> !lamp
[23:51] <Rozha> Bashing-om yes
[23:52] <oerheks> tons of guides out there, which one do you follow?
[23:52] <Bashing-om> Rozha: ^^ What is the nature of your problem ?
[23:52] <Rozha> https://www.linuxbabe.com/ubuntu/install-lamp-stack-ubuntu-20-04-server-desktop
[23:53] <oerheks> https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-20-04 // https://computingforgeeks.com/how-to-install-lamp-stack-on-ubuntu/  https://www.linuxbabe.com/ubuntu/install-lamp-stack-ubuntu-20-04-server-desktop  // https://linuxconfig.org/how-to-setup-lamp-server-on-ubuntu-20-04-focal-fossa
[23:53] <oerheks> read them all, and hardening tips; https://github.com/konstruktoid/hardening
[23:55] <Rozha> thanks
[23:57] <sysRPL> hello, can someone help with setting up a samba server and share? i believe i have done everything correctly but cannot connect
[23:58] <sysRPL> when i run `sudo testparm smb.conf` i get Error loading services
[23:58] <sysRPL> to install i ran sudo apt install samba
[23:58] <oerheks> sysRPL, on what ubuntu version and what guide do you follow??
[23:59] <sysRPL> Ubuntu 18.04.4 LTS