[00:38] <Guest909> Hello all. I want to reformat and repartition a secondary 1 TB drive with encryption for Ubuntu. It has my old Windows installation, but I am pretty fed up with Windows at the moment and after long deliberation decided to scrap it. What is the easiest way to repartition with encryption so that I can use it as a new drive in my desktop?
[00:41] <Guest909> Sorry if this is the wrong channel to ask this
[00:42] <Gry> Guest909: to ask what?
[00:42] <k_sze> On Ubuntu 18.04, debhelper is stuck at version 0.12-2 instead of 0.13-5~bpo18.04.1 from backports. Is that normal?
[00:44] <Guest909> Gry I want to reformat and repartition a 1 TB disk with encryption
[00:44] <Guest909> re-pasting the original question, "Hello all. I want to reformat and repartition a secondary 1 TB drive with encryption for Ubuntu. It has my old Windows installation, but I am pretty fed up with Windows at the moment and after long deliberation decided to scrap it. What is the easiest way to repartition with encryption so that I can use it as a
[00:44] <Guest909> new drive in my desktop?"
[00:44] <Gry> Guest909: have you tried using the 'gparted' application from this?
[00:44] <Gry> Guest909: for
[00:46] <Guest909> I see, I will try it
[00:46] <Guest909> Thanks
[00:48] <Guest909> Should I use LVM so that I can encrypt it? One long ext4 partition?
[00:49] <k_sze> apt tells me this, what does that mean? https://bpa.st/RQLA
[00:50] <Bashing-om> !info dwz bionic
[00:51] <Guest909> you have a messed up dependency chain in your dpkg. try `sudo apt-get install -f`
[00:52] <djenna> Is there any disadvantage to me installing Ubuntu server this time instead of Ubuntu desktop?
[00:52] <Guest909> -f is short for --fix-broken, which most of the time will take care of the problem
[00:52] <leftyfb> djenna: not if you want to run a server
[00:53] <k_sze> Guest909, I did, and this is what I get: 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
[00:53] <Guest909> i am not sure, but the server might not install gnome and you'll have a console installation. it's pretty easy to install gnome on top of it, but i usually choose to install the desktop version in "minimal" mode so that it's not cluttered
[00:53] <djenna> leftyfb, I thought it would be something to try. Can I use it as a desktop too?
[00:54] <leftyfb> djenna: Ubuntu desktop = Ubuntu server + desktop
[00:54] <djenna> This is not my other computer (morganu) this is my HP laptop, old
[00:54] <djenna> old
[00:54] <Guest909> k_sze try forcibly installing the `dwz` package, if that doesn't work try forcibly removing the `debhelper` package
[00:55] <Guest909> i ran into broken packages a few times. it's a matter of trial and error from there ... but was able to fix it all the time
[00:55] <leftyfb> k_sze: ( cat /etc/os-release ; apt-cache policy dwz ; apt-cache policy deb-helper ) | nc termbin.com 9999
[00:55] <djenna> I think I will use a post-20.04 version too. Wish me luck.
[00:55] <djenna> thanks.
[00:55] <Guest909> you may need to use dpkg to forcibly remove bad dependencies
[00:55] <leftyfb> djenna: Ubuntu 21.10 will be EOL in July
[00:55] <k_sze> Hmm, I think it was `apt full-upgrade` being loath to install new packages.
[00:55] <leftyfb> Guest909: it's best to troubleshoot the actual issue before forcing things
[00:56] <k_sze> "apt install dwz=0.13-5\~bpo18.04.1 debhelper=13.5.2ubuntu1\~bpo18.04.1" worked
[00:56] <Guest909> yeah please follow what leftyfb says, i am not an ubuntu guru
[00:56] <leftyfb> k_sze: ( cat /etc/os-release ; apt-cache policy dwz ; apt-cache policy debhelper ) | nc termbin.com 9999
[00:57] <k_sze> leftyfb, too late. :P
[00:57] <k_sze> https://termbin.com/9rr83
[00:57] <k_sze> Already changed
[00:58] <leftyfb> k_sze: not too late. The issue is you're not using an official Ubuntu mirror.
[00:59] <leftyfb> k_sze: you're running an unsupported version of ubuntu
[00:59] <k_sze> huh? 18.04 is LTS, shouldn't it still be supported?
[01:00] <Guest909> is there any best practices to follow for partitioning an 1 TB drive as a secondary storage? would you do one long ext4 drive with encryption?
[01:01] <leftyfb> k_sze: it's pulled and probably installed from singapore.mirrors.linode.com which isn't an official mirror. There's no telling what's done to the packages there
[01:01] <k_sze> leftyfb, should the mirror matter? the packages are still signed using the same keys as the official mirrors, no?
[01:02] <Guest909> i want to create an encrypted partition
[01:02] <djenna> OK new question: on the sever page it offers: get multipass. a minicloud. -- I should ship that I think.
[01:02] <djenna> sKip
[01:02] <leftyfb> djenna: not unless you know you need it
[01:05] <oerheks> Guest909, disks tool can do that for you, password protected/luks
[01:09] <djenna> OH: there is no GUI on the server. I am not ready for that. Yet. Is there any advice online :: to prepere for running Ubuntu with the cli alone. How to learn what is needed.
[01:09] <Bashing-om> Guest909: No best practice for partitining a storage device - is all dependent on what you aim to store on it.
[01:10] <leftyfb> djenna: just install ubuntu desktop. Here you go. https://releases.ubuntu.com/20.04.3/ubuntu-20.04.3-desktop-amd64.iso
[01:10] <Guest909> Bashing-om steam games, personal documents, backup of my phone camera
[01:10] <Guest909> i have to figure out also how i can store steam games there, but that's later i guess
[01:11] <leftyfb> Guest909: why do you need to encrypt where you store your games?
[01:11] <Ravage> Guest909: thats the easy part. you can just add another library path in steam
[01:11] <Guest909> i have a 500 GB SSD for the Ubuntu system, and this one is a 1 TB HDD that I want to reformat and remove Windows
[01:11] <Guest909> leftyfb you're right not for steam games. But I also want to store my personal data and personal media from phone as a backup there
[01:12] <Guest909> Ravage thanks!
[01:12] <leftyfb> Guest909: ok, so use the disks util to partition and format the drive for encryption as was suggested to you
[01:13] <Guest909> My personal media grows by about 15-20 GB per year
[01:13] <Guest909> I see thanks will try that
[01:13] <Guest909> disks is not gparted right?
[01:14] <Bashing-om> Guest909: so far I see the need for 3 partitions :D
[01:14] <leftyfb> Guest909: you can easily find out by opening the disks util in ubuntu
[01:15] <Bashing-om> djenna: A good starting point tutorial: https://help.ubuntu.com/community/Installation/LowMemorySystems .
[01:16] <Guest909> Bashing-om what are the downsides if I just use one long encrypted ext4 partition? Will encryption use a lot of power? I have an Intel i9-9900k - should be able to handle encryption on the fly with no sweat right
[01:17] <leftyfb> Guest909: you will see no difference in performance
[01:18] <Bashing-om> Guest909: Think of a storage devices like unto a file cabinet - If you throw everything into one drawer --- how ya gonna find what you want when you need it ?
[01:18] <Guest909> I use a folder system. All my personal stuff goes in /personal/
[01:18] <leftyfb> Bashing-om: directories
[01:19] <oerheks> encryption overhead would take less than 5% cpu power
[01:19] <oerheks> no worries
[01:19] <Guest909> (Well, /personal at least in Windows. I don't know if that's a good idea for Linux, have to figure that out. But yeah directories)
[01:20] <oerheks> there *is* a downside .. if the partition gets borked, you might loose all data
[01:20] <oerheks> you do have backups, right?
[01:20] <Guest909> Yeah I have another disk which I will copy it from
[01:21] <Guest909> That's formatted NTFS though
[01:21] <Guest909> On my network, I have another Windows PC
[01:22] <Guest909> (I would love to have online backups, but the subscriptions are too costly for me. May be I'll try Blackblaze, recently researched and saw that they have unlimited data backup.)
[01:24] <Guest909> Thanks for the suggestions. Looks like gparted cannot do it, and disks can (as you said). Found a nice video too, https://www.youtube.com/watch?v=5rlZtasM-Pk
[01:24] <Guest909> Ahh by "it" I meant encryption.
[01:26] <Guest909> Prior to this, on Windows I used Bitlocker and Veracrypt. I know Veracrypt works splendidly in Ubuntu as well, but I was trying to find something that's more "native" to the system. Looks like that's LUKS
[01:27] <Guest909> The plan is to migrate completely over to Linux eventually.
[01:28] <oerheks> luks it is/
[01:28] <Guest909> 'cause I'm a little fed up with Windows. But I've been using Ubuntu for a while and I love it.
[01:28] <leftyfb> !discuss | Guest909
[01:28] <Guest909> Thanks to the amazing work being done by folks at Valve, I can finally get most of my games running on Ubuntu now and start the process of ditching Windows altogether
[01:28] <Guest909> Ohh sorry about being chatty
[01:28] <Guest909> Sorry
[01:35] <Guest909> If I partition and use only half the drive, and encrypt with LUKS, is it easy to extend it later? (I'm trying to postpone the decision of multiple partitions and see how well a single partition works. I may not need more than 500 GB at the moment, and may decide to extend it if single partition works well.)
[01:36] <leftyfb> Guest909: In your use case, there is no benefit to partitioning a secondary storage device
[01:36] <oerheks> luks requires the full disk, AFAIK ?
[01:36] <Guest909> Thanks leftyfb
[01:36] <leftyfb> oerheks: not when you use LVM
[01:41] <Guest909> I deleted all partitions. When I create a new one with disks utility, am I using LVM?
[01:42] <leftyfb> Guest909: just use disk and partition and format it using disks
[01:44] <oerheks> you might want to take some reading, but disks is the easiest way, https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019
[01:45] <oerheks> have fun!
[01:47] <Guest909> Thanks
[01:48] <Guest909> I also need to automount the partition. Looks like I can do it with /etc/crypttab (not chatting just trying to ensure that there's no obvious red flags on what I'm about to do)
[01:49] <leftyfb> Guest909: do you mean automounting without asking for a password?
[01:49] <Guest909> Yes
[01:49] <leftyfb> Guest909: then what is the point of the encryption?
[01:49] <Guest909> I found a tutorial here, https://kifarunix.com/automount-luks-encrypted-device-in-linux/
[01:49] <Guest909> The system disk is encrypted
[01:49] <Guest909> I want to provide the password only once
[01:50] <leftyfb> Guest909: "I want to provide the password only once"  ! = "automounting without asking for a password"
[01:51] <Guest909> Ohh sorry I wasn't clear
[01:51] <Ravage> maybe ZFS is a good way to encrypt that HDD. it is flexible and supports encryption
[01:51] <Guest909> I don't want to automount the system disk. But I want to automount the second hard disk, once I boot into system with password.
[01:52] <Ravage> you can use a keyfile on your root/encrypted filesystem to mount the ZFS datasets
[01:52] <Guest909> Isn'
[01:52] <Guest909> Sorry... Isn't zfs the one they use on Freenas?
[01:52] <Ravage> possible
[01:52] <leftyfb> Guest909: just stick with LUKS
[01:55] <Guest909> Thanks.. Disks utility is really good. It's mounting the volume with a weird directory name (using some sort of UUID). Need to figure out how to have it mounted in a easy to remember directory
[01:56] <leftyfb> Guest909: that can be specified when you use luksOpen
[01:56] <Guest909> It's currently mounting at /media/${USER}/[long hex id]
[01:56] <Guest909> Ok thanks!
[01:56] <leftyfb> Guest909: you have a lot of reading to do
[01:57] <Guest909> Yeah sorry I keep asking - but I think I can figure the rest out myself now that I know what are the technologies I need to use. Thanks a lot for your help, leftyfb and others
[02:08] <snowhawk> hi
[02:08] <Guest909> What is a good directory to place a system file (such as decryption key) so that it's accessible to all users who can authenticate? /opt? or just root /?
[02:09] <leftyfb> Guest909: why do you need a user on your system to have access to the decryption key? I thought you were decrypting/mounting at boot as part of the main system decryption?
[02:11] <Guest909> I think the way to do that is this - 1) I add a decryption key file to the encrypted drive (also will keep the password) 2) add an entry on /etc/crypttab with that key, so that it is mounted on boot (since cleartext password is not supported for automount)
[02:11] <leftyfb> Guest909: then users do not need access to the decryption key
[02:11] <Guest909> Yes they don't
[02:12] <Guest909> You are right
[02:12] <Guest909> I'm sorry - it's only needed by the system
[02:13] <GiverOfDomani> Just finished my first install on an i5
[02:14] <Guest909> I don't know why I thought everyone needs the key. I suppose I can put it in /opt giving access to some group (not sure which) so that only crypttab can access it
[02:14] <Guest909> I gotta go... thanks again, need to take care of something else urgently
[02:17] <leftyfb> !afk | Guest909_afk
[03:32] <oerheks> No.
[03:43] <audiomouse> how can i find where i have mozilla installed?
[03:43] <audiomouse> i mean firefox
[03:45] <oerheks> depends, the standard snap settings are in ~/snap/something
[03:48] <oerheks> the actual files in /var/lib/snapd/ directory
[04:09] <HiHoGo> Hi all just wanting some advice. I have ubuntu server os I am wanting to install xfce but not sure weather to install xfce4 or xubuntu. any help
[04:20] <oerheks> just install xubuntu-desktop, and set ; sudo systemctl set-default graphical.target   # and reboot
[04:20] <oerheks> with xubuntu-desktop you get support in #xubuntu
[04:21] <Bashing-om> HiHoGo: depends on the added features you desire if you install the full DE - please see: https://help.ubuntu.com/community/Installation/LowMemorySystems for the info.
[04:23] <HiHoGo> Bashing-om: thanks. when i do install one, i will be installing the minimal desktop. not the full one. as i am building this os on my Odroid U3 single board computer, its similar to a Raspberry Pi
[04:24] <oerheks> xubuntu gives a minimal option too, AFAIK
[04:25] <Bashing-om> HiHoGo: I run minimal install with xfce4 as a lighter GUI myself :D
[04:25] <HiHoGo> oerheks: yes i understand xfce4 and xubuntu both have minimal install options. i understand that xubuntu has a few more packages than xfce4
[04:26] <HiHoGo> Bashing-om: I see did you install it on the ubuntu server os
[04:27] <oerheks> i think you want a custom build image for Odroid U3
[04:27] <HiHoGo> Bashing-om: from what i understand the xfce minimal desktop has a few more extra packages.
[04:28] <oerheks> mubme abou tmore less packages, not worth the troube
[04:30] <HiHoGo> oerheks: the Odroid U3 is now End Of life discontinued. all the original os that where built for it have been removed, they are older ubuntu 14.04 os. I have installed a ubuntu 16.04 minimal os and am now building it from scratch
[04:30] <oerheks> https://github.com/IOOI-SqAR/odroid
[04:30] <HiHoGo> If i could find a ubuntu 18.04 minimal os build i would be building on that
[04:30] <oerheks> ^
[04:31] <dirtcastle> i installed chromium. and I can't uninstall it now.
[04:32] <dirtcastle> sudo apt purge , remove, nothing is working
[04:32] <oerheks> chromium is a snap solely; sudo snap remove chromium
[04:32] <Bashing-om> HiHoGo: No, not from server - but will be next time as the base minimal-cd is no longer published. ^^ 18.04 was the last.
[04:32] <HiHoGo> thanks oerheks I have already tested that os. it is built with unity desktop and is slow laggy, and after trying to run apps they dont work properly etc.
[04:32] <dirtcastle> i downloaded it through apt? chromium-browser
[04:33] <Eickmeyer> dirtcastle: Chromium is a snap. Use "sudo snap remove chromium".
[04:33] <oerheks> nope, you didnt
[04:33] <HiHoGo> Bashing-om: there will always be a ubuntu minimal server os available
[04:33] <HiHoGo> they will always have the iso available to download
[04:34] <Bashing-om> HiHoGo: Yup - works for us as well :P Just keep in mind there is a fair anount of tweaking to be done.
[04:34] <dirtcastle> i installed through sudo apt install chromium-browser. and yes. snap removed it. thanks for your time!
[04:34] <oerheks> :-)
[04:34] <Eickmeyer> dirtcastle: Reason being the package through apt just is a transitional package to the snap.
[04:35] <HiHoGo> Bashing-om: yes i understand that with the minimal server will take installing extra stuff. I dont mind doing that.
[04:35] <dirtcastle> oh ok. til
[04:35] <oerheks> oh Eickmeyer is right, +1
[04:36] <HiHoGo> oerheks: I even tried a debian buleseye os for the U# but that also had lags and such.
[04:36] <HiHoGo> snap vers apt
[04:37] <leftyfb> HiHoGo: point to the Ubunt 21.10 mini.iso
[04:37] <HiHoGo> leftyfb: ???
[04:37] <leftyfb> "<HiHoGo> Bashing-om: there will always be a ubuntu minimal server os available"
[04:38] <leftyfb> HiHoGo: there is no longer a mini.iso (minimal server installer)
[04:38] <HiHoGo> leftyfb: and ???i weill always point people to an LTS os version of any os
[04:38] <HiHoGo> leftyfb: really why is that
[04:39] <leftyfb> HiHoGo: http://archive.ubuntu.com/ubuntu/dists/jammy/main/installer-amd64/current/legacy-images/
[04:39] <Eickmeyer> The mini.iso was a relic of debian-installer and was never supported, so it has been removed.
[04:39] <oerheks> http://cdimages.ubuntu.com/netboot/
[04:39] <oerheks> netboot it is
[04:40] <Bashing-om> leftyfb: Uh Huh - Thus I can sleep well at night :D
[04:40] <leftyfb> oerheks: nope: http://cdimages.ubuntu.com/netboot/focal/
[04:40] <HiHoGo> Eickmeyer: the server version of ubuntu was supported by the community.
[04:41] <HiHoGo> just like xubuntu, kubuntu, ubuntu studio, edubuntu etc. they are not run by canaoniacal anymorfe
[04:41] <Eickmeyer> HiHoGo: I'm the leader of Ubuntu Studio and am on the Ubuntu Community Council. I am well aware, the mini.iso was never supposed to be supported by the community. You just heard it from the horse's mouth.
[04:42] <Eickmeyer> So, please don't question me on this one.]
[04:43] <Eickmeyer> Besides, we're not here to argue. :)
[04:44] <HiHoGo> leftyfb: interesting. for small single board computers like the Raspberry Pi a minimal server os to build from is a must. why dont they provide arm install instructions on that link ???
[04:45] <leftyfb> HiHoGo: https://ubuntu.com/raspberry-pi
[04:45] <HiHoGo> thanks Eickmeyer  what do you think of computers like the Raspberry Pi A mini os version to build from is  essential
[04:46] <Eickmeyer> HiHoGo: This isn't the place for that discussion.
[04:46] <oerheks> HiHoGo, that link from lefty gives server and  desktop for your pi
[04:46] <leftyfb> HiHoGo: you don't need to "build" your OS for the Pi. Just download the image and write it to your sd card
[04:46] <HiHoGo> boards like the Raspberry Pi odroid devices, banana Pi and many others use minimal install os to build their os from on the Arm base
[04:47] <oerheks>  Raspberry Pi odroid devices do not exist
[04:47] <Eickmeyer> HiHoGo: You have been given the answer to your issue. Do you have another issue?
[04:47] <Bashing-om> HiHoGo: Not at all; the PI has full support - see on the Discourse formum for tutorials.
[04:47] <leftyfb> HiHoGo: feel free to discuss custom builds of ubuntu in any of those IRC channel
[04:47] <oerheks> good luck and have fun!
[04:48] <HiHoGo> yes thanks. I get that. its a shame that ubuntu or the ubuntu server team is no longer providing for these people.
[04:48] <HiHoGo> thanks anyway. I have learnt some things now.
[06:55] <tykling> I seem to recall there was a community maintained repo with the latest prometheus node exporter for 20.04 but I can't find it, does anyone know what I mean?
[08:06] <dirtcastle> I messed up my gdm
[08:06] <dirtcastle> it doesn't shows the login anymore.
[08:07] <dirtcastle> I have stuff on xinitrc. is that why
[08:07] <dirtcastle> and bashprofile.
[08:08] <dirtcastle> pls help.
[09:34] <dirtcastle> I had my xmodmap config to swap ctrl and capslock keys. for some reason my xmodmap doesn't do that. I used to have the same .Xmodmap which I used to use in a VM. and it used to work without any problem
[09:37] <dirtcastle> I'm using stumpwm.
[09:57] <mncheck> can I use gnome files with cifs only? I am considering removing samba if possible
[09:59] <mncheck> on focal
[10:00] <Kolusion> Hey all. Can somebody please confirm for me whether UFW blocks inbound and not outbound by default?
[10:14] <oerheks> Kolusion, by default UFW blocks nothing, one needs to install gufw to activate
[10:15] <Kolusion> oerheks: I believe UFW is activated by default.
[10:15] <oerheks> Yes, it is installed, without rules
[10:15] <oerheks> but the gui thingy not.
[10:16] <Kolusion> oerheks: I believe it blocks everything inbound while allowing everything outbound, but I want to confirm that.
[10:16] <oerheks> No, it does nothing.
[10:17] <Kolusion> oerheks: Thanks
[10:17] <oerheks> yw, have fun!
[10:17] <Kolusion> I am interested in a second opinion people. :)
[10:17] <ogra> oerheks is correct ...
[10:17] <ogra> (there you go 🙂 )
[10:17] <oerheks> opinion .. go test it?
[10:17] <Kolusion> I am interested in a third opinion people. :)
[10:18] <ogra> lol
[10:18] <lotuspsychje> this is not a quiz Kolusion
[10:18] <Kolusion> lotuspsychje: No shit
[10:18] <oerheks> form your own opinion, easy to check.
[10:18] <Kolusion> oerheks: No its not easy to check. To check would require uninstalling it and reinstalling it.
[10:19] <Kolusion> oerheks: I have existing rules.
[10:19] <ogra> use an lxd container 😉
[10:19] <oerheks> sudo ufw status verbose
[10:19] <ogra> but either way, ufw always gets installed inactive ...
[10:21] <Kolusion> oerheks: The status shows only the two rules I added, yet I can make outbound connections which suggests UFW allows everything outbound by default while blocking everything inbound by default. Everyone here that has given their opinion claims UFW allow everything by default. I doesn't look this way to me.
[10:21] <oerheks> sudo ufw app list  # gives a handy preset list
[10:22] <Kolusion> *It doesn't...
[10:23] <ogra> Kolusion, ufw gets installed inactive by default ... you need to explicitly call "sudo ufw enable" else it simply does nothing ... all the rest is really up to you
[10:23] <Kolusion> ogra: I haven't mentioned anything about the service status of UFW.
[10:24] <Kolusion> ogra: I am talking about the rules.
[10:25] <ogra> Kolusion, 4th opinion from first google hit: https://www.digitalocean.com/community/tutorials/how-to-setup-a-firewall-with-ufw-on-an-ubuntu-and-debian-cloud-server
[10:25] <Kolusion> ogra: I want information from an official source.
[10:27] <oerheks> 5th opinion please
[10:27] <oerheks> tell us how you see those rules?
[10:28] <Kolusion> oerheks: In terminal, as root, use the command 'ufw status'.
[10:33] <Ravage> https://p.haxxors.com/ufw.txt
[10:33] <Ravage> sounds like a fun game. cant we get 10 opinions?
[10:33] <Kolusion> Nah, I am now positive I am correct. Thanks for all your time. Good bye.
[10:34] <Ravage> please dont come back
[10:34] <oerheks> don't do that, Ravage
[10:34] <Kolusion> Ravage you sound like a womanless loser.
[10:34] <Ravage> i said please
[10:34] <Ravage> and he trolls everyone all the time
[10:43] <tga> hey, is anyone happy with a noise canceling USB headset on Linux? I tried a Jabra but it wasn't any good without their Windows software
[10:44] <Ravage> i use noisetorch for that. uses some CPU but works
[10:45] <tga> I didn't know about it, thanks
[10:45] <tga> I thought headsets were better than software because they have multiple/directional mics
[10:46] <Ravage> it filters everything but speech. so if someone else in the room is talking too it will transmit that. it cant filter out only YOUR voice
[10:47] <tga> right, that's not great, usually that's exactly what I'm trying to filter out
[10:54] <Intelo> Is it wise to use GPU for browser (I heard there are settings in browsers or OS) by which the app uses GPU instead of CPU. By default in linux, the browsers like chrome, chromium, firefox etc use the CPU. Not GPU?
[10:57] <oerheks> GPU use is oke, for rendering
[10:57] <oerheks> Vaapi
[10:58] <nadio> Intelo: any hardware acceliration should be on, no ide about the security implication of it tought.
[10:59] <oerheks> your GPU is already working, so..
[10:59] <Intelo> nadio ide? security?
[10:59] <nadio> Intelo: performance and battery/lower power.
[10:59] <SPF> playing videos in chrome is now dreadfully slow on my system after updates, not sure if this is chrome or kernel updates?
[10:59] <Intelo> oerheks no I heard that that the apps I  mentioned do not use GPU primarily or extensively. Is that correct? and the opposite will make performance better?
[10:59] <nadio> SPF: reason why an ARM chip can play smooth 4k video with out any issues is instructuion set/hardware accelirator.
[11:00] <nadio> SPF: its just stuped to not use it.
[11:00] <nadio> Intelo: GPU = Graphical Processing Unit.
[11:00] <oerheks> not standard, one needs to install Vaapi stuff.
[11:00] <Intelo> nadio yes
[11:01] <Intelo> oerheks talking to me?
[11:01] <Intelo> vaapi :|
[11:01] <oerheks> video acceleration api
[11:02] <Intelo> so my question don't have a simple answer/
[11:02] <Assid> hi
[11:03] <Assid> so i tried to modify /etc/pam.d/sshd to add support for yubico pam module.. however. i cant seem to get this working..  it doersnt ask for the yubico otp and just goes through with my pubkey authentication
[11:04] <oerheks> Hi Assid, one could install the snap https://snapcraft.io/yubioath-desktop
[11:05] <oerheks> or the ppa; https://support.yubico.com/hc/en-us/articles/360016649039-Installing-Yubico-Software-on-Linux
[11:05] <Assid> its for sshd .. so not desktop.. the app itself is in the repo.. so  im ok with getting the binary...
[11:09] <oerheks> oh oke, no idea what could be wrong then
[11:11] <frost-core> hello guys
[11:11] <Assid> nevermind .. got it..
[11:11] <frost-core> i was installing ubuntu server as a no desktop alternative to ubuntu
[11:11] <frost-core> but, it errors in the installer
[11:12] <frost-core> i used xfs
[11:12] <frost-core> and also when detecting drives it errors but i can continue and do custom
[11:13] <frost-core> if anybody can help, please do
[11:14] <frost-core> i flashed ubuntu server from an existing ubuntu system
[11:15] <frost-core> is it because i used dd?
[11:18] <frost-core> *silence*
[11:20] <noob8650> frost-core: dd shoudn't be an issue (as long as there's no single file above 4gb afaik)
[11:20] <noob8650> Since it uses FAT32
[11:20] <frost-core> noob8650 : i keep getting errors, i rebooted the usb
[11:21] <noob8650> How do the errors look?
[11:21] <frost-core> i get to them in the disks section
[11:21] <frost-core> i cant post since im on a nother pc
[11:22] <tuxinator> frost-core: Well without an error message it's like hitting google's i feel lucky button
[11:22] <frost-core> sorry, i reported one to canonical
[11:23] <frost-core> oh its fine after reboot
[11:23] <frost-core> thanks
[11:24] <noob8650> frost-core: Okay, so it doesn't detect your harddrives? Maybe you can do something like "sudo dmesg | termbin.com" (warning, this will post the output of that command to a website with an url to the paste
[11:24] <noob8650> frost-core: Okay, I'm glad it works
[11:24] <noob8650> Nevermind the above then!
[11:25] <frost-core> you guys are nice, my debian install complete broke my pc, i had to boot from another distro so i can install, i chose ubuntu
[11:26] <frost-core> also i have a question, which one is better? XFS, BTRFS or EXT4?
[11:26] <frost-core> i chose xfs
[11:27] <nadio> frost-core: different filesystem work better depending on file sizes and usage scenario, there is no answer this one is better then that.
[11:27] <nadio> but people tend to go for ext4
[11:27] <frost-core> i heard xfs is great
[11:28] <nadio> frost-core: reiserfs you have small files and want a fast filesystem, like small binaries. EXT4 is good for larger files
[11:30] <frost-core> lubuntu can be installed from ubuntu server? or not?
[11:31] <frost-core> the desktop
[11:32] <lotuspsychje> you already asked that question here frost-core
[11:32] <ThinkT510> they all use the same repositories so yes
[11:32] <lotuspsychje> dont keep flooding the same questions over and over
[11:33] <frost-core> umm i didnt
[11:35] <frost-core> an error
[11:41] <frost-core> It kept erroring so im just getting lubuntu
[12:08] <hans> >mkpasswd, which (at least on Debian) is part of the whois package
[12:08] <hans> why is mkpasswd part of whois?
[12:12] <hans> nvm found the answer here https://askubuntu.com/questions/592515/why-is-the-mkpasswd-utility-part-of-the-whois-package
[13:01] <Pr070cal> hi guys
[13:02] <Pr070cal> how do i mount a smb as a /dev or if i mount smb to dir turn it into a /dev for overlayroot
[13:26] <lpapp> my /wc
[14:07] <leftyfb> Pr070cal: you don't
[14:09] <ice9> every time when I unlock the screen after being locked for few mins, the screen keeps OFF for while then the whole system freezes and I have to hard reset: here is a log from previous boot if it's helpfull: https://termbin.com/15vq
[14:10] <oerheks> ice9, did you change powersettings, as i answered the last time
[14:10] <oerheks> ??
[14:11] <ice9> oerheks, yes, this, this issue happens whenever the screen is locked whether automatically or manually; so I disabled auto screen lock; but this is not a good situation because i can't leave the laptop unlocked while away if i'm at work or cafe! this is a big poblem
[14:13] <frost-core> how do i make apt faster?
[14:13] <leftyfb> frost-core: get a faster computer and/or internet connection
[14:14] <leftyfb> frost-core: also, provide more details about your actual issue
[14:14] <frost-core> leftyfb : i mean, its slow, and has to do checks on apps, unlike a package manager like pacman
[14:14] <oerheks> in short: not
[14:15] <leftyfb> frost-core: we're not going to compare package managers here. If you think there's a problem with your system, please detail the issue, along with any error messages or logs so someone can help you
[14:16] <leftyfb> frost-core: time sudo apt install -y cowsay | nc termbin.com 9999
[14:17] <frost-core> i cant, im updating
[14:17] <frost-core> https://termbin.com/oct0
[14:20] <leftyfb> frost-core: you'll need to wait till the updates are done
[14:22] <ice9> how to install the latest mainline kernel?
[14:22] <leftyfb> !mainline | ice9
[14:23] <oerheks> i would go for HWE first
[14:23] <leftyfb> ^
[14:23] <oerheks> !hwe
[14:23] <oerheks> hwe gets updates, with mainline you are on your own
[14:24] <leftyfb> oerheks: oh, they're already on it
[14:24] <oerheks> oh oke :-)
[14:24] <leftyfb> a slightly outdated one, but HWE non-the-less
[14:24] <leftyfb> 5.13.0-28-generic
[14:25] <ice9> oerheks, i think hwe will install 5.13 same as the default version on 21.10 right?
[14:25] <frost-core> leftyfb : im using that
[14:25] <leftyfb> ice9: do your regular updates
[14:25] <leftyfb> frost-core: you are using what?
[14:25] <frost-core> leftyfb : 5.13.0-28-generic
[14:26] <leftyfb> frost-core: that wasn't meant for you. You're also a bit outdated as well
[14:26] <frost-core> im updating
[14:27] <serkan_> hello. I have been trying to automate install of Ubuntu 21.10 desktop. All the information I could found online points to modifying grub.cfg to provide command line options to kernel. but for some reason I could not get it working. after the boot it lands in live session desktop instead of starting the install. any ideas
[14:27] <leftyfb> serkan_: maybe look into a post-install solution like ansible
[14:27] <oerheks> ice9, yes
[14:32] <serkan_> leftyfb will ansible enable me to supply a preseed file to ubuntu installer for an null-interaction installation?
[14:32] <leftyfb> serkan_: no, that's not the point
[14:33] <leftyfb> it's a post-install tool
[14:33] <serkan_> it was possible with Ubuntu 18.04 for example when IsoLinux was around
[14:33] <serkan_> leftyfb ok. but what I need is an so called unattended install.
[14:34] <leftyfb> serkan_: https://ubuntu.com/server/docs/install/autoinstall-quickstart
[14:35] <leftyfb> serkan_: https://askubuntu.com/a/1253901/1151311
[14:36] <oerheks> this tool is work-in-progress, not complete yet https://github.com/canonical/autoinstall-generator
[14:36] <oerheks> https://snapcraft.io/autoinstall-generator
[14:39] <serkan_> leftyfb thanks. will look into those
[14:44] <kenperkins> Can I do mixed scaling configurations on a per monitor basis?
[14:45] <kenperkins> i.e one 4k monitor at 1.5, but another at 2?
[14:46] <oerheks> kenperkins, no, AFAIK
[14:47] <ice9> i installed this kernel manually https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16.10/ but how can I sign it for secure boot?
[14:50] <oerheks> !info mokutil
[14:52] <ice9> i had .gnupg backed up from Arch, now in ubuntu when i try to import a key, i get "gpg: keyblock resource '/etc/pacman.d/gnupg/pubring.gpg': No such file or directory"
[14:52] <oerheks> oops, only for kernel moduls..
[14:54] <leftyfb> ice9: you're trying to import a config with hardcoded paths which isn't going to work
[15:13] <coz_> good day all
[15:28] <paul424> Hello I am vompletly green when it comes to printing, I somehow managed to force our bizhub konica minolta to work with Ubuntu
[15:29] <paul424> c 224e
[15:29] <paul424> but SOMETIMES it refuses to print from LibreOffice
[15:29] <paul424> where OI can check for errors ?
[15:30] <paul424> I did set device URL  lpd://192.168.1.120/print
[15:31] <paul424> in xfce4 printer setting s
[15:32] <paul424> what does general : collated mean ?
[15:34] <paul424> and opc-life-over
[15:34] <paul424> I gotta go in 5 minutes
[15:34] <yuckey2d> whats up homies - I have a docker runner that keeps filling up its drive due to collectd
[15:34] <yuckey2d> any ideas how I can automate purging that ish
[15:37] <leftyfb> yuckey2d: if the data is purgable, why are you collecting it?
[15:37] <yuckey2d> shrug - i dont know why /var/lib/collectd is filling up
[15:38] <leftyfb> yuckey2d: did you look at what's in it?
[15:39] <yuckey2d> leftyfb - a bunch of interface-vethfffdbf0 type folders
[15:40] <yuckey2d> 10s of thousands of them
[15:40] <leftyfb> yuckey2d: keep looking. You shouldn't just start deleting things you aren't familiar with. Especially when it's for something like collectd. Are you even using collectd for anything useful?
[15:40] <yuckey2d> collectd was install by default with ubuntu. it's just a runner, can I just uninstall it and be done? not sure what collectd does
[15:41] <leftyfb> yuckey2d: collectd is not uninstalled by default with ubuntu
[15:41] <leftyfb> sorry, installed
[15:42] <yuckey2d> maybe it was with this aws ami - I built the server, and installed docker, and never installed it
[15:42] <yuckey2d> or cloudwatch 🤔
[15:43] <ice9> I installed kernel 5.16.10 (latest stable) on ubuntu 21.10 and noticed continuous spin of the cpu fan for long time without load, what could be the issue?
[15:43] <leftyfb> ice9: go back to an HWE kernel
[15:44] <leftyfb> ice9: oh, you're not on an LTS release
[15:44] <ogra> use a supported kernel ... 🙂
[15:44] <leftyfb> ^
[15:44] <ice9> leftyfb, i installed that one because i had an issue with the supported kernel, the system freezes when unlocking the screen, which didn't happen with 5.16
[15:46] <ogra> so find a chnnel where people can support you with 5.16 on ubuntu (this channel is not it, nor any other #ubuntu-* channel)
[15:46] <leftyfb> ice9: try #linux
[15:46] <Maik> installing another kernel than is supported by Ubuntu is at own risk
[16:01] <BluesKaj> Hi folks
[16:13] <randall> Hi, I've got a laptop here with Ubuntu 20.04 that stopped booting. grub starts fine, but when I select the menu entry, it just stays stuck at "loading initramfs...". I've tried `update-initramfs -k all -u` to fix it, and tried booting the older kernel entry, but so far no luck.
[16:14] <randall> (updating the initramfs was done in the system chroot, booting from a live system)
[16:19] <randall> Any pointers what to do next? I'm 80% certain it's from an update on Saturday. /var/log/apt/history.log: https://paste.debian.net/1231760/
[16:19] <randall> *Sunday
[16:31] <ioria> randall, i suggest to boot in Recovery Mode
[16:31] <randall> ioria: I tried that, it also gets stuck in "Loading initramfs ..."
[16:32] <ioria> randall, are you in chroot atm ?
[16:33] <mncheck> are focal, focal-updates, focal-security and focal-backports mutually exclusive?
[16:33] <leftyfb> randall: tried booting the previous kernel?
[16:33] <randall> ioria: Not it chroot, but booted the previous kernel and had the same problem.
[16:34] <randall> ioria: I currently have removed the non-free nvidia driver for the previous kernel, and it's booting a little further. So the latest update is at least part of the problem.
[16:34] <ioria> randall, then you need again the chroot env
[16:34] <randall> ioria: Can do that, what do you propose?
[16:34] <ioria> randall, wait... how did you remove nvidia ? by livecd ?
[16:35] <randall> ioria: chroot
[16:35] <ioria> randall, ok, so can you login normally now with another kernel  now?
[16:36] <randall> ioria: The old kernel without nvidia throws me to an initramfs shell, seems as though the LUKS unlock doesn't work for some reason.
[16:36] <randall> But I think I could fix that, if that's an issue.
[16:37] <ioria> randall, ok,  so you need again the livecd/chroot   (if you cannot login )
[16:38] <randall> Done. What do you propose doing?
[16:38] <ioria> randall,  check for 1) space on the disk - df -h 2) check for broken pkgs
[16:39] <ioria> randall,  first, try and update :   sudo apt update && sudo apt full-upgrade
[16:39] <randall> ioria: /boot has still >50% free, and `apt install -f` doesn't show any broken packages.
[16:40] <ioria> randall,  sudo apt update && sudo apt full-upgrade
[16:40] <randall> ioria: Done, and rebooted. Didn't fix the issue.
[16:41] <ioria> randall, can you paste the output ?
[16:42] <randall> Sure, one sec.
[16:42] <ioria> and why your user is 'systemd-coredump' ? randall
[16:43] <randall> ioria: I guess that's how unattended-upgrades is set up on Ubuntu.
[16:43] <ioria> ah, ok i don't use it
[16:43] <randall> I've verified that the first users actually has id=1000.
[16:44] <randall> ioria: https://paste.debian.net/1231766/
[16:45] <ioria> randall, uname -r
[16:45] <randall> ioria: 5.13.0-28-generic currently
[16:45] <ioria> randall,  dpkg -l | grep nvidia | nc termbin.com 9999
[16:46] <randall> ioria: https://termbin.com/m4j8
[16:47] <ioria> randall,  we can try to purge nvidia
[16:48] <ioria> randall,  sudo apt purge nvidia-driver-470
[16:48] <randall> I've already dumped the kernel modules, and that made the one kernel boot.
[16:48] <ioria> nope, the pkgs are still there
[16:49] <randall> ioria: linux-objects-nvidia-470-5.13.0-28-generic is uninstalled, and that's the kernel that boots.
[16:50] <ioria> randall, i suggest to  sudo apt purge nvidia-driver-470 ; it's very easy to reinstall if that's not the problem
[16:51] <ioria> randall,  after that, run   sudo apt autopurge
[16:53] <ice9> can the fingerprint in Samsung T7 touch work on Linux? if not, can I still use the disk normally?
[16:58] <randall> ioria: That fixed it for me. Question is, why is the nvidia driver b0rked with the last update. :(
[17:01] <ioria> nvidia borks a lot of thing; we need to look at the logs carefully (journalctl )  ... but 'id say a mismatching  randall
[17:01] <ioria> *s
[17:34] <Guest2921> hello, i don't want to keep using https://web.libera.chat/ to come here. what is a good GUI IRC client that I should install on minimal installation of Ubuntu?
[17:34] <PTNapivoski> HexChat
[17:34] <Guest2921> thanks
[17:35] <oerheks> lots of clients, a gui or in terminal
[17:35] <oerheks> https://libera.chat/guides/sasl
[17:42] <sukru> hello i have a problem at lubuntu
[17:42] <sukru> i lost my dock
[17:42] <sukru> at dock settings i made width 0
[17:43] <sukru> and i closed it
[17:43] <leftyfb> sukru: open the settings again and put it back
[17:43] <sukru> i cant open settings without it
[17:44] <leftyfb> sukru: maybe try asking in #lubuntu
[17:44] <sukru> btw this isnt ubuntu
[17:44] <leftyfb> :/
[17:44] <sukru> ok thx
[17:44] <leftyfb> sukru: if you're not running ubuntu, then you shouldn't be asking for help in either #ubuntu or #lubuntu
[17:45] <aiena> usually yes since this is more or less DE related I think even #lxde would be better.
[17:46] <oerheks> Control+Escape Open LXDE menu
[17:47] <oerheks> https://help.ubuntu.com/community/lubuntu-LXDE/Keyboard
[17:47] <ednash> found irssi from your list oerheks, thanks!
[17:47] <oerheks> good ednash , have fun!
[17:48] <aiena> can someone recommend a good on screen linux keyboard which supports multiple languages
[17:48] <lotuspsychje> aiena: gnome got one baked in settings
[17:48] <aiena> can be QT/KDE/GNOME based
[17:49] <aiena> wonder how I'd install it on another DE
[17:50] <ednash> how do i keep my ubuntu machine awake when any ssh session into it is active?
[17:50] <ednash> i configured it to suspend in 20 minutes, and it does so even if i'm sshed into it from another pc
[17:50] <oerheks> see the ssh wiki, keepalive
[17:50] <leftyfb> ednash: https://askubuntu.com/questions/936728/how-to-keep-ssh-connection-alive
[17:51] <leftyfb> ednash: oh, you want your system to ignore sleep settings if you're ssh'd in
[17:51] <leftyfb> ednash: I would recommend turning off suspend completely
[17:51] <ednash> yes
[17:52] <ednash> wouldn't it put load into the machine, causing quicker deterioration, if i am not working on it?
[17:52] <leftyfb> ednash: no
[17:53] <ednash> ok thanks let me try that for now. i moved from windows into it btw, you helped me yesterday in setting up the encryption (i was chatting as guest)
[17:53] <ednash> i used to keep the windows configuration to auto-suspend
[17:59] <ednash> there are some tutorials suggesting to put a script in /etc/pm/sleep.d/
[17:59] <ednash> where can i learn more about that directory and what's in there? `man sleep.d` doesn't work
[18:00] <ednash> due to an unfortunate coincidence, googling sleep.d doesn't work either, there is some band by that name
[18:01] <leftyfb> ednash: go into your desktop settings and disable suspend
[18:06] <ednash> thanks already did that... was looking to see if i can do it only on ssh, just for curiosity! found some docs here, called "sleep hooks", http://manpages.ubuntu.com/manpages/trusty/man8/pm-hibernate.8.html
[18:14] <ednash> which is a good vnc server to use if i want to occassionally access the GUI of the Ubuntu desktop from another machine? tightvncserver?
[18:15] <leftyfb> ednash: none will work with wayland AFAIK. Other than that, you should just try them out and see for yourself. This isn't the appropriate place to ask for software recommendations. Especially when you already know you want VNC
[18:17] <ednash> VNC is the recommended way to remotely access GUI right? I am looking for a replacement of Windows Remote Desktop for Ubuntu.
[18:18] <ednash> Gonna try them out thanks. Any other channel where I can ask these questions? I will try #ubuntu-offtopic
[18:18] <leftyfb> ednash: OT would be good. Or #ubuntu-discuss
[18:18] <ednash> thanks
[18:27] <oerheks>  libqt5x11extras5 should make teamviewer working ? https://www.codegrepper.com/code-examples/shell/use+teamviewer+on+wayland+ubuntu
[18:31] <annie_roid> where on the web what I look to answer the question, what kind of problems are people having with the latest version of Ubuntu compared with the version before... I mean compare I guess it is last October to the April before. I want to use one of the new versions ....
[18:37] <alkisg> The April version is unsupported, so you can't properly use it anyway. You should better decide if you want "latest" (=21.10) or "long term support" (=20.04)
[18:39] <oerheks> annie_roid, crawl through bugreports? https://bugs.launchpad.net/ubuntu
[18:41] <oerheks> it is such a wide open question, no developer can answer that
[18:41] <oerheks> ( depends on desktop, hardware, language..)
[18:50] <annie_roid> alkisg thanks, that seems like the answer I need. oerheks thanks. that too seems true.
[18:52] <annie_roid> another question, online suggestion of How to(what to) learn enough so that I can run Ubuntu with no GUI
[18:52] <oerheks> https://ubuntu.com/tutorials/command-line-for-beginners#1-overview
[18:52] <annie_roid> "what to learn in order to run Ubuntu with no GUI"?
[18:52] <oerheks> and tons of pages more ..
[18:53] <annie_roid> great. i will do that first, fill gaps.
[18:54] <oerheks> often people come in here; "i don't want to use a solution in the gui but cli; how? ".. start easy and get familiar with programs and filesystem and permissions
[18:55] <oerheks> running services,play music, editing pictures in terminal..
[18:56] <SoggyWaffles> also the command man <command> where <command> is the program you are trying to run. It will give you way more information then you wanted but it give you what you need
[18:59] <foehammer> imagine using canonical software
[19:01] <oerheks> do you have an ubuntu support issue, foehammer ?
[19:01] <foehammer> more of a debian based support question
[19:02] <oerheks> wrong channel then
[19:02] <foehammer> Its because I literally cannot connect to the channel
[19:02] <foehammer> what is NickServ and how do I get an account
[19:03] <oerheks> oh oke, #ubuntu needs no registration, #debian does
[19:03] <oerheks> !register
[19:03] <foehammer> thanks
[19:03] <oerheks> yw
[22:45] <sorta_noob> OK, So I have an issue. I just added a second monitor to my Ubuntu 20.04 desktop. All good, except that instead of expected "joined" behavior, I get secondary monitor working properly, but primary is showing both monitors and slides between them based on mouse position....
[23:44] <ubuntu21> hello ubuntu team
[23:45] <ubuntu21> here , apt update locked and packagekitd hanged
[23:46] <ubuntu21> and firefox sudden close crash
[23:48] <shayf> hello
[23:48] <ubuntu21> hello
[23:48] <shayf> is there anyone here willing to help me with a permissions issue in ubuntu server?
[23:49] <ubuntu21> i am also waiting for response
[23:49] <shayf> awe :(
[23:49] <shayf> i think i may have fucked up my os
[23:50] <shayf> can't access passwd, can't login to root, can't use sudo
[23:50] <ubuntu21> there is also a channel #ubuntu-server
[23:50] <shayf> its telling me that no acc's exist on the system
[23:51] <shayf> shay@vps728688:~$ su
[23:51] <shayf>    su: user root does not exist or the user entry does not contain all the required fields
[23:51] <shayf> ^ prob broken asfk
[23:51] <Maik> shayf: mind the language a bit please