[00:00] <tomreyn> fastputty: did you look at dmesg? and do you do TRIM?
[00:00] <fastputty> what is trim?
[00:01] <tomreyn> basically, telling the ssd which parts of a file system are unallocated and can thus be swapped around safely.
[00:01] <tomreyn> !trim
[00:04] <tomreyn> some models can get very slow if they don't get a way to swap blocks around in the background and the file system is somewhat full.
[00:08] <fastputty> sorry omg lost internet again, thunderstorm here
[00:10] <tomreyn> i'm also sorry, need to go to bed. gl!
 some models can get very slow if they don't get a way to swap blocks around in the background and the file system is somewhat full
[01:34] <jrgilman> hey guys, I had a serious problem with my computer the other day and had to basically pull the entire thing apart. Now that i've put it together, cryptsetup is refusing to allow me to boot.
[01:35] <jrgilman> https://imgur.com/vXw4Y6Y
[01:35] <jrgilman> I'm not really sure how to begin fixing this, all of the errors I find when searching are due to a kernel update.
[01:38] <KalEl> what's a good known-to-work compact usb wifi for ubuntu?
[01:38] <edenist> jrgilman: do you have multiple drives in the system? did you put them back into the same [what I'm assuming is SATA] port?
[01:38] <KalEl> i purchased a lenovo legion y7000 and the the wifi chip keeps giving me trouble to no end
[01:38] <jrgilman> edenist: I have 3 drives
[01:38] <jrgilman> I am unsure
[01:39] <KalEl> thinking to just use a separate usb wifi
[01:39] <jrgilman> I tried putting them in the same order
[01:39] <jrgilman> should I just try juggling the cables around?
[01:40] <edenist> possibly. It looks like it's having trouble locating certain partions and lvm  groups, with the fscrypt thrown in there, I think somethings out of order
[01:40] <jrgilman> okay
[01:41] <jrgilman> I guess i'll try all possible permutations of that first
[01:41] <jrgilman> before trying to do the hard thing
[01:41] <edenist> what is the layout of the drives? One boot drive and some other drives mounted too?
[01:41] <edenist> raid?
[01:41] <edenist> which drives are encrypted?
[01:41] <jrgilman> 1 is encrypted
[01:41] <jrgilman> it used to be /dev/sdb
[01:42] <jrgilman> but now it's /dev/sda
[01:42] <jrgilman> i tried putting it uh
[01:42] <jrgilman> second in the SATA ports
[01:42] <KalEl> i have enabled windows raid and i can't boot with these drives anymore
[01:42] <jrgilman> anyways sorry
[01:42] <jrgilman> the main drive has 3 partitions and is encrypted
[01:42] <jrgilman> that's the only one that matters
[01:42] <jrgilman> the other two are just data drives
[01:42] <jrgilman> nothing important on them
[01:42] <jrgilman> well
[01:43] <jrgilman> there's important stuff on them, but not important to booting
[01:48] <edenist> jrgilman: just focus on the main boot drive for now then.
[01:48] <KalEl> what are some hidden gem linux games you enjoy
[01:48] <edenist> leave the others unplugged
[01:49] <edenist> it might be that drives and partitions haven't been specified with UUID, so it's getting confused at boot up
[01:50] <jrgilman> okay
[01:50] <jrgilman> I'm trying every slot now
[01:54] <jrgilman> okay
[01:54] <jrgilman> I've tried every slot for it at this point
[01:55] <jrgilman> it's refusing the mount
[01:58] <edenist> jrgilman:is the bootloader only present on the boot drive? Or was it accidentally [or on purpose] installed on one of the other drives too?
[01:58] <jrgilman> it should be on the main drive only
[01:58] <jrgilman> all I did was select the
[01:58] <jrgilman> "encrypt drive" option when you first install ubuntu
[01:58] <jrgilman> i mean
[01:59] <jrgilman> I don't really understand a whole lot about the bootloader, so would the prescense of those drives cause it to be installed there?
[02:00] <jrgilman> i dunno if this is helpful at all: https://imgur.com/cjP9B2i
[02:00] <edenist> by default it will install it on the main system drive.
[02:00] <jrgilman> I didn't play around with that
[02:00] <edenist> thanks. let me take a llok
[02:00] <edenist> *look
[02:01] <jrgilman> i apologize for the shitty lighting
[02:01] <edenist> all good ;-)
[02:01] <jrgilman> the worst part is i've been burned by this before but i guess i didn't learn the first time
[02:15] <edenist> jrgilman: the only thing I notice is that it says root='hd1,gpt2'
[02:16] <edenist> it might be expecting one of the other drives to be in there [that drive would be hd0]
[02:17] <edenist> I'm not an expert on that matter but it's just a hypothesis, and it goes with the fact that things were fine until you pulled things apart then back together
[02:17] <edenist> Put another drive in, then try combinations of other locations for the boot drive
[02:28] <jrgilman> hm ok
[02:33] <MiguelPeru> hey is there a keylogger for ubuntu
[02:35] <sarnold> MiguelPeru: pam_tty_audit(8) if you need a log of a terminal
[02:35] <OerHeks> x11log, logkeys, tons of those
[02:36] <OerHeks> install synaptic, for a more detailed softwarecenter
[02:47] <jrgilman> edenist: what doesn't make sense is the fact that the UUID should be the same
[02:48] <jrgilman> I'm just trying to think this through at this point
[02:48] <edenist> jrgilman: correct. But in the grub menu, it's referring to the HD by index
[02:49] <MiguelPeru> bro
[02:50] <MiguelPeru> OerHeks, do I need to install c++ compilers for logkeys
[02:51] <jrgilman> right
[02:52] <OerHeks> !info logkeys
[02:53] <OerHeks> oh
[02:54] <edenist> jrgilman: when you boot with just a single drive, can you change 'hd1,gpt2' -> 'hd0,gpt2'?
[02:54] <edenist> under set root
[02:55] <illuminated> !info samba
[02:56] <jrgilman> will try now edenist
[02:57] <jrgilman>  edenist should i change that in all locations you think
[02:57] <jrgilman> search command has a reference to it too
[02:57] <jrgilman> in the if statement
[02:58] <edenist> jrgilman: yes, quite right. Change it in all locations within the grub editor
[02:58] <edenist> same with ahci1 -> ahci0
[02:58] <jrgilman> yep
[02:59] <jrgilman> I just realized
[02:59] <jrgilman> the other day I mounted this drive in a ubuntu vm to get some data off it using cryptsetup luksOpen etc etc
[02:59] <jrgilman> could that have changed the UUID?
[03:01] <jrgilman> that didn't work btw
[03:02] <edenist> jrgilman: darn :/
[03:02] <edenist> no it shouldn't have changed it
[03:05] <jrgilman> hmm
[03:05] <jrgilman> so here's the thing
[03:05] <jrgilman> if grub was failing
[03:05] <jrgilman> wouldn't I not even make it to the cryptsetup screen
[03:05] <jrgilman> the part where you type the password?
[03:06] <jrgilman> the weird part about this screen is that it keeps saying "Please unlock disk sdb3_crypt"
[03:06] <jrgilman> even though there's definitely no /dev/sdb in ehre
[03:07] <edenist> yeah, that's the problem. related to the hd0/1 thing. It thinks it is the second drive
[03:07] <edenist> it's actually sda3 when no other drives are present
[03:08] <jrgilman> right
[03:08] <jrgilman> i just thought that the grub hd0/hd1 thing was seperate from the cryptsetup portion
[03:08] <jrgilman> just spit balling
[03:08] <jrgilman> this is really out of my knowledge one
[03:10] <jrgilman> zone*
[03:10] <jrgilman> i think i'm gonna attempt all 24 configurations of the three drives at this point
[03:10] <jrgilman> before going too far down the rabbit hole
[03:11] <edenist> jrgilman: you didn't recently upgrade ubuntu did you?
[03:23] <jrgilman> nope
[03:23] <jrgilman> not to my knowledge at least
[03:23] <jrgilman> maybe i installed some udpates
[03:23] <jrgilman> updates*
[03:24] <brieweb> my mythbackend keeps dying, but I can't seem to see anything in the logs. It's running now, but later, it will just die.
[03:24] <brieweb> I am running an old version
[03:27] <brieweb> oh, I was thinking that I was on mythbuntu
[03:33] <vegii> Wow, I just rebooted a machine and it bootlooped like 10 times and di
[03:34] <vegii> died, as in froze on startup
[03:35] <jrgilman> edenist: when i try to mount the /dev/sda2 partition in a live cd
[03:35] <jrgilman> i get a structure needs cleaning error
[03:35] <jrgilman> this seems to be going somewhere
[03:35] <jrgilman> also the UUID of /dev/sda2 matches that grub menu uuid
[03:37] <vegii> picrel https://i.imgur.com/gVxIf6p.jpg frozen with this displayed. Assuming it's a (malformed) boot sequence output
[03:38] <jrgilman> okay i think i'm getting somewhere now
[03:40] <jrgilman> bad magic number in super-block while trying to open /dev/sda
[03:40] <vegii> unable to ssh into it this time. Earlier, I was able to ssh for a while between bootloops and the load was higher than 2, plus when I ran dmesg, I got things like "File /var/log/journal/3beaaebfff284d0eb9f211d1b1fec3ea/user-1000.journal corrupted or uncleanly shut down, renaming and replacing"
[03:43] <vegii> I'm wondering what just happened and how I could get the system back up
[03:44] <vegii> it's ubuntu server 18.04 (bionic)
[03:45] <vegii> running on a thinkpad R61
[03:45] <vegii> well, it was running
[03:46] <vegii> it said it needed a reboot, so I ran sudo reboot and it started crashing and restarting, which was a bit terrifying.
[03:48] <Bashing-om> vegii: Might be a good thing to run a file system/repair - from a liveUSB - at this time.
[03:56] <vegii> I'm wondering if it was HDD's fault in the first place, although that does not seem very probable. What utility should I use to fix any fs errors and what's the chance of getting it up quickly this way? It's a zoneminder box and I'm leaving in a few hours for over a week.
[04:01] <vegii> since it's a single hdd, is it unlikely to go quickly and smoothly? Might as well reinstall everything, but I haven't slept yet...
[04:01] <Bashing-om> vegii: Only takes a few minutes to run the check. Preliminary: ' sudo fdisk -lu ' to know the targe partiton then 'sudo fsck /dev/<sda1>' .
[04:01] <Bashing-om> target*
[04:10] <vegii> thanks, will try after reseating ram, since it's behaving weirdly
[04:27] <vegii> ugh, the laptop itself is failing. Same artifacts with the hdd removed
[04:28] <vegii> assuming it's thanks to the nvidia chip from that era
[04:30] <jezeniel> Hi, I am using ubuntu 18.04, but whenever i use my bluetooth headphones i need to manually set profile to HSP/HFP when using hangouts. Is there a way to automatically switch from a2dp to HSP/HFP automatically and vice versa?
[04:50] <vegii> Bashing-om: Thank you. In the end, I just plugged the hdd into a second R61 I have and it's all working perfectly now. Won't be needing that laptop until I get back anyway :)
[04:54] <Bashing-om> vegii: At least you know where next to start looking :(
[04:54] <vegii> wym?
[05:03] <vegii> the enclosure on that laptop is cracked, so the mobo likely experienced more flexion than needed to upset a device dating back to the introduction of RoHS and lead-free solder, so it's free to rest in peace, I'll find another machine later.
[05:17] <edenist> jrgilman: any luck?
[06:49] <orbur74_> qqq
[07:16] <kreyren> do you have ubuntu iso for non-free sources? iso complains about lwlwifi
[07:16]  * kreyren is helping end-user
[07:16] <kreyren> and end-user doesnt have ethernet connection
[07:19] <Spookan> kreyren: What about wifi then?
[07:19] <EriC^^> kreyren: he could download the debs and manually install them using dpkg
[07:20] <kreyren> he's using wifi, but it seems that it needs these
[07:20] <kreyren> EriC^^, Too advanced for said user afaik assuming that he's switching from endlessos and is bad with IT in general.
[07:20] <kreyren> debian has unofficial iso with these i was hoping you would have something alike
[07:22] <EriC^^> kreyren: the debs might be on the live iso in \pool i think
[07:22] <EriC^^> kreyren: did he have wifi on the live usb?
[07:23] <kreyren> doubt
[07:28] <gimmel> Hi all, I have the hdd pulled from another Ubuntu laptop. It's encrypted with LUKS. I'm struggling to mount it (yes I know the password). I've followed the instructions here: https://evilshit.wordpress.com/2012/10/29/how-to-mount-luks-encrypted-partitions-manually/ but when I get to the cryptsetup command I receive "Device /dev/sdb5/ doesn't exist or access denied.
[07:29] <EriC^^> gimmel: type "sudo parted -ls | nc termbin.com 9999" and paste
[07:29] <gimmel> When I connect the drive it auto mounts the /boot partition. However it's the main partition I want.
[07:30] <gimmel> EriC^^: ok, one sec
[07:31] <gimmel> EriC^^: https://termbin.com/5x4z - note, it's the 500Gb WDC drive I'm trying to access. /dev/sdb5
[07:33] <EriC^^> gimmel: type "sudo cryptsetup luksOpen /dev/sdb5 sdb5_crypt"
[07:35] <gimmel> EriC^^: After entering the passphrase, I then get "Cannot use device /dev/sdb5 which is in use (already mapped or mounted).
[07:36] <EriC^^> gimmel: aha, any backstory?
[07:37] <gimmel> EriC^^: Well, I haven't mounted anything myself, so I'm not really sure why it would be saying so. Unless it automounted something.
[07:38] <EriC^^> what's the /dev/mapper/ubuntu--vg-root one 238gb one? is it from sda5?
[07:39] <gimmel> EriC^^: yeah, that's the live hard drive.
[07:43] <Aavar> On a raspberry pi it is posible to set up a serial console to control the pi via serial. Is this posible to do this with a regular computer/server?
[07:50] <zamba> i have a system running ubuntu desktop 18.04.2 with just terrible performance
[07:51] <zamba> 12GB RAM, i5-4590T CPU and a SSD HD
[07:51] <zamba> everything is sluggish
[07:51] <zamba> even running gnome-session-fallback
[07:53] <Guest_33> Hey, quick question. When I use Alt+Tilde to switch within an application, is there a way to make it cycle through all windows? The problem is that I have about 10 terminal windows open and I cant visually distinguish betwen them from the thumbnails so i end up tabbing to the same window multiple times As in Alt+Tilde always going to the "next" win
[07:53] <Guest_33> dow? Currently It swaps between only two windows (latest & next latest)
[07:53] <gimmel> EriC^^: any thoughts?
[07:54] <Guest_33> Sorry that got messed up
[07:54] <Guest_33> Hey, quick question. When I use Alt+Tilde to switch within an application, is there a way to make it cycle through all windows? As in Alt+Tilde always going to the "next" window? Currently It swaps between only two windows (latest & next latest)
[07:54] <Guest_33> The problem is that I have about 10 terminal windows open and I cant visually distinguish betwen them from the thumbnails so i end up tabbing to the same window multiple times
[07:54] <Guest_33> There we go =)
[08:27] <EriC^^> gimmel: i'd restart the pc, dont mount anything, then try running the command above
[08:29] <EriC^^> gimmel: it kind of looks like it's already opened (the luks) but it says partition table unknown, that tells me either something is corrupt, or maybe it literally had no partition table and it's just the filesystem on it, in that case sudo mount /dev/mapper/ubuntu--vg-root /mnt (or how it was spelt) should work
[08:37] <gimmel> EriC^^: Well, as soon as I connect the drive (it's connected with a USB adapter), I get prompted for the encryption password. If I enter the password, it then mounts the /boot partition.
[08:42] <EriC^^> gimmel: dont enter it
[08:43] <EriC^^> gimmel: even if it automounts /boot that's fine
[08:43] <EriC^^> gimmel: what does 'sudo mount /dev/mapper/luks-f5f1200e-3781-48be-b10f-27e83de7d7b1 /mnt' give?
[08:45] <gimmel> EriC^^: Sorry, I'd already disconnected the drive. I'm connecting again now. I won't enter the password. What do you want me to run after it's connected?
[08:47] <EriC^^> gimmel: type "sudo cryptsetup luksOpen /dev/sdb5 sdb5_crypt"
[08:49] <gimmel> EriC^^: looks like it has come back as /dev/sdc5 - so I'll change both sdb5's to sdc5 ?
[08:57] <EriC^^> gimmel: yeah
[08:58] <edd_lc> hopefully, this is the right place to ask. xy problem disclaimer: ive installed ubuntu core on my raspberry pi 3b+ to try and debug a hangup during python's scipy build process under a docker image build (https://github.com/raspberrypi/linux/issues/1885). after i `snap install docker`, i failed to add myself to the docker group using `usermod` but, because group management isn't documented under snap commands, i thought the methodology changed -
[08:58] <edd_lc> am i supposed to work differently concerning groups in ubuntu core? do i manage permissions differently there?
[09:01] <gimmel> EriC^^: ok, that just dropped to a new line. So... what next?
[09:02] <Guest_33> edd_lc, I don't know much about docker or snap but what do you mean that you failed to add yourself to the docker group? A common mistake is to forget to logout/login after adding groups
[09:04] <EriC^^> gimmel: didn't it ask for a password?
[09:07] <gimmel> EriC^^: sorry, yes, and then dropped to a new line.
[09:08] <edd_lc> Guest_33: No, according to this https://askubuntu.com/questions/872621/how-do-you-modify-group-membership-in-ubuntu-core the group magement is done differently under ubuntu core. You can see the `usermod` attempt on his thread with the output. I'm getting the exact same thing
[09:10] <EriC^^> gimmel: alright, type 'sudo parted -ls | nc termbin.com 9999'
[09:10] <edd_lc> Guest_33: You can read a little more about it here https://bugs.launchpad.net/snappy/+bug/1495059 but I haven't found a nice doc about ubuntu core and the difference between it and the usual [distro] suspects
[09:10] <stoiss> cant you just edit visudoer manually ?
[09:11] <edd_lc> stoiss: if you mean me, my issue is adding myself to the docker group. the "askubuntu" link right above it has my exact symptoms
[09:12] <stoiss> oh ok
[09:14] <gimmel> EriC^^: https://termbin.com/q3pm
[09:15] <EriC^^> gimmel: what does 'sudo mount /dev/mapper/ubuntu--vg-root /mnt' give?
[09:16] <gimmel> EriC^^: nothing
[09:16] <EriC^^> gimmel: then "ls -l /mnt" are those the files you want?
[09:18] <gimmel> EriC^^: Nope, they're the live hard drives files
[09:20] <EriC^^> gimmel: alright, what does "sudo vgscan | nc termbin.com 9999" give?
[09:26] <gimmel> EriC^^: https://termbin.com/regb
[09:28] <Industrial> Hi. Is there a way to get a LIST of WIFI connections in the area in a GUI application OUTSIDE of Gnome/Unity/KDE (in a window manager)? I know nm-connection-editor but it doesn't show a list of Access Points.
[09:29] <Industrial> It's very frustrating to manage wifi points from cmdline. nm-c-connection-editor works fine for existing/saved connections but not for quickly selecting a new one like the topright dropdown in most Desktop Environments.
[09:33] <phlegethon> .
[09:34] <EriC^^> gimmel: seems like it's the old-hdd
[09:34] <tomreyn> Industrial: how have you been managing your wifi connection from a terminal so far?
[09:35] <gimmel> EriC^^: right, so how do I mount that?
[09:35] <tomreyn> Industrial: and if you're ok with the network manager applet (top corner menu), why not use this?
[09:36] <EriC^^> gimmel: try "sudo vgchange -a n old-hdd"
[09:37] <gimmel> EriC^^: 0 logical volume(s) in volume group "old-hdd" now active
[09:37] <EriC^^> gimmel: hmm no idea
[09:40] <gimmel> EriC^^: hmm, thanks for the help so far. I find it odd that it's so hard to mount a Ubuntu drive in Ubuntu :/
[09:40] <EriC^^> gimmel: it usually isn't
[09:41] <gimmel> EriC^^: Should I unplug, reboot and try again?
[09:43] <EriC^^> gimmel: try "sudo vgdisplay old-hdd"
[09:46] <gimmel> EriC^^: https://pastebin.com/MyXzzGsY
[09:50] <gimmel> EriC^^: so, it's the right group name
[09:50] <EriC^^> gimmel: what about "sudo vgchange -ay old-hdd"
[09:50] <EriC^^> gimmel: yeah
[09:50] <EriC^^> that command is supposed to activate all the volumes
[09:51] <gimmel> EriC^^: 2 logical volume(s) in volume group "old-hdd" now active
[09:51] <EriC^^> gimmel: nice
[09:51] <gimmel> (it also made the drive buzz on my lap :P )
[09:51] <EriC^^> gimmel: try "sudo lvdisplay | nc termbin.com 9999"
[09:52] <gimmel> EriC^^: https://termbin.com/iq1x
[09:53] <EriC^^> gimmel: try "sudo umount /mnt && sudo mount /dev/old-hdd/root /mnt"
[09:53] <MacroMan> I've followed different guides for switching to vanilla gnome, but I don't get the Gnome on Xorg option on the login screen. Specifically this guide: https://www.freeyourdesktop.com/2018/09/installing-vanilla-gnome-in-ubuntu-18-04-and-start-with-a-clean-slate/
[09:53] <gimmel> EriC^^: nailed it. Thanks so much!!!
[09:53] <EriC^^> gimmel: great! no problem
[09:54] <gimmel> EriC^^: Care to explain what that was all about?
[09:54] <EriC^^> gimmel: no idea tbh, it usually activates the lvm stuff after decrypting, for some reason it wasn't
[09:55] <gimmel> EriC^^: originally the group name was the same as the live drive. Could that have borked it?
[09:55] <gimmel> EriC^^: in my troubleshooting, I found the idea of renaming the group to old-hdd to differentiate
[09:55] <EriC^^> gimmel: maybe, i doubt though, seems it's taken to old-hdd now
[09:56] <gimmel> EriC^^: *hands in the air* who knows. Thanks again though.
[09:57] <EriC^^> gimmel: you're welcome
[11:02] <BluesKaj> Howdy folks
[11:46] <cyberalex4life> Hei, guys, I'm using Ubuntu 19.04, and, on login, I usually get microphone on and output-devices muted. I usually set microphone mute and output-devices at some value. Has anyoan had this issue, or, if it's an option or ... something, does anyone know how to disable it?
[11:47] <EoflaOE> cyberalex4life: Do you mean that each time you login your microphone gets on and output devices get muted?
[11:51] <cyberalex4life> EoflaOE, yeah.... I read about some malware gnome-shell-extension that does that, but didn't find anything
[11:51] <BluesKaj> cyberalex4life, so do you want devices muted at login or ...?
[11:53] <cyberalex4life> BluesKaj, no, I want output-devices, headphones, whatever to keep their volume from when I logged out, and microphone also to do so.
[11:53] <cyberalex4life> whatever I do, on login I get microphone on and sound muted
[11:54] <cyberalex4life> it doesn't preserve state
[11:56] <BluesKaj> cyberalex4life, open alsamixer in the console, check the automute control on the far right and use the down arrow key to disable it
[11:57] <BluesKaj> use the < > keys to navigate
[12:02] <cyberalex4life> BluesKaj, thanks BluesKaj
[12:03] <EoflaOE> cyberalex4life: Now reboot and see if it works
[12:04] <BluesKaj> cyberalex4life, to solidify your choices, run, sudo alsactl store, at the prompt
[12:05] <cyberalex4life> BluesKaj, Oh I think I'll reboot later, I have some work to do, but yeah it was enabled
[12:06] <BluesKaj> cyberalex4life, yes, it's disabled by default so you don't blast your speakers
[12:13] <pomeha> hello, could someone tell me, why does installing ubuntu server with 'docker' checkbox checked in it's installer results into a VM with a working docker, but no docker group and no package in apt grepped by 'docker'
[12:13] <jtjh95> Hello I'm using a minimal install of Ubuntu so the command line only, how would I go about changing the resolution as Ubuntu is running on my monitors native resolution which causes graphical errors, I know when the resolution is lowered these problems disappear
[12:14] <leftyfb> pomeha: check snap
[12:14] <EoflaOE> jtjh95: You mean CLI only? Or Ubuntu Server?
[12:14] <jtjh95> EoflaOE Command line only
[12:14] <EriC^^> jtjh95: are you using xorg?
[12:14] <leftyfb> EoflaOE: Ubuntu server is CLI-only by default
[12:15] <EoflaOE> leftyfb: I know, because I have seen it.
[12:15] <jtjh95> How do I check? For xorg
[12:15] <leftyfb> jtjh95: if you're command-line only, xorg isn't relevant
[12:15] <EriC^^> jtjh95: do you mean the resolution of the tty? or the graphical desktop?
[12:16] <EriC^^> ah nevermind
[12:16] <pomeha> leftyfb: oh my..
[12:16] <jtjh95> resolution of tty I have no graphical desktop
[12:16] <pomeha> leftyfb: thanks
[12:16] <EriC^^> jtjh95: i think you can set that up from grub
[12:16] <pomeha> what's `core` snap?
[12:16] <EriC^^> jtjh95: sudo nano /etc/default/grub
[12:17] <leftyfb> jrgilman: sudo dpkg-reconfigure console-setup
[12:17] <EoflaOE> jtjh96: Is https://linuxconfig.org/how-to-increase-tty-console-resolution-on-ubuntu-18-04-server what you need?
[12:18] <jtjh95> Ok their is a hashed out #grub_GFXMODE I'll try that
[12:18] <EriC^^> jtjh95: uncomment and change #GRUB_GFXMODE=640x480 and also add "GRUB_GFXPAYLOAD_LINUX=keep" not sure if that's required though
[12:18] <EriC^^> then sudo update-grub
[12:18] <leftyfb> jtjh95:  sudo dpkg-reconfigure console-setup
[12:18] <jtjh95> Ok will do thanks
[12:18] <leftyfb> there's no need to go messing with kernel/grub parameters
[12:19] <EriC^^> jtjh95: seems leftyfb has an easier solution
[12:20] <leftyfb> pomeha: https://snapcraft.io/docs/getting-started
[12:24] <nikolam> Hi, I finally got to migrate to 19.04 and my ICH7 sound started "clicking" every time new audio stream is about to play.
[12:24] <nikolam> No Ubuntu before 19.04 had that and other OSes (Openindiana and Windows 10) work just fine with this audio
[12:26] <nikolam> It is ASUS P5W DH Deluxe motherboard with ICH7 south bridge, NM10/ICH7 Family High Definition Audio Controller [8086:27D8]
[12:26] <nikolam> as the audio device
[12:26] <nikolam> I reported this few weeks after 19.04 came out. Still here .
[12:27] <pomeha> nikolam: okay.
[12:27] <nikolam> it also clicks loudly when audio stream stops playing
[12:30] <nikolam> And now clicks by itself from time to time, like initializing audio
[12:36] <nikolam> It is annoying to the point I couldn'ts sleep with speakers on , like before 19.04
[12:39] <ioria> nikolam, i suggest you to test a previous kernel ,or better, a  19.04 livecd
[12:41] <nikolam> I am just coming from previous kernel (18.10 xubuntu) and there it worked fine as on any other OS. I also just upgraded to 19.04 right now . But I suppose you want to make sure if the bug was acquired after 19.04 release?
[12:41] <nikolam> So testing 19.04 live cd will make sense, since it is older then current 19.04.
[12:43] <nikolam> ok ioria
[12:43] <stoiss> is there a reliable way to turn off the monitor of say a laptop with ubuntu ( xfce) instantly and then turn back in when you press a key ? it seems most things ive found are for way back versions of ubuntu
[12:45] <EriC^^> stoiss: xset s activate   if you're using xorg
[12:46] <stoiss> EriC^^, will that turn off the monitor if i bind that to a keypress ?
[12:47] <EriC^^> stoiss: yeah
[12:47] <stoiss> EriC^^, and it will turn back on when i hit another key ?
[12:47] <EriC^^> yeah
[12:51] <stoiss> nice. thanks
[12:51] <EriC^^> no problem
[12:52] <ejr> what could be the reason that I still need to enter my sudo password in ubuntu even after adding NOPASSWD: ALL to visudo?
[12:53] <stoiss> EriC^^, well it flash my screen but doesnt turn it off or anything. it seems like it does for a fraction of a second.
[12:54] <EriC^^> stoiss: odd, it makes it black for me til i press something
[12:54] <stoiss> just xset s activate
[12:54] <EoflaOE> ejr: Pastebin the output of sudoers file.
[12:54] <stoiss> my screen flash for what seems like 1/10th or so
[12:54] <EriC^^> stoiss: try in a terminal "xset s activate"
[12:54] <stoiss> EriC^^, thats what im doing. in a terminal
[12:54] <EriC^^> maybe it's picking up the key release from your keybind
[12:55] <EriC^^> oh
[12:55] <stoiss> i didnt use any keybind. just paste it in a terminal and run it
[12:55] <stoiss> hm it does work with ALT F2 and paste in that command
[12:56] <ejr> EoflaOE: https://termbin.com/enup
[12:57] <stoiss> i tried binding it and it does seem like the release is what causes it to break it
[12:58] <EriC^^> stoiss: you could possibly put it in a script that runs "sleep 1 && xset s activate"
[12:58] <EriC^^> that would give you enough time to release the keys before it runs
[12:58] <stoiss> yes. wouldnt that work with a keybind as well ?
[12:59] <EriC^^> yeah that's the point
[12:59] <EoflaOE> ejr: If the group lines are after user lines, it overrides the settings, so that's why it's still asking for a password. You can move all the group lines above the first user line, so the settings don't get overridden. After doing it, is sudo still asking for password?
[13:03] <ejr> will check, thanks!
[13:04] <EoflaOE> ejr: You are welcome. Tell me if sudo asks for password again.
[13:05] <stoiss> EriC^^,  i made a bash script then used keybinding to activate it. It does work but it seems to deactivate with mouse movement. Is there a way to deactivate mouse or only respond to keypress ?
[13:07] <EriC^^> stoiss: i dont think so
[13:09] <stoiss> hm well thanks. ill look into how at least pause the mouse or something
[13:10] <EriC^^> stoiss: it doesnt work with xinput to disable the mouse, i just tried fwiw
[13:10] <stoiss> allright. thanks
[13:11] <EriC^^> stoiss: seems to work with xset dpms though
[13:11] <EriC^^> 1 sec
[13:11] <EriC^^> stoiss: yeah
[13:11] <EriC^^> stoiss: disabling the mouse using xinput --set-prop <id> "Device Enabled" 0
[13:11] <EriC^^> then xset dpms force off
[13:12] <stoiss> allright thanks. ill take a look
[13:12] <EriC^^> works, but then you'd need i guess to make 2 keybinds, 1 that does those and the other that you press to wake it up and reenable the mouse
[13:22] <stoiss> yeah. ill figure out how to work it.
[13:22] <stoiss> thanks for the help
[13:23] <EriC^^> stoiss: alright, no problem
[13:34] <giaco> hello! I'm trying to solve a networking problem: I've just installed an openvpn server with docker and it works. The client can connect to LAN hosts but every port on the openvpn server seems filtered but If I disable ufw it works. I just need to add the correct rule, but I need help in finding out which one
[13:34] <compdoc> track down the ports needed and open them?
[13:35] <giaco> compdoc: problem is that I can't find the correct it of the openvpn client
[13:36] <compdoc> giaco, so you installed a firewall on the docker host?
[13:37] <giaco> The vpn clients are getting an ip in subnet 192.168.255.0 inside the docker container, but "ufw allow flow 192.168.255.0/24" don't work
[13:37] <compdoc> I use KVM and virt-manager, so dont know much about docker
[13:37] <giaco> compdoc: yes. Docker container works in network_mode: host, but the tun0 device is inside the docker container and not on host
[13:38] <compdoc> what is the ip address ranger of the lan the guests connect to?
[13:38] <compdoc> range
[13:39] <giaco> 192.168.255.0/24, so the client get something like 192.168.255.1. It would be ok to me to allow the whole subnet, but it seems not the point
[13:39] <compdoc> there is normally no firewall installed on ubuntu, so the problems are releated to docker?
[13:39] <giaco> compdoc: ufw is installed by default, isn't it? Is it considered a firewall?
[13:39] <compdoc> no, but you caninstalled ufw and create rules
[13:40] <compdoc> *can install
[13:42] <giaco> compdoc: ok, so I did install ufw in the past to limit ssh connection only from some source ips, and it works. But that seems not the point: docker container iptables rules comes before the ufw ones, so every port used by docker and exposed through docker commands is by default open for every source
[13:42] <pragmaticenigma> compdoc: I think ufw is installed by default, just not enabled by default
[13:43] <giaco> that's why I don't need to allow openvpn port to make the openvpn container work (see here for details https://www.techrepublic.com/article/how-to-fix-the-docker-and-ufw-security-flaw/)
[13:45] <giaco> problem here is that once the vpn clients connects to the docker container running in host mode, it won't connect to local (docker host) services due to uwf. I could just do "ufw allow XXX" and it would work, but I want to allow the service for vpn clients and not the whole internet
[13:45] <compdoc> pragmaticenigma, I think iptables is installed by default but has no rules, and you can install the ufw gui to set  rules.
[13:45] <compdoc> but either way, youre right, its not used by default
[13:46] <giaco> so question is: what is the correct rule to "allow all ports for connected vpn clients only"?
[13:47] <giaco> as I said "ufw allow from 192.168.255.0/24" doesn't work. Apparently that is the ip the client gets inside the docker container
[13:50] <compdoc> giaco, 192.168.255.0/24 is the local range, but many firewalls I use require allowig the range the client is using, so that would be a problem if random clients connect and you dont know their ranges beforehand
[13:50] <giaco> wait, I think I've just solved
[13:50] <giaco> compdoc: no, ufw let's you use subnets
[13:50] <compdoc> thats not what I mean
[13:51] <giaco> The solution of my problem is not allowing the vpn clients ip, but the vpn server container ip
[13:52] <compdoc> makes sense
[13:52] <giaco> so basically ufw allow form 172.22.0.something
[15:23] <INSANU> if I generate a .crt and .pem from a pfx certificate where should I put the pem ? I know that the cert must be placed in /usr/local/share/ca-certificates/
[15:35] <squirt> Leaving #ubuntu by alien64's Request
[15:38] <tomreyn> INSANU: what is the pfx file said to be used for?
[15:44] <lifeboy> Ubuntu 18.04 in an LXC: Apache24 just doens't run.  I get an error: /usr/sbin/apache2ctl: 99: ulimit: error setting limit (Operation not permitted)
[15:44] <lifeboy> However, setting the limits in /etc/security/limits.conf of the host and the guest doesn't make a difference
[15:45] <lifeboy> Why would this be so?  Apache24 is pretty ubiquous...
[15:52] <tomreyn> lifeboy: looks like your lxc guest has stricter limits set than apache httpd requests: lxc config show <ID> | grep ^limits
[16:01] <fling> How do I export the shiftfs patch?
[16:03] <hans_> i guess this is just curlftpfs bugging out? http://paste.debian.net/plain/1093733
[16:03] <lifeboy> tomreyn: my lxc run in proxmox, so I don't have the lxc command.  There is a "pct config <ID>", but it doens't show any limits.  I'll ask over at proxmox
[16:04] <hans_> it's mounted as curlftpfs#ftp://dedibackup-dc3.online.net/ /m2 fuse rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other 0 0
[16:05] <fling> lifeboy: lxc command is in lxd, not in lxc
[16:13] <lifeboy> fling: proxmox doesn't run lxd yet, it still lxc
[16:13] <fling> lifeboy: this explains why you don't have an lxc command
[16:14] <jrgilman> hey, when I run fsck, should I get more output other than just "fsck from util-linux 2.31.1"?
[16:15] <lifeboy> I'm taking it up with the Proxmox team if I still can't get it to work
[16:15] <lifeboy> ^^^^^^  for fling:
[16:15] <fling> There is #lxcontainers
[16:15] <lifeboy> fling: Yes, all the lxc- commands are there.
[16:16] <fling> lifeboy: /join #lxcontainers
[16:16] <lifeboy> O, I see what you mean, there's a channel #lxccontainers
[16:16] <fling> lifeboy: I don't know what your question is :P
[16:17] <lifeboy> Ubuntu 18.04 in an LXC: Apache24 just doens't run.  I get an error: /usr/sbin/apache2ctl: 99: ulimit: error setting limit (Operation not permitted)
[16:17] <lifeboy> However, setting the limits in /etc/security/limits.conf of the host and the guest doesn't make a difference
[16:17] <lifeboy> Why would this be so?  Apache24 is pretty ubiquous...
[16:17] <jrgilman> edenist: also no luck so far
[16:18] <lifeboy> That was my original question 30 minutes ago
[16:20] <fling> lifeboy: you need to set your limits in the container
[16:20] <tomreyn> jrgilman: which command were you running?
[16:20] <fling> lifeboy: you may need to specify something in the container config file for the limit change to become available inside of the container
[16:21] <fling> ^ depending on the container configuration.
[16:22] <fling> You might need to also need to set the limits to the user owning the subuids for the container uid range.
[16:22] <fling> lifeboy: good luck!
[16:22] <fling> I'm not using lxc for a while, lxd works
[16:23] <jrgilman> tomreyn: sudo fsck /dev/mapper/encrypted_drive
[16:24] <jrgilman> not sure if you want the full backstory on this
[16:25] <lifeboy> thanks fling: I think the proxmox team will have to jump in, since they have their ecosystem that sets this up.
[16:26] <tomreyn> jrgilman: which file system is on there?
[16:26] <jrgilman> LVM2_member
[16:26] <fling> lifeboy: why using proxmox instead of lxd?
[16:27] <tomreyn> jrgilman: so that's a LVM2 logical volume, you can't run fsck on those
[16:27] <jrgilman> okay
[16:27] <jrgilman> well that answers that
[16:28] <tomreyn> jrgilman: feel free to discuss what you're trying to do and how it fails if there's a greater story that's still unsolved.
[16:28] <jrgilman> yeah sorry, let me gather the links from last night
[16:29] <jrgilman> basically, TL; DR: took my computer apart completely, put it back together, forgot the order of the SATA ports, got this error: https://imgur.com/a/tLKjcEi
[16:29] <jrgilman> (also the grub config is in there)
[16:31] <jrgilman> the UUID in the grub boot config
[16:31] <jrgilman> matches /dev/sda2
[16:31] <jrgilman> the one it's searching for
[16:31] <jrgilman> but edenist thought it might have something to do with the "hd1" and "ahci1" references rather than "hd0" and "ahci0"
[16:31] <jrgilman> so we tried that
[16:31] <jrgilman> that didn't work
[16:31] <jrgilman> I tried all 24 configurations of the drives, that didn't work
[16:32] <jrgilman> unplugged and replugged
[16:32] <jrgilman> I'm trying to think of what else i've tried sorry
[16:33] <tomreyn> jrgilman: would you be able to tel whether the disks are connected in the order they were connected before you disassembled by looking at their partition layout?
[16:34] <jrgilman> can you elaborate?
[16:34] <jrgilman> the logical volume doesn't span multiple drives
[16:35] <jrgilman> this LVM thing is only because i chose the "encrypt drive" option at startup
[16:35] <jrgilman> sorry s/startup/first install/
[16:37] <tomreyn> jrgilman: the issue you're dealing with seems to be that your disks are not connecte din the order they used to be connected. you could boot from a live / installer usb and run fdisk -l against all disks. this could help you determine the order in which you had them previously connected to the sata controller. you could then swap around the cables so that they're connected as they used to be,
[16:37] <jrgilman> okay, I'm already in a live cd
[16:37] <jrgilman> when I run fdisk -l i get a bunch of /dev/loopX
[16:38] <jrgilman> and then /dev/sda (the main drive)
[16:38] <jrgilman> then /dev/sdb (the live cd usb stick)
[16:38] <jrgilman> are you saying to compare the /etc/fstab to that?
[16:38] <tomreyn> jrgilman: alternatively you could also mount the root file system and any other file systems you need and chroot into that, then run update-initramfs / update-grub / grub-install
[16:38] <jrgilman> okay
[16:38] <jrgilman> so mounting is just basically:
[16:38] <tomreyn> jrgilman: i assumed you had multiple hard disk drives connected.
[16:39] <jrgilman> tomreyn: we disconnected everything except the main drive at this point
[16:39] <jrgilman> because having multiple drives was confusing things last night
[16:39] <tomreyn> i see.
[16:39] <tomreyn> from what i gather you've also been making changes already so the approach i was thinking of may no longer work.
[16:40] <jrgilman> would doing the chroot damage the system if i do it without the other two drives hooked in?
[16:40] <jrgilman> oh
[16:40] <tomreyn> so chroot mounting and recovering from that is probably the better approach
[16:40] <jrgilman> oky
[16:40] <jrgilman> okay*
[16:41] <tomreyn> i'm assuming your entire ubuntu installation is on this disk that is now conected to sda, the other storages you had previously connected only provided additional storage for data?
[16:41] <jrgilman> yes
[16:41] <jrgilman> well
[16:41] <jrgilman> there is a symlink between the two drives
[16:42] <jrgilman> just for steam games
[16:42] <lifeboy> fling: Why? I've a host of servers running ceph as and HA services for VMs and LXC's. Why should I not use proxmox instead of doing that all by hand?
[16:42] <jrgilman> but other than that there is no relationship
[16:42] <tomreyn> jrgilman: ok, this doesn't matter
[16:42] <jrgilman> okay just wanted to make sure
[16:42] <jrgilman> sorry
[16:43] <tomreyn> jrgilman: no worries. it's good to bring it up. do you know how to proceed with the chroot mount?
[16:43] <jrgilman> no idea with chroot, never done that before
[16:43] <jrgilman> but first i need to cryptsetup
[16:43] <lifeboy> gotta run.  thanks
[16:43] <jrgilman> so one second
[16:43] <jrgilman> okay I've cryptsetup /dev/sda3 to /dev/mapper/_dev_sda3
[16:44] <jrgilman> when I do
[16:44] <jrgilman> sudo vgdisplay --short
[16:44] <jrgilman> it says it's empty...
[16:45] <tomreyn> jrgilman: i suggest unlocking it as "sda3_crypt" - that's how the installer does it and probably how this device was called on your unmounted system.
[16:45] <jrgilman> uh it was /dev/sdb3
[16:45] <jrgilman> in my original system
[16:45] <tomreyn> yes, while locked
[16:45] <jrgilman> ah ok
[16:46] <tomreyn> but when unlocked it would have been /dev/mapper/sda3_crypt
[16:46] <jrgilman> okay
[16:46] <jrgilman> sudo cryptsetup luksOpen /dev/sda3 sda3_crypt
[16:46] <jrgilman> done
[16:46] <tomreyn> and you closed it beforehand?
[16:46] <jrgilman> yes
[16:47] <jrgilman> i did luksClose
[16:47] <tomreyn> ok
[16:47] <jrgilman> then luksOpen
[16:47] <jrgilman> ls /dev/mapper only shows "control" and "sda3_crypt"
[16:47] <tomreyn> now pvscan
[16:47] <jrgilman> uh want me to take a picture of this output?
[16:47] <jrgilman> or just summarize it
[16:48] <tomreyn> you can run it again and post it online:   sudu pvscan 2>&1 | nc termbin.com 9999
[16:48] <jrgilman> yeah sorry just working of two different computers for this
[16:48] <jrgilman> https://termbin.com/h9aim
[16:49] <jrgilman> maybe I'm wrong about the other drives not being part of this, maybe I've forgotten
[16:50] <tomreyn> either start an irc client on the computer you're trying to fix (can be webchat.freenode.net) or start an ssh server therre and connect to it from your irc computer.
[16:50] <jrgilman> I was pretty sure they weren't
[16:50] <jrgilman> ah good idea
[16:52] <tomreyn> when ready, install " pastebinit ", then run: sudo /bin/true; pastebinit < <( sudo pvs; sudo vgs; sudo lvs; )
[16:53] <jrgilman> http://paste.ubuntu.com/p/bVzhh4sF6J/
[16:55] <jrgilman> I assume the fact that it's showing 100% free space is not great
[16:55] <tomreyn> jrgilman: hmm it doesn't see any logical volumes.
[16:55] <jrgilman> question
[16:55] <jrgilman> I uh
[16:56] <jrgilman> I was trying to get data off the drive the other day, and mounted it in an ubuntu vm on my mac
[16:56] <jrgilman> could I have messed up the unmounting processes
[16:56] <jrgilman> and deleted that data
[16:56] <jrgilman> I know that's really open ended
[16:56] <jrgilman> also
[16:57] <tomreyn> !enter
[16:57] <jrgilman> I can plug in all my hard drives and boot up again, that way we have all the parts
[16:57] <jrgilman> sorry, I will use one line from now on.
[16:58] <tomreyn> just mounting the logical volumes on the other computer should have caused the LVs to vanish. also not unmkounting them uncleanly should have caused it.
[16:58] <tomreyn> * should *not* have caused it
[16:59] <tomreyn> maybe the fsck to the wrong device could have, though
[17:00] <jrgilman> i did fsck to all three sda partitions, but doing to sda3 kept failing due to a "bad superblock"
[17:00] <tomreyn> and then you forced it, i assume?
[17:01] <tomreyn> it's not a file system fsck can handle
[17:01] <jrgilman> i don't remember at this point
[17:01] <jrgilman> i might have
[17:01] <jrgilman> fsck did work fine on /dev/sda1 and /dev/sda2 though
[17:01] <luna> why are you writing in green ?
[17:01] <tomreyn> by trying to make fsck "fix" it, it would have changed the data, effectively overwriting the LV information, i guess.
[17:02] <jrgilman> so I presume I basically mega fucked that drive
[17:02] <jrgilman> for lack of a better word
[17:03] <tomreyn> you ould try this if you have the backup acvailablehttps://www.thegeekdiary.com/how-to-recover-deleted-logical-volume-lv-in-lvm-using-vgcfgrestore/
[17:04] <tomreyn> but i guess those will be on your root LV, which is inaccessible
[17:04] <tomreyn> but if you restore it from a backup this may be the easiest approach
[17:05] <jrgilman> luna: are you talking to me?
[17:07] <jrgilman> welp I played myself essentially
[17:08] <tomreyn> jrgilman: reinstall ubuntu, restore your backups, it's not so bad really.
[17:08] <jrgilman> _lol_
[17:08]  * jrgilman this dumbass didn't setup backups on this machine because he kept saying later
[17:09] <tomreyn> oh, that's unfortunate.
[17:09] <jrgilman> it's a valuable lesson
[17:09] <tomreyn> maybe you can recover some data using testdisk
[17:09] <luna> jrgilman: yeah you and tomreyn wrote green text, might have been an irssi bug however
[17:10] <ejr> hi. i would like to disable the password prompt when using sudo commands. this is my sudoers file. i still need to enter the password every time i use sudo. https://termbin.com/p14e
[17:12] <jrgilman> tomreyn: i'll give this a shot
[17:12] <jrgilman> i appreciate the help really
[17:13] <Habbie> ejr, what groups are you in?
[17:13] <Habbie> ejr, no, sorry, wrong question
[17:14] <Habbie> ejr, you've enabled NOPASSWD for *usernames* 'sudo' and 'no'
[17:14] <chillysurfer> i built a custom package (cloud-init, with a couple of modifications) and pushed it to my new ppa on launchpad. dput said it was successful, but i'm seeing nothing in launchpad for my ppa view. that was maybe 2 hours ago. how long does this usually take?
[17:15] <lotuspsychje> chillysurfer: hows this related to ubuntu please?
[17:16] <chillysurfer> lotuspsychje: is it not ok to ask general launchpad and ppa questions here?
[17:16] <chillysurfer> if not, then apologies
[17:16] <lotuspsychje> chillysurfer: well we try to focus on ubuntu support issues here, perhaps we can point you to a relevant channel? see !alis
[17:17] <chillysurfer> lotuspsychje: makes total sense, thanks!
[17:17] <dax> try /join #launchpad
[17:17] <tomreyn> jrgilman: try vgscan and lvscan before you try !testdisk
[17:17] <tomreyn> !testdisk
[17:18] <tomreyn> !recover | jrgilman
[17:19] <ejr> Habbie: yes, I have - why is that wrong?
[17:20] <jrgilman> tomreyn: will do, gotta go to a family function now, but will attempt this tonight
[17:21] <tomreyn> good luck.
[17:21] <Habbie> ejr, is your username 'sudo' or 'no'?
[17:29] <asarch> How do you create a desktop application launcher in Ubuntu 19.04? The old .desktop files seems not working anymore
[17:30] <ejr> Habbie: "no" is my username
[17:30] <Habbie> oh
[17:30] <Habbie> then it's somewhat surprising
[17:30] <Habbie> unless the %sudo group entry a few lines later overrides that
[17:32] <ejr> isn't it commented out anyway with the %?
[17:32] <lope> Do I need to install some special package to make intel HD4600 graphics work properly? My graphics card died today, now I'm using onboard graphics and it's running like absolute sh1t. Just opening a or resizing a window, scrolling is a multi-second laggy operation
[17:32] <Habbie> no, % means group
[17:32] <Habbie> see man sudoers
[17:34] <ejr> ah, that was the problem. now that i moved the %sudo line up, it works! thanks!
[17:35] <Habbie> ok!
[17:35] <Habbie> i wasn't sure if it was first match or last match etc.
[17:36] <EoflaOE> hi ejr
[17:36] <lope> I've got "xserver-xorg-video-intel - X.Org X server -- Intel i8xx, i9xx display driver" installed
[17:36] <lope> but it doesn't say it's for intel HD4600
[17:37] <lope> and it's running like crap, so it's unlikely
[17:37] <lope> lspci says I have "00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)"
[17:39] <lope> I have the i915 module loaded
[17:40] <lope> so I suppose that's what the i9xx means
[17:40] <lope> I've uninstalled the nvidia driver and rebooted. It's still running like crap
[17:41] <sarnold> lope: if you run glxgears from a terminal, what kind of framerate do you get?
[17:41] <tomreyn> lope: bad performance with HD 4600 is a hardware limitation, you won't find a better driver.
[17:45] <anavel> -/close
[17:47] <ejr> hi EoflaOE: when you advised me about the group line earlier, i mixed that up with the normal sudoers line, so then it did not change anything. that's why i came back
[17:47] <ejr> but in the end you were right all along
[17:48] <lope> tomreyn, it's not a hardware limitation, the HD4600 runs fine in windows
[17:48] <EoflaOE> ejr: Thanks. I will try to be more clear next time.
[17:48] <lope> HD4600 can even play overwatch in windows
[17:49] <manjeets> Hi guys I'm having an issue while installing ubuntu 18.04.2 lTs curtin.util.ProcessExecutionError: Unexpected error while running command. command [unshare, fork, pid]
[17:49] <lope> at low resolution and refresh rate, but it's definitely capable of dragging and resizing 2D windows around
[17:49] <manjeets> I got image from this link http://releases.ubuntu.com/18.04/
[17:49] <manjeets> any idea how do I fix this issue ?
[17:50] <lope> Interesting, sarnold I get 966FPS when I run glxgears
[17:52] <lope> But if I maximize glxgears to a fullsize window it runs at 2.4gps
[17:52] <lope> FPS
[17:53] <sarnold> lope: ouch indeed. I get around 60 on my seven year old mobile i7 laptop with integrated intel..
[17:55] <tomreyn> lope: are you using xorg or xwayland?
[17:55] <lope> sarnold, xorg
[17:55] <lope> kde
[17:56] <lope> tomreyn, I'm running xserver-xorg-video-intel
[17:56] <tomreyn> lope: can you show    glxinfo -B | nc termbin.com 9999
[17:57] <sarnold> lope: xorg here too; glxgears may not be the best debugging tool but at least it's a *number* that allows comparison, heh
[17:59] <sparafucile>  
[18:00] <lope> tomreyn, https://termbin.com/ocqr
[18:01] <lope> tomreyn, lol it says my GPU driver is VMWare???
[18:01] <lope> should I remove xserver-xorg-video-vmware
[18:02] <lope> there's no module loaded with vmware in it's name.
[18:04] <EoflaOE> lope: Try it and see if it uses intel driver.
[18:05] <tomreyn> hmm, this is unusual, i think. llvmpipe should be fine, though. but 32 GB VRAM seems a lot, too, unless it just returns installed physical RAM there. is this kubuntu 18.04.2 then?
[18:06] <lope> EoflaOE, try what?
[18:06] <lope> Oh, sorry, try remove it. Ok.
[18:07] <o0ze> lope, is the following package installed ? it should be there by default though. i965-va-driver
[18:08] <lope> o0ze, yes, it's installed
[18:09] <tomreyn> lope: which driver does X report (to the systemd journal / syslog) it is using?
[18:12] <y4m4t0> hello everybody!
[18:12] <EoflaOE> y4m4t0: Welcome. Any questions about Ubuntu?
[18:13] <y4m4t0> @EoflaOE, hi. im not using ubuntu right now, but yeah, i have a couple of questions about it
[18:14] <EoflaOE> y4m4t0: Ask, if related to Ubuntu.
[18:15] <y4m4t0> i've got over to the DeepIn OS, and since it is extremely similar to ubuntu, i guess most of solutions will be the same
[18:16] <padarc> afaik its based on debian, not ubuntu. (just throwing that in)
[18:16] <Habbie> yes, it's based on debian
[18:17] <tomreyn> !deepin
[18:18] <tomreyn> !derivatives
[18:18] <y4m4t0> well, the story is pretty s1mple, i removed my old laptop with a new one, much more productive in terms of performance. And I really wish it would be possible to use it in terms of modern gaming
[18:24] <lope> tomreyn, gonna reboot and check
[18:27] <echelon> hi
[18:28] <echelon> i keep getting E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem
[18:28] <echelon> is there a way to remove this without running dpkg --configure -a?
[18:28] <echelon> when i do dpkg --configure -a it gets stuck setting up this thing i don't need
[18:28] <leftyfb> echelon: why not fix it like it says?
[18:28] <echelon> ^
[18:29] <leftyfb> echelon: pastebin the errors please
[18:29] <echelon> THERE'S NO ERROR
[18:29] <echelon> sorry
[18:29] <echelon> it just gets stuck
[18:29] <Habbie> show us please :)
[18:29] <echelon> # sudo dpkg --configure -a
[18:29] <echelon> Processing triggers for ureadahead (0.100.0-21) ...
[18:29] <echelon> Setting up redis-server (5:4.0.9-1ubuntu0.2) ...
[18:30] <mia> Hey all, "file something.gif" should return file type right?
[18:30] <echelon> so yeah, how do i just remove the thing
[18:31] <Habbie> mia, yes
[18:31] <mia> I have a gif file I found online (on tumblr) I realized it wasn't being processed somehow in my software
[18:31] <mia> https://66.media.tumblr.com/34cad2ac4d1b7b312665a8c71a984916/tumblr_ptrv7pAAQW1wm31l0o1_540.gif
[18:31] <mia> this is the file
[18:31] <mia> can you check its filetype --- it's a gif but the file command says its a boot sector? like wtf
[18:31] <Habbie> file says it's a GIF file here
[18:32] <mia> https://66.media.tumblr.com/34cad2ac4d1b7b312665a8c71a984916/tumblr_ptrv7pAAQW1wm31l0o1_540.gif
[18:32] <mia> this file?
[18:32] <Habbie> tumblr_ptrv7pAAQW1wm31l0o1_540.gif: GIF image data, version 89a, 540 x 250
[18:32] <mia> mine does not say so
[18:32] <Habbie> maybe try downloading it again
[18:32] <mia> I tested it on two machines
[18:32] <mia> tumblr_f4569f406b974753697cb57852b89c6b_42ce8512_540.gif: DOS/MBR boot sector; partition 1 : ID=0x99, active 0xcc, start-CHS (0x3cc,153,46), end-CHS (0x288,238,59), startsector 2856478412, 3152954453 sectors; partition 3 : ID=0xdd, active 0xee, start-CHS (0x1ed,170,38), end-CHS (0x3dd,204,63), startsector 574908057, 579390702 sectors
[18:33] <mia> I downloaded it again and again
[18:33] <mia> same error
[18:33] <Habbie> can you run md5sum on it?
[18:33] <mia> how can I do it
[18:33] <Habbie> md5sum tumblr_ptrv7pAAQW1wm31l0o1_540.gif
[18:33] <mia> 9a085d9c509d759568aa5da64902985f  tumblr_f4569f406b974753697cb57852b89c6b_42ce8512_540.gif
[18:33] <Habbie> i see that too
[18:33] <Habbie> so we really have the same file
[18:33] <Habbie> what version of 'file' are you using? i.e. what ubuntu?
[18:33] <mia> hows that possible
[18:34] <mia> 18.04
[18:34] <mia> and the other machine is 16.04
[18:34] <echelon> there's ways to embed other files into image files
[18:34] <tomreyn> !pastebin | echelon
[18:34] <echelon> tomreyn: it was just 3 lines
[18:35] <tomreyn> right, too many
[18:35] <mia> sorry -
[18:35] <mia> just wondering what's going on here
[18:35] <Habbie> mia, so what software is not processing it?
[18:35] <mia> Habbie, it's something I made
[18:35] <tomreyn> echelon: can you show this:   sudo /bin/true && cat &>/tmp/aptlog < <(sudo apt-get -qqy update 2>&1; apt-cache policy 2>&1; sudo apt-get -syV full-upgrade 2>&1;); nc termbin.com 9999 </tmp/aptlog; rm /tmp/aptlog
[18:36] <mia> I was auto downloading certain gif files and converting them to video
[18:36] <mia> it's sort of like a bot thingy
[18:36] <mia> I realized it errored on this file
[18:36] <mia> I check the file type normally - but this one (even though it looks like a gif) does not seem to be a gif
[18:36] <mia> But you say, it says fig on your end
[18:36] <mia> and I don't understand
[18:36] <mia> because I tested the same "file" commadn on multiple machines, I get the same result
[18:36] <mia> every other gif works fine, not this one
[18:37] <mia> this is not something I need to *fix* - I'm just trying to understand what's going on here
[18:37] <Habbie> so what piece of software is failing to process the gif? some library perhaps?
[18:37] <mia> Habbie, nothing is failing
[18:37] <mia> there is justa check in my .sh file for filetype
[18:37] <Habbie> ubuntu 18.04 file also says 'boot sector' here
[18:37] <mia> Habbie, yeah exactly
[18:37] <mia> is this normal?
[18:37] <Habbie> debian 10 file says gif
[18:37] <Habbie> well, file just guesses based on a bunch of things
[18:38] <mia> mime type also says application here
[18:38] <Habbie> how do you get the mime type?
[18:38] <mia> so I want to know* how to deal with this
[18:38] <Habbie> well
[18:38] <mia> file mygif.gif --mime-type
[18:38] <Habbie> why is that check in your .sh?
[18:38] <mia> because my file converts gifs to videos
[18:38] <mia> not pngs or jpegs or mp4's
[18:39] <Habbie> what happens if you do give it a png or jpeg or mp4?
[18:39] <mia> it just runs an ffmpeg conversion for downloaded gifs only
[18:39] <mia> nothing else
[18:39] <mia> it skips the conversion if its not a gif Habbie
[18:40] <Habbie> mia, i mean, what if you just removed that check?
[18:40] <mia> it would convert everything
[18:40] <mia> which is what I don't want
[18:40] <mia> I just want proper gif files to be converted
[18:41] <mia> this one looks like a gif, but for me, does not ehave like one
[18:41] <mia> only this gif
[18:41] <mia> but if this becomes a generalized problem for more files
[18:41] <mia> then I need a way to deal with it
[18:41] <Habbie> mia, please try file -k
[18:41] <mia> That's why I'm trying to understand the problem
[18:41] <Habbie> mia, read the output carefully
[18:42] <mia> Habbie, testgif.gif: DOS/MBR boot sector; again
[18:42] <mia> (same as above)
[18:42] <mia> don2t want to paste it multi lines :D
[18:42] <Habbie> no
[18:42] <Habbie> please read it all
[18:42] <Habbie> carefully
[18:42] <mia> boot sector 012 is GIF image
[18:43] <mia> but why is it like this
[18:43] <mia> joker.gif: GIF image data, version 89a, 540 x 290
[18:43] <Habbie> with -k, it gives you -all- guesses
[18:43] <mia> this is the output of -another gif file-
[18:43] <Habbie> that one gif file happens to also match the file matches for an MBR sector
[18:43] <Habbie> and that matcher wins, in your older version, but not in my newer version
[18:43] <Habbie> -k tells file to give you -all- types that it guesses, not just the best matching type
[18:43] <Habbie> it's the workaround i have for you
[18:44] <mia> hm, is there any better way to check for a file type
[18:44] <Habbie> the best way is to use a program designed to handle that file type
[18:44] <Habbie> and deal with failure
[18:45] <mia> if [[ $(file "${INFILE}") != *GIF* ]]; then
[18:45] <mia> this was my check line
[18:45] <Habbie> if you add -k to that
[18:45] <Habbie> you should be good
[18:45] <Habbie> or at least, as good as you're going to be
[18:45] <mia> if [[ $(file -k "${INFILE}") != *GIF* ]]; then
[18:45] <mia> ^ this?
[18:45] <Habbie> yes
[18:47] <mia> thanks Habbie !
[18:47] <Habbie> np!
[18:47] <sarnold> mia: you may enjoy https://www.youtube.com/watch?v=hdCs6bPM4is or https://news.ycombinator.com/item?id=14586371
[18:47] <Habbie> hah yes
[18:48] <Habbie> although i -suspect- that's not what's happening here
[18:48] <lope> tomreyn, EoflaOE, sarnold: I booted the latest 18.04 live USB and it ran perfectly on my intel onboard graphics. Super fast and smooth.
[18:48] <lope> I checked what intel related packages were installed
[18:49] <lope> Right now I have xserver-xorg-video-intel
[18:49] <lope> But on the live USB I had xserver-xorg-video-intel-hwe-18.04
[18:49] <lope> What is hwe?
[18:49] <tomreyn> !hwe
[18:49] <lope> I seeee
[18:50] <lope> how can I upgrade to it?
[18:50] <tomreyn> you could click on this link which is there for a reason
[18:51] <lope> okay sorry for being dumb. doing the install now
[18:51] <lope> was busy reading
[18:52] <tomreyn> i ran glxinfo -B on an intel laptop i have here in the meantime. mine: http://termbin.com/2bxv  yours (from earlier): https://termbin.com/ocqr
[18:54] <tomreyn> maybe posting  dpkg -l \*mesa\*  would hint on what's wrong on your system.
[19:06] <jayjo> anyone have any experience with buttercup password manager? I have been using keepassxc on my desktop with the stronbox app and keeping my pw database in a cloud storage provider... looks like a clean alternative
[19:10] <tomreyn> !discuss | jayjo
[19:46] <cc89> Hi guys
[19:47] <uRock> hi
[19:49]  * uRock walks away for a smoke break.
[19:50] <n-iCe> hi
[19:50] <cc89> I have a problem with ubuntu 19.04 and the sensor module dell_smm-virtual-0, the problem concerns reading of fan values, when I run in terminal `sensors` command the system is freezed temporariry and then return me the fan values. I would like to say that it is not a BIOS problem, because I tried on Windows 10 to read these values with the HWInfo64
[19:50] <cc89>  software and it works perfectly without interruptions
[19:53] <sarnold> cc89: wild guess, it's possible sensors is using acpi to read it, and that's causing the system to execute vendor-supplied acpi blob; the hwinfo64 method may use a different mechanism to read the same or similar data
[19:53] <sarnold> cc89: poke around in /sys or /proc you may find fanspeeds available through a different mechanism
[19:55] <cc89> sarnold the freeze appears also when I open the folder that contains fan1_input fan2_input ... in the path /sys/class/hwmon/hwmon1/
[19:56] <sarnold> cc89: dang :(
[19:57] <cc89> to better understand I would like to post the output of the `strace sensors` command
[20:00] <cc89> `strace sensors > out.txt` print me the output of sensors and not that of strace
[20:00] <sarnold> cc89: strace -o out.txt sensors
[20:02] <cc89> https://pastebin.com/K2LARRan
[20:05] <cc89> sarnold this with execution time https://pastebin.com/raw/j7rRbxSW
[20:07] <sarnold> cc89: wow those close() calls take forever
[20:08] <cc89> sarnold I'm reading the line that contains /sys/class/hwmon/hwmon1 ...
[20:11] <cc89> sarnold the strange thing is that my laptop only has 1 fan while sensors shows me: Processor Fan, fan2, fan3
[20:11] <sarnold> cc89: are there any interesting values for the others?
[20:12] <cc89> sarnold interesting values? I not understand
[20:12] <sarnold> cc89: do you get RPM values for all three sensors?
[20:13] <cc89> sarnold yes, but they look about the same: 2844 RPM, 2840 RPM, 2837 RPMI think the difference is due to the waiting time for the execution of the command
[20:14] <sarnold> cc89: heh, yeah, you're probably right
[20:18] <cc89> sarnold the sensors command if I understand correctly shows a summary of all the sensors detected, but the actual values of the sensors are located in the path "/sys/class/hwmon/*". Quite right?
[20:18] <sarnold> yes
[20:18] <sarnold> cc89: there's also probably a /proc/i8k
[20:18] <sarnold> cc89: they've got code to measure timing in this thing: https://github.com/torvalds/linux/blob/master/drivers/hwmon/dell-smm-hwmon.c#L143
[20:19] <sarnold> cc89: and some timing information as comments: https://github.com/torvalds/linux/blob/master/drivers/hwmon/dell-smm-hwmon.c#L536
[20:19] <cc89> sarnold so the problem is to look for in the implementation of the hwmon module in the linux 5.0 kernel
[20:19] <sarnold> cc89: I'm guessing this thing is known to be slow-as-can-be for a while..
[20:23] <cc89> sarnold should I look for the i8k module or not?
[20:24] <sarnold> cc89: I think the i8k name is just an alias for this module
[20:25] <jrg> is there some sort of ubuntu 19.04 / gnome based domain joining plugin or extension or something?
[20:25] <sarnold> cc89: you could try emailing these folks to see if they know a better way http://paste.ubuntu.com/p/z6zfPKKxZ7/
[20:25] <jrg> and is there an option to make the window titlebars smaller?
[20:25] <jrg> they're so fat heh
[20:26] <cc89> the problem was already present with ubuntu 18.10, I thought that with the 5.0 kernel they would have solved it
[20:27] <cc89> sarnold but should I send only the strace output? are these people not in IRC chat to talk in real time?
[20:35] <iffraff> Hi, I want to switch form a swapfile partition to a swapfile ... file. I was able to create a swapfile and turn it on using swapon, but I would like to delete or at least turn off the swapfile partition as I'm not convinced it's using the new file
[20:35] <iffraff> does anyone know about this?
[20:38] <tds> iffraff: what do you mean by "swapfile partition"?
[20:38] <tds> you should be able to swapoff the old partition and then delete or reformat it or whatever as needed
[20:40] <iffraff> Hmm, ok so swapoff how do I dentify the partition? or should I do swapoff --all then start over with the file?
[20:41] <tds> you should just be able to swapoff /dev/sdxy iirc
[20:42] <iffraff> ah so specify the drive excellent.  thanks I'll give that a try
[20:44] <EriC^^> iffraff: swapon -s    shows the status of swaps
[20:45] <iffraff> cool, so it's takin an aweful long time, is that to be expected?
[20:45] <tds> if you've got stuff in swap, yes
[20:46] <iffraff> it's 1 gig and maxed.  I guess it's all relative, is that lot?
[20:46] <tomreyn> cc89: most of these folks whom many would like to talk to usually prefer bug trackers and mailing lists.
[20:47] <tomreyn> (at least as a first contact)
[20:47] <cc89> tomreyn I send them an email as indicated to sarnold
[20:48] <tomreyn> cc89: it'd be interesting to see whether the current sensors-detect script suggests a different approach for accessing these values.
[20:49] <tomreyn> (you migth want to test this beforehand)
[20:49] <cc89> tomreyn what should I do?
[20:50] <tomreyn> cc89: download and run https://github.com/lm-sensors/lm-sensors/raw/master/prog/detect/sensors-detect
[20:52] <cc89> tomreyn I have installed sensors package than I can run `sudo sensors-detect` . Right?
[20:53] <tomreyn> cc89: yes. the script contained in the ubuntu package will be older, though, which is why i pointed you to the one on the upstream source code repository. it's just a stand-alone perl script, so no need to compile anything.
[20:56] <cc89> tomreyn does it overwrite the current sensor configuration file? should I start with or without sudo?
[21:01] <Xat`> hello guys, on xenial I'm applying an ansible role . the role is changing by mistake ownership of / and it causes some trouble
[21:01] <Xat`> when restarting
[21:02] <Xat`> I'm not able to reproduce on another xenial server
[21:03] <Xat`> by able to reproduce on the same backuped server
[21:03] <Xat`> but
[21:05] <cc89> tomreyn ?
[21:20] <unknown_had> hi guys I am trying install chrome older version using apt-get but I am not sure how exactly I Can do it.
[21:21] <unknown_had> the only solution I am getting is this one: https://askubuntu.com/questions/510056/how-to-install-google-chrome
[21:21] <unknown_had> the issue is it is installing the latest stable version though I have to install the old stable version.
[21:24] <tomreyn> cc89: i don't think it changes any configurations unless you explicitly ask it to.
[21:25] <unknown_had> indeed it don't
[21:26] <cc89> tomreyn sensors config file where is located? that I do a backup
[21:27] <DOSfan> Good afternoon everyone :)
[21:28] <cc89> tomreyn I have only /etc/sensors3.conf
[21:28] <DOSfan> brb .. taking a break .. alrady ;P ... I have some SSDs I have to try to install later on today .. but sigh .. pets come first.
[21:30] <tomreyn> cc89: so it'll be that.
[21:31] <cc89> tomreyn Some south bridges, CPUs or memory controllers contain embedded sensors. Y or N?
[21:32] <tomreyn> cc89: you can either just hit enter to go with the default answer or run it with --batch
[21:33] <cc89> tomreyn I insert Y
[21:36] <cc89> tomreyn https://pastebin.com/raw/5wM9CNkN
[21:38] <tomreyn> cc89: so it only detected the coretemp module, which is probably already loaded? lsmod | grep coretemp
[21:40] <cc89> tomreyn yes In the previous ubuntu version 18.10 I had already started sensors-detect than I have upgrade to 19.04
[21:41] <tomreyn> cc89: so review "sensors", the output is probably still the same
[21:41] <cc89> tomreyn I should post the `sensors` output?
[21:42] <tomreyn> cc89: not unless you have questions about it.
[21:43] <cc89> tomreyn do you remember what the problem is?
[21:43] <tomreyn> cc89: sensor readings are returned very slowly, the system stalls while querying them.
[21:44] <tomreyn> cc89: thats what you wrote earlier anyways.
[21:45] <cc89> tomreyn Exactly, the problem occurs even when I open the path /sys/class/hwmon/hwmon1 than is a problem of dell-smm-hwmon kernel module
[21:46] <tomreyn> ok
[21:49] <jrg> hm. this A10 is rebooting when it tries to go to sleep
[21:53] <cc89> tomreyn If I run ` ls /sys/class/hwmon/hwmon1` the freeze not occurs. why?
[21:54] <tomreyn> cc89: i would not know. check with the contacts sarn0ld  provided you with
[21:55] <cc89> tomreyn I have yet sended an email
[21:55] <cc89> tomreyn but if I run `cat /sys/class//hwmon/hwmon1/fan1_input` occurs :(
[21:56] <tomreyn> ok, but i can't help you more with this.
[21:56] <cc89> tomreyn ok, thanks anyway
[21:56]  * jrg scratches his head
[21:56] <jrg> i wonder why this thing is rebooting when it goes to sleep
[21:59] <sarnold> cc89: I didn't recognize any of the names; they may or may not be on irc, but they should be ready to handle emails; the strace output might ormight not be helpful. it's probably fine to include the strace output
[22:00] <cc89> sarnold I have yet provided to sent them a email
[22:02] <cc89> sarnold I just hope they welcome my request, because I switched from Debian to Ubuntu because the developers were a little bit on their own in responding to various reports, I hope that with ubuntu it's not like that
[22:03] <sarnold> cc89:  note that these developers aren't affilliated with ubuntu; they maintain the kernel module that I believe is giving you the slow reads
[22:23] <excelsiora> when in recovery-mode, how do you adjust screen brightness?
[22:24] <excelsiora> /sys/class/backlight doesn't have anything in it.
[22:38] <EriC^^> excelsiora: maybe xbacklight can help?
[22:38] <EriC^^> excelsiora: nevermind
[22:43] <excelsiora> thx for trying. :) I'm guessing the passing of "recovery" or "nomodeset" as an argument to linux cmd is what's killing it...
[22:43] <lope> my onboard intel graphics is running like absolute crap in my ubuntu 18.04 installation
[22:44] <lope> When I boot a ubuntu live USB it's perfect
[22:44] <lope> I'm running the same kernel version
[22:44] <lope> I've compared lsmod and dpkg -l etc and can't spot what the problem is
[22:44] <lope> I've also compared the modprobe.d directories
[22:44] <excelsiora> what's vt_handoff?
[22:44] <sarnold> lope: you swapped in the hwe kernel and X?
[22:45] <lope> sarnold, yes
[22:45] <sarnold> :(
[22:45] <jeremy31> excelsiora: where the GUI will show up
[22:45] <lope> now that I've swapped to the hwe kernel, my installed 18.04 is even newer than the USB kernel, by a few revisions
[22:45] <lope> I'll reinstall if I have to
[22:45] <lope> but I thought it should be relatively simple to fix my existing install
[22:45] <excelsiora> jeremy31: hmm... recovery cmd doesn't have that one...
 i ran glxinfo -B on an intel laptop i have here in the meantime. mine: http://termbin.com/2bxv  yours (from earlier): https://termbin.com/ocqr
 maybe posting  dpkg -l \*mesa\*  would hint on what's wrong on your system.
[22:46] <tomreyn> ^ lope
[22:46] <sarnold> lope: hm. and I vaguely recall seeing something about virtualbox -- do you have any of those packages still installed?
[22:46] <lope> sarnold,
[22:46] <lope> yes I've got a bunch of virtualbox packages
[22:47] <lope> But I hate virtualbox so I can remove them
[22:47] <lope> I'm a KVM guy
[22:48] <sarnold> lope: try purging all those
[22:48] <lope> rebooting
[22:50] <lope> sarnold, it didn't work
[22:50] <lope> Still running like crap
[22:54] <lope> it says my openGL render string is Vendor: VMware, Inc. (0xffffffff)
[22:54] <lope> what vmware driver could I possibly be running
[22:55] <Bashing-om> lope: What modules are installed ' dpkg -l | grep -i nvidia ' ?
[22:55] <sarnold> Bashing-om: vmware, not nvidia :)
[22:56] <lope> hmm I've still got libnvidia-compute-390
[22:56] <sarnold> lope: grep -i vmware /var/log/Xorg.*
[22:56] <lope> and bbswitch-dkms
[22:56] <lope> thought I removed those
[22:56] <sarnold> maybe you can spot the path to the driver in use that way?
[22:56] <jrgilman> lope i had this problem too when i first installed 18.04
[22:56] <jrgilman> assuming it's the same
[22:56] <jrgilman> is this a laptop?
[22:57] <lope> jrgilman, I've used the same ubuntu installation across laptop and desktop
[22:57] <lope> It's been in 2 diff laptops and a desktop
[22:57] <jrgilman> same problem?
[22:57] <lope> well, it lags to absolute shit
[22:57] <jrgilman> yeah
[22:57] <jrgilman> the desktop
[22:57] <lope> but when I boot a live USB it's perfect
[22:57] <jrgilman> right?
[22:57] <lope> yes
[22:58] <jrgilman> yep
[22:58] <lope> moving resizing etc
[22:58] <jrgilman> in my laptop it was due to uh
[22:58] <jrgilman> optimus graphics
[22:58] <jrgilman> i had a dual nvidia/integrated chip
[22:58] <lope> and I can't get dual monitors working
[22:58] <jrgilman> and it was freaking out
[22:58] <lope> yes, I've got a laptop with optimus
[22:58] <jrgilman> yes
[22:58] <jrgilman> that's it
[22:58] <lope> oh, maybe the bbswitch has been buggering up my desktop intel graphics
[22:58] <jrgilman> yes
[22:58] <lope> a bug probably
[22:58] <jrgilman> i had to use
[22:58] <lope> wow, now I'm excited
[22:58] <jrgilman> a different one i can't remember the name
[22:58] <lope> gonna reboot.
[22:58] <lope> bumblebee?
[22:59] <jrgilman> i think it was called nvidia-optimus?
[22:59] <jrgilman> i had to restart each time i switched
[22:59] <jrgilman> is all i remember
[22:59] <jrgilman> do you have a lenovo p52s per chance?
[22:59] <jrgilman> it took me days to figure this out
[23:00] <jrgilman> bumblebee wasn't working for some reason if i remember vaguely
[23:02] <lope> It didn't work
[23:02] <lope> still lagging like crap
[23:02] <excelsiora> where's the log from the prior boot?
[23:03] <jrgilman> yeah as i said the solution took me days and bumblebee didn't work
[23:03] <jrgilman> i had to use something else and i can't remember what it was
[23:03] <lope> lol I've still got libnvidia-compute-390:i386
[23:03] <jrgilman> it might've been nvidia-prime
[23:03] <lope> but surely that can't be affecting me. This is a 64 bit system
[23:04] <lope> this is my desktop now. I had a nvidia graphics card
[23:04] <lope> But it died today. So trying to use onboard now
[23:04] <jrgilman> oh
[23:04] <lope> excelsiora, do you mean syslog?
[23:05] <excelsiora> /var/log/syslog looks like it has the log...
[23:05] <tomreyn> excelsiora: journalctl -b -1   if you are on 18.04 and newer
[23:06] <lope> excelsiora, tomreyn, sarnold: http://codepad.org/dae723sF
[23:06] <lope> That's the syslog from the Live USB which works perfectly
[23:07] <tomreyn> so?
[23:07] <sarnold> I assume the one from the failing system is coming shortly :)
[23:07] <lope> sarnold, grep -i vmware /var/log/Xorg.* gives nothing
[23:08] <tomreyn> this one shows mtrr issues
[23:08] <lope> tomreyn, what's mtrr?
[23:08] <tomreyn> mtrr_cleanup: can not find optimal value
[23:08] <tomreyn> please specify mtrr_gran_size/mtrr_chunk_size
[23:09] <tomreyn> if you also have this on the installed system you'll want to http://my-fuzzy-logic.de/blog/index.php?/archives/41-Solving-linux-MTRR-problems.html
[23:09] <tomreyn> https://en.wikipedia.org/wiki/Memory_type_range_register
[23:10] <jrgilman> hey tomreyn, btw I ran testdisk on that drive, and it found my partitions
[23:10] <jrgilman> I'm looking through it now and can see all my files
[23:10] <jrgilman> in the file preview
[23:11] <tomreyn> jrgilman: very nice. if it can determine the "partition" (really LVM2 LV) boundaries then you could recreate those
[23:12] <jrgilman> it found them as ext4 though
[23:12] <jrgilman> via sudo ./testdisk /dev/mapper/encrypted
[23:12] <tomreyn> those file systems will be on top of the (no longer existing) LVs
[23:13] <jrgilman> ah
[23:13] <jrgilman> okay so if testdisk found this, what should my next steps be? I want to avoid doing something that fucks it more up
[23:13] <jrgilman> write both of them?
[23:14] <tomreyn> dd the disk to a clean storage, work on the copy. repeat until you get the boundaries right.
[23:15] <jrgilman> what do you mean by "boundaries"
[23:16] <tomreyn> you had and still have an LVM PV (physical volume), you also used to have a single VG (volume group) in there, i would assume, and probably a small number of LVs (logical volumes, the equivalent to partitions).
[23:16] <lope> do I really have to reinstall?
[23:16] <lope> seems so lame
[23:16] <lope> I've got a working system
[23:16] <lope> just a driver issue
[23:17] <lope> Do you think the lagging is caused by the MTRR problems?
[23:18] <tomreyn> jrgilman: you'd need to recover / recreate the volume group, and the logical volumes so that you can create the file systems. when recreating them you'd need to know where they originally started and eded, otherwise the file systems on top of them which teswtdisk still sees, won't be recoverable in place,
[23:18] <tomreyn> jrgilman: maybe there's a way that you can restore those file systems on a different storage, though, i'm not sure whether testdisk can do this.
[23:20] <excelsiora> an older kernel was workinh, but it's gone now...
[23:20] <tomreyn> this way you'd not need to guess the LV boundaries., just create some sufficiently large partitions on another storage which these file systems would fit onto (or even dump those file systems into files if that's possible, even better.
[23:27] <excelsiora> is there a software way to dim the screen as a stopgap?
[23:27] <lope> good night guys
[23:27] <lope> looks like I'll have to reinstall in the morning :(
[23:28] <tomreyn> jrgilman: it looks like testdisk may actually be able to recover LV's https://www.cgsecurity.org/wiki/TestDisk so you can maybe just do that once you identified all of them.
[23:28] <jrgilman> tomreyn: maybe confirming my understanding at the moment of what's going on would be good
[23:28] <tomreyn> (but i'd still recommend you work on a clone of the drive)
[23:28] <jrgilman> So I have this hard drive, LUKS encrypts the actual file systems
[23:29] <jrgilman> so I have to decrypt that using the cryptsetup program. Then inside of that I have LVM which has ext4 on top of it?
[23:30] <sarnold> lope: good night and good luck!
[23:30] <jrgilman> so at the moment, it seems my whole issue is that my LVM is corrupted?
[23:31] <tomreyn> you have a HDD, with some partitions (as listed by "parted /dev/sda print"). one of those partitions contains a dmcrypt-luks crypto layer. on top of that crypto layer is an LVM2 PV, VG, and a few LVs. just that the VG and LVs were lost when the LVM superblock was deleted someehow.
[23:31] <jrgilman> Okay, follow-up question. Why is LVM required for LUKS?
[23:31] <tomreyn> it isn't
[23:32] <jrgilman> Hmm, I thought it auto checks the LVM mode when you try to do an install... okay
[23:32] <tomreyn> it's useful if you want to have multiple file systems on a single crypto container
[23:32] <jrgilman> install with encryption that is
[23:32] <jrgilman> okay
[23:33] <tomreyn> yes, ubiquity, the desktop installer, creates things this way. and it makes sense that it does.
[23:33] <jrgilman> Yeah I'm not questioning it, I just want to try to understand what's happening rather than just "do the thing"
[23:34] <tomreyn> if you had multiple crypto containers oyu 'd need to enter multiple passphrases at boot (there's ways to automate this but it's not 'out of the box')
[23:34] <jrgilman> ahh ok
[23:35] <jrgilman> so at the moment, when I boot up, and I type my password in
[23:35] <jrgilman> it's trying to do cryptsetup, and then after that it tries to find the ubuntu-vg volume group
[23:35] <jrgilman> but because LVM is corrupted, it can't and thus drops into initramfs?
[23:35] <tomreyn> exactly
[23:36] <jrgilman> sorry I typed on multiple lines there again
[23:36] <jrgilman> okay
[23:37] <jrgilman> ooc
[23:38] <jrgilman> ooc, if i were to dd the /dev/mapper/encrypted "drive" to another drive, would it boot as just a normal ext4 partition with no LUKS or LVM?
[23:38] <sarnold> it might take some massaging to make it boot but mounting it ought to be possible
[23:39] <tomreyn> jrgilman: oh there is actually "pvck" you can use to try and recover the lvm data, i forgot about this.
[23:39] <jrgilman> okay was just curious
[23:39] <tomreyn> ...it's like fsck but for LVM physical volumes
[23:39] <jrgilman> jsut to confirm my understanding, in LVM there's three concepts, PV, LV and VG
[23:40] <tomreyn> physical volums are storage space which can be joined (e.g. from multipls disks) into VGs. and VGs can contain multiple LVs.
[23:40] <jrgilman> PV is the actual physical disk so /dev/sda sdb etc, VG is a grouping of partitions and then LV can combine those VG to create a "fake disk" so to speak?
[23:41] <jrgilman> oh
[23:41] <jrgilman> so VG is the top level set
[23:41] <jrgilman> VG 1:M LV 1:1 PV?
[23:41] <tomreyn> well, you cant work with your VGs until you readied your PVs.
[23:42] <jrgilman> okay gotchya
[23:42] <tomreyn> in your case there is a single PV which is /dev/mapper/sda3_crypt
[23:42] <tomreyn> the "pvs" or "pvdisplay" commands would confirm this.
[23:43] <tomreyn> now, if the LVM data wasn't corrupt, you could run vgscan to find the ubuntu-vg volume group
[23:44] <tomreyn> ...and then "lvscan ubuntu-vg" to find the 3(?) LVs in there.
[23:44] <jrgilman> the LVs are the ext4?
[23:44] <jrgilman> what testdisk detected?
[23:45] <tomreyn> the ext4 file systems are on top of the LVs
[23:45] <tomreyn> like a file system is on top of a partition
[23:46] <jrgilman> so a logical volume can be partitioned with for instance NTFS, HPFS, ext4 whatever
[23:46] <tomreyn> in LVMs inner logic, PVs are like real disks, VGs are like RAID and LVs are like partitions
[23:46] <jrgilman> okay
[23:47] <tomreyn> LVM does not care about file systems, it just creates LVs and on top of that you can place a file system or anything else you could place on a partition, but that's outside of this LVM then
[23:48] <the_actor> So I am sitting in LAX on my way to Houston and interestingly enough I am connected to their public WiFi and I cannot connect to anything but I can Mosh out to a computer to weechat over Mosh? Any ideas whats going on?
[23:49] <jrgilman> okaygonna dd this first before messing around any further
[23:50] <tomreyn> you could just dd the encrypted /dev/sda1 or the decrypted /dev/mapper/sda1_crypt
[23:51] <jrgilman> I'm doing the decrypted one since testdisk definitely was able to find those files
[23:52] <tomreyn> i only brought up sda1 in case you wanted to ensure your data remains protected.
[23:52] <jrgilman> no, part of me actually wants to remove the LUKS encryption
[23:52] <jrgilman> but that's a problem for later
[23:53] <jrgilman> anything that is sensitive is already encrypted in my home folder
[23:54] <tomreyn> btw. pvck can run in a non-writing mode with --test
[23:55] <jrgilman> hmm
[23:55] <tomreyn> i'd suggest you run pvck on the copy first before you run testdisk against it. if pcvk can restore vg and Lvs then all you'll need to do is to run fsck against the LVs
[23:55] <jrgilman> alright
[23:56] <jrgilman> I get so afraid when i use dd
[23:57] <jrgilman> I check the options like 10 times over
[23:57] <tomreyn> that's healthy
[23:57] <tomreyn> just like having backups ;)
[23:57] <jrgilman> :(
[23:58] <tomreyn> i'm just making sure you don't forget this is the main issue here, the encryption layer isn't
[23:58] <jrgilman> oh yeah
[23:59] <jrgilman> I already know that I played myself
[23:59] <jrgilman> also playing around with fsck and breaking crap wihtout knowing what i was doing didn't help
[23:59] <jrgilman> without*
[23:59] <tomreyn> fsck can be more destructive than useful, yes