[00:00] davr0s: There is no way to return to a previous version. Support for focal fossa is only available in #ubuntu+1 until it's officially released [00:00] yeah i was surprised to see it just choose to upggrade me to focal fossa [00:00] i just clicked yes to updates [00:00] davr0s: What did you type in? [00:01] it said something about a partial update being available [00:01] on another note i know how to install from a startup usb stick.. can i install an image directly to a second drive from my current environment [00:02] davr0s: Have you ever followed someone's instructions in the past to install a new release of Ubuntu before it was actually released? === Guest37831 is now known as gabeio [00:02] no [00:03] i didn't conciously seek "focal fossa" [00:03] i just wanted to run a regular update. [00:03] i ended up with focal fossa [00:03] save your data and reinstall [00:03] davr0s: I'm asking when you potentially updated to Bionic [00:03] i think i did do a deliberate distro upgrade some time ago but i forget how [00:04] NEVER DO THAT... that's how this happened [00:04] oerheks, yeah my current plan is installing fresh on a second drive and copying stuff over [00:04] for future reference, [00:05] distros can upgrade themselves to latest versions? [00:05] davr0s: If you ever entered the command "sudo do-release-upgrade -d" that will place you on the development branch... which is how you ended up on focal [00:05] -d is development [00:05] but you might can go on with it: do an sudo apt install -f [00:05] ok i can't confirm or deny but its possible "do-release upgrade" happened. i really can't remember specifically what i did [00:06] it was possible you did that 2 years ago... which I'm lucky if I remember what I had for lunch yesterday [00:07] yeah i was stuck on an old version (14 somethig) for a while, and thought i needed to update , whilst not wanting to completely re-install my drive and copy data off and on again [00:07] in the future... don't try to force upgrades to the distribution. They will be released when they're appropriately ready and well tested. For future reference, LTS upgrades are released when the YY.MM.1 (that's a one on the end) is released. To ensure the upgrade is stable [00:07] i'm hoping this nvidia stuttering is just related to this dev branch.. [00:08] more than likely it is [00:08] and not the nvidia driver versus my card [00:09] ok Q2 , before i go and create a USB startup disk as i did in the past, is there an easy way to install an image directly to a second drive ? [00:09] davr0s: If you're willing, it would be a great idea to still pop over to the #ubuntu+1 channel to mention the issue. They may have you do some debugging to at least help remove the issue before the general release is made later this spring [00:09] i have a spare drive installed which i can overwrite [00:09] ok [00:10] davr0s: If you're looking to use a new drive, there isn't a fast way, but I would recommend removing the current drive to ensure you don't accidentally lose anything [00:12] yeah if i accidentally click the wrong one to format or something [00:12] trying to reset my terminal settings. I did get it back to purple bg....but my bold and folder colors and such aren't right. Everything is just one color. I've tried Tweak and reset everything there [00:18] ok i will reset and re-install, i might be back with more questions later .. [00:26] Are `ip route add` changes always transient? I get this sense that netplan sometimes doesn't set the proper routes (based on gateway), but if I do it manually the change sticks across boots. I could be wrong however. Not the first time I observed this. [00:29] adrian_1908: Unless you save it to a file, it will not persist [00:30] should setuptools.find_packages find modules too? [00:30] pragmaticenigma: ok, thanks for clearing that up! I would think so too, no idea what I'm missing. Feels like I'm punching a hole through with my manual invocation and from then on it sticks. [00:30] doh! wrong chan, sorry [00:32] anybody home? [00:32] lol [00:34] hi, I have some problem with booting ubuntu, it stalles after giving password .. now I'm on livecd, I figured there's something wrong with the encrypted partition.. anyone to help? [00:35] Partition 2 does not start on physical sector boundary. [00:35] what does it mean? === grateful-TonyF is now known as grateful [01:08] ok i'm back, I installed ubuntu 19.10 fresh on a new hard drive, booted from it. and unfortunately i see the same behaviour :( [01:08] Xorg and nv_queue are showing up in 'top' taking 20% CPU when idle, and the whole environment is pausing for a few frames every half second or so [01:09] so now I should ask if there are tweaks to the nvidia driver, if its a known problem, if its my hardware config or what. thing is it worked on the environment i had 2 days ago before an update - it seems to be a specific blend of driver and OS version [01:09] davros: I wasn't here earlier, Desktop or Notebook? [01:10] desktop [01:10] And which driver? [01:10] should i keep going back versions of ubuntu till i find one that might match what i had before? ( i'm not sure exactly what state it was in before - i did an eronesous update to 20.04 dev [01:10] 440 i think but let me confirm [01:10] `nvidia-smi` is neat for that [01:11] ok Driver Version 435.21 [01:11] i guess i can try upgrading to 440 right now [01:11] this is just what came out of the fresh install [01:12] It's certainly weird. Common Nvidia GPU I reckon? [01:12] gtx970 with a core i7 4790 [01:13] like i say the configuration i had 2 days ago worked, but i can't even tell you what version of ubuntu was installed. previous replies suggested i might have done a botched update [01:13] I got the very same GPU and driver version, no such issues. Xubuntu 18.04 though. [01:13] (i was on 14.. for ages and did something to manually update it to 17.. and continued simple updates to that) [01:13] ah [01:13] well its possible my previous config was 18.. and yes, it was the XFCE desktop === V7 is now known as nopmpem [01:14] its possible this is specific to later versions of ubuntu or rather the underlying kernel? and "not enough people are using a later version + old 970 graphics card" to care? [01:15] i'm in 2 minds here.. go back to the version of ubuntu you have (18.04)- yet another re-install - or wait for a fix to appear [01:16] davros: FYI: Nvidia recommneds the 440 version driver for your card. May have to get that driver from our trusted PPA. ' apt list nvidia-driver-440 ' to see if it is available in the repo. [01:16] Well to me that sounds unbearable, especially the stutters. You had issues with 20.04 you said? Otherwise that's something to consider, it's not that far out anymore. [01:17] davros: https://www.nvidia.com/Download/driverResults.aspx/156772/en-us . [01:19] And yes, try those drivers first before considering an OS switch ;) === nopmpem is now known as V7 [01:24] update notifier crashes everytime I log into the Ubuntu desktop now. Is that happening to anybody else? [01:26] k_sze: 1st I have seen of that - what results with terminal ' sudo apt update ; sudo apt full-upgrade ' ( 18.04 saw a new kernel). [01:27] !info linux-image-generic bionic [01:27] linux-image-generic (source: linux-meta): Generic Linux kernel image. In component main, is optional. Version 4.15.0.88.80 (bionic), package size 2 kB, installed size 16 kB [01:34] Bashing-om, apt works just fine. [01:34] I *think* it is something else. I get a dialog asking whether I want to report the system error. [01:34] Where can I find the log so I can dig up more details? [01:35] k_sze: /var/crash/ [01:36] hmm, the files I see in /var/crash seem unrelated (timestamps too old) [01:36] k_sze: look and see ' ls -al /var/crash/ ' . [01:37] I did, but the .crash files are dated Feb 10 and Feb 14 [01:37] way too old. [01:38] i am unable to connect to twiitter from my ubuntu [01:38] to i have to edit a /etc/hosts.allow file? [01:39] do* [01:39] ptah8: you mean through your web browser? [01:39] ptah8: there's nothing in ubuntu by default that blocks twitter or any other website [01:43] yes my web browser, im using an old mini dell laptop [01:43] ptah8: what version of ubuntu? What web browser? [01:44] outdated, but the other sites work, twitter says connection reset [01:45] ptah8: what version of ubuntu? What web browser? [01:45] hey all, I'm having an issue with cached local hostnames. I had hostnames: ec-0 and ec-1, I changed them by shifting them to a 1-index instead of 0-index, so now they're ec-1 and ec-2. I can still ping ec-0 though, and a program I'm using keeps matching the IP of ec-1 with what is now the IP for ec-2 [01:45] is there a way to somehow flush this old host info? [01:45] I ran systemd-resolve --flush-caches, but taht didn't solve the issue [01:45] Thank you for your interest in Ubuntu 8.04 [01:45] Scriptonaut: sudo systemctl restart systemd-resolved [01:46] ptah8: nc termbin.com 9999 < <(lsb_release -ds;cat /proc/{version,cmdline};echo "Session: $XDG_CURRENT_DESKTOP ($XDG_SESSION_TYPE)";echo Shell: $SHELL) [01:46] ptah8: please run that and paste the URL here [01:46] leftyfb: issue is still persisting [01:47] Scriptonaut: then your local DNS server has them cached [01:47] Scriptonaut: use dig with your nameserver to troubleshoot [01:47] hmm, my resolv.conf has 127.0.0.1, is that my nameserver? [01:48] Scriptonaut: nmcli device show | grep IP4.DNS [01:55] Hi guys, what is the latest supported Kernel version on Ubuntu 18.04? [01:55] pennTeller: why do you ask? [01:55] leftyfb, I want to put the latest possible kernel in one of my computers [01:56] but still under 18.04 [01:56] pennTeller: install linux-image-generic-hwe-18.04 [01:56] thanks for that. I would like to know the version first if possible [01:56] pennTeller: Which is 5.3 [01:56] pennTeller: apt-cache policy linux-image-generic-hwe-18.04 [01:56] so there is no way to use 5.5.4 correct? [01:56] Nope [01:57] adrian_1908, no wonder, I kept getting a "can't talk to TPM module" error [01:57] :p === Guest33014 is now known as alphaseg [01:57] pennTeller: there is no supported or unsupported version of ubuntu which uses a kernel that was released 3 days ago [01:57] LOL thanks [01:59] ptah8: still having trouble running those commands? [02:01] didn't think so [02:37] Hi again [02:37] Well I reinstalled 18.04 - and the graphics works fine, no more stutter [02:41] I now have another problem with networking - it’s not connecting on my wired network , and it doesn’t find the Wi-fi device (settings tells me none is found) . Under 19.10,20.04 iterr connect using Wi-fi just fine. I’m using an iPad on the same Wi-fi network now [02:42] Not even sure why the wired connection would suddenly stop working [02:42] Not going to get very far using Linux without a network connection :( [02:43] davr0s: what kernel are you running? uname -r [02:44] 5.0.0-23-generic [02:45] Had to drop to Ubuntu 18.04 because 19.10 up are making my graphics card stutter [02:45] I'd say install linux-image-generic-hwe-18.04 but it might not make a difference and you have no internet to do so [02:45] The later versions find my Wi-fi device just fine [02:45] davr0s: the 18.03 hwe kernel is the same as in 19.10 [02:45] What I installed was Ubuntu 18.04 [02:46] I have 20.04 on another drive on the same machine [02:46] davr0s: you should have downloaded the latest image [02:46] installer* === zbenjamin_ is now known as zbenjamin [02:46] Another version of “18.94”? [02:47] Now you mention it - that 18.04 was downloaded ages ago [02:47] davr0s: lets start with ethernet. This worked before right? Cable is plugged in now? [02:47] So if I go back to my 20.04, re download 18.04, that will have more recent bug fixes etc? [02:48] davr0s: or we could just get this one going. It's just an apt upgrade away from being the latest. Just need to get internet going on it [02:48] Yeah. The Ethernet used to work, I’ve had rpis connect aswell [02:48] davr0s: what happens when you plug the ethernet in? Do you see a network icon in the top right? [02:48] I was about to try connecting a raspberry pi to check my network is actually working [02:48] ok, do that first [02:49] Yes it tries to connect and fails [02:49] Just tried unplugging - the icon disappears and reappears it definitely knows about the cable etc [02:50] see if the pi can get online. [02:50] Yes I should [02:50] In the meantime [02:51] Will I get a different result by downloading 18.04 today vs the image I had lying around for a couple of years [02:51] I suppose I [02:51] Could try 18.10 aswell [02:51] davr0s: potentially. You'll get the newer kernel now as opposed to getting online and getting it with an update [02:52] davr0s: 18.10 is EOL [02:52] davr0s: I would stick with 18.04 [02:52] I will keep this image aswell [02:52] first test the pi [02:53] I suspect the graphics problem is “latest kernel plus latest nvidia drivers” (stutter .. pausing every half second. Fine on this old kernel and fine before I did an update yesterday) [02:53] Ok [02:54] Handy little thing to have around [03:26] how can i restart a interface with netplan without reboot ? [03:31] Couldn’t get my pi organised (deskspace, wires) .. will defer that till I can get longer cables etc [03:31] raden: try: systemctl restart networking . [03:31] The 18.04 image I had was 18.04.3, I just downloaded a xububtu 18.04.4 [03:32] Bashing-om, THERE IS NO NETWORKING [03:32] sorry about caps [03:33] I will give this a go (I’m keeping this 20.04 with compromised graphics but everything else ok on my main drive, and trying various experiments on a second drive) [03:34] raden: More info - as you stated "restart". [03:55] has anyone had sound issues with bluetooth and Bose speakers? [03:57] I connect but then it disconnects. After several attemps I managed to get it to stay connect, but.. [03:57] then I could not get the volume up all the way === OICU812 is now known as TabMasher [04:28] thanks for the help , those who tried. I'm 'back in business' so to speak. Network trouble was literally just a cable loose elsewhere (other factors inc the hub really not accepting its own ethernet connections asside from my 2nd hub confused me) [04:28] i'm using 18.04.4 now and the graphics is fine, and I have my wired networking. It still doesn't see my PC's wireless but I can live with that [04:29] in the meantime i still want to know whats up with 19.10 and 20.04 with the nvidia drivers (they were stuttering) [04:34] Bashing-om, this is what I see: https://imgur.com/a/04pnzp1 [04:34] And if I click on "Report problem...", it just disappears. I'm kinda expecting it to bring up another dialog, given the "..." in the button text. [04:36] In htop, I see that the `update-notifier` process is still there though. [04:37] It's a child process of my /usr/lib/gnome-session/gnome-session-binary --session=ubuntu [04:38] Hi. [04:38] i just noticed that there is one app called Google Drive Sample in my Ubuntu. I never installed such app and i could not find its executable. does it come preinstalled with Ubuntu like amazon lenses? [04:38] how do I find its executable name? [04:40] k_sze: looking. [04:43] k_sze: Sorry - I do not know enough about apport to advise on this :( Maybe re-install apport ? [05:42] ok regarding my network not connecting , whats happening is: I've got a hub, then an apple wifi point in another room (hub-> PC1, hub->apple wifi ->Router->PC2,other devices [05:42] any attempt to directly connect PC's to the hub fails [05:42] but they work fine on the other side of the apple thing [05:42] that seems weird to me [05:43] i'm sure i had it working direct before [05:43] (i also had a loose cable but when i saw 'PC1 not working' i thought it was a deeper problem) === EdT137 is now known as EdFletcher [08:59] Does anyone know a way to disable `/usr/share/locale//Compose` when enabling Compose Key?I created an `~/.XCompose` which gets read correctly except most places say you need to explicitly do `include "%L"` to get the locale's default compose list, however without that line it seems to be adding the locale's compose list anywhere which is [08:59] behavior I would like to remove if possible === Wryhder is now known as Lucas_Gray === The_Milkman1 is now known as The_Milkman [10:11] hi, I have a problem where I can't seem to disable the dead keys option from the keyboard layout. I've tried the keyboard settings (XFCE) and setxkbmap. Neither seem to have effect. Where might the issue be? [10:13] Hello. When it comes to the sound, I have configured my ubuntu 18.x to use specific apps on specific ports, but ... I still hear *something* on my headphones, how to test what it is? Shouldn't that be enough: https://imgur.com/a/jFT6N2I ? [10:41] I am not sure whether I'm asking the question in the correct chat room, but ... I just ripped a DVD with ogmrip. I then tried to do another. It doesn't seem to find it, though Ubuntu 19.10 found it. [10:41] And when I try to use ogmrip, it talks of an "unknown error" [10:42] And a second question ... that same Ubuntu tells me that I'm running 5.3.0.23 wheras it expects to be running 5.3.0 [10:43] .405.3.0.40 [10:43] Oops, 5.3.0.40 [10:44] How do I "upgrade" the kernel to ~.40 [10:48] Sbur3: what does uname -r result with in terminal [10:49] jeremy31: It says 5.3.0-23-lowlatency [10:49] Sbur3: did you reboot since installing the newer kernel? [10:49] jeremy31: But I've already upgraded to 5.3.0-40-lowlatency [10:50] did you restart after upgrading? [10:50] I believe so. Maybe not. Is it that stupid a thing? [10:50] err, jeremy31 already asked that, somehow I missed it [10:50] Sbur3: That could be the issue or it could be an error with the kernel install, or grub problem [10:50] jeremy31: geirha: I had thought so, but maybe not [10:51] run uptime and estamite if you've rebooted since upgrading [10:51] jeremy31: Is there a way to check that out before I reboot or should I begin by rebooting? [10:52] 11:51:50 up 2:09, 1 user, load average: 0,13, 0,40, 1,00 [10:52] geirha: 11:51:50 up 2:09, 1 user, load average: 0,13, 0,40, 1,00 [10:52] Sbur3: post URL from terminal for> dpkg -l | grep linux-image | nc termbin.com 9999 [10:54] jeremy31: https://termbin.com/y7r1 [10:55] Sbur3: try a reboot [10:55] jeremy31: I'll try that and follow up with a uname -r. [10:55] jeremy31: Thx, brb [10:58] jeremy31: I just rebooted, did a uname -r and came back with the same "5.3.0-23-lowlatency" [10:59] Sbur3: paste result for this command to paste.ubuntu.com and post URL> sudo update-grub [11:01] jeremy31: https://pastebin.ubuntu.com/p/jnTxgXm32C/ [11:02] Sbur3: URL for> sudo parted -l | nc termbin.com 9999 [11:04] jeremy31: Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 [11:04] has been opened read-only. [11:04] Error: /dev/sr0: unrecognised disk label [11:04] https://termbin.com/l78l6 [11:04] jeremy31: https://termbin.com/l78l6 [11:06] Sbur3: try> sudo grub-install /dev/sda [11:06] jeremy31: I'll do that, but think that I'm on sdb1 [11:06] Sbur3: just wait then [11:08] Sbur3: do> sudo grub-install /dev/sdb [11:08] jeremy31: jeremy31: Done [11:08] Sbur3: reboot [11:09] jeremy31: brb [11:09] Hey guys, I'm using a webrick to run RubyOnRails, and I have a lot of requests from a certain IP (ddos). How can I block it? [11:09] ok, can we co back to my question? How is this possible that my phones (usual phones for $50) play random radio? [11:13] shouldn't that be enough (I know I'm repeating myself:)) - https://imgur.com/a/8aXP83R [11:15] how can I know for sure what app is going crazy and is sending the audio to my this usb port? [11:15] enter 'htop' in terminal [11:15] find which one it is [11:16] Sbur3: if that new kernel isn't being used, you might have to change boot device in BIOS to the SSD [11:17] pncl, here you go - https://paste.gg/p/anonymous/032e35167e294b9b98e47bfaf921ed3a [11:17] it's not firefox [11:25] jeremy31: any command to do that? [11:25] Howdy folks [11:26] Sbur3: It has to be changed in BIOS boot menu. I guess BIOS is booting another drive and it ignores the grub.cfg file on /dev/sdb [11:33] jeremy31: Any miracle command or is it a BIOS thing that is independant of grub and the like? [11:34] Sbur3: it is separate from grub [11:34] jeremy31: Thx for your help and patience === Wryhder is now known as Lucas_Gray [12:51] is there a way i can setup ssh to have optional either google authenticator or yubikey as the 2fa auth [12:51] hi guys. I have a VPS running 16.04.6 LTS and running do-release-upgrade is saying "Checking for a new Ubuntu release, No new release found [12:52] and trying "do-release-upgrade -d" but also giving: Checking for a new Ubuntu release. Upgrades to the development release are only available from the latest supported release. [12:52] any idea? [12:56] IonutVan_: perhaps you have prompt=never in /etc/update-manager/release-upgrades [12:57] Ool, I have Prompt=lts [12:57] and that's a;; [12:57] IonutVan_, tour software sources in the package manger is probly set to "long term releases only" (LTS) [12:57] all* [12:57] your [12:58] BluesKaj, in /etc/apt/sources.list? [12:59] no, whatever GUI package manager you use [13:00] BluesKaj, is a vps, no gui [13:04] IonutVan_, in /etc/update-manager/release-upgrades change the prompt line from lts to normal [13:06] But when set to lts, why wouldn't it give the option to upgrade to 18.04 though? [13:07] BluesKaj, I would like to upgrade to LTS, is "normal" the right option? [13:07] and why is not gibing me the option to go to 18.04 having LTS there? [13:08] Perhaps the VPS has done some custom changes to its ubuntu-images [13:08] no, lts is what you want , don't use the -d in the do-release-upgrade command [13:08] that's for development releases [13:09] ah, that makes sense [13:09] BluesKaj, with d or without d I still don't get the option to upgrade [13:09] now I am trying to add normal instead of lts in that file and run without d [13:10] this means that will upgrade to 18.04 LTS? [13:10] IonutVan_, trying to upgrade to 18.04 ? [13:10] sure, is LTS and I also want LTS [13:10] is a server :D [13:10] from 17.10? if so it's eol , end of life [13:11] 16.04 [13:11] Description: Ubuntu 16.04.6 LTS [13:12] then the lts setting in /etc/update-manager/release-upgrades should work [13:12] BluesKaj, did you read my first two sentences? [13:12] :) [13:12] so, any solution? [13:13] yes, but I don't know why the command do-release-upgrade isn't working [13:13] me neither [13:14] IonutVan_, try with 'normal' but abort suddenly if it gives you 19.10 or your sources.list will be overwritten [13:14] unless you have some ppas in your /etc/apt/sources.list.d [13:22] BluesKaj, I don't [13:26] IonutVan_, I know very little about VPS setups so there could be a communication/command issue there, not sure [13:27] hi which LO version is ubuntu 19.04 LTS using ? [13:27] is 19.04 even LTS [13:27] no [13:27] littlekimmy: 19.04 is eol [13:29] so 18.04 LTS is using which version of LO, when compared to 19.10 [13:29] do LTS use the older version of LO? [13:30] !info libreoffice bionic [13:30] libreoffice (source: libreoffice): office productivity suite (metapackage). In component universe, is optional. Version 1:6.0.7-0ubuntu0.18.04.10 (bionic), package size 11 kB, installed size 103 kB [13:30] littlekimmy: ^^ [13:31] ok so it's using the older one as the 19.10 is using 6.3 [13:32] so LTS uses older packages? compared to latest ubuntu [13:32] of course [13:32] yeah, stable and proven [13:32] such info is easy to find, littlekimmy === The_Milkman1 is now known as The_Milkman [13:35] what is bionic backports? [13:35] one is the default iso and the other are updates? so how does backports drop in [13:35] !backports [13:35] If new updated Ubuntu packages are built for an application, then they may go into Ubuntu Backports. See https://help.ubuntu.com/community/UbuntuBackports - See also !packaging [13:52] Odd problem with a 16.04 server...it stops responding to pings for a couple minutes at a time [13:52] I can see them coming in as RX packets but nothing ever gets sent out [13:53] then if I start pinging FROM that server to any other IP address after a few seconds it starts working again [13:54] mguy: sounds like a ##networking problem? [13:54] It does since I can't find anything in the server logs etc [13:56] But it's only this server that has the problem [13:58] mguy: are you admin of your server? [13:58] yes [13:59] mguy: you could check your firewall? [13:59] I turned ufw logging on but it doesn't seem to show anything related [14:01] Hello, anyone know if CVE-2018-15473 is backported into 18.04.3 LTS openssh-server version OpenSSH_7.6p1 ? [14:02] easy to find, https://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-15473.html [14:03] (1:7.6p1-4ubuntu0.1) [14:03] I am on that page [14:03] How can I verify it, these PCI compliance "people" are not fun [14:04] 2 fixes on 6 nov 2018 https://usn.ubuntu.com/3809-1/ [14:05] irrgit: keep in mind that 18.04.4 is out now, keeping your system up to date is wise [14:06] lotuspsychje, thank you, I will also check into that [14:07] !uptodate | irrgit [14:07] irrgit: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`. [14:15] hey what's the way to draw boxes in LO like in here https://bitcoin.org/bitcoin.pdf [14:19] !ot | littlekimmy [14:20] littlekimmy: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [14:20] but there is no one in #libreoffice [14:20] and ubuntu helps me and is *very close* to editing word office docs [14:20] as that's the basic use of ubuntu [14:22] this isn't the channel for that... and you know cross posting is frowned on [14:22] something like LO > table > insert table > choose format [14:22] clearly you did no research for this [14:32] hi [14:33] :-) [14:33] Hello Aadam, Welcome to the Ubuntu support channel. Is there something that the volunteers here can help you with today? [14:35] hi [14:35] https://thesafety.us/vpn-setup-ikev2-ubuntu17 [14:35] how to do the same using commands only [14:37] something like this? https://support.strongvpn.com/hc/en-us/articles/360004594693-OpenVPN-Setup-Ubuntu-Linux-Command-Line [14:38] and why comandline, as you use a desktop with a gui? [14:39] yes [14:39] however I want to write wiki using commands only [14:40] oke, test it out, if it works for you, write it down [14:40] because linux has different UI [14:41] and this wiki is for ubuntu only:? [14:42] we have a good wiki https://wiki.ubuntu.com/VPN [14:42] * oerheks not interested in more wiki's, make 1 good wiki, help ubuntu-wiki [14:44] it's for ikev2 for ircnow vpn [14:44] how to use ircnow vpn on 1) linux 2) windows 3) android.... [14:45] for that purpose [14:45] for linux I just installed ubuntu [14:46] for tutorial [14:46] Aadam: it would be preferred if you were to contribute to the documentation already available on Ubuntu's help pages. More people will see it there, it will benefit from regular audits, and can be updated regularly by the community [14:47] link that vpn page to our wiki, done [14:47] lolz [14:47] sure I can write the same tutorial on ubuntu's help page but also need on ircnow because users get service from there then need to see how to setup [14:48] i think you have enough info now, go test it [14:48] ok, let me try [14:53] Any idea how to fix this? "gio: smb://server/share: volume doesn’t implement mount" [14:54] zetheroo: Are you forwarding a request from another person or channel? [14:54] pragmaticenigma: no, why? [14:55] zetheroo: because your cut and paste as the same format as if you were relaying a message from another person [14:56] ok [14:56] zetheroo: where are you typing that ? where are you seeing the message? [14:57] pragmaticenigma: in Ubuntu 18.04.4 [14:57] command: gio mount smb://server/share [14:58] The share is mountable via samba ... it's mounted on my Ubuntu 18.04 laptop [14:58] I am trying to mount it on Ubuntu 18.04.4 server via the command line [14:59] zetheroo: I assume you're sanitizing the command when posting here? [14:59] yes [14:59] it's not actually "server" and "share" [15:00] That's fine, I'm just trying to make sure I have a good grasp on the issue [15:00] sure [15:00] zetheroo: are you able to ping "server" ? [15:01] yes [15:01] via it's hostname and IP [15:01] zetheroo: Has the samba client packages been installed? [15:04] oh god ... I'm such an idiot ... no, installed it now but unfortunately still getting that same output from the 'gio mount' command [15:09] might need a restart? im not very familiar with gio [15:10] rebooted ... no go [15:14] zetheroo: Just did a little digging... gio requires that the username and password already be saved in the users keyring... since this is server... you are going to need to do the normal "sudo mount -t cifs -o..." route [15:15] pragmaticenigma: oh ok [15:18] when I try to mount a windows share in nautilus on ubuntu 18.04, I get the error "Failed to mount Windows share: no such file or directory". However, mounting from the terminal with mount -t cifs -o... works just fine. [15:55] how do I move media wiki to ssl? [15:55] a2enmod mediawiki - great [15:55] but I want to move it to the ssl side of my webserver. [15:56] you might want to reask in #ubuntu-server [16:00] Hello, is anyone here? [16:00] sudo a2ensite mediawiki.conf && sudo a2enmod rewrite # looking at https://websiteforstudents.com/install-mediawiki-on-ubuntu-18-04-lts-beta-with-apache2-mariadb-and-php-7-1-support/ [16:00] what guide did you folow KungFoo ? [16:04] pncl: 1195 users are [16:05] Thank you. [16:09] I have a ThinkPad P1 Gen2, with Ubuntu 18.04 installed, updated and upgraded, BIOS updated to latest version. The fans keep kicking in every 5-10 minutes. I have tried many 'solutions' I found online to no avail. Does anyone, by any chance, know a fix for this I can try? [16:18] why are fans kicking in a problem? [16:18] surely with a huge task/playing video [16:20] the nvidia quadro is supported with nvidia 430 driver and up [16:20] but fans should work, i guess [16:26] The fans kick randomly, but about 5-10 mins apart.. no video or rendering going on.. firefox with a few tabs [16:27] the processor gets to 64-68 degs, then the fans run.. [16:28] light browsing: gets the cpu to 35% - 41% (from htop) [16:29] i7-9850H ?? [16:29] i9 [16:31] according to https://ark.intel.com/content/www/us/en/ark/products/192987/intel-core-i9-9880h-processor-16m-cache-up-to-4-80-ghz.html [16:31] no problem cpu can go up to 100'C [16:31] Intel i9-9880H (16) @ 4.800GHz [16:31] you might hear the video fan.. [16:32] uha.. [16:33] What would cause the gpu fan to start ? [16:34] The fan noise issue is all over all support forums/reddit but none of the fixes has worked for me.. yet [16:35] hi there [16:36] is it common to have ubuntu as dual boot with another linux distro (like gentoo, arch)? [16:36] wawrek, no, we solely install ubuntu. [16:37] oerheks: amen [16:38] oerheks: the docs describe how to install ubuntu alongside windows. it's hard to find docs on how to create a dual boot with ubuntu as original os. [16:39] and then install something else. [16:39] the only problem with dual linux, is to decide who is running grub [16:39] let the 1st linux handle that, simple [16:40] if you install grub wioth the 2nd linux, you get dual chain grub, you don't want that [16:40] after installing, I will probably get rid of the first os... [16:40] ok [16:40] so there are issues, ahead [16:40] I think most installers will handle that part for you.. [16:41] pncl: they will handle the grub? [16:41] In reality, there is no "main os".. when you start your PC, grub will load and give you options.. [16:41] ok [16:41] sounds clear [16:42] do you have any links to some documentation? [16:43] sure you have found the grub wiki [16:46] are there specific spteps to be followed when installing an os alongside ubuntu? regarding partitioning, etc... any issues I should be aware of? [16:46] grub will not be a problem [16:47] wawrek, ask that linux distro channel? ubuntu itself uses 1 partitions now, swapfile, no swap partition. [16:48] oerheks: thank you for this. [17:08] Hi everyone, I am still trying to figure out the best way to resolve the failed `do-release-upgrade` that I ran on my AWS instance which was/is running Ubuntu 16.04. The upgrade failed fairly early, but I lost the error message because it exited the `screen` session it was running in. However, it did already update my sources.list to all the 18.04 sources, so now I can't run `sudo apt upgrade`, but I also can' [17:08] t run `do-release-upgrade` again because it thinks there are uninstalled updates. [17:08] Any suggestions for how to go about troubleshooting this, or at least getting everything back to a working state in 16.04? [17:09] linelevel, i think you need to get a fresh aws 18.04 [17:09] such upgrade path is not supported [17:09] oerheks: I can still `ssh` into the instance, and I can confirm that it still reports version 16.04 upon ssh login. Everything on the server still seems to be running properly. [17:10] you might want to join ##aws [17:10] I prefer not to start from scratch unless absolutely necessary, as there are several running services configured on this server. [17:11] linelevel: you could check if any 18.04 packages were in fact installed [17:11] and if none were installed then revert the sources.list back to xenial [17:11] EriC^^: How do you recommend I check that? [17:11] of course at your own risk, this is just my 2cents [17:15] linelevel: you could write a quick script, revert the sources first, then use dpkg & awk & apt-cache policy or show to get the installed package version vs what the one in the xenial repo is [17:15] You're right, that is a possibility. Thank you for the suggestion. [17:16] linelevel, apt list --installed | grep bionic should work [17:16] linelevel: maybe first do the opposite, see if any bionic ones show up easily [17:17] linelevel: such as dpkg -l | grep bionic , or maybe a dpkg log file might record these stuff for the update [17:18] linelevel: see ioria 's suggestion [17:18] EriC^^: It does not show up in `dpkg -l` but does in `apt list --installed`. [17:19] linelevel: what does "apt list --installed | grep bionic" show? [17:19] try apt list --installed | grep bionic | nc termbin.com 9999 [17:19] (to upload a paste) [17:19] `apt list --installed | grep bionic | wc -l` returns 49 [17:19] `apt list --installed | grep xenial | wc -l` returns 34 [17:19] so it is not clean [17:20] seems so [17:20] linelevel, we need to see what pkgs are gone [17:21] ioria: bionic: https://termbin.com/qblq xenial: https://termbin.com/1v7p [17:25] linelevel, maybe you lost something ? [17:25] Note that `apt list --installed | wc -l` returns 1072, so there are many missing from that list. Some packages contain the string `18.04` or `16.04`, some contain neither. [17:25] `/now` instead of `/bionic`, etc. [17:26] linelevel, apt-cache policy apt dpkg | nc termbin.com 9999 [17:26] linelevel: Question: Do you not have any snapshots before you attempted to upgrade that you could have restored a before? [17:26] ioria: https://termbin.com/e6dj [17:27] linelevel, at this point, i guess the best thing is to go ahead [17:28] apt and dpkg are still xenial btw [17:28] the candidate versions are bionic since the sources are switched [17:28] who has used stellarium? some astronomical features are not shown, for example the milky way. is there a newer version im using older ubuntu [17:30] linelevel, if you wish to revert those 49 packages (with a bit of patience ), you clearly revert your sources.list [17:31] linelevel: aws supposedly uses snapshots by default [17:33] linelevel, and in /var/log/dist-upgrade/ you should have some logs and maybe the error that stopped the process [17:38] hii. I can't find grub manual for ubuntu 18.04 and after on manpages.ubuntu.com . Is there any other place that I should look? [17:38] !grub [17:38] GRUB2 is the default Ubuntu boot manager. Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub - For more information and troubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub2 [17:38] see the wiki [17:38] The_LoudSpeaker: what command do you want the manual for? [17:39] The_LoudSpeaker: if you want try "info grub" in the terminal [17:43] I am actually looking for something like http://manpages.ubuntu.com/manpages/bionic/en/man5/sudoers.5.html but for grub. I am writing up a custom grub theme for lubuntu. I have completed it but can't get it to be detected and sellected during installation. Hence need the manual. [17:44] EriC^^: I will try info grub in terminal [17:44] wow. that's a good start. thanks! @EriC^^ [17:45] The_LoudSpeaker: there isnt a man page for grub itself, just commands such as 'grub-install' 'update-grub' etc, if you want to see all commands related to grub that have man pages type "apropos grub" [17:45] sudo for grub ? [17:45] The_LoudSpeaker: maybe looking a little into grub-customizer you can figure out what files it's using to get detected etc, just an idea [17:45] k./ I will do that. [17:46] no problem The_LoudSpeaker [17:47] no not sudo for grub. oerheks. I want to make sure grub automatically detects the installed theme and selscts it during installation of lubuntu. I checked grub2-themes-mate but simillar approach as that didn't work. [17:47] ioria: Thank you, there is a log file that shows the error in that directory. Here's an excerpt that I got by running `tail -n 100 /var/log/dist-upgrade/screenlog.0 | nc termbin.com 9999`: https://termbin.com/xpcs9 [17:49] EriC^^: I haven't tried grub customiser myself but afaik it puts them in /boot/grub and then modifies the /etc/default/grub.d/ scripts or /etc/default/grub. I don't want that. That I can do myself but I don't want to touch the /etc/default/grub file I want it to be generated by default and point to the theme. I will have a look tho. Thanks again. [17:49] linelevel, seems that this python3-zope is the problem ... [17:51] detects the installed theme .. ok ... and selscts it during installation of lubuntu .. huh? [17:52] edit your lubuntu iso, this cannot be done from grub i guess [17:53] wehnit was implemented in mate, they didn't have to change the iuso afaiik. [17:53] *when [17:53] *iso [17:54] sorry for typos. new keyboard [17:55] linelevel, probably from some ppa or something ; see if you can remove/purge it [17:58] ioria: Thanks, I'm working on doing so now. I'll also still need to revert everything else to 16.04. [17:58] ok [18:08] oerheks: LO- table- insert table- choose format [18:08] I did but still i get a long table and not a box [18:09] well, i have no cloe, as i did not click that suspicious bitcoin pdf [18:09] try libreoffice support? [18:18] Hi there. Trying to apt build-dep ffmpeg, I came accross this documented issue. I do not understand how to workaround the issue. Can someone ELI5 me ? ref : -> https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1858164 [18:18] Launchpad bug 1858164 in pulseaudio (Ubuntu) "libpulse-dev needs a rebuild for libpulse0-1:11.1-1ubuntu7.5 on bionic-updates" [Undecided,Fix committed] [18:20] Synoptic: are you on 18.04.4 yet? [18:20] Synoptic, libpulse-dev 1:11.1-1ubuntu7.5 is available in -proposed [18:33] i installed sleuthkit but the cmd name is not sleuthkit and so how do i find the file for sleuthkit package? [18:33] Hello, with Ubuntu 18.04 on a ltsp 2019 client, a segmentation fault is thrown if i type 'sudo echo "Test"' and than CTRL-C. On the Ubuntu Host, it does not throw a segmentation fault. I've spoken to the dev of ltsp 2019, but he says that this does not have something to do with ltsp 2019 directly but rather with ssh(fs) or sudo (or nfs). This does not break something up, but I think it could be a potential security risk. I've tried to [18:33] debug it with gdb, apport-bug and strace, but I had no success with them. Strace does not even throw the segfault. Does somebody know where this comes from? [18:33] it seems the name of the pkg is different from the name of the files [18:35] /usr/share/docs/sleuthkit [18:37] littlekimmy: That isn't a support question. You have to do your own research to learn how to use a program. Such tasks are beyond the scope of this channel. [18:38] ok what about a non-tar .gzip file, can i decompress using tar [18:39] littlekimmy: use gzip [18:39] littlekimmy: Again, offtopic [18:40] vielfarbig: A seg-fault is not automatically a security risk. However, if you think you have found a bug, you should report it on launchpad. [18:40] !bug [18:40] If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [18:43] pragmaticenigma: So should i do a "ubuntu-bug sudo"? The command "sudo echo Test" only segfaults on the ltsp client connected via ssh(fs) to the host [18:44] vielfarbig: Why exactly are you using sudo to run "echo" ??? [18:44] pragmaticenigma: This is only a demo to show that sudo ... + CTRL-C throws the segfault [18:45] vielfarbig: "echo" isn't a program though. It is a bash command/keyword. It's not a valid test [18:45] pragmaticenigma: Ah ok, so how can I test it properly? [18:46] vielfarbig: such discussion is out of scope for this channel. you are welcome to join #ubuntu-discuss [18:46] pragmaticenigma: ok [18:47] vielfarbig, echo it's also a binary : use /bin/echo [18:50] ioria: I tried it with "sudo /bin/bash" + CTRL-C and "sudo /bin/echo" + CTRL-C and it throws a segmentation fault every time [18:51] vielfarbig: please, use #ubuntu-discuss (CC: ioria ) [18:52] where's the multipass advertising coming from when I ssh in? Is it just in motd? [18:52] JordiGH: correct [18:52] Hm, I don't have motd installed. [18:53] JordiGH: It is installed by default on all Ubuntu systems... configurations are in "/etc/update-motd.d/" [18:53] https://code.launchpad.net/~ubuntu-motd/ubuntu-motd/trunk this is where it's cold from [18:53] *coming [18:54] Awful, sneaking ads into the OS like it's friggin' Windows. [18:54] Hm, I can't find the ad in /etc [18:54] JordiGH: It's understood that many users do not appreciate the feature. However, such discussion really doesn't belong in the support channel. We are all volunteers here, and do not have any influence on how decisions are made at Canonical. [18:55] Whatever, just trying to get rid of it. It's not in /etc is it? [18:55] JordiGH: /etc/update-motd.d/50-motd-news [18:55] I'm using a keyboard modifier ALT+' to get accented characters. I have to use that key combo before I tap my vowel, and I then get the accent. It's a lot easier on MacOS where I just hold down Alt when pressing the vowel and I now do all my typing there. Is it possible to emulate that behaviour on Ubuntu? To complicate things, I'm using the Dvorak keyboard layout. [18:56] Is that really phoning home to motd.ubuntu.com? [18:56] JordiGH: "sudo chmod -x /etc/update-motd.d/50-motd-news" will turn it off [18:56] pragmaticenigma: How about if I just delete that? [18:56] i have a lenovo yoga 2 pro running 19.10. when I installed ubuntu my touchpad worked. sometime since then my touchpad stopped working. touchscreen and bluetooth mouse both work. how do i go about figuring out what's wrong, why it stopped working, and how do I get it working again? [18:57] JordiGH: it only reads and outputs https://motd.ubuntu.com. There's no data being transmitted AFAIK [18:57] JordiGH: It will be replaced next time there is an update... better to remove the execution property [18:58] devios: could you share a dmesg in a pastebin, so the volunteers can have a look? [18:58] leftyfb: Actually, it's sending quite a bit of data: a uniquely identifiable UA string. [18:59] Jesus, this is worse than just an ad. [18:59] JordiGH: ok, disable it. [18:59] And let's tell HN about this. [18:59] Okay, thanks for your help. [19:04] Hi [19:05] I have some servers who take some time to detect all disks at boot time so something finally expires and the server tells me something about vg-ubuntu doesn't exist... [19:05] It exists, it just hasn't detected all disks yet... [19:06] Is there a way to change this delay so the server waits for a longer time before trying to search for vg-ubuntu? [19:06] DeeJayTwo: Please ask in #ubuntu-server [19:06] oh sorr [19:06] thank you [19:07] lotuspsychje, https://paste.ubuntu.com/p/PFbC9nPmyY/ [19:09] !uptodate | devios first [19:09] devios first: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`. [19:18] devios: your kernel is locked by secureboot, and your bios version is from 2015 aswell [19:25] lotuspsychje, here's the new dmesg: https://paste.ubuntu.com/p/P2yVP94BgX/ [19:26] devios: thank you, can you confirm your touchpad has the same issue right now? [19:26] lotuspsychje, yes, touchpad remains broken [19:28] devios: try installing xserver-xorg-input-synaptics-hwe-18.04 and reboot plz [19:38] my touchpad isn't working - latest dmesg: https://paste.ubuntu.com/p/N3GxrNb7zC/ - last things i tried were doing all updates and then installing xserver-xorg-input-synaptics-hwe-18.04 and rebooting. [19:41] does anyone know of a tool/script that will let you specify "active" time ranges, an activation command, and a deactivation command, and then generates the crontab lines to make it so? [19:43] devios, line #65 DMI: LENOVO 20266/Yoga2, BIOS 76CN43WW 03/30/2015 [19:44] pretty old bios, no? [19:44] an update might fix stuff [19:48] oerheks, hrm - didn't realize there was a newer bios available for it - not even sure how to do the bios update from ubuntu if there is one - have you done one? also, should i maybe try the "you might want to try setting psmouse.synaptics_intertouch to 1"? I'm not sure how to do that either. [19:50] ioria : Thanks, how do I use the -proposed repository. Sorry if I am asking newb questions, never had to do that before [19:50] Synoptic: Unless you have a specific need, you should not enable that repository [19:51] pragmaticenigma : I do have a specific need. a fix for a bug that was introduced. Found my answer : https://wiki.ubuntu.com/Testing/EnableProposed [19:51] devios, do this from windows? there is a fwupdate tool, use at your own risk https://itsfoss.com/update-firmware-ubuntu/ [19:52] Synoptic: Yes, but make sure you are well aware of the consequences [19:52] see step 2: sudo service fwupd start && sudo fwupdmgr refresh [19:52] pragmaticenigma : see https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1858164 [19:52] Launchpad bug 1858164 in pulseaudio (Ubuntu) "libpulse-dev needs a rebuild for libpulse0-1:11.1-1ubuntu7.5 on bionic-updates" [Undecided,Fix committed] [19:53] oerheks, that's actually the most recent bios update available for this machine according to lenovo's website [19:54] oke, it seemed old to me [19:54] what's really annoying is the touchpad worked when i first installed ubuntu and has since stopped working. possibly due to updates since then? [19:54] oerheks, this machine is pretty old (6 years or so?) [19:55] Synoptic, if you are newbie, no, dont'use proposed; or ... enable it in Software&Updates -> Developer Options , run apt update install libpulse-dev; and right after disable proposed again and run apt update [19:55] Synoptic: I don't need to see anything. i'm trying to convey that enabling -proposed will not just affect what you are targetting.. and if you enable it outright, you will get other proposed patches that may have bugs in it... which will lead to system stability issues [19:55] devios, is there some setting in systemsettings> devices > mouse & touchpad? disable while typing or something like that? [19:55] hello, i have a very tiny ubuntu installation. But it looks like it is too tiny ;-) what package do I need so that pressing the power button shutdowns the system? ^^ [19:56] oerheks, no i checked that - touchpad is enabled. just unresponsive/broken. [19:56] Synoptic, don't install anything else except libpulse-dev [19:56] how would I go about setting psmouse.synaptics_intertouch to 1 ? [19:58] oerheks, hrm: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1794876 [19:58] Launchpad bug 1794876 in linux (Ubuntu) "Touchpad doesn't work out-of-the-box in Ubuntu 18.04.1 with ThinkPad X1 carbon" [Medium,Confirmed] [19:59] crap i gotta run for now - thx all for the help (seriously) - will check back in when i can. [20:00] ioria : that's what I intend to do. I am not --that-- neb though ;) [20:00] ok [20:01] Aison: check out logind.conf(5) [20:01] ioria : Thanks for caring !: ) [20:02] ioria : and I am also working on a VM, with a snapshot taken before screwing everything up :) [20:02] Synoptic, fair enough [20:08] How do I give someone permission to install software through the Ubuntu Software Center without it asking for the account that was created during the install process? I've tried adding them to the adm group, but that didn't work. [20:09] a policy rule, i guess dyelar [20:11] sarnold, thx [20:12] ioria: I'll try do some more searching for that, and see what I can find. === ben_r_ is now known as ben_r [20:13] dyelar, should be, iirc, a XML file inside /usr/share/polkit-1/actions/ [20:17] dyelar, https://wiki.archlinux.org/index.php/Polkit [20:18] if one can install software,one can remove stuff too. [20:19] Yeah, that's okay. === generalzod is now known as mrinfinity [20:20] that arch guide appears to describe the newer javascript based stuff [20:28] running 18.04 I have ufw setup to allow openssh and deny all incoming / outgoing. This works well until reboot where I lose ssh access. [20:28] Is there something I need to do to ufw to get it to allow ssh on boot? [20:39] It looks like it's the sudo group they need to allow them to auth_admin for the policy. Thanks ioria. That helped me get it figured out. [20:40] dyelar, ok === funny_guy is now known as outro === outro is now known as not_outro [21:00] I can mount any usb just fine but when it comes to mounting of external disks like > 500Gb then it fails with error message complaining about missing mod fuse [21:00] any idea?? [21:00] which filesystem is the disk? [21:04] sarnold, ntfs [21:06] mra90: is ntfs-3g installed? [21:06] yes [21:11] maybe that ext drive/ntfs is dirty/errors in the filesystem? [21:11] https://help.ubuntu.com/community/FilesystemTroubleshooting [21:14] no its finde [21:14] windows and my TV and also other Ubuntu detects it fine [21:14] I have two ubuntu laptops [21:15] paste the exact error on paste.ubuntu.com please [21:16] mra90: try typing "dmesg -w" in a terminal then insert it and see what it says [21:16] paste the output somewhere [21:26] From what you posted I would say fuse is missing. [21:28] in a bash script i'm spawning multiple builds jobs using { } &. Is there better way to launch background tasks that would make them more concurrent ? [21:30] C0nundrum: probably a question better asked in #ubuntu-app-devel or another development focused channel [21:31] C0nundrum: I, personally, would use Python and its subprocess module :D [21:32] Ugh yea i'm converting my script to python later. Shot my self in the foot thinking it was simple enough to right in bash [21:33] hm can't i pipe it into python and have the subprocess module run it [21:33] ( to test ) [21:33] nope [21:34] why not could do something like <(echo "bash script") and have python spawn it [21:34] in wish case bascript would be docker build blah blah [21:35] C0nundrum: maybe there's already some better management system for bash, try ##bash [21:36] C0nundrum: sorry, but this really isn't the right place for this topic. ##bash or #ubuntu-app-devel are much better suited for what you are trying to do, with people there who probably know a lot more about that topic [21:36] My original question was on topic [21:37] I wasn't sure if docker was queuing builds tasks but yes i will continue the disscussion in another channel [21:37] o wait [21:38] ugh webchat tabs confusing me between channels [21:38] sorry pragmaticenigma your right === gbit86__ is now known as gbit86 [21:45] sarnold and alex, I want to thank you two guys, I forget alex's alias though.. and he contributed code to my kinto.sh project lol. I managed to complete my project yesterday and without the help of this channel I'd probably still be working on it. It took me months to complete and before that years of thinking about it and failing with other attempts. [21:47] I am very appreciative of the linux and ubuntu community in general and while the Mac community may be a small one, compared to Windows, I hope my contribution will make it easier for mac users to migrate over to Ubuntu and other Linux distributions. [22:01] hello all, quick question. where might one begin looking for the cause of a system randomly shutting down without reason? [22:06] Battle: I'd do a memtest, making sure the RAM isn't bad, another spot I'd do is do a videocard drivers reinstall or update [22:07] Battle: also look at /var/log/syslog , maybe overheating [22:08] gbit86: was 'alex' tarzeau? [22:08] gbit86: sounds awesome :) thanks for reporting back :D [22:11] Ah yes! tarzeau indeed, I guess he is known here lol. [22:12] Yea, ibus perfectly does what I need it too and I enabled it on a chromebook running galliumOS and now I can detect the caret just fine and have my keymapping occurring as needed! [22:13] 4 possible scenarios on when, how and way to run a keymap lol, but it seems like that covers everything well enough. Usually there are only 2 reasons to run a a command when trying to reset a keymap, but browsers that conflict with wordwise shortcuts was a real problem. [22:14] why* not way [22:14] gbit86: I know what you mean; I've used ^W to delete words for ~26 years, and suddenly one day firefox decided that meant "destroy the tab" instead :( [22:14] and ^U used to delete lines, but now that means "show source" [22:15] Most of the time I just need to run a command when the app category changes and to clean up any DE related shortcuts to align with the new keymap (aka albert using Ctrl+Space vs Ctrl+Shift+Space for the GUI to terminal app switching, that's a DE related shortcut that has to change.) [22:16] if I have a dir with a ton of other diretories each of these having a directory called media and I just wanted to delete that dir in each one? [22:16] gbit86: I'm really impressed you got the ibus stuff going that quick. nice. [22:16] like del /blah/main/*/media [22:17] My main goal with Kinto wasn't and isn't to fix every single shortcut myself as much as just have a usable tool for other people to use and add shortcuts to and to send me PR requests to make it more mac like over time lol. [22:18] quarupted: try something like that -- rm -r /blah/main/*/media --- but before doing this, use "echo /blah/main/*/media" to see what your shell will expand that * to mean [22:18] gbit86: good idea, getting input from others can make things pretty nice :) [22:18] sarnold well I got it up and running quickly because I just used a script with dbus-monitor lol. Had I implemented it the way I originally wanted -- in C I am sure it'd taken longer and I might still be at it lol. Right now a bash script just updates a tmp file /tmp/kinto/caret with the caret status. 1 means the caret is active and anything else means it isn't. [22:19] sarnold: I was scared to try that because I didnt want it to just delete everything cause of the wildcard [22:19] quarupted: that's a very good fear :) [22:20] quarupted: rm -i or rm -I can do some prompting; I'm not sure if it'd really be helpful, but it might be worth trying once [22:20] EriC^^ thanks, just had a quick look in there and i see what appears to be normal text, cron jobs executing and dovecot mail processing, then poof, the boot up text from me booting system up again. its worth adding this is a dedicated server [22:20] gbit86: you can always improve things over time :) [22:23] Battle: odd, maybe some cronjob is set to shutdown the pc? [22:24] EriC^^ no I have the same cronjobs since forever, they just check if a certain application is running or not and starts it up if its not [22:25] the first time it shutdown I just put it down to a random fluke, so I started it up again and found the dir / was at 99% usage. so I cleared some stuff there, its down to 78% I think atm just incase that had some impact on it. then i waited and it shutdown again after around 2hours [22:25] Battle: maybe look for the cronjobs that ran, or any sudo commands initiated, sudo grep -E "sudo.*shutdown|sudo.*poweroff" /var/log/auth.log [22:26] EriC^^ and all my cronjobs are minute ones (besides the default systems) [22:26] okay a moment [22:26] Battle: and sudo grep -E "CRON.*shutdown|CRON.*poweroff" /var/log/syslog [22:27] EriC^^ both returned no results [22:27] could it be faulty hardware? like ram or something? [22:27] Battle: do you have auditd installed and running? auditd.conf(5) can be configured to shutdown on low space remaining [22:27] I'm following this instruction right now, trying to install google chrome on my CI: https://askubuntu.com/questions/510056/how-to-install-google-chrome, I've added a bunch of -y flags to make it non-interactive, but I think I need to make `apt-key -` non-interactive too... how? [22:28] Battle: yeah try the memtest as suggested earlier [22:28] sarnold nope, and a status check states it is not-found so its not installed to start with I guess [22:29] EriC^^ oh I didn't see that suggestion I'll give that a go see what happens. this machine has been runining for quite some time with the odd planned restart to apply updates [22:29] Sorry, `apt-key add -` [22:29] the chrome deb package is the repo info + key [22:29] Battle: the usual next step is to try to see the console on the serial port or oh the monitor or something; a kernel fault in interrupt context will cause an rebootw ithout log messages saved to disk [22:30] wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb## would be enough [22:30] sarnold i've requested remote KVM , so I'll be able to see the screen itself next time hopefully.. [22:31] oerheks: Then I'm already installing wget, then I'm already doing this weird dpkg thing where I have to install it, do an install || true, and then install it again [22:31] It's like nothing in Ubuntu expects you to write automation scripts lol [22:39] Kamuela: well, you can write one, some are just too simple :) [22:41] EriC^^ memtest came back as all "ok" [22:41] hmm [22:43] Battle: how old is the box? desktop, laptop? [22:44] bprompt dedicated server and its atleast maybe 2-3 years old [22:46] so so very weird: earlier I was reporting that my touchscreen and bluetooth mice were working but my touchpad was not working. I did apt update/upgrade and installed xserver-xorg-input-synaptics-hwe-18.04 and rebooted and it still wasn't working. Then I shut down completely. Everything to the left of this was done on battery power (unplugged). Then I changed locations, plugged in, then booted up, and now my touchpad works again. I shut do [22:46] wn, unplugged, and rebooted again, and the touchpad is still working. I never got around to trying "try setting psmouse.synaptics_intertouch to 1" like in this bug report: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1794876 [22:46] Launchpad bug 1794876 in linux (Ubuntu) "Touchpad doesn't work out-of-the-box in Ubuntu 18.04.1 with ThinkPad X1 carbon" [Medium,Confirmed] [22:46] hey thanks sarnold, it seems to have gone well [22:48] when i went to irc undernet my hostname showed up, but freenode only shows my ipv6 address, how do see my ip4 address, not my LAN 192.168.1.x [22:49] Battle: the less likelyhood is software, the more likelyhood is hardware..... but what I can think offhand will be videocard drivers issue, and a reinstallation or update would help [22:49] nslookup doesnt show it what command to use? [22:50] the ip that is the external ip showing in my router/gateway modem === pinpox- is now known as pinpox [22:51] ifconfig doesnt display it or /etc files [22:51] ptah8: there are plenty of websites, including google, that will tell what your current public IP address is [22:52] i know that, there is no way linux commands to show it on the os? [22:52] no [22:52] thats strange its suppose to give that info [22:53] bprompt: Someone who wrote another image with browsers, node, AND git saved my life <3 [22:53] irc.undernet.org irc shows it lol [22:54] ptah8: Your local computer is only concerned with making a connection to the local network. Anything beyond the local network is the responsibility of your gateway/modem/router ... that would have the WAN IP address (otherwise known as a public IP address) [22:54] there is got to be a way for linux to show the public ip [22:54] yes WAN and LAN [22:54] i know [22:55] ptah8: You're WAN is managed by a device other than your "linux" machine. That device is the only device on the network that contains information about your public ip address [22:55] pragmaticenigma, there is a program that linux can have to show that right? [22:55] ptah8: No [22:56] well irc shows it [22:56] lol [22:56] that's because it is echoing from a remote server [22:57] ok [22:57] the same as if you went to a web page that tells you what your ip address is [22:57] wait yeah , netstat -ta? [22:59] "netstat" is an application to tell you what active connections are being made on the current system. It will only have the IP address of the local machine (not the public address) and the IP address of the remote system that your computer is connected to [23:01] bprompt yeah I kinda suspected it would be a hardware related thing, i better backup [23:29] Hi, my monitor is rotated to the left unless I fix it with xrandr. How may I execute the command before login? [23:33] you can configure it in Xorg.conf? [23:33] lurkashflake: you could try adding it to ~/.profile, or globally to /etc/profile.d/FILENAMEsh [23:34] with a dot okay thank you [23:34] if I log in 2 time will it rotate twice? [23:35] "xrandr --output $MONITOR --rotate right" [23:36] shouldn't [23:36] test it :) [23:37] sure! === rfm_ is now known as rfm [23:54] I have a basic question. I have a folder symbolic link with permissions 0644. What should it be instead so I can cd into it? [23:54] please explain further [23:56] ls -l === lrwxr-xr-x brandon staff ... nvim -> ~/myconfig/nvim [23:56] cd nvim === Permission denied [23:56] ^ sarnold does that help [23:57] brandonkal: wow. that's amazing. linux normally makes it hard to have a symlink with modes other than 777, eg: [23:57] lrwxrwxrwx 1 root root 18 Apr 10 2019 /etc/alternatives/vim -> /usr/bin/vim.basic [23:57] did this filesystem come from OS X or a BSD? [23:58] Maybe macOS doesn't care [23:59] the chmod(1) manpage says the kernel doesn't care about the permissions on symlinks, but I'd probably have to go reading source code to figure out if that's still true or not.. [23:59] brandonkal: how about the permissions on ~, ~/myconfig, and ~/myconfig/nvim ? are all those set as expected?