[00:00] <bumblefuzz> disks' utility but it said error unmounting the partition
[00:01] <oerheks> one does that from a live iso, not when partitions are in use
[00:01] <Bashing-om> bumblefuzz: Depends entirely on "your" use case and which firmware the machine possesess. in ubuntu gparted is generally the recommended tool for partitioning.
[00:04] <bumblefuzz> Bashing-om, I'm trying it in gparted but it either says partition in use or some other error
[00:04] <bumblefuzz> do I have to boot from a USB stick to resize the system partition?
[00:04] <oerheks> yes, especially partitions in use by your system
[00:05] <bumblefuzz> and how do I ensure that I don't screw it up?
[00:05] <bumblefuzz> or should simple resizing work ok?
[00:05] <oerheks> resizing, update grub as it gets new UUID
[00:06] <bumblefuzz> update grub after I reboot?
[00:06] <bumblefuzz> or before?
[00:06] <Bashing-om> bumblefuzz: Singe drive system ? then yes gparted from a liveUSB.
[00:06] <bumblefuzz> and how do I ensure I don't screw up the system?
[00:06] <oerheks> https://help.ubuntu.com/community/MovingLinuxPartition  and articles like https://askubuntu.com/questions/1200739/moving-root-partition-fstab-mounting-old-partition
[00:07] <oerheks> read first, it is not that difficult.
[00:09] <bumblefuzz> ok but if I get it wrong and can't boot into my system, I have no backup laptop that I can use for troubleshooting
[00:10] <Bashing-om> bumblefuzz: ^ Tht is one function of the liveUSB :D
[00:10] <bumblefuzz> also, I have an SSD and an HD and I'm trying to set up the HD as a storage backup and cannot mount itr
[00:11] <bumblefuzz> why can't I mount the HD?
[00:12] <Bashing-om> bumblefuzz: What is the file system on the propsed back-up drive ? IF Windows you do need to tell the kernel.
[00:12] <bumblefuzz> I want it to be a storage drive that works on linux and windows
[00:12] <bumblefuzz> right now it's empty but I can't even mount it to do a backup
[00:13] <Bashing-om> bumblefuzz: If there is no file system on the empty drive there then is nothing to mount.
[00:14] <bumblefuzz> but gparted says it's ntfs
[00:14] <oerheks> if ntfs is dirty/errors in the filesystem, yes, it won't mount automaticly
[00:15] <oerheks> run a fsck on it
[00:15] <bumblefuzz> ...I just created it
[00:15] <oerheks> https://help.ubuntu.com/community/FilesystemTroubleshooting
[00:15] <bumblefuzz> nvm... so I have to boot from live usb and resize the partition
[00:15] <bumblefuzz> and I shouldn't have to fool with grub or anything?
[00:16] <oerheks> oh, then it makes no sense.. after creating it should show up on the panel of filemanager
[00:16] <oerheks> or in 'other locations'
[00:16] <bumblefuzz> I had to manually mount it 'sudo mount /dev/sdb1 /mnt'
[00:16] <bumblefuzz> that worked
[00:16] <bumblefuzz> still doesn't show up in the file manager
[00:17] <bumblefuzz> is NTFS readable/writable on Windows and linux?
[00:18] <oerheks> maybe your system wants a reboot, which is odd
[00:18] <bumblefuzz> everything about this system is odd
[00:18] <bumblefuzz> the ethernet goes out randomly 3, 4 times a day
[00:18] <bumblefuzz> programs crash out of nowhere
[00:18] <bumblefuzz> and it's a brand new install
[00:19] <bumblefuzz> 20.04
[00:19] <bumblefuzz> never had an ubuntu system act like this
[00:19] <bumblefuzz> they've always been rock steady
[00:20] <lotuspsychje> dmesg to the rescue
[00:20] <bumblefuzz> I don't know how to read that
[00:20] <bumblefuzz> can NTFS be read on windows?
[00:22] <lotuspsychje> yes
[00:22] <bumblefuzz> brb...hopefully
[00:22] <oerheks> filemanager + other locations ..
[01:05] <cloudcell> hello, how can i fix this? "W: Conflicting distribution: http://archive.ubuntu.com/ubuntu bionic InRelease (expected bionic but got Debian_9.0)" I get this warning when I run sudo apt-get update...
[01:06] <quadrathoch2> could you paste your sources.list file on paste.ubuntu.com cloudcell
[01:06] <quadrathoch2> and any file in sources.list.d
[01:06] <cloudcell> ok, need a sec
[01:07] <oerheks> mixing debian with ubuntu repos?
[01:08] <lotuspsychje> frankenbuntu :p
[01:08] <cloudcell> im on linux mint but it's based on ubuntu (and my community is silent)
[01:09] <oerheks> that makes it even weirder :-D
[01:09] <oerheks> mint has its own issues.
[01:10] <RadSurfer> still can't get 0.20.2 of Stellarium for ubuntu :(
[01:11] <cloudcell> ok, here's the contents of sources.list:
[01:11] <cloudcell> https://www.irccloud.com/pastebin/vUksLBLp/
[01:11] <lotuspsychje> RadSurfer: wich ubuntu version are you on?
[01:11] <RadSurfer> tecnically, this is 19.10, but I also have 20.04
[01:12] <oerheks> 19.10 is EOL, dead, as of 17 juli
[01:12] <RadSurfer> either way, shouuldn't matter, its a Stellarium program!
[01:12] <lotuspsychje> RadSurfer:19.10 is eol, move to the next asap
[01:12] <lotuspsychje> !info stellarium
[01:12] <RadSurfer> I am still quite impressed @how well 19.10 holds up!
[01:12] <oerheks> cloudcell, contact the mint channel
[01:12] <oerheks> or ##linux ?
[01:12] <cloudcell> ok
[01:13] <lotuspsychje> RadSurfer: snap: stellarium-daily  v0.20.2  t4saha
[01:13] <RadSurfer> There are quite a few changes in 20.04, some subtle, some not
[01:13] <RadSurfer> didn't think to cheque snap
[01:13] <oerheks> https://snapcraft.io/stellarium-daily
[01:13] <oerheks> or 20 stable https://snapcraft.io/stellarium-plars
[01:16] <RadSurfer> Stellarium is 20 years young! Imagine!
[01:19] <lotuspsychje> happy bday
[02:04] <illuminated> can you use stellarium as a desktop background?  that would be sweet
[02:06] <scythefwd2> using ubuntu 20.04.. cannot see my chromecast using chromium or chrome.. suggestions?
[02:14] <DrMax> yo
[02:15] <DrMax> how do I check my ram under 20.04? memtest86+ apparently doesn't work with EUFI bioses
[02:16] <oerheks> DrMax, correct, use their iso that supports UEFI https://www.memtest86.com/download.htm
[02:18] <DrMax> thanks
[02:18] <DrMax> I don't think I have any problems with my ram, but just to make sure
[02:18] <DrMax> let's try this
[02:19] <DrMax> bbl
[03:01] <Jordan_U> DrMax_: Note that memtest86 and memtest86+ are made by different people, and unfortunately memtest86 (that supports UEFI) is proprietary. You can also use the userspace "memtester", (sudo apt install memtester). It can't test memory that's being used by other processes or the kernel, where memtest86(+) can test all of your RAM.
[03:02] <kylekvk> Hello. I am running Ubuntu Server 18.04 LTS, and today, seemingly from nowhere, I can't ping domain names. I get the error "Temporary failure in name resolution". IP addresses are fine, and I have internet. My /etc/netplan file looks fine and I haven't touched it since I installed this years ago. I'm at my wits end and I've tried googling and all
[03:02] <kylekvk> of the stackoverflow answers. Can someone help?
[03:02] <oerheks> ah thank you, Jordan_U
[03:03] <oerheks> ping what domain names?
[03:03] <oerheks> cloudflare had some issues, but that was yesterday..
[03:03] <kylekvk> I'm using google.com as a test but I can't ping any.
[03:04] <kylekvk> My DNS *is* Cloudflare and it started yesterday but I only tried fixing it today
[03:04] <kylekvk> Plus they're fixed on their end, so I'm not sure what it could be
[03:06] <kylekvk> Plus it also happens if I change Cloudflare's DNS to google's
[04:24] <yates> apparently my bios is too old to boot off a live usb drive (ubuntu 20.04) - is there a way to install the iso more directly? it currently has fedora 32 installed.
[04:25] <arbogt> optical is gross but no reason it wouldn't work
[04:25] <arbogt> well, lots of reasons, but none you're running into now
[04:25] <yates> good idea
[04:29] <oerheks> yates, isoboot, now you have grub installed
[04:29] <oerheks> https://help.ubuntu.com/community/Grub2/ISOBoot
[04:47] <DrMax> well, that took forever
[06:10] <sorcerer> ok uhm
[06:11] <sorcerer> so when i hit the right arrow, it moves my window
[06:11] <sorcerer> how do i stop this
[06:30] <Rubato> hi
[06:45] <ducasse> hi Rubato
[06:47] <DrMax> sorcerer : probably a misconvigured keyboard short cut? settings->keyboard shortcuts->view split on ...
[06:47] <DrMax> you'll need to <backspace> it to un-configure the shortcut
[06:53] <opDispatch> where is the dynamic loader on ubuntu ? find -iname ld-linux.so 2>/dev/null or find -iname ld.so 2>/dev/null returns nothing
[07:17] <Jordan_U> opDispatch: It should be at /lib/ld-linux.so.2 .
[07:20] <opDispatch> it was "./lib64/ld-linux-x86-64.so.2" actually. I dont know why is there the arch suffix, it's a gitlab runner.
[07:21] <opDispatch> the little variations between the different distributions are somewhat annoying.
[09:08] <echoSMILE> Hi, is there any way to put a photo slide at ubuntu lock screen ?
[09:13] <lotuspsychje> echoSMILE: use a screensaver?
[09:17] <echoSMILE> lotuspsychje: yeah, I was thinking about that. Is there any by default ?
[09:18] <lotuspsychje> echoSMILE: no, try xscreensaver instead of lock screen
[09:19] <echoSMILE> I will try. At https://help.ubuntu.com/community/Photos/Slideshows F-spot is mentioned
[09:21] <lotuspsychje> echoSMILE: there are photo programs indeed with a slideshow feature
[09:26] <echoSMILE> lotuspsychje: no, at that link we can read "Slideshow Screensaver
[09:26] <echoSMILE> Using F-Spot
[09:26] <echoSMILE> "
[09:27] <echoSMILE> but is seems F-Spot is no support already
[09:27] <echoSMILE> Let me try xscreensaver
[09:48] <acer> hi Any one around to guide me through a situation
[09:48] <oerheks> ask, wait and see
[09:49] <acer> yep
[09:49] <acer> OK
[09:50] <acer> I am trying to install gdm3 on ubuntu recovery mode from the terminal: I connected to the wifi with wpa_supplicant : But to install I need to open another terminal: What are the key combination to do that?
[09:54] <oerheks> recovery mode is single user, and a new tty  in a tty?
[09:54] <oerheks> why do you need a 2nd instance?
[09:57] <acer> i am  ruungi wpa supplicant , its runs in the backend but doesn't make space for anothe terminal command. i need to apt install gdm3
[09:58] <acer> the wpa_supplicant process holds the terminal: I am almost noob , but trying to figure out ways by going trhough different search results. This one I couldn't figure out so dropped in here
[10:43] <Aryan> Hi
[10:43] <Aryan> i can't install `nordpass` via `snap` , is there any way i could install nordpass ?
[10:47] <oerheks> Why cant you install it as snap? https://snapcraft.io/nordpass
[10:52] <BluesKaj> Howdy folks
[11:22] <echoSMILE> What's the daemon that boot xscreensaver ?
[11:23] <echoSMILE> Somehow the new images files are not updated for xscreensaver.
[11:26] <lotuspsychje> echoSMILE: you need to add a startup item in your list with command: xscreensaver -nosplash
[11:29] <echoSMILE> lotuspsychje: when I started xscreensaver, he ask me something to allow fo it, but now I update the images at the directory but xs refuses to load the new images
[11:30] <lotuspsychje> echoSMILE: not sure, i use matrix gl
[11:31] <echoSMILE> lotuspsychje: the question is "the xscreensaver daemon doesn't seem to be running on display":0". Launch it now?"
[11:32] <lotuspsychje> echoSMILE: yeah launch now, add the startup item and reboot
[11:32] <echoSMILE> But the issue is that xscreensaver is trying to load old images and the new ones are ignored
[11:34] <echoSMILE> at the ~/.xscreensaver the directory is correct
[11:35] <lotuspsychje> echoSMILE: wich xscreensaver version are you on?
[11:35] <echoSMILE> 5.42 ?
[11:36] <lotuspsychje> ok
[11:40] <lotuspsychje> echoSMILE: can this help? https://labs.iamhamy.xyz/posts/ubuntu-add-lockscreen-screensaver-image-slideshow/
[11:50] <echoSMILE> lotuspsychje: seems to be a bug somewhere, I changed the image directory, and the new images already load. And is a bug in the selection of the directory as well, was needed to type the directory path.
[11:51] <amuro> What is the difference between the software in apt and snap?
[11:51] <lotuspsychje> echoSMILE: its not like there are some pics between with other extensions or so?
[11:51] <lotuspsychje> !discuss | amuro come join here please
[11:52] <echoSMILE> lotuspsychje: only png and jpg
[11:53] <amuro> ?
[11:53] <amuro> Which one should I join?
[11:53] <lotuspsychje> amuro: #ubuntu-discuss if you like
[11:54] <amuro> Because I installed telegram-cli using apt, I got this error telegram-cli: mtproto-utils.c:101: BN2ull: Assertion `0' failed.
[11:54] <amuro> Now I remove it and install it using snap, I cant run the telegram-cli in terminal
[11:54] <amuro> Is this not ubuntu problem?
[11:57] <NorKle> 4
[11:57] <NorKle> oops
[12:20] <Raqbit> Hi! I'm using a Bluetooth keyboard (which uses the hid_apple kernel module) and a Bluetooth mouse with Ubuntu (20.04). Sometimes, when I turn on my laptop & my mouse and keyboard both connect to my laptop, I get a weird issue where my mouse pointer is moving very slow and stutter-y, sometimes even stopping completely for a second. At first I though
[12:20] <Raqbit> this might be some kind of interference, but after some testing it appears the issues disappear when I type on my keyboard! So if I for instance spam-tap my Caps-lock, my mouse-pointer moves normally. When I don't, my mouse starts to stutter again. I'd like to fix this problem, but I have no idea where to look. Could anyone give me a nudge in the
[12:20] <Raqbit> right direction?
[12:25] <lotuspsychje> Raqbit: is that an apple mouse 2?
[12:28] <pikapika> never noticed ubuntu had a sort of app store of its own before
[12:45] <Raqbit> lotuspsychje, Nope, the mouse is a Logitech MX Vertical and the keyboard is a Keychron K4 (Which apparently uses the hid_apple driver)
[12:48] <lotuspsychje> Raqbit: i had a bit of similar issue on a mac before on early 18.04 with apple magic mouse 2, see bug #1822770
[12:49] <lotuspsychje> Raqbit: but my bug should be solved by now on current kernels
[12:50] <lotuspsychje> Raqbit: are you using gnome BT or blueman?
[12:51] <Raqbit> yeah, this bug appears to be a bit different. Mine is solved by turning my keyboard off and on again. The weird part is that when I do turn off my keyboard, my mouse pointer just stops moving so I have to turn my mouse off and on again too.
[12:52] <lotuspsychje> Raqbit: wich ubuntu version and kernel is this please?
[12:52] <Raqbit> I'm using gnome's bluetooth, but afaik they both use bluez's DBUS API's
[12:53] <lotuspsychje> Raqbit: you could try blueman, as with gnome's BT i wasnt able to make mine work
[12:53] <Raqbit> Ubuntu 20.04 with a 5.4.0-40-generic kernel
[12:53] <lotuspsychje> ok ty
[12:54] <lotuspsychje> Raqbit: feel free to journalctl -f and disconnect your BT devices and turn back on, and also a pastebin your dmesg, perhaps volunteers can notice something
[12:57] <pikapika> woah I must say wine has gotten really good
[12:58] <lotuspsychje> pikapika: discussions in #ubuntu-discuss please
[12:58] <pikapika> oh, sorry
[13:08] <Raqbit> lotuspsychje, journal: https://paste.ubuntu.com/p/7dtnkPh7bh/, dmesg: https://paste.ubuntu.com/p/VXz6nJT2jD/
[13:09] <Raqbit> What I did notice, is that the keyboard seems to register as a mouse too! (`XINPUT: Adding extended input device "Keychron K4" (type: MOUSE, id 11)`) This might be related somehow.
[13:15] <bewees> hi
[13:15] <bewees> should python point to python2.7 or python3.8?
[13:17] <pikapika> seems to be 2.7 by default for me
[13:17] <bewees> for me too, thanks! im going to try installing python-is-python3
[13:17] <pikapika> What is that?
[13:18] <pikapika> I think changing python to point to anything other than the default is probably not a good idea in ubuntu
[13:18] <pikapika> since there might be some os scripts that depend on it
[13:18] <pikapika> have you considered virtual envs?
[13:24] <bewees> pikapika: yeah using poetry to create virtualenvs, but poetry yielded a couple of python2.7 warnings, basically poetry picks up /usr/bin/python even though you run it with python3
[13:25] <compufreak> if you're doing python dev you might want to use something like pyenv instead of relying on system setup
[13:38] <pikapika> what is poetry? I think I had used venv or something like that
[13:38] <pikapika> there are a number of different virtual env solutions for python if I remember right
[13:51] <Guest88699> I have a friend who is constantly updating a file on their computer. I need to have a local copy which gets updated periodically to reflect his changes. I also need to read it with my own script. We're on different networks. What could we use to acheive it? Dropbox doesn't seem to suit because his application & file have their own directory outside of ~/Dropbox (hes on Win, I'm on Ubuntu)
[13:52] <lotuspsychje> Raqbit: can you provide full dmesg please, yours only had few lines
[13:56] <lotuspsychje> Raqbit: this could be perhaps some bug on Keychron itself, as i found an older similar bug #1814481
[13:59] <Guest88699> Looks like syncthing is what I'm looking for
[14:01] <geosmile> Is there a python tool to maintain authenticated PPAs? Preferably something that can only be accessed if there is a key
[15:04] <c001os> Hi!  need to restore from folder backup my mysql databases. I have a complete /var/lib/mysql folder backed up with all the files. I have a fresh install of mysql. I copied back from the backup the databse folders and all of the ibdata and ib_logfile files. I set up the permissions for the new files with chown -R mysql:mysql. The server starts without problems but cant "see" the databases copied from backup if i list the databases from mysql pr
[15:17] <pikapika> If I ever have a need to compile and install something, should it be preferable to first turn it into an apt package?
[15:28] <geosmile> pikapika, deb package you mean? Those are fast and easy to install, assuming they are tested and work of course.
[15:29] <pikapika> Yes deb first then a local repository to make versioning, uninstalling etc easy
[15:29] <pikapika> *local apt
[15:30] <pikapika> ie say some software is only available as a source tarball
[15:30] <pikapika> Would it be better to first package it up as a deb then deploy to a local apt archive than to directly configure and make the thing?
[15:31] <geosmile> pikapika, I am looking for information on how to host a apt repo so that i can download and update packages from there
[15:31] <geosmile> pikapika, that way I can distribute software - I am looking for an authenticated way of hosting a ppa repo
[15:32] <pikapika> You mean make a relevant subset of ubuntu's repo on a local system then use it to install things?
[15:32] <geosmile> so far the tools I've found are not very well maintained/or easy to use
[15:32] <pikapika> Or for your own software
[15:32] <geosmile> pikapika, I mean a url that you can add using add-apt-repo - for my own software
[15:32] <pikapika> I don't know myself yet
[15:33] <pikapika> Of course it is relevant to my issue too
[15:33] <pikapika> but it is only something I'd need to do the time I have a need to install some tarball
[15:33] <geosmile> pikapika, https://medium.com/sqooba/create-your-own-custom-and-authenticated-apt-repository-1e4a4cf0b864
[15:34] <pikapika> because I'd rather not have a tarball shit out files willy nilly all over the system without any control of versioning, uninstalling etc
[15:34] <geosmile> pikapika, it still looks brittle and painful.
[15:34] <pikapika> so I'd rather first turn it into a deb then an apt package
[15:34] <geosmile> pikapika, exactly my use case then - I currently use git clone to install things - not even tar
[15:34] <pikapika> I see
[15:43] <pikapika> Building and preparing packages for installation is such a hard and boring task. We can't thank the people maintaining Ubuntu enough for this task
[15:48] <pavlos> pikapika: this may help ... https://linuxconfig.org/easy-way-to-create-a-debian-package-and-local-package-repository
[15:48] <bumblefuzzz> so, I was able to install windows alongside ubuntu in a different partition
[15:49] <bumblefuzzz> now, I want the grub bootloader to come up and give me the option of booting ubuntu or windows
[15:49] <bumblefuzzz> right now, I have to go into the bios and change the boot order in order to change the OS
[15:49] <bumblefuzzz> how can I add windows to the GRUB options?
[15:51] <pikapika> yes
[15:51] <pikapika> grub has a config file somewhere I believe
[15:51] <pikapika> or do you mean grub isn't showing up at all at boot time?
[15:53] <pikapika> pavlos, wonderful thanks.
[15:54] <pikapika> bumblefuzzz, wait
[15:54] <pikapika> Why does changing boot order at bios work?
[15:54] <pikapika> Unless your "different partition" really meant a different harddisk and you have multiple hard disks in your system
[15:55] <pavlos> bumblefuzzz: so, ubuntu is on /dev/sda and win on dev/sdb I assume grubloader on sda so "grub-install /dev/sda" should find all OS
[15:55] <pikapika> Looks like someones rebooting :D
[15:59] <pikapika> pavlos, thats the thing though shouldn't a bios boot order change imply these are on two different physical drives?
[16:01] <pavlos> bumblefuzzz: no b/c you could install both win and ubuntu in one drive, half of it win, half of it ubuntu and a tiny bootloader at the beginning of the drive
[16:02] <pikapika> yes but at bios time it should not be possible to distinguish partitions
[16:02] <pavlos> bumblefuzzz: you could boot off a usb stick as LIVE and use boot-repair to fix your grub, I'll find the link
[16:02] <pikapika> pavlos, he's quit
[16:02] <pavlos> oh well ...
[16:02] <pikapika> But I hope you grokked what I meant
[16:03] <pikapika> The listing of possible bootable devices at BIOS boot time would be a listing of actual physical devices
[16:03] <pikapika> and it won't have any idea of partitions at that time right?
[16:04] <pavlos> it boots off a device first (sda or sdb or sdc) then identify partition
[16:04] <pikapika> So if changing boot order at BIOS time changes the OS
[16:05] <pikapika> either he has multiple drives or he somehow hasn't actually installed ubuntu to the hard disk and is booting from the live usb
[16:05] <pikapika> pavlos, yes thats what the bootloader does
[16:06] <pavlos> possibly he had two grubs, one for ubuntu and one for win ... since he did not provide info how he install win alongside ubuntu, we just speculate
[16:06] <pikapika> But he claims instead that simply changing boot order at BIOS time selects his os
[16:06] <pikapika> Basically what I am saying is
[16:06] <pikapika> GRUB occurs *after* BIOS has done its work
[16:06] <pikapika> If an action at the BIOS stage is changing the OS booted, something seems a bit funky
[16:08] <pavlos> you can config grub to boot ubuntu on sda and other OS on sdb ... we dont even know if he used EFI
[16:09] <pikapika> Yes and my point is GRUB comes into effect after BIOS not before
[16:09] <pikapika> and he said changing boot order of devices at BIOS is changing the os booted
[16:09] <pavlos> correct, did I write otherwise?
[16:10] <pikapika> so what I am trying to say is i don't think its grub that is causing this
[16:11] <pavlos> he probably had 2 separate disks, tell bios to boot sda -> ubuntu, tell bios to boot sdb -> win
[16:11] <pavlos> each disk had their own mbr
[16:11] <pikapika> Yeah thats what I was guessing
[16:11] <pikapika> that there must be two physical disks
[16:18] <pikapika> Btw
[16:18] <pikapika> What is the opinion here regarding a distro upgrade vs a fresh install?
[16:22] <pikapika> I think I should start documenting all the changes to system configuration, custom scripts etc I have made
[16:22] <pikapika> Just in case the upgrade causes problems and I need to do a fresh install that is
[16:28] <pikapika> since we were speaking of bootloaders
[16:28] <pikapika> Is there any way to copy over the system to an external hard disk and make it bootable from there, as a safety measure prior to upgrade/reinstall?
[16:39] <Raqbit> lotuspsychje, that's a different issue I also had when using this keyboard, but it was solved by comment #19 in that thread. This issue is all about how my mouse starts stuttering when the keyboard is connected (And stops stuttering when I type on the keyboard)
[16:50] <pikapika> It seems I wasn't the only one, apparently LTS to LTS upgrades have caused issues for others too
[17:06] <bewees> where are the logs in ubuntu windows subsystem?
[17:06] <bewees> /var/log is empty
[17:11] <tomreyn> !WSL | bewees
[17:12] <bewees> thanks tomreyn
[17:12] <tomreyn> if you have generic questions, here is fine, though
[17:13] <tomreyn> bewees: this may actually be a generic question. since ~ ubuntu 18.04 LTS, a logging system was introduced, which is sytemd-journald. you can read its logs using the    journalctl    command.
[17:13] <tomreyn> for exmple, to get the fully logs of the current boot, use   journalctl -b     or, to get just the kernel messages, use    journalctl -k
[17:14] <bewees> tomreyn: wsl doesn't ship systemd, i worry its a wsl specific question, because it misses some stuff
[17:14] <tomreyn> i assume wsl2 does ship systemd, but have not checked. you're probably on wsl1 then, and then i agree.
[17:15] <bewees> oh
[17:16] <bewees> thank you tomreyn! going to try wsl2
[17:16] <tomreyn> you're welcome
[17:20] <pikapika> Uptill what point does journalctl store its logs? Current session? Current day? Last 1000 events?
[17:30] <pikapika> well it definitely seems to be rather huge, pager took a lot of effort to show the last parts of the log lol
[17:33] <tomreyn> you don't usually want to look at everything at once.
[17:34] <tomreyn> here's the linuxatemyram.com equivalent for journald and disk space https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1790205
[18:15] <cow0w> Hi, I had JetBrains Mono font installed in ubuntu16 which worked perfect, after upgrade to 20.04 for some reason I see it like in a unicode format, a box with numbers.. any idea why?
[18:25] <tomreyn> maybe the font is no longer installed, just the font manager isn't aware of it.
[18:25] <tomreyn> that or the font was in a format that's no longer supported.
[18:25] <pavlos> cow0w: https://www.guyrutenberg.com/2020/01/29/install-jetbrains-mono-in-debian-ubuntu/
[18:29] <cow0w> pavlos, I copied the entire directory, though I've also did fc-cache -v -f.. is there a requirement maybe for some fonts? I see few other in font-manager that are like this.. also seems that the text is kind of blurry. I wonder if all is connected or different problems
[18:34] <pavlos> cow0w: I did the wget, mv them to /usr/share/fonts/ installed font-manager, started font-manager, I can see the JetBrains Mono font ... all in ubuntu 20.04
[18:37] <pavlos> https://imgur.com/a/pNdVyGP
[18:39] <filohuhum> hey guys, quick qustion.. is there any way of disable unity compiz plugin permanently in ubuntu 16.04?
[18:39] <cow0w> Yeah I don't think it's an actual problem with the font.. I'll try to keep check this.. any way have to do.. and thanks pavlos! enjoy the font in the meanwhile;p
[18:39] <cow0w> go*
[18:51] <regedit> hello
[18:52] <regedit> if i want to shred my hosting account / VPS but i'm not able to just write zeros all over the disk, is there a way to recursively replace every byte in every file in certain folders with 0s?
[18:53] <regedit> ex. i dont want to just delete my files; i want to digitally shred them first
[18:59] <npcd> regedit: https://linux.die.net/man/1/shred
[18:59] <npcd> Though they probably used SSDs so it's a bit redundant
[18:59] <npcd> use*
[19:01] <illuminated> I have a loop device mounted that I did not mount
[19:01] <illuminated> in /root/snap/core
[19:01] <illuminated> should I be concerned?
[19:02] <regedit> npcd: cool lemme look into that. doesnt seem to have a recursive option.. does it operate only on a single file-by-file basis?
[19:03] <npcd> regedit: Yes but just execute it through find or something
[19:03] <ducasse> illuminated: that's a snap, they all use loop devices
[19:04] <illuminated> ducasse: how do I find out what is running in the snap?
[19:04] <regedit> npcd: i see ok thanks
[19:04] <Woet> regedit: or just boot into a DBAN ISO.
[19:05] <npcd> illuminated: snap is a type of package manager, so those loopback devices are essentially self-contained programs
[19:05] <ducasse> illuminated: 'snap list' should tell you which are installed
[19:05] <npcd> I recommend switching it out for flatpak though
[19:06] <regedit> Woet: this is a semi-managed VPS from a hosting provider.. i don't have that kind of server access
[19:07] <illuminated> thanks guys
[19:08] <pavlos> regedit: sudo apt-get install secure-delete
[19:21] <coconut> Hi. I added myself a .Xmodmap file for natural scrolling on both touchpad and mouse, but now my mate-terminal and tilda do not scroll that way, while all other apps do. Any way i can fix this?
[19:23] <coconut> If i undo xmodmap and use the natural setting from control center > mouse, my terminal and tilda do work well, but then not which my mouse..
[19:23] <coconut> Unfortunately I do not see any way to fix this.
[19:26] <xbfrog> hplip installed and officejet 6978 software. settings are set to print on both sides of the page short edge. but the second page is upside down. I cannot find any settings to change this. any ideas how?
[19:50] <bewees> tomreyn: hm im now in wsl2, it says "system has not been booted with systemd as init system (PID 1). Can't operate"
[19:52] <akik> if wsl doesn't ship systemd, how is it running current distros?
[19:52] <akik> or is it just starting a shell for you?
[19:53] <ducasse> !ubuwin | bewees
[19:53] <ducasse> akik: ^^ sorry
[19:54] <WaV> Anyone know why a vnc connection would close (regardless of vnc client) from within a local network after a brief moment of being connected? Any VNC connections attempted from outside the network work just fine. What's even more interesting is if I use a computer from within the same network to connect, it will not experience the connection drops if I connect to a VPN first (outside the network).
[19:54] <makara> hi. I can't update from, or ping, za.archive.ubuntu.com
[19:54] <WaV> VNC server is Vino if it helps.
[19:54] <akik> i just can't stand this channel's policies :)
[19:55] <bewees> (but nvm I found how to enable the syslog, had to run the service, didnt start automatically, so im fine with init)
[19:55] <WaV> VNC connections are initiated via a SSH tunnel whether within or outside local network.
[20:03] <pavlos> WaV: you're trying something like "ssh -L 5901:127.0.0.1:5901 -N -f -l remoteuser remoteip" but if you do it outside your localnetwork, it fails?
[20:04] <WaV> Similar command, but no - not exactly. From within local network, it connects for a brief period - usually no longer than 30 seconds (sometimes as little as 5 seconds) - then closes abruptly; however, from outside the network, any computer from the Internet connects just fine until that person closes the connection on their end.
[20:05] <WaV> the local network is the problem, not Internet connections.
[20:06] <tatertots> WaV: can you run a persistent ping then reproduce the VNC problem ?
[20:07] <tatertots> WaV: go try that and report results
[20:07] <pikapika> Can the output format of tools such as fdisk et al be assumed to be fixed in format for the purposes of scripting or can they change any time in some future version without warning?
[20:07] <WaV> tatertots: ping from where? vnc client to vnc server from within the local network?
[20:08] <tatertots> WaV: if you have to ask that , it may not be worth investigating
[20:09] <tatertots> WaV: can the two computers involved ping successfully when this VNC issue occurs?
[20:10] <tatertots> WaV: i'm running out of other ways to say that
[20:10] <pavlos> WaV: have you modded timeout parms in ssh / sshd ?
[20:11] <WaV> 0% packetloss from client to server. 3-5ms response time
[20:11] <WaV> tatertots: ^
[20:12] <tatertots> WaV: can the two computers involved ping successfully when this VNC issue occurs?
[20:12] <WaV> pavlos: I don't believe so, no. Let me investigate sshd_config
[20:13] <tatertots> WaV: ideally your answer is a clear yes or no
[20:13] <WaV> tatertots: yes. I just replicated the issue and ran consistent ping while happending.
[20:14] <tatertots> WaV: and ideally you understand that what that means is the computers maintain communication with one another when this "VNC" issue occurs
[20:15] <tatertots> WaV: you should now check your logs related to the "application" (in OSI model context) VNC
[20:15] <tatertots> WaV: check your VNC related logs
[20:16] <WaV> tatertots: thanks
[20:16] <WaV> pavlos: ClientAliveInterval and ClientAliveCount are commented out in sshd_config
[20:18] <pavlos> WaV: I think ssh works fine (local/remote), the issue seems to be with vino-server
[20:19] <WaV> Whenever the client closes, the only log available on the server side is "Client localhost gone"
[20:20] <Aavar_> I am trying to run x-programs via ssh. I had this issue earlier, but I dont remember the solution :( I have tried to run ssh -x and ssh -X with the same result.
[20:21] <Aavar_> https://paste.ubuntu.com/p/Y9GVMF3g2K/
[20:21] <pavlos> ssh -X remoteip xclock works fine
[20:23] <tatertots> WaV: did you look at logs on BOTH sides?
[20:23] <Aavar_> pavlos: "Error: Can't open display:"
[20:24] <Aavar_> pavlos: works fine against a 18.04 server I have, but not against this 20.04-server
[20:25] <pavlos> Aavar_: you need to export DISPLAY=ip:0, maybe the 18.04 has xhosts + to allow anyone to connect
[20:25] <pavlos> I always try with xclock then continue with other Xapps
[20:26] <Aavar_> pavlos: there it worked for some reason... don't know why... weird
[20:26] <WaV> tatertots: Vino doesn't report very much of anything other than the connection was terminated. Also, neither the app on my phone, nor the program on the other computers that I'm testing from are providing logs.
[20:26] <pavlos> so xclock works but the other app does not?
[20:28] <Aavar_> pavlos: now everything works... did the exact same again and it worked...
[20:28] <pavlos> ok, good deal.
[20:33] <tomreyn> bewees: so i was wrong about assuming wsl2 would use systemd. thanks for letting me know.
[20:35] <bewees> tomreyn: yeah, also i read something about it missing on its github issue page. but my actual issue was that I didn't find any syslogs. found the cause, rsyslog wasnt started automatically :-)
[20:35] <tomreyn> bewees: maybe for lack of a compatible init system. ;-)
[20:47] <pavlos> WaV: on the remote system, netstat -plant ... does it show vino-server on port 5900 listening?
[20:54] <WaV> pavlos: yes.
[20:56] <WaV> pavlos: shows it listening on 127.0.0.1 interface as expected so that only access is via ssh tunnell
[20:57] <pavlos> WaV: my line is tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN      1316/vino-server
[20:57] <WaV> pavlos: Yours must be facing the Internet
[20:59] <pavlos> WaV: just my local network, nothing is exposed to the Internet except the firewall
[21:05] <WaV> pavlos: I just set vino up the way yours is setup (to listen on any interface as opposed to the loopback interface), and it is still closing unexpectedly on the client side.
[21:07] <pavlos> WaV: is the client to blame? can you try your test via another client (computer/laptop/etc)
[21:07] <pavlos> just thinking out loud where the issue is ...
[21:07] <WaV> pavlos: I've tested 3 different clients on 3 different computers
[21:07] <WaV> I'm about ready to just say screw it tbh
[21:08] <WaV> Like I said, via the Internet the clients don't drop. But from within the local network is when the problem occurs.
[21:09] <zealsham> does anyone know how i can out N number of lines from a file and also delete those lines from the file ?
[21:13] <pavlos> WaV: an you try "tcpdump port 5900" on remote and see the chatter?
[21:13] <tomreyn> WaV: the symptom you're describing could be caused by a badly configured NAT gateway dropping some TCP packets. you would see this in a teaffic dumpt.
[21:14] <tomreyn> * packet dump, i.e. tcpdump, as pavlos just suggested
[21:15] <pavlos> zealsham: sed -e '/pattern/,+5d' file.txt will delete 5 lines AFTER pattern match
[21:22] <WaV> tomreyn / pavlos: tcpdump produces a bunch of chksum incorrect messages
[21:23] <WaV> tomreyn / pavlos: But it also does the same exact thing for connections that are working as intended.
[21:26] <pavlos> WaV: is this an example of what you see, cksum 0xc6b8 (incorrect -> 0x1785), seq 101136035:101156027
[21:27] <WaV> yes
[21:27] <WaV> pavlos: ^
[21:35] <pavlos> WaV: there seems to be an issue with the NIC on the remote system, one suggestion is, "sudo ethtool -K eth0 rx off tx off" (turning off hardware checksum offloading)
[21:38] <WaV> pavlos: I believe I overlooked something in tcpdump that may be of some importance. One moment. Trying to replicate.
[21:40] <WaV> nevermind. I saw packets dropping, but packets also appear to be dropping on connections that aren't experiencing issues.
[21:42] <pavlos> WaV: I have sudo tcpdump -XX port 5900 from an ssh session and I vnc to that remote, I see packets flying, no checksum errors
[21:42] <pavlos> WaV: this will show hex/ascii output
[21:51] <WaV> pavlos: I temporarily turned off offloading and that didn't make a difference in rectifying the perceived problem nor did it stop packets from dropping.
[21:53] <pavlos> WaV: ok, I'll research more ...
[21:57] <WaV> pavlos: Only if you have nothing better to do. I'm taking a break.
[21:58] <tomreyn> i'd just setup a simple tcp connection between both ends using netcat, and see whether this also drops.
[22:01] <tomreyn> if you have no firewalls restricting traffic between those systems / networks: (a) on the host (where the vnc server runs): nc -vvl 1234   (b) on the client (where the vnc client runs): nc -vv HOST_IP 1234    (c) then type a bit on the client window and on the server window and see how what you type arrives on the other end. and keep both running for a bit longer than it normally takes for the conneciton to drop.
[22:02] <tomreyn> finally ctrl-c to quit (on either side).
[22:03] <tomreyn> if the connection is intially established, then fails unexpectedly, you most likely have a networking problem.
[22:04] <WaV> tomreyn: Not sure if its worth mentioning, but ssh sessions from within the network last infinitely long until the client disconnects. But I'll try your suggestion and leave the connection open
[22:05] <tomreyn> WaV: it can matter whether traffic actually flows over the link or you just have the connection open
[22:09] <WaV> tomreyn: I have the connection open and have typed over 200 lines of random letters and characters with no issues, lol.
[22:16] <WaV> brb
[22:41] <SrPx> I'm trying lemonbar, but it doesn't respect the DPI config and thus appears to small on my screen. How can I make it bigger?
[23:21] <pavlos> WaV: the problem occurs within the local network. So, lets assume your network is 192.168.1.10 (client) and .20 (vino-server). Is there a bunch of switches connecting those systems? you can try, iperf3 -s (on vino), iperf3 -c vino-ip (on client) which will transfer 1.08 GB. Do you get about 932 Mbps?
[23:24] <WaV> pavlos: It is just one Linksys 8-port wifi access point/router
[23:27] <WaV> pavlos: Transferred 1.10GB @ 941Mbits/sec
[23:42] <ZPQ> do anyone know a good gfx benchmark program for Ubuntu?
[23:42] <pavlos> WaV: I dont know if some setting in the Linksys router muddies up the internal network traffic. Getting checksum errors does not make sense.
[23:43] <ZPQ> Ubuntu 16.04, even
[23:45] <quadrathoch2> ZPQ something like this? https://gfxbench.com/result.jsp?benchmark=gfx40
[23:46] <ZPQ> quadrathoch2: yes, but I would prefer a .deb
[23:47] <ZPQ> quadrathoch2: but I that may be the thing a looking for
[23:47] <abdulhakeem> If I have a boot ssd and then separate HDDs that are part of an LVM LV, and then I reinstall Ubuntu on the boot drive, is the LVM pool still intact? Is the data lost?
[23:48] <tomreyn> ZPQ: glmark2 is very simple, but depending on what your goals are, might suffice.
[23:49] <tds> abdulhakeem: is this VG only on the HDDs?
[23:49] <tds> it's likely not lost, but `pvs` would be a good starting point to see what's going on
[23:52] <abdulhakeem> yeah its only on the HDDs
[23:52] <abdulhakeem> boot SSD  is completely separate
[23:52] <ZPQ> tomreyn: testing now... :-)
[23:55] <tomreyn> ZPQ: what's your goal in testing this, which hardware do you have, and don't you expect better performance on a newer ubuntu release?
[23:56] <ZPQ> tomreyn: just test if the driver for my nvidia-gfx card works as it should, I had som issus with it in my laptop
[23:56] <tomreyn> i see
[23:58] <ZPQ> tomreyn: I need to run 2 rounds, one with internal gfx and one with nvidia gfx to see if it's faster. nvidia gfx was feeling sluggish
[23:58] <tomreyn> i see more now.
[23:59] <ZPQ> tomreyn: but the have to wait, I watching F1 right now :-)
[23:59] <ZPQ> that, even