[00:14] hello all [00:14] is there a ubuntu legacy channel? [00:15] Haris: explain "ubuntu legacy" . [00:16] 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] there has been thoughts about it, -legacy; support for eol versions, but no. [00:16] I have a HTTP DDoS to mitigate [00:16] no support for 14.04 [00:16] mod_evasive is like its there but not working [00:16] try the security or pentest channels? [00:17] pull network cable [00:17] that would be safe, yes. [00:18] that's not funny guys [00:18] there's pen test channels here? [00:18] not in #ubuntu [00:18] !alis [00:18] Alis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http" [00:22] it's not from rufus either [00:23] 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] if there isn't a way ti disable that crap I will just reload 16.04 and do a sysup [00:23] this is rediculous [00:24] also if I try to do lvm it bombs installing grub as well [00:24] not that I need lvm or care [00:25] who left you out of ##security containment? [00:25] for many other poeple, it just works fine. [00:25] something must be specific to what you're doing [00:26] no I have seen it on 3+ machines now [00:26] flyback: try some other method of writing the installation media [00:26] I d id [00:26] same shit [00:26] three of the same machines? [00:27] nope [00:27] 2 laptops, 2 servers [00:27] all predate efi [00:27] and you're using which ubuntu installer image exactly? [00:28] the iso is hybrid, so if it writes an uefi part on it, that is not a bug. [00:28] so it's setting up a boot system for hardware that does not exist [00:29] genius [00:29] if you talk about the usb, yes, genius. [00:29] heh [00:30] sad and pathetic [00:30] if your system creates a efi part during install, it is not 'predate efi'.. [00:30] I been in the IT field almost 30 yrs [00:31] it's my job to take apart hardware and troubleshoot systems [00:31] poweredge 840 PREDATES EFI [00:31] LATITUDE d830 predares efi [00:31] latitude d820 predares efi [00:32] hell i'll read out the bios image and run it thru binwalk and prove [00:32] NO EFI CODE [00:32] k thx [00:39] 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] it's not the r840 [00:39] genius [00:39] this is a old core2xeon based system from 2008 [00:39] anything else? [00:40] *proest* [00:40] this behavior didn't start till after 16.04 server [00:40] BMCC [00:40] * flyback smacks oerheks with a canadian [00:42] !bmcc oerheks [00:42] oerheks: BITE MY 'CANUCK', CANUCK! [00:42] So I encrypted the system partition. But now it dumps me to GRUB and I don't know why. [00:45] 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] I was looking for the program. [00:50] I used cryptsetup-reencrypt on /dev/sda6 (Ubuntu 20.04 install) and it wasn't previously encrypted. [00:51] Did so from a live USB and the encryption succeeded without error. I followed the man page for the program. [00:51] and this was the system currently running at the time? [00:51] ah ok [00:51] Yes [00:52] hmm, did you update-initramfs afterwards? [00:52] Nope. [00:52] should have. don't know how to. [00:52] Let me search it. [00:52] you'd also need to edit /etc/crypttab [00:52] My guess is I can chroot in. [00:53] Edit it to what? [00:53] you can probably chroot to it if you're running a 20.04 live system [00:53] (possibly also with others) [00:53] there's a man page for crypttab, i believe [00:54] yes, crypttab(5) [00:54] says error mounting after unlocking in disks. [00:54] I did use the correct passphrase. [00:54] i'd do it on the CLI, don't know the GUI tools well enough [00:55] also, i like to know what went wrong [00:55] how do I make my mouse faster? I already have sensitivity to max. Or how do I increase dpi ? [00:56] settings -> devices -> mouse & touchpad -> mouse speed [00:56] Hmm. "mount: /mnt: unknown filesystem type 'crypto_LUKS' [00:57] I typed in "sudo mount /dev/sda6 /mnt/" [00:57] After fdisk -l. That shows the install [00:57] you need to sudo cryptsetup luksOpen /dev/sda6 sda6_crypt [00:57] Oh thanks [00:58] then sudo mount /dev/mapper/sda6_crypt /whereveryouwantit [00:59] unless you have lvm in there or some other layers [00:59] First one isn't being typed in correctly. [01:00] is there a key stroke eating monster on your keyboard? [01:00] I typed "sudo cryptsetup lukes0pen /dev/sda6 sda6_crypt. [01:00] this one is without using the force, luke [01:00] was that a typo? no just using irc on phone. sucks [01:00] just luksOpen [01:00] will change to desktop [01:01] and an upper case oooh, not a zero [01:02] Bingo. [01:02] Says already mounted. [01:03] Disks must've done the same thing as the first command. [01:04] so do you see at the mount point what you expect to see? [01:04] "mount: /dev/mapper/sda6_crypt: can't find in /etc/fstab". [01:05] More useful error than the GUI. [01:06] you need to indicate where to mount to [01:06] but then you just said it was already mounted? [01:06] if so, "mount" would say === Guest36472 is now known as Sebastien [01:09] I see nothing under mount. [01:09] It appeared mounted. my mistake. Shows in nautilus. under other locations. [01:10] but clicking it in disks and nautilus generates an error. [01:10] looks like you're still working with gui tools [01:11] Under mount command I see the Windows partition and a few MB partition I labelled ENCRYPT. [01:11] Used cli as well [01:11] what is a "MB partition"? [01:12] few megabytes. [01:12] ok sorry i really didn't get it, it's getting late [01:12] That's fine. [01:12] maybe you can share the fidsk - loutput? [01:13] I did get a more detailed error from using the cli earlier, too. did you catch it? [01:13] maybe you can share the fdisk -l output? [01:13] which one do you mean? [01:13] this? "mount: /dev/mapper/sda6_crypt: can't find in /etc/fstab". [01:13] Yes. [01:14] 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. === zbenjamin is now known as Guest46411 === zbenjamin_ is now known as zbenjamin [01:14] I thought it was mounted [01:14] it was not. [01:14] i see. so run what i suggested earlier: [01:14] then sudo mount /dev/mapper/sda6_crypt /whereveryouwantit [01:15] replace /whereveryouwantit by an existing, empty directory [01:15] Can I place it in mnt? [01:16] in /mnt ? yes, if nothing else is mounted there [01:16] mnt is ok. [01:16] Similar error to GUI. [01:17] "mnt" is not ok, "/mnt" probably is [01:17] so you want to disclose this similar error? [01:18] "mount: /mnt: wrong fs type, bad option, bad superblock on /dev/mapper/sda6_crypt, missing codepage or helper program, or other error. [01:19] sda6_crypt did print with sudo fdisk -l [01:19] and the exact command you ran was? [01:19] sudo mount /dev/mapper/sda6_crypt /mnt [01:20] The directory was empty as well. [01:20] 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] MikeRL: looks good. what's the output of file -s /dev/mapper/sda6_crypt [01:20] !ltsupgrade [01:20] Regular upgrades from 18.04 LTS to 20.04 LTS will be enabled once 20.04.1 is released in late July. This delay helps to ensure that any lingering issues are resolved before people upgrade production systems. If you'd prefer to upgrade now, use sudo do-release-upgrade -d [01:20] The cli and GUI errors even have very similar wording. but said wording is vague. [01:20] MikeRL: with sudo please [01:20] it happens with 20.04.1 point release, i would wait [01:21] "/dev/mapper/sda6_crypt: symbolic link to ../dm-0 [01:21] crap. [01:22] 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] Same output with sudo. [01:22] aaaardvark__, same reason, LTS gives a different upgrade path, by design [01:22] MikeRL: that's ok. what's the output of sudo file -sL /dev/mapper/sda6_crypt [01:23] go for the -d option [01:23] At least I do have a 20.04 have from this week just in case. will get output. [01:23] 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] Give me a sec. can use hexchat. [01:24] typing on the phone is a pita. [01:24] sure [01:24] 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] oerheks: but all docs I can find say that the 19.10->20.04 should be available by now [01:25] lots of development project need this pause [01:25] Back. [01:25] 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] " [01:25] all the doc, like omgubuntu? [01:26] the iso is available for download. [01:27] 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] 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] *puzzleD [01:28] "/mnt" in the live usb [01:28] MikeRL: you could run e2fsck against it [01:28] Against the unlocked partition? [01:28] MikeRL: yes, /mnt on the live usb, should probably exist, and be writable, by root. [01:29] MikeRL: against the unlocked partition but unmounted file system on top of this partition, yes [01:29] use -f [01:30] https://ibb.co/DYv92Q1 [01:30] Proof the folder exists and has the right permissions. [01:31] pretty tiny proof, but yes [01:31] though i have less trust in GUIs [01:31] !paste [01:31] For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [01:32] Should I specify any arguments? [01:32] use -f [01:32] Didn't know that bot. [01:33] e2fsck: Cannot continue, aborting. [01:33] Even though it says unmounted already after typing in sudo umount /dev/sda6 [01:33] please show the full command you ran and its full output [01:34] or re-run like this: sudo e2fsck -fn /dev/mapper/sda6_crypt 2>&1 | nc termbin.com 9999 [01:34] Will rerun. [01:35] https://termbin.com/g1fp [01:35] Looks like the size is off. [01:36] the file system is larger than the container [01:36] you may have lost some data [01:36] How to go about fixing it? Well I got a backup. [01:36] File system had a lot of free space on it, but I take it that doesn't guarantee anything. [01:36] cryptsetup-reencrypt doesn't state it with as many uppercase characters as it probbaly needs to [01:37] it doesn't ensure that the existing file system will still fit onto the encryption layer [01:37] but obviously the resulting file system will need to be smaller than it used to be [01:37] since the encryption layer also takes some space on the partition [01:38] So, what is the next recommended move? I'm wondering... [01:38] you can resize2fs the file system [01:38] but i'm not sure it'll be happy to do this with a dirty file system [01:39] actually it may not have the dirty bit set [01:39] I'll run it with the -f option. [01:40] is it needed, though? [01:41] Uh oh. [01:41] Failed. [01:41] "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] busy? so it is mounted? [01:41] what did you run? [01:42] Nothing except what was told. [01:42] /dev/sda6 [01:42] no one said /dev/sda6 [01:43] that's a partition containing a crypto layer [01:43] Oh. [01:43] It's supposed to be sda6_crypt, right? [01:43] yes, in a different directory [01:43] e2fsck and resize2fs operate on file systems [01:44] sda6_crypt is the unlocked crypto layer containing a file system [01:44] OK. [01:44] So I tried that. But where would the directory be? [01:45] Sorry I am not well versed with encryption on Linux. Or in general. [01:45] "/dev/mapper/sda6_crypt: symbolic link to ../dm-0 [01:45] Did see that in a command earlier. [01:46] so you can either specify /dev/mapper/sda6_crypt or /dev/dm-0 [01:47] "ubuntu@ubuntu:/mnt$ sudo resize2fs -f /dev/dm-0 [01:47] resize2fs 1.45.5 (07-Jan-2020) [01:47] Resizing the filesystem on /dev/dm-0 to 136758784 (4k) blocks. [01:47] resize2fs: Attempt to read block from filesystem resulted in short read while trying to resize /dev/dm-0 [01:47] Please run 'e2fsck -fy /dev/dm-0' to fix the filesystem [01:47] after the aborted resize operation. [01:47] " [01:47] !paste [01:47] hi [01:47] MikeRL: you got muted for posting too many lines to the channel at a time. the mute will expire shortly [01:47] i need help! when i close lid i want my screen to lock. how to do that? Using 20.04 LTS [01:48] MikeRL: use https://paste.ubuntu.com [01:48] https://paste.ubuntu.com/p/CyZX65G4FQ/ [01:48] (see /topic ) [01:49] so do what it suggests [01:49] I could try running the suggested command next. [01:49] with sudo [01:49] It auto aborts. [01:50] anyone is there? [01:50] no one know how to make this work? [01:50] MikeRL: details please [01:50] https://paste.ubuntu.com/p/98KDDPBJ8Q/ [01:52] 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] Verbose mode gives the same output. [01:52] !help [01:52] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [01:52] i need help! when i close lid i want my screen to lock. how to do that? Using 20.04 LTS [01:52] MikeRL: you can re-run without -y and continue, possibly breaking the file system [01:52] Figured something out. === gabkdlly_ is now known as gabkdlly [01:54] is this channel logged? [01:54] It was auto-answering yes, Figured that out of the man pages. [01:54] I don't think the command fixed it. I will give another paste. [01:55] heitibd: irclogs.ubuntu.com [01:55] https://paste.ubuntu.com/p/rkSrHmrNgY/ [01:55] Could try replacing the superblock [01:55] tomreyn: how can i grep it? [01:57] 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] 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] Yeah no errors except the size thing. [01:58] MikeRL: you can specify a desired size when running resize2fs [01:59] How do I go about it? It coughed up issues before. Try this time with /dev/dm-0? [01:59] Is the default size in bytes? [01:59] no, in blocks [01:59] Is there a way to specify in bytes? [02:00] the size returned by e2fsck is also in blocks [02:00] so it should be easy [02:00] sudo resize2fs /dev/mapper/sda6_crypt 136758784 [02:01] heitibd: you can download logs, then run grep on them, i guess [02:02] there [02:02] fixed [02:02] tomreyn i want to without download.. or if not possible how to download? [02:02] just had to do a manual partition because the installer system incorrectely assumes it's a efi system [02:02] https://paste.ubuntu.com/p/xNCq9Y2DB4/ [02:03] Stuck in a loop. e2fsck -f returns no errors. [02:03] heitibd: what are you hoping to achieve? [02:03] tomreyn you join now? [02:05] gnome-teak-tool gives the option 'suspend when laptop lid is closed' [02:05] !info gnome-tweak-tool [02:05] MikeRL: so yes, try a different superblock, the original one is probably no longer there [02:05] no it doesnt [02:05] gnome-tweak-tool (source: gnome-tweaks): adjust advanced settings for GNOME - transitional package. In component universe, is optional. Version 3.34.0-2 (eoan), package size 1 kB, installed size 12 kB [02:05] yes it does. [02:06] wait suspend [02:06] i said iwant lock [02:06] please read.. [02:06] I may just restore and reencrypt. But where did I go wrong? I'd have to reread the man page. [02:06] Thanks for all the help. [02:06] oerheks suspends works but i want to lock instead [02:07] MikeRL: i tried to explain twice :/ [02:07] I must've not read it. Oops. [02:07] MikeRL: using 'reencrypt', you're adding a new layer between the partition and the file system. this layer takes some space. [02:08] so you need to shrink the file system before you do it [02:08] As in shrinking the partition via the GUI would cut it? [02:09] shrinking a partition is a different action than shrinling a file system [02:09] Yes. [02:10] some GUIs would realize that they would need to shrink upper layers if you try to shrink lower layers. others may not. [02:10] 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] both are suspend standard [02:11] So there's a difference... Shrinking a file system sets aside space for stuff like encryption. [02:12] oerheks they dont have option to lock [02:12] 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] if that does not apply, HandleLidSwitch=lock https://askubuntu.com/a/1200757 [02:13] oerheks oh yeah it doesnt work LOL [02:15] Tired. Thanks. What I'll do is shrink from the command after a restore. Maybe 136600000? === kostkon_ is now known as kostkon [02:15] Should be enough. At least I hope. [02:16] MikeRL: you can extend the file system to cover the full available space within the crypto layer after cryptsetup_reencrypt finished. [02:16] extending is as easy as running resize2fs against the file system without any parameters [02:17] even works while it's mounted [02:17] 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] Thank you sir. [02:19] I am tired now. Goodbye. [02:19] MikeRL: 136600000 is less than 136758784 so it should be ok [02:19] Yep. [02:19] goodbye, tired here, too [02:28] @tomreyn, I already said I have it on max [02:35] hi [02:35] someone wrote something? [03:12] Does anyone from the maintainers comes here? [03:13] Or better from canonical [03:13] https://www.reddit.com/r/linux/comments/gc7p1t/ubuntu_2004_lts_snap_obsession_has_snapped_me_off/ [03:13] if so better forward this in your internal channels [03:13] I mean if you care, I am noone to tell you what to do [03:14] read that, [03:15] if one does not like the design and snaps, hop distro? [03:15] I used to unistall snapd before, will see if that works next few days [03:15] Sure will do [03:16] 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] The thing is I don't even use the desktop, mainly I use ubuntu for the apt with i3 [03:16] whatever, just though someone might be interested [03:16] going to bed [03:17] Does anyone know how to remove the studpid pantheon title bars and restore them to the classic title bars? [03:28] OERIAS: screenshot? === themacproguy is now known as Zachary_DuBois [03:48] matsaman, this type of title bar [04:06] OERIAS: ? [04:06] matsaman, https://imgur.com/LzRxXTi [04:14] what is wrong with chromium, its unable to print, generating preview forever [04:15] every few months its got some serious issues with major functionality [05:02] 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] 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] 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] Stopped their bitcoin miner. I’m just curious what else they left around. [05:43] 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] Tiling windows manager [05:49] hello [05:49] how i install tcl 8.5? [05:52] warsoul, not, we are at 8.6.x for some time now [05:52] https://launchpad.net/ubuntu/+source/tcltk-defaults [05:55] 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] Tcl error in file 'eggdrop.conf': [05:58] can't find package dict [05:58] while executing [05:58] "package require dict" [05:58] how i install the dict [05:58] ? [05:59] thanks [05:59] need to install dict [06:10] good morning! [06:11] 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] based on https://wiki.ubuntu.com/Releases I have time untill April 2022 - is this correct? [06:14] Ubuntu 14.04.6 [06:14] im on this ubuntu [06:14] how do i upgrade to the new version 20.04 [06:15] warsoul: sudo update-manager -d [06:15] this erase what i have saved [06:15] ? [06:19] im not sure what else to do at this point [06:22] 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] i would reinstall [06:26] Junior im running just a irc server [06:26] after i update [06:26] should i reboot? [06:26] so long without updates, .. bad [06:29] Junior: Unless you are paying for extended support, 14.04 stopped receiving security updates in 2019 [06:32] yes, why should we take this request seriously [06:38] 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] Junior: after which you should definitely upgrade your PHP stuff, and/or stop using such a poorly implemented language altogether [06:39] 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] !ltsupgrade [06:39] Regular upgrades from 18.04 LTS to 20.04 LTS will be enabled once 20.04.1 is released in late July. This delay helps to ensure that any lingering issues are resolved before people upgrade production systems. If you'd prefer to upgrade now, use sudo do-release-upgrade -d [06:39] wait for 20.04.1 [06:40] Oh! Okay. Thanks! [06:40] and aws, they will provide images, i hope [06:42] And what about those running 19.10? [06:47] 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] php 5.5 isn't compatible with 5.6? [06:48] if so that's worse than I thought, which was pretty worse [06:51] some elements changed from 5.5 to 5.6 [06:51] i don't have many apps on 5.5 though [06:52] my sole problem is untill when i have to upgrade [06:52] i prefer lose one legacy app instead of losing the server [07:00] well you should probably upgrade everything (including scripts) a lot more often [07:03] 5.5 has been EOL for 3.75 years [07:26] matsaman when there are too many things to do... [07:31] I am trying to make hdmi external monitor work with my laptop using Ubuntu, can anybody help me? [07:31] its Ubuntu 20.04 LTS [07:32] Kristine86: it should "just work" [07:32] CarlFK it didn't and it didn't show up in Settings>Display either [07:34] 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] \o/ [07:34] what does that symbol mean? hehe [07:34] my arms over my head rejoicing [07:35] oh haha yipeeee. I'm so happy. Now I just need to solve issue of dual booting with Windows. [07:44] What is the package that provides screen sharing in gnome settings? === fightthewalrus1 is now known as fightthewalrus [07:51] 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] 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] Selecting best server based on ping... [07:51] Hosted by CJSC TransTeleCom DV (Khabarovsk) [7134.77 km]: 314.325 ms [07:51] lel [07:51] fastfresh: vino (https://help.gnome.org/users/gnome-help/stable/sharing-desktop.html.en) [07:52] olegb: and what is gnome-remote-desktop? [07:59] ubottu: !info gnome-remote-desktop [07:59] ubottu: info gnome-remote-desktop [08:00] fastfresh: apt show gnome-remote-desktop ... since ubottu isnt helping much :-) [08:01] fastfresh: I guess both should work .. [08:03] Thanks [08:11] can some help with a title bar issue? [08:12] I hate the panteon title bars and I want to have the classic title bar [08:12] https://imgur.com/a/920P1Bi [08:15] 'classic' as in gnome? elementary guys maybe know howto, .. [08:17] oerheks, thanks I will check with them [08:57] Aloha [08:57] hey [08:58] shalom [08:58] 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] fun fact: it will resume when I plug in a power cable :) [08:59] can I raise this as a bug? [08:59] you can, it might be ignored or invalidated [09:00] it's hard to capture any useful output.. as it freezes right after GRUB [09:00] I wonder if you're suspending to ram when maybe you should suspend to disk [09:00] or the like [09:01] i tried masking hibernate.target and suspend-then-hibernate.target but same.. [09:01] matsaman: I will try the other route, I guess. (only hibernate) [09:01] sometimes also [09:02] there can be a mismatch between the BIOS settings and what the OS is configured for [09:02] the BIOS settings/actual hardware support, and what the OS is configured for [09:03] :) [09:03] brb.. reboot to BIOS to check [09:15] meh.. all I can do in BIOS is "disable sleep for OS" :/ [09:15] should have gotten a thinkpad methinks ;) [09:20] ahwell. there seems to be something like that - I am joining that https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1853369 [09:20] Launchpad bug 1853369 in intel-microcode (Ubuntu) "[19.10] Boot hangs at "loading initial ramdisk"" [Undecided,In progress] [09:22] 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] take care people :) [09:24] 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] broomhall: No, you can add a new partition and select something stating encryption there. [09:28] 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] Does sticky bit has any significance on modern linux systems? [09:33] Is there any way to set `alt_r` to `caps` with setxkbmap? [09:34] 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] 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] any one has an idea which game I might have played? [09:40] openspades [09:40] got it [09:55] Hi. I would like to install samba 4.12 in my ubuntu 20.04 vm. How can I do that? =) [10:11] quit [10:15] 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] or wait. [10:17] 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] cool, good luck. [10:19] rory: thanks =) [10:29] 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] Was happening previously on 19.10, just upgraded to 20.04 this morning. I'm using a usb sound card (Scarlett 2i2) [10:35] Howdy all [11:39] 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] crimson_king: edit the script and make the first line point to the executable needed, example #! /usr/bin/env python3.5 [11:41] what's up everyone [11:41] hmmm... it's a lot of files. I'm building LineageOS. It's huge. [11:41] alternatives? [11:41] python-minimal maybe (not sure) crimson_king [11:42] i'll take a look [11:42] crimson_king, nope, not available in repo [11:43] ah! found a way, i think [11:43] 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] the package 'python-is-python3' [11:43] does that, so /usr/bin/python is python3 [11:43] crimson_king, yeah [11:44] hehe nice [11:44] What intel graphics driver is recommanded for ubuntu 20.04 LTS ? [11:44] The card is a Intel Graphics 4600 [11:46] crimson_king, but honestly might cause some confusion 'cause python2.7 is still available in focal [11:47] raidghost: the correct driver should be included in install [11:48] jeremy31: weird. since have some issues trying to build openttd from source [11:49] configure: error: no video driver development files found [11:51] 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] crimson_king, that's true for the ubuntu packages [11:56] jeremy31: so how do i solve it? [11:58] raidghost: no idea [12:08] 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] 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] 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? === skookum1 is now known as skookum [12:34] crimson_king: you create a symlink [12:35] blb4393, I already solved it by installing python-is-python3. Thanks [12:35] crimson_king: thank you for this package! [12:35] probably it creates a symlink [12:35] yes [12:36] > /usr/bin/python: symbolic link to python3 [12:36] it does :) in an apt-y way. [12:37] 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] I can't believe that python2 eradication story if close to be over. How long did it take, like, 10 years? [12:46] 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] */rec/resolv.conf [12:48] Edit the file? Open a text editor and edit the file. Am I missing something? [12:49] 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] 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] Or, you could figure out how to over ride it in a user config instead of fighting with the machine. [12:50] Yes, how to override it in a user config? [12:51] blurkis: https://pastebin.com/prp8Q1dJ (What packages needed?) [12:51] tasuki: Google is your friend: https://itsfoss.com/resolvconf-permanent-ubuntu/ [12:53] You do see how the question that you asked does not even come close to describing your problem? [12:53] How do I edit a file? [12:54] 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] Take your time, write out the whole situation in 1 long description of the problem next time [12:56] fwiw this doesn't work [12:56] and I'm pretty angry about the whole situation hence the lack of coherence [12:57] $ cat /etc/dhcp/dhclient.conf [12:57] # Configuration file for /sbin/dhclient. [12:57] prepend domain-name-servers 127.0.0.1; [12:57] 14:55:11 vita@balrog ~ [12:57] $ sudo service network-manager restart [12:57] !paste | tasuki [12:57] 14:55:21 vita@balrog ~ [12:57] tasuki: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [12:58] here, that's the way it doesn't work: https://paste.ubuntu.com/p/nJgYvwy3kW/ [13:00] tasuki: You did 1/2 of what it suggested, you removed the # but ignored the other half of the instruction [13:00] tasuki: If you don't get a response here, I'd try asking in ##networking. [13:01] 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] You've manually assigned domain-name-servers 127.0.0.1 instead of directing it anywhere [13:04] hmm, so what's the `supersede domain-name` supposed to be set to? [13:04] what were you setting it to in the file that was being over written? [13:04] 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] StevenJayCohen and Eickmeyer thank you both for help and patience! [13:20] https://jatan.blog/2020/05/02/ubuntu-snap-obsession-has-snapped-me-off-of-it/ [13:27] makara: that's just FUD [13:29] yeah [13:31] What parts of it are inaccurate? [13:31] Calling it FUD doesn't provide much value. [13:32] All that hate for Snap is FUD [13:33] Because of Snap security updates are installed fast [13:33] It's the best system available [13:34] Should I use csh or tcsh with ubuntu 20.04, i dont really know the difference [13:34] That doesn't refute any particular point made. The whole article is critical of snaps. [13:35] 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] 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] most pesky thing for me is having hundreds of loopback devices when I want to check disk space [13:38] What would be solution to that? [13:39] Would community step up to provide .deb packages? [13:40] * StevenJayCohen wonders if this conversation should be in the off topic channel? [13:40] i suppose i could set an alias to grep sda [13:41] he's wrong about auto-updates. He should do what popey said and download the package [13:41] tell me one thing though, is it true apps are slow to launch? [13:41] xet7: https://packages.debian.org/buster/chromium [13:41] xet7: It's already there. [13:41] makara: From my experience, yes. [13:42] StevenJayCohen: And probably. [13:43] See you there! [13:44] I do make Snap package for Wekan, it has strict confinement. For me Snap works great. [13:44] 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] Xard: thanks! [13:47] Should I use sh, csh or tcsh with ubuntu 20.04, i dont really know the difference [13:49] JacksonMike: zsh with oh-my-zsh and powerlevel9k [13:49] I used snaps regularly in 18.04 and the cluttering of the disk space indicators was worst problem I encountered [13:50] Xard: This channel is strictly for support. Please take anything else to #ubuntu-offtopic. [13:50] makara alright ty [13:54] 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] by the time he's set up that lot he'll know all about shells ;) [13:57] 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] Historically, such "poll" or opinion-based questions haven't been allowed here. [13:59] Right, that's why I suggested finding a channel for each shell and talking there. [14:00] StevenJayCohen: I was agreeing with you. :) [14:00] Eickmeyer StevenJayCohen This channel is strictly for support. Please take anything else to #ubuntu-offtopic. [14:01] JacksonMike: If you're going to mock or troll, please leave now. [14:01] im kidding, luv u <3 [14:01] JacksonMike: Hard to tell. :) [14:07] hi [14:08] i installed 20.04 LTS but having issue [14:09] hello [14:09] hello [14:09] 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] How do I make my mouse faster? I already maxed it out in settings. Or how do I increase dpi ? [14:09] 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] so it doesn't work but actually today it works? this seems contradictive to a degree, can you explain? [14:11] yes i explained [14:11] heitibd: Do you have gnome tweaks installed? [14:11] tomreynwhat you dont understand? [14:12] StevenJayCohen: yes [14:12] heitibd: And you have that setting turned on, I assume. So, what do you see in Logs after the error happens? [14:13] StevenJayCohen i dont know how to access the logs. yes its turned on [14:15] heitibd: SuperKey and type Logs [14:18] i dont know so many logs [14:20] 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] intel cpu, intel gpu [14:21] heitibd, ok, it has a name ... brand ? [14:21] nevermind [14:21] ioria can you read here https://ubuntuforums.org/showthread.php?t=2442362 [14:22] heitibd, so you disable it ? [14:22] I actually revert on gnome-tweaks to suspend and return to default [14:23] and today it lock the screen instead of suspending it [14:23] better you don't like overheating [14:23] huh? [14:24] ioria: can you help me please? [14:24] heitibd, if you disable suspend and close the lid, the machine stays up and running [14:24] I enabled it [14:24] ok [14:24] let me update the post [14:24] SMH [14:24] heitibd, lspci -nnk | nc termbin.com 9999 [14:24] im troubleshooting all day since yesterday [14:25] if I close and open my lid and then do "systemctl status systemd-logind" I see: [14:25] #systemd-logind[977]: Lid closed. [14:25] #systemd-logind[977]: Lid opened. [14:25] but no suspend, either [14:25] hmmm [14:25] yes i did see that but SMH it doesn't really help [14:25] just to EXAMINE it close lid [14:25] SMH [14:26] ioria i dont feel like sharing my hardware information. what do u want to know exactly? [14:26] in tweak tools "Suspend when laptop lid closed" is enabled.. but no sleep here, either. [14:26] yep bro [14:26] do you have 20.04 ? [14:26] i mean do you use it? [14:26] if you stop calling me bro I will talk to you :) [14:26] done === mnemonic is now known as Guest54195 [14:27] also i dont mind its an issue and 100% everyone has it [14:27] i mean i really want it to resolve for the community [14:27] 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] There is no development version of an LTS available. [14:28] ls-release: DISTRIB_RELEASE=18.04 [14:29] out of curiosity, when is 19.10 no longer supported? [14:29] v0lksman I Had the same issue from 19.10. Backed up and reinstalled completely. But did you add new repos? [14:30] AndreasR im sorry [14:30] i hope you are not hurtful [14:30] so.. all my fans start spinning full speed when I close the lid but no suspend. [14:30] I have the postgresql repo enabled yes [14:30] pls take my apologize sir [14:30] I don't like bro culture that's all :) trying to fix problems is awesome [14:30] do you have 20.04 ? [14:32] AndreasR can you cat /etc/systemd/logind.conf ? [14:32] Andrio: Looks like its around march/april 2021 [14:33] v0lksman Sorry, you mean the `deb https://...`? [14:33] yeah [14:33] only one non-standard repo [14:33] ah. [14:33] ioria hello? [14:34] Andrio: Correction, July 2020 [14:34] Andrio: https://endoflife.software/operating-systems/linux/ubuntu [14:35] https://dpaste.org/oRPw [14:35] doesn't make any sense [14:38] heitibd, have you tried this ? https://itsfoss.com/ubuntu-close-lid-suspend/ [14:38] 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] ioria what exactly? [14:39] why doesn't ubuntu comes with pm-utils? I don't know this package. [14:39] I disabled Intel TPM in BIOS and it looks better now.. [14:39] huh? [14:39] u disabled and now it suspend or lock? [14:39] I can suspend/resume [14:40] took me two reboots .. also had to disable secure boot [14:40] :/ [14:40] ok but do you use gnome-tweaks? [14:40] yes [14:40] does the option enabled of suspend [14:40] ? [14:40] inside gnome-tweaks suspend option is enabled? [14:41] and can you send me the file "/etc/systemd/logind.conf" please? [14:41] 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] i dont have intel TPM afaik [14:41] and secure boot is disabled [14:42] can you please send me the file of /etc/systemd/logind.conf [14:42] it's all disabled/commented out (default?) [14:42] nothing uncommented? [14:42] nope [14:42] weird [14:42] what does it gives you ? echo $XDG_SESSION_TYPE [14:42] x11 [14:43] I expected wayland.. [14:43] can you run this and show output? systemd-inhibit [14:43] no i have X11 too... [14:43] could be due to nvidia stuff [14:43] i am not sure but i dont think so? [14:45] AndreasR can you please upload file if need censor ur username and do you have pm-utils installed? [14:45] https://pastebin.com/HcT8DAEq [14:45] dpkg -l | grep pm-utils [14:45] i dont have it installed tho [14:45] isn't that (pm-utils) ancient? [14:46] i think so too [14:46] someone said to install pm-utils [14:47] if i recall it was ioria [14:47] it's installed, it seems - ii pm-utils 1.4.1-19 [14:48] weird [14:48] systemd-inhibit | grep block [14:49] anyway i am still having issue [14:50] 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] 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] 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] yeah but dont expect that it work again [14:51] it worked for me before than not [14:51] heitibd: that's not very helpful, as others have said. you need logs/evidence/what has changed :/ sorry [14:52] "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] and the lid.. I didn't even notice until today that it doesn't work [14:53] AndreasR https://ubuntuforums.org/showthread.php?t=2442362 [14:53] 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] changing systemd files doesn't help ,either. If you want to troubleshoot go to basic/default first. [14:56] like.. vanilla install. all commented out in logind.conf [14:56] standeronore: yeah got it to work by adding -d to do-release-upgrade not cool though [14:56] hey guys [14:56] is it me or Kernel version 5.4.0 has screen tearing issues with an nvidia gpu? [14:56] AndreasR i think logind shouldn't be commented out [14:58] AndreasR if you close lid again does it work? [14:58] heitibd: http://manpages.ubuntu.com/manpages/focal/man5/logind.conf.5.html#configuration%20directories%20and%20precedence [14:58] The default configuration is defined during compilation, so a configuration file is only [14:58] needed when it is necessary to deviate from those defaults. [14:58] :] [14:59] YourAverageLinux: the driver [14:59] 440 [14:59] heitibd: don't change defaults if you want help - you are on your own [14:59] like.. running gentoo ;) [14:59] 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] in that case i will install gentoo [14:59] nothing works [15:00] :/ [15:00] I am trying to use cryptsetup-reencrypt. Backup was from Wednesday, so I was fine. [15:00] 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] https://manpages.ubuntu.com/manpages/trusty/man8/cryptsetup-reencrypt.8.html [15:01] Wait new URL. Just saw the documentation I posted was for trusty. [15:01] https://manpages.ubuntu.com/manpages/focal/man8/cryptsetup-reencrypt.8.html [15:01] AndreasR how to get the default configuration? [15:01] for.. /etc/systemd/logind.conf [15:02] YourAverageLinux: maybe try 5.4.8 ? [15:02] eh, i mean, I would prefer to not risk bricking my distro [15:03] hi [15:03] Seeing a lot of stuff tomreyn mentioned yesterday here: https://help.ubuntu.com/community/ResizeEncryptedPartitions [15:06] heitibd: all commented out. [15:06] Ubuntu doesn't care about your modification. overriding HandlePowerKey doesn't work. overriding shortcut not works [15:06] if you want to troubleshoot/fix you can start uncommenting/changing. that's what it's for [15:06] yeah but whee is the default? [15:06] where* [15:09] damn no one can help me resolve that annoying issue? ;_ [15:11] heitibd: You aren't treating volunteers very well. People in here are volunteering their time. Please treat the volunteers with respect. [15:13] 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] julius: updates maybe? [15:14] 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] so, sorry heitibd [15:14] https://wiki.ubuntu.com/UnderstandingSuspend [15:14] load did go away after the 3 boots today [15:15] 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] AndreasR what is better than systemd and does nvidia has anything related to that issue? [15:16] ubuntu modifies what i modifies like windows? maybe for securing there system but its unacceptable for me [15:16] 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] What I'm thinking is inputting "cryptsetup-reencrypt /dev/sdb1 --new --reduce-device-size 158784S" [15:16] That I meant sda6. That way, there's enough space. [15:17] 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] haha [15:17] it is becoming like windows, I agree. and it's not a bad thing, I think [15:17] "till there is nothing left to tweak" causing it to die? :D [15:18] heitibd: or melt down or eat your unborn children... yes. [15:18] yeah i just not sure how to do luks, install nvidia, etc on arch linux [15:18] damn [15:18] and how to make screen lock when system lid close [15:21] This channel is strictly for support. Please take other conversation to #ubuntu-offtopic if you want to simply chat. ;) [15:21] can i ask my question again ? [15:21] heitibd: You've asked it multiple times in this channel. Nobody has an adequate answer for you. Try ##linux. [15:24] Eickmeyer no i just want to get the default config.. where can i find it? [15:25] heitibd: https://www.linuxuprising.com/2019/03/how-to-reset-gnome-desktop-settings-to.html [15:26] does it reset ubuntu settings aswell? [15:26] heitibd: # Entries in this file show the compile time defaults. [15:26] # You can change settings by editing this file. [15:26] # Defaults can be restored by simply deleting this file. [15:26] 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] Anyone know how to convert filesystem block size to MB or anything else? [15:27] so if no one modified and many have this issue what would you tell them ? Eickmeyer [15:27] heitibd: I would link them that article. Stop fighting. [15:28] heitibd: You've been given several answers, none of which are adequate for you. Stop belaboring it. [15:30] 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] MikeRL: I've run it in as little as 32GB cleanly. It's really up to you. :) [15:31] I am off eating ice cream :) take care people. thanks [15:31] Oh thaks. I would have not had a clue. Not many good examples online. Like looking for a needle in a haystack. [15:32] I ran with 2MB yesterday, following an example, and I don't think it was enough. [15:32] As in 2MB reduced and set aside for encryption. [15:33] Eickmeyer sorry i just would like to know after reinstalling ubuntu can i make it to lock screen isntead of suspend? [15:33] instead* [15:33] heitibd: If you do that, you'll run the risk of overheating your laptop. Not recommended, and I won't support it. [15:34] Eickmeyer, you mean 32GB total space, or 32GB set asie? [15:34] *aside. [15:34] MikeRL: 32 total for the installation, EFI partition (if needed), everything. [15:34] but im using the laptop and it doesn't overheating, also is this replying you causing a fight? [15:34] Eickmeyer, I should have specified I'm converting an install. [15:34] heitibd: You were given answers about that yesterday. [15:35] And I'm reiszing the filesystem Linux is installed on. [15:35] can you redirect me to those or logs i would like to re-read them [15:35] 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] heitibd: https://irclogs.ubuntu.com/latest/%23ubuntu.html [15:36] MikeRL: I guess I don't completely understand what you're trying to do. [15:37] MikeRL: needed space depends on amount of installed packages and 32 GB is plenty for packages system packages [15:37] I'm referring to resizing via this: https://manpages.ubuntu.com/manpages/focal/man8/cryptsetup-reencrypt.8.html [15:38] Eickmeyer i dont remember anyone replying me with an answer but i will check the logs i might forgot [15:38] MikeRL: Yikes, that's above my paygrade (as if I get paid). [15:38] Under examples. Last command I think resizes it. [15:39] It does cite 4096S and it caused the whole thing to go screwball last night. [15:39] oof [15:39] I thought I screwed up but it's possible the docs were off somewhere. [15:39] Or I misread them. [15:41] 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] *4096 bytes [15:43] So I can just input that the difference in from yesterday? Got 158,784. [15:44] Eickmeyer do you recommend to reset gnome settings using gnome-tweaks? because that is not come with ubuntu [15:44] MikeRL: can you sum up the situation again, and the outputs of the relevant commands? [15:45] MikeRL: ...as well as the commands themselves. [15:46] the channel logs are at https://irclogs.ubuntu.com/latest/%23ubuntu.html [15:46] 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] tomreyn, I tried 4096S yesterday I believe and it wasn't enough. [15:47] tomreyn, https://manpages.ubuntu.com/manpages/focal/man8/cryptsetup-reencrypt.8.html [15:47] tomreyn, Stuck a bit on first and second (last) commands under examples. [15:47] anyone know how I can increase my mouse sensitivity more [15:48] I already got the max [15:48] 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] tomreyn, The bad partition from last night is kaput. I restored from backup. [15:48] Aktive why would you want to do that? [15:49] I want faster mouse [15:49] like normal [15:50] 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] The errors seem pretty systematic, not what you'd get from an accidental corruption, but from a backwards incompatible change === kenperkins_ is now known as kenperkins [15:52] also searching for apps doesnt work either. its just stuck here: https://i.imgur.com/15SVjnA.png [15:52] The text of the errors: https://paste.rs/vrn [15:52] 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] @sgt_chuckles, is your harddrive full [15:53] 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] Aktive: no [15:54] my touchpad moves weird is there a way to fix it? [15:54] 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] Can you elaborate on "weird" [15:54] Aktive: you can set accel speed with xinput [15:54] @heitibd, break its feet [15:55] what do you mean? [15:55] alright let me see [15:55] Aktive how can i do that? [15:55] your touch pad cant move without functioning feet [15:55] I mean, does it move stuffy, accelerate too fast, move in a different direction than intended, move on its own, or what [15:55] joke [15:55] All of those can be described as weird, and there's no indication of which one you mean [15:57] tomreyn, Yes to the first question. Sorry I had to eat quickly and take some medication. [15:57] Aktive oh sorry HAHA [15:57] tomreyn, I don't know the amount needed by the block device encryption layer. [15:57] eaglgenes101 i think move bit fast [15:57] and not accurate [16:05] @ducasse, X Error of failed request: BadAccess (attempt to access private resource denied) [16:05] 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] to be on the safe side [16:05] tomreyn, How much? [16:06] Lucky me I have a very recent backup. From this Wednesday. [16:06] I think it maxes out at 20MB. [16:07] Aktive: are you running wayland? [16:07] how can I see that fast [16:07] 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] 20MB will have to do. [16:08] Not multiple of 512/ [16:09] MikeRL: you came up with a suggestion of blocks to reduce to last night, which sounded fine to me. [16:09] Aktive: echo $XDG_SESSION_TYPE [16:09] x11 [16:09] I guess not [16:09] 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] 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] tomreyn, SO ext2resize is better than using that second command? [16:10] MikeRL: which is "the second command"? [16:11] ducasse, I did xinput --setprop 8 293 2 [16:11] In the example, "cryptsetup-reencrypt /dev/sdb1 --new --reduce-device-size 4096S" [16:12] tomreyn, after an apropos, it appears ext2resize is resize2fs. [16:12] Oops. [16:12] Duh. [16:13] 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] Im gonna continue with it another day I guess ducasse [16:14] 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] Im so happy with lts 20.4 [16:15] except the pictures, they gotta get rid of them and get better ones [16:15] tomreyn, You must be used to the old filesystem and commands. (-: [16:15] tomreyn, I started Ubuntu back in high school. Used 9.04 for my first distro. [16:15] tomreyn, Resize was successful. No errors. [16:16] Aktive: what pictures are you refering to? [16:17] tomreyn, So, the two commands under examples at https://manpages.ubuntu.com/manpages/focal/man8/cryptsetup-reencrypt.8.html [16:17] Hi. [16:17] tomreyn, They do what? Do I need to modify them? [16:17] I am on Ubuntu 19.10 and I am using Docker from Snap. [16:17] Besides the partition to /dev/sda6. [16:17] I have /mnt/linux-data which is a partition I want to host all the docker images / etc on. [16:18] What directory is used to save all docker things? [16:18] tieinv, wallpaper [16:18] Aktive: then use your own pictures [16:19] ye [16:19] but I think that ubuntu should provide good ones [16:19] it would be better [16:19] Akitive: those are just examples no? [16:20] they come with ubuntu [16:22] tomreyn, I shrank it to 136600000 blocks from 136760320 blocks. [16:23] tomreyn, Difference is 160320. [16:23] It does not, divide evenly into 512, though. [16:24] Dividing 160320 by 512 equals 313.125 [16:28] 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] fontconfig chokes on a config file that came in a package of the same version https://paste.rs/vrn [16:29] 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] In any case, what's the best way to fix this problem [16:30] tomreyn, That's fine. You're entitled to a life. [16:31] Refreshing the fontconfig cache doesn't fix it, and the fontconfig packages are all 2.13.1-2ubuntu3 [16:31] 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] Sector size for the whole SSD is 512 bytes logical, 4096 physical. [16:35] dhollinger, probably you need to build it yourself [16:36] ioria: That doesn't make for a good user experience, unless Ubuntu no longer really is going for general use desktop users [16:38] 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] dhollinger, you want the link to try to build it or not ? [16:40] 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] dhollinger, this is the situation about 32bit on ubuntu [16:42] dhollinger, if you prefer i can answer you : 'no you cannot ! [16:43] tomreyn, Number I got was 160256. [16:45] It aborted. Said no space for new keyslot. Will generate paste. [16:46] https://paste.ubuntu.com/p/j4gQN9Hpx5/ [16:59] hello friends, i restart settings in gnome-tweaks and restart. closed lid and no suspend please help [17:01] 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] heitibd: see if the system is able to suspend at all, by running "systemctl suspend" in a terminal [17:03] zutat : Operation inhibited by "user" (PID 2123 "gnome-session-b", user hiro), reason is "user session inhibited". [17:03] what does it mean [17:10] tomreyn, Sorry I myself was messing with my phone. [17:12] 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. === flyback is now known as phlyback [17:12] 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] tomreyn, OK. So I assume that means version check time. [17:13] which ubuntu release are you running again? [17:13] !info cryptsetup 18.04 [17:13] '18.04' is not a valid distribution: bionic, bionic-backports, bionic-proposed, cosmic, cosmic-backports, cosmic-proposed, disco, disco-backports, disco-proposed, eoan, eoan-backports, eoan-proposed, focal, focal-backports, focal-proposed, groovy, groovy-backports, groovy-proposed, kubuntu-backports, kubuntu-experimental, kubuntu-updates, partner, precise, precise-backports, precise-proposed, stable, testing, trusty, trusty-backports, trusty-proposed, uns [17:13] tomreyn, "cryptsetup --version returns cryptsetup 2.2.2 Ubuntu 20.04. [17:13] !info cryptsetup focal [17:14] cryptsetup (source: cryptsetup): disk encryption support - startup scripts. In component main, is optional. Version 2:2.2.2-3ubuntu2 (focal), package size 155 kB, installed size 397 kB === phlyback is now known as flyback [17:14] So 16MB. [17:14] And 16 MiB in 512 KiB blocks is? [17:14] Does tat mean 16000000 bytes? [17:15] *that [17:15] Oh Kib. [17:16] 16 MiB = 16×1024×1024 bytes https://en.wikipedia.org/wiki/Mebibyte [17:16] how is the ubuntu installation dvd compiled? [17:16] DDG says 16000KiB. [17:16] who is DDG? [17:16] DuckDuckGo. [17:16] Search engine. [17:17] someone help please :) [17:17] Is there a particular flow to restart Xorg on [17:17] Erp [17:18] MikeRL: so you'll need to choose whom to trust, your search engine or (wikipedia and me). [17:18] 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] Given that I recently updated to 20.04 [17:18] MikeRL: or, better, consult more sources [17:19] Not IEC sizes. [17:19] 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] 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] Switching between the virtual terminals doesn't present a login or a desktop. [17:20] I'm wondering if when I ran "sudo resize2fs /dev/sda6 136600000" and it succeeded if it will mess anything up. [17:22] 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] lotuspsychje ubuntu 20.04 [17:23] standeronore which year? [17:23] 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] heitibd Mid-2013, i5-4200u, SSD SanDisk 256Gb [17:24] heitibd Internal OEM. This happens on every Flavor, like MATE, generic or so fouth [17:25] standeronore, Is is physically warmer? [17:25] 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] 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] 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] For instance, CPU under Firefox + LO Writer is around 49-52*C, but SSD is 60 :\ [17:27] i mean how is the ubuntu installation dvd put together by the development team? is information on this available on the website? [17:28] tomreyn, 16777216 is the number I'm looking for? In bytes I think. [17:29] Hi. Has anyone worked with Docker from Snap? [17:29] ln -s /mnt/linux-data/docker-common /var/snap/docker/common [17:29] Can I do this? [17:29] 16777216 is what I believe is 16 MiB (and what everyone but maybe storage manufacturers abbreviate as "MB" nowadays). [17:30] Now I'm hoping this succeeds. No warnings this time. Thanks. [17:30] But I'm certain I'm not done yet. Will have to decrypt and edit /etc/fstab, right? And likely more. [17:32] 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] tomreyn, Well that's a relief. [17:32] tomreyn, Sleep sure helped me think better. [17:32] 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] MikeRL: i agree sleep help both you and i. ;) [17:33] tomreyn, Don't I have to wait for encryption to finish first? [17:33] MikeRL: right, you should wait for excryption to finish. [17:33] OK. [17:33] *encryption [17:34] ETA 57:47 from right now. [17:34] Then back to more fun. [17:34] so which commands will you need to run after that? [17:34] plan ahead if you like, or maybe i'll still be around then. [17:34] (or maybe you don't actually need me) [17:36] 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] I'll think about it now. [17:37] I took notes on the sizes and a command. [17:37] 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] I also bookmarked some pages and synced Firefox. [17:37] 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] And for hibernation if you want it [17:38] hello, my ubuntu stopped booting, it got stuck on Create Volatile Files and Directories [17:38] 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] Unlock the crypto layer? [17:38] what can i do ? i cleared /tmp and /var/tmp dir [17:38] You might need to consult someone else for further investigation because this is starting to look like it's outside my knowledge. [17:39] I lost all the chat history from yesterday because I was tired and didn't think of backing up the commands. [17:39] But today I did take some notes. [17:40] 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] !irclogs | MikeRL [17:41] MikeRL: Official channel logs can be found at https://irclogs.ubuntu.com/ . LoCo channels are now logged there too. Meetingology logs at https://ubottu.com/meetingology/logs/ [17:41] And / importantly! Derp! [17:41] So LUKS would be this crypto layer. [17:42] Without it "unlocked" by my password my system will not boot and I'll be stuck at GRUB. === beaver is now known as beaver|idle [17:43] IRC log is bookmarked. [17:44] Synced. [17:45] I only use one partition. /dev/sda6m I believe. [17:45] All used for Linux. So I'm guessing I only gotta unlock once. [17:45] MikeRL: so what about /boot, where is this stored? [17:46] One partition for the whole system? /dev/sda6m being your root mount with your entire system on it? [17:46] For Linux, I think. I can check. [17:46] that would seem wise :) [17:46] You could peek /etc/fstab [17:46] Yes. [17:47] Gparted says it's the only ext4 partition. No swap partition. Just a swap file. [17:47] sudo fdisk -l | nc termbin.com 9999 [17:47] Keep in mind it's still encrypting. [17:47] this won't modify your partitions [17:47] https://termbin.com/y33g [17:48] tomreyn, Eh I beg to differ. At least having a seperate /home partition saves some trouble if your OS blows up. [17:48] Windows 10 dual boot and an EFI partition in addition to Linux. [17:48] Too lazy for separate home partition. [17:49] CarlenWhite: differ on what? [17:49] Also I don't do a lot of mission critical stuff. [17:49] On having all your files reside only on the root file system. [17:49] On a side note, even with most of the telemetry disabled, 10 is so slow I gave up on encrypting that. [17:50] CarlenWhite: that's not a preference i stated i have [17:50] Then I misread [17:50] 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] happens to the best of us ;) [17:50] Best in years IMO. [17:51] 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] 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] Sure. Will stay OT. [17:51] thanks. [17:52] 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] any help [17:54] I will probably take a break now. In 30 minutes it'll be done. [17:54] 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] 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] I can check my system, hold on... [17:54] MikeRL: what the ubuntu installer would normally do is to encrypt anything but /boot (leaving that unencrypted on a separate partition) [17:55] Having an issue with a dpkg package. Has anyone seen this before? https://pastebin.com/QE8vmuiU [17:55] 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] tomreyn, I'm using LUKS2 on this system and it's decrypted by GRUB at boot. [17:56] https://termbin.com/43w3 [17:57] https://vitux.com/how-to-enable-disable-automatic-login-in-ubuntu-18-04-lts/ [17:57] CarlenWhite: and you run whihc ubuntu release? [17:58] I'm running Ubuntu 20.04. Encrypted in...Eoan I think? Maybe even earlier. [17:58] puzzola: https://askubuntu.com/questions/168706/how-do-i-auto-login-as-root-into-the-tty-upon-boot [17:58] CarlenWhite: https://www.phoronix.com/scan.php?page=news_item&px=GRUB-Boots-LUKS2-Disk-Encrypt [17:59] puzzola: note that logs in as root, i guess changing to your username might work too, not sure though [17:59] puzzola: https://blog.shvetsov.com/2010/09/auto-login-ubuntu-user-from-cli.html [18:00] So I guess it's been encrypted since Eoan at least. [18:00] chances are 20.04's grub is the first one to support LUKSv2 [18:01] unless it was backported to 19.10, but i would think that's less likely [18:01] If that's the case, I'm in luck. [18:02] This system upgraded from Eoan. [18:02] I'm partially confident I even upgraded from 18.04 as well. I can check logs to get an idea. [18:04] /var/log/installer points out it installed Eoan, but I have paved over the install at least once. [18:05] 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] banisterfiend_: what does aptitude suggest? [18:07] CarlenWhite: what's the output of findmnt --target /boot/ [18:08] !aptitude | StevenJayCohen [18:08] StevenJayCohen: Like apt and apt-get, aptitude is a terminal frontend for Ubuntu's package management system. Unlike the others, it is not recommended in Ubuntu because its behavior differs significantly from other Ubuntu package management tools and can cause issues. [18:08] tomreyn, /boot /dev/nvme0n1p2 ext4 rw,relatime [18:09] What are you trying to determine? [18:09] 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] CarlenWhite: whether this is correct. tomreyn, I'm using LUKS2 on this system and it's decrypted by GRUB at boot. [18:10] 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] I'll list the typography, moment... [18:11] https://termbin.com/9uqo [18:11] ubottu: I still find it a good reference when trying to figure out broken packages, but I understnad [18:11] StevenJayCohen: I am only a bot, please don't think I'm intelligent :) [18:12] CarlenWhite: classic multi-partition layout with unencrypted /boot [18:13] I thought that was the defacto thing, but I guess it's been a while. [18:13] it's what the ubuntu installers set up till this point [18:14] Ah. It's been changed in 20.04? [18:14] 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] Because I was led to that something has to be unencrypted to begin the process to get into an encrypted system. [18:15] CarlenWhite: 'this point' being today, and tomorrow, and a while longer, until someone may work on bug 1773457 [18:15] bug 1773457 in ubiquity (Ubuntu) "Full-system encryption needs to be supported out-of-the-box including /boot and should not delete other installed systems" [Undecided,Confirmed] https://launchpad.net/bugs/1773457 [18:16] grub is usually not encrypted. [18:16] Of course. [18:17] 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] I kinda want to try migrating the /boot partition into the layer but I feel like that's asking for pain. [18:18] 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] Into the LVM, derp [18:18] https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019 explains how this can be done [18:18] 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] Could be due to different default fonts? [18:23] 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] sometimes practically, be secured against modification by those lower layers by means of 'secure boot' [18:23] jkelol111: So the fonts setting for the website is the work of the OS or the browser or the website itself? [18:24] lalitmee, for me, they are both identical [18:24] There is a font setting in Firefox [18:24] 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] ioria: but for me its completely different [18:28] I don't know why [18:28] jkelol111: Font setting is in every browser I think [18:29] lalitmee, what's the font in use on ubuntu/firefox ? [18:32] 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] Encryption is done. [18:35] Now to unlock the cryptop lair. Sorry was on the phone checking on my grandmother and parents. [18:40] 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] 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] fwiw, I had the same judder on 19.10 [18:42] Hmm. Good news. Now it mounts. [18:47] What do I need to do a "sudo mount --bind" to in terms of folders? [18:47] I have already unlocked the partition and mounted it in /mnt. [18:48] 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] 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] 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] 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] and by "starting my own xsession" i mean a full desktop environment [18:51] i know those are technically two seperate issues, but still... [18:52] tomreyn, Almost done with retrofitting a encrypted /boot [18:52] someone is using laptop on ubuntu? [18:53] heitibd: certainly. it's also certianly not the question you meant to ask. [18:53] 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] Don't think updating the initramfs is needed, but did it anyways to be safe. [18:54] CarlenWhite: crypttab? [18:54] It's in the same LVM as the entire system. It should prompt my password as normal. [18:54] Keyword, should. [18:55] But I have the unencrypted boot partition if I fail. [18:56] crypttab will be needed. you'll also need GRUB_ENABLE_CRYPTODISK=y [18:57] crypttab doesn't need to be touched. Did add that to the config. [18:57] 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] Anyways. Restarting [18:57] Wish me luck. [18:57] Hmm. I do not have a /etc/crypttab file after unlocking the disk. I backed up my /etc/fstab file. [18:57] Just in case something messes up. [18:58] MikeRL: you will need to create it manually [18:58] I have the new UUID for /dev/sda6 from sudo fdisk -l [18:58] Do I need another UUID? [18:58] the uuid's for fstab and crypttab should come from "blkid" [18:59] those are not partition uuids but file system uuids [18:59] Actually I entered in blkid. [18:59] Sorry got confused. === philipp64_ is now known as philipp64 [19:00] Output of blkid: https://paste.ubuntu.com/p/ND9hpnqKG8/ [19:01] tomreyn, My guess is I want sda6? [19:02] MikeRL: my guess is you haven't unlocked the crypto layer that's on sda6, yet [19:02] tomreyn, How do I do that? [19:02] cryptsetup luksopen ... just like we did it yesterday [19:04] I searched the chat log of 5/2 and see nothing. [19:05] you need to sudo cryptsetup luksOpen /dev/sda6 sda6_crypt [19:05] Thanks. [19:05] join/topic [19:06] how to install virtualbox? [19:06] the log keeping computer may follow a different timezone than yours [19:06] !virtualbox [19:06] Virtualbox is a virtualizer for x86 and amd64 architectures. It's available in the package "virtualbox" in the !repositories, and you can download the Virtualbox Extension Pack for additional, non-Free functionality at http://virtualbox.org . Additional details can be found at https://help.ubuntu.com/community/VirtualBox [19:06] Yeah. Never thought about the timezone. [19:06] this not work [19:06] Must be UTC. [19:06] Or wherever the server is located. [19:07] Yeah it went into 5/3. [19:09] 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] OK. Now it's mounted via cli to /mnt. [19:09] Is it possible to upgrade the kernel to 5.4.2+ on 20.04 LTS? [19:09] 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] I'm trying to boot an iso from grub [19:10] Everything is old , I find that tells you how [19:11] initrd.lz does not have the .iz on the end wen you look in the iso [19:12] 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] Hmm. Something interesting. https://paste.ubuntu.com/p/bssPCVMJ7g/ [19:13] CarlenWhite: good luck. [19:13] need help pls [19:14] Should I run e2fsck on /dev/mapper/sda6_crypt? No wait it's still encrypted. [19:14] 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] MikeRL: what do you mean by "it's still encrypted"? [19:14] I think it is. [19:15] It's not seen as a directory. [19:15] Looks like a symlink. [19:15] heitibd, how do you know it's not working? [19:16] DocMors yes [19:16] 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] tomreyn, I ran "sudo e2fsck -f /dev/mapper/sda6_crypt" [19:17] As for your previous ?, Yes. [19:17] It is mounted, just at a different location. [19:17] 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] !apt-key [19:17] need help how to list apt-key [19:17] so i can remove virtualbox [19:18] 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] heitibd, man apt-key [19:19] "/dev/mapper/sda6_crypt on /mnt type ext4 (rw,relatime)" [19:19] Is this channel suitable for Ubuntu in WSL issues? [19:19] MikeRL: and what's the output of the e2fsck command? [19:19] 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] Well I *think* it's probably only happening in Ubuntu WSL, not regular :P [19:20] tomreyn, https://paste.ubuntu.com/p/Tn9qTH9pMR/ [19:20] !wsl | Zumochi [19:20] Zumochi: Windows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide [19:20] Ah [19:20] Cheers [19:20] MikeRL: note line 4 [19:21] tomreyn, Well, crap. [19:21] Zumochi: WSL is basically Ubuntu with an MS-Windows kernel. GNU/NT Ubuntu instead of GNU/Linux Ubuntu. [19:21] MikeRL: not much of a problem, just unomount the file system, run e2fsck again [19:23] 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] tomreyn, It's giving me an option to optimize saying "Inode 10619323 extent tree (at level 1) could be narrower." [19:23] Is that safe? [19:23] Just paranoid of being locked out again. [19:24] devslash: 19.04, you're sure about this? [19:24] yes [19:25] i initiated the update to 19.04, it completed and said it wanted to reboot then im at this point now [19:25] where it doesnt boot [19:25] MikeRL: yes, should be safe. it's just optimazation by shrinking and inode extent tree. shrinking should always be safe. [19:25] i really dont want to reinstall again but its looking like it [19:25] tomreyn, https://paste.ubuntu.com/p/KjZq3qGBVj/ [19:26] devslash: it's just that 19.04 is EOL, so i'm surprised you'd have upgraded to that [19:26] i know but i was on 18.04 [19:26] and it wouldnt give me the option of 20.04 [19:26] i was planning on immediately updating to 20.04 [19:26] MikeRL: looks fine to me [19:27] !ltsupgrade | devslash [19:27] devslash: Regular upgrades from 18.04 LTS to 20.04 LTS will be enabled once 20.04.1 is released in late July. This delay helps to ensure that any lingering issues are resolved before people upgrade production systems. If you'd prefer to upgrade now, use sudo do-release-upgrade -d [19:27] err no lsb_release -a says im on 19.10 [19:27] devslash: see [19:27] not 19.04 ;) [19:28] if i do do-release-upgrade -d it says i mered to install all available packages for my release [19:28] the purple screen showed when exactly, directly after grub? [19:28] if i do do-release-upgrade -d it says i need to install all available packages for my release [19:28] yes [19:28] a chroot situation is not a good starting point to carry out a release upgrade via do.release.upgrade [19:29] i have no other choice [19:29] i cant boot it [19:29] * do-release-upgrade [19:29] devslash: did you try recovery? [19:29] did you try failsafe graphics? [19:29] how [19:29] !recovery | devslash [19:29] devslash: If your system fails to boot normally, it may be useful to boot it into recovery mode. For instructions, see https://wiki.ubuntu.com/RecoveryMode [19:29] i tried adding init=/bin/bash [19:30] to the end of the grub line [19:30] thats not recovery [19:30] i dont have a recovery mode [19:30] in the grub menu [19:30] so thats not an option [19:30] then you haven't installed ubuntu but something else [19:30] no [19:30] i have 19.10 [19:31] then you didn't read the article properly [19:31] lsb_release -a [19:31] step 4 [19:31] Select the line which starts with "Advanced options". [19:31] i dont have that [19:31] i have ubuntu [19:32] memory test (memtest86+) [19:32] memory test (memtest86+, serial console) [19:32] and windows boot manager [19:32] hmm, that's strange. so highlight the "ubuntu" one, press 'e' [19:32] yea thats what ive been doing [19:33] tomreyn, So after e2fsck, what's next? You can help devslash a bit first if you want to, of course. [19:34] devslash: which graphics card do you have there? [19:34] tomreyn, Besides I kind of hurt in an obvious area after sitting in this task chair for hours. LOL. [19:34] an nvidia gta [19:34] gtx 750 ti [19:35] had nvidia-430 drivers installed previously [19:35] that still works! nice [19:35] video cards tend to die [19:35] 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] ok [19:36] im at the recovery window [19:36] 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] this one https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019 [19:37] 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] 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] tomreyn, so what do i do now [19:39] devslash: enable networking, drop to a shell, purge nvidia*, undo any manual nvidia driver installations [19:39] Cyrpto-something. Can't remember the exact command, but pointed it to the partition to only get a empty response. [19:40] ok [19:41] CarlenWhite: maybe i guess wrong and 20.04 LTS doesn't have a grub version which supports LUKS2 via cryptroot, yet [19:41] *guessed [19:42] tomreyn, done [19:43] apt list --installed | grep nvidia now returns no results [19:43] devslash: "undo any manual nvidia driver installations" (and configuration, too) [19:43] um hoq [19:43] how [19:43] what else would i need to do [19:44] thats all that there is [19:44] 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] when i do find * | grep nvidia from the root folder [19:45] it ifnds some other nvidia related modules etc [19:45] should i manually remove those too [19:46] devslash what are you trying to do? [19:46] depends on where they are located and which kernel you're running, i guess [19:46] im on 5.4 [19:46] heitibd, ubuntu doesnt boot after an update from 18.04 to 19.10 [19:46] err 5.3 [19:47] maybe boot with live cd backup and install 20.04 ? [19:47] 5.3.0-51 [19:48] devslash: does this return anything? rgrep nouveau /etc/mod*{,/*} [19:49] devslash: does this return anything? rgrep nvidia /etc/mod*{,/*} [19:49] so after purging nvidia drivers, it now boots [19:49] wait one sec [19:49] no need to check then [19:49] nm scratch that [19:50] it doesnt [19:50] i spoke too soon [19:51] im at an initramfs prompt now [19:51] let me boot back into recovery [19:51] tomreyn, I didn't catch the article... [19:52] I see it now. [19:52] im booting back into recovery [19:53] tomreyn, the rgrep return 2 rows for nvidia [19:53] nothing for the other [19:53] 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] 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] it says /etc/modprobe.d/blacklist-framebuffer.conf:blacklist nvidiafb [19:54] tomreyn, Is there any way to decrypt /boot and leave everything else encrypted? [19:54] does that mean that my nvidia driver is blacklisted by the os ? [19:54] devslash: that's ok. what about an xorg.conf somewhere in or below of /etc/X11/ ? [19:55] devslash: no it does not mean that [19:55] cant find one [19:55] MikeRL: if /boot is a crypto container of its own, yes, otherwise no [19:55] when i do find * | grep xorg.conf from root [19:55] MikeRL: in your case: no [19:55] i noticed something else [19:56] tomreyn, So, with these relevations, reformat? [19:56] i did update-grub and it says error cannot find a grub device for /dev/sdb1 check your device map [19:56] 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] tomreyn, ive nbever seen that message when running update-grub [19:57] Assuming it was able to decrypt the LVM before attempting to navigate. [19:57] MikeRL: that's entirely up to you. ;-) [19:57] Probably best to redo it all. [19:58] But the /boot/efi/EFI/***/grub.cfg suggests that it recongizes that the /boot but has no step to decrypt it first. [19:58] So [19:58] * CarlenWhite throws up his hands. [19:58] i did update-grub /dev/sdc and am able to log into my desktop now [19:59] but i dont think its using nvidia drivers [19:59] 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] 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] I checked that guide. I had to modify it since this was a retrofit. [20:00] But still no dice. [20:01] Also that guide has the /boot in a LUKS>EXT4 [20:01] I was trying for LUKS>LVM>EXT4 [20:01] 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] grub can handle LUKS1>LVM>EXT4 [20:02] i have an 18.04 LTS VM which does exctly this [20:02] 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] Instead, of course, doing it on my daily driver. [20:02] Which in retrospect is a bad idea. [20:03] devslash: "/dev/sdc" is not a valid argument to "update-grub" [20:04] 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] CarlenWhite: i'd personally test such 'complex' setups in a VM first of all, yes. [20:05] I balance my intelligence by doing something very wise but have one major dumb thing to upset this Jenga tower of steps [20:05] KeithWeisshar: probably buggy firmware [20:06] KeithWeisshar: looks for an upgrade? [20:06] *look [20:07] CarlenWhite: keep it simple... [20:08] "encryption complicates matters, use more plain text!" [20:08] I have an ASUS Z390 Maximus XI Hero Wi-Fi Motherboard with the BIOS version 1401. [20:09] KeithWeisshar: very specific questions/configurations don't play well on IRC... [20:10] Ah yes. Buggy firmware. The bane of installs. [20:11] 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] normal and oem mode won't work, it will corrupt the screen unless I enable CSM [20:12] 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] No way to install the latest kernel on 20.04 then? [20:13] I have NVIDIA RTX 2060 [20:14] when CSM is disabled it crashes the noveau driver during live session [20:16] : at boot time edit grub after the word quiet add nouveau.modeset=0 [20:16] is "goes blank for a second" the only downside? [20:16] the blanking is normal when switching video mode [20:17] blanking is normal when switching any video resolution [20:17] Dropping into grub to twiddle things [20:18] the monitor temporarily turns off the video input when it detects a video mode change from the gpu [20:20] KeithWeisshar, why not enable the CSM? EFI is a trainwreck of slightly faulty implementations [20:21] Hello fellas [20:22] 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] 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] 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] kernel command line parameter "nosplash" may also help, or just the "failsafe graphics" option on grub [20:24] 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] 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] 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] CarlenWhite: thanks for testing and reporting back, have a good night [20:26] Hello all. [20:26] 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] 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] 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] 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] Also posted here: https://askubuntu.com/questions/1234731/trackpad-sticky-jumpy-on-ubuntu-20-04-lenovo-yoga-520 [20:26] !paste | bjohas [20:26] bjohas: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [20:27] Hello all! [20:28] 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] 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] 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] !patience | bjohas [20:28] bjohas: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [20:29] 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] 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] 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] bjohas, when it happens, open a terminal and run this command: dmesg [20:30] Like, a verbose output I would kill for. [20:31] Thanks Doug! Will try now. [20:31] if any of your hardware is having trouble, it might yell about it in dmesg [20:32] 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] a device can be timing out and holding a lock inordinately long or something [20:33] I have entries relating to konversation [20:33] And: kauditd_printk_skb: 20 callbacks suppressed [20:34] I should note that this occurs immediately after login, without having started any other applications. [20:35] 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] It's also not really intermittent: It's been happening for the last 6 hours now. [20:36] 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] 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] ok [20:37] Btw. thanks for the suggestions on this - I've been tearing my hairs out :) [20:38] Everything with perf is coming up in gree [20:38] green [20:39] Few %, max 3.5% [20:39] The top one is 'unknown', but I guess that's Konveration. I have nothing else running. [20:39] is it stuttering now though? [20:39] Yeah [20:39] It's constant [20:40] Started about 6 hours ago. [20:40] Rebooting doesn't help. [20:40] I had this for 2 hours yesterday, and it then just went away. [20:40] you could try disabling selective suspend on usb controller [20:40] lots of hardware gets that a bit wrong [20:40] That would only affect USB mouse, right? [20:40] Or trackpad as well? [20:40] The behaviour on trackpad and USB mouse is exactly the same. [20:41] doesn't mean the usb controller state isn't getting screwed up by the suspending [20:41] OK. [20:41] Sure! :0 [20:42] do you know how to add kernel parameters to your /etc/default/grub? [20:42] SOmething like moduel_get_kall_sym just used 10% [20:42] 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] Let me have a quick look. [20:43] OK, yeah, so I guess just a sudo edit and reboot? [20:43] `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] then reboot [20:43] Here's another observation. [20:44] I'm running xev. [20:44] Covering most of my screen. [20:44] 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] So - xev is registering the pointer movement immediately, but the pointer icon doesn't move immediately. [20:46] I'm chatting with someone, does Ubuntu send notifications to the desktop if a disk is failing SMART? [20:46] Or more exactly, a SSD is reaching EOL [20:47] they have EOL? [20:47] :D [20:47] CarlenWhit, not that Ive seen, unless you install an app [20:48] CarlenWhite, if in doubt, run gsmartcontrol and explicitly check. perhaps run an extended self test if you really want to check it [20:48] smartmontools, etc [20:49] 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] Before it's too late, rather. [20:49] I can English. [20:51] doug16k, I was led to believe SSDs have finite write-cycles. === beaver|idle is now known as unknown34534 [20:53] you should be able to use them a few years. get the biggest ssd you can afford [20:53] 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] so it must be a setting in this account. [20:57] GOT IT! [20:57] It was the zoom option in accessibility. [21:01] Is there any TROUBLEsolve for Intel Graphical 4600 graphics card And Ubuntu? [21:01] Not sure whats going on, since the colors is just garbage. [21:06] CarlenWhite, you'd probably be amazed how many write cycles on a good brand ssd [21:07] Oh. Neat. [21:07] for a normal person write wearout is unlikely [21:07] they will get rid of it because it is so small before it fails [21:08] remember that write endurance scales with size, so a good size one will last very long [21:10] I kinda held off on SSDs for a good while and now I can live without it. [21:10] drives will tell you their endurance remaining in smart [21:10] Can't, rather. [21:10] Many thanks for the support Doug - much appreciated! [21:11] yay! to #ubuntu! [21:11] bjohas, nice [21:11] 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] CarlenWhite: "led to believe SSDs have finite write-cycles" disk drives also have finite writes. [21:12] Walex, Write-cycles lesser than disk drives is what I meant, Sorry. [21:12] 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] tomreyn, are you still here [21:12] I think it's an old fact/lie a while ago. [21:12] CarlenWhite: some SSDs have more write cycles than some disk drives... [21:13] 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] Only option in the installer was to wipe and do an encrypted partition. No install alongside existing partitions option. [21:13] doug16k. will reformatting do more to ssd than regular erase/write [21:13] I think it needs to only see Windows 10 to allow me to create an encrypted install, but I could be wrong. [21:14] I also read resizing anything encrypted can cause damage. [21:14] Moreso than with regular partitions. [21:15] 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] Anyone know if resizing LUKS2 is dangerous? [21:15] but that's not likely to be worth doing though [21:17] isn't there a cron job that trims all the SSDs by default in ubuntu? [21:17] ...instead of enabling trim in mount options [21:17] Referencing here: https://help.ubuntu.com/community/ResizeEncryptedPartitions Documentation last edited in 2015. Not very comforting. [21:17] I have reformatted my ssd aorund 30 times with new gpt partition table every time how bad is it [21:17] that cron job will keep it like new [21:18] elmgod, sounds fine, it's wear leveling, do as you please [21:18] is the grub boot menu supposed to suddenly be black with white text [21:19] Going to sign in to Firefox, sync bookmarks, and check the IRC logs to fill the holes in the documentation. [21:21] 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] 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] Think something is working for once. [21:22] doug16k: Got it [21:23] 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] rather, I run Firefox on the bigger memory machine but use X11 forwarding to display it on the more limited machine [21:40] 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] sammyg1321, definitely the additional drivers ones [21:41] you are asking for trouble with the website ones [21:41] 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] Yeah exactly, trying to make my transition as smooth as possible haha [21:41] source engine is amazing on linux [21:42] But in terms of that performance i get on windows, i assume with linux it should be par-to-par right?> [21:42] and cant wait to try it :D [21:42] "On linux" [21:42] it's faster than windows even with directx-to-opengl translation layer, probably due to the blinding speed of linux syscalls [21:43] Amazing! i was worried,. Would you recommend straight up ubuntu or Kubuntu or?\ [21:43] they blogged about it :D [21:43] Oh yeah! looks pretty good on youtube for the source engine :D [21:44] Just wondering about distros now haha [21:44] coming from a longtime windows user which UI would be the easiest [21:44] ubuntu and kubuntu are flavors not different distros, they're both "Ubuntu" [21:44] \Ohhh flavors my bad [21:44] and it's really just preference [21:44] Hmmm, for a first-timer, youd say Ubuntu is best? [21:45] So all these different *Buntu platforms are all the same, just different UI right? [21:46] Flavors* [21:46] sammyg1321, my 3950x sits at the driver limit in tf2 on max on 1060, about 300fps [21:46] different desktop environments and different software installed by default [21:46] 1060 super* [21:47] doug16k Thats dope!! i have a feeling this is gonna be good [21:47] oops 2060 super. :D [21:48] 10xx super is nonexistent [21:48] Ben64 interesting, alright i guess il go with the main distro then [21:48] was great on my previous 1060 though [21:48] *Flavor [21:48] Because i honestly dont know what is best or whatnot [21:48] i literally have no cluie [21:48] doug16k haahha, i wanna play CSSource :D [21:49] Please keep this channel strictly to support, please. For reverything else, go to #ubuntustudio-offtopic. [21:50] * doug16k zips it [21:50] Sorry, habit. #ubuntu-offtopic. [21:52] how can i disable gnome-keyring [21:52] perm [21:52] for all apps [21:52] Sorry and thank you! [21:53] 20.04 no sound. Nothing plugged in the audio port YouTube sound to Max panel volume to max ?? [21:54] 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] Also do you guys recommend dual-booting for the best experience or full on disk-wipe? [22:03] 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] (that's if the other Os is windows) [22:04] tomreyn Awesome! il keep that in mind when doing my install, alright il be back soon gonna start my install now [22:04] Wish me luck! [22:07] dont need to change ownership just give a certain user read/write to a given dir [22:10] is there a way to re-add the amazon stuff? I used that stuff quite a bit [22:10] 404 Not Found [IP: 35.239.123.202 80] [22:10] Err:4 http://us-central1.gce.archive.ubuntu.com/ubuntu disco Release [22:11] how can I fit apt update? [22:11] fix [22:11] !disco | fred1807 [22:11] fred1807: Ubuntu 19.04 (Disco Dingo) was the 30th release of Ubuntu, support ended January 2020. see !eol and https://lists.ubuntu.com/archives/ubuntu-security-announce/2020-January/005263.html [22:11] !eolupgrade | fred1807 [22:11] fred1807: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [22:11] I really really want the amazon apps back [22:11] how do I re-add those [22:12] I reall ywant arch linux at amazon and google cloud :/ [22:12] !ot | fred1807 [22:12] fred1807: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [22:12] I want gmail, google drive, amazon stuff back why did you remove all that [22:12] I used it a LOT [22:13] always 1 step forward 250 steps back [22:13] i didnt even know amazon had ubuntu apps [22:13] is there a way to re-enable these features? [22:13] how do I update this EOL ubuntu from command line? [22:14] Oderus it has been there for a while [22:14] fred1807: read the documentation ubuntu provided [22:14] *ubottu [22:14] there is a whole bible there [22:14] https://help.ubuntu.com/community/EOLUpgrades [22:14] fred1807 sudo do-release-upgrade -d [22:15] Oderus: this won't work on most EOL releases, not on disco anyways [22:15] sudo do-release-upgrade -d <--- would be sweet to have such an easy command like this [22:15] rabbitnightmare: just go to amazon.com... most people didnt want amazon built into unity [22:15] tomreyn oh, I never had an issue so didnt know. ty [22:16] I guess this is why bash was created for... [22:16] dimspace why remove it entirely [22:16] give it back!!! [22:16] I used it daily [22:16] dont be google [22:17] how the hell do you know what "most people" wanted if you didnt bother to askl [22:17] I think a lot more people used it than you realize [22:17] rabbitnightmare: what'S the output of lsb_release -ds on your system? [22:18] they removed the web launcher, so amazon died with it [22:18] i doubt anyone here is personally responsible for its removal. search in synaptic or muon for amazon [22:18] it gave me a lot of important information that simply using firefox doesnt solve [22:18] important tracking and shipping updates [22:18] all it says now is "firefox needs your attention" [22:19] but it used ubuntu web launcher which no longer exists [22:19] you broke a feature that I know at least 10 people used [22:19] bring it back and stop being anti-consumer [22:19] real life people [22:19] rabbitnightmare: this channel is just for support q&a, not for discussions, nor for trolling [22:19] I am not trolling so go fuck yourself asshole [22:20] it is a feature I used that you removed [22:20] !language | rabbitnightmare [22:20] rabbitnightmare: Please avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList [22:20] go fuck yourself asshole you are trolling me [22:20] kill yourself [22:20] piece of shit [22:20] 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] 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] cortexman: cloud images (and AMIs) differ a little from standard installations. maybe try #ubuntu-server during UK office hours [22:22] Hello, can Snaps be disabled & removed from the system? [22:23] tx [22:23] bet0x: generally, yes, but it can break some functionality. [22:23] So its time to move from Ubuntu? Cause i really don't want snaps on my system [22:24] that's for you to decide. this channel is just support Q&A, but there's #ubuntu-discuss, too [22:24] I got a SNAP version of Chrome when i aptd the package [22:25] @tomreyn, thank you, i wanted an answer i got it. Was nice to use Ubuntu, time to move [22:44] hello [22:46] hola [22:46] hi bit00_kzcpu, do you have an ubuntu support question? [22:47] :-) [22:47] ferche23: please fix your connection. [22:50] hello, when i type 'watch sensor' ubuntu is not able to find sensor [22:50] 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] maybe you wanted to run "watch sensors" (plural) [22:51] sorry typo, that's what i typed [22:51] sh: 1: sensors: not found [22:52] the package providing this command is lm-sensors, i think [22:52] jups [22:52] !sensors [22:52] To access CPU temperature sensors and detect fan speeds, install the lm-sensors package. See https://help.ubuntu.com/community/SensorInstallHowto for installation and usage instructions. [22:52] RoseBus: you need to replace the paste [22:53] Ben64 i ordered some, it's on the way [22:53] If you remove the heatsink it needs to be cleaned off and reapplied every time [22:53] yea i figured as much [22:54] i dont have any on hand right now [22:54] installed lm-sensors, now watch sensors is working [22:54] temps are below 30C, i should be okay until the thermal paste gets here [22:54] i'll try not to run computational intsensive tasks [22:55] you should make sure you have the system set to shut down if it gets too hot [23:03] Ben64 how can i do that? [23:07] normally the BIOS does that, but without proper cpu paste, milage may vary; i would not use the machine until fixed [23:07] there was quite a bit of thermal paste on there when i put it back on [23:08] it was still gooey [23:08] 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] not good enough, paste is one time use, it hardens, and if broken, it works as a insulator, not heat transmitter anymore [23:08] grinn [23:09] Bray90820_, apple mouse [23:09] Other than that mouse [23:10] I have been trying that mouse for forever and i cant get it working well at all [23:11] I really wanna switch to ubuntu full time but the mouse is has been holding me back [23:11] multi gestures work fine, out of the box [23:12] oerheks: has anything changed in the past year? === led_dark_2 is now known as led_dark_1 [23:13] no? [23:13] Because i tried like 6 months ago and nothing worked well === revosftw1 is now known as revosftw [23:48] hallo need some help [23:48] some one here [23:49] :-) [23:49] oerheks can you help little ? [23:50] hi Rozha, just ask, wait and see [23:50] oerheks i install ubuntu 20.04 server [23:51] i want to install apache2 php mysql [23:51] but to much differnce to install it corectly [23:51] !lamp [23:51] LAMP is an acronym for Linux-Apache-MySQL-PHP. However, the term is often used for setups using alternative but different software, such as Perl or Python instead of PHP, and Postgres instead of MySQL. For help with setting up LAMP on Ubuntu, see https://help.ubuntu.com/community/ApacheMySQLPHP - See also the Server CD installation process. [23:51] Bashing-om yes [23:52] tons of guides out there, which one do you follow? [23:52] Rozha: ^^ What is the nature of your problem ? [23:52] https://www.linuxbabe.com/ubuntu/install-lamp-stack-ubuntu-20-04-server-desktop [23:53] 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] read them all, and hardening tips; https://github.com/konstruktoid/hardening [23:55] thanks [23:57] hello, can someone help with setting up a samba server and share? i believe i have done everything correctly but cannot connect [23:58] when i run `sudo testparm smb.conf` i get Error loading services [23:58] to install i ran sudo apt install samba [23:58] sysRPL, on what ubuntu version and what guide do you follow?? [23:59] Ubuntu 18.04.4 LTS