[01:00] <erik-k> Hello... I am experiencing an "epidemic" in new Ubuntu-20.04 installs which inexplicably fail to renew their dhcp leases. I can find some references to old bug reports which are allegedly long fixed [ https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1551351 e.g. ].
[01:02] <erik-k> What I know: The dhcpd never gets a renewal request. The only clue I have is in the client logs,
[01:02] <erik-k> Feb 22 16:23:02 echs NetworkManager[856]: <error> [1614039782.6553] dhcp4 (enp61s0): error -113 dispatching events
[01:03] <sarnold> EHOSTUNREACH 113 No route to host
[01:03] <sarnold> I can't promise it's related but it seems likely
[01:09] <erik-k> Um... is there some other dhclient or equivalent service I'm supposed to be running that's somehow not being started?
[01:11] <erik-k> No route doesn't make sense... I mean, dhcp is a level 2 protocol, you can't require IP in order to stand up your IP interface after all.
[01:23] <sarnold> but the dhcp renewal will happen via usual tcp; normally systemd-networkd or networkmanager manages the dhcp client entirely for you
[01:24] <erik-k> Hmmm... hmmmmmm... *checks firewall configuration*
[01:26] <erik-k> Nope, one of the problem machines doesn't even have it setup (probably because I got derailed by the interface uptime issue)
[01:36] <erik-k> I will keep poking.
[01:36] <erik-k> G2G.
[02:25] <LordCyrus> Anybody alive? :D
[02:26] <sarnold> shhhh I don't want to go to school today
[02:34] <FaTaL_gg> I have an ubuntu 20.04 install that is working well for the most part, but I have an issue where once a month it locks up, I have to reboot it, and boot partition has errors and lost chains etc, its an ssd, no other issues ever occur on any other partition. What can I do to troubleshoot what is causing the lockups and errors on boot.... shouldn't boot be stable since its not being written to?
[02:36] <sarnold> FaTaL_gg: wild guesses: (a) try memtest86 or memtest86+ to look for memory errors (b) perhaps you've got flaky / poor / insufficient power, how much power supply do you have and how much power draw do you expect? (c) perhaps you've got flaky cables / connectors between the mobo and drive?
[02:37] <sarnold> once in a while updates will kill the desktop, afaik no one's sorted that one out, and if you wind up yanking the power to deal with it, you might just have fileysstem problems too
[02:38] <FaTaL_gg> sarnold; any one of those things could matter so i'll check. It's all high end equipment, in a cool room, but sure! However, why is it only hosing /dev/sda1 (aka boot)? I would expect files in /home /var and elsewhere to get trashed
[02:39] <sarnold> hmm, no ideas there :/
[02:39] <sarnold> how's smartctl look?
[02:43] <FaTaL_gg> no errors logged
[02:44] <sarnold> well, that's good, I guess :)
[02:45] <FaTaL_gg> hahah indeed
[02:47] <FaTaL_gg> ran a short test, same, no errors. I will do an extended one too. I would love to solve this, its such an annoyance
[02:48] <leftyfb> FaTaL_gg: I would also look into possible filesystem corruption and/or bad drive (no matter how new)
[02:50] <FaTaL_gg> Unexpect_Power_Loss_Ct = 110 .... is this since life of power up? what determines unexpected power loss? It's an SSD, there are no bad blocks or other odd errrors. running at 22/31c min/max
[02:57] <sarnold> interesting, I've got two drives that report inexpected power loss events as well -- currently both say 21, which feels much higher than I would expect
[02:58] <FaTaL_gg> right?
[02:59] <FaTaL_gg> but not sure what triggers unexpected... that could be us hard resetting, real power loss, or a power loss during any read or write?
[03:03] <sarnold> I'm not sure 21 is enough to be described by reboots, but *maybe*..
[03:08] <FaTaL_gg> for mine that is 3 a month as an average, and that could be true in the early 2 years, but ever since I went to 20.04 I've not been rebooting much
[03:36] <JustLandedOnMars> hi
[03:37] <JustLandedOnMars> they say that specs for sata HDD supports hotplug
[03:37] <JustLandedOnMars> but it also has to be supported by OS
[03:37] <JustLandedOnMars> is ubuntu supports sata HDD hotplug ?
[03:38] <sarnold> it really should but I haven't been brave enough to yank any of mine yet. (I've also not had a need, yet, they've kept running fine, so no need to replace any)
[04:02] <Hash> So what's the properly way to do automatic startup scripts when system reboots
[04:03] <Hash> Like, icecast2 starts fine as a service I think. But ezstream is a client program which I run as a user after logging in to stream out stuff. (on the same vps)
[04:03] <sarnold> best is to write systemd service files for the service, those are most flexible and easiest to enable / disable, etc
[04:03] <Hash> So, how can I make my ezstream bash script autolaod after system reboot
[04:03] <Hash> hmm I see
[04:05] <sarnold> there's also systemd user unit files; that's less popular for user-controlled things but should work
[04:06] <sarnold> time for me to run, have fun Hash :)
[04:06] <Hash> Good evening!
[04:06] <Hash> :)
[06:09] <blaher34512> hello I can't suddenly can't login to linux. After the splashscreen I get a black screen with a white cursor. When I try ctrl alt f1 it briefly flashes the terminal login prompt
[06:13] <rory> blaher34512, if you reboot and hold Shift while the computer is booting, you will get to the Ubuntu boot menu (GRUB) from there you can choose an older kernel version to boot from that should work
[06:14] <rory> blaher34512, boot from that older version, run "apt update" and "apt upgrade" and reboot again back into the latest version, check if problem persists
[06:15] <blaher34512> tried loading a different kernel version it didn't work. Tried bootrepair and fsck and it didn't fix it
[06:16] <blaher34512> I can access the files through live usb so I was wondering if there was anything I could try out
[06:16] <blaher34512> windows and usb loads fine though
[06:19] <rory> what Ubuntu version blaher34512 ?
[06:19] <rory> e.g. 20.04
[06:20] <blaher34512> Ubuntu 18.04 LM 19.1
[06:25] <oerheks> LM.. oh dear, mint
[06:25] <oerheks> find the mint channel ? we do not support forks ..
[06:26] <blaher34512> the lm people said they don't know I was just looking for some generic suggestions because I don't think it is an lm specific problem
[06:53] <rory> blaher34512, it's Linux Mint and unsupported here, but LM uses LightDM as well so these steps should still work https://askubuntu.com/a/554404/62969
[06:53] <rory> blaher34512, but I didn't tell you that because once someone admits to not using ubuntu we're supposed to send them away
[06:54] <rory> > Before performing above steps, make sure you have an active internet connection. -< this is not optional
[06:55] <rory> blaher34512, tell LM support channel you are planning to follow the steps in that link.
[07:21] <guiverc> blaher34512, Ubuntu and flavors of Ubuntu are run-time adjustment free.. Mint uses runtime adjustments so they can use foreign (ubuntu) packages thus anything video related esp. is different; so you should be asking where adjustments are known & catered for
[08:21] <Metamorphosis> hello, a new version of the opensource game 0AD has been released. I was wondering if it will be updated in Ubuntu 20.04? Or I should use unofficial repos to install it?
[08:34] <ThinkT510> Metamorphosis: if it is in universe then it is unlikely to get an update
[08:54] <oerheks> https://snapcraft.io/0ad
[08:54] <oerheks> 024b ?
[08:54] <oerheks> Metamorphosis, ^^
[08:54] <rory> 0 A.D. (pronounced “zero-ey-dee”) -> well that just ADDS confusion
[09:01] <adam4567> So, apt list --upgradeable   lists 10 or 12 packages, amongst which is
[09:01] <adam4567> dirmngr/bionic-updates 2.2.4-1ubuntu1.4 amd64 [upgradable from: 2.2.4-1ubuntu1.3]
[09:01] <adam4567>  
[09:01] <adam4567> Should I sudo apt upgrade, and then, sudo apt dist-upgrade ?
[09:02] <oerheks> no, use dist-upgrade directly
[09:02] <oerheks> ( that is wat i always run, to avoid packages held back)
[09:02] <adam4567> I'm worried it'll upgrade 18.04 to 20 something, and break everything
[09:03] <oerheks> no, that would be release-upgrade tool, no worries
[09:03] <oerheks> !distupgrade
[09:03] <adam4567> OK. I'll give it a go. Thought I'd target just the dirmngr
[09:03] <rory> It's pretty obvious when it wants to do a version upgrade, you'd see hundreds of packages
[09:04] <oerheks> also, the -d option is handy in such occasion, -d = dry run
[09:04] <adam4567> it seems to be most gpg stuff. But its a better File Manager I'm interested in.
[09:05] <adam4567> OK. Thank. -d sounds good.
[09:08] <adam4567> Worked perfectly. Thank you very much :)
[09:08] <oerheks> have fun!
[11:08] <seanh> Anyone got any tips on what I can do if my computer freezes during boot?
[11:08] <seanh> Ubuntu 20.04 is just freezing on the screen with the Ubuntu logo and spinner
[11:08] <seanh> The spinner is frozen too
[11:08] <seanh> Pressing Esc (to get to the logs) doesn't do anything, nor does Ctrl+Alt+Del
[11:09] <seanh> This used to happen occasionally but if I powered it off and tried again, it'd boot successfully after a few tries
[11:09] <seanh> Lately though it's freezing on every single boot
[11:09] <ThinkT510> tried booting an earlier kernel?
[11:15] <seanh> ThinkT510: No, good idea, I'm gonna try that...
[11:21] <seanh> 5.8.0-43-generic is the most recent kernel (the one that's freezing on every boot) in my grub
[11:21] <seanh> The previous one is 5.8.0-41, I'll try that
[11:23] <Jeppe> Hi, when attempting to turn off my Intel Nuc, some times it gets stuck and I'm seeing a bunch of null-characters in my syslog. Can anyone be of assistance?
[11:24] <seanh> So 5.8.0-41 isn't frozen in quite the same way -- the spinner is still spinning. But it's spinning forever. If I press Esc it does go to the logs, and I can see that it seems to be stuck at "(n of 3) A start job is running for..."
[11:26] <seanh> Screenshot: https://photos.app.goo.gl/ZfEaLwQeHztVjNfe9
[11:28] <seanh> If I do Ctrl+Alt+Del it seems to try to reboot (a whole bunch of log messages get printed) but then the reboot seems to get stuck on "(n of 6) A start/stop job is running for..."
[11:30] <ThinkT510> can you see what it is stuck on? what comes after the "for..."?
[11:32] <ThinkT510> Jeppe: how are you turning off the nic?
[11:33] <seanh> I tried booting 5.8.0-41 three times. Got the above behavior twice. The third time was slightly different: it seemed to try to run a filesystem check and *that* got stuck. And pressing Esc shows this: https://photos.app.goo.gl/LyFUtrkbrWTKNfTZ8
[11:35] <ThinkT510> seanh: how old is the drive you are booting from?
[11:35] <seanh> ThinkT510: That "A start job is running for..." log message cycles through three different start jobs that're seemingly running forever. The last time I tried it was Network Name Resolution, Network Time Synchronization, and Load AppArmor profiles. But I'm not sure that it's the same ones that get stuck each time I try to boot
[11:35] <seanh> ThinkT510: It's an SSD, maybe three or four years old
[11:36] <seanh> ThinkT510: I ran SMART on the drive yesterday (when I could still boot) and it reported no errors
[11:38] <seanh> Just tried booting 5.8.0-41 again, it's trying to check the disk again. Says "Checking disks: 0% complete" and is stuck there. This time it's completely frozen: pressing Esc doesn't do anything. (Last time it got stuck on checking disks but I could press Esc to get to the logs)
[11:38] <ThinkT510> Jeppe: best to keep it in channel please, more people can see and help
[11:38] <seanh> Ctrl+Alt+Del does nothing this time. It's completely frozen
[11:39] <ThinkT510> seanh: when's the last time you checked the ram?
[11:40] <seanh> Some times when I boot it up my USB keyboard isn't working when I get to the GRUB menu. Unplugging and re-plugging the keyboard fixes it. (Could be unrelated)
[11:40] <seanh> ThinkT510: I ran memtest overnight last night, no errors
[11:41] <seanh> I'm gonna try the next older kernel in my grub: 5.4.0-39
[11:42] <seanh> Ok, 5.4.0-39 just booted successfully. Coincidence? I'm gonna try rebooting into 5.4.0-39 repeatedly, try to see if it's reliable
[11:42] <ThinkT510> seanh: if 5.4 boots fine then you might want to pin it before you get more kernel updates
[11:42] <seanh> Yeah
[11:43] <seanh> Let me give it a few tries and see if it seems to boot into 5.4 reliably
[11:43] <ThinkT510> I think by default ubuntu keeps the 3 most recent kernels and removes any older ones
[11:44] <seanh> Yeah so I could end up with no working kernels left if they all get removed, thanks for the tip
[11:45] <ThinkT510> ifyou don't want to pin a 5.4 you could always just remove the oldest 5.8 before doing any kernel updates
[11:46] <seanh> If I end up at the grub command line, is there a way to get back to the list-of-kernels grub menu?
[11:48] <kushal> I am trying to enable systemd-timesyncd on Ubuntu Focal, but after every reboot, the service is still staying dead. Any tips what can be wrong? If I start the service manually, it just works.
[11:48] <ThinkT510> if you are at the grub rescue prompt I think you'll need to tell it to reboot. not sure if you can get back to the menu any other way
[11:54] <seanh> ThinkT510: Thanks for your suggestion. I just booted the 5.4.0-39 kernel ten times in a row and it worked every time (I wanted to test thoroughly because this computer has been occasionally freezing on boot for a while, it was only this morning that it started freezing on boot every time). So I think your suggestion to use an older kernel has fixed my boot problem
[11:55] <seanh> I guess it's always worth trying *all* the old kernels that you have. For me 5.8.0-43 and 5.8.0-41 both had the same problem, but 5.4.0-59 worked
[11:55] <seanh> Ok, now I need to figure out how to pin to the 5.4 kernel
[11:56] <ThinkT510> seanh: 5.4 will remain supported throughout 20.04 lifetime so you should be good to stick with it
[11:56] <ThinkT510> !pinning | seanh
[11:56] <seanh> ThinkT510: That is very good to hear
[12:00] <ThinkT510> the lts releases should have several kernel choice due to hwe. the basic idea is to enable newer hardware support and more up to date drivers. I think a new hwe kernel gets released for an lts after each regular ubuntu release. not sure which one 21.04 uses (maybe 5.10?)
[12:00] <ThinkT510> !hwe
[12:03] <seanh> I'm not sure how to change my Ubuntu to boot from 5.4 by default and pin/hold it there, from a reading of the PinningHowto. I need a friendlier guide. I'll try googling it.
[12:04] <seanh> https://askubuntu.com/questions/999529/pin-kernel-version <- Says I should run `sudo apt-mark hold linux-image-5.4... linux-headers-5.4...`
[12:08] <seanh> For the kernels there seems to be a different package for each kernel version.
[12:08] <seanh> `linux-image-5.8.0-41-generic`, `linux-image-5.8.0-43-generic`, etc
[12:09] <seanh> So it seems I don't want to pin a particular package to a particular version, since each version of linux seems to have its own package
[12:10] <seanh> Instead I want to tell it to keep the 5.4 kernel package(s) (don't uninstall them) and also don't install any newer kernel packages
[12:11] <ThinkT510> !info linux-image-generic focal
[12:12] <seanh> Seems to be multiple packages per kernel version too: `linux-headers-5.4.0-59`, `linux-headers-5.4.0-59-generic`, `linux-image-5.4.0-59-generic`, `linux-modules-5.4.0-59-generic`
[12:13] <seanh> ThinkT510: So I just need to force/pin the version of `linux-image-generic` and that should handle it all?
[12:13] <seanh> I actually don't have `linux-image-generic` installed, I have `linux-image-generic-hwe-20.04`
[12:14] <ThinkT510> seanh: I'm not sure sorry. from that output from ubottu it looks like that is for riskv64
[12:14] <ThinkT510> !info linux-image-generic-hwe-20.04 focal
[12:15] <Jeppe> ThinkT510: Sorry, I missed your message. You're right!
[12:15] <Jeppe> I'm turning it off by pressing the power-button once. This works in 99% of the cases, but the last 1% I can trigger this kernel-crash thing, which ends with a bunch of ^@ characters.
[12:15] <ThinkT510> hmm, that appears to point to 5.8
[12:15] <seanh> Yeah, I don't know how to do this: pin to an old kernel. I'll keep trying to google it...
[12:17] <seanh> Based on this https://askubuntu.com/questions/999529/pin-kernel-version I think I could run `sudo apt-mark hold linux-image-4.13.0-26-generic linux-headers-4.13.0-26-generic` (replacing the version numbers with the ones that I want). And I think I could also boot from the 5.4 kernel and then remove all the 5.8 kernel packages to get rid of them
[12:27] <kushal> Can anyone please help me with the systemd-timesyncd issue on 20.04?
[12:30] <BluesKaj> Howdy folks
[12:30] <Jeppe> What's the preferred way to paste logs etc. here?
[12:31] <marcoagpinto> BluesKaj: Hello
[12:31] <ThinkT510> !paste | Jeppe
[12:31] <BluesKaj> hi marcoagpinto
[12:36] <oerheks> kushal, explain what issue?
[12:37] <kushal> oerheks, using systemd-timesyncd on Ubuntu 20.04, the service is enabled, no ntp installed, but after restart the service is not starting by default. no mention in boot log. if I start the service manually, it just works.
[12:38] <kushal> but, can not persist between reboots.
[12:38] <oerheks> oke, you did something like; sudo systemctl start systemd-timesyncd.service
[12:38] <oerheks> ??
[12:39] <kushal> that starts the service properly.
[12:39] <oerheks> sudo systemctl enable systemd-timesyncd.service  # should make it start on boot , stop,start, enable, disable, mask, unmask
[12:39] <kushal> ^^ yes, I have it enabled.
[12:40] <kushal> oerheks, https://paste.debian.net/1186597/
[12:44] <oerheks> kushal, is chronyd running by any chance? systemctl status chronyd
[12:45] <lotuspsychje> see also 'stacer' to easy manage systemd services GUI
[12:45] <kushal> oerheks, nope.
[12:45] <kushal> lotuspsychje, this is a service
[12:46] <kushal> oerheks, the package chronyd is also not installed
[12:47] <oerheks> no clue there, if enabled, it should start on boot ..
[12:48] <kushal> yup, that is why I am crying over this for more than 2 hours now
[12:48] <kushal> or actually 3 hours
[12:49] <oerheks> Maybe you want to write it on askubuntu, much larger audience..
[12:50] <oerheks> i've no clue as it works for me .. or maybe someone else has a thought?
[12:51] <kushal> oerheks, thank you for the help.
[12:51] <kushal> at least now I know that I am not crazy :)
[12:52] <kushal> was feeling really stupid
[12:52] <oerheks> no, you have a valid issue
[12:52] <lotuspsychje> !info stacer
[12:53] <oerheks> no ntp installed, nor chrony..
[12:55] <oerheks> maybe it is vagrant specific?
[13:04] <revmoo> Hi I have had 3 different colo servers with 20.04 freshly installed have issues dropping off the network. It sounds like there might have been a issue with the Intel nic drivers / firmware, but I have had my colo upgrade to the latest kernel and we're still having issues. This is three totally different servers. Are you guys aware of any ongoing problems in 20.04 with the networking system?
[13:05] <revmoo> two were dell poweredge and the third is a generic ASrock server board
[13:05] <revmoo> the only commonality between these 3 machines has been (a) 20.04 and (b) Intel NICs
[13:10] <kushal> oerheks, maybe
[13:12] <gabrielc> Hi. Does anyone have audio issues when running 'nmcli connection up NETNAME' and when running 'nmcli radio wifi on'? On Ubuntu 20.04.2 //
[13:20] <jil> hello
[13:20] <jil> Is there android emulator for linux ?
[13:21] <oerheks> jil, yes, non of them are perfect. see anbox, for example
[13:22] <oerheks> https://snapcraft.io/anbox
[13:25] <lotuspsychje> jil: or virtualbox androidx86
[13:26] <Jeppe> I'm getting a proxy-error whenever I try to paste code on https://paste.ubuntu.com/ - even when I short it to 61 lines
[13:26] <lotuspsychje> revmoo: try #ubuntu-server if you like for likeminded volunteers
[13:26] <revmoo> k
[13:26] <oerheks> Jeppe, any plugin like adblocker?
[13:29] <Jeppe> Tried disabling, and it still occurs. When it "succeeds", it shows that there is an error with the pastebin-software.
[13:29] <Jeppe> Oh, it failed when expiry set to "A week", but succeeded now.
[13:31] <Jeppe> So I'm seeing this "crash" with null-characters in /var/log/syslog in like <1% of shutdowns.
[13:31] <Jeppe> https://paste.ubuntu.com/p/ZfDsThJKWd/
[13:31] <Jeppe> On the next boot, it also reports: "0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt."
[13:34] <jil> thank you oerheks
[13:35] <Jeppe> (I realize now that the null-characters are not present in the paste, but they occur just before "Feb 22 17:02:07 jeppe systemd-modules-load[244]: Inserted module 'lp'")
[14:19] <TJ-> Jeppe: do those NULLs appear as runs of ^@^@^@^@^@ when viewing logs
[14:20] <Jeppe> Yes, exactly.
[14:25] <Jeppe> TJ-: The NULLs and "0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt." suggests something crashed, right? Do you know where I should look for information about that?
[14:26] <TJ-> Jeppe: well, obvious place would be end of the previous boot log "journalctl -b -1 -n 100" for last 100 lines of last boot (-1)
[14:26] <TJ-> Jeppe: sounds like the file-system isn't being unmounted for some reason
[14:32] <Jeppe> TJ-: It shows "Power key pressed." and then the "fatal IO error 11 (...) on X server" and a few daemons shutting down. Could it be the X-server?
[14:40] <Jeppe> I found another syslog that shows the NULLs and dirty-bit, but without the fatal X-server error. This one shows e.g. "Failed: GDBus.Error:org.freedesktop.resolve1.NoSuchLink: Link 4 not known" instead.
[14:51] <xheimlich> this is going to sound comically vague. When I set up this computer a while ago I did ~something~ (I don't think it was a simple symlink) to set up emacs so it always ran on the terminal.
[14:52] <xheimlich> What was it? Is there an apt package that only brings emacs-nox?
[14:56] <oerheks> !info emacs-snapshot-nox
[14:57] <xheimlich> anyway, what I need is to get GUI emacs now.
[14:58] <xheimlich> all autocompletions for "emacs" seem to run the terminal version
[14:58] <oerheks> there is a snap https://snapcraft.io/install/emacs/ubuntu
[15:00] <xheimlich> Sublime Text has been way too crashy lately, and mysteriously so. It just disappears. Granted, while memory intensive ML stuff runs.
[15:01] <xheimlich> I used emacs for my dissertation when I had a rickety laptop that had matlab but wouldn't run X.
[15:11] <ash__> hi everyone! May I know what does this log mean? "iommu ivhd0: AMD-Vi: Event logged [INVALID_DEVICE_REQUEST device=00:00.0 pasid=0x00000 address=0xfffffffdf8000000 flags=0x0a00]"
[15:12] <ash__> I am using hp envy laptop (amd ryzen 5) and ubuntu 20.04. As suggested earlier here, I updated bios of my laptop to resolve screen freeze issue, touch pad issue. But, so far I don't think it has worked completely.
[15:13] <ash__> Can anyone help to find root cause?
[15:47] <lordcirth_> I'm trying to use virt-manager on a KVM libvirt host that I can only connect to via a jump host. using ssh -YJ and running virt-manager on the remote is cripplingly slow. I can't figure out how to run virt-manager locally and jump it's connection through 2 hops. Any ideas?
[15:48] <leftyfb> lordcirth_: https://docs.fedoraproject.org/en-US/Fedora/13/html/Virtualization_Guide/chap-Virtualization-Remote_management_of_virtualized_guests.html
[15:49] <lordcirth_> leftyfb, I'm not seeing anything there about ProxyJump or forwarding?
[15:49] <leftyfb> lordcirth_: read the entire article
[15:50] <lordcirth_> All of chapter 21? I did
[15:52] <leftyfb> lordcirth_: what does the very last line say?
[15:53] <lordcirth_> "Input values for the hypervisor type, the connection, Connection->Remote tunnel over SSH, and enter the desired hostname, then click connection." ?
[15:53] <leftyfb> lordcirth_: also, I just installed virt-manager on a fresh install of 20.04, opened virt-manager, clicked File -> Add Connection and I saw the answer right there
[15:53] <lordcirth_> leftyfb, I feel like you didn't read my question
[15:54] <leftyfb> lordcirth_: you want to manage your VM's remotely over SSH
[15:54] <lordcirth_> I know how to connect to a remote host in virt-manager. That's trivial. I need to figure out how to manage libvirt by connecting *through a ProxyJump host*
[15:55] <leftyfb> lordcirth_: ok, so setup a ProxyJump profile in your ~/.ssh/config and specify the end box (not the jump host) in your virt-manager settings
[15:55] <lordcirth_> Ok, thanks, I will try that
[15:58] <superschnell> How do I do that thing where all active windows are shown in some kind of grid together? What's the keyboard shortcut for that again?
[15:59] <leftyfb> superschnell: press the "super" key on your keyboard
[16:00] <oerheks> or alt-tab ?
[16:00] <superschnell> The windows key? Gets me the menu... very sorry, I forgot to mention this is kubuntu..
[16:00] <superschnell> This was Ubuntu, but I converted it a while ago
[16:00] <leftyfb> superschnell: sorry, I don't know KDE
[16:00] <superschnell> Yeah, I might be asking in the wrong place
[16:00] <superschnell> Sorry about that
[16:04] <Maik> superschnell: well there's #kubuntu
[16:04] <Maik> or ask in #kde
[16:06] <biocandy> Im trying to connect my sony wh1000xm3 via blueman but they wont connect due to "connection failed: software caued connection abbort", anyone know what that could be about? It doesnt show up in pavucontrol
[16:08] <biocandy> terminal says:
[16:08] <biocandy> File "/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py", line 184, in make_device_icon target = icon_info.load_surface(window)
[16:08] <biocandy> AttributeError: 'NoneType' object has no attribute 'load_surface'
[16:11] <oerheks> try Bluez, instead of blueman?
[16:11] <oerheks> !info bluez
[16:24] <yates> in lubuntu, how do you run session-wide commands?
[16:24] <yates> i want to run a setxkbmap command to swap ctrl and capslock on lxde startup
[16:25] <yates> i tried adding the command to /etc/xdg/lxsession/LXDE/autostart but it doesn't work
[16:26] <EriC^> yates: you could use startup apps
[16:26] <EriC^> yates: gnome-session-properties in the terminal should pop it up or search the menu for startup apps
[16:28] <yates> EriC^^: are you referring to the ~/.config/autostart/xyz.desktop files?
[16:29] <EriC^^> yates: yeah it puts the startup apps there
[16:31] <yates> ok thanks
[16:31] <ash__>  hi everyone! May I know what does this log mean? "iommu ivhd0: AMD-Vi: Event logged [INVALID_DEVICE_REQUEST device=00:00.0 pasid=0x00000 address=0xfffffffdf8000000 flags=0x0a00]"
[16:31] <ash__> is this some critical error?
[16:31] <__kaari__> Hello guys, I'm just getting started with bionic desktop and I'm seeing a lot of rules in the firewall. it doesn't seem there is a frontend activated by default, what is the recommended way to open some ports there ? If I use a front, like firewalld or ufw, will the current rules be handled ?
[16:38] <pavlos> __kaari__: I think ufw is easier to work with than iptables (unless you need advanced features).
[16:45] <tdannecy9> What is the most lightweight vim package that I can install? `vim-nox` tries to install a ton of sound packages? I'm running ubuntu inside a docker container and need it to be lightweight.
[16:47] <pavlos> vim-tiny
[16:48] <tdannecy9> pavlos: Thanks so much!!
[16:49] <pavlos> tdannecy9: apt show vim-tiny has a good blurb
[16:51] <MapMan> Hi! I'm running server using ubuntu 20.04. I have 2 network interfaces, wired eth connection and wifi. Wifi works great. The wired connection on the other hand seems not to work with dns? I can't ping google.com but I can ping 8.8.8.8. Where should I start debugging this?
[16:52] <relipse> I installed elasticsearch and now I don't want it, how do I get rid of this error everytime i run apt-get install? https://www.irccloud.com/pastebin/aAARVsN5/
[16:52] <pavlos> MapMan: check your /etc/resolv.conf
[16:54] <MapMan> pavlos: https://dpaste.org/ac2C
[16:54] <MapMan> pavlos: that's all there is
[16:58] <pavlos> MapMan: nmcli dev show | grep DNS
[17:01] <MapMan> pavlos: I appreciate your help, but I just narrowed the problem down to my pi-hole set up. When I took pi-hole out of the picture, the eth connection works just fine. Sorry for the trouble!
[17:01] <pavlos> MapMan: np
[17:11] <txtsd> Hello. Is there a detailed guide to installing a kernel with the ck patchset on Ubuntu?
[17:19] <leftyfb> txtsd: I googled for "ubuntu kernel ck patch" and came across https://www.reddit.com/r/linuxmasterrace/comments/4fg8on/linuxck_equivalent_on_ubuntu/  good luck. This is completely unsupported
[17:33] <lordcirth_> txtsd, why do you want ck?
[17:49] <txtsd> my laptop keeps intermittently freezing so I was hoping to try a performance oriented kernel. I use the -ck kernel on my desktop which runs Arch.
[17:50] <txtsd> I haven't been able to find any source of the intermittent freezes. Happens freshly after boot with no CPU usage, and minimal RAM usage, and barely any disk activity.
[17:50] <txtsd> It's running 20.04
[17:51] <lordcirth_> txtsd, there are probably less extreme solutions than linux-ck. Any errors in dmesg?
[17:51] <txtsd> Nothing unusual
[17:52] <lordcirth_> txtsd, install rasdaemon, see if that catches some hardware errors. What graphics card and driver?
[17:52] <txtsd> What else could I check/try? I mainly use it to pull up youtube, and play minecraft on the go.
[17:52] <txtsd> It has some radeon graphics. It uses amdgpu.
[17:53] <txtsd> Also, these freezes weren't present when I first installed Ubuntu on it a couple of months ago.
[17:53] <txtsd> They started recently, presumably, after an unsupervised upgrade.
[17:56] <lordcirth_> txtsd, and if you reboot back to an older kernel?
[17:57] <txtsd> I'll have to try that. An LTS should be fine?
[17:57] <lordcirth_> any kernel that worked before
[17:57] <txtsd> Wait no that's Arch. How do I go back to an older kernel?
[17:58] <lordcirth_> txtsd, in the grub menu, there are past kernels listed
[17:59] <txtsd> Alright, I'll try older kernels and report back. And also rasdaemon, but tomorrow. It's pretty late for me atm.
[17:59] <txtsd> Thanks for your input!
[18:02] <leftyfb> txtsd: btw, there are no "unsupervised upgrades" by default in ubuntu
[18:49] <lightboi> hi mods, is kdiff3 working on focal
[18:49] <lightboi> please hel
[18:52] <coconut> lightboi, it´s in the repo, something which does not work?
[18:56] <coconut> !info kdiff3 focal
[18:56] <lightboi> 20.04.. it craches
[18:57] <rdr> it's not installed by default so I don't know
[18:57] <lightboi> when i diff directories
[18:57] <lightboi> it worked so nice on bionic soo..?
[18:58] <rdr> I don't know, what's the difference between diff and kdiff3
[18:58] <lightboi> umm kdiff3 offers much better gui for merging... so usefule
[18:59] <rdr> oh i don't use kde stuff, sorry
[18:59] <lightboi> hehe
[18:59] <lightboi> thanks for replying, just that when merging its the best alt to p4
[19:00] <lightboi> some people on stackoverflow claim it works fine on 20.10. please kindly guide to source packages
[19:01] <rdr> it's usually not a good idea to mix packages from different releases
[19:01] <rdr> but you can find the deb for it and see if it installs
[19:01] <lightboi> no, i will build
[19:02] <lightboi> the deb has obviously the wrong source :)
[19:02] <rdr> https://packages.ubuntu.com/search?keywords=kdiff3
[19:02] <lightboi> hhaha
[19:02] <lightboi> thanks but no thanks
[19:02] <rdr> could be an issue with your configuration if you upgraded
[19:02] <rdr> maybe old config files is causing issues
[19:03] <rdr> look in ~/.config/kdiff maybe
[19:03] <rdr> or .kde somewhere
[19:03] <lightboi> sure.. brb
[19:03] <lightboi> lightdm so no .kde probs
[19:04] <lightboi> nope no local config either
[19:04] <lightboi> sir, have you really tried kdiff3 on stock 20.04?
[19:05] <rdr> no
[19:05] <rdr> just trying to help
[19:05] <lightboi> umm sorry for being rude
[19:05] <rdr> /usr/share/kxmlgui5/kdiff3/kdiff3_shell.rc
[19:05] <rdr> that appears to be a default config file of some sort in the package
[19:06] <rdr> but that's as far as I can suggest you look
[19:06] <lightboi> umm i purged package so.. and kxml is not default on ubuntu
[19:06] <rdr> I don't want to install it because it pulls in a lot of dependencies
[19:07] <lightboi> thanks! appreciate! cheers
[19:07] <lightboi> next alternative is meld but is sux
[19:08] <rdr> might want to ask in #kubuntu since they would be able to more easily install it without adding a lot of deps
[19:08] <rdr> if that's a channel
[19:08] <lightboi> rdr <3
[19:09] <rdr> tell you what i'll spin up a vm and see
[19:09] <lightboi> it is and i will try meanwhile
[19:12] <rdr> it loads on teh livecd
[19:12] <rdr> after install
[19:12] <lightboi> aah
[19:12] <rdr> just typing kdiff3 in the terminal
[19:12] <rdr> is there an error message when you do that?
[19:12] <lightboi> something wrong with mine system then
[19:13] <lightboi> one minute precious sec update incoming
[19:14] <lightboi> please bear
[19:15] <rdr> oh, i found the config file
[19:15] <rdr> ~/.config/kdiff3rc
[19:16] <lightboi> brb in two sire
[19:22] <rdr> any luck lightboi ?
[19:24] <lightboi> rdr sorry missed ur chats
[19:25] <sarnold> < rdr> oh, i found the config file < rdr> ~/.config/kdiff3rc
[19:25] <rdr> oh yeah, that might be the issue
[19:26] <lightboi> fresh reboot and syslog states Could not create transient scope for PID 5858: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 5858 does not exist
[19:26] <sarnold> ew
[19:26] <lightboi> sarnold ty lemme check
[19:27] <rdr> what happens if you type kdiff3 into a terminal
[19:27] <lightboi> rdr it works fine
[19:27] <lightboi> it fails with args
[19:27] <rdr> what are the arguments
[19:28] <rdr> it should just be $ kdiff3 ~/file.or.dir.1 ~/file.or.dir.2
[19:28] <lightboi> rdr discreet wise dir1/ dir2/
[19:28] <lightboi> yup
[19:28] <lightboi> sarnold i feel fishy about this config file
[19:29] <lightboi> because i just had kernel upgrade
[19:29] <lightboi> 5.4.0-66
[19:30] <rdr> how does it fail? does it give an error message when you specify directories/files?
[19:30] <rdr> what's discreet wise?
[19:31] <lightboi> umm the gui hangs
[19:31] <lightboi> no dmesg logs
[19:31] <lightboi> just syslogs i posted
[19:32] <lightboi> lots of clutter on cmd line tho
[19:32] <lightboi> Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/8x8/legacy/"
[19:32] <lightboi> Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/scalable/ui/"
[19:33] <rdr> is Adwaita your chosen icon theme?
[19:33] <lightboi> yep
[19:33] <lightboi> :(
[19:33] <rdr> can you try changing it to Breeze just to see if it makes a difference for this program?
[19:33] <lightboi> sure.. on it
[19:34] <rdr> i get the same errors with adwaita
[19:34] <rdr> but the gui doesn't hang
[19:34] <rdr> is it any file, or just some specific file that you're trying to compare?
[19:34] <rdr> maybe a permissions problem with the file?
[19:34] <lightboi> gui goes poof.. no its just normal dirs
[19:34] <lightboi> new errors.. QFSFileEngine::open: No file name specified
[19:35] <chev> hello, I am trying to configure squid on my ubuntu machine. What ip address should I be using to do that? My actual IP address, or network address >.>
[19:35] <lightboi> same args
[19:35] <lightboi> well seems i need to go for a fresh install
[19:36] <lightboi> residual form 18.04 maybe
[19:36] <rdr> did you try removing that config file?
[19:36] <lightboi> rdr did your vm work?
[19:36] <lightboi> yep
[19:36] <rdr> ~/.config/kdiff3rc
[19:36] <rdr> yeah it works in the vm
[19:36] <rdr> I tried kdiff3 ~/.config ~/.kde
[19:36] <rdr> and it works fine
[19:36] <lightboi> hmm
[19:37] <lightboi> i will wait for higher ones to answer or else tomm morning i will go for clean install
[19:37] <lightboi> but that stackoverflow post tho
[19:37] <lightboi> thanks man
[19:37] <rdr> chev, i'm not sure, I don't know what squid is.  Are you trying to reach it from your local network or outside of it?
[19:37] <lightboi> rdr !!!!!cheers!!!!
[19:37] <rdr> lightboi: good luck
[19:37] <lightboi> hehe
[19:37] <rdr> chev: because if you use your outside IP, you'd have to forward the port on the router to your machine, unless you're connected directly to the modem
[19:38] <lightboi> actually was hooked on to simavr and wanted diff.. <3 4m india
[19:39] <chev> rdr: im a beginner here, sorry for the confusion. I have two machines and a ubuntu server together on an unmanaged switch. The server has wireless network. I installed squid, a proxy service, to bring them internet, but i need to configure what ip address and port it listens on.
[19:39] <chev> so i wasnt sure if i should use the servers ip address or what, but i know what port to use.
[19:40] <rdr> ok, i'm not sure.  if you're connecting to it locally, it should be your internal network ip.  but it might be the other one, i'm not sure
[19:41] <rdr> sorry this is beyond me, i'm googling but not finding much
[19:42] <chev> its fine ^_^
[19:42] <lightboi> chev, rdr, umm if i am not wrong squid is flat proxy on http/tcp
[19:42] <rdr> does this give you any hints? https://www.cyberciti.biz/faq/squid-proxy-is-not-hiding-client-ip-address/
[19:43] <lightboi> so any like 80, 8080, 443 should worl
[19:43] <chev> lightboi: yeah, 8080 is the port, no problem there, wasnt sure what ip to use
[19:43] <lightboi> not a pro so like rdr said search is ur best friend buddy
[19:44] <lightboi> if its locally then its your gateway for sure
[19:46] <chev> ok, i got it running this time, will see if i can get to it from the other machine, thanks
[19:47] <lightboi> chev aaa 198.0.0.1 or 198.0.1.1 worked?
[19:48] <lightboi> please tell if you want to share..thanks brother
[19:56] <lightboi> QFSFileEngine::open: No file name specified is a Qt error
[19:57] <lightboi> rdr if you are online brother can you tell qt versions on that vm
[19:58] <rdr> lightboi: one sec.  what package is it?  qt5?
[19:58] <rdr> i guess i can tell in systeminfo
[19:59] <rdr> Qt Version 5.12.8, kernel 5.8.0-44-generic (HWE)
[20:03] <lightboi> same here
[20:04] <lightboi> badluck i guess
[20:04] <lightboi> plus newer kernel so i gotsta be doomed
[20:04] <rdr> easy enough to install it
[20:05] <rdr> https://askubuntu.com/questions/1314328/ubuntu-20-04-how-can-i-enable-hwe
[20:08] <lightboi> yeah 5.8 is newer.. i think i will try 5.6 first
[20:08] <lightboi> bye
[20:21] <echo258> why would my system fezzes randomly after i boot up the computer and login? I even ran a memory test but after one second it freezes. riht now in it safe mode and it works fine?
[20:23] <sarnold> echo258: if you're using gnome, it's probably worth disabling gnome extensions
[20:25] <echo258> I am using xubuntu (xfce)
[20:25] <rdr> what freezes?  the panel?
[20:26] <echo258> the whole system
[20:26] <echo258> from what i can tell
[20:29] <echo258> Is it possible to update the system in safe mode? It has be a few months from when i last booted up the system.
[20:29] <sarnold> yeah, sudo apt update && sudo apt upgrade
[20:32] <echo258> is the upgrade command the same as software updater?
[20:34] <rdr> yes
[20:43] <echo258> some program must make the system freeze
[20:46] <coconut> echo258, ...or hardware
[20:50] <coconut> echo258, did you try booting with "nomodeset" option from grub?
[22:37] <Qen-Joana> Hey channel, I'm having some VERY frustrating issues with my liveUSB 'seeing constituent hardware raid drives' which I have researched to be a driver or libparted problem. Can someone refer I to fast help?
[22:39] <Qen-Joana> I have been trying to do an install but after 3 days and 15+ different attempts/troubleshoots, still no luck!