[00:09] <Lagair> Well, I have managed to completely bork my X setup by trying to install a second video card. I have booted up on a recovery kernel. But I can't get Xorg -configure to create a new xorg.conf, it fails with 'number of created screens does not match number of created devices'. How to I wipe my X setup and start over?
[00:11] <sarnold> Lagair: probably files /etc/X11/xorg.conf and /etc/X11/xorg.conf.d/*
[00:11] <Lagair> sarnold: Do I just rename them and X will recreate them?
[00:12] <sarnold> Lagair: yeah that's a good start; by default they don't even exist any more, so they may not be recreated..
[00:15] <Lagair> And on top of that, when I try to run a config file to test, I can't kill X or switch terminals.
[00:28] <Lagair> I still can't get it to create an initial xorg.conf that works.
[00:29] <genii> !xorgconf
[00:29] <genii> hm
[00:29] <genii> !xorg.conf
[00:30] <Lagair> Great, then what's the correct way to setup X?
[00:31] <sarnold> Lagair: try removing your config again, and running ubuntu-drivers
[00:34] <genii> Lagair: I also am aware that if you mix an NVidia card and an ATI in the same system, they both want to overwrite the same mesa drivers with their own versions and cannot coexist
[00:36] <Lagair> Nope, they were both nvidia cards, I had the 2070 running fine and was trying to add the 2060. It worked, but it kept setting up seperate screens for the seperate cards so I pulled the 2060 and now this.
[00:41] <Lagair> sarnold: ubuntu-drivers does nothing. it just checked for the most recent versions of the nvidia drivers, which I already had.
[00:48] <Lagair> Ok, I got it through my thick skull, no xorg.conf. I don't need Xorg -configure, or anything, just del anything that looks like xorg.conf and reboot. Boom, I have a display again.
[00:50] <Lagair> So, I'm guessing that having 3 displays on two cards is a no go, eh.
[00:53] <Bashing-om> Lagair: I am aware of those that run as many as 6 displays on Nvidia card(s) - so it can be done (just do not ask me how ) :D
[00:54] <Lagair> My poor 2070 really grunts running 3 4k displays, was wanting to offload the two side monitors to a seperate card.
[00:55] <NDPTAL85> Purchase 3 3090s.
[00:55] <Lagair> That and I only have 2 displayports on the card so one of my screens is running @ 30 fps.
[00:55] <NDPTAL85> Mortgage your life partner to pay for it.
[00:55] <Lagair> I'd love to, but 1) I couldn't afford it, and 2) even if I could, you can't get them.
[01:06] <Lagair> Ok, now that I'm not trying to IRC from my tablet...how do I get gnome to remember my display settings after wakeup? If I allow my screens to sleep, when I wake them two of them are disabled and I have to enable them and re-setup my displays.
[01:18] <sarnold> Lagair: ewwww
[01:19] <sarnold> Lagair: I've used arandr for a similar task but yours might be strange
[03:59] <mike18> hi
[03:59] <mike18> can you explain what that command does? ssh-keygen -l -E sha256
[03:59] <mike18> get the sh256 of the public key?
[04:21] <guiverc> mike18, have you tried `man ssh-keygen`  (you can search for the '-l' etc. option and not just scroll)
[04:22] <mike18> no
[04:22] <mike18> I just want to make sure it doesn't generate a new key
[04:22] <mike18> and overwrites old key
[05:26] <evilytwisted> hey, would anyone in here know anything about raspian
[05:28] <guiverc> evilytwisted, this is not the place for raspbian, Ubuntu and flavors of Ubuntu are on-topic here
[05:29] <evilytwisted> ok, understandable, may i ask something that is related to buntu
[05:29] <evilytwisted> HOW THE HECK does one get mesa drivers. -_-
[05:30] <guiverc> evilytwisted,  try `sudo ubuntu-drivers autoinstall`
[05:30] <evilytwisted> ty
[05:53] <ruenoak> Hi all is there another name in Ubuntu for Gnome's Activities Overview? I'm trying to report a bug for it but Activities Overview  doesn't seem to be the correct name
[06:00] <guiverc> ruenoak, https://developer.gnome.org/gdp-style-guide/stable/desktop-terminology.html.en maybe helpful
[06:01] <guiverc> sorry ruenoak, I'm not a regular gnome user so can't picture what you mean, you'll likely include it already, but a photo will help
[06:02] <guiverc> you could also try #ubuntu-quality  (it's testing orientated)
[06:02] <ruenoak> not a problem guiverc I'm not a frequent Gnome user either just testing the latest version out,
[06:03] <guiverc> I gathered that, pretty sure I noticed your name on a bug in bugs-annouce only a short awhile ago
[06:03] <ruenoak> Thanks guiverc  I will ask on that channel
[06:04] <ruenoak> probably me yes
[06:04] <AnimalFarmPig> Hi! I'm trying to run some software in an Ubuntu 20.04 Cloud LXC/LXD container on an Ubuntu 20.04 host. The software claims to be incompatible with ipv6, so I want to disable ipv6 in that container, and I'm not having success. I do not want to disable ipv6 on the machine hosting container nor on the LXC bridge interface, just in the container itself.
[06:05] <AnimalFarmPig> I've tried adding `net.ipv6.conf.all.disable_ipv6 = 1`, etc. to sysctl
[06:06] <AnimalFarmPig> other advice I see is to add `ipv6.disable=1` to grub command line, but, since we're in a container, we're not running grub
[06:06] <AnimalFarmPig> I've edited the netplan to contain `dhcp6: false`
[06:11] <AnimalFarmPig> before anyone asks, I don't know or care why the vendor says to disable ipv6, and I don't want to discuss other possibilities for solving the problem. I just want to disable ipv6 in this one container.
[06:14] <AnimalFarmPig> should have put "solving the problem" in quotes there. I suspect that it might not be possible to disable ipv6 in just a single container. It may require being disabled on the bridge or on the container host. "What you want is not possible" is a totally valid answer here, btw.
[07:17] <rfm> AnimalFarmPig, I dont think you can. either you have to disable ipv6 on the host, or you have to run the guest in a real VM (not an LXD container(
[07:18] <AnimalFarmPig> rfm: that's the conclusion I'm coming to as well
[07:19] <AnimalFarmPig> totally fine, btw, just means I won't run this vendor's software :)
[07:21] <slidercrank> Hello. Ubuntu doesn't automatically activate a VPN connection. This option is missing in nm-connection-editor when I create a VPN connection. But in the file /etc/NetworkManager/system-connection/<name>.nmconnections is the line "autoconnect=false". I changed it to "true" manually (with a text editor) but to no avail
[07:22] <guiverc> slidercrank, you've not provided any release details, server? desktop? let alone which release (NM is used by desktop so you likely mean Ubuntu Desktop, but what release etc)
[07:22] <rfm> AnimalFarmPig, I'd like to know what software you are trying to run that has this stupid requirement, so I can man sure I never deal with them
[07:23] <slidercrank> guiverc, VERSION="20.04.2 LTS (Focal Fossa)" Gnome-Shell
[07:23] <AnimalFarmPig> rfm: NordVPN. Their support folks won't go forward unless I disable ipv6
[07:26] <rfm> AnimalFarmPig, Oh OK thanks.  No chance I would be dealing with them.  Honestly if I were you I'd buy another box to run the VPN on...
[07:28] <guiverc> sorry slidercrank I can't help, https://help.ubuntu.com/community/NetworkManager mentions the plugins that NM assumes if you've not read it
[07:29] <guiverc> I note GNOME requires extra plugins too mentioned there
[07:30] <AnimalFarmPig> rfm: I run my traffic through a local http/https proxy that does hostname based matching to send requests to downstream proxies in other locations. So, .co.uk addresses get forwarded to a proxy in the UK, .fr addresses go through a downstream proxy in France, etc. One of the sites that I access recently blocked my proxies in the UK, so I'm trying some alternate solutions, one of them was to run a local container with a proxy connected UK
[07:30] <AnimalFarmPig>  VPN service
[08:18] <frad> each time I save a file using firefox, Id like directories (folders) and files to be shown by default by type, not by last edited date. This way I get first all folders alphabetically. How do i do it?
[08:56] <markuman> will ubuntu 20.04 always stay at ansible version 2.9.6 or will it update to latest 2.9.x version one day?
[09:02] <ygk_12345> HI all
[09:03] <ygk_12345> i am facing an issue with ubuntu 18 desktop. When I try to copy stuff from the system to an external hard drive, the system is freezing and getting stuck. Seems to be this issue https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1208993
[09:03] <ygk_12345> can anyone help me please
[09:03] <ygk_12345> any workaround ?
[09:03] <ygk_12345> i tried vm_dirty options. but it is  still freezing
[09:17] <nanthencodeneeth> if i use a random ip and set it manually in my ubunutu will i be able to browse internet
[09:25] <Zuroger-KUB20> Hello
[09:26] <Zuroger-KUB20> Do I still have to compile NGINX from source manually to add the RTMP package, as many tutorials tell me? Even tho the RTMP package is on APT ?
[09:54] <cbreak> markuman: you can pip install newer versions
[09:59] <lupulo> Hello
[10:06] <Maik> lupulo: hi
[11:06] <Ublx> Hello, when I use 'rsync' with '--exclude=/home/USER/folder/' then it seems to ignore the exclude and lists almost all files in those directories with a 'Permission denied (13)'. Am I wrong with the exclude option?
[11:26] <Ublx> found the #rsync channel and asked there. just for you to know.
[12:07] <zphinx> Hi! Im trying to set up apt to work with a specific proxy in our environment, we have two, one is a locked down proxy and the other one is more permissive, sadly we have the /etc/environment set to the less permissive one, and i need the permissive one for connecting to the packages.gitlab.com repo with apt. I've been trying to set Aquire::http*::proxy in apt.conf and apt.conf.d, but it seems that
[12:07] <zphinx> the proxy from /etc/environment takes prededence over apt settings.. is there any way around this?
[12:08] <zphinx> and unsetting might be tricky, since we have puppet enforcing /etc/environment
[12:12] <ntz> hello guys
[12:14] <ntz> may I trouble somebody of you using PM to help me doing a few commands on ubuntu ... I'm 20+ yrs linux user, only I don't use ubuntu however I know it in theory, I need to test some bloody legacy 3rd prty software which is supposed to work in U16.04, I've installed clean 16.04 into Virtualbox and I am just doing an initial configuration
[12:15] <cws> If you've been using Linux for 20 years, then nothing Ubuntu presents to you will be difficult to either understand or figure out within moments.
[12:15] <Habbie> ntz, why in PM?
[12:16] <marenz> g'day. I have a pretty fresh ubuntu 20.04 installation (server image was the source, but it's used as desktop). When I copy large amounts of data from one SSD to the other, my system slows down to a crawl to a degree that it can't even play music or browse the web. I have 32GB RAM and an AMD Ryzen 7 3800X 8-Core Processor.. any ideas why?
[12:17] <marenz> it's mostly okay until I do another action like installing something with apt or compiling a project, then everything is almost unusable (all while copying)
[12:17] <Habbie> marenz, how are the SSDs connected? what do the percentages in the %Cpu(s) line at the top of 'top' look like during the problem?
[12:18] <marenz> SATA connection
[12:19] <marenz> during (and due to) compiling all the cpus where on 100%, but I also had other cases where it was slow when it wasn't using much CPU
[12:19] <Habbie> %Cpu(s): 13.4 us,  2.4 sy,  0.0 ni, 84.0 id,  0.1 wa,  0.0 hi,  0.2 si,  0.0 st
[12:19] <Habbie> it has several numbers
[12:19] <Habbie> i wonder what it looks like during a copy
[12:20] <marenz> right now is during a copy, though no other intense action is running: %Cpu(s):  4.4 us,  1.3 sy,  0.0 ni, 83.9 id, 10.1 wa,  0.0 hi,  0.3 si,  0.0 st
[12:20] <Habbie> that looks ok
[12:20] <marenz> I have my system load displayed in a status line and during the problem it went up to 18 and more
[12:20] <marenz> yeah, right now it is okay..ish
[12:20] <Habbie> 18? how are you copying?
[12:20] <marenz> rsync
[12:21] <Habbie> one rsync?
[12:21] <marenz> with the flags -rvP
[12:21] <marenz> yep
[12:21] <marenz> it's on an NTFS disk though (target disk)
[12:21] <Habbie> what ntfs driver?
[12:21] <marenz> well, 3g is installed, I am hoping it's using it?
[12:21] <Habbie> ah, so FUSE
[12:21] <Habbie> can you test a similar copy without NTFS?
[12:22] <marenz> hmm difficult on this system, no other disks except the / one
[12:22] <marenz> that are not ntfs
[12:23] <marenz> %Cpu(s):  1.7 us,  0.6 sy,  0.0 ni, 68.4 id, 29.1 wa,  0.0 hi,  0.1 si,  0.0 st
[12:23] <marenz> %Cpu(s):  3.9 us,  1.6 sy,  0.0 ni, 73.4 id, 20.9 wa,  0.0 hi,  0.2 si,  0.0 st
[12:23] <marenz> it just was a bit slow
[12:23] <marenz> music stuttered
[12:24] <marenz> and.. now it randomly changed my keyboard layout Oo
[12:24] <marenz> the "wa" value seems higher here
[12:25] <marenz> wa, IO-wait : time waiting for I/O completion
[12:25] <marenz> hmm yes that makes sense with what I am seeing
[12:26] <marenz> earlier I did what this article describes https://rudd-o.com/linux-and-free-software/tales-from-responsivenessland-why-linux-feels-slow-and-how-to-fix-that
[12:26] <marenz> in the hopes it would speed up
[12:26] <marenz> I didn't notice any immediate changes, but maybe they took some time
[12:26] <marenz> I didn't interrupt the copying during that
[12:27] <Habbie> i found something about a 'big_writes' option for ntfs-3g
[12:28] <marenz> I did enable that to speed it up (and it helped a lot)
[12:29] <marenz> but it still slowed my system down
[12:30] <marenz> I am quiet surprised that with this hardware I still can get such a slowdown
[12:30] <marenz> *quite
[12:30] <marenz> hmm when I say slowdown, I mean responsiveness
[12:31] <marenz> at first I thought because I used the server image as installation media, it configured a server-friendly cpu scheduler instead of a desktop-responsiveness focused one
[12:33] <Habbie> there's also an IO scheduler
[12:33] <ntz> sorry, I've been talking with boss now
[12:34] <marenz> oh. good point.
[12:35] <ntz> question number #1) how do I install in ubuntu support for kernel development ... eg for building local modules ... iirc I need a something what was called in past a built-essentials + kernel-headers package ?
[12:35] <Habbie> build-essentials exists, yes
[12:35] <ntz> does exist in ubuntu some metapackage (or package group) installing that all with dependendcies ?
[12:35] <Habbie> sorry, it's build-essential
[12:36] <ntz> Habbie: ok, *s doesn't matter :D .. I will find it
[12:36] <ntz> thank you
[12:37] <marenz> so it seems right now it's using "mq-deadline"
[12:37] <ntz> question number #2: what package manager am I supposed to use ? apt-get ?
[12:38] <marenz> ntz, well, I use both "apt" and "apt-get" (and "apt-cache"), depending on my needs
[12:38] <marenz> and there is also aptitude
[12:38] <Habbie> i default to apt most of the time
[12:38] <Habbie> but you can mix them freely
[12:38] <marenz> but generally the easiest is to just use "apt"
[12:38] <marenz> except for scripts
[12:38] <ntz> marenz: thanks, great .. I know apt-get from debian distros
[12:38] <Habbie> indeed, don't use apt in scripts
[12:38] <marenz> ntz, apt is like apt-get/cache just .. simpler
[12:38] <Habbie> apt is for humans
[12:38] <ntz> yeah
[12:39] <marenz> oh
[12:39] <marenz> eh, that "oh" was supposed to go somewhere else :D
[12:39] <Habbie> oh
[12:39] <Habbie> :)
[12:40] <BluesKaj> Howdy folks
[12:42] <ntz> question number #3: after clean installation of ubuntu + virtualbox additions in it doesn't work for me shared folders (and drag-and-drop feature from host), any idea why ? https://susepaste.org/view/raw/35199e2a
[12:42] <linuxconformer> anyone know what can cause a "Failed to load PDF document." error when trying to open a downloaded (using curl) pdf?
[12:42] <linuxconformer> i only get this when downloading via curl, downloading via the normal pdf bar works fine
[12:43] <Habbie> linuxconformer, what does 'file' say about the curled pdf?
[12:44] <linuxconformer> Habbie: ah it says its HTML
[12:44] <Habbie> probably some error about logging in or something
[12:49] <marenz> ntz, that is probably too specific to find help here, maybe there is a virtualbox specific channel..  I might be wrong though. In any case, I have nothing helpful to add to #3 :D
[12:53] <marenz> Habbie, compiling & copying, browser currently almost unusable  %Cpu(s): 14.8 us,  1.3 sy,  0.0 ni, 40.1 id, 43.5 wa,  0.0 hi,  0.4 si,  0.0 st
[12:53] <marenz> %Cpu(s):  1.4 us,  0.8 sy,  0.0 ni, 47.7 id, 50.0 wa,  0.0 hi,  0.1 si,  0.0 st
[12:54] <marenz> though this time it's a copy from network -> ssd
[12:55] <drupol> What is going on on my laptop... ?
[12:55] <drupol> https://www.irccloud.com/pastebin/nSMJcv2M/
[12:56] <marenz> sudo lsof | wc -l  ->   177867
[12:56] <marenz> hmm maybe it's an fd exhaustion
[12:58] <Habbie> that shouldn't cause everything to become irresponsive
[12:58] <Rum> drupol: The server is probably syncing. Try again in some time.
[13:00] <drupol> @Rum it's like that since yesterday :S
[13:02] <Rum> try `apt clean` or use a different mirror
[13:02] <Rum> `apt-clean` then try re-running the update
[13:02] <ntz> next question, can I somehow install a package libwebp6 in ubuntu 16 ? seems package is in V18 https://packages.ubuntu.com/search?keywords=libwebp6
[13:03] <Habbie> !frankenubuntu
[13:04] <Habbie> ntz, you are aware that ubuntu 16.04 will stop receiving updates in six weeks?
[13:04] <ntz> Habbie: sure ... very aware .. as I said, I have to test some (retarded) third party software that is supposed to run in centos 6, centos 7 and ubuntu 16
[13:05] <Habbie> ntz, i don't appreciate your language
[13:05] <ntz> tested centos 7 - it doesn't work there
[13:05] <cws> ntz: I would, from experience, ignore the vendor and test it on 18.04.
[13:05] <ntz> cws: ok, fair point ... going to do it likely
[13:06] <cws> And it works there, I'd test it again on 20.04.
[13:06] <cws> s/And it/And if it/
[13:08] <linuxconformer> Habbie: thanks
[13:09] <Habbie> linuxconformer, np :)
[13:12] <ntz> cws: ok, downloading 18.04, did `dd if=/dev/zero bs=1M count=4 oflag=direct > /dev/sda' in my 16.04 VM
[13:19] <cws> ntz: Why?
[13:23] <cws> I mean, I know the technical "why," but not the "why did you feel it necessary" why.
[14:07] <boiddude> Is anyone on who can possibly help with an update issue
[14:08] <ntz> cws: you said: 14:05 < cws> ntz: I would, from experience, ignore the vendor and test it on 18.04.
[14:09] <ntz> in 16.04 it doesn't work properly despite the vendor's claiming because it obviously wants a libraries that are in 18.04
[14:14] <boiddude> For anyone with network knowledge I have a doozy.  I am using Ubuntu Server 20.04.  I am at my work and have 2 instances of that Ubuntu.  One is running on Virtual Box the other is on bare metal.  The one on bare metal will not update even though it can ping archive.ubuntu.com and nslookup shows the correct servers so dns is working.  It is
[14:14] <boiddude> just coming back with a no network connection.  The Virtual box one does the same thing in bridged mode but in NAT mode it can update just fine.  Any ideas
[14:14] <boiddude> ?
[14:14] <ntz> what's in the 18.04 the name of package beyond build-essentials that will gimme a kernel-headers and ll dependencies for building localy some kernel modules ?
[14:15] <ntz> is there some metapackage for this .. like kernel-devel in other distributions ?
[14:15] <boiddude> could it be something on the AD domain since it is doing our dhcp and dns that isn't allowing a non windows computer to resolve correctly or whatever is happening?
[14:17] <ntz> boiddude: do does it resolve network cannonical names ?
[14:17] <boiddude> the only one I have tested was archive.ubuntu.com
[14:18] <boiddude> and it sees all 4 servers
[14:18] <ntz> yes, I mean other random names
[14:18] <boiddude> and also apple.com ibm.com and a couple others
[14:19] <boiddude> just for some reason the apt utility isn't getting through possibly
[14:19] <ntz> this could be related that local dnsmasq feature instead of traditional resolver
[14:19] <boiddude> no proxy is set
[14:19] <ntz> try to get rid of that dnsmasq on bare metal
[14:19] <boiddude> any way to turn it off?
[14:20] <ntz> boiddude: first hit in google put me here https://superuser.com/questions/1318220/ubuntu-18-04-disable-dnsmasq-base-and-enable-full-dnsmasq
[14:21] <ntz> second hit here https://jensoroger.wordpress.com/2017/10/03/disable-dnsmasq-in-ubuntu/
[14:22] <cws> ntz: I'm talking about dding out the start of the disk. That's not really necessary.
[14:23] <cws> dnsmasq isn't installed/configured in Ubuntu Server by default.
[14:23] <ntz> cws: oh this, habit ...
[14:23] <cws> Not sure why we're going to software that most likely isn't resolved.
[14:23] <cws> s/resolved/involved/
[14:23] <cws> ntz: Do note that that habit doesn't work on GPT disks, either. ;)
[14:25] <frad> \o/ < this is not ascii, correct?
[14:25] <boiddude> that didn't seem to work
[14:26] <lotuspsychje> !discuss | frad
[14:26] <cws> frad: Looks like it's ASCII.
[14:26] <boiddude> unfortunately that didn't work
[14:26] <boiddude> still says it cannot reach the network
[14:27] <boiddude> just so strange that it works when it is behind the PC as far as the virtualbox goes
[14:27] <boiddude> gives a connect 101 network is unreachable even though I can ping the same address
[14:30] <ntz> cws: really ? should work .. good point however
[14:30] <cws> ntz: Nope. Absolutely shouldn't work. :)
[14:31] <boiddude> any other ideas?
[14:32] <boiddude> I am turning off ipv6 on my virtualbox. I did it on my bare metal but that still didn't work.  It is just odd that when I turn my virtualbox that is running on my windows desktop to NAT it works just fine.  In bridged mode though it has the same issue as the bare metal.
[14:33] <cws> IPv6 isn't your problem.
[14:33] <cws> And turning it off is 1. a bad idea and 2. a waste of time.
[14:33] <ntz> cws: yeah I see ... now .. I am not doing this often .. typical scenario is when I reinstall already existing VM so I'm fortunate I didn't hit this yet (or maybe unfortunate becasuse learning is blessing)
[14:35] <boiddude> ok I just saw some online help sites say that might work
[14:35] <cws> They're idiots.
[14:36] <cws> Quite frankly.
[14:37] <boiddude> any other ideas then?
[14:38] <boiddude> it can see the world but apt just doesn't want to behave
[14:38] <cws> It's tantamount to telling someone with a flat tire to take a different road and that'll solve all of their problems.
[14:40] <leftyfb> cws: ipv6 can cause some problems (unlikely to be the cause here) and disabling it causes none. Please don't give false information.
[14:41] <leftyfb> boiddude: ok, lets forget about the virtual machine for now and only troubleshoot the bare metal server. Can you pastebin the error message you are getting when you try to run an update?
[14:42] <cws> leftyfb: IPv6 can cause issues with ipv6 connectivity, the same way that flat tires are tire problems. And yes, disabling it CAN cause issues. So what I'm saying is ENTIRELY true, and you can take your attitude and get bent.
[14:43] <Deano59> cws: you're nice. :)
[14:43] <leftyfb> cws: calm down, but also back up your claims. I have ipv6 disabled on all machines I manage. Roughly 6000 of them. Some of which are workstations. None have an issue.
[14:43] <cws> In general, yes.
[14:43] <cws> Someone comes out of the woodwork and responds with factual information with "don't give false information," though, and no, I'm not.
[14:43] <Habbie> cws, wow, language
[14:43] <cws> Habbie: English. How about you?
[14:43] <Deano59> leftyfb: surprised you're not tagging ops. hahahaha
[14:44] <Habbie> cws, also, but more in line with channel guidelines
[14:44] <leftyfb> Deano59: looks like we have some paying attention :)
[14:44] <boiddude> why not try and troubleshoot the virtualbox one since I have access to it working or not?
[14:44] <boiddude> I'll start up the bare metal one now though
[14:45] <ntz> pff, how do I please quivalent of `rpm -qf /some/file' ? reading man dpkg, can't find it ...
[14:45] <Habbie> ntz, dpkg -S
[14:45] <boiddude> they are both acting the same way.  I am still thinking it might have to do with our network.  but why let the windows computer pass these urls but not the ubuntu
[14:45] <leftyfb> boiddude: because a virtual machine has more layers of complexity. Lets limit variables, not add them
[14:45] <boiddude> I agree
[14:45] <cws> You said earlier no proxy in play, right?
[14:45] <boiddude> yes
[14:45] <boiddude> there is none
[14:46] <boiddude> no proxy file in etc/apt/apt.conf
[14:46] <cws> Do the windows systems go through a proxy?
[14:46] <boiddude> nope
[14:46] <cws> I figured I'd doublecheck since you mentioned that this is an AD environment.
[14:46] <boiddude> we do have a firewall but nothing is set up on the computers. I'm new to the IT department but those that have been here a bit longer don't set any up
[14:47] <boiddude> I'm not sure how I would check that in AD.  They could if it is part of attaching to the AD domain
[14:47] <ntz> Habbie: thank you, works
[14:47] <leftyfb> boiddude: do you have the bare metal server running and ready to pastebin the output?
[14:47] <cws> That'd be a group policy thing.
[14:48] <leftyfb> boiddude: also, have you discussed this with anyone at your work who manages the network and it's policies?
[14:48] <cws> You could also use the RSoP MMC snapin on a Windows system to see if anything is applying proxy settings.
[14:48] <cws> (Resultant Set of Policy)
[14:49] <boiddude> yes but someone else set it up and they have left so not a lot of in depth knowledge about the network.
[14:49] <boiddude> yes it just finished booting
[14:50] <nomic> i chmod 777 -R /etc .. and its bust my system now
[14:50] <nomic> how do i  fix this
[14:50] <leftyfb> nomic: re-install
[14:50] <nomic> ok
[14:51] <boiddude> so should I paste it here or where?
[14:52] <leftyfb> !paste | boiddude
[14:52] <boiddude> I've never used ubuntu pastebin
[14:52] <leftyfb> nomic: you could boot with a live cd/usb, mount the drive and go through and research the proper permissions of each directory and file and fix manually. You might even learn some things in the process. But it will take hours and really isn't worth the time. If you've got a proper backup, that could just be rsync'd back as well.
[14:52] <boiddude> https://paste.ubuntu.com/p/6HWy6FWwzH/
[14:53] <leftyfb> boiddude: have you tried changing the mirror?
[14:53] <leftyfb> boiddude: maybe your work blocks it for some reason
[14:53] <boiddude> problem is I don't know of a working one but no I haven't changed it yet
[14:54] <Mibix> hmm my software updater seems a bit broken https://imgur.com/a/0zZ7WAV
[14:54] <boiddude> I would need to know a known good one
[14:54] <Mibix> always comes back to that
[14:54] <leftyfb> boiddude: try ubuntu.media.mit.edu
[14:55] <leftyfb> Mibix: what version of ubuntu?
[14:55] <Mibix> 20.04
[14:55] <leftyfb> Mibix: open a terminal and run:   sudo apt update ; sudo apt full-upgrade
[14:56] <zamba> when i run systemctl list-units, i'm getting the following: failed to list units: connection timed out
[14:57] <leftyfb> zamba: what version of ubuntu?
[14:57] <zamba> 16.04
[14:58] <leftyfb> zamba: try: sudo systemctl daemon-reexec
[14:58] <boiddude> I just changed it and am testing it now
[14:58] <Mibix> ahh that seemed to have worked
[14:58] <Mibix> ty leftyfb
[14:58] <boiddude> still doing the same thing
[14:58] <leftyfb> boiddude: can you pastebin please?
[14:59] <zamba> leftyfb: that command hangs a bit and then just returns.. but it still timeouts on the list-units
[14:59] <zamba> leftyfb: the initial problem was that i was having lots and lots of sessions in the "state: closing"
[14:59] <boiddude> https://paste.ubuntu.com/p/9Jrqs6JskN/
[14:59] <leftyfb> zamba: tried rebooting? Also, just a heads up that 16.04 will become EOL next month.
[15:00] <zamba> leftyfb: well, i'd rather not reboot it, as it's a vital machine.. i have to have a maintenance window for that
[15:00] <zamba> # ls -l /run/systemd/sessions/ | wc -l
[15:00] <zamba> 5006
[15:00] <zamba> i know i have battled the same battle with this machine previously
[15:00] <zamba> and i was able to fix this without rebooting
[15:00] <zphinx> is there a way to have apt not read system environment settings from /etc/environment?
[15:00] <boiddude> ok changing it to the mit one. I can't even ping the arizona one
[15:01] <leftyfb> zamba: your system is not in a good state as far as systemd goes. A reboot might help. But again, your OS will be End of Life in a month.
[15:01] <leftyfb> zphinx: override the ENV's?
[15:01] <zamba> leftyfb: currently the required service is running.. so that's the most important part
[15:02] <zphinx> leftyfb: i'm trying to set Aquire::http*::Proxy for certain hosts in apt.conf, but it seems the https/http proxy settings from /etc/environment supercedes apt.conf settings
[15:02] <leftyfb> zamba: "it's working" does not mean it's in a good state. I highly recommend planning to upgrade in the very near future. If it's working, then maybe leave it at that.
[15:03] <boiddude> https://paste.ubuntu.com/p/fY94m3gMgk/
[15:03] <boiddude> same thing
[15:03] <leftyfb> zphinx: have you tested that theory by modifying the settings in /etc/environment?
[15:03] <boiddude> can ping it and resolve it just won't connect with apt
[15:05] <leftyfb> boiddude: can you try wget:    wget http://archive.ubuntu.com/ubuntu/indices/override.groovy-backports.extra.universe
[15:05] <leftyfb> boiddude: or curl:  curl http://archive.ubuntu.com
[15:06] <leftyfb> boiddude: or curl something else: curl checkip.amazonaws.com
[15:07] <boiddude> nope neither work.
[15:07] <boiddude> It wouldn't work on the virtualbox as bridged but worked just fine as NAT
[15:07] <leftyfb> boiddude: and you can ping and resolve right?
[15:08] <boiddude> the curl did to amazon
[15:08] <boiddude> yes
[15:08] <boiddude> the curl did to amazon as NAT
[15:08] <leftyfb> boiddude: ok, then you more than likely require a proxy to get out to the internet
[15:08] <boiddude> really makes me think it is an AD thing or something like that
[15:08] <certaindestiny> Hi all, I am having a bit of a weird issue running ubuntu 20.04. I have an external display connected with an USBC-altdp mode cable to HDMI. When i turn on my screen before i boot the PC the screen is properly displayed and all displays options are working.Resolution framerate etc. However. if i turn on the screen after boot it is detected as an
[15:08] <certaindestiny> integrated tech express inc 13" how can i fix this so that it is properly detected? or can i run a script to redetect the display properly?
[15:08] <boiddude> I didn't see any proxies set in the windows computer unless the AD can provide it somehow
[15:09] <cws> boiddude: It can.
[15:09] <leftyfb> boiddude: AD can provide that via group policies as mentioned to you earlier
[15:09] <leftyfb> boiddude: at this point you should look for help tracking that down with others in your IT department and/or in the #windows channel
[15:11] <leftyfb> boiddude: the reason NAT worked was because that just routes traffic through your host machine which is properly configured for the proxy. Bridged doesn't work because it's just another host on the same network as the host Windows machine which requires the proxy settings
[15:12] <boiddude> Ok thank you two.  I will pursue the AD path.
[15:12] <boiddude> Leftyfb that is what I was thinking due to it working under NAT.  Just haven't found where in AD yet
[15:13] <leftyfb> boiddude: that would be a Windows support question :)
[15:13] <leftyfb> boiddude: good luck
[15:13] <zphinx> leftyfb: yes, it keeps picking the http_proxy, it works if i unset http_proxy
[15:15] <leftyfb> zphinx: I could be wrong, but I don't think unsetting an ENV is considered an override when you have it specified in /etc/environment. Try changing the proxy either in your apt settings or in /etc/environment and see which one takes precedent
[15:16] <zphinx> leftyfb: the env variable is set by /etc/environment
[15:18] <leftyfb> @zphinx: you set a different proxy in apt and the setting in /etc/environment took priority? I don’t think that is right. It’s certainly not been the case in my experience.
[15:19] <leftyfb> @zphinx: to be clear, set a proxy ip/host name even if it isn’t valid. Don’t test by unsetting it or leaving it blank
[16:43] <ntz> ubuntu looks cool ... I am semi-impressed
[17:03] <borw3> Hello, how to check errors from dpkg? if an apt-get dist-upgrade fails?
[17:04] <flrnd> in /var/log/dpkg.log?
[17:05] <borw3> flrnd: cool, let me check it out
[17:05] <oerheks> the output of your apt command, could give a clue
[17:05] <oerheks> !paste
[17:10] <rocketeer99> I have a 144 hz monitor attached to a laptop with a 60hz display, yet only the mouse moves "properly" on the faster monitor - everything else is a jittery mess, at a guess around 60fps
[17:10] <rocketeer99> All I can find are bug reports from years ago with no resolution, but maybe my google-fu is bad
[17:11] <rocketeer99> (Ubuntu 20.04.1, gnome 3.36, X11)
[17:12] <borw3> oerheks: Here, maybe if you can help further...https://pastebin.com/h6exncZL
[17:13] <oerheks> i cannot reach that pastbin,com, use the ubuntu one please
[17:18] <borw3> oerheks:Okay, here https://paste.ubuntu.com/p/wCThB7r7WZ/
[17:21] <ntz> this drives me nuts ... how can I please search just in package names ?
[17:21] <ntz> apt search and apt-cache search includes searching in description also
[17:22] <ntz> also how do I search for some package capability, for example filenames, eg equivalent of `yum provides \*bin/foo'
[17:23] <ntz> or suse way is same, zypper -vv se -f 'bin/foo'
[17:24] <Ravage> in general i recommend https://packages.ubuntu.com/ for that
[17:24] <Ravage> but "dpkg -S /bin/ls" also works
[17:26] <ntz> Ravage: ok, I meant online search in yet-not-installed packages .. would be some apt-cache
[17:26] <Ravage> that would be apt-file
[17:31] <boiddude> Good afternoon. Can anyone help me statically set my ubuntu server's ip address?  I have googled it and it isn't working changing the netplan config
[17:31] <boiddude> argh
[17:33] <Ravage> https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-configure-networking-in-ubuntu-20-04-with-netplan/
[17:34] <boiddude> https://paste.ubuntu.com/p/ykf4V9xMh9/
[17:34] <boiddude> that is my configuration and it isn't working at all.
[17:34] <Ravage> there are a lot of problems with that confug
[17:34] <Ravage> *config
[17:35] <boiddude> alright let me follow the other page and get back.
[17:35] <Ravage> wrong netmask. wrong ip range in general
[17:35] <boiddude> well in our dhcp server that is the /32 that is given
[17:35] <Ravage> i assume you want "addresses: [<IP_ADDRESS>/24]"
[17:35] <rocketeer99> So continuing my problems with dual monitors
[17:35] <zphinx> leftyfb: sorry for the late reply, but yes, its the http_proxy variable set in /etc/environment that takes predence over apt.conf settings
[17:35] <rocketeer99> https://imgur.com/a/Tiw5Xmz
[17:35] <rocketeer99> here's what feels like a major security vulnerability
[17:35] <boiddude> there is no net mask on there
[17:36] <boiddude> well that is what the configuration pages say but why would my dhcp have /32?
[17:36] <rocketeer99> why can I see previews of all my open windows through the lock screen?
[17:36] <boiddude> no the ip address 205 not 204
[17:37] <Ravage> with "<IP_ADDRESS>/32" you dont reach your gateway <IP_ADDRESS>. so this can never really work.
[17:39] <leftyfb> rocketeer99: if you're running dash-to-dock, then you need to disable the ubuntu-dock extention
[17:40] <boiddude> following that page you sent it still doesn't work
[17:40] <boiddude> I changed it to 24 and still nothing
[17:40] <Ravage> as long as your network parameters are just wrong it will not work
[17:41] <leftyfb> boiddude: what error do you get when you run: sudo netplan apply
[17:41] <boiddude> https://paste.ubuntu.com/p/6tfHCxJYtW/
[17:41] <boiddude> that still didn't work
[17:41] <boiddude> no errors
[17:42] <leftyfb> boiddude: try setting dhcp4: no
[17:42] <Ravage> your gateway is still not reachable with this configuration
[17:43] <leftyfb> boiddude: also, remove the line with <IP_ADDRESS>
[17:43] <boiddude> so get rid of my dns servers?
[17:43] <leftyfb> boiddude: no, just the last 1
[17:44] <leftyfb> boiddude: you only want 1 in there unless both nameservers are resolving the same way (they aren't)
[17:44] <leftyfb> Ravage: set your address to : <IP_ADDRESS>/23
[17:44] <leftyfb> oops: boiddude ^
[17:45] <boiddude> ok setting it to /23 worked. I can at least ping outside now. Now to check and see if I can update
[17:46] <Ravage> setting static IPs without knowing your basic network topology is probably not the smartest choice.
[17:47] <boiddude> well I need that so I can get out of the firewall to update
[17:47] <boiddude> it used to be so much easier before netplan
[17:47] <zphinx> Hi! Im trying to set up apt to work with a specific proxy in our environment, we have two, one is a locked down proxy and the other one is more permissive, sadly we have the /etc/environment set to the less permissive one, and i need the permissive one for connecting to the packages.gitlab.com repo with apt. I've been trying to set Aquire::http*::proxy in apt.conf and apt.conf.d, but it seems that
[17:47] <zphinx> the proxy from /etc/environment takes prededence over apt settings.. is there any way around this?
[17:47] <Ravage> this really has nothing to do with netplan
[17:47] <boiddude> well I just know less info was needed before. I never had to worry about the /anything
[17:48] <boiddude> just ip address, netmask and gateway but netmask was in a more friendly form no /'s
[17:50] <leftyfb> boiddude: that's not true. before you would set: netmask <IP_ADDRESS>   now you set the subnet in the /23
[17:50] <leftyfb> boiddude: ipcal is helpful with this sort of this:   ipcalc <IP_ADDRESS>/23
[17:51] <Ravage> and the interfaces file also supports CIDR for many years.
[18:09] <boiddude> leftyfb yes but it was always the same for me using the <IP_ADDRESS> than the /#
[18:09] <boiddude> ill keep that ipcal in mind. Hopefully there is a webpage for it.
[18:09] <boiddude> but if you know the 23 then it is useless.  I don't know the /#  I know the regular ip looking mask
[18:11] <boiddude> Ok so went to our firewall and was able to add my ip address so it should have access to the world and I still can't do apt update. The network still times out.  Any logs I can look at?  I have looked at syslog and auth and kern and none of them help
[18:11] <boiddude> I'm going nowhere fast and need to get this system up and running and I can't even update it.  Any suggestions?
[18:13] <flrnd> this may sounds silly, but the gateway and nameserver I assume that are also configured correctly, right?
[18:16] <leftyfb> boiddude: can you ping and resolve the outside world?
[18:17] <leftyfb> boiddude: have you compared the ip information of your Windows box that that of the ubuntu server? This really sounds like figuring out how your works firewall is setup and not a problem with Ubuntu
[18:23] <boiddude> Yes I can ping but nothing else works including curl
[18:23] <boiddude> or wget
[18:24] <boiddude> so all other ports but pinging are not working. I also went to the firewall and gave it permission to see the outside world
[18:25] <boiddude> well the windows box doesn't have a proxy or anything. It might be from AD though so it isn't seen on the local machine unless in the registry
[18:27] <leftyfb> boiddude: does your ubuntu server have the same DNS and gateway settings as the windows box?
[19:03] <Enissay> I need to install an old java version `openjdk-8-jdk | 8u131`. It is needed because my app doesn't *yet* support newer versions. I have upgraded by mistake and now it seems to be lost forever :<
[19:04] <Enissay> Is there still a way to downgrade even when remove from official repo ?
[19:06] <matsaman> there's probably a way to install a self-contained older version exterior of your package manager
[19:08] <matsaman> Enissay: looks like you can install openjdk-8-jdk on all maintained Ubuntu versions
[19:19] <oerheks> no downgrade, you might want to create a vm with https://launchpad.net/ubuntu/xenial/amd64/openjdk-8-jdk/8u131-b11-0ubuntu<IP_ADDRESS>
[19:19] <oerheks> and make sure your firewallis closed :-D
[19:20] <oerheks> 2017 .. really?
[19:20]  * oerheks facepalms
[19:31] <Adran> has anyone here used ippeveprinter successfully with cups and windows? it doesn't seem to be supported by anything and always sends rejections
[20:00] <rwp> I just upgraded an Ubuntu 16.04 to 18.04 and now systemd won't get past "starting" and the graphical login from gdm3 does not display.
[20:00] <jayjo> is there a reason why the linphone package is not available in 20.10 package repos, but is available in the debian repositories?
[20:00] <rwp> Nothing is ever shown as failed.  This shows nothing failed: systemctl list-units --state=failed
[20:00] <rwp> journalctl -b does not show anything of interest either.
[20:00] <rwp> Any ideas of how to get systemd to tell me more information about why it is "starting" but not moving past that point?
[20:00] <jayjo> Was it due to the rolling relase schedule overlap, maybe?
[20:00] <rwp> "systemctl status gdm.target" shows it as loaded, enabled, and active running.  So does ps.
[20:04] <rwp> I see that two plymouth processes are still running.  That seems abnormal.  Shouldn't those terminate before gdm3 is started?
[20:07] <sarnold> jayjo: you can sometimes answer these questions via the "full publishing history" link on launchpad https://launchpad.net/ubuntu/+source/linphone/+publishinghistory
[20:07] <sarnold> jayjo: clicking the little triangle next to the groovy deleted line shows "Debian #943162, removed in testing, no rdeps"
[20:35] <mekhami> this may not be the right channel, but here goes. i have a dual boot setup. my ubuntu install is on /dev/sda and works fine. i have a windows boot on /dev/sdb. (it's a separate disk.) I have 100gb of unallocated space on /dev/sdb, and I want to add that unallocated space to my windows boot. i have it open in gparted but i don't understand how to merge that unallocated partition with the windows one
[20:36] <Habbie> mekhami, you can't just expand the windows into it?
[20:36] <matsaman> mekhami: first make sure your Windows FS is defragmented, and any data you can't live without is backed up
[20:36] <matsaman> mekhami: then all you have to do is tell gparted to expand it to take up all that space, like Habbie suggests
[20:36] <Habbie> matsaman, does fragmentation matter for growing? i thought it was mostly for shrinking
[20:36] <Habbie> definitely make backups!
[20:36] <matsaman> next boot Windows will probably do an fsck, and then everything should be fine
[20:36] <mekhami> so right now /dev/sdb has: /dev/sdba1-5, a 1mb block of unallocated, /dev/sdb6 which is 'grub2 core.img' which is 1mb, and then another unallocated, the 100GB
[20:37] <mekhami> so they aren't adjacent, and it doesn't seem like i can move anything
[20:37] <matsaman> Habbie: you could be right, but I wouldn't risk it <shrug>
[20:37] <matsaman> Windows does not make sense as much as some things
[20:37] <Habbie> matsaman, ack - the backup is the most important thing though
[20:37] <matsaman> mekhami: why does sdb have so many partitions?
[20:37] <matsaman> Habbie: yeah, and the most tedious =D
[20:37] <mekhami> matsaman: no idea, i didn't do it this way.
[20:37] <Habbie> yep
[20:38] <mekhami> this is a screenshot of that disk on gparted: https://imgur.com/a/P2geaiv
[20:38] <matsaman> mekhami: if you want sdb to be only Windows, I would back all that up and nuke it, set up _one_ partition taking up the entirety of sdb and install Windows to it
[20:38] <mekhami> grub is also on that disk though
[20:38] <matsaman> or just swap in a new drive
[20:38] <matsaman> mekhami: it shouldn't be, you should put that on sda
[20:38] <cws> Can't do a windows install that way. It requires multiple partitions these days.
[20:38] <matsaman> cws: it does not
[20:38] <cws> Yes, it does.
[20:39] <matsaman> it certainly _wants_ more than one, but it will install to one if you only give it one
[20:39] <cws> K.
[20:39] <flrnd> and you won't be able to fix the thing among other problems
[20:39] <flrnd> so you do you
[20:40] <mekhami> i don't understand why I can't just put that unallocated space onto the partition :( why do they have to be adjacent??
[20:40] <flrnd> why dont boot windows, and use the partition tool to grow the main partition?
[20:40] <matsaman> mekhami: isn't it 1MB?
[20:40] <Habbie> mekhami, partitions need to be one chunk; some filesystems can use two partitions, but I don't believe NTFS is one of them
[20:40] <mekhami> matsaman: there's two unallocated. One is 1mb, the other is 100GB
[20:41] <matsaman> mekhami: oh in gray, right
[20:41] <mekhami> yeah
[20:41] <flrnd> the 1mb is necesary for GPT layouts
[20:41] <cws> Only for BIOS/CSM boot.
[20:41] <matsaman> mekhami: the easy solution is to remove the grub partition
[20:41] <matsaman> mekhami: which would make more sense on sda anyway
[20:41] <matsaman> mekhami: but you could always remove it then restore it
[20:42] <matsaman> you can reorder partitions without recreating them, but it's not any fun at all
[20:42] <mekhami> matsaman: clarify 'remove it then restore it'?
[20:42] <cws> flrnd: The 1MB partition is only needed to embed a bootloader if you're doing BIOS/CSM boot. For UEFI-only, its not needed.
[20:43] <matsaman> you can remove the grub partition from sdb, do whatever you want with the unallocated space, and then restore the grub partition to sdb (elsewhere / at the end)
[20:43] <mekhami> ow does one restore the grub partition
[20:43] <matsaman> non-UEFI does not require a special partition
[20:43] <flrnd> cws: https://superuser.com/questions/847775/gparted-leaves-1mb-unallocated-space-at-end-of-external-hdd-override-alternativ
[20:43] <cws> On GPT, it most certainly does.
[20:43] <matsaman> mekhami: just note the size, then dd it to a file, recreate it the same size, dd it back to the partition
[20:44] <matsaman> cws: no
[20:44] <cws> GPT+BIOS boot absolutely does require a special partition.
[20:44] <matsaman> nope
[20:44] <cws> Yup.   That's how I know.
[20:44] <cws> Y'all have fun.
[20:45] <matsaman> poor chap
[20:45]  * cncr04s slaps cws
[20:45] <matsaman> irrelevant trivia measuring anyway =D
[20:45] <matsaman> gotta love IRC
[20:45] <Habbie> don't blame the protocol
[20:45] <flrnd> reddit is even more fun
[20:46] <matsaman> I don't know, reddit isn't real-time
[20:46] <matsaman> so people have a change to actually think while they're writing
[20:46] <matsaman> and revise =P
[20:46] <mekhami> matsaman: is that not going to screw up grub's configuration, i.e. the partition uuids? last time i tried something like this it resulted in not being able to boot @.@
[20:46] <matsaman> but yeah it's a funny place, too
[20:46] <matsaman> mekhami: if it does you can fix it from the live OS
[20:47] <matsaman> by just going through the grub-install process again
[20:47] <flrnd> mekhami: why don't you try to allocate that space from windows partition tool directly?
[20:47] <mekhami> flrnd: i will try, but in order to do that i have to be mounted to the windows partition and generally, don't you have to operate on unmounted partitions?
[20:48] <matsaman> mekhami: did you try resizing sdb6 till it's at the end first?
[20:48] <mekhami> matsaman: like allocating the 100GB to sdb6?
[20:48] <matsaman> sure
[20:48] <mekhami> and then what? not sure i follow the process
[20:48] <matsaman> and then shrink it while keeping it at the end
[20:49] <flrnd> if you just want to allocate that space into windows partition, I recall that you can do it directly from Win, but not 100% sure because it's ages and Im talking from memory
[20:49] <flrnd> but I'd look into that first before messing with parted
[20:49] <mekhami> matsaman: sdb6 doesn't seem to give me the option to resize
[20:50] <matsaman> don't trust windows tools at all, even less so with random Unix things (like this GRUB partition) sprinkled in
[20:50] <flrnd> don't trust windows tools? why?
[20:50] <matsaman> 'cause windows
[20:50] <flrnd> I'd rather use windows tools to mess with windows partitions than parted
[20:51] <flrnd> well 'cause windows maybe give you points on internet, but it's biased and uniformed :)
[20:51] <matsaman> mekhami: yeah I think I'd dd the grub partition to a file, delete it, absorb space into sdb5 minus space for a new sdb6, then dd the file back to sdb6; if there's a UUID problem you can fix it from the live OS
[20:52] <matsaman> but my first choice would be to nuke that whole thing and put Windows on one partition, with GRUB on sda
[20:52] <flrnd> okey after reading that advice I'm out XD, good luck!
[20:52] <matsaman> lates
[21:10] <oerheks> matsaman, +1, windows would give the max % possible, plus any anti virus does not complain (only a virus)
[21:57] <questi> how to enable secure vnc or rdp access to a ubuntu server via console? :)
[22:00] <matsaman> configure for it to go over ssh
[22:04] <oerheks> vnc for a server..?
[22:05] <questi> lol sorry desktop
[22:06] <questi> I am thinking of vino
[22:08] <oerheks> there is a standard rdp installed, but not encrypted
[22:08] <oerheks> hence ssh
[22:08] <oerheks> !ssh
[22:08] <questi> ok
[22:09] <questi> I have tried to rdp via remmina ssh tunnel yet to work
[22:14] <oerheks> yes?
[22:15] <oerheks> interesting, without details what linux version, what errors, what guide you followed ..
[22:16] <questi> also simply connecting yet to work
[22:16] <questi> did not follow any guide
[22:19] <questi> Ubuntu 20.04.1 LTS
[22:25] <questi> ok I simply had a server then via Tasksel I added desktop :)
[22:26] <questi> now rdp should be on by default or I have to install a client?
[22:26] <questi> :)
[22:26] <questi> I do not want to install extra garbage
[22:27] <questi> all I say is wonder full haha
[22:27] <questi> :))))))))))))))))))))))))))
[22:28] <sarnold> questi: it's best to stick around after asking questions
[22:29] <leftyfb> questi: an RDP server is not installed by default on Ubuntu. Nor is it a popular remote desktop protocol on linux distributions. You should use VNC over SSH
[22:29] <Starship8012> hi, is it possible to run y python script like "python make.py arg1 arg" and let it run after I close my putty window?
[22:29] <leftyfb> Starship8012: sure, use a program called "screen"
[22:30] <Starship8012> thanks, checking :)
[22:30] <boiddude> Networking question.  I have a fresh installed ubuntu server that I can't get out via the ethernet. I have an older wifi usb stick.  I have tried to configure the network but it breaks the ethernet connectivity as well.  Anyone know what is wrong?  https://paste.ubuntu.com/p/gzpcwHXSnH/
[22:31] <questi> yes using vnc now
[22:33] <leftyfb> boiddude: you've been told what is wrong. Please figure out your works firewall/network policies and configure your server's network accordingly. Once you figure out what your works policies are and how to configure for them, someone here will be more than happy to help you configure netplan accordingly
[22:34] <boiddude> no this is a different question. I am just trying to set up the wifi
[22:34] <leftyfb> boiddude: why?
[22:34] <boiddude> Just wanted to make sure my configuration is correct
[22:34] <boiddude> because wifi is open with no blocks. Ethernet has blocks
[22:35] <leftyfb> boiddude: it sounds like your work's network policies are wrong and undocumented. If you're the only IT person left, then you should work to change that
[22:35] <boiddude> I will but I can tell you the ethernet problem is an AD or windows service issue.
[22:36] <leftyfb> boiddude: as for your issue, you'll need to install something like wpa_supplicant or wicd to configure your wifi
[22:36] <Starship8012> seems like "nohup" helps me already :)
[22:36] <questi> leftyfb: vncserver -localhost using remmina via ssh tunnel refusing to connect
[22:36] <questi> how can I fix it
[22:36] <leftyfb> boiddude: ok, then fix the AD/Windows problem. That is the correct answer. Not put a server behind wifi because it's less secure than ethernet
[22:36] <boiddude> which makes sense whomever was here before didn't want anyone just plugging something into our ethernet network and getting on it.  This stops them from doing that. Even a fresh windows can't get on till it is added to the domain then it can hit http sites.
[22:37] <leftyfb> questi: use x11vnc for your server and remmina for your client
[22:37] <boiddude> Why can't I do it from just the server. I have no gui
[22:37] <boiddude> and no internet access to install anything. That pastebin is what a couple of sites said it should look like.
[22:37] <questi> leftyfb: maybe just delete everything and use https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-20-04 ?
[22:38] <questi> I just want a simple solution
[22:38] <boiddude> someone helped me out earlier. Supposedly netplan can do it without that wifi application
[22:38] <boiddude> No I just need it behind wifi so I can download what I need to join the AD domain.
[22:38] <leftyfb> boiddude: that's the fun part. Again, you're going to jump through hoops for the wrong solution. The right solution is to look for help configuring your server to work within your Windows policies. Or change the Windows policies to suit your server.
[22:38] <leftyfb> boiddude: ah, ok
[22:39] <boiddude> Well when I get on the domain which I will need to be on anyways it shouldn't have this issue but I can't know till I try
[22:39] <leftyfb> boiddude: https://netplan.io/examples/
[22:39] <boiddude> Thank you
[22:51] <boiddude> ok so either wifi adapter is not working right or it just is a nogo.
[22:58] <leftyfb> boiddude: maybe turn off the policy requirement on the firewall temporarily so you can install the things you need on the server
[23:44] <Ravage> or plug your phone in the server via USB tethering. that driver is included
[23:45] <Ravage> you should get dhcp on the usb0 device


[11:05] <ahasenack> good morning
[13:03] <cpaelzer> jamespage: have you seen any 16.04 impact in regard to nested KVM when openstack models the CPU features (like bug 1797332)?
[14:14] <sdeziel> /usr/lib/ubuntu-release-upgrader/check-new-release makes outbound HTTPS connections which are blocked here. I'm looking for a way to have it use a HTTP proxy, any pointers?
[14:14] <teward> sdeziel: set your HTTP_PROXY, HTTPS_PROXY, etc. to your non-https-enabled proxy?
[14:15] <teward> and for apt too possibly it'd need it?
[14:15] <sdeziel> teward: I tried a bunch of variations of that and it didn't work
[14:15] <sdeziel> teward: I tried http(s)_proxy and HTTP(S)_PROXY env to no avail
[14:16] <sdeziel> teward: also set Acquire::http(s)::Proxy
[14:19] <sdeziel> I've also added the lower/upper cases vars to /etc/environment...
[14:19] <sdeziel> still a direct connection is attempted
[14:25] <teward> i'd have to go and do some testing, which OS?
[14:25] <teward> s/OS/version/
[14:26] <sdeziel> teward: bionic
[14:27] <teward> give me a minute to debug this evil thing with this other program and i'll do some tests?
[14:27] <teward> (sorry my system's being stupidly stupid today)
[14:28] <sdeziel> teward: I am just wondering what I'm doing wrong and we still have a long time before Bionic becomes EOL ;)
[14:29] <sdeziel> so I have ~ 5 years to address this
[14:29] <teward> :P
[14:31] <plm> Hi all!
[14:31] <ahasenack> rbasak: I was looking at https://code.launchpad.net/~tdaitx/ubuntu/+source/initramfs-tools/+git/initramfs-tools/+merge/355190 and that was already gathered by the importer
[14:31] <ahasenack> rbasak: the mp is still in "needs review" state
[14:32] <rbasak> ahasenack: presumably no upload tag was supplied?
[14:32] <ahasenack> rbasak: would that be because a) it was never switched to "approved"; and b) the upload tag wasn't pushed?
[14:32] <ahasenack> are both of these conditions required, or just the latter perhaps? Do you remember?
[14:33] <ahasenack> rbasak: and, I think it's safe to switch it to "merged", right? I just checked out xenial-devel and it has that code merged via the importer
[14:33] <rbasak> Only the latter is required.
[14:33] <plm> TJ-: Hey! How are you?
[14:34] <plm> TJ-: Did you success making the script?
[14:34] <rbasak> The importer doesn't actually touch any MPs. Launchpad is set to detect when an MP's proposed branch tip hits the target branch and automatically marks it as merged.
[14:34] <rbasak> But that'll only happen if the importer adopted the branch which only happens currently if the upload tag was pushed.
[14:34] <TJ-> plm: working on it right now
[14:35] <ahasenack> rbasak: ah, gotcha
[14:35] <TJ-> sdeziel: there's a workaround for the HTTPS issue; simply change the protocol to HTTP in /etc/update-manager/meta-release  - it is only recently (due to me!) the protocol was changed to support HTTPS
[14:35] <ahasenack> makes sense
[14:36] <ahasenack> cpaelzer: libvirt question, before I did in deep maybe you have a hint
[14:36] <sdeziel> TJ-: that's no fix :P just a workaround
[14:36] <TJ-> sdeziel: well we lived with it for years :)
[14:36] <ahasenack> cpaelzer: bind9 monitors nic changes and detects when a new nic comes up, and starts listening on it
[14:36] <sdeziel> TJ-: any idea why the proxy vars are ignored?
[14:36] <ahasenack> cpaelzer: for some reason, that isn't working when a libvirt bridge is brought up. I have to restart bind9, even though it detected the new nic and said it was listening on it
[14:37] <ahasenack> cpaelzer: tcpdump also shows no traffic hitting that nic when I do a dig @<nic-ip> test. Only after I restart bind
[14:37] <ahasenack> cpaelzer: a normal bridge, brought up with "brctl addbr br0; ifconfig br0 ...." works, bind listens on it just fine
[14:38] <ahasenack> cpaelzer: any idea what could be going on? I thought maybe firewall rules, but I can't imagine how a bind restart would make it all work
[14:40] <plm> TJ-: gfreat =D
[14:40] <plm> *great
[14:41] <TJ-> sdeziel: I'd guess from looking at the d-r-u code it is related to "from UpdateManager.Core.utils import init_proxy"
[14:42] <cpaelzer> ahasenack: you are looking at the usual default network configuration?
[14:42] <sdeziel> TJ-: thanks, I'll dig in
[14:43] <ahasenack> cpaelzer: yeah, the <IP_ADDRESS>/24 that is brought up
[14:43] <cpaelzer> ahasenack: the only rules that has are for the nat forwarding
[14:43] <ahasenack> or <IP_ADDRESS>/24, if there is a conflict, and so on
[14:43] <cpaelzer> and as you said, a bind restart couldn't fix that anyway
[14:43] <cpaelzer> puzzling for sure
[14:43] <cpaelzer> hmm
[14:44] <TJ-> sdeziel: the changelog for update-manager has "* Add support for HTTPS proxies; this breaks UpdateManager.Core.utils.init_proxy()"
[14:44] <ahasenack> nat, hm, I wonder if bind was rejecting it because of the source address or something. But again, the restart making it work puzzles me
[14:44] <ahasenack> I'll keep digging
[14:44] <cpaelzer> ahasenack: you said bind realizes that it got added and pretends to listen on it
[14:44] <ahasenack> yes
[14:44] <cpaelzer> how do you brin gup that libvirt network?
[14:44] <cpaelzer> net-start?
[14:45] <ahasenack> tried that, and also right after install, since postinst brings it up
[14:45] <ahasenack> nic hotplugging works fine as well
[14:45] <ahasenack> via virt-manager
[14:45] <ahasenack> so far I narrowed it down to this libvirt bridge only
[14:48] <cpaelzer> ahasenack: conflicting dns service?
[14:48] <TJ-> sdeziel: maybe juliank can tell us how it gets broken; I can't see why from the code of UpdateManager/Core/utils.py
[14:48] <ahasenack> hmm
[14:48] <ahasenack> cpaelzer: you mean with dnsmasq
[14:48] <cpaelzer> something like that
[14:48] <ahasenack> that's a good hint
[14:48] <cpaelzer> breaking the init
[14:48] <cpaelzer> and the latter restart might succeed (unsure why)
[14:48] <cpaelzer> but worth to keep an eye on when debugging
[14:49] <ahasenack> I need to switch the kernel in this vm
[14:49] <ahasenack> the -virtual kernel has no support for iptables
[14:50] <cpaelzer> dnsmasq certainly has <IP_ADDRESS>:53 bound on a default install
[14:50] <cpaelzer> to provide services to guests
[14:50] <cpaelzer> is that enough as a working theory until falsified ahasenack?
[14:50] <ahasenack> cpaelzer: it is, thanks
[14:51]  * cpaelzer stops brain-brabble to IRC link then
[14:54] <cpaelzer> ahasenack: FYI you can try <dns enable='no'/> in the network definition
[14:54] <cpaelzer> even no config would otherwise spawn a default dnsmasq
[15:03] <ahasenack> cpaelzer: this is the other error I'm getting:
[15:03] <ahasenack> https://pastebin.ubuntu.com/p/BkWyF5RbWq/
[15:03] <ahasenack> I wonder if the cause is line 7
[15:03] <ahasenack> line 9 I thought was because of the virtual kernel: iptables -L wouldn't work
[15:03] <ahasenack> but it is working now
[15:04] <ahasenack> let me try bionic
[15:05] <ahasenack> bionic works just fine
[15:10] <ahasenack> hm, I installed using --no-install-recommends
[15:11]  * ahasenack lets recommends loose
[15:11] <ahasenack> ok, that fixed it
[15:12] <ahasenack> cpaelzer: you were right, it was dnsmasq \o/
[15:12] <ahasenack> checkout who is listening on port 53 before and after the bind9 restart: https://pastebin.ubuntu.com/p/T9847Z8rSN/
[15:12] <ahasenack> on <IP_ADDRESS>
[18:11] <teward> rbasak: sarnold: anyone else who cares: I have multiple requests in email that led to the creation of #1797897 which requests enablement of --with-compat so third party dynamic NGINX modules can be included in local installations without having to be repackaged in for Ubuntu.
[18:11] <teward> for the PPAs it's going to be enabled, but I would like additional inputs on for *Ubuntu* whether it should be enabled.
[18:11] <teward> i think we had a discussion on this before and it led nowhere?
[18:12] <teward> i forget who else was included on the discussion :|
[18:12] <teward> but it'd be needed for people to just add the already built .so into their 'versions' of nginx without having to install additional packages.
[18:13] <teward> (the nginx.org repositories build with --with-compat, not sure why Debian doesn't, though)
[18:13] <teward> (and this wouldn't get in until D-series, I forget what its codename is?)
[18:13] <sarnold> teward: hrm, I'm confused.. here it sounds like --with-company lets folks package their addons separately, but the bug text gives the opposite impression?
[18:19] <teward> sarnold: it's confusing I know
[18:20] <teward> let me dig up the post about it all on nginx.org
[18:21] <teward> sarnold: https://forum.nginx.org/read.php?29,270210,270213#msg-270213 and http://mailman.nginx.org/pipermail/nginx-devel/2018-May/011119.html where I make more inquiries about what it does
[18:21] <teward> sarnold: this WOULD let people compile third party NGINX plugins and use them without first having to compile alongside the existing source code
[18:21] <teward> and they could then theoretically install binary-only packages that'd interact with an existing nginx build
[18:21] <teward> but i had a recent uptick in the requests
[18:22] <teward> literally ten in the past two days from 10 separate individuals
[18:22] <teward> so it's a discussion back on the table
[18:22] <teward> sarnold: NGINX's devels suggest it should be enabled for distros
[18:22] <teward> and nginx.org's repos for NGINX have it, but the question is whether we should
[18:22] <teward> and i pinged you because of the security concern.
[18:22] <teward> --with-compat, not --with-company, by the way
[18:22] <teward> (autocomplete hates you I assume, sarnold?P
[18:23] <sarnold> teward: heh, no, that's just my stupid fingers
[18:23] <sarnold> damn things think they know best
[18:23] <sarnold> the word 'internal' just happens to have several backspaces in it ;)
[18:23] <teward> :P
[18:25] <teward> sarnold: TL;DR, if I have a copy of, say modsecurity for NGINX compiled dynamically, I could include that in a binary build of NGINX separately from the packaging if the nginx binaries were built with --with-compat
[18:25] <teward> *we* wouldn't have to worry about the security of that module since it doesn't sit in the Ubuntu repos from a Sec Team perspective
[18:25] <teward> and it'd be the case of "End User Stupidity" if they fubar their system with a bad plugin
[18:25] <teward> ... which is *technically* why we don't ahve any new modules in the packages in a long time :P
[18:25] <sarnold> teward: --with-compat sounds like a win to me
[18:26] <teward> sarnold: that's what I think, not sure why Debain never introduced it, even though nginx upstream did.
[18:26] <teward> but i thought i'd ask before I start poking.
[18:26] <teward> I could follow up on the ML but I think i brought this up before...
[18:27] <teward> bleh it's missing
[18:27] <teward> sarnold: i have no issues enabling it, but I thought I'd ask you and rbasak and {anyone else who cares} first before I start planning it
[18:31] <teward> sarnold: if you wish to make a comment from the Ubuntu package perspective https://bugs.launchpad.net/nginx/+bug/1797897 is the tracker for both the PPA and the Ubuntu package, since it's the same issue, but it's not going to eb done 'quickly' for Ubuntu.
[18:32] <sarnold> ah good idea
[18:32] <teward> sarnold: what's D-series named again?
[18:32] <teward> i forget.
[18:32] <teward> i should be shot for forgetting but eh
[18:35] <teward> sarnold: i put my extended description into the bug description as well
[18:35] <teward> or comments rather
[18:35] <teward> since I wrote the initial bug while caffeine was still taking effect in my system :P
[18:42] <sarnold> :D
[19:16] <lucidguy> I'm looking for a new method to mas deploy bare metal servers.  Currently doing pxeboot with ubuntu-installer/preesed.  Need something more modern, for larger deployments.  I'm aware of Ubuntu's MAAS, Brightmaster, even thought of going pxeboot clonezilla.  Recommendations?
[19:18] <sarnold> lucidguy: I've heard folks happy with both maas and fai-server -- never heard of brightmaster
[19:24] <lucidguy> sarnold: Thanks for response
[20:26] <tomreyn> lucidguy: i like foreman


[09:59] <doko> cjwatson, infinity, jibel: the autopkg tests for gcc-4.8 are still marked running: python-apt and pyqt5, but seem to have finished according the jenkins page
[10:00] <jibel> doko, looking
[16:11] <jamespag`> hello; I have a openvswitch-lts-saucy NEW upload which resolved bug 1262225
[16:11] <ubot2`> Launchpad bug 1262225 in openvswitch (Ubuntu Precise) "openvswitch 1.4.6 is not compatible with the 3.11 saucy HWE kernel" [High,Triaged] https://launchpad.net/bugs/1262225
[16:11] <jamespag`> could a member of the SRU team take a look? this is the same approach that we took for the raring kernel for precise
[20:49] <rtg> infinity, could you NEW the linux 3.13.0-8.28 binaries please ?
[20:51] <rtg> or maybe just approve them since the ABI didn't change
[20:52] <infinity> rtg: Yeah, just needed to approve the amd64 EFI bits so linux-signed can build.  Sorted now.
[20:52] <rtg> thanks