[00:06] boom, crackle, phizzies,//happy 4th! [00:26] **Help**: I got an Input/output error on one folder of my SD card [00:27] It's a folder containing a VM. Interestingly, `ls -l` shows problems only on .vbox file and .vbox-prev file [00:27] all other folders seem to be intact [00:31] how can I disable ssh path autocomplete? [00:38] Workaround: Luckily only a text file was affected and I had a backup. This is a deadly bug ... [01:44] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [01:45] DarkTrick, an active vm on a SD card, i would say highly unreliable.. [02:05] in a terminal, if i copy a long line of text inside screen it copies unwanted line breaks. is there a fix? [02:09] question for #linux perhaps dw1 ? [02:10] cat -v .. https://en.wikipedia.org/wiki/Newline [02:11] yeah i asked there thx [02:14] i recently reinstalled firefox on 20.04 and im having 100% cpu spikes on both normal browsing and private windows https://imgur.com/a/UyYrfOe [02:15] but its more on random, cant really reproduce it yet, about:performance shows both addons privacy badger & ublock ontop [02:17] lotuspsychje, is this because of preload? [02:17] never had issues with preload before, it all started happen after a fresh FF reinstall [02:18] 20.6 G data from one process childID3 ... [02:18] and i wiped the FF folders in /home too before reinstall, so im puzzled [02:19] what pages do you have open? [02:19] tested a few different, like gmail, youtube [02:19] it doesnt seems to influence [02:20] once the cpu spikes rise, i have to close FF [02:20] individual new tabs cant fix it [02:21] tryed disabling my 2 fav addons, darkreader and addtoany but no dice neither [02:25] i wonder if its privacy badger and ublock making FF work more by default? [02:43] hi guys. my current setup is ubuntu vm, win10 host with samba for file access. I can ping from host -> vm but when I try pinging from vm, it says "temporary failure in name resolution". I tried nmblookup and it works. I can also ping the host's IP. [03:23] lupi: you need the VM guest setup with a bridged network interface, not NAT as is usually the default. This is done though your VM software running on Windows [03:37] All of a sudden ubuntu won't boot anymore, after the bios splash screen I can choose between "ubuntu" and "windows boot manager", but when I select either, then nothing happens [03:37] And it doesn't look like grub [03:40] I haven't configured dual boot [03:42] pagnol: you can upload a screenshot if you want; you could also boot via a live cd in order to fix it [03:46] alkisg: https://ibb.co/K9TbLTQ [03:47] Currently dont have access to a second computer to prepare a usb stick unfortunately [03:47] Otherwise I would've just done that [03:48] Yeah this looks like an UEFI firmware boot manager (UEFI is the "new BIOS") [03:49] And what happens if you select ubuntu, does it show grub? [03:49] Absolutely nothing happens [03:49] It remains in the blue dialog, or it shows a black screen? [03:49] Whichever I select, nothing happens [03:50] The screen remains unchanged [03:50] leftyfb yes I have bridged setup. I can ping the IP, but can't ping the host's hostname. I can ping the vm's hostname from host though. [03:50] pagnol: if you press there, do you see the "app menu"? [03:50] lupi: what nameserver(s) is the guest using? [03:51] alkisg: https://ibb.co/kyT1JFb [03:52] leftyfb `/etc/resolv.conf` has this "nameserver 127.0.0.53" [03:52] nslookup shows 127.0.0.53 too [03:53] lupi: systemd-resolve --status|grep "DNS Servers" | nc termbin.com 9999 [03:53] leftyfb 8.8.8.8 [03:53] lupi: and there's your problem [03:53] pagnol: and can you enter setup if you press enter at that point? [03:54] lupi: google's DNS servers do not know how to resolve your guest or hosts ip's [03:54] Yes but its just the regular bios setup [03:55] lupi: if you want to be able to resolve local hostnames on your network then your clients should be using ONLY your routers ip address as DNS (or local DNS server if you have one) [03:55] leftyfb like 192.168.1.1? [03:55] lupi: yes [03:55] pagnol: inside setup, try to disable secure boot, in case something went wrong with that. But unfortunately you'll most probably need a live cd. [03:55] lupi: then let your router forward DNS requests out to whatever public DNS server you have configured on the WAN side [03:56] alkisg: I will try that thank you [03:56] I tried "nslookup myhostname 192.168.1.1" and it did not work. It said "server can't find myhostname: NXDOMAIN" [03:57] Also, I thought it would work since I can ping from the host's. "ping myvm" works [03:58] alkisg: secure boot is actually disabled already [03:58] lupi: your VM software probably setup it's own DNS lookup for guests locally [03:58] lupi: if your router isn't resolving local hostnames, that is something you'll have to address with your router. Maybe try #hardware or #networking [03:59] lupi: what ip address does your guest have? [03:59] vm 192.168.1.57, host 192.168.1.81, router is 192.168.1.1 [04:00] lupi: can you ping the ip of the guest from another machine on the network (not the host)? [04:01] lupi: DNS resolution is for the internet. For local hostnames, you either use zeroconf (ping myname.local) or winbind (ping myname) [04:01] leftyfb I can ping the hostname and ip from another machine [04:02] I haven't read the whole thread. The problem is from windows to ubuntu, or the opposite? [04:02] alkisg the opposite [04:02] alkisg: DNS resolution is for DNS resolution, regardless of the class of network [04:02] Do you have the winbind package installed? [04:02] dpkg -l winbind [04:03] alkisg winbind is ii [04:03] leftyfb: please read the avahi-browser and winbind package descriptions to see how these protocols help in name resolution in local networks where no authoritative dns server exists [04:04] alkisg: all home routers have local DNS built in. [04:04] alkisg I thought smb and nmb will handle it altogether already [04:04] lupi: samba is not for DNS [04:04] I mean, because the clients will belong to the same workgroup or something. [04:05] alkisg: also, not everything supports zeroconf and winbind is a poor substitute for DNS [04:06] lupi: samba/SMB/CIFS are filesharing protocols, not DNS. [04:06] also, "wins support" is enabled in smb.conf if that helps [04:06] leftyfb: DNS means A records. Cheap routers don't have an interface for that, and users don't go to that interface to declare their clients anyway. SOME dhcp clients can send the local hostname when doing a DHCP request, and SOME dhcp servers may accept it. [04:07] :/ [04:07] So in SOME cases the local router will know the hostnames, but this isn't always the case. Avahi and winbind were invented to address the lack of DNS in such LANs [04:08] lupi: can you ping the windows pc, using its hostname, from any other device? [04:08] (checking if the windows connection is "public" or "home" etc) [04:09] the machines can ping each other and the vm. the vm cannot ping the hostnames outside but can ping the ip's [04:09] current network is public btw. [04:10] The other machine is also windows? [04:10] yep [04:10] im using virtualbox. network is bridged. [04:12] lupi: change the DHCP settings on your router so that clints get 192.168.1.1 for their DNS, not 8.8.8.8 [04:12] lupi, do you have wins in your /etc/nsswitch.conf? https://askubuntu.com/questions/27541/why-cant-my-machine-resolve-local-windows-hostnames [04:12] lupi: i the meantime, you can try setting the DNS of your guest to 192.168.1.1 temporarily to test [04:13] You can test if your router knows the windows pcs by: host windows-hostname 192.168.1.1 [04:16] alkisg oh crap. you mean do it from the router? I still have this shitty router. but I'll try what leftyfb said [04:16] lupi: you can do this on the guest manually to test [04:16] lupi: no, I mean if you run the `host` command from linux, then it will ask your router if it knows the windows hostnames [04:16] oh ok wait [04:16] So that you'll know that IF you change your dns, if it'll work or not [04:16] lupi: a quick way is to change /etc/resolv.conf to "nameserver 192.168.1.1" [04:17] While e.g. if your windows PCs have static IPs, that certainly won't work, as they don't do DHCP requests and they don't send their hostname at all [04:17] lupi: (temporary) [04:17] (or if your router dhcp server doesn't support hostname registration) [04:17] welp. host not found NXDOMAIN [04:17] no machine uses static ips [04:18] lupi: what model router? [04:18] OK, it appears your router doesn't support hostname registrations so its DNS doesn't know the windows PCs, you need to use wins. Do you have wins in nsswitch.conf? [04:19] It's ISP owned. I think it's huawei "EchoLife HG8145V" leftyfb [04:19] alkisg I dont have it. I think, I tried adding winbind already but it did not work (I restarted) [04:20] alkisg I'll try "wins". I tried "winbind" before [04:20] lupi: also try these: ping hostname-lowercase; ping HOSTNAME-UPPERCASE; ping hostname-lowercase.local; ping HOSTNAME-UPPERCASE.local [04:21] I'm not sure if recent windows registers itself in zeroconf apart from wins, and if it does, if it's resolved using .local like usually, or not [04:21] alkisg I added "wins" on host, now it's giving me "System error" when I ping [04:22] Let me boot a windows vm to test, it'll be quicker... [04:22] ok. thank you [04:23] lupi: in the mean time please remove wins and try the pings I mentioned above [04:23] or search for the windows hostnames in the output of: avahi-browse -trap [04:25] lupi: https://i.imgur.com/i7SNsUO.png [04:27] leftyfb oh yeah I was about to try that [04:32] [ +3,037578] vboxnetflt: 56862 out of 123254 packets were not sent (directed to host) [04:33] Ouch, zeroconf packets are multicasted and I think vbox can't handle them on the bridged interface [04:34] Yeah, https://serverfault.com/questions/563599/avahi-zeroconf-bonjour-service-in-bridged-virtualbox-sometimes-not-found-outsi === nyuszika7h_ is now known as nyuszika7h === LadyCailin[derp] is now known as LadyCailin [05:07] hi === mybalzit1h is now known as mybalzitch [05:08] I've installed 'Minetest' via Snap to Lubuntu [05:08] But it never launches when ran === noteness is now known as Guest6531 [05:12] what release of Lubuntu Guest9, do you get any messages when run from terminal? [05:13] No messages [05:13] The game window opens for 1 second then closes [05:13] MineTest worked on older Trisquel 9 [05:13] But isnt working on this Lubuntu install [05:14] what release? [05:15] Lubuntu 20.04 LTS [05:16] okay I get loads of messages, then Aborted (core dumped) [05:17] here it works.. [05:17] complaints on my system are expected directories not found.. [05:18] https://imgur.com/gallery/ndAkS94 [05:19] i find no obscure setting in software > installed > minetest > permissions === Daniel is now known as toolz [05:40] lupi: I managed to find a real windows pc and test with it; `ping windows-hostname.local` (with .local) works fine on bare metal, yet not on the bridged virtualbox interface, due to the zeroconf multicasted packets getting dropped [05:41] alkisg what's your network if not bridged? [05:41] lupi: my use case was the opposite, real ubuntu and vm windows [05:42] So in my case, real ubuntu with real windows works; in your case, vm ubuntu with vm windows would work; yet vm <=> real doesn't work in any case [05:43] That's with the default name resolution, which is zeroconf. Note that if your router supports dhcp name registrations, then you should be able to do what leftyfb said, [05:43] although you reported that `host name 192.168.1.1` didn't work, so it either doesn't support dhcp registrations at all, or it's not enabled [05:44] ooh ok thank you! maybe I should leave it for now, the important thing is I can access the vm from the host [05:46] There might be a workaround to make virtualbox NOT drop the multicasted traffic, but it would require asking in #vbox... if it was not problematic it would be enabled by default, so I'm not sure it's worth exploring... === OkayPJ1 is now known as OkayPJ [06:34] hello, anybody knows why even with max con 20.000 my sockets number on haproxy stops at 4100 on Ubuntu 18.04 ? I tried ulimit I tried maxcon in haproxy but still sometimes it stops at exactly ~4096-4100 and sometimes it doesn't go over 6500 nr sockets opened by haproxy (and my average is around 8000 sockets at one time) [07:04] Hello. [07:05] What is the proper way of creating a new user when zsys is in place [07:05] Should I create a zfs filesystem first? [07:05] And set an user property? Then create an user? === prxq_ is now known as prxq [07:27] hello, I'm trying to debug a segfault and it seems ubuntu uses apport instead of systemd-coredump. According to the docs coredumps are recorded in /var/crash, but that folder is empty for me? [07:43] hi guys [07:43] for me ubuntu = linux [07:43] i don't look elsewhere === coke_ is now known as coke [07:47] loganlee: good on you but a bit offtopic [07:50] 0003 [07:50] 23 [07:50] 3 [07:51] #nnn-.6~6~6~6~6~6~6~6~6~6~6~6~6~6~6~6~6~000 [07:51] éeeeeeeeeeee3.00006ééééééééééééééé [07:51] * gordonjcp removes gordonjcpv2.0 from laptop [08:19] where are Xorgs default cursors? [08:19] The default Xorg cursor [08:21] Guest59: the outlined X thing? === bsmith093_ is now known as bsmith0931 [08:23] so the default X11 cursor [08:23] no, the...* [08:27] I upgraded an LXC container from 18.04 to 20.04 and now the keyboard input is misinterpreted, e.g. backspace enters whitespace characters. Probably some terminal configuration issue. Anyone got experience with this? [08:29] theh: check echo $TERM [08:30] cbreak: Reports as `xterm-kitty`; I'm pretty sure it did so too before the upgrade. [08:30] so, install that in the termcap inside [08:31] apt install kitty-terminfo [08:31] or something like that [08:31] Ah OK! Thank you, I'll try that. [08:32] you can also temporarily export TERM=xterm-color [08:55] Worked well, I didn't have the universe repo enabled in the container, took me a moment to figure out. === sharperguy_ is now known as sharperguy [09:46] DNS resolution suddenly failed on my desktop (20.04). What I've done so far: [09:46] $ ping -c 2 8.8.8.8 [09:46] ... 0% packet loss... [09:46] $ resolvectl query google.com [09:46] google.com: resolve call failed: All attempts to contact name servers or networks failed [09:46] $ systemd-resolve --status | grep Current [09:46] Current DNS Server: ::1 [09:46] $ ping -c 2 ::1 [09:47] ... 0% packet loss... [09:47] $ cat /etc/resolv.conf [09:47] nameserver 127.0.0.53 [09:47] options edns0 trust-ad [09:47] Changing the DNS server for the wifi connection to, for example, 8.8.8.8, has no effect, and the same problem applies to all wifi connections, even new ones. [09:47] Would be very grateful for any pointers. [10:03] AndroUser: nameserver 127.0.0.53 ???? should be 127.0.0.1:53 right? [10:03] aka 127.0.0.1 only in resolv conf [10:04] no, i have the same on my bionic 20.04 [10:04] jushur: possibly a typo. Copying everything to my phone to do this IRC! [10:04] Aah [10:04] systemd-resolve --status|grep "DNS Servers" gives your router dns [10:05] Cool. One moment. Was just rebooting. [10:05] 127.0.0.53 is systemd-resolved, it's not a typo there [10:07] k, ignore my ask then AndroUser , seems to be the Ubuntu config is such. [10:08] so, change DNS in your router? [10:09] Yeah, so my router DNS is apparently "::1". Could this be right?! [10:11] The thing is, other devices using the same router (including the one I am using for this chat) are fine. [10:12] that::1 looks like a IPv6 dns [10:12] Good point. [10:13] AndroUser: what's the output of: systemd-resolve --status | grep -A3 'DNS Server' [10:13] 0% packet loss .. so there is nothing failing [10:13] And of this, but do set the correct ethernet name: /usr/lib/klibc/bin/ipconfig -n enp2s0 [10:13] (the second one needs sudo but does no changes) [10:14] alkisg: Current DNS Server: ::1 [10:14] Just "current", there are no other lines? [10:14] No ipv4? [10:15] not the behaviour of an ubuntu box... [10:15] DNS Servers: ::1 [10:15] DNS Domain: ~ [10:16] Let's start with the output of ipconfig first. You can also use termbin if you want: sudo /usr/lib/klibc/bin/ipconfig -n enp2s0 | nc 5.39.93.71 9999 [10:16] Do replace enp2s0 with your ethernet name [10:16] This will show us what your router configuration is, if it sends the correct DNS to the DHCP clients [10:16] (that command upload the output to termbin.com/some-url) [10:16] So you can just tell us that url [10:17] Been trying things l [10:17] ... ike that, but hobbled by having to use my phone. One minute [10:20] Also upload the output of `nmcli | nc 5.39.93.71 9999`. If you want to hide things like IPs (which shouldn't matter since they're locall), you can use `command > /tmp/out.txt`, then edit out.txt, then use `cat /tmp/out.txt | nc 5.39.93.71 9999` [10:21] Finally you can just bypass the problem by putting `nameserver 8.8.8.8` in /etc/resolv.conf, but then we won't know what caused it :) [10:25] Thanks. LOL, having to use termbin by direct IP address! Anyway: https://termbin.com/zy9dc [10:25] Have I somehow lost IPv4? [10:25] Doing other command in a moment... [10:27] https://termbin.com/t0o9 [10:29] so there is a lot more going on, docker, vpn on IPv6... [10:30] If "ipv6leakintrf0" means "protonvpn", then that VPN software might be affecting a lot of things; you should start with that [10:30] AndroUser, what happens if you disable the vpn? [10:32] Yes, I was wondering if there might be something there, as the problem occurred around the time of first using Proton. VPN isn't supposed to be running at the moment though. [10:34] Can't even start Proton VPN to look at it as I guess it is stalling on DNS lookups for the various VPN servers. [10:36] sudo nano /etc/resolv.conf; put `nameserver 8.8.8.8` there as a temporary workaround; then fix the protonvpn issues [10:36] afk, back later [10:38] Thanks so much! [11:28] alkisg: seems the DNS problem was that a crash had left some of the ProtonVPN stuff behind even when not running ProtonVPN. Restarting it and shutting down clearly seems to have done it. Thanks again for your help. [11:29] *cleanly* [11:29] 👍 === cloux_ is now known as cloux === nox_ is now known as n0cto === n0cto is now known as nox_ [11:48] how do I force using wayland? i'm using gnome [11:48] ice9, what ubuntu release? [11:49] jailbreak, 21.04, i know it should be using wayland by default but this not the case here, session show x11 [11:49] you click the "wayland" on the DM then login. [11:50] jailbreak, there is no such option in gdm [11:50] ice9, you should have a choice between x11 and wayland. [11:51] jailbreak, i don't have it [11:51] What's the output of this command? ls /usr/share/xsessions [11:52] Hmm no I think there's also a wayland sessions somewhere else, looking... [11:53] alkisg, ubuntu.desktop ubuntu-xorg.desktop [11:53] ubuntu.desktop is wayland. [11:54] jailbreak, the only diff between the 2 files is: "Name=Ubuntu | Name=Ubuntu on Xorg" [11:54] There's also /usr/share/wayland-sessions/ubuntu-wayland.desktop [11:55] I guess one is for some newer display manager specification, the other for older DMs; yet both would do the same [11:56] alkisg, still that file has the same content too [11:57] On 20.04 I only have one file under xsessions. Indeed the contents are the same so I guess the difference is in the containing directory [11:58] Will a Windowz Edge uBlock Origins backup work on Linux Firefox uBlock extension ? [11:58] anyone here had much luck with ubuntu 20.04 LTS as a VPS on OVH servers, ontop of proxmox using their weird failover ips? [11:58] ice9: do you have opengl acceleration? Check glxinfo [11:58] alkisg, yes i do, i'm using nvidia as primary gpu [12:00] ice9: output of: grep -ri wayland /etc/gdm* [12:00] alkisg, /etc/gdm3/custom.conf:#WaylandEnable=false [12:02] ice9: and when you select the user, you don't see a gear at the bottom-right corner, that allows you to select wayland? [12:02] It only shows up after you select the username [12:03] * alkisg just tested on ubuntu-20.04-desktop.iso and verified that... [12:04] alkisg, i don't have that gear [12:05] Ah, maybe this is still true: "Wayland is disabled by gnome devs on nvidia proprietery drivers" ... [12:05] https://askubuntu.com/questions/1215440/cant-find-wayland-sessions-on-gdm [12:05] I've been avoiding nvidia for years so I wouldn't know :) [12:05] It does mention a couple of workarounds there [12:18] gah, why is the silly lenovo laptop failing to detect wired network device when I boot the machine while it's docked. Always have to unplug and replug the dock to get the device working. [12:27] alkisg, thanks a lot for your help :) [12:33] is there anyway to not use netplan for network config on 20.04 and just configure the interfaces file like before? [12:34] Anybody ? [12:38] that's not a ubuntu support question imho IRCMonkey [12:39] mijora1, well, ifupdown is gone from 20.04 ... netplan acts as frontend to systemd-networkd and to the network-manager backend ... you could try to configure systemd-networkd directly instead of using netplan but i dont think you can easily re-integrate ifupdown [12:39] Why do ubuntu devs put packages that pretty much require a GPU without GPU support? [12:39] python3-torch for example [12:39] they compiled it without CUDA support [12:40] ask nvidia ... [12:40] orga: i have setupa win vm and a debian 10 vm no problem on ovh, now im trying a ubuntu server and just cannot get netplan to load the right config. is there any other way? [12:40] there is no legal way of sipping CUDA in the distro ... and you can not link against something that is not there [12:41] many distros have begun shipping their images with nvidia drivers [12:41] right? [12:41] nt with CUDA [12:41] nvidia does not permit that [12:41] Can't we just have a script that auto downloads it? [12:41] mijora1, the problem with server (for a manual config) is cloud-init; you know to handle it ? [12:41] like restricted extras? [12:41] not at buld time of python-torch [12:41] IRCMonkey: try asking in #linux [12:42] i see well that super sucks [12:42] it does [12:42] what are they worried about? Seems like an odd requirement. [12:42] ioria no im not aware of cloud-init [12:43] mijora1, may i ask you why you installed th server edition ? [12:43] *the [12:44] ioria ubuntu-20.04.2-live-server-amd64 [12:45] mijora1, yes i know; i asked you why ? [12:45] sorry didnt see that, im trying to setup a ubuntu VM on a ovh server - not a desktop machine, should i not be using that edition? [12:50] mijora1, ok; so yes, you can use /e/n/i on 20.04 serv.; but you need to install ifupdown, resolvconf, reconfigure systedm-resolved,backup the netplan config files, probably disable predictable net intefaces names and disable cloud-init if you want a static interface [12:51] mijora1, a bit of work [12:52] ouch. would be easier if i could connect to the internet to install [12:53] Hi all [12:53] never had this issue before, what a pain in the a55 [13:05] Mekaneck » Oh O.K. [13:38] i can't scale my tv with my laptop.. when i scale them i can't have different scales... i'm stuck at 200% cause my laptop is a small 4k laptop and i want it to be at 4k resolution but 200% and not my 4k tv.. i prefer my 4k tv to be at it's 100%.. or am i missing something? i tried xrandr too.. the scaling of the laptop works seperately but when i [13:38] do it for the HDMI tv it doesn't work.. like when i scale 2x2 or 0.5x0.5 both zooms in and things like that.. any support..? [13:38] i tried display settings in ubuntu 21.04 for the first case scenario.. then xrandr for second mentioned case.. [13:39] * alkisg is using ifupdown in ubuntu-server 20.04 without resolvconf and without disabling predictable interface names [13:43] anyone? [13:47] Hi. I'm trying to find out with what configure options package "xterm" was built on Ubuntu 21.04 - I've uncommented deb-src repos in /etc/apt/sources.list, did 'apt update' and tried to get the sources with 'apt-get source xterm' with error message "E: Unable to find a source package for xterm" [13:48] I'm confused here and would be grateful for help. === leftyfb_ is now known as leftyfb [13:50] tha: it's part of the universe repository. You need to enable that and it's deb-src [13:53] leftyfb: thank you kindly. That was it. [13:55] Is there any command that could help me find which package is in which deb-src repo in the future? [13:57] tha: it's probably easiest to inspect the build logs oh Launchpad, unless you also need to reproduce the build yourself. Start from https://launchpad.net/ubuntu/+source/xterm, click on 361-1ubuntu3 to get to https://launchpad.net/ubuntu/+source/xterm/361-1ubuntu3, then on amd64, then on buildlog. [13:57] That takes you to https://launchpadlibrarian.net/524512634/buildlog_ubuntu-hirsute-amd64.xterm_361-1ubuntu3_BUILDING.txt.gz, and you can search that for "configure" to see exactly how the configure script was called. [14:00] rbasak: that's even better than fetching sources, thanks [14:03] when I comment out deb-src entries in the sources.list file and do 'apt update', will it remove deb-src repo's metadata, or should it be done manually? [14:47] Hi, since a week or so my system runs fsck on every boot (20.04). Anyone an idea what could cause this, and how to fix it. I use the regular shutdown [14:47] There seems to be an error message when shutting down about not being able to umount but it is gone before I can read it, and I couldn't find it in the log [14:50] eFfeM, check your /etc/fstab [14:53] ioria: nothing special in fstab [14:55] eFfeM, inspect your journal ; e.g. journalctl -b -1| grep mount [14:57] ioria: that's a good one, didn't think of that, odd results: only from jun 28 although the system was used yesterday [14:58] eFfeM, no wait ... -1 mean last boot [14:58] eFfeM, if you want today boot , use -0 [14:58] ah ok [15:00] ioria: that also looks sound to me: https://paste.ubuntu.com/p/VJVf4hS6wB/ [15:01] eFfeM, probably you have / had something connected 8usb ? ) and mounted in /mdia ? [15:01] */media [15:02] ioria: no usb stuff mounted, I do have a 2nd internal HD that mounts on /media, but it is there already for quite a long time [15:02] so those /media/fmeulenbroeks/ * partitions are automounted? or in fstab? [15:03] ioria: log also says: jul 04 12:53:29 m4 systemd[1]: Reached target Unmount All Filesystems. [15:03] if so in fstab, use /mnt/ for that, and leave .media for automount hdd/sd cards and such [15:03] eFfeM, mountpoint /media/fmeulenbroeks/MediaDisk6 is invalid, cannot recover the canonical path [15:04] eFfeM, /media is for removable devices (generally speaking) [15:04] ioria: good catch, this is the internal 2nd harddisk, I figured it would be good since after that I got: [15:04] jul 04 12:53:34 m4 systemd[1]: Finished Clean the /media/fmeulenbroeks/MediaDisk6 mount point. [15:05] wortf a check if those partitions are error free, fsck [15:05] The system originally came with a HD, but I upgraded it with an ssd and kept the original HD to store my photo collection [15:05] eFfeM, do you have some kernel parameter set ? cat /proc/cmdline [15:06] ioria: BOOT_IMAGE=/boot/vmlinuz-5.4.0-77-generic root=UUID=dc9bf88d-6cbb-4343-ba02-12853c2aee15 ro quiet splash [15:06] eFfeM, mount | pastebinit [15:06] oerheks: I ran an fsck on MediaDisk6, no problems found [15:07] ioria: https://paste.ubuntu.com/p/Y922w8gHVK/ [15:07] note that I umounted /dev/sdc8 (that is the disk that was mounted on /media/fmeulenbroeks/MediaDisk6 [15:08] actually this is a 3 disk system, /dev/sda is an ssd with windows on it, /dev/sdb is an ssd with linux on it and /dev/sdc is the media harddisk [15:09] and there are still the old linux partitions on /dev/sdc, kept them when I migrated to ssd as a fallback scenarion and never removed them [15:10] (actually there is even a windows partition on that HD [15:11] elo [15:11] question, how to i set the default playback(output) device in ubuntu 20.04? [15:11] i come backl and this piece of crap always puts my wireless speaker but i want HDMI as default [15:11] i dont find anything in the settings / soundpanel, but i do remember i have set it somewhere before [15:12] sdb3 and sdc6 are faulty,... [15:13] oerheks: I didn't read that from the logs, I'm now fsck-ing /dev/sdc6 [15:14] I would have expected the fsck after a reboot to have fixed things [15:14] eFfeM, and are those partitions automounted, or noted in your Fstab? [15:14] eFfeM, how do you mount those partitions ? manually ? [15:14] no automount [15:14] this is my fstab [15:14] https://paste.ubuntu.com/p/3392fyW2tZ/ [15:15] eFfeM, meaning exactly ? [15:15] fsck on /dev/sdc6 reveals no problems [15:16] eFfeM, what you mean exactly with 'automount' ? [15:16] ioria: / /home and /home.old are mounted via fstab, Mediadisk6: I have no idea [15:16] you have no idea ? [15:16] I don't issue manual mount commands for that disk [15:18] oerheks: sdb3 is my /home, I cannot check it for errors now [15:19] oerheks: what made you come to the conclusion that those partitions are bad (I want to learn :-) ) [15:19] eFfeM, if the drive is NOT removable, i suggest to configure fstab (Disks will do it for you) and choose another mout point (not (media i mean) [15:19] afk [15:23] from your log https://paste.ubuntu.com/p/VJVf4hS6wB/ line #8 #9 [15:24] ioria: thanks [15:24] there is one or more partitions faulty, not sure why that happens. [15:25] oerheks: hmm, I figured that line means that it will mount ro if an error occurs, but those partitions are not mounted ro [15:26] thinking of it, I had a PC issue a week ago and I had to reset the bios, but afaik I properly restored all settings (mostly defaults anyway) [15:26] I've seen such behavior before when the system actually unpowered itself before the disk was able to physically write/flush all data [15:27] anyway, I'll try to umount all partitions that I can manually and see if that changes anything [15:27] back in a bit [15:27] eFfeM, do this from a live iso [15:28] yeah, need to download one, will do so during dinner [15:31] oerheks: unfortunately umounting all but / and /home then rebooting did not help. [15:31] I see a message flashing by about umounting failing (device not ready) or something like that but the message is gone too fast [15:32] this is on shutdown, I was wondering if I could find that message somewhere in the log [15:37] ok, afk for a while, thanks all for your help! === TiZ1 is now known as TiZ [16:22] Yo!!! [16:22] If I'm formating a 320 GB external hdd for use with Windows and Ubuntu (and friends' computers), is the most portable option still NTFS, or is there something better? Can I use exFat reliably with Ubuntu [16:23] hello [16:23] how can i change my root password? [16:23] i read "do passwd root" 2 sources and, its not working [16:23] sudo** [16:23] VIA: sudo passwd root [16:24] ohooho mebe i need to switch to root "acc" first let me try [16:24] yes jailbreak thats exactly what is NOT working [16:24] not sure when my connection cut off, I just noticed (really need to fix my ZNC server) but did anyone reply to my quesiton about VNC earlier? thanks [16:25] VIA there is no root password. [16:25] VIA, change the password of the 1st account created, done. [16:25] its not working [16:25] doesnt feel right ._. [16:25] sem, one can use exfat, sure, install exfat-fuse and exfat-utils [16:25] its says successfulyl changed each time and its not working [16:26] VIA, yes, it is not working. [16:26] there is no root password. [16:26] !root [16:26] Do not try to guess the root password, that is impossible. Instead, realise the truth... there is no root password. Then you will see that it is 'sudo' that grants you access and not the root password. Look at https://help.ubuntu.com/community/RootSudo [16:26] again, change the password of the 1st account created, done. [16:26] so my 1st acc is linked to root? [16:26] yes [16:26] hmhm makes sense [16:26] that is the cleverness of ubuntu. [16:26] just the way the system reacts doesnt make sense [16:26] output ect, all nonsensical crap in this case?? [16:27] its not very clever [16:27] not at all [16:27] the command is wrong, it works on debian though. [16:27] i logged in a bunch of time, and start writing my password before the monitor is fully turned on [16:27] oerheks, sounds like a relatively low-impact solution [16:27] this is why ubuntu is a good step up to linux, no hassle changing accounts to do admin tasks [16:27] and fcking ubuntu actually dumps my partial password into the "unlocked os" [16:27] I know it's a lot harder to get windows to play nice with ext [16:27] eg any applicatio nin focus [16:28] !language | VIA [16:28] VIA: Please avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList [16:28] before im catapultzed to an empty lockscreen. how smart is that? [16:28] today it dumped my full root password into IRC [16:28] howe clever is that? [16:28] That's on you. [16:28] how so? my system was locked [16:29] here we go again with knobs lookign for layer 8 problems. apologies i have offended your godlike OS [16:29] i try to not speak in your presence [16:29] i am sure such thing does not happen, when locked. [16:29] sorry so sorry [16:29] sem, https://itsfoss.com/format-exfat-linux/ [16:31] thanks [16:31] it has happened over a dozen times now oerheks. with the system locked. it has never dumped the full password yet, i guess i havent typed as fast yet .. usually dumped 3-5letters [16:32] before, i guess, the system realizes "oh hehe sorry i should be locked my bad lets .. try ... " [16:33] alarming to me. but i am certain everyone using ubuntu for en eternity, can assue me, this is certainly impossible. with the system locked. [16:33] I don't think anyone knows what you mean by "system locked" [16:41] how to resolve this? 2 directory index of "/var/www/html/kanboard/" is forbidden, client: 127.0.0.1, server: _, request: "GET /kanboard/ HTTP/1.1", host: "localhost" ; even 777 didn't work [16:41] ioria: oerheks: it seems I semi-fixed the issue, by using halt I was able to notice that it failed to umount /oldroot. [16:41] Google then gave me this: https://askubuntu.com/questions/1230403/failed-to-unmount-oldroot-dev-warning-during-the-shutdown-or-restart [16:41] As I had a bios issue recently I dug into that and set UEFI as first boot option [16:42] eFfeM, oh, good find [16:42] when shutting down I still get the "cannot umount /oldroot" message but when starting up there is no fsck any more [16:45] still not fully a happy camper as I still see the cannot umount /oldroot messages, but for now out of idea [16:49] ice9: check the permissions of the parent folders like the "html" folder [16:50] VIA: sorry but im not sure that can happen at all unless you have something incorrectly configured [16:50] can anyone recall how to reset a USB port via sysfs? I'm sure I've done it before, similar to how we an remove/rescan PCI devices [16:52] TJ-: I think it was either bind/unbind, or "authorized", under there: find /sys/bus/usb -name '*bind*' [16:52] Hmm matrix renders the asterisks as italics, hope they show up properly on irc [16:52] VIA: i have never seen that happen i genraly type my more then half of my password before my screen comes on and i never get any letters in the clear in app working in the back when system unlocks. Of course important part is what desktop environment are you using and what lock screen and suhc [16:52] VIA: that has never happened to me [16:52] a [16:52] sdfgkj [16:53] alkisg: yeah, authorized disables a device ... that /may/ work but in this case it has disappeared from its bus so I need to rescan :( [16:54] for bind the Vendor:Device ID has to be written to it [16:54] udevadm trigger [16:54] oerheks: hmm, yeah [16:54] = rescan? [16:54] let's see ... if this saves me yet another reboot I'll be happy [16:55] nope... looks like it has to be powered down to fix it. Seems to be related to the 5.13 kernel [16:55] ty bigpod for replying something useful [16:56] <3 [16:56] i have tried to configure/mess with as little as possible. generally dont touch options unless im conviced i can revert them/know exactly what im doing [16:56] the enviroment is XFCE [16:56] lockscreen? dunno whgat its using .. stock from ubuntu-studio [16:57] VIA: aha! that is a known issue with xfce4-screensaver and the lock [16:57] xfce4-screensaver [16:57] VIA: I've suffered it too [16:57] i think only 2 applications needed root access or have integrated into kernel, the NVIDIA GPU drivers and maybe also the NORDVPN client [16:58] erghghgh fuuuu [16:58] soooo, this .."XFCE screensaver" then, kicks in after lockscreen has activated? [16:58] i would have thought the machine powers gpu output off after it got locked [16:59] well i expected that would be the logical procedure, turne the gpu off when lock is in and monitor is off .. [16:59] VIA: there you go i guess we resolved at least why it happens to you, i use ubuntu mate and mate-screensaver. [16:59] yea there we go and im happy i know now!" [16:59] xfce4-screensaver is forked from mate-screensaver. [17:00] erghm soo the fork is to short to eat with it [17:00] Well turning off the GPU doesnt mean that processing of input doesnt happen problem my guess is that the lockscreen input isnt focused untill you enter the password [17:01] untill it turnes the screen on* [17:01] or something like that [17:01] no i would think turning the gpu off would cease rendering of many things and especially not require/or allow any routine that makes a "screensaver" kick in [17:02] well processing can happen without rendering [17:03] yes and it should when there is no output [17:03] or, when locked [17:03] .. and no media playing [17:03] if processing wouldnt happen you wouldnt be able to even input the password without having screen turn on [17:03] did i fail to transport my point [17:04] problem my guess it focus becuase technicly speaking lockscreen is just a window layered on top of everything that blockes inputs to anything else and if lockscreen doesnt force focus on itself anythying can still get the imput [17:05] input* [17:07] Eickmeyer: maybe this was fixxed in mate-screensaver after xfce4-screensaver was forked [17:07] bigpod: Very possible. The devs probably need to grab the commit that fixed it as a patch. [17:09] bigpod, VIA: Worth mentioining in #xubuntu since they maintain xfce in Ubuntu. Bear in mind also that everything in 20.04 is frozen and the update process for something like that is complicated at best. [17:09] It's possible it's already been fixed but not backported. [17:10] Eickmeyer: a note i am a part of ubuntu mate so after you said that xfce4-screensaver is fork of mate-screensaver you kinda made me more focused to see if there is something we have broken as well even if i havent observed that yet === genii-core is now known as genii [17:13] The issue I've seen has the visual appearance that the screen/session is unlocked, mouse moves around, but 'nothing' responds. Eventually twigged that the unlock is invisible and have to blindly type the user password. [17:14] Mostly this is with multiple displays; can't recall if I've seen it with single display [17:14] i heard that happening with old light-locker a lot [17:14] it used to be worse; I'd have to switch to a TTY and kill the locker [17:14] bigpod: yeah, that was the one! [17:15] I did a lot of debugging on that about a year ago I think [17:15] Sean eventually patched the worst of the issues I think [17:16] oerheks: well, not been able to solve the failed USB device even by removing the PCI node for the parent USB hub and rescan-ing the PCI parent bus [17:17] And the port doesn't have power control (no power/pm_qos_no_power_off node) [17:19] TJ-: how about rmmod/modprobe, with ahci or some similar module? [17:19] I can't recall if that worked when I tried it or not... [17:20] well not ahci ... that's SATA/ATA :) [17:20] but removing the xhci module won't be possible because the system has multiple USB3 controllers and are in use [17:21] Looks like another reboot will be quickest after all [17:46] hello [17:47] welcome faceface [17:47] hi lotuspsychje [17:47] how can we help you today faceface [17:47] A colleague of mine disabled DNS on a server (I think). Now I don't know how to reconfigure it to defaults. [17:47] I can ssh on, but I can't grab the things I need... I think he turned it off for security [17:48] (it's a web server) [17:49] faceface: we also have an #ubuntu-server channel if you dont find the answer here tonight [17:50] cool, I'm googling, but my first thought (dpkg-reconfiure dnsmasq) didn't work [17:53] faceface: Hi, I would look for the specific ubuntu version first and depending on that I would look what type of setup they run for network configuration in general. [17:53] faceface: should be written at least in /etc/os-release. [17:53] faceface: "disabled" is too vague to help you better. [17:54] holgersson: focal [17:54] holgersson: yeah, I don't know how to be specific... [17:55] faceface: Then you have to ask many questions :-p [17:55] hehe [17:56] why does apt not work on this box? I get "Temporary failure resolving 'archive.ubuntu.com'" [17:56] Seems DNS is 'broken' somehow... [17:56] ;-) [17:57] OK. You can connect via ssh, so I assume it can at least connect via IP. [17:57] actally, that dumb question got me some good google leads [17:57] yes [17:58] (could be also that only ssh works, just to keep that in the back of the head) [17:58] Does /etc/resolve.conf exist? It is a plaintext file or a symlink [17:58] /etc/resolv.conf has 128.0.0.53, so is expecting something to be running, I'll just set it to 8.8.8.8 and apt update [17:59] all packages are up to date... weird [17:59] thx Eickmeyer [18:00] bbl [18:01] faceface: 128.x is weird, but might be systemd-resolved doing the actual resolving plus caching, so look if that one was running, e.g. with "journalctl -u systemd-resolved" [18:02] faceface: no, 128.0.0.53 is totally weird and points to a remote IP. [18:20] Hi, [18:20] I'm trying to boot to an ubuntu 20.04 bootable usb and install it with encryption, but for some reason it only gets allocated 2.2gb RAM on startup and this isn't enough for the encryption to generate the keys. Why is this? This is on a lenovo Y700 5ISK in case that helps. The windows partition seems to get allocated 11.8/12GB, so why no the [18:20] bootable USB? I've tried to google all over and can't find the reason for this? [18:21] Things i've tried: resetting bios. Also, my ubuntu 18.04 bootable usb also seems to get assigned only 2.2gb RAM [18:21] webchat33: are you talking about RAM or disk space? What does the message say exactly? [18:21] Can you e.g. upload a screenshot? [18:22] RAM, also screenshot will be hard cause I'm on a different computer to the one I'm using the bootable usb on [18:23] Photo from phone will also do. What is the exact message, and when is it displayed, from the ubuntu installer? [18:23] There is no message. When I boot to the bootable USB, it only has "2.2gb RAM availiable" in the about section in the settings [18:24] The screen does flash black with some console-text on it, it only lasts a few seconds, I'll try capture it with my phone [18:24] 2.2 available, and how much total? [18:24] My laptop has 12GB RAM [18:24] No I mean in the dialog that you see [18:25] The easiest way would be to type "free | nc termbin.com 9999" in a terminal, which would output all the necessary info [18:25] Troubleshooting via terminal is much easier than dialogs and photos [18:26] What does that command do btw? termbin.com? [18:27] free shows the memory [18:27] The `| nc termbin.com 9999` part uploads the terminal output to the internet [18:27] Then it shows a url like termbin.com/asdf, and you only need to show us that small url [18:28] excellent! [18:28] termbin.com/34z0 [18:29] Woah, you're actually correct, it doesn't see all the RAM. That's a new one :D [18:29] Can you do this now? dmesg | nc termbin.com 9999 [18:29] This shows the kernel messages [18:29] Hopefully we'll see why it doesn't see all the ram in there [18:29] how to rename a device? [18:29] https://termbin.com/mh97 [18:30] Hercules: what device? [18:30] a usb device [18:30] camera [18:31] I tried with udev, but couldn't have success with it. [18:32] webchat33: can you also upload the hardware details? sudo dmidecode | nc termbin.com 9999 [18:32] Sure, one moment please [18:33] https://termbin.com/q84qc [18:34] Some background in case it's relevant (probably not): I'm doing this because my 18.04 installation messed up cause the boot partition /boot ran out of space cause it kept too many old kernals, and then I couldn't boot. I tried to fix it through my ubuntu 18.04 bootable usb, but to no avail. [18:35] While fixing it, I remember messing about with a whole bunch of commands I can't remmeber cause it was over two months ago, but I think one might've done something to one of the EFI partitions on the 128GB SSD, and I don't know if that could be the issue. [18:35] webchat33: funny, it detects two ram modules, one 4 GB and one 8 GB, and yet it doesn't see/use all the ram [18:36] The disk shouldn't affect at all how much RAM the live USB stick sees [18:36] Can you test for BIOS updates? [18:36] Also, can you test with 21.04, which has a newer kernel? [18:37] I already updated my bios to try to fix it, i'm using the latest bios availiable from the lenovo website [18:37] i can try do that yes [18:37] You're using kernel 5.8, maybe the bug you see has been fixed in the newer kernel 5.11 [18:37] I managed to install 18.04 without this issue though? [18:38] It's possible, if so it's called a "regression" [18:38] A bug that wasn't there in previous versions and appeared in subsequent versions [18:39] Hmm ok. Even though I never had this issue on the 18.04 installation, I tried my 18.04 bootable usb and it also sees only 2.2gb ram. I'm going to make a 21.04 boot drive now but it'll take a minute [18:40] Why is the server spamming joins and leaves constantly? [18:41] webchat33, because of a netsplit(overload on a server) [18:41] hmm, ok [18:41] Also I just wanted to say alkisg thanks for helping me with this cause I've tried asking everywhere - ubuntu forums, reddit, discord, etc about this and get no responses [18:43] webchat33: 2.2GiB RAM out of how much installed? [18:44] 12gb [18:44] 2.2 would suggest to me a 32-bit kernel without PAE, which seems highly unlikely! [18:45] webchat33: if you boot the live usb stick in BIOS mode you'll see a memtest entry; you can also check that one, how much memory it sees [18:45] webchat33: what CPU/subsystem is it? I can think of reasons that a NUMA system might do that (albeit very unlikely!) [18:45] webchat33: the initial 18.04 release had a different kernel than subsequent 18.04 releases, so if you just made that 18.04 live usb stick, then it might explain it [18:46] E.g. suppose that the "regression" happened in kernel 5; maybe the older 4.15 works, and kernels 5 to 5.8 have the regression [18:46] To test that theory, you'd download ubuntu 18.04.1, which has the old kernel, while 18.04.2+ have the newer ones [18:46] TJ- i'm not sure what information you want by CPU/subsystem, it is intel i5, these are pastes I made for alkisg they may have your information in maybe https://termbin.com/34z0 https://termbin.com/mh97 https://termbin.com/q84qc === 011AABDX8 is now known as Mikro [18:47] alkisg,no this is the bootable 18.04 I made when installing it (i'm pretty sure) [18:47] so not a newer version [18:47] webchat33: also, check what the firmware reports as memory available. Look at the early part of the kernel log ("dmesg | less" or "journalctl -k") look for the BIS-e820 lines [18:48] actually, I used it in my laptops SD card reader and installed it from there and it seemed to work before, I can check again and do the same commands from that just to check if that might help, but you'd have to remind me of the commands I did [18:48] TJ- ok, i can try [18:49] TJ-: dmesg is at https://termbin.com/mh97 and dmidecode at https://termbin.com/q84qc [18:49] TJ- I actually think one of those pastes was dmesg [18:50] The first one actually here https://termbin.com/34z0 [18:50] ahh, sorry just say your msg alkisg [18:50] saw* not say [18:51] I guess it'd be useful if those paste things have the command that was run at the top [18:51] There's probvably a way to do that in bash but I haven't such skillz yet [18:52] ( echo "RUNNING: dmesg"; dmesg ) | nc termbin.com 9999 [18:52] So the 18.04 bootable SD card uses 18.04.5 LTS and also only sees 2.2gb [18:52] " BIOS-e820: [mem 0x0000000000100000-0x000000008f0affff] usable " [18:53] That's 2398814208 bytes [18:55] "BIOS-e820: [mem 0x0000000100000000-0x000000035effffff] reserved" == 10183770112 [18:55] so, there's 10GiB marked by firmware as reserved, not usable [18:56] webchat33: either a memory/hardware fault or something in the firmware I suspect [18:56] (in case it's helpful, this is dmesg from the 18.04 sd: https://termbin.com/sinh) [18:57] TJ- (i don't know how to do those reply things), I don't think (and really hope not) that it's a hardware issue as the windows 10 partition seems to get 11.8gb given to it [18:57] so the firmware really hates ubuntu or something [18:58] ok, ubuntu 21.04 fininshed creating, so i'm gonna try running that now [18:59] webchat33: it does seem strange it is being reported but marked reserved; are you by chance dual booting with Windows and not done a cold power off restart inbetween? [19:00] I am dual booting windows (well, at least, I boot windows and am booting to a bootable usb), I held down the power button because windows takes an age and a half to shut itself down [19:01] how do i restart and then make sure it stays off? cause I tried that and I can't identify when correct time to press power button to stop it booting [19:01] I've never heard of it, but I wonder, is it possible that windows suspend keeps some data in ram, and marks it in the firmware as reserved? [19:02] Try to reboot windows, not power it off [19:02] alkisg: it's an attractive theory but I cannot think how/why - it'd have to be a suspend-to-RAM of some form. But then resume would be into Windows [19:03] ok, but if I reboot, it just boots to windows, i guess i'll have to change the boot order in the bios so that it tries something else before windows is rebooted, one sec [19:03] webchat33: most Lenovo's you hold down the power button for about 5 seconds to force it off, then let go. On my E495 I have to press the power button for about 3 seconds to power it on [19:04] Yes, the last time I exited windows, that's how I turned it off [19:04] webchat33: you should be able to press F10 (I think) to get to the manual boot menu [19:04] or is it F8? I can never remember! [19:04] I usually just stick a pin in this hole on the side of the laptop, and it gives me options to go into bios, choose what to boot from, or go into recovery [19:04] i think it's called "novo button" [19:04] gnome really needs a way to set default sound device [19:04] every time i reboot i have to set it manually [19:05] hmm... systemd-resolve ... what does that do? [19:06] faceface: handles DNS lookups [19:07] goddard: what is being set as the default, some HDMI audio output? [19:07] TJ-: I'm wondering if I need it on a 'generic' webserver [19:07] faceface: it's there to do local caching resolving [19:07] TJ- alkisg just tried 21.04, it's still only got 2.2gb ram [19:08] webchat33: at what point was linux seeing all 12 GB RAM? Was it your dual boot 18.04 which now fails to boot? [19:08] webchat33: got a question for you. How can the PC only have 12GiB RAM when it has only 2 DIMM slots - it'd be 2x4GiB or 2x8GiB surely? [19:08] TJ-: cool. I see that /etc/resolv.conf is managed by systemd-resolved... where does it pick up DNS server settings? e.g. 8.8.8.8? [19:09] faceface: from DHCP on the links, or statically set by the network manager [19:09] TJ-: dmidecode says 4 + 8 https://termbin.com/q84qc [19:09] alkisg: oh, sorry, missed that! so, unbalanced modules... that could be a problem although if it worked before...! [19:10] alkisg yes, the last time i think was dualboot 18.04 (which is now gone, because when I tried to install 20.04 using encryption and set up encrypted volume, it went ahead and formatted that partitiion (it's fine cause I had everything backed up)) [19:10] on these laptops the slots in dual-rank need matched modules [19:10] TJ-: my laptop, for example, has 12GiB - 4GiB onboard + 8 GiB DIMM [19:10] webchat33: when you say "everything backed up", do you also mean the OS, could we check the contents and see the kernel version that you were using? [19:11] Yes, I just backed up the entire thing (can't remember if that includes the boot partition), i'll check [19:11] (dmesg for 21.04: https://termbin.com/oomm) [19:13] ok so, the backup doesn't include the /boot partition of the ubuntu because that was on a seperate parition and i just copied everything form the main partition, but there is boot_bak, boot-sav and everything else from ubuntu, is there a way to find the kernal from this? [19:14] webchat33: ls /lib/modules [19:14] TJ- nah just line out, but I have 3 audio sources my Mic has a headphone jack, my motherboard has a line out which is set, and I have hdmi connected which also has audio but i dont use because it is crackling [19:14] The kernel number will be there too (inside /mnt, of course) [19:14] 4.15.0-143-generic [19:15] That's 18.04.1 [19:15] While your live stick is 18.04.5 [19:15] ahhh, ok [19:15] Try to download and boot with 18.04.1 [19:16] webchat33: it's definitely a firmware issue; some setting has changed. There are 2 obvious ones to look for: Reserved video memory size, and a setting to enable memory remapping. There may be other options there but you'll have to explore. [19:17] webchat33: you're not the only ideapad owner to see this kind of issue [19:17] ok, i'll create a stick with ubuntu-18.04.1-desktop-amd64.iso 2018-07-25 03:22 1.8G from http://old-releases.ubuntu.com/releases/18.04.1/ [19:17] oh [19:18] I have absolutely no idea how to do that, where have you seen that other people have experienced this issue, cause I tried to google around and didn't find much [19:19] how do i edit the firmware? [19:22] I would probably be able to move most things to my main computer, but a few days ago I accidentally uninstalled python trying to fix something, and half of the operating system uninstalled itself (settings, etc) and half my programs don't work. At least I have the browser, files, text editor, terminal, document editor, main things ya know. [19:23] webchat33: I also see a failed PCI window in the kernel log "pci 0000:01:00.0: can't claim BAR 6 [mem 0xfff80000-0xffffffff pref]: no compatible bridge window" which could be related [19:23] webchat33: at boot-time press the key that enters BIOS/firmware setup and explore all options [19:24] TJ- yes, I have done that. I even reset it to factory, and nothing. [19:24] webchat33: if you can't see anything or don't want to explore, on the 'save' tab find the 'reset to factory defaults' option and use it [19:24] oh really, hmmph! [19:24] think bluetooth is locking up my system? [19:24] https://paste.ubuntu.com/p/G5HMdnNWK7/ [19:24] i can try it again to be sure [19:24] webchat33: it's definitely firmware issue since it is telling the OS that 10GiB is reserved [19:25] I bet it's windows causing that problem as usual, since windows seems to be assinged 11.8 gb ram no problems [19:26] what's the package that lets "apt install some" autocompleete? [19:26] webchat33: if you're doing a cold start Windows shouldn't be able to have any effect [19:26] I'm so used to it now I can't live without it ;-) [19:26] faceface: bash completion [19:26] TJ-: thanks [19:27] goddard: is the Bluetooth device near powerful 2.4GHz wifi or other devices? it could be the frequency band is saturated and overpowering the bluetooth link [19:27] bash-completion is already the newest version (1:2.10-1ubuntu1). [19:27] goddard: I've also seen that with failing bluetooth battery levels [19:27] I hadn't done the cold start before, I'm just tyring it now [19:27] Well, i'm pretty sure I had done it several days ago, but i'm trying it again right now [19:27] webchat33: cold start should result in all settings being cleared although it is sometimes next to impossible on laptops with integrated batteries - no guarantee it is really 'off' [19:28] TJ- yeah my monitor has bluetooth i cant disable and wifi is pretty near and other wifi devices [19:28] things like "apt sear" aren't working :-/ [19:28] should I just reboot this server? [19:28] whereas a reboot (soft / warm restart) can retain hardware settings [19:28] goddard: wifi devices often have a BT co-exist option (which is usually enabled at the driver level already) [19:29] * faceface tries a reboot on the offchance... [19:29] OMG [19:29] something happened, i have no idea how, but somehow, i now have 11.5GB showing in the about section of the settings [19:29] TJ- ive been having this lock up issue [19:29] webchat33: OMG, nothing has changed? [19:29] ;-P [19:29] goddard: #1 - ensure BT keyboard battery is charged #2 - put it right next to the PC's bluetooth receiver antenna if you can figure out where they are hidden [19:29] i just disabled my wifi hopefully that prevents it [19:29] woop woop, no idea how on eart that fixed itself cause i'm pretty sure I did a cold reboot a couple days ago, eh, guess I'm just lucky today [19:30] faceface: are you using bash or some other shell? [19:30] really sucks because i like my keyboard [19:30] webchat33: like i recommended to being with - I've seen this kind of thing so many times! [19:30] TJ-: yeah, bash... I think... yup /bin/bash [19:30] logitech ergo k860 is pretty nice but makes me wish it had a non-bluetooth option [19:30] also after reboot my DNS issue is back: Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings [19:30] is this chat publicly archived? where? (i want to look upcommands that altsig told me) [19:30] faceface: not sure why you'd loose the tab-completion /unless/ you've inadvertently disabled it! [19:31] TJ-: I just tried dpkg-reconfigure bash-autocompletion, but no changes apparently [19:31] maybe you changed the default .bashrc file [19:31] faceface: "failed to connect" isn't DNS - that sounds like routing. Is your PC able to do both IPv4 and IPv6 ? [19:32] Again, I /think/ so... not 100% sure how to check [19:32] I see ip4/6 addresses in ifconfig [19:33] ah... it is working! Ignore me [19:33] I wonder why it had stopped previously [19:33] that message on login just looked inidcative of the old problem [19:34] * faceface purges bash-completion and tries again [19:34] webchat33: logs can be found here: https://irclogs.ubuntu.com/2021/07/05/%23ubuntu.txt [19:35] RupertEverton thank you! [19:35] worked! weird [19:39] I'm having troubles extending my LV with the command "sudo lvextend +l +100%FREE --resizefs ubuntu-vg/root". i get this error message: " Please specify a logical volume path." -- "df -h" shows that the lv is under "/dev/mapper/ubuntu--vg-root" while lvdisplay gives me "/dev/ubuntu-vg/root". I tried both of these path but the error that I get is [19:39] still the same [19:40] RupertEverton: "-l" not "+l" I think although that is likely a typo in IRC :) [19:41] TJ- "I" as in uppercase "i" ? I tried it just now and still get the same error. These pesky dells smh [19:42] lower-case L it's short for --extents [19:42] Now that the ram issue is fixed, I'm trying to install 20.04 with encryption and dual boot. The way I'm doing this is : [19:42] TJ- that's how I ran the command until now, with lowercase L [19:42] damn, i thought pressing shift enter would create a newline, oops [19:43] RupertEverton: hmmm, the command looks fine [19:44] after installing 20.04 on a Lenovo T14s Gen1 AMD it seems to have decided to install the "oem" kernel, but it doesn't actually use it [19:44] the normal kernel is at 5.8 and the oem at 5.10 but the 5.8 kernel is the default [19:44] is this normal? [19:46] TJ- just to confirm, I don't need to run this from a live usb, correct? [19:47] RupertEverton: you can do an online resize to make things larger; only need offline if shrinking [19:47] So it should work theoretically, but it doesn't actually [19:48] RupertEverton: the error you're getting suggests an issue with the device-mapper links failing to find the LV itself [19:48] RupertEverton: what does "ls -l /dev/ubuntu-vg/root" point to? something like ../dm-X ? [19:48] TJ-: ../dm-1 [19:49] RupertEverton: so the actual device is /dev/dm-1 . Let's check with "sudo dmsetup info /dev/dm-1" that it matches the VG/LV naming [19:50] TJ- ubuntu--vg-root [19:51] RupertEverton: good, so device-mapper doesn't appear to be confused [19:51] RupertEverton: the VG does have free extents I assume? "sudo vgdisplay" [19:51] oh I see it now! You're missing a hyphen!! [19:52] RupertEverton: it should be "sudo lvextend -l +100%FREE --resizefs ubuntu--vg/root [19:52] Now that the ram issue is fixed, I'm trying to install 20.04 with encryption and dual boot. The way I'm doing this is : [19:52] 1. create boot partition of 1.5gb and assign to /boot, create lvm partition of the rest (about 950gb) and assign to / [19:52] there is now below this "device for bootloader installation"... what device do I select? [19:53] TJ- among the combinations of possible paths that I tried, that was one of them. I tried again now and the error is still the same [19:53] webchat33: have you read my guide for doing that? [19:53] uhh, i read some guides, not sure if it was yours, if you link me i'd appreciate that?! [19:53] hello. "systemctl suspend" only logs out, but not supend. how can I find out reason? [19:53] RupertEverton: hmmph, well the -- is generally used to separate hyphenated arguments from non-hyphenated, so surround the name in quote marks [19:54] TJ- with "sudo vgdisplay" I get "Alloc PE / Size 46199 / 180.46 GiB -- Free PE / Size 14621 / 57.11 GiB". In fact I remember when we created it, we set it up to 80% [19:54] RupertEverton: it should be "sudo lvextend -l +100%FREE --resizefs 'ubuntu--vg/root' " [19:54] oh i just found your launchpad link in your bio [19:54] no, that doesnt have it as far as i can see [19:54] webchat33: I think RupertEverton can vouch for this :) https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019 [19:54] TJ- " Volume group "ubuntu--vg" not found. Cannot process volume group ubuntu--vg" [19:55] RupertEverton: ok, now remove one of those pesky hyphens then! [19:55] Lovely! that worked [19:55] RupertEverton: I cannot explain why, something in your shell is messing with things somehow [19:56] Do I need a swap area? is that just if I want to hibernate the machine? can i do without it? [19:56] webchat33: generally Ubuntu uses a swap file now, so you don't need a swap partition dedicated [19:56] TJ- webchat33 yes! that's an amazing guide! Still need to add the little note for dealing with large initrd.img in case anyone else stumbles upon the same error [19:56] RupertEverton: thanks for reminding me - I was hoping the devs would fix that problem! [19:57] TJ- yeah I actually confirmed the launchpad bug report right after you posted it but no responses yet! [19:58] RupertEverton and myself spent a weekend trying to figure out why his system wouldn't boot and eventually determined it was due to an UEFI bug that couldn't cope with > 100MiB initrd.img files [19:58] startplasma-x11 worked in groovy but not hirsute; in hirsute it says $DISPLAY is not set or cannot connect to the X server. [19:59] TJ- btw you mentioned something in my shell messing with things -- is there a way to run some diagnostics and find out what it is? [20:01] RupertEverton: I cannot think of any easy way aside from inserting 'echo ' after 'sudo ' and seeing if what is displayed comes out different that what you expect [20:02] Maybe i'm being dumb, but I can't tell if I'm supposed to select boot loader device as the one with efi system partition, or the one where /boot is? [20:02] RupertEverton: shells do all sort's of word expansions, alias replacements, and so on, so what you type is not always what you get [20:02] webchat33: the physical device that contains the EFI system partition [20:02] webchat33: /boot/ is 'just' a directory of the root file-system [20:02] TJ- I tried with and without quotation marks and they both yield the same result: lvextend -l +100%FREE --resizefs ubuntu-vg/root [20:03] webchat33: even when /boot/ is in its own file-system! [20:03] RupertEverton: the only thing I can think then is some invisible no-whitespace character got in there somehow [20:03] yikes [20:05] RupertEverton: we know it had to be in the path part, so something about ubuntu-vg/root - I wonder if there was an invisible character after the 'root' so actually it was passing 'root?' (? == something invisible - a control code) and when you added quotes it was separated from the path and discarded by the command [20:05] RupertEverton: did you by chance copy/paste the original command rather than type it? [20:06] i did, yes [20:06] aha! then the paste added something invisible [20:06] I've suffered that sometimes too [20:07] TJ-: wait actually no, I had to manually type it cause I was reading it from my phone. So 100% typed it [20:07] RupertEverton: I blame your typing then :D [20:08] So, as I understand, the reason to encrypt everything and not just use the default thing is to prevent people from installing malware in the boot partition right? [20:08] fair enough! might aswell be at this point haha! [20:09] But if i'm just using encryption to prevent thieves getting info if laptop is stolen, i don't need that full security? [20:09] do I need to disable wayland or something in hirsute to get kda plasma working? [20:09] webchat33: basically yes, as well as giving you a heartattack when you fail to remember the passphrase or can't type it! [20:10] shimbles: afaik Kubuntu doesn't use wayland by default on hirsute [20:10] ok, excellent. thanks so much for your help tonight¬ [20:10] has anyone seen a hardware or software issue that causes enter/backspace/space to randomly stop working and then go back to working again? [20:10] webchat33: in theory, but if you're using encryption may as well make it as secure as possible since you're going to have to provide the passphrase, or a hardware token such as a Yubikey, at some point [20:10] mekaneck i upgraded focal -> groovy and startplasma-x11 was still working; but on upgrade to hirsute, it's not working [20:11] when i run vncserver it shows $DISPLAY is not set or cannot connect to the X server. [20:13] Yubikey? cool, never heard of that. are hardware tokens possible for ubuntu encryption booting? [20:13] pedrocr: what happens if you press the affected key in a notepad let's say. Do you get some random characters or nothing at all? [20:13] RupertEverton: nothing at all [20:13] webchat33: i've been using a Yubikey for about 8 years for that and more [20:13] pedrocr: is it a wired or wireless keyboard? [20:14] TJ-: integrated keyboard on a Lenovo T14s Gen1 AMD laptop [20:14] pedrocr: I blame crumbs :) [20:14] can i make any usb into a yubikey like device? [20:14] TJ-: I'd normally guess that but it's the wife's laptop and she's not a slob like me :) [20:14] pedrocr: give it a really good clean, blow with a high pressure air-line, a small paint brush, etc. [20:15] pedrocr: I'd bet on there being hair or something under the keys [20:15] TJ-: doesn't seem like a dirt thing given the randomness, really feels like a firmware or hardware thing [20:15] or linux driver perhaps [20:15] pedrocr: it is possible to gently 'pop' the key caps off and put them back again [20:15] how do I disable wayland and enable X in hirsute [20:16] pedrocr: if it is hardware it'd most likely be a flex cable stressed [20:16] TJ-: yeah, that could be, I probably just need to send it to support, which is annoying === o is now known as niko [20:18] pedrocr: removing the keyboard is actually not that complicated. if you lookup Lenovo T14s Gen1 keyboard change you can find some videos that show you how to do it [20:18] RupertEverton: sure, but I'd rather have the Lenovo technicians do it [20:18] fair [20:18] this looks suspicious though: "kernel: usb 6-3: reset full-speed USB device number 2 using xhci_hcd" [20:18] how do I check what device that one is? [20:19] pedrocr: we sent back a Lenovo E495 a few weeks ago due to thermal cracking of the keyboard bezel, broken tabs around the Ethernet port refusing to release the RJ45 plug. Support is done by IBM Global Technical Services, and they were more than useless. Claimed everything was "customer induced damage" despite us having a video of the cracks appearing and disappearing as the laptop warmed up and [20:19] cooled down [20:19] TJ-: auch [20:19] pedrocr: "lsusb" look at the Bus and Device numbering [20:19] how do I disable wayland and enable X in hirsute [20:19] shimbles: I /think/ it depends on what GPU the system has. [20:20] TJ-: I looked at that but didn't find any 6-3, I have 1, 2 and 4 on bus 6 [20:20] TJ- no GPU, this is a headless AWS server, using vncserver; startplasma-x11 worked in focal, groovy, and started failing on upgrade to hirsute [20:20] pedrocr: that'll be because the device has already 'fallen off' the bus. Use "journalctl -k | grep 'usb 6-3' that should show some earlier reports when the device was discovered [20:21] shimbles: oh well, then you'll need a dummy display I guess for headless [20:21] shimbles: why a GUI on a server though!? [20:21] TJ- I am using Apache Guacamole, it shows you the GUI in a browser tab [20:22] it was working in focal, groovy, i can't figure out what's different in hirsute that broke it, except for "wayland" [20:22] TJ-: weird, as I don't see any keyboard at all in lsusb so I guess Linux is using some other form to work with it [20:22] shimbles: for a program named startplasma-x11 I doubt wayland should be involved :) [20:23] shimbles: is that a shell script? if so, examine it, see what it is doing, whether it has commands to start an X server or is relying on the X server being started by something else [20:23] pedrocr: keyboards are often using the legacy IBM PS/2 i8042 input device [20:24] TJ-: probably that, is there anything I can do to change that? maybe I should see what the BIOS allows [20:24] TJ- the shell script is ~/.vnc/xstartup, and the command it runs is startplasma-x11, and the error is $DISPLAY is not set or cannot connect to the X server. [20:24] pedrocr: this will give you a clue as to what it is: "ls -l /sys/class/input/input*/device" [20:25] shimbles: startplasma-x11 is part of the plasma-workspace package on 20.04 ... maybe something has changed there [20:26] TJ-: indeed: "AT and PS/2 keyboard driver" is input4 [20:26] and yet when the problem was happening the USB device for the keyboard was being reset [20:27] I bet the kernel is doing something strange [20:30] in the past I remember there being options for BOOTP and others for keyboards in the BIOS, but this one doesn't seem to have any [20:30] shimbles: the changelog shows something that may be relevant: "Breaks/Replaces plasma-workspace (<< 4:5.20.4-5~) for split out files from plasma-workspace" for plasma-workspace (4:5.20.5-2ubuntu1) hirsute published 14 Jan 2021 19:14:22 [20:31] hmm, unfortunately i can't parse that. i see that according to these release notes plasma + wayland is not the default yet https://wiki.ubuntu.com/HirsuteHippo/ReleaseNotes/Kubuntu [20:31] pedrocr: I suspect the USB device failing may be causing the input layer to have problems, but why it'd only affect certain keys is strange. I'd prefer to think the 2 things are unrelated [20:32] TJ-: yeah, maybe, I'm just wondering if the driver/firmware puts the keyboard in a broken mode and then the reset fixes it [20:32] shimbles: I'm wondering if startplasma-x11 has been moved to another package that wasn't installed as part of the release upgrade and you're left with the 'old' version that isn't compatible with the upgraded packages [20:33] pedrocr: I doubt the keyboard has both PS/2 and USB input modes. USB is sometimes used by touchpads. [20:34] shimbles: no, the file is still in the same package [20:35] i purged plasma-workspace and reintsalled, no luck [20:36] TJ-: ok, maybe unrelated then [20:41] Should i install things like vlc or discord through the software center, or should I use the terminal apt install stuff and deb packages? [21:10] hello can not supsend. pm-suspend works.(but no lock screen). systemctl suspend not suspend, but logging out [21:10] Nei: There's three 'failed logins' according to nickserv, which seem to be all my attempts to identify to nickserv today. Changing the password is a good idea nevertheless. It really looks like nickserv lost my previous password, somewhere between jun 28th and today. [21:11] Ups, wrong window, sorry. [21:16] I've been able to replicate the enter problem in the bios keyboard tester so the problem is either firmware or hardware [21:47] HEY [21:47] sometimes i drag a window to a corner to resoze and it sticks and doesnt stop following the cursor drives me crazy [21:48] havent found what does that yet [21:48] V|A: sigh... ubuntu version, display driver, what DE/WM combination? [21:49] 20.04 nvidia drivers [21:49] idunno what de/wm means [21:49] xfce [21:49] distro is ubuntu-studio [21:49] it seems completely friggin random [21:49] any other graphical glitches besides that? [21:49] nop not linked to this scenario [21:50] machine fully up to date? [21:50] (as up to date as an old LTS allows one to be) [21:50] would think so as far as my understanding goes [21:52] $ sudo apt update && sudo apt full-upgrade && sudo snap refresh && sudo apt autoremove [21:52] that should completely upgrade your systems, comes without warranty [21:54] you can check the man pages for details [21:58] is this channel also for bodhi linux? [21:59] spine-o-saurus: no [22:01] how come journalctl is refering to ubuntu for support then? === genii is now known as genii-core