[00:00] <ahi2> anyone have a Dell XPS desktop running ubuntu? Ubuntu certified hardware list doesn't show XPS desktops.
[00:02] <tomreyn> Rulzern: try unplugging any devices you dont strictly need, make sure you have sufficient power supply to power multiple devices on the usb.
[00:03] <tomreyn> + check whether someof the usb attached devices can be powered externally
[00:04] <tomreyn> ahi2: most definitely there are people who run ubuntu on such computers. you could just search the web. this wont tell you how well a specific model would work, however.
[00:05] <ahi2> someone said it doesnt run linux. they probably don't know what they are doing
[00:05] <Rulzern> tomreyn: I've attempted to disconnect all devices, and only having one of the following connected: a logitech unifying receiver, a USB stick, a TP-link wireless receiver - none of them seem to have any effect
[00:05] <tomreyn> ahi2: typically, anything which is not extra low cost stuff works fine, with some exceptions for very new hardware, exotic hardware, and some wireless chipsets.
[00:06] <ahi2> ok thanks
[00:07] <tomreyn> ahi2: "dell xps desktop" is a product series, it's not a specific model. making a generic statement on whether or not ubuntu runs on an entire series of very different computers makes no sense most of the time, it does not in this case.
[00:07] <tomreyn> Rulzern: so those you have connected do work / are properly detected?
[00:08] <ahi2> the certified list shows various laptop models that do run ubuntu just not xps models
[00:08] <Rulzern> tomreyn: no, the only things lsusb/usb-devices list are hub devices and controllers (2 of each), none of the devices I actually plug in to the machine
[00:08] <tomreyn> ahi2: lack of a listing does not state incompatibility.
[00:08] <ahi2> not xps desktop models
[00:08] <ahi2> right
[00:09] <tomreyn> Rulzern: is rebooting an option?
[00:10] <tomreyn> Rulzern: when did this issue first occur relative to any majro changes you made to the system in terms of hardware, firmware, OS upgrades or changes?
[00:10] <Rulzern> tomreyn: I have attempted to reboot, no change
[00:12] <Rulzern> tomreyn: the system is "new", I installed an OS on the disk today using a different computer (had trouble with the USB during the ubuntu installation, was able to get the boot loader, but the install failed)
[00:12] <tomreyn> Rulzern: did you attempt to reboot, or did you? if you did, unplug and replug any device, then post the URL returned by "dmesg | nc termbin.com 9999"
[00:12] <tomreyn> Rulzern: what are you running there now if the ubuntu installation failed?
[00:13] <Rulzern> tomreyn: I'm afraid the network connection on that computer relies on the USB wireless device, but I can tell you that dmesg does not produce any new lines of output upon plugging a device
[00:13] <Rulzern> I installed ubuntu using a different computer
[00:14] <tomreyn> Rulzern: how did you "[install] an OS on the disk today using a different computer"?
[00:15] <Rulzern> tomreyn: by unplugging the disks in computer #2, plugging in the disk from computer #1 into computer #2, booting from an USB and installing ubuntu onto the disk plugged in
[00:16] <tomreyn> Rulzern: okay, then it's possible that you created a legacy BIOS installation when the new computer would better boot with UEFI, or the other way around (less likely)
[00:17] <Rulzern> tomreyn: is there a way to identify if that could be the cause?
[00:17] <tomreyn> Rulzern: still, lsusb should probably work. since you don't seem to be posting dmesg, we could also proceed by having you tell us more about the hardware of the new computer.
[00:18] <Rulzern> tomreyn: the motherboard is a MSI B85M-G43
[00:18] <poizonb0x> Having invalid partition when machine boots, is it a grub select flagged partition thing or I have to reinstall? :/
[00:19] <poizonb0x> fdisk options for setting the boot partition, don't remember.
[00:19] <tomreyn> Rulzern: whats the CPU? have you checked dmesg for any issues not directly related to the USB? have you done a memory test?
[00:20] <EriC^^> poizonb0x: do you have a live usb you can boot to troubleshoot?
[00:20] <tomreyn> Rulzern: MSI B85M-G43 is actually older hardware. so this hardware is just new to you, not new in that it was recently produced, i guess?
[00:20] <Rulzern> tomreyn: the cpu is an Intel Core i5-4670, I did a cursory look through dmesg for USB issues, but did not discover any (or any critical issues otherwise), but I'm not entirely sure what to look for, I have not performed a memory test
[00:21] <poizonb0x> EriC^^: Yeah but I'm sure I can do it with the installed one, why chroot lol? Just don't remember the fdisk --option to select boot partition :/
[00:21] <EriC^^> i thought it wasnt booting? poizonb0x
[00:21] <Rulzern> tomreyn: it's "new" in that it's a computer that's been sitting unused in a closet for a few years, I'm attempting to set up a home office using my old HTPC
[00:22] <CalebW> I have a question regarding auto-rotation in ubuntu 18.04. Is it possible to configure certain custom actions?
[00:23] <tomreyn> Rulzern: which bios version do you have there?
[00:24] <Rulzern> tomreyn: 3.9
[00:24] <poizonb0x> EriC^^: You're right, right after bios it says invalid boot partition but don't remember how to set the flag.
[00:24] <EriC^^> poizonb0x: so how do you suggest getting into the install without a live usb?
[00:25] <EriC^^> or rather how do you suggest setting the boot flag really, we wont be chrooting
[00:25] <poizonb0x> EriC^^: It prompts invalid partition but after I hit enter it boots the next sda, I just need /dev/sda1 to be the boot flagged, or to have the mbr in there, don't remember.
[00:26] <Teodoro777> <freenode_TJ- "Teodoro777: probably because acc"> After a while, the bug is reappeared! I don't know what else to try..
[00:26] <tomreyn> Rulzern: hmm so mainboard and cpu should be compatible. review dmesg, make sure the power supply is sufficient and run a memory test.
[00:28] <Rulzern> tomreyn: it should be sufficient, like I said, it used to be my HTPC, just a different disk (I suppose perhaps some part could be malfunctioning somehow?), I'll have a look at dmesg and run the memory test, thank you
[00:29] <tomreyn> Rulzern: could be acpi issues, for example. "it used to be my HTPC" does not provide information to me.
[00:31] <Rulzern> tomreyn: what I mean is that it was operational with the same hardware as it has now (with the exception of only having 1 SSD now, instead of 2 HDDs previously), while powering several USB devices, so the PSU should be sufficient to power it
[00:32] <tomreyn> Rulzern: i see. indeed it should then be drawing less power now than it used to. which OS were you running on it at the time?
[00:34] <tomreyn> the least powerful PSU MSI claims to have successfully tested with is a 300W
[00:34] <tomreyn> https://storage-asset.msi.com/file/test_report/TR7_2848.pdf
[00:36] <tomreyn> Rulzern: it could also be that one of the usb devices you have now attached to it is broken and causing problems to the entire USB. this is why i suggested to unplug all of them before you watch dmesg and replug them one by one.
[00:36] <Rulzern> tomreyn: the PSU is a Cooler Master Silent Pro M2 520W PSU
[00:36] <Rulzern> tomreyn: I was running windows 10 at the time
[00:39] <Rulzern> tomreyn: I checked dmesg, did not see anything suspicious to my eyes, it also appears that there is no power being delivered on any of the USB ports
[00:39] <EriC^^> poizonb0x: fdisk has an interactive menu, it should be somewhere
[00:39] <Rulzern> tomreyn: could there be some BIOS setting that I have mis-configured? it seems strange that no power is delivered, right?
[00:39] <tomreyn> this specific PSU is not listed but i dont see why it wouldnt work. if you were running windows 10 back then you might want to try doing so now, to see whether this works fine (in terms of USB), and if so, you may want to try to overcome what is then likely buggy firmware, such as by doing this: http://iam.tj/prototype/enhancements/Windows-acpi_osi.html
[00:40] <EriC^^> poizonb0x: sudo fdisk /dev/sdX  then hit > x > then A for bootable flag, try with the help options first cause it might be different for you
[00:40] <tomreyn> Rulzern: no power available on USB ports on a USB 3.0 controller is wrong, yes.
[00:41] <tomreyn> Rulzern: so you reconfigured the BIOS between when this was running your HTPC and now?
[00:41] <Rulzern> tomreyn: yes
[00:41] <tomreyn> if so, load optimized setup defaults, or just setup defaults, and see if it works then.
[00:41] <Rulzern> tomreyn: I'll give it a shot, be back in a minute
 Rulzern: when did this issue first occur relative to any majro changes you made to the system in terms of hardware, firmware, OS upgrades or changes?
[00:42] <tomreyn> ^ that's why i was asking about major firmware changes
[00:45] <Rulzern> tomreyn: hehe, yes, that's why I said it was "new"
[00:46] <tomreyn> Rulzern: "new" somehow made me think "vendor defaults"
[00:46] <tomreyn> anyways, good luck, chances are it'll work after bios reset. if not, try windows + acpi link in your preferred order
[00:47] <tomreyn> and at some point you should do the memory and a cpu burn test as well
[00:48] <Rulzern> tomreyn: same status after the BIOS reset
[00:48] <tomreyn> a pity. :-/ see above.
[00:48] <yao_ziyuan> in a freshly installed ubuntu 18.10, do you guys notice that sometimes bold text isn't displayed as bold in chrome?
[00:48] <Rulzern> tomreyn: alright, thank you so much for your help
[00:49] <tomreyn> Rulzern: yw. you can also have soemoen review dmesg later if you ever change your mind.
[00:50] <Rulzern> tomreyn: yes, I'm sure that would be helpful, but I have no way of communicating with that machine other than writing it down on a slip of paper currently, which seems like quite a task for the dmesg output
[00:50] <tomreyn> Rulzern: oh sorry, i gotthis wrong, thought you said just the additional network device wasnt working.
[00:51] <Rulzern> I was thinking that I could just put it on a USB stick and upload it from this machine, then I remembered what the problem was
[00:52] <tomreyn> Rulzern: you could store it on the hdd, then plug that to the other computer again. or maybe there are other options for pluggable storage, such as an sdcard, or you could install another NIC or setup a serial console connection to the other computer.
[00:54] <Rulzern> yeah, the HDD option is the most reasonable in terms of timeframe, but it's starting to look more productive to just get a new motherboard/CPU/RAM that is not so picky
[00:55] <tomreyn> if money is secondary, sure. :)
[00:57] <Rulzern> at some point the cost in time is higher than the cost in dollars
[00:59] <SausageWater> good evening! One of my updates failed  - the terminal output suggested problems with the dependencies and perhaps some other, serious errors. The output was too long to be captured in the terminal window and so I tried to save it with "sudo apt-get -f upgrade > output.txt" instead. That didn't work either - the command seemed to be executed but it didn't show any output  - even though I let it run for 10 minutes. Did I do anythi
[01:00] <SausageWater> I could do to save the output? Any help is much appreciated!
[01:00] <tomreyn> SausageWater: first message was cut off after "Did I do anythi"
[01:01] <cYnIxX3>  anyone happen to know how to install a ppa repo without software-properties-common in ubuntu 16.04? I tried putting the deb links in /etc/apt/sources.list and tried apt-key as well as gpg to try and get it to pull on an apt-update but the package I want is still not an option. what am I missing?
[01:01] <tomreyn> SausageWater: to redirect error messages from the console into a file, you need to run commands like this: mycommand &> /tmp/mylogfile.log
[01:02] <SausageWater> Thanks! I'll give it a try!
[01:02] <tomreyn> !pastebinit | SausageWater
[01:02] <cYnIxX3> SausageWater, you may try sudo apt-get -y upgrade &> output.txt rather than-f
[01:03] <cYnIxX3> just incase its an input hang. ¯\_(ツ)_/¯
[01:04] <tomreyn> cYnIxX3: the easiest way to set up a ppa is to use: apt-add-repository
[01:04] <ikatamoonshots> hi, is there a way to prevent /dev/shm files being deleted while using it with my main user?
[01:04] <cYnIxX3> tomreyn, I'm going for the smallest scriptable environment with docker. So I would like to avoid apt-add-repository.
[01:04] <tomreyn> cYnIxX3: once configured, you can "sudo apt-get update" and "apt-cache policy" to verify the repository was actually added.
[01:06] <ikatamoonshots> never mind , using tmpfs
[01:07] <tomreyn> cYnIxX3: if doing it manually, you should add extra apt sources by creating a new file in /etc/apt/sources.list.d/ and adding the gpg apt repository signing key using "apt-key", then run "apt-get update".
[01:08] <cYnIxX3> tomreyn, I went straight for sources.list https://pastebin.com/raw/kwmrJcdT
[01:08] <cYnIxX3> source.list*
[01:09] <tomreyn> cYnIxX3: yes, sou shouldnt modify this file, keep it default, it's a better approach to only have official repositories in there.
[01:09] <cYnIxX3> tomreyn, understood, but its a docker environment and its empty anyways.
[01:09] <tomreyn> cYnIxX3: also it's sourceS.list, plural
[01:10] <cYnIxX3> Ugh, thats my problem.
[01:10] <cYnIxX3> Thank you
[01:10] <CodeMouse92> What's the command to get the number of hard drive ports on a system? (Ubuntu 18.10)
[01:10] <tomreyn> cYnIxX3: importing an apt key this way is insecure and unreliable. provide the actual key and "apt-key import" it. or at least the full finderprint.
[01:11] <CodeMouse92> I want to figure out if this laptop has one or two hard drive ports. Only one disk installed, but I'd rather check before I go digging inside for another port?
[01:11] <cYnIxX3> tomreyn, understood, Thanks for the advice.
[01:12] <tomreyn> welcome :)
[01:12] <SausageWater> Thanks all - I've got my first problem solved. Cheers!
[01:13] <tomreyn> CodeMouse92: all you could check is how many ports the storage controller provides. but this doesn't mean that there are connectors available.
[01:13] <CodeMouse92> tomreyn: Duly noted. Thanks.
[01:13] <CodeMouse92> I'll just look inside when I swap my network card.
[01:14] <tomreyn> CodeMouse92: however, a single SATA port is rather uncommon, i think only SOCs have that.
[01:14] <CodeMouse92> tomreyn: In a laptop, tho?
[01:14] <ikatamoonshots> lsscsi / lsscsi -g
[01:15] <tomreyn> CodeMouse92: i'm talking about capabilities of controllers, not how mainboards are outfitted and ports are made available
[01:15] <yao_ziyuan> why might be the cause for my ubuntu 18.10 not rendering bold text as bold?
[01:15] <CodeMouse92> tomreyn: Oh. Sure, makes sense.
[01:17] <ikatamoonshots> @ codemouse - dmesg | grep 'SATA link down'
[01:17] <ikatamoonshots> https://superuser.com/questions/688201/listing-unused-sata-ports-on-linux
[01:22] <CodeMouse92> ikatamoonshots: Aw, sweet!
[01:22] <CodeMouse92> So....YES, I do actually have another port!
[01:25] <ikatamoonshots> only commands i could find adhoc , no idea how precse they are, the dmesg command anys lists all my sata ports
[01:26] <Woodpecker> Where would I tell users to store a basic config for username, password, and accountname? /home/foo/.myapp.rc ? something in /etc/? something in ~/.local ?
[01:30] <tomreyn> Woodpecker: this doesn't look like an ubuntu support question, more like one about secure software development?
[01:31] <Woodpecker> tomreyn: only so far as I try to follow ubuntu style guidelines for software development.
[01:32] <tomreyn> configuration files within the user scope go to ~/.config/ or a subdirectory there.
[01:32] <tomreyn> storing crendentials on the filesystem is obviously risky.
[01:34] <ikatamoonshots> you could store them in a file owned by root so sudo scripts can source it - but as tom said, really try to avoid that - there are password managers tough
[01:34] <cYnIxX3> maybe try and use keys rather than passwords?
[01:35] <ikatamoonshots> if you store it make sure only root can read it
[01:35] <ub3g33k> chmod 600 on the file storing the creds in ~/.config/{app name} should be sufficient
[01:35] <ub3g33k> (It's good enough for ssh keys and all)
[01:36] <ub3g33k> Or, store the creds in the gnome or kde keyring
[01:36] <yao_ziyuan> i see. my problem is chrome's problem. firefox renders the same bold text correctly.
[01:39] <Woodpecker> tomreyn: true
[01:39] <Woodpecker>  thanks
[02:12] <babou_tunt> anyone ever ran into an issue where ubuntu on AWS isn't detecting and autoconfiguring AWS EC2 NIC settings?
[02:14] <babou_tunt> I added a 2nd nic in AWS EC2, has elastic ip, manual config (which is not persistent) makes it work in /etc/networking/interfaces.d/50-cloud-init.cfg
[02:32] <babou_tunt> ok so i think it is a cloud-init issue
[02:34] <Suicidal_Santa> how do i restart my audio driver https://i.imgur.com/7dXzTWX.png
[03:17] <headrx> hey everyone how are ya
[03:18] <matsaman> okay—you?
[03:18] <headrx> not to shabby
[03:18] <matsaman> that's what's up
[03:19] <headrx> i have a quick question.. having problems killing process's.. in bash, i list process's with ps, the i do kill 'pid'... to no avail..
[03:19] <matsaman> kill -9 pid
[03:19] <headrx> sweet
[03:19] <headrx> also, one more question, how can i kill process's by cmd name
[03:19] <EriC^^> pkill
[03:20] <matsaman> killall command
[03:20] <matsaman> kill -9 $(pgrep -x certainname)
[03:20] <EriC^^> or pkill <command name>
[03:21] <matsaman> whatcha got against p
[03:22] <ub3g33k> headrx: is that process a zombie?
[03:23] <ub3g33k> if so, only a reboot can get rid of it.  But, no worries!  zombies only take up like 32 bytes of RAM each :)
[03:23] <ub3g33k> It's just annoying, that's all
[03:23] <headrx> EriC^^, matsaman,: Got it taken care of, pesky python
[03:24] <headrx> ub3g33k: No sure no half-alive process's in my table lol
[03:24] <Bashing-om> ub3g33k: Zombies can be found and killed : http://askubuntu.com/questions/111422/how-to-find-zombie-process .
[03:25] <headrx> question though , what is the 32 bytes store  ? Just the process info?
[03:25] <Rulzern> tomreyn: I figured it out, it turns out that disconnecting one of the case fans from the motherboard makes the USB work (!!!), I don't know if the issue is with the motherboard or the fan, but one of the fans definately makes USB not work (the other fan has no effect one way or the other)
[03:26] <EriC^^> Rulzern: that's odd and pretty cool you were able to figure it out
[03:26] <Rulzern> very odd!
[03:30] <Rulzern> EriC^^: my first thought was a PSU issue, but now I have a web camera + 2 microphones + storage + wireless connected over USB, which should pull much more wattage than the fan... so I guess it's a problem on the motherboard... first I've ever even heard of something like this
[03:33] <ub3g33k> headrx: yes
[03:33] <tomreyn> Rulzern: weird indeed, good find! Some mainboards allow you to provide extra power to the USB by attaching a special power cable from the PSU to some place on the mainboard. Maybe you were using this cable for powering the case fan? It seems unlikely, I don't think the connectors would match, but i'm bringing it up just in case...
[03:34] <ub3g33k> Bashing-om: Um, not really, unless you kill init... https://askubuntu.com/questions/30891/is-there-any-way-to-kill-a-zombie-process-without-reboot?lq=1
[03:34] <EriC^^> Rulzern: maybe try a different known working fan?
[03:35] <Rulzern> EriC^^: it's ok, I can live without the extra case fan
[03:36] <Bashing-om> ub3g33k: reading ..
[03:36] <Rulzern> tomreyn: I was using the standard sysfan connector on the MB (label SYSFAN2 if I recall correctly)
[03:37] <tomreyn> nice buggy mobo :)
[03:39] <foo> I'm on ubuntu 18.04, previously 14.04. On 14.04 I had my init scripts in /etc/init/. Is this the place to put them on 18.04 ?
[03:39] <Rulzern> "nice"... I think I'll stay away from MSI next time :p
[03:40] <matsaman> foo: you probably need to read a systemd conversion guide, I'd guess
[03:41] <foo> matsaman: so there was a change from 14.04 to 18.04, I wasn't sure. What was the name of the old system if the newer one was systemd?
[03:41] <foo> s/was systemd/is systemd/
[03:41] <matsaman> foo: it happend in version 15, AIUI
[03:41] <matsaman> foo: probably 'upstart'
[03:41] <foo> matsaman: sounds about right, thank you
[03:41] <matsaman> and before that it was good old sysv, which is what sane people still use
[03:41] <matsaman> foo: https://wiki.ubuntu.com/SystemdForUpstartUsers
[03:41] <foo> matsaman: heh. Strange is digital ocean agent is still in /etc/init ... which makes me wonder.
[03:42] <matsaman> well, a lot of people think LTS is a license to avoid updates
[03:42] <foo> matsaman: correct: systemd introduced in 15.04, FWIW
[03:43] <matsaman> and a lot more people think once you get anything generating a profit, you should immediately rest on your laurels and let your business die ... after all nobody needs money after you get yours, rite?
[03:44]  * foo shrugs, /me wants to do it the proper way
[03:44]  * foo converts a upstart script to systemd
[03:44] <matsaman> bon voyage
[03:45]  * foo yanks a script he used in another system from /etc/systemd/system and drops into his new system
[03:46] <ub3g33k> foo, you need to make sure bar is on board, as well :)
[03:47] <foo> ub3g33k: speaking of which, I was going to visit after this is done! ;)
[03:47] <WoC> is there a way to unsnap a system in a safe way ? As in rmoving snap and replacing the installed snap packages with normal packages in a safe way ?
[03:48] <WoC> w/o running into problems with dependencys that is
[03:48] <Bashing-om> WoC: Consider : https://ubuntuforums.org/showthread.php?t=2328152 .
[03:49] <WoC> i understand some may use snap, i.e. built with components that can not be upgraded/built/etc
[03:55] <WoC> ty Bashing-om appreciated
[04:00] <Bashing-om> WoC: :)
[04:11] <Intelo> JimBuntu, I rebooted to windows 10 after replugging the battery. The charge went to 58% and stopped there. The only difference I see now is kubuntu says '58% and charging' while windows 10 says '58% and not charging'
[04:14] <myself> I wonder if ubuntu doesn't differentiate between "plugged in" and "charging" status; some laptops can do one but not the other, depending on which adapter they're plugged into, the battery temperature, etc. I'd tend to believe the Windows report.
[04:16] <WoC> myself: chances are the regulator on that battery is faulty
[04:17]  * WoC makes a note; now i talk to myself again...
[04:17] <Intelo> WoC,  not the cells?
[04:17] <Intelo> WoC,  can regulator be fixed?
[04:17] <myself> I've had a series of laptops with odd battery management options, including the ability to soft limit the charge termination
[04:18] <WoC> i think it is the actual regulator, usually imho that tend to fail most frequent
[04:18] <Intelo> WoC,  can the regulator be fixed?
[04:18] <WoC> if you have the skills ;)
[04:18] <WoC> replaced ;)
[04:19] <WoC> most would just replace the whole battery
[04:19] <Intelo> hm. so a workshop can replace it? how much it migh cost me?
[04:19] <WoC> they tend to explode if heated inproperly
[04:19] <Intelo> WoC,  how much would a m6700 batter cost with max cells available
[04:19] <myself> if it discharges normally and charges up but stops at the same spot every time, the BMS is likely sane and just obeying what its coulomb-counter tells it about the battery SoC and voltage
[04:19] <WoC> idk
[04:20] <Intelo> myself,  'bms'?
[04:20] <WoC> havent checked prices in decades
[04:20] <myself> battery management system, the chip in the battery that monitors what it's up to and tracks its behavior even as batteries get swapped around
[04:21] <Intelo> WoC,  myself  should I order at dell.com?
[04:21] <WoC> look up the part number and see if you can get it elsewhere, cheaper
[04:22] <myself> yeah, batteries will be all over, but you want to be careful of "new old stock", a battery that's been on a shelf 3 years even with 0 charge cycles will still be a crap battery.
[04:22] <Intelo> dam Kit - 9-cell (97Wh) Lithium Ion battery with ExpressCharge
[04:22] <Intelo> $149.99
[04:22] <WoC> Intelo: if you look up the part number you will usually find upgrades as to capacity as well as cheaper alternatives
[04:23] <WoC> Dell would for sure be your most expensive option
[04:24] <Intelo> WoC,  myself  I bought the full laptop m6700 for double of this price $149.99 .
[04:24] <Intelo> second hand
[04:25] <WoC> Somehow i still use this <censored> N7110...
[04:26] <Intelo> WoC,  myself  ok, what option to get it from if I am in india/ pakistan
[04:26] <WoC> Goos thing there are some folks making bios-mods, so now i have UEFI
[04:27] <WoC> Intelo: i have no idea, to be honest, I'm land locked in Texas
[04:27] <Intelo> $50 https://www.amazon.com/11-1V-M6700-Battery-Precision-Laptop-SOLICE/dp/B01MQJA1F7
[04:28] <WoC> Something like that yes
[04:29] <WoC> gtg, best of luck and an early Merry Christmas
[04:29] <myself> personally, I would not walk away from a third-party battery with cells of unknown provenance.. I've seen too many fires.
[04:29] <myself> But that's up to your own sense of cost and risk.
[04:29] <myself> And we're way, way off-topic :P
[04:41] <Intelo> myself,  third party?
[04:41] <Intelo> myself, #hardware?
[04:44] <Intelo> myself,  you mean to buy from dell only?
[04:56] <slidinghorn> This isn't directly an ubuntu question, but its seems appropriate to ask here:  In some PDF documents, evince's page counter/navigator doesn't match the actual page number in the table of contents - by the end of a (by evince's count) 293, the actual document is at 316.  Is there something I'm missing?
[04:57] <slidinghorn> oh wow...disregard - I just realized there are some pages omitted (likely blank pages at the start of a chapter or something...)
[05:08] <matsaman> slidinghorn: yeah, PDF sucks
[06:52] <elias_a> slidinghorn: That is quite usual, actually. Page numbers usually start from TOC page(s).
[07:09] <Suicidal_Santa> why doesnt ppa-purge work?
[07:10] <Suicidal_Santa> https://paste.pound-python.org/show/UCqw4bu6hz63LaN2PJFg/
[07:16] <Suicidal_Santa> root@Mobile-C:/home/mobile_c# ppa-purge [ppa:]enlightenment-git/ubuntu
[07:16] <Suicidal_Santa> Updating packages lists
[07:16] <Suicidal_Santa> E: The repository 'http://ppa.launchpad.net/enlightenment-git/ppa/ubuntu bionic Release' does not have a Release file.
[07:24] <lotuspsychje> !ppapurge | Suicidal_Santa
[07:30] <tomreyn> Suicidal_Santa: so make it "ppa-purge ppa:enlightenment-git/ubuntu". but it'll still fail to remove since ppa-purge can't handle this istuation where there is no longer a release file present for your ubuntu release.
[07:31] <tomreyn> Suicidal_Santa: alas you need to use "apt-add-repository --remove ppa:enlightenment-git/ubuntu" instead, then revoke your trust in the apt repositories' signing key using the "apt-key" command.
[07:47] <coz_> good morning
[07:48] <lotuspsychje> morning coz_ what can we do for you?
[07:51] <elias_a> World peace and good will to all? :)
[07:51] <coz_> lotuspsychje, thanks for recognition, not much, just stopped in to see if I could be of help, unless you are a gimp dev, then I would have a few words for you ")
[07:52] <coz_> elias_a, morning
[08:07] <coz_> 3am here east coast US. most of you guys are in Europe at this time, yes?
[08:07] <lotuspsychje> coz_: come join to #ubuntu-discuss
[08:08] <coz_> ok
[08:18] <iuiujh> is ubuntu gonna drop qt4 framework?
[08:20] <elias_a> coz_: Yep. I'm in Finland.
[08:24] <coz_> elias_a,  I thought as much ")
[08:25] <varaindemian> what's the lightest version of *buntu for an old laptop?
[08:25] <varaindemian> xubuntu or lubuntu?
[08:25] <ducasse> either
[08:25] <mojtaba> Hello, I am using Ubuntu 16.04 LTS. Do you know what should I do to disconnect internet, upon VPN disconnection?
[08:25] <coz_> kde-neon seems to be somewhat slim surprisingly...
[08:26] <ducasse> varaindemian: yjere's not much difference
[08:26] <mojtaba> I use the gui to auto connect to VPN, upon internet connection.
[08:28] <coz_> varaindemian, I take that back, xubuntu and lubuntu are better options, I have not tried neon on an older system
[08:28] <coz_> live usb should reveal something
[08:33] <coz_> varaindemian,  this might be of some interest https://itsfoss.com/lightweight-linux-beginners/
[08:39] <varaindemian> thank you!
[08:53] <mojtaba> Hello, I am using Ubuntu 16.04 LTS. Do you know what should I do to disconnect internet, upon VPN disconnection? I use the gui to auto connect to VPN, upon internet connection.
[08:54] <ikonia> what ?
[08:54] <ikonia> you're talking about disconnecting the internet but saying you use a vpn over the internet
[08:56] <tomreyn> i'm guessing the idea is to prevent traffic (which would otherwise go through the vpn) leaking through the default non-vpn internet connection in case the vpn connection fails.
[08:57] <ikonia> that's a pretty different question to "how do I turn off the internet"
[08:57] <tomreyn> it is, so, again, just guessing
[08:57] <ikonia> it's a sane guess
[08:57] <mojtaba> ikonia: I am connected to the VPN, while I am connected to the internet. I would like to get disconnected from internet, if/when my VPN is down.
[08:58] <mojtaba> tomreyn: exactly.
[08:58] <ikonia> mojtaba: you'd have to write some conditional health checks
[08:58] <mojtaba> ikonia: Do you know from where should I start? Where should I put that script, if it is the script.
[08:59] <ikonia> mojtaba: got to be honest, there are few cases for such an extreme situation
[09:00] <ikonia> so if you can justify it beyond "I want to hide my identity because I do" I'll help
[09:00] <mojtaba> ikonia: Yes. :)
[09:00] <ikonia> yes what ?
[09:02] <mojtaba> You said, You'll help.
[09:02] <ikonia> no, I didn't
[09:02] <ikonia> re-read what I said
[09:03] <mojtaba> at the end of your sentence: I'll help
[09:04] <ikonia> yes, read the start
[09:04] <ikonia> and if you can't grasp the conditional statement I put in my response, I doubt you'll be able to grasp the conditional statements needed to write health checks
[09:07] <mojtaba> I want to keep my IP address consistent. ( That is why I am going to use VPN, not Tor, to just hide my identity.) If that meets the first part of your sentence!
[09:08] <blip99> hi all.  My OS does a filesystem check during every boot (during boot screen), been happening for 6 months - makes the boot take 5 mins if i don't cancel
[09:08] <blip99> any idea how I can find the cause? and disable it if not needed
[09:09] <mojtaba> ikonia:
[09:09] <ikonia> mojtaba: no, it's not
[09:10] <tomreyn> blip99: either the file system is configured to do checks on every mount, or he storage is broken and needs to be replaced, or both.
[09:10] <mojtaba> Does anyone except ikonia knows how to get disconnected from internet, upon VPN disconnection?
[09:10] <tomreyn> blip99: which file system (where mounted) exactly? / or /boot or something else?
[09:15] <blip99> tomreyn, im not sure which fs is being checked, im on a relatively new high end laptop with an SSD
[09:16] <blip99> can i get you some info from df or such tomreyn?
[09:18] <blip99> ext4 on both / and /home.  2 linux partitions
[09:18] <blip99> i guess ill backup and manually run fs check on both.  can you recommend any particular fschk params?
[09:23] <tomreyn> blip99: run "mount" to determine the partitions or other backing devic3es which these file systems are located on
[09:24] <tomreyn> blip99: then, assuming one is stored on /dev/sda2, you'd run:  dumpe2fs -h /dev/sda2 | grep -E '^(Check interval|Last checked|Mount count|Maximum mount count|Last mount time):'
[09:24] <tomreyn> this works for ext file systems only, but thats what you say you have
[09:26] <tomreyn> blip99: then read the tune2fs man page, section 8, about the "-C mount-count" and "-T time-last-checked" options
[09:27] <tomreyn> also "-c max-mount-counts"
[09:28] <tomreyn> ...and "-i  interval-between-checks[d|m|w]"
[09:28] <tomreyn> that's it ;)
[09:29] <blip99> tomreyn, i was hoping for a gui but i'll take it :D
[09:30] <tomreyn> there wont be any for those
[09:31] <blip99> thanks will come back here in the evening after trying it out
[09:31] <tomreyn> blip99: for the baseline, all of this is about case 1 discussed at https://help.ubuntu.com/community/FilesystemTroubleshooting#e2fsprogs_-_ext2.2C_ext3.2C_ext4_filesystems
[09:31]  * tomreyn types too slow
[09:38] <tomreyn> mojtaba: you don'T actually need to disconnect the network connection if the vpn fails, you just need to ensure no traffic will be sent through it. that's what firewalls are good for: https://serverfault.com/questions/473112/iptables-force-all-traffic-over-vpn-and-drop-all-traffic-when-no-vpn-connecti
[09:39] <mojtaba> tomreyn: Thanks a lot.
[09:39] <tomreyn> but some basic firewall / networking is necessary to understand this stuff.
[09:40] <mojtaba> tomreyn: I am using ufw at the moment.
[09:40] <tomreyn> you dont actually need / want the dns whitelisting if you want to force dns resultion through the vpn '(and have configured the vpn connection to do so, and the vpn is actually capable of that.
[09:40] <tomreyn> )
[09:42] <mojtaba> tomreyn: Yes, and thanks again.
[09:55] <talin> hello. does anyone know how to change what command gets run when you click the icon for an application? i'm running 18.04 LTS
[09:55] <talin> permanently, that is
[09:55] <talin> i want firefox to run "firejail firefix"
[09:55] <talin> firefox*
[09:55] <talin> for example
[10:03] <iuiujh> talin: copy the corresponding desktop file into ~/.local/share/applications and edit it
[10:03] <talin> iuiujh: thank you
[10:10] <tomreyn> talin: after editing, consider testing it with desktop-file-validate before you desktop-file-install it
[10:12] <tomreyn> actually you dont need to install it if it's already in ~/.local/share/applications, but may need to run update-menus
[10:17] <N3sh108> Hello! I have a simple question that I cannot seem to phrase properly for finding it online :/ .. I want to do have a folder "Data" on HDD1 being replicated exactly on HDD2, both on the same machine. What's the best approach for that?
[10:17] <N3sh108> I was thinking of using a RAID1 but I happen to have 2 drives with different sizes, so I gotta use that instead
[10:18] <Ben64> N3sh108: what's the purpose
[10:19] <N3sh108> I am installing something like a dropbox on my spare laptop. I want to make sure that even if HDD1 dies, I have the backup of the data
[10:19] <Ben64> run an rsync backup every night or something then
[10:20] <N3sh108> so I can rsync locally?
[10:20] <Ben64> yep
[10:20] <tomreyn> or just a mirror raid?
[10:20] <tomreyn> software raid doesn't trquire same size.
[10:20] <N3sh108> doesn't RAID require drives of equal size?
[10:20] <Ben64> raid isn't backup
[10:21] <N3sh108> mmm ok
[10:21] <N3sh108> I would want a realtime replication
[10:21] <N3sh108> so I don't lose stuff
[10:21] <Ben64> kinda dangerous, if something bad happens then you instantly lose your backup
[10:22] <tomreyn> another disk on the same computer can hardly be considered backup either
[10:22] <N3sh108> why not?
[10:22] <Ben64> more so than raid
[10:22] <N3sh108> clearly backup on HDD failure
[10:22] <tomreyn> yes, rsync is better for this use case, Ben64 is right
[10:23] <N3sh108> but then I have a time between backup where I can lose everything I put there
[10:23] <tomreyn> yes, backups are not constant but snapshots.
[10:24] <tomreyn> you can have both, mirror raid and backup
[10:24] <N3sh108> and say, I do a rsync backup every X hours
[10:24] <N3sh108> and HDD1 fails, is it easy to get a new drive and bring the data back?
[10:24] <Ben64> it's just files on hdd2
[10:25] <N3sh108> yeah but I expect them to be structured differently, as they are incremental snapshots
[10:25] <tomreyn> rsync doesn't create incremental snapshots, it creates a copy.
[10:26] <N3sh108> then Im thinking that perhaps software RAID is better
[10:26] <Ben64> it isn't but do what makes you happy
[10:26] <N3sh108> I am already using this machine as a backup, I am just interested in having some sort of failure avoidance if any of the 2 HDDs die
[10:27] <N3sh108> another use would be so push to my bitbucket and to this as well, so I have a backup there
[10:28] <N3sh108> why not @Ben64
[10:28] <Ben64> https://blog.open-e.com/why-raid-is-not-a-backup/
[10:28] <EriC^^> N3sh108: you can use rsync + ext4 + hard links to make incremental backups
[10:28] <N3sh108> ideally I'd like to have the Data folder being replicated on 2 HDDs, if HDD1 or HDD2 die, I want to have it saved
[10:28] <Ben64> or any of the other tons of links on google for "raid is not a backup"
[10:29] <EriC^^> there's an indepth script floating around somewhere that does just that
[10:30] <N3sh108> ok, makes sense Ben64
[10:30] <N3sh108> I will look into that EriC^^
[10:30] <N3sh108> thanks :)
[10:30] <mispp> hey all, is there any way to disable those numbers poping up when meta+number is pressed?
[10:31] <EriC^^> N3sh108: np
[10:32] <Ben64> mispp: ??
[10:32] <N3sh108> if you happen to find a write-up with that approach, feel free to ping me :)
[10:37] <EriC^^> N3sh108: i've never used it before so test on a dummy dir and see how it goes etc https://askubuntu.com/questions/666323/incremental-backup-script
[10:42] <EriC^^> N3sh108: i wonder if it copies them the first time, then starts using hard links? or it just relies on the original files, which would be a problem
[10:43] <mispp> @Ben64: in ubuntu, when you have favorites on a left panel/launcher, you can start them with meta+1 or meta+2. briefly, when you use this shortcut, numbers are shown (i.e. sequential numbers for the icons). i want to disable showing those numbers
[10:44] <mispp> (i forgot to put "..."; obviously you can use numbers bigger than 1 and 2)
[10:46] <Ben64> oh i don't have that launcher
[10:47] <mispp> this is default launcher... a fork of dash-to-panel... in original it can be disabled, but in ubuntu's gnomified version it cant
[10:47] <mispp> so i was wondering if someone has a way to deal with that
[10:47] <EriC^^> mispp: maybe there's a command line way to do it via gsettings >
[10:48] <EriC^^> gsettings list-recursively | grep launcher    maybe?
[10:50] <mispp> EriC^^: yep, you are probably right. there is dash to dock... it can probably be set there
[10:50] <mispp> thanks
[10:51] <EriC^^> mispp: np
[11:04] <mobile_c> how do i fix this
[11:04] <mobile_c> E: Unable to locate package libpam
[11:04] <mobile_c> https://paste.pound-python.org/show/LWToNbLLjgqFMwZC4Oa5/
[11:08] <tomreyn> mobile_c: you use package names of packages which actually exist
[11:08] <mobile_c> https://www.enlightenment.org/docs/distros/start
[11:09] <mobile_c> im trying to build terminology from source
[11:09] <mobile_c> since the one in the deb repo's has bugs
[11:10] <tomreyn> this page wont finish loading here
[11:10] <tomreyn> okay, now it did
[11:11] <tomreyn> /join #e
[11:12] <mobile_c> E: Unable to locate package libajit* E: Couldn't find any package by glob 'libajit*' E: Couldn't find any package by regex 'libajit*' E: Unable to locate package libutil-linux* E: Couldn't find any package by glob 'libutil-linux*' E: Couldn't find any package by regex 'libutil-linux*'
[11:12] <mobile_c> ;-;
[11:13] <tomreyn> mobile_c: have you rea this? may be easier to go with the ppa https://www.enlightenment.org/docs/distros/ubuntu-start.md
[11:13] <tomreyn> (or just file bugs and wait for fixes if not so critical)
[11:13] <mobile_c> the ppa doesnt work
[11:13] <mobile_c> no release file found
[11:14] <tomreyn> oh, bad luck. well get help in channel #e , i guess
[11:22] <weq> anyone able to share some insight in why a ubuntu server aren't able to connect to a wifi network? I can see the wifi with iwlist and afaik the netplan configuration is correct. Networkctl just reports that it is degraded in connection status.
[11:42] <weq> anyone know ho to abort the console-conf that occurs at start up?
[11:57] <lotuspsychje> weq: join #ubuntu-server for likeminded volunteers
[11:58] <weq> ty
[12:45] <joshsyn> helloi
[12:46] <joshsyn> I am finding myself checkout different git repos
[12:46] <joshsyn> installing dependencies via apt get and a month later the dependencies just occupies space
[12:47] <joshsyn> is there a way to install packages like if I remove the git repo folder, the dependency are also gone
[12:47] <lotuspsychje> joshsyn: start from the beginning please, ubuntu version what are you trying to do
[12:47] <joshsyn> instead of everything being centralized
[12:48] <joshsyn> The dependencies over time, I forget what I installed and just occupies space, I am not a good maintainer of my personal system
[12:48] <joshsyn> something like docker or nix would help the situation
[12:49] <joshsyn> it would be great if the whole system had a concept of local packages and global packages like npm
[12:54] <tomreyn> joshsyn: either you keep track of packages you install, or you don't - if it's manually installed packages, you'll need to remove them manually. there is, however, "apt-mark auto" and "deborphan -a --libdevel"
[12:55] <tomreyn> you could also build debian source packages from your source code, then dependency tracking becomes possible
[12:56] <joshsyn> that is the problem.
[12:57] <joshsyn> lot of times, packages are not in debian format, but simply rely on dependencies like libsqlite or sth, which I never need except for the lifetime of testing a certain application
[12:57] <joshsyn> I was just looking for ideas, but think I'll just stick to docker
[13:08] <TJ-> joshsyn: containers work, or simply chroot installs
[13:13] <usr123> Hey, my laptop keeps on freezing when I open Chromium or firefox
[13:13] <usr123> Doesn't happen with any other application. Emacs, pdf reader, vlc etc. Only when I use a browser.
[13:13] <usr123> I'm using 18.04
[13:14] <tomreyn> usr123: is this new, or has it been since you installed 18.04? what were you running there previously, where it didnt happen?
[13:15] <tomreyn> usr123: and what's the hardware exactly? dmesg -t | grep ^DMI:
[14:57] <FreeBDSM> hello, does ubuntu have multiarch?
[14:57] <lotuspsychje> FreeBDSM: 32bit is a dying species
[14:58] <FreeBDSM> I did `sudo apt install --reinstall libnvidia-gl-415` and got this: https://paste.ee/p/y1OxH
[14:58] <FreeBDSM> lines 19 and 20 tell me that both archs are installed, right?
[14:58] <EriC^> correct
[14:59] <FreeBDSM> why does `apt list --installed | grep libnvidia-gl` return only `libnvidia-gl-415/bionic,now 415.25-0ubuntu0~gpu18.04.1 amd64 [installed,automatic]` ?
[14:59] <EriC^> FreeBDSM: try dpkg -l | grep libnvidia
[15:00] <TJ-> FreeBDSM: what does "dpkg --print-foreign-architectures" report?
[15:00] <FreeBDSM> i386
[15:00] <FreeBDSM> EriC^: phew! thanks! see both archs now
[15:00] <EriC^> FreeBDSM: cool, np
[15:01] <eraserpencil_> hi
[15:02] <eraserpencil_> Would someone help me get bumblebee working on a new laptop i got?
[15:02] <eraserpencil_> I have tried several guides, but nont of them seem to work for me
[15:02] <eraserpencil_> i must be doing something very wrong and would love a guide
[15:03] <EriC^> eraserpencil_: bumblebee is old and deprecated, did you try nvidia-prime?
[15:03] <FreeBDSM> `dpkg -l | grep nvidia`: https://paste.ee/p/VHAo4    looks like I do have some configs from uninstalled packages, do I need to purge them?
[15:04] <eraserpencil_> wait...bumblee is old? so the edits i made based on those guides...i need to undo them?
[15:05] <EriC^> !bumblebee
[15:05] <EriC^> !nvidia-prime
[15:05] <FreeBDSM> !purge
[15:05] <EriC^> eraserpencil_: yeah it's old
[15:05] <FreeBDSM> should I purge all removed packages?
[15:06] <FreeBDSM> ah, screw them
[15:09] <eraserpencil_> hmmm
[15:10] <eraserpencil_> ive been messing around some config files in /etc that it's now a tad unstable for me...
[15:10] <eraserpencil_> i get some tty errors occasionally
[15:14] <eraserpencil_> any good way to undo the changes i made
[15:20] <kumul> eraserpencil_, use zfs and rollback everything
[15:48] <varaindemian> Why I cannot burn an image to a disk using brasero? The usb drive is not available inside the app (I cannot select it)
[16:00] <TJ-> varaindemian: brasero is for writing to optical media only
[16:08] <sonicwind> varaindemian, I use Xfburn instead.
[16:11] <sonicwind> varaindemian, forget that. I think Xfburn is also only for optical media.
[16:11] <coconut> varaindemian: you can use cp, dd, or etcher for that.(i recommend etcher)
[16:23] <prohobo> is 18 a lot better than 16?
[16:25] <usr123> My laptop has been behaving very weird after I restarted it. Usually I just put the flap down but after a bunch of software updates it keeps on freezing every time I boot up
[16:25] <lotuspsychje> prohobo: its hard to compare versions, depends on your hardware wich ubuntu version runs well or not
[16:25] <usr123> Once while booting it also gave me this error, failed command: READ FPDMA QUEUED
[16:26] <usr123> I am using ubuntu 18.04
[16:27] <prohobo> well i guess i'll find out then
[16:27] <EriC^> usr123: try sudo apt-get install smartmontools && sudo smartctl -a /dev/sda
[16:27] <usr123> https://dpaste.de/LjeQ
[16:27] <usr123> Here is the paste of the command
[16:27] <usr123> EriC^: The above paste
[16:27] <lotuspsychje> prohobo: you can test ubuntu on a liveusb if you like
[16:28] <EriC^> usr123: looks as if the disk is dying, 530 reallocated sectors
[16:28] <usr123> EriC^: While line?
[16:28] <EriC^> 58
[16:28] <usr123> What does that mean?
[16:28] <usr123> relocated sectors means?
[16:29] <EriC^> usr123: it means some sectors in the hdd weren't being able to be used anymore, and it reallocated the data to spare sectors, 530 ones til now, soon it will just lose your data, time to get a new one and copy the stuff there
[16:30] <usr123> EriC^: Wow.
[16:30] <usr123> EriC^: So I need a new hdd?
[16:30] <EriC^> is it new? the power on hours says only like 38days
[16:31] <usr123> EriC^: Pretty new, only been like 8 months on this laptop
[16:31] <EriC^> i find it odd there are 530 reallocated and no offline uncorrectable ones (stuff it couldnt actually correct to spare sectors), just seems kinda odd
[16:32] <usr123> So there are no damaged sectors and it's still relocating stuff is what you mean?
[16:34] <EriC^> no i mean like sometimes it cant recover the data from the damaged sector to reallocate it
[16:34] <EriC^> google suggests the error you pasted might be due to a bad sata cable or something
[16:35] <EriC^> oh nevermind, my bad
[16:36] <usr123> EriC^: Umm, I'm sorry what's a SATA cable?
[16:38] <EriC^> nevermind usr123
[16:40] <EriC^> usr123: maybe somebody can confirm the results of smartctl here or possibly in ##hardware
[16:41] <nehemiah> I need a custom skeleton directory for users that log in for the first time. The way I've been doing that in the past is by logging in a user configuring everything I need and then copy that profile to the Skel directory.
[16:41] <nehemiah> But this also copies some references that then have to be removed. Is there a more graceful way to do this?
[16:48] <OerHeks> nehemiah, like the OEM install procedure? https://help.ubuntu.com/community/Ubuntu_OEM_Installer_Overview
[16:50] <mojtaba> Hello, I am using Ubuntu 16.04 LTS and Torsocks as system wide proxy. Do you know how can I fix DNS leakage through Socks?
[16:50] <nehemiah> OerHeks, I don't think that's really what I'm after. I'm working with PXE booting computers. When new users log in for the first time, /etc/skel gets copied into their home directory. I like for them to have some presets that's why I edit the 'skel' dir.
[16:56] <cryptodan_mobile> nehemiah: create them first in /etc/skel
[17:13] <OerHeks> nehemiah, oke, explain what 'some references'
[17:14] <foo> Is there a way to use "mail" command in linux ubuntu with mailgun? I just did apt-get install mailutils... and realized it installed postfix + mysql common ... plus a bunch of stuff I probably don't want... I some random stuff on my system uses mail command but everything is routed through mailgun.
[17:18] <varaindemian> Thank you!
[17:18] <varaindemian> coconut: ^
[17:18] <varaindemian> sonicwind: ^
[17:18] <varaindemian> TJ-: ^
[17:22] <genewitch> sometimes my laptop (18.10) screen wakes up and sometimes it doesn't. Is there any way to figure out what is going on? I get the little cursor blinking top left either way, but whether that goes to desktop or a dark screen seems random.
[17:22] <genewitch> or a button combination to force the screen to come up
[17:23] <lotuspsychje> genewitch: cold boot or hibernate/suspend
[17:26] <genewitch> lotuspsychje: sleep, like if i just leave it alone for a bit
[17:26] <genewitch> lotuspsychje: also if i close the lid, same thing, sometimes it comes back to desktop, sometimes not
[17:26] <OerHeks> random, that makes it more difficult to determin
[17:26] <lotuspsychje> genewitch: wich graphics card chipset & driver version please?
[17:26] <genewitch> intell 600
[17:27] <OerHeks> if you use wireless too, that might explain it
[17:27] <genewitch> The lspci -k shows i915 driver
[17:27] <electrona> Hi, I'm on kubuntu and when I close my laptop, it doesnt lock. Anyone experience this?
[17:28] <genewitch> OerHeks: it is on wifi, as well :-D
[17:36] <genewitch> lotuspsychje_: dunno if you say, intel celeron built in, (i think 600) and i915 driver
[17:40] <lotuspsychje> ok genewitch check your syslog or dmesg for relevant errors
[17:41] <genewitch> if it happens again i'll type dmesg >>dmesg.txt (i have terminal window open) - that way if i have to power cycle it to get it back up i can still see
[17:42] <genewitch> it's funny, because if i hold the power button for 2 seconds, the screen comes right up to show me it's shutting down
[17:43] <OerHeks> if you switch to TTY2 and back to TTY7, does this resolve?
[17:44] <genewitch> i'll check that too
[17:45] <DebianNoob> Issues with connecting from Dbian to Ubuntu 18.10 via desktop sharing - Do I use VNC/port number/ what format?  username@IP:port?
[17:45] <DebianNoob> KRDC in Debian
[17:45] <genewitch> OerHeks: "This session is locked You'll be redirected to the unlock dialog automatically in a few seconds"
[17:45] <genewitch> OerHeks: stuck there
[17:46] <genewitch> okay so it looks like closing the lid causes it to not come back up 100% of the time (or close enough to be annoying) - but if you leave the lid open and it shuts the screen off, it's "random"
[17:48] <Teodoro777> Anyone uses scanners on Ubuntu??
[17:48] <Teodoro777> I can't without this fix..
[17:48] <Teodoro777> Problem: My scanner Canon pixma mg3650 is correctly recognized, but when I lunch the real scan, it results busy by all software for scan (simplescan, xsane, gimp etc).
[17:48] <Teodoro777> Solution: the fault is of usblp that in somehow lock the scan. So I added this module to blacklist. In fact, I created a file in /etc/modprobe.d named no-usblp.conf, with only "blacklist usblp". With this module disabled, the scan succeed perfectly.
[17:48] <Teodoro777> This bug is present in Ubuntu 18.04 and 18.10. I don't know in older versions. is it possible to delete this module, or keep it disabled by default to avoid the same problem for the next users?
[17:49] <genewitch> it looks like when the lid is closed there's a general protection fault, two unknown events
[17:49] <genewitch> also it looks like it's tty8 that's actually the one that has the desktop
[17:49] <genewitch> that's an ok work around for now, i will investigate the wifi/sleep/hibernate issue
[17:50] <CoJaBo> So, is there a way to disable CTRL+ALT+DEL from rebooting a server? User keeps hitting that, because reasons.
[17:51] <genewitch> remove keyboard
[17:51] <CoJaBo> User needs to login
[17:51] <lotuspsychje> CoJaBo: join #ubuntu-server please
[17:51] <genewitch> CoJaBo: there's a ctrl-alt-del.target in systemd
[17:52] <OerHeks> https://help.ubuntu.com/lts/serverguide/console-security.html.en
[17:52] <CoJaBo> genewitch: How do I find that?
[17:52] <OerHeks> genewitch +1
[17:52] <OerHeks> such easy to find answer, i guess we are your bing/google
[17:53] <CoJaBo> OerHeks: The problem with Google is that it brings up wrong answers
[17:53] <CoJaBo> Apparently, most systems do this in inittab
[17:53] <CoJaBo> Which I guess doesn't exist when using systemd
[17:53] <OerHeks> meh, you have the correct answer now
[17:54] <CoJaBo> Yeh, that link looks perfect thanks =D
[17:54] <DebianNoob> Issues with connecting from Dbian to Ubuntu 18.10 via desktop sharing - Do I use VNC/port number/ what format?  username@IP:port?
[17:54] <CoJaBo> INB4 the user finds another way to "accidentally" reboot the server every week
[17:54] <genewitch> DebianNoob: usually it's IP::screen like 192.168.1.300::1
[17:54] <OerHeks> CoJaBo, let your user set this, so they know when they grow up, howto enable it again
[17:55] <genewitch> unless your VNCd is running on non-standard port
[17:55] <CoJaBo> OerHeks: I feel it would be a VERY bad idea to tell them how to reverse this rofl
[17:55] <DebianNoob> screen as in screen 1?
[17:55] <genewitch> DebianNoob: it's whatever the VNC server says the screen number is when it starts
[17:55] <CoJaBo> OerHeks: My first attempt was just a quick-and-dirty "Pry off the damn key". User just replaced the keyboard to do it again <_<
[17:56] <DebianNoob> KRDC says: The entered address does not have the required form.  Syntax: [username@]host[:port]
[17:56] <OerHeks> actually i was surprised that this windows feature was enabled again
[17:56] <genewitch> DebianNoob: try just the host ip, without the user@ and :port
[17:56] <DebianNoob> VNC server? I have aonly enabled desktop sharing in Ubuntu - is that VNc server?
[17:57] <DebianNoob> ip only gets me a blue screen that never loads
[17:57] <genewitch> oh so it's a debian client issue?
[17:57] <genewitch> #debian ?
[17:57] <lotuspsychje> !bug | Teodoro777
[17:57] <rozebig69> hi every one
[17:57] <DebianNoob> shows vnc://debiansip
[17:57] <varaindemian> can I see the log of this channel somewhere
[17:57] <varaindemian> ?
[17:58] <lotuspsychje> !logs | varaindemian
[17:58] <DebianNoob> Ok well on to main problem - how do I make a simple share on the Ubuntu plexserver that I can see from debian?
[17:59] <varaindemian> coconut: What was the program you mentioned for burning again? :D
[18:00] <varaindemian> I tried from the terminal and it still doesn't work
[18:01] <coconut> varaindemian: not for burning, for putting the image on it: etcher (but gnome disks would do it too if you got linux installed somewhere)
[18:03] <varaindemian> coconut: I tried with gnome disks and from the terminal and it is still ubootable. Tried it on two different machines.
[18:03] <Teodoro777> <freenode_ubo "Teodoro777: If you find a bug in"> Yes, just do it. https://bugs.launchpad.net/ubuntu/+bug/1809590
[18:04] <OerHeks> Teodoro777, why do you copy from an other channel?
[18:05] <coconut> varaindemian: you got your bios set for this or used your keyboard when starting system?
[18:05] <lotuspsychje> Teodoro777: best start your bug with terminal: ubuntu-bug cups please
[18:05] <eraserpencil_> my cpu is hitting 100C on ubuntu
[18:05] <eraserpencil_> how do you manage the temps?
[18:07] <eraserpencil_> im tempted to undervolt it in the TLP config files, but unfamiliar with PHC_Controls
[18:07] <Teodoro777> <freenode_ubo "Launchpad bug 1809590 in Ubuntu "> Yes, it's mine
[18:08] <lotuspsychje> Teodoro777: yes, we see its yours, but if you start the bug from terminal, relevant info will add itself to your bug
[18:08] <lotuspsychje> Teodoro777: now the developers missing alot of usefull information
[18:11] <deanman> anyone had issue with display port and external monitor? I'm running 18.04 and my external monitor will not work with DP. While on login screen though it works but when i login to the windows environment i get a "No signal". Any hints?
[18:12] <prohobo> dude
[18:12] <prohobo> ubuntu 18 with arc-theme is downright sexy
[18:12] <lotuspsychje> !discuss | prohobo
[18:16] <lotuspsychje> deanman: did you try systemsettings/devices/screen/ mirror screens?
[18:17] <deanman> lotuspsychje, i can see the external monitor identified under devices but still not signal. The weird thing is that while on login screen i get output ...
[18:20] <lotuspsychje> deanman: if you see your screen under devices, could you try stretch or mirror as a test?
[18:20] <deanman> Sure, let my try
[18:22] <deanman> bah, mirror display option would still show the "No signal" message
[18:23] <OerHeks> deanman, how about the FN + screen/ext key
[18:25] <Teodoro777> <freenode_lot "Teodoro777: yes, we see its your"> Ok, sorry. I will do it
[18:25] <lotuspsychje> !bug | Teodoro777
[18:27] <deanman> OerHeks, when pressing FN + screen/ext key it shows the overlay and the misc. options, mirror, join, etc. whatever i chose i get the same "No signal"
[18:28] <deanman> it has to be something with the display manager cause it used to work
[18:30] <lotuspsychje> deanman: your system up to date? graphics driver loaded correctly?
[18:35] <deanman> lotuspsychje, it is updated. Nvidia graphics seem to be working fine as well, at least when running the nvidia dedicated utility. Any other way to check which drivers are indeed loaded and are present?
[18:36] <lotuspsychje> deanman: ubuntu-drivers list or software&updates tab drivers
[18:36] <lotuspsychje> deanman: or sudo lshw -C video
[18:37] <lotuspsychje> deanman: another test for your screen: tail -f /var/log/syslog and plug out/back in your screen to see possible errors
[18:38] <deanman> OK, the nvidia utility does not open up when I'm logged with wayland. Could that be a hint or something ?
[18:38] <lotuspsychje> ah your on wayland deanman ?
[18:39] <deanman> let me switch to the normal at login screen
[18:40] <deanman> Right, when logged on normal and not on wayland the monitor does not even get recognised and the nvidia utility now opens up normally
[18:41] <deanman> On `ubuntu-drivers list` command i get back "nvidia-340" and "nvidia-driver-390"
[18:42] <deanman> On "Additional drivers" i see that nvidia-driver-390 (proprieratary, tested) is loaded
[18:43] <lotuspsychje> ok tnx deanman can you try the screens ettings on xorg now too?
[18:44] <deanman> lotuspsychje, ok let me try first the 340 binary driver and then as you proposed the x.org drivers
[18:44] <lotuspsychje> i did not propose the 340
[18:45] <lotuspsychje> deanman: just wanted to know if driver was loaded correctly
[18:45] <lotuspsychje> deanman: you can keep the 390 loaded
[18:46] <deanman> ah ok, did you ask to switch to x.org drivers then or did i misunderstood you?
[18:46] <lotuspsychje> deanman: no, switch from wayland to xorg, but you did that already right
[18:46] <deanman> yeah i did that already
[18:46] <lotuspsychje> deanman: now from ubuntu(on xorg) go test your screen settings please
[18:47] <lotuspsychje> deanman: just to closeout its wayland related
[18:47] <deanman> You mean try mirror option, etc ?
[18:47] <lotuspsychje> yes
[18:48] <deanman> well the funny thing is that when i switch from wayland to xorg, the tv monitor is no longer identified, i can find the laptop monitor
[18:49] <deanman> only*
[18:49] <lotuspsychje> deanman: so your external screen is only detected in wayland?
[18:49] <deanman> Yes sir
[18:49] <deanman> seems so
[18:49] <lotuspsychje> thats weird indeed
[18:49] <lotuspsychje> i would have thinked the way around :p
[18:49] <deanman> and even on wayland just detected, not signal passing through
[18:50] <deanman> if i switch from gdm3 to lightdm then on the login screen i would see signal and monitor being mirrored but when i login then i lose the signal
[18:50] <lotuspsychje> deanman: your install was an lts upgrade?
[18:51] <deanman> lotuspsychje, no I'm almost 98% percent it was a fresh install, i did try live boot with a 18.04 usb to see while on "try mode" whether i get signal but no, i get the same behavior
[18:52] <lotuspsychje> deanman: fresh install 18.04 does not have lightdm, did you install unity?
[18:52] <lotuspsychje> or manually lightdm to test?
[18:53] <deanman> lotuspsychje, i switched from gdm3 to lightdm when i searched on google and found similar incidents
[18:53] <lotuspsychje> ah i see
[18:53] <deanman> but I'm back on gdm3 now
[18:53] <lotuspsychje> almost out of ideas now
[18:53] <deanman> it's also weird that nvidia seems to crash while on wayland but not on xorg
[18:53] <lotuspsychje> deanman: perhaps do the tail with plug out/plugin screen
[18:54] <lotuspsychje> deanman: or test a higher graphics driver from the ubuntu graphics ppa
[18:54] <jhutchins> Is kubuntu still supported?  Currently in usable shape?
[18:54] <deanman> or an older, seemed to be working a month ago
[18:54] <lotuspsychje> jhutchins: yes, see !flavors
[18:54] <jhutchins> !flavors
[18:55] <lotuspsychje> deanman: maybe boot a previous kernel as a test aswell
[18:55] <lotuspsychje> deanman: i have to go now, feel free to re-ask your question to the channel ok
[18:55] <varaindemian> coconut: I used keyboard to select usb as the first boot option
[18:55] <jhutchins> lotuspsychje: Thanks.  I know on some distros it's currently a bit of a train wreck.
[18:56] <deanman> lotuspsychje, thank you for your support, will try your suggestions
[18:56] <deanman> cheers
[18:56] <lotuspsychje> welcome
[18:57] <coconut> varaindemian: what system? if it is a mac you need to create a different image first.
[18:58] <coconut> varaindemian: and you might need to start with a fat32 filesystem on the usb first before putting the image on it.
[19:00] <jhutchins> coconut: If you put an image on a device it ovewrites whatever filesystem is there, doesn't matter what it was.
[19:02] <coconut> yes, that's true
[19:05] <OneM_Industries> Alright.
[19:05] <OneM_Industries> I have a kinda complicated question.
[19:06] <OneM_Industries> I have an installation of ubuntu on one drive, and an installation of windows 8.1 on another.
[19:07] <OneM_Industries> How do I retro-actively set up a dual boot between the two, without having to continually switch which drive is set to boot in the BIOS?
[19:08] <OerHeks> OneM_Industries, normally you would have grub installed too, let the bios point to that drive, and you might want to tweak grub for showing always/give windows as a bootoption too
[19:08] <OerHeks> see the !grub manual
[19:08] <OneM_Industries> Ok.
[19:23] <Slade> so i'm looking for a kiosk style USB stick.. the only thing it needs to do is connect to wifi and open chromium in a inprivate mode.. no other applications or anything else.. presently x86 hardware
[19:53] <CarlFK> I have 40 kernels - how do I remove them?  apt upgrade shows:  http://paste.ubuntu.com/p/Rm4NtrjRQM/
[19:54] <enzotib> Callek, sudo apt-get autoremove should do the most
[19:54] <CarlFK> enzotib: thanks
[19:55] <CarlFK> enzotib: nope: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[19:57] <TJ-> CarlFK: show us "pastebinit /etc/apt/apt.conf.d/01autoremove-kernels "
[19:58] <CarlFK> TJ-: http://paste.ubuntu.com/p/Kd8rvD4Pcs/
[20:00] <TJ-> CarlFK: now that is weird; you can plainly see there both that it is only protecting the last 3 versions, and it is showing in the comment area lower down that the packages are marked as rc (removed, configured)
[20:00] <TJ-> CarlFK: so not sure why it left the vmlinuz files behind.
[20:01] <TJ-> CarlFK: please show us "pastebinit <( ls -latr /boot/ )"
[20:02] <turbokitty> Anyone know of any resources for learning how to secure Ubuntu? I tried searching but everything im finding is very vague or outdated
[20:02] <iosecure> turbokitty: There's a guide on Ubuntu's website. https://help.ubuntu.com/lts/serverguide/security.html.en
[20:02] <CarlFK> TJ-: (remote box so I can't paste from it)  http://paste.ubuntu.com/p/Y5Cj8Nzcqf/
[20:03] <TJ-> turbokitty: what specifically do you want to do? Ubuntu is designed to be secure by default
[20:03] <iosecure> turbokitty: I'm not sure if that covers what you're looking for. Securing a system can be a pretty in-depth discussion depending on what you're protecting against.
[20:03] <turbokitty> I want to prevent people from hacking the system and installing rootkits/backdoors
[20:03] <CarlFK> iosecure: unplug it ;)  after that, it depends on your needs how much access you do/don't want, what risks you are willing to take
[20:04] <turbokitty> Someone keeps managing to hack my system over wifi. Even though I keep everything up to date and have my firewall enabled.
[20:04] <CarlFK> er, turbokitty^^
[20:04] <iosecure> CarlFK: That's not security. That's just sacrificing availability. ;)
[20:04] <iosecure> turbokitty: Define "hack" in this case.
[20:04] <turbokitty> Installing a rootkit/backdoor and watching everything I do
[20:05] <iosecure> And how are you determining that that's happening?
[20:05] <CarlFK> sure - but we all download and run js from who knows what source.   cuz it makes most websites nice and we all want that.
[20:05] <TJ-> CarlFK: No clues as to why its left some packages behind, weird
[20:05] <turbokitty> Random people in town know things i talk about on irc.
[20:06] <turbokitty> People know my nicknames online, people I have never met.
[20:06] <TJ-> turbokitty: Do you allow other people physical access to the PC?
[20:06] <turbokitty> No
[20:06] <OerHeks> and those people tell you that?
[20:07] <turbokitty> They'd have to have a key to my apartment to have access to my pc
[20:07] <CarlFK> turbokitty: im guessing they are sniffing your network traffic - do you connect to public wifi?
[20:07] <OerHeks> ..hey, you have the same ip, on irc
[20:07] <TJ-> turbokitty: do family members have access ?
[20:07] <iosecure> This sounds like something is being misunderstood.
[20:07] <turbokitty> My dad would, but he isnt computer savvy. the computer is protected by a strong password
[20:07] <iosecure> Could be as simple as "someone that knows you is in this channel."
[20:08] <turbokitty> I do connect to public wifi sometimes
[20:08] <turbokitty> Though I have my irc traffic encrypted.
[20:08] <TJ-> turbokitty: then, unless at some time previously, you've allowed someone access to the PC, I would think it highly unlikely the PC has been compromised
[20:09] <turbokitty> no one ever had access to my pc
[20:09] <turbokitty> Unless over wifi
[20:09] <OerHeks> *kuch* cloak
[20:09] <CarlFK> turbokitty: my advice: you can ignore it.  but if you want to look int secure chatting: this is deemed OK by some smart friends of mine: http://matrix.org
[20:09] <iosecure> Cloaks barely do anything.
[20:10] <CarlFK> turbokitty: what do you mean by "Though I have my irc traffic encrypted." ?
[20:10] <turbokitty> I use secure connection.
[20:10] <TJ-> turbokitty: I just scanned your IP address; your router is open and accessible on multiple ports. That's where the leak is happening.
[20:11] <Geo> Hi, I have a new machine being setup, and two blank SSDs I want to set up a RAID 1 on. I have a livecd in now; should I install ubuntu first, then create the RAID from that partition? or use mdadm now on the blank drives?
[20:11] <turbokitty> TJ-, could you eloborate?
[20:11] <iosecure> Geo: You should create the array first.
[20:12] <turbokitty> Im pretty sure it's someone hacking the wifi router. Since I have seen the thing reboot itself for no reason repeatly months ago
[20:12] <turbokitty> like in the span of seconds.
[20:13] <iosecure> First, routers don't reboot in seconds. Secondly, there have been episodes of router-infecting malware going around. What kind of router is it?
[20:13] <turbokitty> It's an ISP supplied router.
[20:13] <TJ-> turbokitty: see http://paste.ubuntu.com/p/cCCBgzKc9y/
[20:13] <TJ-> turbokitty: I was able to telnet to port 80, and to port 8888 (which is the uPNP server)
[20:13] <iosecure> Oh god, upnp is accessible from the internet?
[20:14] <iosecure> That's broken.
[20:14] <Geo> iosecure: so that mirrors sda, not sda1 (or whatever it comes out to be) right?
[20:14] <turbokitty> what I dont understand is why http would be appearing to someone remotely
[20:14] <iosecure> Geo: Properly, mdadm operates on partitions. So /dev/sda1 /dev/sdb1 would be mirrored.
[20:14] <CarlFK> TJ-: how bad would it be for me to edit /etc/apt/apt.conf.d/01autoremove-kernels  // DO NOT EDIT! and remove APT::NeverAutoRemove ?
[20:15] <iosecure> turbokitty: Ask your ISP.
[20:15] <Geo> ok, so I have two non-partitioned disks... I have to do some setup first then
[20:15] <iosecure> Geo: How large are they, and are you doing an MBR/BIOS install, or GPT/UEFI?
[20:15] <Geo> ...?
[20:15] <Geo> 500gb disks
[20:15] <TJ-> CarlFK: that block only covers the last three kernels
[20:15] <Geo> and I guess uei
[20:15] <Geo> uefi
[20:16] <iosecure> Geo: So, UEFI has some caveats here. You can't mirror the ESP.
[20:16] <TJ-> CarlFK: notice it covers -130, -138 and -141
[20:17] <Geo> So I need to partition everything out first, and just mirror the data partition
[20:17] <turbokitty> if they were able to get into my wifi could they see things that go over websites in a secure connection?
[20:17] <iosecure> Geo: Okay, you don't mirror a partition. You create a mirror ON partitions.
[20:17] <turbokitty> or when I use secure connections on irc?
[20:18] <Geo> iosecure: ok. So... what would the answer be?
[20:18] <TJ-> turbokitty: not for TLS secured no
[20:18] <ioria> CarlFK,  http://paste.ubuntu.com/p/VDB6M3GPYn/   save this in a text file and    cat textfile | xargs apt -s purge -y
[20:19] <iosecure> Geo: On /dev/sda, create your ESP and a second partition for mdadm. On /dev/sdb, create a partition for mdadm. Create an mdadm mirror across /dev/sda2 and /dev/sdb1. Use that mirror as an LVM physical volume.
[20:19] <turbokitty> people were describing things i watched on youtube vaguely.
[20:19] <turbokitty> They hint at it in a indirect way.
[20:20] <TJ-> turbokitty: so sort your CPE/router out, it's wide open
[20:20] <TJ-> turbokitty: no telling what else has been done to it
[20:20] <iosecure> If UPnP is exposed to the internet, it's possible that the router's been compromised.
[20:20] <Geo> iosecure: and do all that before installing ubuntu, correct?
[20:20] <CarlFK> turbokitty: https encrypts the data, but not the URL you are connecting to (thus the youtube video url) (i think...)
[20:21] <iosecure> CarlFK: Not the entire URL. Just the domain.
[20:21] <iosecure> You're referring to Server Name Indication.
[20:21] <iosecure> Geo: Depending on the installer you use, it can be done in the installer.
[20:21] <turbokitty> so if I replace the router would I have to replace the modem too?
[20:22] <CarlFK> ok, I can see that.. hmm...
[20:22] <TJ-> CarlFK: that only holds true for SNI, but we now have ESNI
[20:22] <iosecure> turbokitty: The modem, not likely. The router, possibly. UPnP being internet accessible is a massive problem, and has been used to compromise home routers.
[20:22] <TJ-> turbokitty: the modem if only a modem would be fine, it's the gateway/router device that is exposed
[20:23] <iosecure> TJ-: ESNI is only part of TLS 1.3, which is not in wide use.
[20:23] <Geo> And if I'm doing this setup via live cd, those mdadm configurations will be preserved somehow? I won't lose it after a reboot?
[20:23] <Geo> that's the real question, i guess I'm trying to get to
[20:23] <TJ-> iosecure: indeed, which is why I said we now have
[20:23] <iosecure> Geo: Yes. As long as the partitions are of the correct type, mdadm will automatically detect them and assemble the array using the metadata embedded in the partitions.
[20:26] <turbokitty> Are firmware rootkits possible? I cant seem to clear the rootkit through formating and reinstalling the os. Even if I dont use this connection
[20:26] <Ben64> it's unlikely you have something like that
[20:28] <TJ-> turbokitty: it's not too difficult to do with some devices; but it very much depends on which device
[20:29] <iosecure> turbokitty: The odds of someone expending that level of resources just to mess with you are... extremely remote.
[20:30] <TJ-> there are pre-built kits that any 'script-kiddie' can use though, which is the most likely scenario /if/ the router is compromised
[20:31] <turbokitty> These people are obsessed with me. I tried going to the library to use the computer cause mine was doing weird things and people will lurking around and look at the screen of the computer im using
[20:31] <turbokitty> i was using*
[20:32] <turbokitty> they would make it very obvious like swooping by staring at the screen or lurking behind me
[20:32] <Ben64> sounds more like paranoia
[20:32] <turbokitty> How so?
[20:32] <Ben64> so someone is hacking your computer, router, and then spying on you at the library?
[20:33] <turbokitty> well i went to the library because i didnt have internet at the time.
[20:33] <turbokitty> though they were apparently very interested in what I was doing on the computer there.
[20:34] <coconut> turbokitty: i am not so tech savvy as the rest... but do you use LTE some times?
[20:34] <Ben64> as someone who worked at a library for a long time, nobody there cares
[20:34] <turbokitty> its not people working at the library
[20:34] <turbokitty> it's random people
[20:34] <Ben64> i'm saying nobody in the library cares about you
[20:34] <Ben64> not just the people working
[20:34] <OerHeks> fud
[20:34] <iosecure>  /popcorn
[20:35] <turbokitty> what's LTE?
[20:35] <Ben64> people can't even be bothered to watch their own kids there
[20:35] <turbokitty> nm
[20:35] <turbokitty> like LTE is cell phone internet
[20:36] <coconut> turbokitty: or laptop, yes
[20:36] <turbokitty> Id probably have to buy a new computer because I think the firmware has been hacked.
[20:36] <Ben64> paranoia
[20:37] <OerHeks> lets get back to ubuntu support
[20:37] <iosecure> turbokitty: You lack the expertise to make such a judgment. You're being incredibly paranoid. No one's after you, no one's hacking your stuff.
[20:38] <Geo> i am.
[20:38] <turbokitty> Im pretty sure I'm not paranoid
[20:38] <turbokitty> how could random people know my internet nick name and things i search online on private internet
[20:38] <turbokitty> you guys are just letting Ben64's trolling sway your opinion.
[20:38] <Ben64> what trolling
[20:38] <iosecure> Unwarranted belief that you're being persecuted. That's paranoia.
[20:39] <OerHeks> how is that related to ubuntu support, you are already pointed to an open router configuration
[20:39] <^Peter^> No but people in a public place (library) are often a bit interested in what others are doing and for lack of anything better will have a look to see what others are viewing that is so interesting.
[20:39] <turbokitty> i rarely use the library
[20:39] <poizonb0x> Ben64: The eternal trollin' of the unspotted kind?
[20:40] <poizonb0x> Does anybody remember what's love? w4w
[20:40] <iosecure> Baby don't hurt me?
[20:40] <Ben64> router being hacked, possible but unlikely, but if it is, it's a bot going around hacking routers, not a person
[20:40] <poizonb0x> For the greater cause?
[20:40] <Ben64> computer hardware being hacked, just on this side of impossible
[20:40] <turbokitty> firmware can be hacked
[20:41] <poizonb0x> Explain me what's love because I can't shoot web.
[20:41] <Ben64> in theory sure
[20:41] <iosecure> turbokitty: You aren't listening. You're convinced that people are after you and that everything you own is hacked in some way.
[20:41] <iosecure> turbokitty: Your issue is psychological, not technical. Seek professional help.
[20:41] <poizonb0x> Mother I just hacked a router
[20:41] <poizonb0x> put the pass and now it's mine
[20:42] <turbokitty> why do most people in irc chatrooms suffer from autism? oh my fuck
[20:42] <poizonb0x> Ooops not offtopic, sry.
[20:42] <turbokitty> you have no reason to think my issue is psychological
[20:42] <ioria> turbokitty, language, please
[20:43] <Ben64> "Paranoia is the irrational and persistent feeling that people are 'out to get you'."
[20:43] <Ben64> from google
[20:43] <turbokitty> it's not irrational.
[20:43] <poizonb0x> I hacked a router today, to see if I could hack...
[20:43] <Ben64> turbokitty: it really is
[20:43] <iosecure> turbokitty: You think that people are watching you at a library. That is incredibly irrational.
[20:43] <turbokitty> Not really
[20:43] <turbokitty> they were lurking behind me
[20:43] <OerHeks> guys, lets get back to ubuntu support, thanks
[20:43] <iosecure> turbokitty: And that, my friend, is paranoid.
[20:43] <poizonb0x> There's more important stalkers like God himself.
[20:43] <turbokitty> not really
[20:44] <turbokitty> how would you feel if someone was standing behind you hovering
[20:44] <iosecure> Yes, really. Moving on.
[20:44] <OerHeks> turbokitty, stop it.
[20:44] <turbokitty> stop what? these people are telling me i have a psychological problem because Im being gang stalked
[20:45]  * WoC *cough* #ubuntu-offtopic *cough*
[20:45] <Blueking> looking for switch.. netgear reliable brand into switches ?
[20:45] <Ben64> Blueking: should check with ##networking
[20:45] <turbokitty> So how can I secure my ubuntu system?
[20:45] <turbokitty> they keep managing to hack my system.
[20:45] <poizonb0x> love is the manpages btw.
[20:45] <Ben64> turbokitty: by not running unnecessary services, the end
[20:45] <ioria> turbokitty, ubunru hardening guide
[20:46] <iosecure> Ben64, ioria: I'd honestly suggest that you stop interacting with him. This isn't going to lead anywhere constructive.
[20:46] <turbokitty> the ubuntu hardening guide is out of date most of what it reffers to isnt even there
[20:46] <Ben64> iosecure: i'm on vacation ¯\_(ツ)_/¯
[20:46] <turbokitty> you probably should kick Ben64 because he is apparently trolling this was helpful until he rerailed the convo
[20:47] <turbokitty> derailed*
[20:47] <Ben64> yes, kick me, the guy who's been in here for years helping people
[20:47] <iosecure> huh?
[20:48] <turbokitty> Well I'll remember to avoid this room
[20:48] <turbokitty> good bye
[20:53] <plut0> Is there a way to get to the grub CLI tool from the OS? grub>
[20:54] <TJ-> plut0: no, that is only avaiable at boot-time before the OS is loaded
[20:55] <plut0> Grub is not booting even though installation is successful. I verified grub is installed via xxd. The disk is the first boot device. When it boots it just shows a blinking underscore _ but no grub menu. How to troubleshoot?
[20:56] <OerHeks> hold shift @ boot, or esc, see the grub manual
[20:56] <OerHeks> !grub
[20:57] <TJ-> plut0: is the PC using UEFI or Legacy/BIOS boot mode?
[20:57] <Bashing-om> !nomoseset | plut0 Nvida graphics ?
[20:57] <plut0> TJ-: legacy
[20:57] <Bashing-om> !nomodeset | plut0 Nvida graphics ?
[20:57] <plut0> ATI video
[20:59] <Bashing-om> plut0: AMD should "just work" as the driver is in the kernel .. but worth a shot with nomodeset to see what results .
[21:01] <plut0> Bashing-om: nomodeset, isn't that a kernel option?
[21:02] <Bashing-om> plut0: Yes .. set it at the 'linux' line in grub .
[21:02] <plut0> Bashing-om: I'm not that far...grub isn't loading at all
[21:03] <mkquist> anyone quick question (am googling) if i restart the xserver or lightdm does it stop parted running?  I'm resizing a drive and the screen seems caught in a screensave state
[21:04] <Bashing-om> plut0: If you are single booting linux .. grub by default will not show . Try in legacy to hold a shit key when the bios splash screen clears to see the grub boot menu .
[21:04] <phelix> Everytime I try to install anything or upgrade using apt-get I am getting this error: E: Sub-process /usr/bin/dpkg returned an error code (1)
[21:06] <Bashing-om> phelix: Show the channel - in a pastebin - the results of terminal commands ' sudo apt update ; sudo apt upgrade ' .
[21:09] <Blueking> Ben64  wasn't much activity on ##networking  :(
[21:13] <phelix> Bashing-om, https://pastebin.com/KmTrHTvt
[21:13] <Ben64> Blueking: gotta wait, also it's almost a holiday so not a great time
[21:19] <Bashing-om> phelix: What release is this ? and what results ' sudo apt install --reinstall python3 " ?
[21:21] <phelix> Bashing-om, https://pastebin.com/Kk3C54jW
[21:21] <phelix> ubuntu 18.04 just tried to run the upgrade and now this is happening.
[21:22] <Bashing-om> !info python3 bionic
[21:26] <Bashing-om> phelix: Ouch . what results ' sudo dpkg --configure -a ' ?
[21:30] <plut0> Bashing-om: holding shift key shows GRUB and nothing more loads
[21:33] <prasket> On my desktop I am running 18.04.1 LTS and am having a hard time figuring out why my Intel I211 Gigabit nic will only connect at 100Mbit/s vs 1Gbit/s. I tested the cable, and my notebook connects to same cable/port in switch as desktop and it connects at 1Gbit/s. Notebook is Debian Stretch though.
[21:35] <Bashing-om> plut0: Me, I would suspect a bad install medium - did you veriry the .iso and the burn ?
[21:35] <plut0> Bashing-om: I copied from another hard drive, the original is working fine
[21:36] <plut0> Bashing-om: I just can't get grub to load on this new ssd
[21:37] <Bashing-om> plut0: K; was that "original" EFI, and the transfer is to a legacy - MBR - system ?
[21:38] <EriC^^> plut0: what happens if you press "c"
[21:38] <EriC^^> (during the grub screen display)
[21:43] <plut0> Bashing-om: no EFI, just MBR
[21:43] <plut0> EriC^^: there is no grub menu, it just prints the word "GRUB" repeatedly
[21:44] <EriC^^> plut0: by grub you mean "grub>" ?
[21:45] <plut0> EriC^^: no, "GRUB" with a blinking underscore cursor
[21:45] <EriC^^> how did you clone the hdd
[21:45] <Bashing-om> plut0: EriC^^ Such that the UUIDs in fstab no longer match what 'sudo blkid -c /dev/null' reveals ?
[21:45] <plut0> rsync
[21:46] <EriC^^> plut0: that won't work, you need to copy the mbr for grub to load as well
[21:46] <EriC^^> or if you have a live usb or access to both hdd's at the same time you can boot one install and chroot and fix stuff in the cloned one
[21:46] <plut0> EriC^^: I've already reinstalled grub to the MBR
[21:47] <plut0> installation was successful
[21:48] <EriC^^> is only one hdd/ssd in the pc when you're attempting to boot?
[21:48] <plut0> EriC^^: no
[21:48] <EriC^^> try with just the ssd
[21:49] <EriC^^> basically make sure the ssd is actually being booted and not the other
[22:02] <plut0> EriC^^: booting just the 1 drive made no difference
[22:02] <EriC^^> do you have a live usb you can boot?
[22:02] <plut0> still boots with GRUB repeating over and over
[22:02] <plut0> EriC^^: yes
[22:02] <EriC^^> ok boot it and type "sudo parted -ls | nc termbin.com 9999" and paste the link here
[22:04] <plut0> EriC^^: https://termbin.com/dabk
[22:04] <plut0> EriC^^: sda is the disk I'm working on
[22:06] <EriC^^> what a mess
[22:07] <EriC^^> plut0: bios_grub only needs to be around 1MB in size, and it's not a /boot partition it doesnt have to have any filesystem
[22:09] <EriC^^> i dont mean to be rude, but having exotic filesystems + encryption + custom job done you need to mention these stuff
[22:10] <plut0> EriC^^: while it may look intense, /boot resides on ext4 and is booting off a legacy MBR, it shouldn't be that difficult. Not sure why it's causing problems
[22:10] <EriC^^> plut0: you have a bios_grub flag on it, grub will try to put the stage2 bootloader there cause you're using gpt
[22:12] <plut0> EriC^^: exactly the same as the original disk, sde
[22:13] <EriC^^> plut0: nope, also you used rsync it wouldnt copy the bios_grub 1mb, cause it's not a mountable filesystem
[22:13] <plut0> EriC^^: grub-install takes care of the MBR install, no?
[22:14] <EriC^^> plut0: you're not following, it does, but since you have gpt, it needs somewhere to put its stage2 bootloader, usually it requires any 1mb partition with a bios_grub flag to shove it there
[22:14] <alnr> my screen used to dim then go off after a time but now stays on . where is that setting?
[22:14] <plut0> EriC^^: it sounds like you're talking about EFI, is that what you mean?
[22:14] <EriC^^> that's not a filesystem that's mountable, so using rsync you couldnt have copied it, plus it looks like you're using an ext4 /boot partition in the same location
[22:15] <EriC^^> plut0: no, i'm talking about gpt + legacy
[22:15] <delt> Hello
[22:15] <EriC^^> hi
[22:15] <plut0> EriC^^: do you see a 1mb partition on sde?
[22:16] <EriC^^> plut0: no i dont, i see a 200mb bios_grub partition
[22:16] <plut0> EriC^^: yup, that was my old /boot partition
[22:16] <delt> i have two VPS running Ubuntu 16.04.5 LTS on google "cloud compute" ... their hostname always reverts to the default "instance-1" and "instance-2" even if i put the actual names in the /etc/hostname of each VPS, and on top of that manually run hostname `cat /etc/hostname` from /etc/rc.local or from the command line
[22:17] <plut0> EriC^^: i had to resize it because I ran out of space
[22:17] <delt> hostnames revert even without a reboot, after a few minutes running
[22:18] <delt> and i don't want to work around the problem by setting up a cron job that sets them back every minute :/
[22:19] <EriC^^> plut0: i see
[22:19] <EriC^^> plut0: i can get you a booting grub, not sure on the zfs stuff however, if you're down let me know
[22:19] <delt> https://pastebin.com/QxYgq8ZN
[22:21] <delt> (the *-dist file are those from the distro as they are after initially setting up the VPS instances, just moved them to a backup name)
[22:21] <EriC^^> delt: maybe you need to set it from the google site or something?
[22:21] <delt> EriC^^: maybe, or using their "gcloud" tool
[22:21] <EriC^^> that's probably it
[22:21] <delt> at least there's no obvious field for "hostname" that i saw
[22:21] <delt> on the web interface
[22:22] <delt> and even then, what daemon/background task would continually set the hostnames back to instance-1 and 2?
[22:23] <EriC^^> delt: https://stackoverflow.com/questions/25408612/google-compute-engine-how-to-set-hostname-permanently
[22:23] <EriC^^> seems some guy wrote a patch, might be worth looking at the 3rd comment under the answer
[22:24] <delt> EriC^^: thanks, your google-fu is more powerful than my weak google-fu ;P
[22:24] <EriC^^> heh :D
[22:25] <EriC^^> *bows with hands together*
[22:26] <delt> EriC^^: however what's really weird is that the hostnames revert to instance-? even without a reboot, ie. as the vps is still running after a few minutes
[22:26] <EriC^^> maybe it has some external control over it *shrug*
[22:27] <EriC^^> what actually changes when you do "hostname <something" anyways i wonder
[22:27] <delt> the kernel's internal value for the hostname
[22:28] <delt> i haven't run 'hostname' through strace, but i'd guess there's a system call to set it
[22:28] <EriC^^> seems it runs sethostname("something") according to strace
[22:28] <EriC^^> man 2 sethostname says...
[22:29] <EriC^^> (i wonder if there's some file you could make immutable)
[22:29] <delt> yep yep, "These system calls are used to access or to change the hostname of the current processor. [...]"
[22:30] <delt> afaik that's /etc/hostname, or /etc/HOSTNAME on some older distros
[22:30] <delt> which gets read by the startup scripts
[22:31] <EriC^^> is there some /etc/google_hostname.sh ?
[22:33] <delt> nope... i pasted the result of find /etc | grep -i hostname above
[22:33] <EriC^^> ah
[22:36] <delt> i still have to re-learn / get my head around those damn /etc/init.d symlinks..... in the old slackware days, everything was so simple and straightforward, now it's a huge mess :/
[22:38] <delt> with each added layer of complication supposedly simplifying things, but doing exactly the opposite
[22:38] <EriC^^> yeah and there's systemd as well, got to learn that someday
[22:39] <delt> yeah the init replacement :/
[22:40] <delt> they could have just kept the same name (init) and added the extra functionality in a way that doesn't f%&^# up the good old way of working
[22:41] <delt> anyway just my personal opinion
[22:42] <delt> i miss the simplicity of the good old /etc/inittab, but that being said, setting up ramdisks for early phase of userland setup is a lot simpler on modern distros
[22:52] <EriC^^> i see
[22:53] <EriC^^> well i'm off to bed, good luck with the hostname
[23:02] <iosecure> delt: Is this system a cloud instance or something?
[23:05] <delt> iosecure: yeah, google cloud compute
[23:05] <iosecure> delt: You're probably running into cloud-init.
[23:05] <delt> cloud-init?
[23:05]  * delt googles
[23:05] <delt> https://cloud-init.io/
[23:07] <delt> on my vps, the cloud-init command seems to exist -- [pts/0][user@instance-1]:~$ cloud-init --help
[23:07] <delt> (gives options info, usage etc)
[23:07] <iosecure> Commonly used by cloud hosts to automate instance config.
[23:07] <delt> so, another layer of complication on top of the whole mess that's supposed to simplify things :/
[23:08] <iosecure> It does simplify things. Greatly.
[23:08]  * delt reading....
[23:08] <delt> thanks very much for pointing me in the right direction btw
[23:08] <iosecure> /etc/cloud/cloud.cfg
[23:08] <iosecure> Set preserve_hostname to true. Should stop the behavior.
[23:09] <iosecure> Might have to restart cloud-init to pick up the new config.
[23:09] <delt> iosecure: thanks, trying now :)
[23:21] <delt> iosecure: one of my VPS picked up the hostname change after a reboot, probably from my /etc/rc.local .... the other didn't, i set it manually. let's see in a few minutes if it changes back to instance-2
[23:21] <iosecure> What OS are you using rc.local in?
[23:21] <delt> both have the exact same /etc/hostname and same line that calls hostname in the /etc/rc.local
[23:22] <delt> ubuntu 16.04.5
[23:22] <iosecure> Because rc.local is... super-deprecated.
[23:22] <iosecure> hostnamectl set-hostname blah
[23:22] <delt> hostnamectl... that sets the init scripts to set it on boot?
[23:23] <delt> man page doesn't have a FILES section
[23:23] <iosecure> Not everything is done with an initscript anymore.
[23:23] <iosecure> Welcome to systemd.
[23:23] <delt> yeah i don't like systemd very much :/
[23:23] <iosecure> Why?
[23:24] <delt> been a slackware user for over 15 years, then around 2013 2014 switched the desktop/laptop machines to more recent distro, mostly linux mint
[23:24] <iosecure> Okay. That doesn't explain why you don't like systemd.
[23:24] <delt> my home connection "central hub / fileserver / etc" machine still running good old slack
[23:25] <delt> 17:36:37 < delt> i still have to re-learn / get my head around those damn /etc/init.d symlinks..... in the old slackware days, everything was so simple and straightforward, now it's a huge mess :/
[23:25] <delt> 17:38:44 < delt> with each added layer of complication supposedly simplifying things, but doing exactly the opposite
[23:25] <iosecure> Nothing was simple about initscripts.
[23:25] <delt> systemd is just another example of layer of complication added on top of this whole mess
[23:25] <iosecure> They were a kludgey disaster.
[23:25] <iosecure> systemd simplifies A LOT.
[23:26] <delt> yeah i guess i'm just not used to it
[23:26] <iosecure> I haven't heard a GOOD argument against systemd yet. And I've heard a lot of arguments against it. They all boil down to "I hate it just because," and "I don't like change."
[23:27] <delt> yeah, i guess my case would be in the "i don't like change" category
[23:27] <iosecure> But change is here, and you don't have a choice. :)
[23:28] <iosecure> Things change. Like when net-tools got deprecated in favor of iproute2 in 2008.
[23:28] <delt> however like i said earlier, 17:42:50 < delt> i miss the simplicity of the good old /etc/inittab, but that being said, setting up ramdisks for early phase of userland setup is a lot simpler on modern distros
[23:28] <iosecure> Yeah, but so what?
[23:28] <iosecure> Things. Change.
[23:29] <iosecure> Pining for the past is pointless.
[23:29] <iosecure> You could devote that attention and energy to learning what's current.
[23:29] <delt> yep yep, very true
[23:29] <delt> at least it's not windows :D
[23:29] <delt> ....yet :/
[23:30] <iosecure> Heh, I'm the wrong guy to engage in that line with. I'm a "best tool for the job" kind of guy, and there's a set of use cases where that's Windows.
[23:30] <delt> with microsoft buying out github, and also a seat on the linux foundation, i'd wager some not too good "change" is coming soon, and looks like we won't have a chance there either :/
[23:31] <delt> everyone is stuck with windows because everyone else is stuck with windows. there is NO other excuse for using that hideous joke of an operating system.
[23:31] <iosecure> I disagree on a technical level. But I'm also not in this channel to deal with FUD.
[23:31] <iosecure> Windows has its uses and its advantages. Period.
[23:31] <delt> the set of use cases where "windows is the right tool for the job" sums up pretty much to: giving money and control to microsoft, and giving your private info to microsoft.
[23:31] <iosecure> FUD.
[23:32] <iosecure> I'm happy to discuss things on a rational basis, but this nonsense isn't it. glhf.
[23:32]  * Mathisen puts on his tinfoil hat to fit in
[23:33] <delt> unless you want to play video games, where there's 100 times more for windows, because... well, everyone is stuck with windows because everyone else is stuck with windows.
[23:33] <iosecure> delt: FUD.
[23:33] <delt> how so?
[23:33] <iosecure> I can easily play nearly any Windows game on my Ubuntu workstation.
[23:34] <OerHeks> steam ..
[23:34] <delt> wine, virtual machines, ....?
[23:34] <iosecure> I use Windows for certain things because it works better in those use cases.
[23:34] <iosecure> Continual mudslinging is NOT the way to move anything forward.
[23:34] <delt> example?
[23:34] <ducasse> this entire discussion belongs more in #ubuntu-offtopic, it's not on topic here
[23:34] <delt> ducasse: oh sorry
[23:34] <iosecure> I'm just sick of the mudslinging. It's childish.
[23:35] <delt> iosecure: ppl hate windows for a huge bunch of very good reasons, and i agree with those.
[23:35] <delt> anyway sorry for the off-topic
[23:35] <iosecure> delt: No, they just think they have good reasons, and you just bandwagon.

[23:36] <iosecure> Anyway.
[23:36] <delt> iosecure: bandwagon? if literally everyone loved windows i'd still be the only one warning everyone to stay away from that piece of shit.
[23:36] <delt> like i was in the 90's
[23:37] <myself> oh ffs, ---> #ubuntu-offtopic already. The alternative is that we can all /ignore you.
[23:37] <delt> myself: sorry
[23:37] <myself> (por que no los dos?) ;)
[23:52] <Piraty> iosecure: systemd itself presents pretty well that it's already unable to maintain their current set (see issue rate  / CVE rate, which should be zero btw for an init) and yet the merge more and more functionality. really? dns (bad), mini-firewall, dhcp (bad) , bootloader. no, thanks
[23:55] <Piraty> ontopic, what does a ubuntu 18.10 installation need to change in order to install qtox from the repos ? (https://packages.ubuntu.com/search?keywords=qtox)
[23:56] <iosecure> Piraty: Nothing that you've said supports your conclusion in any way, shape, or form.
[23:57] <iosecure> As for backporting qtox, there's a lot of other dependencies and I'm not sure if that whole set is backportable.