[00:04] What is the most appropriate way to run a 32-bit application on a 64-bit-Ubuntu? [00:12] Robert74: if you're referring to ix86/x86_64 platforms then the easiest way would be to use a release which supports all the dependencies your software has. the amount of available i386 packages and libraries decreased with ubuntu 19.10. [00:13] Robert74, What application are you trying to run? [00:13] Does that mean there's no way to run an i386-app if it doesn't have the needed dependencies in the package list? [00:14] Robert74, It would help to know what the application you are trying to run is? [00:14] I'm trying to run FreeArc and to install GuitarPro... [00:14] I've tried to install dependencies for FreeArc, here is the output... https://paste.ubuntu.com/p/sNjfFNYB2g/ [00:14] Robert74: i have a feeling we discussed this same topic the other day, am i wrong? [00:14] Oh, really, we did [00:15] so what's different now that you're asking again? [00:15] I dunno, but I feel ashamed a bit [00:16] good, i don't lkike to repeat myself. ;-P but keep asking if you haven't found your answers, yet [00:19] Robert74: for reference, here's our past chat from #xubuntu: https://paste.ubuntu.com/p/Hdtr74YPGQ/ [00:20] yeah... I've heard about Docker but I don't know how it works... I don't know how works snapd as well... but it gives me hope even if I received the answer [00:21] !lxd [00:21] LXD is a tool for more easily managing !lxc containers. https://help.ubuntu.com/lts/serverguide/lxd.html and https://linuxcontainers.org/ [00:21] !lxc [00:21] LXC containers can be used to run isolated Linux systems with less overhead than a VM. https://help.ubuntu.com/lts/serverguide/lxc.html and https://linuxcontainers.org/ [00:22] ^ better than docker IMO [00:22] oh, thank you, I'll check it out [00:22] !snap [00:22] Snaps are containerised software packages similar to flatpaks or appimage. For more info, see https://snapcraft.io [00:35] Can I manually remove an entry from /etc/passwd and /etc/shadow? I have 2 users with the same name, but different ids. I don't see a way to delete a user by uid alone.. Any ideas? REF: https://paste.ee/p/4wkfr [00:37] zzzo, the "vipw" command is for editing /etc/passwd and /etc/shadow safely [00:38] ahh, yeah of course. Thanks, rfm_. [00:40] I have an hp laptop with raytheon wifi hardware and 18.04. i need to replace the wifo drovera. My google-fu has fled. Thus I am asking HLEP M3!! [00:40] Link me or give me search terms. [00:40] Thanks [00:41] what's a "wifo drovera"? [00:42] Googling your HP model and "wifi drivers ubuntu 18.04" is probably a good first bet. [00:42] If you have a common model, someone probably has done the work. [00:42] add "linux OR debian OR ubuntu" [00:43] I think there is a generic iwl-wifi driver that covers a large amount wifi chips. [00:43] But it's worth checking around first. [00:43] do you know the PCI vendor and device id, as printed in suqare brackets by lspci -nn | grep -i net ? [00:43] * square [00:45] tripelb: last time you asked the same question, you didn't respond to replies and requests for further information. will it differ today? [00:46] Is there anyway to fix permissions without clobbering mtime? [00:46] I'm even having issues with MOVING files changing mtime; is that even supposed to happen? :/ [00:46] I think I just need a general way to backup and restore mtimes; is there a way to do such a thing? [00:48] there is tie of last access, time of data change, time of status change. moving files around should not change data [00:48] * tiMe of [00:49] you can manually set the time of data change using touch -t. [00:50] see also touch(1) about -t and --time [00:51] generally, when doing file operations such as copying and moving as the root user you'll prevent changing modification time. but many of those commands also provide options to keep them unmodified. [00:53] tomreyn: I have over a million files to migrate; I need a way to do this en masse [00:54] e.g. cp -p or cp --preserve=timestamps or rsync -t or rsync --times [00:54] The mtime changes sometimes when moving files even when using rsync with the -a option [00:54] which file systems are you moving on / across? [00:55] I can defer moving them for now, but the permissions are effed, and I can't for the life of me figure out how to fix that without nuking the mtimes [00:55] tomreyn: tmpfs, sshfs, zfs, ext3, ext4, and ntfs [00:56] well, the move between which of these introduces the timestamp change? and which commands and options are you using when moving? [00:57] I've tried mv, cp, tar, and rsync; there doesn't seem to be a clear pattern about when mtimes will change and when they won't [00:57] The most urgent issue is the permissions [00:58] okay, name one example command line which caused a permission change [00:58] mv folder /mnt/newdrive/ [00:58] Not permission change, but mtime change [00:59] you just said "The most urgent issue is the permissions" [00:59] I also need to change the permissions without changing mtime [00:59] The program that manages this files cares a LOT about mtimes [01:00] I will probably hit issues with mtime resolution at some point, but for now I just need to change permissions without setting mtime to the current time [01:03] I may just have to run everything as root again, but I was really, really not wanting to do that :/ [01:03] changing permissions means changing the files status timestamp, but not changing the files modification timestamp. [01:04] Maybe I can't change that either [01:04] Or maybe it's that instead of mtime it's using; I don't really know for sure :/ [01:05] make sure you know what you're targetting first of all. [01:06] try experimenting on a file system which supports unix ACLs first of all, such as (by default) /tmp [01:06] Is there a way to set the "files status timestamp" to a specific value? [01:06] i already told you, see above. [01:06] I missed it I think; which command was it? [01:07] touch [01:07] What option of touch? [01:07] is your irc client unable to scroll then? [01:09] tomreyn: I do not see anything but touch -t suggested, nor anything in the manpage saying anything about this [01:12] I think it it ctime I need to preserve. Tho I can't verify this without a way to set ctime to some value and see what happens [01:16] Looks like it is indeed ctime. Well that sucks :/ [01:17] Looks like the only way to change that is to set the system time, which seems insane.. [01:21] CoJaBo, If you are looking to move files around while preserving all their attributes, you should maybe look at rsync. [01:21] not sure why -p same as --preserve=mode,ownership,timestamps would change mtime, or ctime.. [01:21] it wouldn't [01:22] tar, or preserving attributes with option flags generally works. [01:22] it must be something funny like from a fat32 partition or something [01:23] different file system would make sense why the attributes aren't preserved. but I use rsync all the time between a ext4 and fat32 drive. I can preserve them that way... I don't know about mv or cp [01:23] hello? [01:24] hello. [01:24] is there any server related channels ? [01:25] ritchie77, #ubuntu-server ... or ask your question here and perhaps someone might have a more specific channel to direct you towards if they can't answer it here [01:25] tomreyn: i am sorry. I used a phone and aomething distracted me last time. I had the list of commands on a card. As you remember I chocked on the last one. --- I will include my hp model. That may be the missing link. Thanks LaurentDumont [01:26] hey thanks a lot : [01:26] Now I am using an irc client that will do loga [01:26] Logs [01:27] so my question is : i have a little problem during 18.04 installation - its a simple LAMP server with php 7.4 and apache2 [01:27] all is done according to some guides i found online [01:27] idk if i can post urls here [01:27] sure [01:27] but the point is : on my "server laptop" i can reach my localhost by domain [01:28] and by ip [01:28] but i cant reach from my windows mashine by domain (only by ip) [01:28] is there anything i missed ? [01:28] hosts are edited [01:29] !irclogs | tripelb: not striclty needed [01:29] tripelb: not striclty needed: Official channel logs can be found at https://irclogs.ubuntu.com/ . LoCo channels are now logged there too. Meetingology logs at https://ubottu.com/meetingology/logs/ [01:29] static ip is set up (also into the router assigment) [01:30] any advices? [01:30] ritchie77, did you enable the firewall to allow connections to port 80 on your laptop? [01:30] ufw? [01:31] ritchie77 said they could get from windows->server if they used ip, so it can't be firewall [01:32] i can access it by ip [01:32] right, it has to be a resolver issue [01:32] ritchie77, did you edit the host file on the windows box (not that I remember where windows keeps it..._ [01:32] no sir rfm_ [01:32] should i ? :D [01:33] C:\Windows\System32\Drivers\etc\hosts [01:34] pragmaticenigma: It turns out ctime is super low level, and can only be changed with debugfs [01:35] So this is going to suck. A lot :/ [01:35] ritchie77: if you want the http client (on windows) to send http requests which contain the hostname which apache httpd on ubuntu has a "servername" for then you will need to make the OS the http client runs on be able to resolve this same hostname to the ubuntu systems' ip address. [01:37] i dont get the whole situation at this moment [01:38] thank for your answers btw [01:38] im editing hosts on the windows mashine atm [01:38] but i dont even get why its not "autovisible" [01:39] i will not be able to access to this server from my phone "local wifi" for example? [01:39] i dont get how it works. [01:39] depends on how you configured your network(s), we don't really know [01:40] are you guys discord users? [01:40] we are irc users [01:40] oki doki [01:41] so i just followed https://www.youtube.com/watch?v=TrLAx27Npns [01:42] and i stopper on php install . : thats enought for me [01:42] apache+mysql+php7.4 [01:44] my conf : [01:44] ServerName www.bitchie.com ServerAdmin admin@bitchie.com DocumentRoot /var/www/bitchie ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined# vim: syntax=apache ts=4 sw=4 sts=4 sr noet [01:44] my hosts : [01:44] 127.0.0.1 localhost192.168.1.77 bitchie.com127.0.1.1 homelan# The following lines are desirable for IPv6 capable hosts::1 ip6-localhost ip6-loopbackfe00::0 ip6-localnetff00::0 ip6-mcastprefixff02::1 ip6-allnodesff02::2 ip6-allrouters [01:45] my server has a static ip pointing to 192.168.1.77 [01:45] and i have this rule set up on my router [01:46] im getting creazy bois , i swear [01:49] !paste | ritchie77 [01:49] ritchie77: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [01:49] oh sorry === Leion1 is now known as Leion [01:50] https://paste.ubuntu.com/p/wKBqrkgFG9/ [01:51] https://paste.ubuntu.com/p/4MgMvFvSMk/ [01:55] so , nothing to do here [01:55] thnx for an effort bois [01:56] patience ritchie77 === zbenjamin_ is now known as zbenjamin [02:23] hi [02:23] how do i find the name of the pkg that installed ssh file [02:26] roliacole: dpkg -S /path/to/file [03:25] I downloaded & installed the latest Ubuntu Desktop 19.10, what is it called? [03:25] I had Lubuntu Latest but wanted the full functionality of the 'real' Ubuntu but I am having some sound oddities. [03:33] ducasse: thx but i can't ssh because server on pc has ufw installed blocking connections [03:33] is there a guide for ssh over lan on ufw doing bad things to block [03:33] ufw unblock port 22 what's the command [03:43] What can go wrong if I just installed only one package (libgmp3c2:i386) from the package list of Ubuntu 12.04? [03:43] What might be the worst thing? [03:50] mixing packages from different releases (especially !EOL ones) is not supported here. some reasons: high probability of package dependency conflicts (i.e. broken apt), introducing security vulnerabilities. [03:52] if you're lucky, "it doesn't work", if you're less lucky, "it works" and you get motivated to continue using it. [03:52] If apt didn't show any errors and everything works fine (even FreeArc works at last because of libgmp3c2:i386) then... does it mean I might suffer ONLY from security vulnerabilities? [03:56] Robert74, it's hard to know what can happen. Most notibly is that if the 12.04 server your using is shut down, apt will likely encounter issues. When you're leveraging an end-of-life server, you're not only unable to receive support here, but you are at risk for an instable system. [03:56] Robert74, What is FreeArc... because the references that I see for it refer to a file compression tool. [03:56] It is a file compression tool. [03:57] why are you trying to instal it from 12.04 server? [03:57] Robert74, What purpose do you need it for? [03:57] because it was not present on the present-day package lists [03:58] It is considered the best compression tool nowadays that is why I needed it [03:59] Robert74, There is a reason for that... it's no longer maintained or developed. So it is not considered the best compression tool. That would be your own opinion. [04:00] no, there are some researchs, like here: maximumcompression.com; the authors of this site compared lots of compression tools, so... FreeArc performed better than WinRAR, for example. [04:01] Robert74, That site was last updated in 2011... almost a decade ago [04:01] oh [04:04] anyway... I tried it on my own, I compared it packing my project (2,79 GB) and *.ZIP was 2,47 GB, *.7Z was 1,86 GB, but *.ARC was 0,98 and it had been packed two times faster than 7zip... [04:08] Robert74, Understand that from here on in, you've been told it's not supported, and continuing to run it is at your own risk. Also, based on the project home page several issues exist with FreeArc that will remain unresolved. Including memory heap overflows, a serious memory leak, and an off-by-one error leading to data corruption. [04:09] Robert74, I would encourage you to consider doing some new research and find a tool that meets your needs better. If only because the performance of more contemporary compressors can make use of the multithreaded/multiprocessor environments of newer CPUs. [04:30] any scenarios where I can't expand system partition? I've booted from USB and I can see unallocated space but I can't expand system partition anyways. [04:32] parakovsky_: What file system partitioning? One can not mess with an "extended" partition until its logical partions are deleted. [04:33] Bashing-om: ext4 [04:34] Bashing-om: it's just that google said that it's possible to extend system partition but apparently it's not always the case [04:34] Bashing-om: file system partition is the one Ubuntu installed on for example [04:34] parakovsky_: Show in a paste bin site ' sudo parted -l ' so we see what you are working with. [04:35] Bashing-om: https://0bin.net/paste/Wsn7uD-gpMkHW3+G#NOfKGodlhD2eM9yG9rk3AknheHkRuGrVKAXs1P7P1xs [04:35] I don't think that "system partition" is a thing though. You should be able to change most partitions sizes. [04:35] I am interested in expanding from 120 GB drive. [04:35] It's the one system installed at [04:36] Currently Ubuntu occupies only half of it [04:36] The rest is unallocated [04:36] Your Grub is 60GB? [04:36] No it's not [04:36] it's 1 mb [04:36] Ah, I see. [04:37] I'm not too sure in that case. You have your swap taking the beginning of your drive, then free space between the swap and the grub [04:37] yeah I think that's that [04:37] what can I do about it? [04:39] I'm not familiar enough with disk operations of that kind from the CMD line. [04:40] But Gparted from a live CD should let you move the partitions around [04:40] So that way you could have your grub, swap, and extend the / from the rest. [04:40] It's not I've tried. [04:42] In that case, sorry I'm not too sure myself. [04:42] If Gparted can't, maybe CLI could? [04:42] But that's probably what gparted does in the background so I'm a bit surprised. [04:49] parakovsky_: i would also expect gparted to be able to handle this. you'd need to move the bios_grub partition (sda2) to the start of the unallocated space (after partition 1) first, then resize the ext4 partition (sda3) to maximum size (towards the front). [04:55] parakovsky_: if i had to do so on a temrinal i'd probably remove partition2 (the bios-grub partition) and re-create it with the same size right after the swap partition, then re-run grub.install /dev/sda. then boot the system from a live iso and delete partition 3 on what used to be sda. and recreate it as starting from behind the bios_grub one, then resize the file system on it. but i'm not sure the last step would really work since i'm not [04:55] sure it would still find the file system. all of this needs to be done while none of these file systems are mounted. [04:55] ...and only after ensuring your backups are complete and recent and restorable. [04:59] that's too hard [05:00] so the problem is the sequence, ok I got it. [05:38] anyone ever use AutoKey AutoKey-gtk? When I setup a key it just freezes my keyboard [05:41] Re vlc in 18.04 o puy on a library disc.. open disc and I get a chose_ language screen and there is not more. Any ideas? [06:01] hello! I what I hope is a simple question. "resolv.conf" for ubuntu (I'm running 18.04); where should it be located? I have an NXDOMAIN error I googled, and I'm reading a number of answers that indicate /etc/resolv.conf should be a symlink (but it isn't), and that it should symlink to /run/systemd/resolve/resolv.conf; then others said DO NOT do that, it bypasses the kernel checking of domains...... [06:04] ... kernel checking of domains? since when does the kernel act as a DNS server? [06:04] well, using resolv [06:05] ryuo, heres the q&a that got me looking and wondering, and even moreso, why on earth do I have 3 resolv.conf's that were all edited today (*not by me*): https://askubuntu.com/questions/1058750/new-alert-keeps-showing-up-server-returned-error-nxdomain-mitigating-potential [06:05] ive been having bluetooth problems, now I have a new pair of headphones (so I know they work) that I'm unable to connect to my ubuntu machine, but I know it works (via other devices). lsusb gives me `Broadcom Corp. BCM20702A0 Bluetooth 4.0` . Do I need additional drivers to get this working correctly? Ubuntu 19.10 [06:06] nothing in dmesg though [06:07] the accepted answer, has a comment stating its not the right answer, and then another poster noted not to make the change, (hermann klein's post), which is what got me wondering.... why I have more than one "active" resolv.conf [06:09] read systemd-resolved(8). [06:11] Can someone help me try and get my wifi working on my laptop? Fresh install. I tried dropping a driver file in /lib/firmware and rebooting but it didn't work. Currently using an external wifi module [06:14] jayjo: if you'd like to inspect this from a temrinal (so as to get proper warnings / error messages), you may want to use the hcitool and hciconfig commands (package "bluez") as well as the bt-device and bt-audio commands (package "bluez-tools") [06:14] i'm afraid that's pretty much all i know about bluetooth. [06:14] tomreyn,ryuo, http://paste.ubuntu.com/p/d6C9HNwTSd/ ... understood, but why would they all be edited at different times all today? [06:15] amazoniantoad: identify the PCI ID first of all. lspci -knn | grep -EA3 '(Network|Ethernet) controller' | nc termbin.com 9999 [06:15] thats what raised an eye and got me wondering. Maybe via apt-get update / upgrade etc it touched them. I'll have to look again on a reboot. [06:16] tomreyn, https://termbin.com/nekmw [06:18] FaTaL_G: you have or had installed the "resolvconf" package, i guess, mabye this added to it. [06:19] amazoniantoad: which ubuntu versio is this? lsb_release -ds [06:19] thanks tomreyn. It makes sense [06:20] tomreyn, Ubuntu 18.04.3 LTS [06:22] amazoniantoad: so you run the HWE kernel, i.e. unamr -r reports somethign about 5.0.0-37? [06:22] Hi guys! I have a question is anyone is available. Cheers [06:22] * uname -r [06:23] tomreyn, yes [06:24] amazoniantoad: can you sudo apt update && sudo apt install linux-generic-hwe-18.04-edge && sudo update-pciids and reboot? [06:24] I am trying to setup a remote desktop solution on Ubuntu Desktop 18.04 LTS, I have tried Gnome's inbuilt VNC option with no success, I have also tried TigerVNC again with no success. I plan to connect using RealVNC on Android, and do this via SSH port forwarding. I am seeking any advice on good solutions on how to setup a remote desktop to phone [06:24] solution. Also, the use of VNC is not necessary, it is the first thing that came to mind, and I am open to other options. [06:25] tomreyn, I'll reboot when this gets done installing and come back and contact you [06:25] amazoniantoad: this would get you kernel 5.3 (5.1 is needed for the Intel "Killer" Wifi), and update your PCI device ionformation (just for convenience) [06:25] Oh I see [06:25] So my kernel was too old [06:26] The problem I faced using Gnome's inbuilt VNC is when connecting from the RealVNC app an error prompt along the lines of authentication option unavailable. In the case of TigerVNC, any remote connections caused the systemd service to crash. [06:27] tomreyn, rebooting now [06:28] I am keen to setup a solution which starts a boot and doesn't require any intervention on the server PC for a client to connect. Any advice would be appreciated! [06:28] tomreyn, it's working now, thanks [06:31] amazoniantoad: very well, you're welcome. this must be a rather new computer, so you may want to go over the warnings and errors reported by journalctl -b -p3 [06:32] tomreyn, I think my question just got trickier. Granted, this system used to be 14, 16, etc. Its not a "clean install of 18" I built it as a router. so I have indeed installed resolvconf, but reading these posts, it says resolvconf is only needed/used for "older" setups and newer Ubuntu uses stub-resolv.conf..... Can you direct me to any explanation on the need for one over the other? === infinity-elf is now known as mrinfinity [06:33] Orcs53: vnc would be the default solution, i'd say, but i haven't done it on 18.04 myself, especially not with this epcific android client. another option would be to give x2go a try. [06:34] Im just trying to ensure it doesn't have a dependency to networkmanager (since I dont use it)... I'll keep googling [06:37] tomreyn, Thanks for your response. I agree, VNC is the ideal solution for me, due to the abundance of cross-platform clients. But, as noted, I am having issues getting a solution working. [06:37] FaTaL_G: i couldn't point you to such a writeup, but i would also suggest not to use resolvconf but to use systemd-networkd, i.e. have the symlink at /etc/resolv.conf point to ../run/systemd/resolve/stub-resolv.conf and optionally use netplan for network confguration (rendering the systemd-networkd configuration) [06:40] Orcs53: There are cross platform client and server implementations for VNC (as there are for x2go). the difficulties you may face with vnc are usually around requring a password prompt (not all implementations support it, and you may not actually need it on the server side if you have a single human user on this computer and are connecting through SSH anyways, allowing VNC access to localhost only. [06:41] different VNC (RFB) protocol versions can also pose problems. [06:43] i'm not sure this is relevant to you, so take it as an example: last time i needed to connect from a windows system to ubuntu running vino, i needed to disable the password prompt on the vino server (using "vino-preferences") and needed to use tighvnc-viewer on the windows system. [06:43] this is years ago, though [06:45] tomreyn, I'll give it a whack.... I do use BIND, so this wiki seems to imply BIND needs resolvconf (although this is talking about openresolv 'subscribers') [06:45] Im not using netplan or network manager, just interfaces, bind, hostapd [06:46] Orcs53: asctually that's wrong, what I needed to do was to actually set a password, since the tightvnc client would not be able to handle the "New connections must ask for access" login variant. [06:47] FaTaL_G: you run bind on the computer itself? [06:48] yes [06:48] FaTaL_G: as a cache or authoritative? [06:50] tomreyn, to intercept blacklisted names just to /dev/null known ad sites and bad hosts [06:51] ok, does it cache recursive lookups, though? [06:51] for the clients. Thus, the primary DNS. I dont want the clients to use external dns (like ISP or whatever) [06:52] tomreyn, I'd have to say no. ugh, that would get ugly (data size and staleness wise)... I didn't set it up to cache [06:54] tomreyn, so my clients (with default ipv4 setup and gettng "dhcp" addresses from the router, get a dns address of 192.168.1.1 (which is the router... ubuntu) [06:54] so then you *may* want to continue to use a local (dns client) cache. and have systemd-resolve query the local bind instance through that cache. [06:54] so that machine is pretending to be authoritive (but its looking up all requests) [06:56] you may want it to do caching in this scenario from a privacy point of view. [06:56] good point [06:56] ugh... data [06:58] another option would be to look into these modern resolver options, DoH, DoT and dnscrypt. [07:00] +dnssec [07:14] tomreyn, indeed. Yea, there's going to be a overhead hit... but hey... my i5 router with e1000 cards can handle it over the $400 arm linksys/netgear/2005-era procs :D [07:17] of course it is NOT an #ubuntu question to answer (but if anyone has an opinion to share), I'll need to of course trust the dns provider (do I use verizon, google, free, or paid!) [07:20] if you run a real cache yourself it'll talk to the authoritative NS itself, and should be able to talk to them via DNSSEC (most of the time) which means you don't need to trust intermediaries so much. if you prefer to just run a forwarding proxy you can pick whomever you trust the most. there are some lists of open and non censoring and (claiming to be) privacy friendly public dns caches out there. [07:21] of the big ones, i think quad9 and cloudflare state they don't keep / share your data. [07:23] cool. I'll look into itsome tomorrow. I'll reboot tonight and ensure the resolv is at least behaving ;) thanks for the guidance [07:24] still trying to fix that issue where I have to ifup after a reboot sometimes and thats been the case for a few years now. hahaha. I'll get there. [07:24] good luck, you're welcome. maybe look for more specific channels for more optinion (!alis may help) [07:24] kk [07:24] !alias [07:25] !alis [07:25] Alis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http" [07:26] lol, tired..... [07:37] https://packages.ubuntu.com/focal/all/sidedoor/filelist shows /etc/sidedoor/config but I don't see that. I may have deleted it. how do I re-install so that it puts it in place? [07:39] sudo apt reinstall sidedoor - did stuff, but no config file [07:42] purge.. install, now it is there. good. [08:00] Ok, I think I have found the issue that is stopping from connecting from the VNC Android app, apparently the Gnome Screen Sharing program (i.e. Vino) has encryption enabled by default, which is unsupported by many clients. I have read that setting "gsettings set org.gnome.Vino require-encryption" to "false" will allow connections. I have set this [08:00] setting to "false", but it is not persistent, any ideas on how to make this change persistent through restarts? [08:01] Orcs53: did you find the setting in dconf-editor? [08:02] lotuspsychje, I have been setting it via the command line, and haven't tried dconf-editor yet? Should I try it? Is changes in dconf editor persistent? [08:03] Orcs53: i think you should try yeah [08:04] Is there anyway to set it using dconf on the command line? Or, must you use the editor? [08:06] Orcs53: the way you described before is the cli way, gsettings set.. [08:24] OerHeks: ur around? === dionysus70 is now known as dionysus69 [08:26] ws2k3: is it going to be about 14.04? [08:26] lotuspsychje: hmm let me think about this realy hard. but since you ask it. no :D [08:26] just ask your question into the channel then [08:27] i think ctrl is mappen to the windows key or vice versa. but how can i check if that is the case [08:28] lotuspsychje: 18.04.03 without kidding :D:D [08:29] ws2k3: "xmodmap -pke" [08:29] or type "xev" in a terminal and see what it says when you press the buttons [08:38] EriC^^: what exacly should i be looking for? [08:41] EriC^^: cause currently super + c does cansel stuff. but ctrl + c does not cansel stuff. so im not quite sure what going on now [08:48] ws2k3: [08:48] ws2k3: xmodmap -pke | grep " 37" [08:49] EriC^^: keycode 37 = Super_L NoSymbol Super_L [08:54] ws2k3: ah it seems ctrl is set to super [08:55] ws2k3: to confirm, type "xev" in a terminal, then hold ctrl, it should say keycode xxxx (Super_L) or ctrl_l [08:56] keycode is like the physical button id, and super_l or ctrl_l is what it's binded to [08:56] EriC^^: it seems super is mappen to ctrl and ctrl is mapped to super [08:57] EriC^^: any way to reset this? [08:57] ws2k3: it used to be xmodmap before but it's deprecated, the new tool/method is xkb i think [08:57] xkbcomp and setxkbmap, yes [08:58] for xmodmap it used to be like xmodmap -e "keycode 37=Ctrl_L" [08:58] you can still use xmodmap, but if anything calls an xkb tool your changes will be reset [08:59] I added an smb share to the fstab but it never seems to use the credentials I have specified. [09:12] any suggestions? I made sure the credentials file is owned by root and has 600 for permissions [09:15] ws2k3: https://askubuntu.com/questions/254424/how-can-i-change-what-keys-on-my-keyboard-do-how-can-i-create-custom-keyboard/706210#706210 [09:15] ws2k3: basically add "key { [ Control_L ] };" to the mappings, sudo rm -rf /var/lib/xkb/*, then restart x session [09:16] same for super button [09:16] key { [ Super_L ] }; [09:18] mappings file is /usr/share/X11/xkb/symbols/pc , i think you want to put it at the bottom of the list to override the earlier ones [09:18] ws2k3: ^ [09:26] Hi guys! For anyone whom can help me with Ubuntu and VNC. After posting a few questions here I've had some success with Gnome Screen Sharing (i.e. Vino), and managed to disable the encryption (which stops most clients from connecting) using dconf-editor as suggested. I've found that Screen Sharing isn't the solution I am looking for. As, I'd like [09:26] VNC to start at boot time, and for new connections to a desktop environment that is different to the environment on the host computers monitor. I have TigerVNC installed, and I believe this can do what I want. But, I've had some issues getting the TigerVNC working. Can anyone provide advice on getting TigerVNC working on Ubuntu 18.04 LTS? [09:26] if anyone with a suggestion to my above problem send me a pm as I gotta get some sleep === dionysus70 is now known as dionysus69 [09:42] do you know any calendar app that does not look like something designed in 80s? [09:55] akkonrad: you mean something that screws you over by showing 8 or 9 days on a row (or any number that isn't equal to the number of days in a week)? [10:00] EriC^^: im a bit confused how i should setup my keymapping. im used to work on mac. so i want to use super +c and super + v for copy and paste in ubuntu. but ctrl should still be ctrl cause i need ctrl + c to cansel tasks in terminal [10:02] ws2k3: ok, then add "key { [ Control_L ] };" to the end of the keys in the file /usr/share/X11/xkb/symbols/pc [10:02] also same for right super if you want it too, RWIN and Control_R [10:03] that will take you back to how you started out [10:05] ws2k3: ducasse right, also make sure that "key { [ Control_L ] };" is also there so ctrl is still mapped to control, same for right control RCTL Control_L [10:06] then you lose super entirely [10:09] freakynl, no, I men something that looks more like google calendar, not like microsoft word 97 [10:10] I used gnome calendar which I find very nice, but just wondering if you know anything that looks nicer [10:10] akkonrad: apt-cache search calendar, try a few, live dangerous [10:17] akkonrad: I use the calendar (in the digital clock) from KDE, but only to see what day it is, how many days till a certain date, weeknumbers etc. My appointments all go into google calendar (private) or outlook web access (business). Without knowing what you're looking for it's really hard to advise something. You share nothing about required functionality. [10:18] also note that looks usually aren't a high priority on linux, being functional comes first [10:19] sorry freakynl, I'm looking for something to integrate with all my google accounts (I have few of them) and to see my week/day details [13:13] what a good midi to abc or xml conversion? can't find anything in software store and this link ---> http://abcnotation.com/software#linux the website are dated and I am have trouble installing the files, not sure if it's the linux file or not, wanted to install EasyABC [13:34] hi all [13:34] I'm a little confused, 18.04 comes with systemd-resolvd which caches DNS records, but does NetworkManager also run a dnsmasq? [13:35] i vaguely recall networkmanager runnig a light version of dnsmasq for caching [13:43] quazimodo, afair, NM uses dnsmasq-base (not dnsmasq) for DHCP services and this has no interference with systemd-resolved [13:46] ioria: networkmanager needs dnsqmasq-base in order to communicate with the networks DHCP server ? [13:47] when when sharing an internet connection, yes [13:48] do you mean when setting my ubuntu machine to be a gateway/nat ? [13:59] i disconnected :/ [14:00] separately, systemd-resolvd simply caches DNS results, so if we point our /etc/resolv.conf to 127.0.0.53 then it should query the local dns, which then may have a cache miss. How does NetworkManager tell systemd-resolvd what name servers to use? [14:02] basically all's well when I turn on expressvpn, which points resolv.conf to it's own DNS, but when I turn off expressvpn then I can't get any dns resolution at all [14:20] Hiyas all [14:36] hi [14:36] is this the fedora irc? [14:41] Lol no [15:03] hello [15:05] welcome ru^2 [15:11] sorry for my english, but i have trouble with my laptop trying to install linux on it (the same thing happend with all distributions) : the hard drive wich is a pci express drive is completely invisible.. the devices begin with sda wich is the usb live. [15:12] ru^2: did you try changing the mode of the hdd in the bios? raid to ahci etc [15:13] ok [15:13] no [15:14] i try [15:19] i have ahci and "Intel RST Premium With intel optane system acceleration", i switch to ahci, now it show an encrypted volume and many paritions , thanks [15:20] ru^2: great! no problem [15:20] i'm wondering do you know if there is a difference in performance betwin the two modes ? [15:21] no idea, i think ahci is slightly better, not sure though [15:22] ok :) [16:16] Hello! Is this a channel where I can get help with an Ubuntu issue I haven't been able to find an answer for online? [16:16] Linux Mint* [16:18] rndunning people here would probably be able to help but you'd likely get better help from ##linuxmint [16:18] Okay, thank you! [16:18] I shouldn't say better, but more specific [17:18] i'm trying to run a vncserver in the guest-session (16.04). i've added a line that starts the server in /etc/guest-session/auto.sh but doesn't appear to be working. where can I find the guest-session logsfor this? [17:19] *run a vncserver on login [17:19] I have another line in there that launches kodi and that's working [17:46] hi [17:46] ubuntu splits headers and docs in which files [17:49] roliacole: it will depend on the (source) package, but usually there will be a -dev version for it. Docs are usually included with the bin package [17:51] where are docs stored [17:53] roliacole: it will really depend on the package. What are you looking for? [17:53] (I am discarding /usr/share/doc/ for the moment) [17:54] if i run rsync on a dir and then run it again, does it just scan for whats new or does it run everything again? [17:57] kinghat, thats an option [17:58] you can make it do either [17:59] why is ubuntu packages small when compared to rolling release [17:59] ah the checksum flag [17:59] they say debian based embed the dev , libs, docs in shared way where === SIa_ is now known as SIa [18:22] roliacole: development files are never largely not packaged with the shared libraries. [18:26] ryuo: but arch too has shared libs [18:27] roliacole: yes, but headers and static libraries do not have to be in the same package. [18:27] roliacole: i don't see why this is so hard to understand. ARCH chooses to include them for convenience but Debian/Ubuntu put them in separate packages. [18:28] the reasons for why is largely due to differences in how they build packages. [18:45] I've installed VLC but every time I open the Properties window to set VLC as the default for mp4 files, the Files window crashes out. [18:48] your likely missing ubuntu-restricted-extras [18:48] It doesn't let me click anything. 1: Navigate to mp4 file. 2: Right click > Properties. 3: Properties window shows for a moment, then crashes without user interaction [18:48] I've already installed it [18:49] I can view MP4 files on Imgur (INstalling restricted extras was necessary got that [18:50] got -> for [18:51] i guess rsync is supposed to only copy new or changed files by default [18:54] i believe so --help is your friend [18:56] Solution was to restart machine. [18:56] Proooooobably should have tried that first [18:56] why does ubuntu 's server always work... but arch 's don't [18:57] they use a CDN? [18:57] but what about individual mirrors [19:05] dmesg shows [63755.986447] printk: Suspending console(s) (use no_console_suspend to debug) ... how do I use no_console_suspend ? [19:06] or.. how do I turn off suspending ? [19:19] I need to pass this as a kernel param - no_console_suspend=1 - /etc/something grub? [19:33] CarlFK: Yep, /etc/default/grub file, add to the line which has GRUB_CMDLINE_LINUX= ( with a space after the last option in there, and before the closing quotaion marks), after you save the file run sudo update-grub [19:36] Question, it seems that GVFS isn't mounting samba shares in /run/user/1000/gvfs/ ? [19:37] It seems that nautilus is merely browsing the share, not mounting it [19:37] how can I change this behavior? [19:45] after boot, I see in dmesg: "ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20181213/psargs-330)" how can I determine cause&fix?? [19:48] genii: default. right. thanks. [19:53] good evening. does ubuntu currently support hybrid graphics out of the box/ [20:04] as in duel cards you switch between? not that I am aware [20:05] sixwheeledbeast: exactly [20:07] zutat: quick wiki search points to here https://help.ubuntu.com/community/HybridGraphics https://wiki.ubuntu.com/X/Config/HybridGraphics [20:09] maybe a little outdated [20:11] sixwheeledbeast: my favorite was this one https://wiki.ubuntu.com/X/HybridGraphics [20:11] yer 14.04 [20:12] but yes, it looks like there is no "real" hybrid graphics support yet [20:14] The only multi gpu setup I have heard of has been IOMMU passthrough. [20:16] i'm actually trying to find a nice 15" laptop that is well supported. graphics are the problem [20:21] dell, system76 ? [20:25] sixwheeledbeast: system76 laptops are not something one would really use, quality-wise, and the 15" xps has hybrid graphics [20:31] zutat: Ubuntu, as well as other distros, provide packages that support laptops with hybrid graphics. The stability and realibilty have improved, but there are still issues that come up. There isn't one brand or another that anyone could recommend. This channel is more focused on supporting individuals already running Ubuntu and helping them resolve issues, such as graphics drivers. It's really up to you to find hardware forums [20:31] that are more focused on compatibility between linux and various hardware manufactures. You can try #ubuntu-offtopic or ##hardware to see if people there have familiarity or suggestions on brands to focus on or stay away from. [20:36] ok [20:37] sudo dpkg --list | egrep -i --color 'linux-image|linux-headers' | wc -l shows that i have 72 kernels [20:37] how to get rid of those? apt autoremove doesnt solve that [20:37] zutat: Renovo! [20:38] i dont mean all of those but to keep just the one im running now.. of course [20:40] mattfly, I'm not 100% certain, but I don't think that's how you determine which packages are actually installed [20:40] how to get rid of older kernels [20:41] inside lib/modules i still have 4.14.41-0.....generic [20:41] mattfly: dpkg -l linux\*-generic | grep ^ii [20:42] mattfly, what hggdh just posted will return the packages that are actually in state "installed" [20:43] zutat: https://wiki.archlinux.org/index.php/PRIME this should work on ubuntu just fine [20:45] note how DRI PRIME (for open source drivers) != NVIDIA PRIME (for NVIDIA proprietary drivers and some other driver) [20:49] eh did i miss something [20:49] mattfly: dpkg -l linux\*-generic | grep ^ii [20:50] That will return the packages that are actually installed on your machine [20:50] http://paste.ubuntu.com/p/zbmtSWTG7P/ [20:51] mattfly, do you have extra PPAs installed on your machine? Did you manually install those kernels? What version of Ubuntu are you running? [20:51] 18.04, i might have other ppas but not for installing kernels [20:52] mattfly, You enable HWE or anything? [20:52] no [20:53] apt-mark showauto | grep ^linux- [20:54] your versioned ^linux-(image|headers)-.* packages should all be set to automatically installed if you want the mechanism which automatically removed them to work [20:55] I think autoremove will remove the older kernels. So 'sudo apt -s --purge autoremove' should show kernel packages being selected (the -s will simulate execution, not actually do anything) [20:55] i.e. apt-mark showmanual | grep ^linux- should not list versioned linux image and header packages (other than hwe-$UBUNTU_VERSION) [21:05] Happy holidays everyone! [21:06] Anyone knows where I could find information on apt api? I am looking to create a python package to interact with apt [21:09] GrimSleepless, "apt" is an application, there is no api. Also, if you are planning on creating automation scripts, focus your efforts on "apt-get" as it's more appropriate for automation tasks. Also, for assistance with developement, you might want to check out #ubuntu-app-devel for development topics please [21:10] pragmaticenigma: Thank you, I will ask over there [21:11] there's python-apt* [21:11] or python3-apt* rather [21:13] tomreyn: Thank! I know, I have tried it. The project seems to be using outdated technologies/modules. I am trying to use the module within venv which doesn't work well and make it more complicated than it should be :) [21:16] aptdeaemon is in regular use, and i think the python3 apt bindings are, too, so i don't think it can be outdated. i can't comment on the quality, though. [21:16] GrimSleepless: ^ [21:17] tomreyn, the project pages that I'm able to find haven't been touched in several years. I don't know where the project lives anymore, but all roads lead to the same statement "Unstable" listed on them [21:17] hi [21:17] pragmaticenigma: which project do you mean there? [21:18] i removed nginx files and im trying re install it , but the files doesn't come again [21:18] i used [21:18] apt-get remove nginx && apt-get install nginx [21:18] the files still not back [21:18] nginx folder is deleted permanent [21:21] tomreyn: yeah, our team decided not to use aptdeamon. I am going to keep searching. [21:21] jwk, try "apt-get --reinstall install nginx" [21:22] worked thanks [21:23] GrimSleepless: #ubuntu-app-devel indeed seems like the more appropriate place to me. [21:23] jwk, In the future, make copies of the configuration files before you edit them. And always use apt to remove and install with. It's not a good idea to manually delete things that were installed with the package manager [21:23] GrimSleepless: good luck! [21:24] pragmaticenigma: got another problem now , the nginx file is empty [21:24] the default configs are not there [21:26] jwk: looks like you'Re getting help in #debian with it now? [21:27] also in ##linux [21:28] tomreyn: thanks! :) [21:57] are there any general new feature lists for 20.04 published anywhere? [21:59] when I try to boot into ubuntu, after installing xen, I get the following error: can't find hwmatch. Can anyone help me resolve this? [21:59] !20.04 | k0d3g3ar [21:59] k0d3g3ar: Ubuntu 20.04 (Focal Fossa) will be the 32nd release of Ubuntu, scheduled for April 2020 ( https://wiki.ubuntu.com/FocalFossa/ReleaseSchedule ). It will be a long-term support release. Join #ubuntu+1 for support and questions. [22:01] Hi. I'm in dire need of additional disk space. Anyone here with a good suggestion on finding the stuff that can be deleted? I tried ncdu, but it appear to follow symlinks, and only accounts for 25% of my total usage? [22:02] chucara: how old is the installation? [22:02] ryuo: 18.04 LTS, been running for years [22:03] (And upgraded now and again, naturally) [22:03] chucara: best place to start is removing old kernels. those stay around indefinitely if not explicitly removed. [22:03] try: apt autoremove --purge -y [22:03] that will remove anything the system thinks is safe to remove. [22:03] chucara: This will tel you the largest 20 files on your drive --> du -a / | sort -n -r | head -n 20 [22:03] packge wise [22:04] ryuo: I thought I had it set to auto prune. But sudo dpkg --list | egrep -i --color 'linux-image|linux-headers' | wc -l [22:05] many times those log files can acculate a lot of space on drives [22:05] chucara: sudo apt-get clean [22:05] removing old kernels is just what I'd start with. [22:05] they're generally a waste of space if you're running fine on current one. [22:05] aren;t old kernels rather on a seperate partition? [22:06] chucara: In addition, one can also clean out the cache ' sudo apt clean '. [22:06] they never specified their layout so i don't know. [22:06] ryuo: I already did a clean earlier, it removed 110ish MB. I do still wonder why the above command lists 106 [22:06] the default setup often puts everything on one partition. [22:06] chucara: what command? [22:06] ryuo: sudo dpkg --list | egrep -i --color 'linux-image|linux-headers' | wc -l [22:06] chucara: paste it's output minus the | wc -l [22:07] (in a pastebin) [22:07] i think it puts the /boot in a seperate partition for default [22:07] i like the filelight tool for finding out there the space went [22:07] https://pastebin.com/RPJC7xhk [22:07] only on lvm installs KNERD [22:08] ok [22:08] I can say firsthand that /boot gets full of old kernels :) To the point where apt can't remove anything [22:08] that makes no sense. [22:08] removal should not require extra space. [22:09] ryuo: No, but with 0B free, there is a lot of things that don't exactly work as intended :) [22:09] I'd start with removing some old log files then. [22:09] chucara: can you pastebin "df -h" [22:09] then trying to use apt to remove some of those. [22:10] wow this is the worst i've seen in a long time. [22:10] try using autoremove first. [22:10] chucara: btw those packages in dpkg's output aren't anything to worry about, they're "rc" (package configs) remaining only [22:10] oh. [22:10] EriC^^: Ok thanks, just seemed like a lot [22:10] Can anyone help me with this error? I don't get why I'm getting this hwmatch error. ;_; [22:11] what error amazoniantoad [22:11] Disk space: https://pastebin.com/ZGXF54sw [22:11] chucara: there's still some you can delete [22:11] EriC^^, I installed xen and when I try to boot into it I get this error, "error: cant find hwmatch" [22:11] chucara: ' dpkg -l | awk '/^rc/{print $2}' | xargs sudo dpkg -P ' While there is no built in way to remove all of your configuration information from your removed packages you can remove all configuration data from every removed package. To purge all removed but not yet purged packages, where The state is rc, the package is removed, but the config files are not removed... [22:11] I am able to work around it by just booting directly into ubuntu, but that isn't actually fixing the issue [22:12] chucara: yeah, looks like there is a separate /boot partition, i wonder what's filling up "/" though [22:13] chucara: can you pastebin "du -sh /* | sort -h" might take a while though [22:13] amazoniantoad: which ubuntu version, and show the error message in context [22:13] EriC^^: Yeah, I really need to upgrade the drive soon, but until then I just need to clear down to around 10% so that elasticsearch will work again :D [22:13] *sudo du -sh /* | sort -h chucara [22:13] that is why i mentioend this command--> du -a / | sort -n -r | head -n 20 Which will show the 20 largest files, you can modify to show more [22:14] did du have an option to not go beyond the filesystem? like find has [22:14] -x [22:14] KNERD: It just finished now because it started traversing my mounts on my NAS. :/ All top 20 files are stored there :p [22:14] chucara: check how much is in your Downloads folder. that can also hold a lot of stuff you don't need to keep. [22:14] thanks tomreyn [22:14] tomreyn, Ubuntu 18.04.3 LTS the error message I cannot copy because it shows up only when I try to boot into xen. but the message simply says, "cannot find hwmatch" [22:15] ryuo: This is Ubuntu server that I use headless.. I assume I won't have such a folder then. [22:15] EriC^^: you'Re very welcome ;) [22:15] chucara: type "sudo du -sxh /* | sort -h" [22:15] chucara: I see. [22:15] oh, traversing NAS.? hmmm.. I can you do things like /home or /var [22:15] tomreyn: :) [22:15] KNERD: Not sure I follow you. I meant that it started looking in my mounts, which are of course not local to that machine, and it returned the results from another machine. [22:15] chucara: you can free up maybe a gigabyte if you remove all the remaining kernels that aren't the running one. [22:16] chucara: Instead of du -a /| sort -n -r | head -n 20 , you can do lile -> du -a /var | sort -n -r | head -n 20 or du -a /home| sort -n -r | head -n 20 [22:17] amazoniantoad: i can only find one web page about "cant find hwmatch", none about "cannot find hwmatch" [22:17] amazoniantoad: it seems to be related to grub [22:17] chucara: do you need some advice on how to remove those? [22:17] specifically grub's hwmatch.mod module [22:17] I think logs and tmp folders are pretty big, but I don't know how much I can just delete [22:17] tomreyn, maybe I'm misquoting then. I am recalling the error from last night. [22:18] chucara: /tmp is normally cleaned automatically. [22:18] ryuo: Ok, let me just regroup here. Poor system is running a du and ncdu at the same time.. Might be a little while [22:18] chucara: /home/ and /var tend to be bigest offender areas of disk space. You cna normally delete all the old log files [22:19] amazoniantoad: how are you booting grub? legacy? uefi? maybe switch the booting method [22:19] amazoniantoad: the only package providing this file on 18.04.3 is grub-pc-bin, creating /usr/lib/grub/i386-pc/hwmatch.mod [22:20] chucara, try this first: apt purge -y linux-{image,modules,modules-extra}-4.15.0-62 [22:20] EriC^^, uefi [22:20] perhaps you're running uefi, but booting in legacy and it has a grub there but no i386-pc modules dir [22:20] chucara: ok... [22:20] EriC^^, I see [22:20] amazoniantoad: oh, so same for both xen and barebone? [22:20] ryuo: Hmm ok.. The biggest sinners appear to be docker containers and volumes. Maybe I need to check exactly what those are first. [22:20] chucara: i would remove the extra kernel packages first. what I gave you will get you started. [22:20] (In /var, that is) [22:21] chucara: it's maintenance that you should do anyway from time to time. [22:21] EriC^^, no no I'm not sure what xen is doing. but this computer only allows for uefi. The bios does not support legacy mode [22:21] tomreyn, interesting [22:21] chucara: that'll give you a fair bit of space back. [22:21] chucara: just change the number string at the end to the kernel you're wanting to remove. [22:22] it's what i use for cleaning up old kernels on my server. [22:22] amazoniantoad: i see, try to boot xen explicitly in uefi mode [22:22] EriC^^, how? [22:22] ryuo: He has already shown us a paste where the kernels are in seperate /boot parititon [22:23] KNERD: so? the kernel isn't stored just on /boot. [22:23] part of it resides in /lib [22:23] amazoniantoad: tbh i've never used xen but i think this might help https://wiki.xenproject.org/wiki/Xen_EFI#Booting_Xen_under_EFI_platform [22:23] thanks [22:23] amazoniantoad: it's been a whiole that i used xen, i guess it may be installing grub-pc-bin to bootstrap VMs, not sure. have you considere dusing kvm instead, it seems to be the preferred option for many use cases nowadays. [22:24] tomreyn, i'll look into kvm [22:24] Thanks guys [22:24] ryuo: the compiled kernels are, but not the source [22:24] but true, there could be a symbolic link to his main partition [22:25] KNERD: and the compiled kernel modules are in /lib. removing the unused kernels would free up space on both. [22:25] there are only 3 installed kernels, the rest are merely the leftover configs [22:25] yes, true. thanks for pointing that out [22:26] "ii" at the start means installed, "rc" means it's been removed, but not "purged" so the configs remain [22:26] docker volumes free 2GB, images not that much. That helped a little. Running the scan on /var again. I'm following your discussion on kernel and reading back to figure out what to do :D [22:27] chucara: any output on "sudo du -sxh /* | sort -h" ? [22:28] EriC^^: Lost that in a clear.. Running it again :D [22:28] chucara: Maybe it's time to pull out Clonezilla and use it on a new larger drive? [22:28] amazoniantoad: so after much searching i can now tell you that the original erro message would have been "can't find command hwmatch". *this one* has many search result son the web, which points out the importance on getting the exact error message before you start investigating (or have others investigate) a problem. [22:29] KNERD: I'm about to pull the trigger on a Ryzen. I already have 2x2TB NVMe disk in store, but they don't fit in my aging motherboard [22:30] KNERD: Suffice to say that my usage has outgrown this machine in pretty much every way [22:30] Yeah, I just bought a WD Black edition, and 3500k read and write speed [22:30] I have a /etc/apt/preferences file with permission 600, if I do a aptitude search as non-root user I get a segfault on bionic. Is this a known issue or should I file a bug? [22:30] amazoniantoad: so this can be bug 1840560 [22:30] bug 1840560 in grub2-signed (Ubuntu) ""error: can't find command hwmatch" during grub" [Undecided,Confirmed] https://launchpad.net/bugs/1840560 [22:31] Ok, /var is 80GB, with 40GB in /aufs/diff for docker and 25GB in containers [22:31] Guess I really am close to the ceiling [22:32] !aptitude | rkta [22:32] rkta: Like apt and apt-get, aptitude is a terminal frontend for Ubuntu's package management system. Unlike the others, it is not recommended in Ubuntu because its behavior differs significantly from other Ubuntu package management tools and can cause issues. [22:32] With /8GiB in tmp, 1.5GiB in /logs [22:32] tomreyn: What is the recommended tool for the command line? [22:32] chucara: i would start with removing old kernel packages. those are ones you can afford to lose without problem. [22:33] rkta: apt or apt-get nowadays [22:33] chucara: this should also be safe command to clean up logs: find /var/log -type f -name '*.gz' -delete [22:33] chucara: restarting should clear the 8gb in /tmp [22:34] chucara: it will delete all the archived logs. [22:34] rkta, For package management from the command line, it is recommended that you use apt [22:35] rkta: i would think that setting the preferences fiel to 600 is incorrect, too, though. [22:35] ryuo: Apologies for my ignorance, but is there a difference between kernel images and packages? (I've already understood that there is also 'configs') [22:36] tomreyn: That maybe, but segfaulting is always incorrect [22:36] chucara: every package potentially has configuration data that is saved for if the package is later reinstalled. [22:36] apt doesn't crash btw [22:36] chucara: but a 'purge' will remove that as well. it's a complete removal of the packag.e [22:36] rkta: i agree. you could file a bug against aptitude on this if there's none, yet [22:36] chucara: Using command "sudo find /tmp -type f -atime +10 -delete" will clean up the /tmp for anything older than 10 days. [22:37] I fyou want to clean that up [22:37] ryuo: Ok, but if I run "apt-mark showauto 'linux-image-.*'" and only see three images, are we will talking about the same? [22:38] chucara: i've never used that command, so I don't know. I was going off your previous dpkg list. [22:39] ryuo: Ok - they more or less show the same thing now. 4.15.9-62, 70, 72 [22:40] ryuo 4.15.0 of course [22:40] so try this: apt purge -y linux-{image,modules,modules-extra}-4.15.0-62 [22:40] first [22:40] hold on.. [22:40] ryuo: But 62 is my current version [22:40] what now? [22:40] chucara: it is? seriously? i was expecting you to be on 72 not 62. [22:40] chucara: if you want to clean up that dpkg list, run dpkg -l | awk '$1 == "rc" && $2 ~ /linux/ {print $2}' | sudo xargs apt-get purge -y [22:41] chucara: check what uname says [22:41] chucara: uname -a [22:41] i mean [22:41] ryuo: My current dkpg list: https://pastebin.com/8Nq2xwKK [22:42] chucara: so what version does uname say? [22:42] ryuo: Linux ubuntu 4.15.0-62-generic #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux [22:42] let me guess. you haven't rebooted in a long time. [22:42] your system should be running -72 if you have. [22:42] ryuo: I only reboot for power outages :D [22:42] well no wonder... [22:43] it's a good idea to reboot before going much further. [22:43] ryuo: It's a server... 107 days uptime [22:43] yeah, a lot of file cleanup is done during rebootsd [22:43] so? i reboot mine at least once a month. [22:43] it helps ensure security updates get applied. [22:44] particularly kernel ones [22:45] Hohum.. I didn't actually think that was necessary on ubuntu. [22:45] well. most system updates will try to tell you a reboot is now required. [22:46] if one does require it. [22:46] Though. I must admit I haven't really done it on my windows server either :) [22:46] not as much if you use canonical livepatch [22:46] particularly when you login. [22:46] ...or a similar live kernel patching service. but if you don't you should plan regular reboots. [22:47] at least once a month given how often kernel updates can be. [22:47] Well.. Today I learned :D [22:47] that should mostly solve your space issue... [22:47] after reboot you can remove the 2 older kernel packages and clean up logs [22:47] (and even if you do live kernel patching you still want to plan for regular reboots) [22:48] It's just a hobby server, it's not mission critical. Biggest problem is remembering to do so [22:49] if it's got internet access then its critical that you handle it responsibly, so it doesn't get compromised and doesn't run ddos attacks against others- [22:50] It is open on port 443 indeed [22:51] Problem is a extremely rarely interact directly with the machine [22:51] ^I [22:52] you can even automatie those reboots, look at the unattended-upgrades package [22:53] Hmm. "Failed deactivating swap /dev/mappter/ubuntu--vg-swap_1" It's been shutting down for 8 mins now [22:53] tomreyn: Good point, I will look into that [22:58] Ok, let's like a mission accomplished. Thanks a lot for the help guys. Both in terms of disk space and upgrade advice :D [22:58] ^looks [23:01] I assume this is good starting point for me assuming I want to avoid breaking changes: https://help.ubuntu.com/18.04/serverguide/automatic-updates.html [23:01] chucara: you're welcome. if you prefer manual reboots, however, "needrestart" and "apt-listchanges" can help [23:02] the manual you found explains how to automate installation of updates, but not reboots. [23:03] tomreyn: Naah. As long as I can schedule it at night. The most important thing I have running is my smarthome system. If I have 95% confidence that it will come up again in less than 10 minutes, I'm good. [23:05] I recall years ago, I had Windows 2000 Server running with MS SQL server . While I used it only for local stuff, it still had internet access and it caught that MS SQL Server malware floating around somehow [23:05] tomreyn: Is there a smarter way to do the reboots than a cronjob with reboot 0 ? [23:05] chucara: did you look at the unattended-upgrades configuration file, yet? [23:06] KNERD: Really, I have no excuse not to patch my system. I'm just a lot more interested in the software development side of things and operations :D [23:07] chucara: yeah, that is what I was doing with all that, then I got a notice from my local ISP about complaints at my IP address [23:08] tomreyn: This one? https://help.ubuntu.com/community/AutomaticSecurityUpdates [23:08] hey all [23:08] KNERD: Windows Server 2016 is a lot more naggy, but again. I hardly ever remote desktop in, so it doesn't help much [23:09] chucara: this is a web page which is part of the ubuntu help pages (generated by a wiki software) [23:11] bug #1849257 Firefox audio not playing via bluetooth [23:11] bug 1849257 in firefox (Ubuntu) "Firefox audio not playing via bluetooth" [Undecided,Fix released] https://launchpad.net/bugs/1849257 [23:11] tomreyn: Ah *file*, sorry. No, I'm just patching a few systems now that you struck my guilty conscience :) [23:12] OerHeks: only affects Firefox is a good thing [23:13] chucara: i'm glad i prompted this action. about the configuration file - it enables you to trigger the reboot after upgrades at a given time of day. [23:14] jeremy31, bug fixed itself [23:14] those are the best ones [23:15] tomreyn: See the problem is that I need to remember all these things for when I get a new server. I really need to script this somewhere I can just run again [23:15] OerHeks: weird things happen with bluetooth, the BT audio is even stranger [23:16] I have a smb mount in fstab but it's not using the credentials file I provided. Can someone help me diagnose this? [23:16] chucara: maybe you need to keep some documentation for yourself, or want to look into configuration deployment (ansible, puppet, salt, etc.). [23:17] hello [23:18] I made some mistakes and now I cannot login to my system [23:19] hi sondre. i assume you have some more details? [23:19] I installed rocm-dkms makeing errors to the point I cannot login *blank screen [23:19] I-m now in a root shell in recovery mode and I believe I removed everthing [23:20] rocm rock-dkms amdgpu etc.. [23:20] what can I do to install the ubuntu driver for rx580 [23:20] and log in again_ [23:20] there's no "rocm-dkms" package on ubuntu that i can find [23:20] no, there-s not [23:21] added a source to the apt list a while ago [23:21] AMD Radeon RX580 is supported by Ubuntu 18.04 and later out of the box. [23:21] now I messed things up manually [23:21] tomreyn rebooting doesn-t solve the issue [23:21] tomreyn: Ok, now fully patch. Didn't do much for diskspace, but I'm at 9% now which is close enough. Shouldn't I try to follow the tutorial in the link? [23:22] what can I check to understad better_ [23:22] !ppa-purge [23:22] To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:/ » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html [23:22] sondre: journalctl -b shows your system log. to get support with the 3rd party software you installed, head over to their support channel, if any. [23:22] tomreyn dmesg reports and amdgpu error vgacon disables amdgpu kernle modsetting [23:23] if you would like to reinstall we ca help, too. [23:23] [drm:amdgpu_init [amdgpu]] *ERROR* VGACON disables amdgpu kernel modsetting [23:24] tomreyn I actually would love not to make a new installation [23:25] sondre: that's best prevented by not using unsupported software. [23:25] I-ve started testing those on KVM vms but this time I was too superficial [23:27] chucara: the wiki page is a good start, but following it wont reboot the system. which is why i'm suggesting you take a closer look at the unattended-upgrades configuration file. it's not too long. [23:27] tomreyn there anything I can do to make sure the card uses the ubuntu driver? [23:29] sondre: i could tell you if you were running a supported system, to get support with the 3rd party software you installed, head over to their support channel, if any. [23:29] I removed all the packages [23:30] from third party [23:31] you can always reinstall...it only takes 8 minutes or so [23:31] it-s not the reinstall part that takes time.. [23:31] try not to make the same mistakes the second, third , forth time around [23:32] if I boot in recovery mode the check dkpg command doesn-t find anything wrong [23:33] and the system is updated [23:33] lspci finds the card [23:37] any suggestions as where to check to try to solve the issue? [23:37] if you were keeping notes or a diary of sorts of system changes..you'd know which action(s) you took that "screwed the pooch" and you could avoid doing that in the future...if you weren't taking notes or anything you'll probably be in the same or similar boat again in the near future [23:38] tatertots I have notes.. Installed packages from two non ubuntu sources, messed up the system, removed those packages, apt and dkpg are now ok, booting I have a blank screen after the password to uncrypt and mount the filesystem === PowaBanga_ is now known as PowaBanga [23:39] I have access to the system via root shell in recovery mode and I-d like to understand how *(if) I can recover [23:40] do you have connectivity? can you ping google.com from recovery? [23:40] yes [23:41] would you like to share your logs so you can get suggestions [23:42] yes [23:42] sudo apt install sosreport inxi [23:42] when done ..just say so [23:43] done [23:43] inxi -Fxxprzc0|nc termbin.com 9999 [23:43] share url/link here [23:43] if you do not get a url/link...say so [23:44] https://termbin.com/wulg [23:44] but looing at this information I can-t find nything strange [23:45] sudo sosreport [23:45] your first name=son lastname=dre [23:45] press enter repeatedly until it starts [23:45] a part from the n/a in the driver for the card [23:45] let me know when done [23:46] you're not done...focus [23:50] I-m looking at the archive.. a lot of information to send.. [23:51] you'd need a removable media / flash drive to copy it to if you wanted to proceed [23:51] if not you can continue looking [23:51] what kind of possible sensitive data could be in it? [23:52] you encrypted your system right?...so nothing to worry about === Snetry is now known as Sentry [23:53] I have the report in this system now [23:54] the compressed tar..or something you extracted [23:54] the tar.xz [23:55] upload to https://filebin.net and share url/link here [23:57] Are there any guides to building the OS yourself? [23:57] i am not finding anything [23:59] not an ubuntu support issue, KNERD [23:59] hi guys, are there any good parental control apps shipping with ubuntu? [23:59] tatertots do you mind if I send you the url? [23:59] OerHeks: Well, I am lookingf for support to build it :-)