=== BrianG61UK_ is now known as BrianG61UK === zbenjamin is now known as Guest3673 === zbenjamin_ is now known as zbenjamin [01:15] does anyone have/use vmware intelligent hub/airwatch? [01:18] nope, why would we? [01:19] eh you never know, sometimes folks have excess money on their hands.. [01:19] Lol [01:20] Anybody familiar with Ghost Phisher? [01:27] hackatheos_, it might help to post a link to the project site. some people might recognize it when they see it. also you might need to pose a more interesting question to motivate more people to take the effort and type a reply. [01:33] oh I see it's about the wifi AP faker from Kali Linux. for a walkthrough, you'd probably better ask YouTube than #ubuntu. [01:34] (website: https://tools.kali.org/information-gathering/ghost-phisher ) [01:35] (probably upstream website: https://n0where.net/ghost-phisher ) [01:41] i built a new pc, msi mpg x570 gaming edge wifi mobo, amd rysen 5, and a 250gb ssd, i am trying to install ubuntu 18.04 via usb stick, and both the usb and the ubuntu i had already on the ssd get stuck in a loop, it is unable to load and im wondering if anyone can help me [01:41] keeps going back to grub menu after ubuntu loading screen (for both usb and ssd) [01:42] my only guess right now is that it is some kind of uefi settings i need to change [01:42] it is in ahci mode [01:42] naribia, step 1: check the mobo vendor for bios updates, step 2; i think you need the UEFI manual [01:42] !uefi [01:42] UEFI is a specification that defines a software interface between an operating system and platform firmware. It is meant as a replacement for the BIOS. For information on how to set up and install Ubuntu and its derivatives on UEFI machines please read https://help.ubuntu.com/community/UEFI [01:42] i just updated the mobo [01:42] oke [01:46] naribia: Ryzen had some issues that AMD putout patches that some manufactueres implimented - Kernel 5.3 (19.10) has improved the support a lot. [01:47] ubuntu 19.10? [01:48] yes, now in beta, release in a few weeks [01:49] http://cdimage.ubuntu.com/daily-live/current/ 19.10 as updated today [01:49] it exceeds 2 gb usb sticks :-( [01:49] alright, I'll give that a try [01:50] * OerHeks is going to miss the red friend of 2 gb imagination, used since 2009 [01:55] guess I'll have to look for a more lightweight live CD soon then, so I can debootstrap Ubuntu from there. [01:59] actually, can I boot the ubuntu server install image 1) with casper persistence? 2) into a just shell? [02:00] *just a [02:00] dash is fine, too [02:05] is there a way to download just the initramfs + kernel of the current beta live CD? [02:05] Sven_vB, #ubuntu+1 [02:08] thanks! [02:09] hi [02:09] dak0, hi [02:09] in xenial and bionic, is casper persistence limited to the livecd kernel or can I boot the installed versions with casper-rw overlayed? [02:12] Anyone here has GNC 1 amd gpu? [02:14] Sven_vB, livecd has no persistence, this article tells you what to do, to get it https://askubuntu.com/questions/1051543/how-to-make-a-live-ubuntu-18-04-usb-with-a-persistent-storage-of-more-than-4gb [02:14] or something like this https://www.linuxuprising.com/2019/03/create-persistent-storage-live-usb-with.html [02:15] OerHeks, right, sorry. I meant a live CD booted with "persistence" kernel param while there is a suitable casper-rw file on another ext3 partition that is available at boot time. [02:15] dak0, please ask your actual question [02:16] Sven_vB, interesting, never heard of such option exists [02:16] any url i can read? [02:17] actually now that I reread your reaction and my question, I makes me doubt whether I use the original live CD kernel. [02:18] early wubi installers asked for permission to write a /tmp file as swap, iirc [02:19] dak0, maybe; why do you ask? [02:20] ubuntu 19.10 gives me the same problem, stuck in a loop of ubuntu trying to load and the grub menu [02:22] naribia: What graphic's card do you have ? [02:22] Bashing-om: rx 580 [02:22] Good day people [02:27] naribia: No other thoughts as that AMD card's driver is in the kernel and should "just work" :( [02:28] since https://help.ubuntu.com/community/LiveCD/Persistence only mentions "kernel" those few times, it seems indeed the live CD kernel does ship with persistence by default. [02:30] no, there is no persistence part on the iso. [02:30] for me it's a mystery why then it won't offer people a little GUI to create a casper-rw on theit existing FAT/NTFS/whatever supported partition, and next time they boot their live CD, offer to boot with persistence. GRUB is mighty enough to detect casper-rw files and adjust its menu. [02:30] that would be silly, on dvd [02:30] it is all manual, as your url says too [02:30] I'm talking about kernel support. not whether Ubuntu exposes it to users by default. [02:31] even that URL mentions you can store casper-rw on a harddisk [02:31] oh i see, the kernel-module itself [02:31] yeah. whether we expose it to end users is a matter of user-friendliness. that's not my current concern. :) [02:34] I mean SuperGrub can easily be modified to enhance Ubuntu with all of the above, so now that I verified my original question was valid, let's focus on whether the installed kernel can use casper. meanwhile I found a spare machine so I guess I'll just boot it and try. [02:36] I have this newish Dell Inspiron 14 5000 laptop. I installed Ubuntu 18.04 on it and the CPUs and the fan seem to be running at max speed even though the computer is mostly idling. [02:36] How do I fix that? [02:38] Do I use Ubuntu Studio Controls?? [02:38] fans running doesn't necessarily mean CPUs are runnig max. however, if they are, it might be a good reason to have the fans run as well. :) [02:40] !lmsensors [02:40] To access CPU temperature sensors and detect fan speeds, install the lm-sensors package. See https://help.ubuntu.com/community/SensorInstallHowto for installation and usage instructions. [02:41] on bionic, my "persistence" argument seems to have been ignored. now installing package "casper", my initrd is rebuilt, so I guess I didn't have persistence support until now. === sm0rux_ is now known as sm0rux [03:01] oh of course, it needs squashfs or similar to boot from. yeah. I forgot that detail. [03:01] so it seems it's not as easy as I had hoped, to add a casper-rw overlay to a regular, installed Ubuntu. [03:02] hi [03:03] anyone use flatpak to install discord? === akemhp_ is now known as akemhp [03:05] no, use snap. [03:17] what does "ahci controller unavailable" mean? [03:26] baraba: AHCI: Advanced Host Controller Interface - required for newer hardwares - ensure you have it enabled in bios. [03:27] naribia: ^^ sorry baraba - not paying attention againtomy tabbing. === JackK_ is now known as JackK [03:28] Bashing-om: it is enabled, i am unable to boot ubuntu, keeps saying ahci controller unavailable (among other things) [03:30] naribia: Sorry - I have no direct Ryzen experience :( [03:34] OerHeks, I did use lm-sensors to get the CPU temperatures and fan speed. [03:35] Actually, something doesn't feel right about all of this. [03:36] the CPU is an Intel i7-8565U (a mobile chip), lscpu says it's running at 700 MHz, but I have air conditioning around 26 degrees celcius and the CPU temperatures are still around 65 degrees celsius. [03:36] meanwhile, the fan is running at 5.7k RPM === openface_ is now known as openface [04:02] Gusj: your post at https://paste.ubuntu.com/p/rTtFm6rs6v/ says you upgraded the BIOS from version 1.10 to 1.40. The latest version is 1.50 (select "Windows 10" OS, "Drivers & Updates" tab, "BIOS" filter at https://support.dynabook.com/support/modelHome?freeText=1200007943&osId=3333785 - a direct link is https://support.dynabook.com/support/viewContentDetail?contentId=4006302&pf=true ). i suggest you try this one instead, and retest without any [04:02] extra kernel parameters. if, after testing, it seems that the earlier bios version (1.10) worked better, consider downgrading to that. [04:04] Gusj: while on v1.50, try at least booting the ubuntu 18.04.*3* installer in both uefi and CSM modes. === james is now known as Guest78932 [04:07] tomreyn: Hi tom, When I tried updating to 1.50 I downloaded it and it gave me always an error, that the bios was wrong for the machine, even though I downloaded it several times from the toshiba and the dyna... website with the exact model of my laptop [04:07] other than that, also consider selling this laptop and replacing it by another pre-owned one which has better linux compatibility (lenovo T and P series can be a good choice). [04:07] Gusj: were you already running bios 1.40 then? [04:07] tomreyn: tried UEFI boot and CSM and the reuslt is the same [04:09] the upgrade from 1.40 to 1.50 may work while the upgrade from 1.10 to 1.50 did not. [04:09] tomreyn: no at first 1.10 and I installed 1.30, then 1,.40 with 1.50 I always got that error that it was the wrong bios for my machine somehting liek that and it excited the install [04:09] https://content.us.dynabook.com/content/support/downloads/scjev150.exe is the direct download. it contains an iso file you can write to a usb stick and boot from. [04:10] tomreyn: no I did not upgrade from 1.10 to 1.50, I went from .10 to .30, and then .40, the same order sas they appear on that toshiba page [04:10] ok, and you installed it using the iso, or using windows? [04:10] tomreyn: using windows [04:10] tomreyn: the 1.50 gave me that error [04:12] hmm, i don't know what else to try. you could file a bug against ubuntu, and then file another upstream (against linux). but really the main issue seems to be the buggy firmware. [04:12] it IS a regression though if it worked fine on earlier linux versions - did it? [04:14] tomreyn: I livedbooted Ubuntu 16.04 and it had the same problem... [04:15] Gusj: so linux never actually worked well on this system? [04:15] tomreyn: NO not that I have seen [04:16] Gusj: so then i'd say consider replacing the laptop, it's the most promising option for you. [04:16] tomreyn: Booted now without any kernel params, nd the keyboard is worse, no change of brigthness with FN key and wifi off/on and the numlock light stays ON which means it is frozen, when it has the kernel params that I wourked out at least I know it is not frozen [04:18] tomreyn: Tenagra says that this has nothing to do with the ACPI errors I se while it is booting.. do you agree that this does not have to do with ACPI, he says that because I have the correct functionality with USB mouse and trackpad [04:19] tomreyn: Those lines with ACPI bios error (bug) and the other ACPI error lines keep outputting themnselves on each TTY [04:19] well [04:20] windows was able to install on the hardware [04:20] didn't complain about anything [04:20] I'm not sure what is needed for ubuntu to work [04:21] tried both 18.04 and 19.10 [04:26] here's some more info from a picture if it helps anyone: https://imgur.com/a/IzyICoW [04:27] Gusj: you have ACPI errors about LPCB ( https://en.wikipedia.org/wiki/Low_Pin_Count ), which can translate periphals such as keyboard and touchpad conected via lagecy bus. === gry_ is now known as gry [04:30] Gusj: so your internal keyboard and trackpad seem to be connected via this legacy bus whereas usb devices connect very differently, which is why they still work. [04:30] Gusj: you could modify kernel printk to not have those errors written to the terminal, but this is just a way of hiding them. [04:30] !printk [04:30] If your !tty is full of error messages, you can raise the kernel logging daemons' log level above the default of 4 (KERN_WARNING), e.g. by running "echo 7 | sudo tee -a /proc/sys/kernel/printk". More info at https://wiki.ubuntu.com/Kernel/KernelDebuggingTricks#printk_is_your_friend [04:33] is there a way to close my laptop without having the battery completely drain out? [04:33] yes, hibernate it [04:33] i have ubuntu and i know on windows if u close the lid on the laptop it doesnt drain as much as it does on linux by default [04:33] not 'u'; 'you' [04:34] after you hibernate, your laptop uses zero energy [04:34] gry: but does it save everything in the state it was last in? [04:34] like all of my applications that are opened and stuff [04:35] yes, it does [04:35] gry: where could i set it so when i close the lid it hibernates by default? [04:35] it saves this information on your hard drive, and reads it from there the next time you start [04:35] somewhere in settings im assuming [04:35] correct [04:36] look for power management settings [04:36] gry: im there but i actually dont see anything for hibernation [04:38] please upload a screenshot to www.imgur.com (keep the delete link, since you'll need to remove it after we finish talking) [04:38] gnome-tweak-tool gives suspend option when laptop lid is closed [04:38] ^ that's what im prob missing [04:38] one sec ill get it real quick [04:39] thank you, OerHeks [04:39] !info gnome-tweak-tool [04:39] gnome-tweak-tool (source: gnome-tweaks): adjust advanced settings for GNOME - transitional package. In component universe, is optional. Version 3.28.1-1 (bionic), package size 1 kB, installed size 12 kB [04:39] ty [04:39] tomreyn: Thank you Tom trying to understand, this is so strange because the keyboard works partially, I do not understand how the kernel can see kybd and trackpad, assign Irq and then have it work partially or almost none at all [04:43] Gusj: i don't claim to understand the details either. you could try debugging those failing acpi calls https://wiki.ubuntu.com/Kernel/Reference/ACPITricksAndTips and maybe that'd get you somewhere, but i've never done it myself. TJ- may have another suggestion when you meet him aroun dhere (he's not around now). [04:43] OerHeks: i still dont see where the power management stuff would be [04:43] desktop sharing ubuntu server 19.04, when I try turn on it just turn off and not show network, remote login is on and work with ssh [04:45] tomreyn: Thank you, yes he was helping me but had to go and have not seen him since, but will explain a bit when I see him of what we have done today... [04:45] does anyone know where i can go in ubuntu in order to turn on hibernation when i close my laptop lid? [04:45] tomreyn: this is not for now as I want to wait for TJ, but if nothing else works, your solution of !printk to stops those errors from printing to the TTY, when I do '!printk' it tells me 'event not foun' [04:46] porygon-z, did you find it in gnome-tweak-tool ? [04:46] gry: yes but i do not see the option anywhere [04:47] porygon-z, https://i.stack.imgur.com/xRBQd.jpg [04:48] gry: okay so the issue was i needed GNOME tweaks instead of Unity Tweak Tool [04:48] but in power settings it only gives me the option to suspend [04:49] Gusj: when i typed "!printk" here is was just to point out that you can type this word here all by itself and get more help on it from ubottu, the channel's IRC bot. [04:49] porygon-z: suspend is very similar, but the laptop drains battery a little. to keep power in the RAM [04:49] :( [04:49] need all the battery i can get [04:49] porygon-z: what was the previous setting there? [04:50] gry: wdym [04:50] tomreyn: ok ok sorry, I opened the link from the bot, don't really understand how I could do that, I put one of those commands in the grub? [04:51] dude there's literally no option for hibernation on ubuntu 18.04 XD [04:51] Hello. I just installed Ubuntu on a USB and for some reason it is extremely slow, likely because when I test the i/o to that USB drive, it comes out at 2 MB per 3.46 seconds. Any idea how to troubleshoot this? [04:51] porygon-z: what was the value of this setting when you opened the gnome-tweaks-tool window? [04:51] it's like hidden somewhere in the realm of hardness [04:51] !printk | Gusj this [04:51] Gusj this: If your !tty is full of error messages, you can raise the kernel logging daemons' log level above the default of 4 (KERN_WARNING), e.g. by running "echo 7 | sudo tee -a /proc/sys/kernel/printk". More info at https://wiki.ubuntu.com/Kernel/KernelDebuggingTricks#printk_is_your_friend [04:52] gry: there was no menu that told me anything about power settings in unity tweak tool [04:52] i asked about gnome tweak, not unity tweak [04:52] gry: the only thing i saw was an option for suspending on close, but that was in GNOME tweaks. [04:52] was it selected? [04:52] yes [04:53] hmm. when you click at the right top and see the pop-up. click the power icon. does it have hibernate button there? [04:53] tomreyn: Thank you Tom, IF I do that command, I will still get the error msgs in the boot log, is this correct? [04:54] Gusj: yes, that's correct, it's just a way to no longer have your TTY full of error messgaes [04:54] porygon-z, i don't know why it is missing, i am new here; please wait for someone else to help you out [04:54] gry: https://imgur.com/a/VoZaZYw [04:54] :( [04:55] its all good lol [04:56] porygon-z, i guess you could follow http://tipsonubuntu.com/2018/04/28/change-lid-close-action-ubuntu-18-04-lts/ , but this is not official [04:57] gry: ive tried that in the past i feel like [04:57] im almost too lazy to try it again lol [04:57] the fact that you have to modify that file just to turn on hibernation is stupid. it probably just isnt supported idk [04:57] if it doesn't work today, someone here can help you debug it [04:58] lol they will literally fully convert me to ubuntu if they do [04:58] tomreyn: Thank you [04:58] the only reason i do not primarily use linux on my laptop is because of the hibernation shit not working [04:59] i use windows and then i have an external ssd that has my ubuntu on it XD [05:00] porygon-z: new to the conversation here, what action do you want on lid close? You want it to hibernate or to do nothing? [05:00] hibernate [05:02] and I presume that this stuff is not working?: http://tipsonubuntu.com/2016/10/24/ubuntu-16-10-auto-shutdown-hibernate-lid-closed/ [05:02] tomreyn: Tom I did 'echo 7 | sudo tee -a /proc/sys/kernel/printk' and rebooted, and the kernel error ACPI erro msgs still print/output into the TTYs [05:03] gry: https://askubuntu.com/questions/66723/how-do-i-modify-the-options-for-the-power-button i think i found something useful [05:03] ill let you know if this works [05:03] tomreyn: The ACPI Error: AE_NOT_FOUND errors... [05:05] gry: doesnt seem to work. i feel like it might have to do with my version of ubuntu [05:05] i have 18.04 [05:06] Gusj: 7 would enable *all* debug messages to go to the console rather than less. [05:07] Gusj: https://en.wikipedia.org/wiki/Printk [05:07] tomreyn: I am confused, the bot msg says "If your !tty is full of error messages, you can raise the kernel logging daemons' log level above the default of 4" [05:07] see the "logging levels" section there [05:07] tomreyn: if it is 7 it is above 4, let me see [05:08] Gusj: you're right, this messga eis nonsense, sorry about it, my mistake, since i set it. [05:09] tomreyn: no prob.. [05:09] Gusj: set it to 3, then decrease until it's gone. [05:10] Gusj: once you came up with a good value, you can edit the printk option in /etc/sysctl.d/99-sysctl.conf to make it permanent (applies after reboot) [05:10] "kernel.printk" [05:13] tomreyn: ok done, It said to uncomment the line, and the first value was 3, the lines is "kernel.printk = 3 4 1 3' I just reboot, I do not have to update somehting? [05:16] tomreyn: I rebotted and it is good Tom, thank you.. [05:17] tomreyn: I have saved all of your help in a note file to go back to it... and understand it better... [05:18] Gusj: you actually need to set those values to something which makes sense for your needs. which means you first of all need to understand what makes sense. you should only change the console_loglevel, that's the first value. [05:19] tomreyn: Yes and that value is 3, should I comment out all the other numbers or leave them as the default that were there? [05:20] tomreyn: Did not change anything, just uncommented the line, the first value was already 3, [05:21] Gusj: yes, but by setting all those four values you also explicitly set the other values. some more documentation is here (search for printk): https://www.kernel.org/doc/html/latest/admin-guide/sysctl/kernel.html [05:23] Gusj: on my system, the default kernel.printk according to "cat /proc/sys/kernel/printk" is "4 4 1 7". if that's the same on your system and you only want to change the console_printk setting (first parameter) then you'd change the sysctl setting to "3 4 1 7" [05:24] tomreyn: ok thank you I got it Tom, will comment it out and boot to see what is my default.. [05:25] tomreyn: Tom do you recommend an educational source, spoecific youtube video, YT channel, to help me get acquainted with Ubuntu, linux etc.. ? [05:27] Gusj: if you reboot now, then the values you set in /etc/sysctl.d/99-sysctl.conf will be what is returned by "cat /proc/sys/kernel/printk". however, if you run "cat /proc/sys/kernel/printk" now you'll get to see what is the current default on your system (and this current default should be the base of any modifications oyu make in /etc/sysctl.d/99-sysctl.conf) [05:28] tomreyn: Tom I typed the comm and got this===> cat: /proc/sys/kernel/printk: No such file or directory [05:30] Gusj: does findmnt /proc return anything? [05:32] tomreyn: I apologize Tom my mistake, yes the same values that came back were the defaults that were on the 99-sysctl.conf file [05:33] Gusj: okay, no problem. so you're set for now? [05:33] tomreyn: yes, will wait to see if I can speak with TJ- if you see him please say that I have not stopped working with you and tenagra, etc etc trying to find a solution.. with no luck he will remember me I think [05:34] does tzdata patch on Ubuntu 18 require reboot? [05:34] Gusj: just ping him again next time you're both online. [05:35] !YY.MM | Rembo [05:35] Rembo: Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle [05:35] Rembo: also clarify what you mean by "tzdata patch" [05:36] tomreyn: Yes I will, thank you very much for helping me Tom, I really appreciate it.. :) [05:36] Ubuntu 18.04.3 LTS \n \l [05:36] Gusj: you're welcome, even though i could not really help you much. good luck. [05:37] tomreyn ? [05:37] Rembo ? [05:41] tomreyn, i want to know if tzdata patch require reboot after patching it on Ubuntu Server 18.04.3 LTS \n \l [05:42] Rembo: also clarify what you mean by "tzdata patch" [05:43] did you install an update for the tzdata database? did you patch the kernel to modify how it handle tzdata? did you modify tzdata user space utilities? [05:47] it is a normal patch nothing custom [05:51] Rembo: if you are referring to a software / package update which was installed on your computer while using apt / a graphical software updater then you do not need to reboot to apply the changes. === Etua_ is now known as Etua === akemhp_ is now known as akemhp [07:03] what the heck... Why does installing php7.2 install apache [07:03] I already have nginx :/ [07:04] its messed a whole bunch of stuff up trying to force apache on [07:04] that's super stupid [07:07] you can always put things back as they need to be [07:08] lol.. [07:08] if I wanted apache I would install apache tho [07:08] it's in no way a direct requirement of php, 7 or otherwise [07:10] from apt show php7.2: Depends: libapache2-mod-php7.2 | php7.2-fpm | php7.2-cgi, php7.2-common [07:11] so it depends on php7.2-common and one of libapache2-mod-php7.2, php7.2-fpm or php7.2-cgi [07:11] I guess if it finds none of the three it defaults to the apache one [07:12] so if you had done for example apt install php7.2 php7.2-fpm it shouldn't include apache2 [07:26] errr [07:26] not only should all of those be available [07:26] but its not just trying to do a lib [07:27] its trying to get apache actually running [07:27] like... no [07:27] just do literally nothing [07:34] is there any way I can sync Music from ubunt to Android SD card ? [07:36] just transfer your music files to the SDcard [07:37] I guess he wants to transfer new files only. [07:37] In both ways possibly. [07:39] tatertotz: that would be an option, but it means every time I change a playlist on my computer, I need to shutdown my phone. extract the sd card, put it in the card reader and back ... [07:40] renn0xtk9: why dont you network share whatever device it is? [07:40] ponyrider: yeah how to is basically my question ^^ [07:41] renn0xtk9: well what time of device is it? like a phone? [07:41] I have tried to install som SSH server like this http://www.galexander.org/software/simplesshd/ on the Andrdoi (it is a huawei phone) But google basically lock access to the SD-Card to anything that does not use Anrdroid API [07:42] Back In the days I had a Nokia N900 phone, it was such a dream ^^ even X forwarding used to work :p [07:42] just set up samba? [07:43] renn0xtk9, You can try "lan drive" smb server on your phone, then connect to it with Nautilus or Nemo file manager with smb://phoneip:1445 IIRC. But it's a bit slow here. [07:43] why no usb? [07:43] Yeah USB too :) [07:44] you could root your phone and use adb over wifi [07:44] You need to set file permission in phone settings applications. [07:44] by USB it seems to use libmtp [07:44] and that is totally unstable [07:45] ugh i thought mtp had gone away [07:45] humpled: what can I use else? [07:46] you could email each song to yourself ;p [07:46] put it on your google drive [07:46] as akemhp points out, there are several servers available on the play store, don't know why google should have a problem with ssh in particular [07:47] humpled they lock access to SD-card it is a well known issue [07:48] renn0xtk9: so why does it have an sdcard? [07:48] renn0xtk9: at this point it seems like your phone is the real problem here lol [07:48] export: since KitKat they have put restricition on sd card usage [07:49] only apps using android api can access sd card [07:49] my theory is they do it on purpose, at the tedmeand of phone maker [07:49] renn0xtk9: so a filemanager can access the sdcard? [07:49] why would you buy a phone with 128 GB internal if you can habe 128 GB sd card [07:49] or an ssh server with sftp support? [07:49] !ot [07:49] #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! [07:50] plz keep ontopic and ubuntu related issues only [07:50] export: ssh server would create files on the sdcard via POSIX call , which are locked [07:50] the trick would be an Anrdoid app that mimic an Ssh server but that create files via Android API [07:50] lotuspsychje: well in the case they are capable of getting a working ssh server on the phone then ubuntu support is still on topic, just further away from ubuntu slightly, but i could care less so fine. [07:51] that would be one option, and my question is basically if someone knows about such thing [07:51] renn0xtk9: i can test on my phone [07:53] renn0xtk9: have you tried asking in #android? [07:55] erm [07:55] wat [07:55] you can literally get an ssh server app from the store [07:55] ;p [08:00] regarding usb , I connect my phone, I can browse the SD card and in the browser it has a path like that mtp:/Honor 9 Lite/Samsung-Speicherkarte/ [08:01] how can I copy a given file over ther [08:05] renn0xtk9: can't you just drag or copy/paste them in the file manager? [08:06] i've done that before [08:06] ducasse: I would to that If I would not be lazy [08:07] but if I have ubuntu, isn't it to script everything after all ? [08:07] ^^ [08:08] renn0xtk9: you want to do it from the cli? [08:09] ducasse: exactly [08:10] never mind this is what I said about the mtp stuff [08:10] 2 minuts I am connected [08:10] and it died again [08:10] I cannot browse it in the browser [08:10] back in the days there were smartphone that you could connect as Mass usb storage [08:10] some guy had to come with this idea of mtp ... . [08:11] and since then it never worked anymore . [08:17] ducasse do you know of anyway at least to copy over cli>? [08:18] renn0xtk9: iirc gvfs should make mtp-mounted devices available under /run somewhere [08:20] Hello guys, I been hearing rumours that Ubuntu will go ahead implementing more apps that user installs via apt-get as snaps going ahead. Is this true? [08:21] can someone help me troubleshoot high load on a ubuntu system? [08:21] i'm at load average at around 4.. 12% cpu utilization, 0.5 in I/O wait time [08:21] Highload on what? RAM or ? [08:22] Thats not bad. [08:23] borw3: we don't really know about that, we're just volunteers [08:25] zamba: atop and dstat are nice tools for seeing what's going on [08:25] htop has nicer ui but doesn't show as much as atop [08:29] borw3: what would that mean, practically? [08:30] i install everything via apt-get in any case [08:30] More ugly apps, due to snaps. [08:31] We'll probably get more and more snaps, yes. [08:32] For example if you apt-get install chromium, you get the chromium snap [08:32] wtf are snaps [08:32] !snap [08:32] Snaps are containerised software packages similar to flatpaks or appimage. For more info, see https://snapcraft.io [08:33] that's pretty fancy... [08:34] !timeshift [08:34] i am working chown and chmod - is chown usefull if i had many users ony my computer ? because right now i have only myself as user and a group that i created and there is nobody in that group except me, so my question is chown is good to use if i had multiple users correct ? [08:34] does anyone know if its possible to use option 43 or option 125 in a class in isc-dhcp? Can't seem to find any documentation on it [08:36] ikarus987: plenty of daemons have their own user account.. what are you trying to achieve though? Your question doesn't really make sense [08:36] chown is useful for me if i don't remember the numbers for chmod. but then again, maybe i should remember the numbers for chmod. [08:37] containers are a euphimism for pretending to use less resources and ending up using more resources [08:37] triffid_hunter what i am saying is chmown is change user correct ?, whats the point of changing user when you are the only user on the pc [08:37] and serverless/functions are a euphimism for pretending to use even less resources and ending up using even more resources [08:38] i just started linux yesterday :< so i am just playing with moving files and giving them permission [08:38] ikarus987: security/isolation: so your irc proxy cannot (by accident or after being broken into) read/modify your web server's files [08:39] but in principle, containers and functions (functional isolation) sound good and maybe some clever people use them to save time and money? [08:39] hello [08:39] mgedmin this is just a virtualbox [08:40] but i am curious anyways, what you mean ? [08:40] how to disable prompts for do-release-upgrade ? it seems like even if i use do-release-upgrade -p -f DistUpgradeViewNonInteractive it STILL has prompts... [08:40] first prompt is at Configuration file '/etc/ntp.conf [08:40] afaik it is a bug, but how the heck to go around it ? [08:41] im upgrading from xenial to bionic [08:43] could someone plz confirm if chown command is useful if you have multiple users? otherwise if you are the only only person using the pc then chmod is good for now [08:43] ? [08:44] ikarus987: of course chown is useful [08:45] so for me its not usefull [08:45] unless i create multiple users on that pc [08:45] correct ? [08:46] ikarus987: it is if you want to assign permissions to a daemon (system service) for example [08:46] thx another thing to google [08:47] ikarus987: it's not just for human users [08:48] so an owner can ebe a program [08:48] ok that explains it https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1796193 [08:48] Launchpad bug 1796193 in apt (Ubuntu Disco) "DistUpgradeViewNonInteractive crashes / requires interaction" [Undecided,New] [08:48] any idea how to workaround this bug ? [08:49] ikarus987: absolutely, and it often is [08:50] !permissions | ikarus987 read this [08:50] ikarus987 read this: An explanation of what file permissions are and how they can be manipulated can be found at https://help.ubuntu.com/community/FilePermissions [08:51] thanks alot [08:52] ikarus987: also this - https://wiki.archlinux.org/index.php/File_permissions_and_attributes#Changing_ownership [08:52] leeyaa: didn't you say yesterday in #ansible that you found a workaround for this? [08:52] mgedmin i thought so lol [08:52] it worked on a few systems, but they had no ntp conf [08:53] augh?!?!? [08:53] currently i am trying on a system where i manually deleted ntp config [08:53] see how that goes [08:56] nope now it got stuck at /etc/sysctl.conf [08:56] leeyaa: did you see that comment about a 5 second sleep before it gives the automated answer? [08:56] also how come --force-confold didn't help??? [08:57] i think i didnt use --force-confold on this system [08:57] going to try on next [08:57] i need to upgrade like 300 vms [08:59] that sounds fun! [09:00] i will check it out after lunch break [09:00] I always thought people who had hundreds of VMs treated them as disposable and would just create new ones using some kind of automation [09:01] mgedmin i cant just recreate our db vms [09:01] that will take more time [09:01] even with automation. === L30_ is now known as bipul [09:15] greetings, how do I fix "configure: error: Your OpenSSL installation is misconfigured or missing" when I have openssl, libxml2 and libxml2-dev already installed [09:19] Hello, can someone help me, how do I see a log of this chat as I had help already that I want to go back and look at [09:20] !log | Guest_8 [09:20] Guest_8: 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/ [09:23] !log | Guest_8 [09:23] Guest_8, please see my private message [09:25] which log is for here? is it #ubtunu+1 [09:26] Guest_8: #ubuntu [09:26] should be called #ubuntu [09:27] I can't see that in the list [09:27] should #ubuntu.txt [09:28] ah i have it thank [09:29] which file do I need to point ecryptfs-recover-private at to recover my home dir? [09:29] I did manage to do this, but have not been able to do so again [09:31] Guest_8: iirc /home/youruser/.ecryptfs/private or similar [09:33] ok with that i get an error saying [09:33] Error: Unwrapping passphrase and inserting into the user session keyring failed [-5]Info: Check the system log for more information from libecryptfs [09:34] Guest_8: i had similar problem [09:34] let me find it on my disk [09:34] do a "keyctl link @u @s" [09:35] i'm not sure how this reflects the system vault [09:36] Guest_8: are you really asking for support with recovering your same ecryptfs here for the third time in three days? :( [09:37] yes sorry, I have managed to do it now [09:38] do take notes this time, please (remember, i suggested it last time you asked, too). [09:38] for some reason it doesnt let me recover it with the login phrase only the mount phrase [09:38] I still can't boot though [09:40] Can i not delete things now the directory is mounted in tmp/some_name [09:41] Guest_8: you can't boot? what happens when you try? [09:42] you can backup the contents of your home directory, remove the ecryptfs, then move them back in place [09:44] when I boot it stalls, ususally when there is text on the screen saying [ok] starting display manager (or something) [09:47] so this should be a separate issue. once you've backed up your data and removed the ecryptfs (http://manpages.ubuntu.com/manpages/disco/en/man1/ecryptfs-setup-private.1.html -> ecryptfs-setup-private --undo), boot to recovery and post the output of journalctl -b -1 | nc termbin.com 9999 this should post the last system log from when you last booted this system (i.e. where it booted normally and got stuck) [09:48] !recovery | Guest_8 [09:48] Guest_8: If your system fails to boot normally, it may be useful to boot it into recovery mode. For instructions, see https://wiki.ubuntu.com/RecoveryMode [09:51] thanks tom [09:51] I will now backup the data on an external hdd and try those steps [09:52] the easiest way to backup is to create a tarball. [09:52] !backup [09:52] There are many ways to back your system up. Here's a few: https://help.ubuntu.com/community/BackupYourSystem , https://help.ubuntu.com/community/DuplicityBackupHowto , https://wiki.ubuntu.com/HomeUserBackup , https://help.ubuntu.com/community/MondoMindi - See also !sbackup, !borg, and !cloning [09:55] I'm trying to transfer some files from laptop A (16.04) to laptop B (18.04). But A is not able to create or copy files onto my NTFS external usb drive, wheras B is able to create files on it. What's wrong with A? [09:56] I am having a problem with enabling sddm with sysctl: [09:56] Synchronizing state of sddm.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable sddm. The unit files have no installation config (WantedBy, RequiredBy, Also, Alias settings in the [Install] section, and DefaultInstance for template units). This means they are not meant to be [09:56] enabled using systemctl. [09:56] maybe package ntfs-3g is needed multifractal [09:56] Why can't I enable it? [09:57] sysctl and systemctl is different. [09:57] i meant systemctl [09:57] herbert__: oh okay. [09:57] multifractal: have you determined if read AND write is possible with the current kernel configuration? [09:59] i have an externall hdd connected and i thought I would backup using this command cp -r * /media/ubuntu/data [09:59] i am getting some errors though, is this an issue or should i ignore it [09:59] cp: cannot create symbolic link '/media/ubuntu/data/ben/Link to Philip K. Dick (All Chaptered)': Operation not permittedcp: cannot create symbolic link '/media/ubuntu/data/ben/Link to William Gibson (All Chaptered)': Operation not permittedcp: cannot create symbolic link '/media/ubuntu/data/cheat.sh/share/firstpage.txt': Operation not permitted [10:02] humpled: package is present export: how is that determiend? [10:02] Guest_8: how is the external HDD formatted? e.g. NTFS or VFAT do not support symlinks [10:03] I thnk FAT [10:03] Guest_8: if you want your backup to be complete, you'll have to use tar instead of cp (or reformat the external HDD as ext4) [10:03] i think i will reformat then thanks [10:03] the more annoying parts are NTFS/VFAT not allowing : in file names (<-- why I reformatted my external HDD to ext4) [10:06] Guest_8: better use cp -a instead of just cp -r === BrianG61UK_ is now known as BrianG61UK [11:06] My ubuntu (in docker) has no modprobe command . how can i fix it? Direct apt-get does not seem to work. [11:07] whereis modprobe [11:09] !info kmod [11:09] kmod (source: kmod): tools for managing Linux kernel modules. In component main, is important. Version 24-1ubuntu3.2 (bionic), package size 95 kB, installed size 259 kB [11:09] yhm12345: your "ubuntu (in docker)" ism probably not a standard ubuntu installation as we'd support it here [11:10] ah [11:10] but how can i install it >_< [11:11] oh,i get it [11:11] ubuntu? you can download it at https://ubuntu.com/download [11:11] tomreyn: thank you. [11:11] ubottu: thank you too [11:11] yhm12345: I am only a bot, please don't think I'm intelligent :) [11:11] you're welcome [11:14] yhm12345: if you need extra modules in a container, you'll need to load them on the host [11:19] hello [11:20] would like to put Tor Expert Bundle on Ubuntu 18.04.3 LTS [11:20] Hey folks [11:20] hello [11:20] !ppa | lovetolearn [11:20] lovetolearn: A Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge [11:23] very interesting. will revisit after i rest up [11:23] later guys. thanks for the help. [11:23] Can someone maybe help me? I've installed ftp-upload and I'm trying to use it but get errors. [11:24] not like this, no [11:24] ftp-upload: error storing wp_d2rak.tar.gz (421 [Net::FTP] Connection closed) send() on closed socket GEN0 at /usr/share/perl/5.22/Net/FTP.pm line 509. ftp-upload: error logging out from 91.123.204.8 (421 [Net::FTP] Connection closed) [11:26] robertparkerx: looks like a lost connection due to network issues. [11:27] also ftp is a terrible protocol which you shouldn't be using in 2019 if you have a choice. [11:27] It was a backup plan [11:27] We were using rsync and ssh [11:30] why the downgrade? [11:35] connection issues xD [11:36] you prefer ftp over rsync due to unstable network links? [11:37] No I just had to find a solution [11:37] I don't prefer it at all. [11:38] I'm using the local addresses and downloading onto RDP and then back onto live. [11:41] bittorrent can be another way to get large blobs across unstable links. [11:42] and zsync [12:20] is there a way to reduce the amount of times I have to type in my password? If I just typed it in big chances are that it is me again 10 minutes later [12:24] Vooloo: you can change the timeout settings in sudoers.conf - use visudo to edit it. bearing in mind that you should only be using sudo infrequently (except perhaps when first setting a computer up) and the timeouts are where they are for your own security, it's not really advised to change it. http://manpages.ubuntu.com/manpages/trusty/man5/sudoers.5.html [12:27] Vooloo, or scroll down to "Never Ask for a Password" here, https://www.howtogeek.com/116757/8-ways-to-tweak-and-configure-sudo-on-ubuntu/ [12:29] Cheez: does that affect the gui too? [12:33] I do not know, I don't use a gui I'm afraid. [12:37] it depends the gui where sudo is used, which is hardly so nowadays. more likely, policy kit is used there, where the timeout is hardcoded to 5 minutes (at least upstream, i'm not sure about ubuntu). [12:58] /usr/bin/ld: /usr/lib/x86_64-linux-gnu//libpthread.so.0: undefined reference to `__libc_vfork@GLIBC_PRIVATE' [12:58] https://bugs.launchpad.net/ubuntu/+source/libc/+filebug oopss [12:58] so report here [12:59] it also breaks qtcreator https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1846222 [12:59] Launchpad bug 1846222 in qtcreator (Ubuntu) "__libc_vfork not found in libpthread.so.0 for clangbackend" [Undecided,New] [13:06] anyone alive here? [13:07] !crosspost | KOLANICH [13:07] KOLANICH: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support. [13:10] anyone know how to conserve battery on a laptop that has ubuntu 18.04? i close the laptop lid while batery is at 100% and i wake up to find it at 36% :( [13:11] put it on AC while you sleep [13:11] tomreyn: how [13:12] take power plug. user power plug with outlet in wall. [13:13] or just power if off while you sleep. [13:13] tomreyn: that's a shit solution lol [13:13] what's the point of a laptop if i need to keep it plugged in all the time? [13:15] not all the time, just while you're asleep. but this is just about how you use your laptop, not really an ubuntu support question. unless your battery is young and it draws more power while suspended than you expect? [13:16] tomreyn: no my battery lasts a very long time on windows. [13:16] just have problems with ubuntu [13:16] while reunning off battery, or while suspended to ram? [13:18] when i close my laptop lid and it suspends [13:20] try this: reboot, boot to desktop, login, suspend, wait a minute, return from suspend, post the systemd journal: journalctl -b | nc termbin.com 9999 [13:21] porygon-z: actually, before oyu do this, make sure the system is fully updated, including the bios. [13:24] !crosspost | porygon-z [13:24] porygon-z: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support. [13:29] sorry im back now lol [13:54] I have universal access turned off [13:55] but the built in on screen keyboard keeps popping up [13:55] how do I kill this madness? [14:05] cluelessperson: what does gsettings get org.gnome.desktop.a11y.applications screen-keyboard-enabled say? [14:15] Hi all. I'm running "sudo -u root sudo -l -U otheruser" on two (AFAIK) identical machines. Machine A works, but machine B just returns rc=1. [14:15] If I run "sudo -u root sudo -l -U root" it works on both machines. [14:15] otheruser exists on both machines and has sudo on both machines. [14:17] Has anyone seen this before or know where to begin debugging it? [14:18] If I simply run "sudo -l -U otheruser" as otheruser, then it works on both machines. [14:18] (But that's not how Ansible runs stuff.) [14:20] Same version of sudo on both machines and same version of Ubuntu. [14:20] Kim^J: does running 'sudo -l -U root' as otheruse produce identical output on both machines? [14:20] mgedmin: Nope, it works on machine A, but not B. [14:21] So... Something on machine B prevents listing sudo privs on other users than themselves. [14:22] compare /etc/sudoers and /etc/sudoers.d/* [14:22] normally there's a 'root ALL=(ALL:ALL) ALL' in /etc/sudoers, I suspect it may be missing on machine B? [14:23] mgedmin: They are near identical. One has defaults maxseq=200 and both have a "user can run command via sudo" specs for two different users. [14:23] root ALL=(ALL:ALL) ALL is present in both [14:27] * mgedmin is out of ideas [14:28] Yeah, me too. [14:49] it's strange that it returns 1 w/o any error message. [14:51] try adding --non-interactive to ensure it's not about unplanned interaction attempts. [14:55] Sven_vB: Then it just says sudo: a password is required on both [14:57] you could strace it to try and infer a reason from what it tried to do shortly before exiting 1 [15:01] permisi ganteng [15:16] op delivers: i asked a few days ago how to find out what an icon on the top bar belongs to, and some folks gave me tips to file a comment on the gnome bug tracker: https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/191. Turns out it's Quassel's status update icon :) [15:17] mgedmin, it says "false" [15:18] mgedmin, also, it's not reliably popping up, just pops up sometimes. hard to reproduce. [15:19] hi people. How can I make a service in wsl? I'm on ubuntu 19.04. I figured out that the system didn't use systemd (after I wrote my unit file) [15:19] * mgedmin scratches head [15:19] !wsl | ExeciN [15:19] ExeciN: Windows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide [15:23] mgedmin, yeah, I'm confused too. I don't know how it works either. [15:23] ExeciN, EW, WSL [15:24] I see WSL as microsoft trying to edge in on the linux market [15:24] I see WSL as WSL [15:24] Just look at the name. "Windows Subsystem" (for Linux) [15:24] it's meant to put linux second. [15:25] cluelessperson, regardless, not really support related. [15:29] PID 1 is /init Is it safe to assume service scripts should go to /etc/init.d/ ? [15:31] ExeciN, WSL is still not supported here, try #ubuntu-on-windows [15:35] I already asked there. Anyway, I'm talking about an official ubuntu download ( https://cloud-images.ubuntu.com/disco/current/disco-server-cloudimg-amd64-wsl.rootfs.tar.gz ) === SimonNL is now known as SimonNL_Afk [15:39] It's official, but not supported on this channel. [15:40] ah ok [15:40] WSL is a very different beast, and most people here won't be able to help you with it === Burek is now known as Guest5596 === BurekF is now known as Burek [15:57] Hi I have moved my home directory to a fresh ubuntu install. I havent done this before, how do I make any installed programs usable like before if they were installed in the home dir [16:01] i don't think any of program is installed into home dir [16:02] they keep their configs there often tho [16:03] ok so how about things like thunderbird, can i tell thunderbird to look for my data somewhere [16:03] hmmm now that i think of some may go into $HOME/.local [16:04] Guest_8: thunderbird and many other programs will just look for their configs in your home dir [16:04] so if you copied it there ,it's all good === Burek is now known as Guest13035 [16:05] oh because it doesnt seem to see that it is mine [16:05] wierd === BurekzFinezt is now known as Burek [16:05] it hasnt loaded the old accounts i had set up [16:07] For thunderbird specifically, could it be loading the wrong profile? [16:07] I guess so I dont know === SimonNL_Afk is now known as SimonNL [16:21] Hi. How can I make my machine stop swapping? I don't need a swap and accidentally created one that seems to be thrashing. [16:23] Can I "turn off" swap is what I'm asking, I guess. [16:23] apawl: https://serverfault.com/a/684792 first result on google for "ubuntu disable swap" [16:24] Will give that a shot. Thanks. [16:30] Hello, How can I execute an deb file from samba shared directory? [16:31] emanoelopes: what do you get when you try? [16:33] leftyfb file not found. But the file is there. [16:34] The scenario: i'm running an script from a samba directory and i put an deb file on that directory to complete the last pass of my installations steps. [16:35] emanoelopes: how are you trying to open it? [16:35] sjd [16:35] h [16:35] shd [16:35] ucdavis.edu mirror for 18.04.2 is 404 [16:35] 18.04.3* [16:35] sorry, sudo dpkg -i package.deb [16:35] URL: http://mirror.cse.ucdavis.edu/releases.ubuntu.com/18.04.3/ubuntu-18.04.3-desktop-amd64.iso [16:37] i put the file at the same directory of the script. Should I copy the deb file to my computer? === Etua_ is now known as Etua [16:44] How can I run deb file from remote samba share? [16:45] emanoelopes, usually .deb files are program packages. you'd usually install them, using sudo dpkg -i some_package.deb [16:45] emanoelopes, it might be safer to first copy them, in case network is shaky. [16:46] Sven_vB how to copy from a shell script. This deb file is the last line. [16:48] I'd like to see the entire shell script. can you paste it on https://paste.ubuntu.com/? [16:49] well, if it's less than 800 lines :) [16:49] otherwise it's probably a shell-wrapped installer blob [16:51] however, in general, how to copy depends on the kind of source description. if it's a regular file path on a mounted file system, you can use the "cp" command. for URLs, curl or wget may help. [16:52] for UNCs, smbclient or smbfs [16:53] is alt-` used by most people or do you remap that to alt-tab (switch app) [16:53] https://paste.ubuntu.com/p/kNSJgB5b9M/ [16:53] greetings [16:53] johnjay, which keyboard layout? [16:53] Sven_vB: idk, whatever the default is when installing ubuntu [16:54] alt-tab switches apps but *not* windows inside an app. like firefox windows [16:55] emanoelopes, what's that script even supposed to do? it's not very well-made. [16:55] Sven_vB: i'm in settings but i don't see keyboard layout as an option [16:56] johnjay, oh ic it's probably about Unity. no idea about that. :) you can select other window managers if you prefer. [16:56] how do I tell what window manager I'm using? === gry_ is now known as gry [16:56] johnjay, if you don't know, it's likely Unity. [16:57] ok so my usb webcam has stopped working today; what should I use to figure out why? dmesg? how do I figure out what device id it is? [16:57] johnjay, you could also install "wmctrl" then ask it "wmctrl -m" and it will show info about your WM. [16:58] kenperkins, tail -f syslog, then plug it in, see what it's detected as. [16:58] err, /var/log/syslog unless you happen to be in /var/log. [16:59] Sven_vB I tried: smbclient '\\server-ip\directory' --user=username --command='sudo dpkg -i mongodb-org-server_4.2.0_amd64.deb' [16:59] Sven_vB: ok thanks. i tried changing input language to English UK in the Region & Language setting but that doesn't change the keyboard layout [16:59] 123!@#$%%^^ [16:59] oops [17:00] emanoelopes, that won't work. you need to copy the file so it is a regular local file. then run your command locally on the local version of the file. [17:01] @Sven_vB this kind of thing? "event25 - HD Pro Webcam C920: is tagged by udev as: Keyboard" [17:01] there's quite a bit more, unplugging it and plugging it back in resolved it [17:01] kenperkins, yes looks good [17:01] kenperkins, nice! [17:01] but now I want to know why it keeps stop working [17:02] kenperkins, could be some physical influence like heat, vibration, cosmic rays, that made the internal electronics fall over their feet so they needed to be powercycled. [17:02] Sven_vB thanks, I'll try to copy that deb file. [17:02] ... [17:03] does it happen regularly, even reproducibly? like it's never detected at startup if it was already connected at startup time? [17:04] it hadn't happened since I installed ubuntu a week+ ago, and I've used it multiple times a day since then for work calls [17:04] today, it has crashed 2+ times (requiring unplug/replug) [17:05] you could also check the syslog next time it crashes, maybe there is some anomaly just moments before the crash. [17:05] yep, i'll keep them tailing for now [17:05] mostly, didn't know the right place to watch [17:05] (tailing dmesg as well) [17:05] use -F then so tail will follow on rotation [17:06] oh that's smart :) [17:06] the even smarter way would be systemd tools, I think something like journalctl --follow [17:09] you could also check which kernel modules drive the cam, and test whether removing them and adding them back fixes the problem as well. in that case it will be likely it's a driver problem, not hardware. [17:10] in case of hardware problem, consider checking USB power supply stability. [17:11] I had a setup once where thumbdrives were reset each time I connected the pointer device because the peak was just a tiny bit too much for the USB port that had to power all devices on a USB hub. [17:16] hey I'm getting a ton of "Temporary failure in name resolution" on 19.04 suddenly [17:16] It's gone from once every so often to consistently happening [17:23] jrgilman, looks like you need better name servers [17:23] 1.1.1.1? [17:24] I don't believe this is a dns issue [17:24] well on the DNS side [17:26] reboot fixed it for now i guess [17:29] does anyone know how to properly use the whois command? [17:29] I want to resolve IPs to ASNs [17:32] erm [17:32] hrm, ubuntu 19.10's bluetooth fails to pair with airpods [17:32] really want to resolve a hostnames CIDRs [17:33] which I can do with peval 'as...' [17:33] but I'd like to get them from a hostname like `google.com` [17:33] but I don't understand the format of the whois queries [17:34] ash_worksi: where are you stuck? [17:37] sarnold: I mean like `whois -h whois.cymru -- -v "$(dig +short "${host}")"` will show the ASN [17:37] but I was hoping to get JUST the asn [17:38] and then pass that to `whois -h whois.radb.net -- -i origin "AS${asn}"` to get the associated CIDRs [17:40] sarnold: it just feels like if I knew how to really create the queries (I don't right now, I just rip them off of SO) then I could just pass an IP and get all the CIDRs... or at least get the ASN alone without all the other jazz that comes with it [17:41] ash_worksi: ahhhhh. I see. I've always heard that after all the whois databases were split up among the different authorities that they report things in different formats.. I've never tried automating these things, I've only ever read the full output :( [17:41] sarnold: this is true; in fact the query format is also different [17:41] sarnold: for example, the same flag for cymru doesn't work on radb [17:42] but really I don't know the syntax for performing queries at all [17:43] ash_worksi: hmm. can you pop into #powerdns on irc.oftc.net? :) I'm curious about this now, and that group feels quite likely to know how to help you :) [17:44] oo, I can get rid of the header with `-f` [17:44] sarnold: in a bit [17:44] I think I might be on to something === BurekF is now known as Burek [18:05] Ubuntu 18.04.3 The synaptic package manager has quit opening after typing password the screen reverts to the background..Added the button to the panel still no opening of synaptic [18:08] texla, does it print any errors when started from the command line? [18:13] lordcirth_, No protocol specified [18:13] Unable to init server: Could not connect: Connection refused [18:13] (synaptic:5608): Gtk-WARNING **: 13:12:54.395: cannot open display: :0 [18:14] texla, that sounds a lot like you tried to open synaptic on a machine with no x server... [18:14] texla, you sure that terminal was a local one, not ssh? [18:15] lordcirth_, This is local and has worked for quite a long period of time [18:16] Hi, I have three different gpu's on my laptop, and I think the machine gets confused ast to whch one to use at startup because most of the time when I try to login I get stuck in a loop where it tries to login then just refreshes the login page. i.e. no error message [18:16] texla, what does 'echo $DISPLAY' print? [18:16] trying to reboot is like playing three card monty. I just keep trying and eventually I get in [18:17] iffraff, why do you have 3 GPUs, what are they, and which one do you want to use on startup? [18:17] :0 [18:18] so, i have a laptop with onboard intel and descrete nvidia, but they wont run two 4k external monitors so I have a egup running amd over thunder wire. [18:18] WHat I want is to use the egpu whenever it's plugged in. [18:19] lordcirth_, echo $display ..shows a blank [18:20] texla, not $display , $DISPLAY [18:20] shells are case-sensitive [18:21] lordcirth_, :0 [18:22] texla, that's interesting, because mine is ":0.0". Try 'DISPLAY=":0.0" synaptic' [18:22] texla, alternatively, can you launch other graphical programs from this same terminal? [18:24] lordcirth_: thoughts on my login nightmare? [18:25] iffraff, nope, sorry. Never used multiple GPUs [18:26] ok, thx is there another group you might suggest? [18:26] Here is fine; someone else should know [18:27] lordcirth_, $DISPLAY=":0.0" synaptic [18:27] :0=:0.0: command not found [18:27] updates and firefox and others working [18:28] texla, you put a $ on DISPLAY [18:28] what do you suggest, I often find that once one person answers there's no one else around. should I just repost in a little bit? like 20 minutes [18:28] iffraff, 30min or so, and with all the relevant info on one line [18:29] well, it doesn't exactly fit on one line, but maybe at one time? [18:29] One message, that is. [18:30] lordcirth_, Gtk-Message: 13:29:23.609: GtkDialog mapped without a transient parent. This is discouraged. [18:30] texla, that's generic spam, that's normal [18:30] texla, what's your uptime? [18:31] thx lordcirth_ [18:33] lordcirth_, Approximately 30 minutes opened updates and downloaded opened firefox and facebook then tried to open synaptic [18:33] texla, were there a bunch of updates? [18:34] If there were kernel or graphics updates, it would be best to reboot. [18:34] lordcirth_, no 1.1 mb [18:36] lordcirth_, no kernel updates not sure about graphics will try to rebooting [18:50] Hi! I need help installing Nvidia driver and Cuda for my 970 on Ubuntu 18.04. [18:51] I was following this link: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html [18:51] I've installed 19.04 minimal - how can I install the default applications that comes with the normal experience? [18:52] highfiv3r, install ubuntu-desktop [18:52] I purged all cuda and nvidia packages and then proceeded with package manager installation as shown: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#ubuntu-installation [18:53] Everything finished OK, without errors, so I went ahead and restarted the PC. [18:54] ioria, its installed - reinstall? I want the calendar, contacts etc adding to this installation [18:58] highfiv3r, and you don't have the calendar in the top bar ? [18:59] So, I can access nvidia-smi, but I can't access nvcc. [18:59] Why the hell it didn't install the toolkit? [18:59] ioria, I have that, gnome desktop. But I chose the minimal desktop install but looking to add the default gnome applications from the other install option [19:00] I thought there would be an easy install 'group' for these apps but can't find anything online [19:02] highfiv3r, the meta-package is 'ubuntu-desktop' .... is , for example, Totem installed ? [19:02] nope [19:03] highfiv3r, dpkg -l | grep totem [19:04] highfiv3r, what's the output ? [19:04] https://paste.ubuntu.com/p/Whz4TPs7Z8/ [19:04] highfiv3r, sudo apt install --reinstall ubuntu-desktop [19:04] I tried re installing the meta-package to no effect [19:04] I have a need to (temporarily) set my system date into the future. However, when I use date -s, it acts as though it has set the time, but if I run date without arguments immediately after that it shows the correct time rather than the one I need it to be. [19:04] I'm using bionic, and ntp is not installed. Can anyone advise what is doing this? [19:05] tiaz, probably systemd-timesyncd [19:05] ioria, https://paste.ubuntu.com/p/SZhwBtcdys/ [19:06] lordcirth_: ah, good spot, thank you [19:11] highfiv3r, dpkg -l | grep gnome-shell [19:12] ioria, https://paste.ubuntu.com/p/w5NrBpXRqV/ [19:14] highfiv3r: you may want (but check the output before you confirm, and yes the ^ is no typo): sudo apt install ubuntu-desktop^ [19:15] tomreyn, yep spot on [19:16] thanks both for your time [19:16] Ubuntu 18.04.3 Why does synaptic package manager open in gnome xorg but not in gnome ? [19:16] you're welcome. [19:16] ioria, ^ [19:17] ok [19:17] texla: what's "gnome xorg" vs "gnome"? [19:18] tomreyn, de's [19:18] texla, maybe you mean wayland [19:21] ioria, at login I can choose between gnome,gnome classic.gnome xorg when I choose gnome synaptic will not open after password it changes to background [19:21] texla, if you run it from terminal ? [19:22] iora same problem [19:22] texla, ok, but what's the output ? [19:23] iora cannot find file [19:25] is it possible to use wide-dhcpv6-client along side isc-dhcp-clinet? [19:25] nmrh, why would you want to run 2 DHCP clients? [19:26] pd to subnet a 60 [19:26] wide-dhcpv6 will do this [19:26] isc-dhcp idk... [19:26] still need a ipv4 address... === ben_r_ is now known as ben_r [19:27] i can't seem to get isc-dhcp to stop picking up an ipv6 address... [19:32] or does wide-dhcpv6-client support ipv4 as well? [19:44] Hi, has anyone experience their mouse just dropping something you just copies in random places of an open text file? [19:44] I'm seriously looking my mind. [19:45] at first I thought it was my ide, ( text editor ) but then I saw it drop into the cli, so I think it's something ... bigger [19:47] iffraff, sounds like your mouse is randomly middle-clicking [19:48] That can happen as switches wear out [19:50] lordcirth_: hmmm, well, I guess I can buy that. simpler than some government conspiracy I was leaning towards. Thanks for the tip [19:51] So how do I stop ubuntu from locking my screen when in fullscreen mode on anything? [19:53] Vooloo, system settings -> brightness & lock - depends on exact Ubuntu version... or so you mean ONLY when in fullscreen ? [19:53] Only fullscreen 18.04 [19:56] funny, i removed isc-dhcp-client (broke my internet connection), set a static address in /etc/network/interfaces, brought up the interface and it came up with an ipv6 address [19:57] is the ipv6 address cached someplace? [19:58] is "Block third-party cookies" enabled in Chrome for Ubuntu by default? [19:58] Greetings everyone [19:59] I'm trying to run ssh-copy-id, and at the end when its asking for the user password.. Getting /bin/sh: No such file or directory [20:00] When I check my echo path, getting: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games [20:00] Skyrider, o_O are both sides Ubuntu? [20:00] both sides? :p I can't run this command locally on the same machine? [20:01] Skyrider, well, you could. Are you? [20:01] I am [20:01] So you are running 'ssh-copy-id localhost'? [20:01] user@ip actually. [20:02] Skyrider, if you just use 'ssh' instead of 'ssh-copy-id', do you get a shell? [20:03] Getting the lovely welcome message, /bin/sh: No such file or directory and then connection xxx closed [20:03] Skyrider, ok, and are you ssh'ing to and from the same user? Is it a normal user? Not root or a system user? [20:04] Just a normal user, though with its own custom directory and locked into that directory. [20:05] "locked into" how? [20:06] Using ChrootDirectory [20:06] If you prevented the user from accessing /bin, well then it's not being to be able to access /bin/sh, is it? [20:06] I assume its best to move the files manually then? [20:07] The keys? That might be easiest. [20:07] kk ^_^ [20:07] But that still won't get you a shell [20:08] Its a web content user, no shell needed. [20:08] What's the ssh for, then? [20:09] Merely to copy over the keys the easy way. [20:10] Thanks btw :) [20:10] no problem [20:28] Appears to work now :D [20:28] Filezilla doesn't seem to accept ed25519 though.. shame. [20:33] hi i have a folder on desktop i went into that folder using terminal and in there i see a file called file.txt so i did " mv file.txt Desktop" my file is gone but it is not on desktop, where did it go ? [20:36] probably the file.txt is now just called "Desktop" (renamed) and is in your folder? [20:37] hmm hold on actually i do already have a file called Desktop beside that file.txt in that folder [20:37] gonna remove it [20:37] and try it again [20:37] mv file.txt ~/Desktop [20:38] ahh lol [20:38] i am renaming it [20:39] free_speech then why i get error when i do [20:39] mv file.txt file2.txt [20:39] says no such file directory [20:40] if wanna rename that [20:41] no error-message just says "error" ... [20:42] ... how is this is a rename command "mv file.txt Desktop" and this is not "mv file.txt file1.txt" [20:42] when i do the second command i get no such directory [20:42] !enter [20:42] Please try and keep as much of your info as possible on ONE line - easier to follow for everyone. [20:43] ikarus987: that's because there is no such file or directory [20:43] man this community is not for dummies [20:43] ikarus987: "mv file.txt Desktop" moves the file called file.txt to a file called "Desktop" in the same directory because you did not specify a path [20:43] could someone please post me an article about this mv command [20:44] ikarus987: I just explained it to you [20:44] ikarus987: mv will move files. To other locations or other filenames [20:45] leftyfb it renamed it [20:45] my file is now called Desktop [20:45] of course there is no such file or directory ... you try to rename a file.txt (which is already renamed to "Desktop", hence why "file.txt" does not exist anymore) [20:45] when i do that [20:45] ikarus987: yup, which is exactly what I explained above [20:46] ikarus987: mv Desktop ~/Desktop/file.txt [20:46] ohhhhhh [20:46] ikarus987: that should fix your issue [20:46] i am so dumb [20:46] :( sorry [20:47] there's also mv --help and "man mv" if you have package man-db installed [20:47] see how dumb i am, i am network engineer and yet ask stupid questions and i cant promise i will stop being this stupid [20:47] ikarus987: It's pretty simple. mv will move files. To other locations or other filenames(also other filenames in other locations) [20:50] leftyb thx so there is no such thing as rename [20:50] in linux mv is used [20:51] for moving and renaming [20:51] ikarus987: there is. But unless you need it for some crazy bulk renaming, it's not necessary. mv works just fine [20:52] https://help.ubuntu.com/community/UsingTheTerminal#File_.26_Directory_Commands [21:35] I have a Ubuntu 18.04.3 VM. After a reboot I have to ssh in with password before keybased login will work. Is this expected? [21:37] yes, this is by design, you can setup the ssh server with key auth, then set passwordless, and fiddle with root access. [21:39] I have key auth setup on 15 other VMs and never have to use password [21:39] Just this one box after every reboot I have to login with password before key login will work, and key login continues to work till next reboot [21:46] dabbill: how did you install this one? how were the others installed? how did you configure your ssh authentication keys on this VM? [21:46] tomreyn: these are all VMs running on Proxmox at my house. I installed all of them, and did the SSH key setup my self [21:47] you answered several questions, but none of those i asked [21:48] tomreyn: I think I found the issue [21:48] I think I setup encryption on my home folder for this instance [21:48] there is a .Private mount point [21:48] do you thing that this bug will be fixed soon? https://bugs.launchpad.net/ubuntu/+source/gnome-calendar/+bug/1731628 [21:48] Launchpad bug 1731628 in gnome-calendar (Ubuntu) "Cannot add caldav calendar" [Low,Confirmed] [21:49] and why it is flagged as "low"? [21:53] vladoski, as nobody wants to fix it, https://www.reddit.com/r/gnome/comments/ck000w/whats_the_status_of_caldavcarddav_support/ [21:56] vladoski: i don't think the developers of this gnome component have migrated existing open bug reports on their bugzilla.gnome.org bug tracker, which they are retiring, to their gitlab.gnome.org bug tracker, yet. maybe they never will. and it is my impression some of the projects don't handle bugs on the bugzilla anymore. so you may need to recreate those bug reports on gitlab (and update references) instead. [21:58] i'm not sure whether gnome-online-accounts is the correct project there (it can be), but those would go to https://gitlab.gnome.org/GNOME/gnome-online-accounts/issues [22:03] !ecryptfs | dabbill [22:03] dabbill: EcryptFS is a file system encryption. It is deprecated since Ubuntu 18.04 LTS, see bug 1756840 for details. Use full disk encryption (dmcrypt-luks) instead. [22:09] That's odd.. [22:09] usePAM is causing Job for ssh.service failed because the control process exited with error code. [22:12] Skyrider: it will probably stop seeming odd when you investigate it more thoroughly. e.g. systemctl status ssh.service [22:17] Doesn't really provide any real info [22:18] is "UsePAM yes" still something 18.04 uses? [22:21] yes [22:22] Can you use UsePAM in a match? [22:23] the man page tells [22:24] sshd_config(5) [22:25] So which makes me wonder that every time I attempt to use usepam inside a match, the job fails to start. [22:27] so did you read it? [22:27] And seeing I am setting up google authenticator, can I set up a custom directory? Rather than /home/user/.google_authenticator -> Move to a root owned directory, but user directory chowned to the user. [22:29] And yes, I have. [22:30] hmm, my 18.04's sshd_config(5) lists supported directives in a Match block, and UsePAM is not one of them. [22:31] Doesn't matter where I place UsePAM yes though, sshd just fails to start. [22:31] Journal doesn't provide much data either.. just ssh.service: Start request repeated too quickly., failed with result exit code, failed to start xxxxxxxxxx shell server. [22:31] Once I remove UsePAM yes, it works just fine [22:32] Skyrider: you can make .google_authenticator 600 [22:32] or 400 [22:32] I could.. but how does the system know where to look for the auth files? [22:32] I assume by default, home directory of the user. [22:33] and sysstemctl start ssh; systemctl status ssh outputs what (post to https://paste.ubuntu.com)? [22:34] typo fixed: systemctl start ssh; systemctl status ssh [22:34] https://paste.ubuntu.com/p/bvKrnJ48Yw/ [22:37] Skyrider: post this: systemctl reset-failed ssh.service; systemctl start ssh; systemctl status ssh [22:37] Skyrider: i had this on raspberry before [22:37] grrr === kostkon_ is now known as kostkon [22:41] https://paste.ubuntu.com/p/93ShRSGC7s/ ? [22:43] hmm yes that's not very helpful. you may need to run sshd -d manually [22:43] sshd re-exec requires execution with an absolute path [22:44] are you connected via ssh or do you have out of band access? [22:45] connected, but found it.. used /usr/sbin/sshd -d instead [22:45] Directive 'UsePAM' is not allowed within a Match block [22:46] well i told you that 15 minutes ago [22:46] And I think I know what went wrong now. [22:46] I added the UsePAm at the bottom of the file, assuming it was outside the match block. [22:47] But if I look up, the last match still adds usepam inside the block. [22:47] see also the -T option to sshd if such happens again. [22:47] What ends a match block exactly? [22:48] \x0A\x0A i'd say, [22:52] either this or the next non-indented line. [22:58] Got it, thanks :D [22:58] Can I use Multi-Factor on users that only have a simply password? [22:58] And with that, I mean. Got it enabled on 1 user, but I can't login on my main one anymore that doesn't have one. [22:59] **simple password.. why do I often mistype that. [23:06] As I can't seem to figure it out [23:28] Guess I'll switch to key usage on my main rather than password. As using PAM doesn't like normal passwods [23:28] ***passwords [23:39] man i just started playing around with linux, and my question is [23:40] do you guys really remember all those terminal commands [23:40] or do you just google them [23:40] ? [23:41] ikarus987: when I first started out, I spent a lot of time reading manpages [23:42] it's hard to say what exactly I know and don't know, but it really wouldn't surprise me if it's in the millions of facts about tens of thousands or hundreds of thousands of commands, programs, functions, manpages, etc etc [23:45] ye [23:45] right now, i am like this [23:46] "ok i kinda remember the command to do this" and then i just google for that command to refresh how it takes arguements [23:46] yeah, I spent a LOT of time at that stage [23:47] i see [23:47] when I started I even wanted a full-text index of the whole filesystem because I could remember small fragments of config files I might want to change, but couldn't recall where that config file was stored [23:47] and I used locate a few hundred times a day :) [23:49] i see [23:50] is 3month enough to call my self "i know linux ?" [23:50] because i am gonna be grinding it [23:50] ikarus987: it's possible to remember them, but the majority are not even words. they're extremely short phrases. [23:50] for the next 3 month everyday [23:50] ls, rm, cp, etc [23:50] and then there are those [23:50] i don't even know all the unix commands, just the ones I actually use [23:51] there's some esoteric ones like cal or cmp. [23:51] heh I use cal every few days, cmp never [23:51] like that find command [23:52] i've used cmp before as a poor mans checker, but yea. checksums are generally superior for checking identical files. [23:52] ikarus987: i'd see what is packages with coreutils and go from there. it's the package providing most of the baseline commands. [23:53] up next.. util-linux also has some that are linux specfici. [23:55] for a more official source of general unix, you'd be better off reading the official posix docs. [23:55] distro manpages will detail any GNU extensions or so. [23:57] ikarus987: https://pubs.opengroup.org/onlinepubs/9699919799/idx/utilities.html [23:57] I'm *very* happy debian's got the posix manpages packaged too [23:58] incidently some of these are actually shell builtins... [23:59] e.g,. cd [23:59] !package manpages-posix-dev