[00:12] hello. recently i changed my gmail password, and so i went to change it in kmail, and ever since then KMail gives me the error "Could not read password : user rejected waller access". I tried erasing the relevent data from wallet, rebooting, and then giving it my password, but the same thing happens still. How can I resolve this? [00:15] are minimum system requirements based on CPU based frequency or the burst frequency? [00:16] whatever you're willing to tolerate [00:16] whatever your workload requires [00:16] minimum memory requirements are going to be a lot more important, probably [00:18] I did an upgrade and my system isn't bootable. I am running a 3 disk raid system. I think it is an issue with grub needing to be reinstalled correctly. I booted with a usb linux system. not sure how to reinstall brug though. i have /dev/sda /dev/sdb /dev/sdc have the raid partitions on them [00:20] I mean on the page that says the minimum requirements for running ubuntu [00:23] usney: if you've got eg a 1ghz processor, transitions in the default window managers may be pretty poor. but lubuntu or xubuntu might work well enough for you to not hate it. [00:24] usney: but if you've got eg 512M ram, maybe a gui isn't a great idea. (my 512M ram instance on amazon is enough for tmux, mosh, irssi, but not much more) [00:24] I have a 1ghz based processor with a 2.1 ghz burst [00:26] sarnold CPU max MHz: 2100.0000 [00:26] is that good enough for latest ubuntu? [00:26] it is dual core [00:27] yeah; I don't know if it'd be a good experience in gnome or not, but certainly you can find *something* on ubuntu that would feel pleasant [00:28] Something in a latest update on ubuntu messes boot in vmware [00:28] I setup my friend's laptop with gnome with a newly bought laptop and his max mhz is 2600.0000 [00:28] very annoying [00:28] runs smoothly [00:29] well I'll see if it works ok [00:29] I got it on usb drive [00:29] Is already 2 x 18.0.4 that get stuck in boot [00:29] after i update software [00:29] Not sure what i updated either [00:30] netameta: i read what you say as "vmware does not support fully updated ubuntu well", i.e. a vmware support question. [00:30] i relogged to try something if anyone tried to reply to my kmail question [00:31] Oderus: try asking in #kubuntu, too, since this is likely kubuntu specific (kmail, kwallet etc.) [00:31] tomreyn, Well it was working perfectly fine, i then updated and now its stuck in boot [00:32] netameta: i understood so much. see if you can boot to recovery and continue booting from there. [00:32] tomreyn: ok will do thanks [00:33] supermasterblast: which ubuntu version do you have installed on those disks, which RAID level, and what's the live usb/cdrom system you're trying to recover with? [00:33] yea booting to recover then to normal works [00:33] netameta: so !nomodeset is a workaround [00:34] tomreyn, Whats nomodest ? [00:34] maybe there's also newer 'vmware-tools' you can install. but it's really an issue in their domain IMO [00:34] !nomodeset [00:34] A common kernel (boot)parameter is nomodeset, which is needed for some graphic cards that otherwise boot into a black screen or show corrupted splash screen. See http://ubuntuforums.org/showthread.php?t=1613132 on how to use this parameter [00:35] imagine it was a windows guest which failed after you installed upgrades. whom would you expect to provide 'the fix'? [00:39] tomreyn, I am on window host yes [00:39] And the upgrade i installed were in linux [00:39] ``` so it may not be needed to make this option permanent, just for one boot until you installed the nvidia drivers.``` cant i just run safemode and install drivers there ? [00:41] nomodeset is usually used for nvidia hardware, but your VM only sees the hardware the virtualization provides, which won't be any 'nvidia' or similar, but rather vmwgfx or something. [00:41] that's unless you do graphics card passthrough, but you probably do not. [00:45] tomreyn, wait so nomodest isnt the solution for me ? [00:46] netameta. it's a workaround to get you non accelerated graphics. [00:46] i just learnt that vmwgfx.ko is actually in linux, i wasn't aware of that. so i guess you can file a bug against linux, too [00:47] well first i want to see if nomodeset works [00:47] and BTW i do have nvidia cards so [00:47] yes, but not passed through, i assume? [00:48] Will check - i dont think so though [00:48] if you don't know then you most likely don't. [00:49] to file a bug about vmwgfx you can run: ubuntu-bug linux # be sure to mention your exact vmware version, where the boot gets stuck, which workaround you tried and which of them worked. and that it refers to to file a bug, you can run: ubuntu-bug linux # be sure to mention your exact vmware version, which workarounds you tried, which of them worked. [00:50] oops copy / paste fail [00:52] tomreyn, I dont see any pass through option [00:52] dont see graphic card options eithjer [00:52] netameta: i don'T know whether there is one, i can only support ubuntu [00:53] So i assume its not. [00:54] However it does act weird when i have nomodeset [01:00] netameta: you can try vga=791 instead. [01:01] i am not trying to upgrade vmware tools first [01:02] then i will try vga=791 [01:02] and lastly i will use nomodeset [01:06] vga=791 didnt work [01:07] does vga= still work at all? [01:07] it does for me [01:08] maybe not on a desktop [01:08] the Documentation/kernel-parameters.txt has "vga= [BOOT,X86-32] " .. and then says it's for the bootloader, not the kernel. which is quite confusing all around. ;) [01:09] Well only nomodeset works - and screen res is massed and it works very weird and slow [01:11] netameta: so which vmware product and version are you using, and have you verified that they state ubuntu 18.04 is supported by it (ignoring the fact that it happened to work previously)? [01:11] vmware workstation 15, and yes about the ubuntu 18.04 [01:12] Is there a way to add more resultion options in settings ? [01:13] no. your current workaround limits the available resolutions. [01:15] well, you could probably add lower resolutions, but not in "settings" [01:21] recently i changed my gmail password, and so i went to change it in kmail, and ever since then KMail gives me the error "Could not read password : user rejected waller access". I tried erasing the relevent data from wallet, rebooting, and then giving it my password, but the same thing happens still. How can I resolve this? Kubuntu 19.04 [01:22] if you don't get a good response about it here within 30 minutes, I'd suggest to ask #kde about it [01:25] Hey, whereabouts does ubuntu keep it's kernel config file these days? Finding a lot of wiki pages or other places that reference /boot but I dont see it [01:28] nevermind i am blind it is in /boot [01:36] Sveta: i have asked there but either everyone is asleep or doesn't know ;p [01:40] tomreyn, my current setting is set to 4k, but ubuntu only see 1176x885 [01:43] how do i install a newer version of weechat on ubuntu 18.04? [01:45] TikityTik: do they have a ppa? [01:45] Sveta: https://weechat.org/download/debian/ [01:46] TikityTik: you can add `deb https://weechat.org/ubuntu bionic main` to your sources.list, then, I guess [01:46] ahh [01:51] Sveta: getting an error about how a following signature couldn't be verified [01:51] that page gives a clue about the key === zbenjamin_ is now known as zbenjamin [01:53] so if the public key is not verified that means i have to make this source insecure? [01:54] TikityTik: you can verify the public key [01:54] TikityTik: click 'installation instructions' link at the top for instructions [01:57] thanks [02:04] What's the difference between linux-generic and linux-lowlatency? [02:08] k_sze: http://paste.ubuntu.com/p/P9vN62C6bK/ [02:09] k_sze: that's for bionic's 4.15.0-51.55 linux package, more or less selected as the latest-ish-looking LTS kernel from my big pile of kernel configs [02:12] So if I understand correctly, the lowlatency is more heavy-handed in terms of preemption. [02:12] So that no single process can easily make the whole system unresponsive? [02:13] k_sze: See: https://ubuntuforums.org/showthread.php?t=2421161&highlight=latency for latency discussion. [02:13] in the short-run, perhaps; the idea being that your sound card is less likely to have buffer underruns, or motor controllers get their inputs closer to the times they need them [02:36] Question... where does gnome keep the list of apps that come up as apps when you search in Activities? [02:37] (Ubuntu 19.04) [02:50] DouglasK: ~/.local/share/applications or /usr/share/applications ? [02:51] Thank you. So, that just means the one I created isn't working... at least it's one thing off my list. [02:51] Thank you, Sveta. [03:12] DouglasK: you're welcome :-) === [b0b] is now known as b0b [04:18] Hi my ubuntu 18.04 system too slow to boot anyone experiencing same https://pastebin.com/NUmD4edL [05:22] exit [05:34] Is there a simple way to make the bash completion stuff stop recommending snaps for commands not installed? [05:37] hey after upgrading from 16 to 18.04 I get this error from python code that uses Python-MySQL library. "ImportError: libmariadbclient.so.18: cannot open shared object file: No such file or directory" and this file is nowhere on packages.ubuntu.com [05:38] oh wait, I spoke too soon. I was searching disco but it's in libmariadbclient.so.18 [05:38] libmariadbclient18 [05:39] now it works [06:09] TML: that's the command_not_found_handle installed by the command-not-found package [06:11] TML: I don't know how to configure it though, if it's configurable at all, I just disable it completely [06:21] geirha: thanks [06:21] that's at least a thread to tug at :) [06:22] I find it convenient when it tells me the correct apt package, but I don't allow snaps on my systems, so I'd rather just mute that [06:30] geirha: It's implemented (at least in this particular release) as /usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py [06:56] hi [06:56] anyone know how to delete all files in one folder that exist in another? [07:04] mun: find /path/to/another/dir/ -maxdepth 1 -type f | xargs -I{} -n1 basename {} | xargs -I{} -n 100 rm /path/to/one/folder/{} -- note, this ain't recursive, only affects files straight in /another/dir/ [07:06] I'd go with the rsync he got in ##linux instead. Also, mun, don't cross post [07:06] mun: alternatively you can use sed... find .... | sed 's/another\/path\/prefix/one\/path\/prefix/g' | xargs rm [07:07] dangerous code [07:07] geirha i don't know why rsync wouldn't work [07:08] you may need trailing slashes on the directories, otherwise it willl create a new directory instide the destination [07:11] Here's one way to do it with bash (echo added as a dryrun): (cd /dest && for file in *; do if [[ ! -e /src/$file ]]; then echo rm "$file"; fi; done) [07:13] geirha i think i know why rsync doesn't work. --delete deletes extra files in dest that exist in source [07:13] i mean, that don't exist in source [07:13] i'm actually trying to do the opposite, i.e. delete files in dest that exist in source [07:14] geirha: why would you think my commands are dangerous? there's no shell expansion through variables anywhere. I'm pretty sure even spaces in filenames would be handled correctly by xargs [07:15] yeah, it would, tested. [07:16] just needs -n1 for that second xargs [07:16] some of your xargs will handle spaces in filenames, none of them will handle newlines or quotes [07:16] newlines in filenames? on linux? [07:17] yes, unfortunately linux allows that [07:17] huh... after 25 years of linuxing.... this is a first one. [07:18] Hello whats up? I was wondering if it's true ubuntu is dropping 32bit libraries from it's repos? [07:18] yes [07:18] blackflow: also, combining -I and -n doesn't work very well [07:18] !discuss | o-bit [07:18] o-bit: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [07:18] geirha: so what rsync command was given? [07:19] ubottu: It's about ubuntu, how is that offtopic? It's a very big support question. [07:19] blackflow: rsync -rvz --delete source dest, will delete the extra files in the dest that are not present in source [07:19] o-bit: support questions are meant to solve an issue you have [07:20] geirha: that doesn't sound what the OP asked. they asked the reverse, delete files in dest that DO exist in src. [07:20] lotuspsychje: What about issues I will have? [07:20] geirha that command works, but i had remove the ! [07:20] unless we have an XY problem here and that's not really what OP wanted. [07:20] because i'm trying to delete files common to both dest and source [07:21] geirha thanks [07:21] ANyways let me go and ask in #ubuntu-* [07:22] yeah, I think we replaced "exist" with "not exist" in our heads, because that's a much more common task, and so gave wrong answers [07:22] yep. all good :D [07:24] o-bit: see https://discourse.ubuntu.com/t/i386-architecture-will-be-dropped-starting-with-eoan-ubuntu-19-10/11263 [07:26] mun: so your question was actually how to delete files that DON'T exist? [07:27] blackflow hmm no, i'm trying to delete files in dest that exist in source [07:27] mun: ah, k. so geirha's for loop solved your problem? [07:27] blackflow yep :D [07:27] nice. :) [07:27] blackflow except i had to remove the negation [07:27] blackflow thanks for your input though [07:28] don't know why rsync wouldn't work either [07:28] np. my commands would've worked, but geirha is right, they don't solve edge cases with newlines in names and other stupidities. [07:28] like apostrophees [07:28] mun: rsync deletes files that are NOT present in source. you wanted the opposite [07:29] yeah [07:29] rsync results in identical directories [07:30] IIRC [07:30] i was told to just swap source and dest [07:31] while on on board keyboard (I'm in a spanish system so "teclado en pantalla") I can use it in a text document, but not in a url address, or say a google search, or here typing in irc. I've used it before and it worked. Is this something usually happens? if anybody knows [07:31] mun: that would delete the files in src :) [07:31] ubuntu 18.04 gnome3 === grumble is now known as blockchain [07:59] j #chat.freenode.net [08:00] \ j #chat.freenode.net [08:02] mkquist: what are you trying to do. you already are on Freenode. which channel do you want? [08:21] A firmware update that came with Win 10 which I sometimes boot in to, messed up a bunch of things. Aside from Windows not booting, my Ubuntu 18.04 does not login anymore. I enter my password, and it returns to the login screen. When I boot into recovery mode, /var/log/gdm3 is empty. Where can I find out what is going wrong? [08:21] dmesg [08:22] Want to understand how network is configured in ubuntu 18. Netplan is used in it. I see that configuration for systemd-networkd is generated in /run/systemd/network after every boot. But who generates it? I can't find any .service file with "ExecStart=netplan generate". What is the mechanism to pull the netplan? [08:23] cfhowlett: That will be cleared on reboot, right? I have another issue that doesn't allow me to switch to a TTY with Ctrl+Alt+F2. [08:23] So I have to boot with recovery mode. [08:23] over my level there, ShishKabab but it sounds like a red flag to me [08:24] Yeah, I know. The issue with the TTY is that when I press enter after entering my username, it keeps enter pressed down, so it keeps saying login failed until I Ctrl+C. [08:25] just a thought: update your firmware [08:26] That's what caused the issue, a firmware update yesterday. [08:26] doh! [08:26] so it wasn't a win 10 update? [08:27] i.e firmware comes from the computer manufacturer not from windows [08:27] The firmware update came with the automatic updates. [08:28] ok then. ask in the channel from time to time. someone will likely know [08:28] Windows said Update and reboot in the normal shut down menu, next time I boot Windows it reboots and starts reflashing my thing. [08:28] OK, thanks for your time! [08:38] I got further, am able to login with an older kernel on the TTY. When I try to login in graphically, it still goes back to the login screen, and in dmesg I get 'PKCS#7 signature not signed with a trusted key' [08:39] can you get a terminal? [08:39] Yes, finally :) [08:44] yankovic: /lib/systemd/system-generators/netplan does (it's an executable) [08:45] yankovic: netplan uses systemd generators to create the /run(time) networkd configs [09:34] blackflow: thank you so much === jstein_ is now known as jstein [10:43] 10 more months ! Sigyn [10:55] Where to get the proper shiftfs patch for 4.19? [10:59] fling: the what now? [11:00] blackflow: shiftfs patch from 19.04 :P === janco_ is now known as janco [11:40] Howdy folks === blockchain is now known as grumble [11:56] any idea why ubuntu would lose internet every single morning from about 6am to 8am local time? [11:56] while every other computer on network is perfectly fine [12:00] rebooting fixes it every time... but also waiting until around 8am will also fix it every time [12:01] cron job? [12:01] nope [12:01] that was my first thought [12:04] syslog shows nothing either, rather name ntp failing during that time [12:05] DrJ: dhcp server having some left-over rule for that IP from earlier? [12:05] static IP, not DHCP on network [12:05] *no [12:06] DrJ: alright, then back to square one. how does it lose connectivity? routing? dns? [12:06] does it do this on all networks or only homebase DrJ? [12:06] dns still works, but it uses a local DNS server [12:06] which btw local traffic still works [12:06] DrJ: there's mouse nibbling at the Ethernet cable but you disturb it at 8am :) [12:06] TJ- it is an esxi vm, other vms are fine [12:06] DrJ: that doesn't answer my question :) _how_ is internet "lost"? [12:07] oh a VM.... [12:07] DrJ: so it loses Internet routing, but not local host routing? [12:07] can't ping nothing outside of local network [12:07] yea [12:07] ping or anything else that is [12:07] DrJ: does "local network" mean just the ESXI host, or the entire local LAN? [12:07] entire [12:08] for example, I can ping other local subnets [12:08] DrJ: so it essentiall loses its default route? [12:08] so local LAN is accessible? [12:08] TJ-, appears so [12:08] DrJ: is it using IPv6? maybe RAs are getting lost? [12:08] no ipv6 [12:09] DrJ: can you confirm the status of default route when that happens? is it unset? is it set but unpingable, is it pingable but nothing gets through to WAN? [12:09] DrJ: the ping tests that fail, you use IPv4 addresses not hostnames? [12:09] BlackDex: I can't test anything until it happens again tomorrow morning :) [12:10] and believe me, it will happen again [12:10] DrJ: because if you use hostnames AND if they resolve to IPv6 AND the IPv6 default route has expired due to missing RAs... this would happen [12:11] TJ-, pinging IP fails as well [12:11] DrJ: is it a desktop or server install? [12:11] server [12:11] DrJ: so using systemd-networkd network configuration? [12:11] for example right now ping 8.8.8.8 is working [12:11] 12 minutes agao ping 8.8.8.8 was not working [12:11] "no route to host"? [12:12] I forget [12:12] :) [12:12] DrJ: I've seen this on hosts where the NICs go into low-power mode [12:12] hmm [12:12] but every day between 6-8? consistently? I'm still betting on the router having some left over rule for the IP [12:12] DrJ: not sure if power-saving is implemented in ESX emulation but its something to consider. ethtool can help check on that [12:12] or the VM host [12:13] hi [12:13] for 2 days i am trying to set grub [12:13] DrJ: what does this server do? is it passive itself and listening for incoming connections, or is it supposed to be busy 24/7 ? [12:13] i again installed again ubuntu dual boot with windows 10 but grub doesnt exist [12:14] it directly boots to windows [12:14] TJ- all it does is run a duo auth proxy for our vmware horizon [12:14] DrJ: I'm wondering if the server is passive from saw midnight and so somrthing kicks in to cause the default route to drop [12:14] i removed windows fast boot option but no luck still [12:14] black0ps: Here's what i did when dual booting... I installed it on a seperate hdd [12:14] I can say that over night probably no one uses it on most days [12:14] Black0p: just created two partitions "/" and "efi" [12:14] DrJ: perhaps best wait until it happens again and then run some diagnostics [12:14] around 8am it does begin to be used quite a bit [12:14] i am using same ssd and similar bios what changed? [12:15] b1ack0p: If it is EFI, it is possible the motherboard firmware disallows booting from GRUB *Unti* you specifically trust the bootloader via options in the firmware setup menus, that you access at boot-time [12:15] Jonopoly: i created 2 partition [12:15] b1ack0p: What did you set them too? [12:15] TJ-: it is 2008 model lenovo thinkpad t400 [12:15] Jonopoly: 1 windows 2 ubuntu [12:15] b1ack0p: does it use UEFI ? [12:16] no idea [12:16] no [12:16] it uses normal bios mgr [12:16] DrJ: so the problem could have occured well before 8am but that's when it is first detected [12:16] legacy i guess [12:16] there s no uefi option [12:16] TJ-, possibly [12:16] DrJ: I'd strongly expect some clues in the logs [12:17] i am currently on ubuntu live usb [12:17] if it's running win10 I'm pretty sure it has to be UEFI [12:17] B1ack0p, how many hdds you got? [12:17] Jonopoly: just 1 currently ssd [12:17] B1ack0p: are you installing them both on same.. ok you are [12:17] yes [12:17] you shouldn't really need to do partitions..? [12:17] i created 2 partitions for win and ubuntu [12:18] as i always do [12:18] I'm sure when you install you can select an option "Install a long side ..." [12:18] yes but why should i do that? [12:18] then it wouldnt be dual boot [12:18] did you not want it dual boot [12:18] well i need windows [12:18] oh.. if you install it 'along side windows' it would install it [12:18] i would like only ubuntu but i need windows [12:18] next to windows hypothetically [12:18] then you either dual boot or you install ubuntu to a virtual machine [12:19] yes but it might cause conflicts [12:19] I think i'm failing to understand... you want dual boot? [12:19] yes Jonopoly ! [12:19] virtual ubuntu will cause no conflicts [12:19] i am doing same as i always do [12:19] for years [12:19] dual boot [12:19] b1ack0p: can you show us "pastebinit <( journalctl -k )" [12:19] but i dont know what s wrong this time [12:20] I didn't think you needed to create the partition... if you're installing on same SSD.. [12:20] Im sure the first option is "Install along side windows" [12:20] (making it dual boot) [12:20] Jonopoly: yes but i want them seperated [12:20] ... [12:20] what s so hard to understand? [12:20] meaning what exactly? [12:20] ON the same harddrive? [12:20] that s what i was doing for years [12:20] yes [12:20] same harddrive! [12:20] Dual boot does make them seperate..... [12:20] r u troll? [12:21] b1ack0p, no just trying to help you [12:21] TJ-: http://paste.ubuntu.com/p/zPDm7MHDRZ/ [12:21] Jonopoly: thx but it doesnt help.. [12:21] "install next to windows" = dualboot! [12:21] i d like seperate partitions [12:21] I think everyone is getting confused here. b1ack0p Ubuntu installer's "Install Alongside.." is the dual-boot installation method [12:21] if i want them together i would use vm [12:22] TJ-: so i am talking something different [12:22] sorry [12:22] b1ack0p, it seems my answer was as helpful as intended [12:22] Install a long side = Dual boot / Seperate [12:22] IT create the partitions for you [12:22] so how do u define installing win and ubuntu to seperate partitions? [12:22] I'd call it dual booting [12:22] +ing [12:22] i see [12:23] ok sounds not much different then [12:23] i think it is the exact same thing [12:23] installing alongside windows looks like installing an app [12:23] b1ack0p: if you use the installer's "Install alongside" it will, i think suggest shrinking the windows partition if required to make space for Ubuntu, then add additional partitions for Ubuntu and possibly GRUB [12:23] Installing a long side is easiest method... [12:23] TJ-: in past i tried it and it installed ubuntu inside windows [12:24] like an app or software [12:24] Although I've not done the install alongside so can't be sure it does shrink [12:24] TJ- it asks you how much do you want etc.. [12:24] it was version 10-11-12 something i guess [12:24] b1ack0p: that sounds like the old WUBI installer, which is long gone [12:24] yes [12:24] whoa now! the ONLY way to install INSIDE windows is either to a vitualbox or the now dead and defunct wubi method [12:24] Like with all installations make sure you back up all windows incase you make a mistake [12:24] i didnt try new versions [12:25] Jusst remove the partition you created, and select install alongside [12:25] thanks me later [12:25] b1ack0p: anyhow, getting back to your broken install... [12:25] Jonopoly: well last year i did same thing to same ssd on diff. machine without problem [12:25] TJ-: thx [12:25] b1ack0p: ... from the log I can see you've 5 MBR partitions on a 240G drive [12:26] TJ-: 1 windows system partition 2 ubuntu swap [12:26] 5 ? [12:26] it suppose to be 4 [12:26] oh 1 is flash drive [12:26] b1ack0p: "sda: sda1 sda2 sda3 sda4 < sda5 >" [12:26] ok [12:27] ubuntu@ubuntu:~$ sda: sda1 sda2 sda3 sda4 < sda5 > bash: syntax error near unexpected token `newline' [12:27] b1ack0p: no worries anyhow; lets collect some information so we know what you have. "pastebinit <( lsblk -f; blkid /dev/sda*; mount )" [12:27] thx [12:27] b1ack0p:haha sorry, that list of partitions was just me quoting from your kernel log [12:28] it is ok :) [12:28] http://paste.ubuntu.com/p/j7KsdnYVDd/ [12:28] this is the result [12:29] b1ack0p: so you've got Linux in sda3 [12:29] yep [12:29] b1ack0p: shall we create a chroot and go into it to see if it can re-build grub correctly? [12:29] sda1 - windows system reserved sda2-windows sda3-ubuntu sda5-swap [12:30] ok [12:30] b1ack0p: "sudo -i" to gain root privileges [12:30] ok i am root now [12:30] yesterday i tried boot repair tool [12:30] b1ack0p: then "mkdir /target ; mount /dev/sda3 /target" [12:30] but it shows both sda1 and sda2 for windows [12:31] TJ-: mkdir /target ; mount /dev/sda3 /target - done [12:31] b1ack0p: then "for n in proc sys dev etc/resolv.conf; do mount --rbind /$n /target/$n; done " [12:31] yep. the windows restore partition and the windows installed OS [12:31] b1ack0p: that command should complete without printing anything [12:31] for n in proc sys dev etc/resolv.conf; do mount --rbind /$n /target/$n; done ? [12:31] b1ack0p: yes, issue that command all in one line [12:32] ok [12:32] b1ack0p: you can copy and paste all the commands I give you [12:32] b1ack0p: ok, now you can enter that installation with "chroot /target" [12:32] ok [12:32] b1ack0p: after that you're now working inside the broken install, NOT the live installer :) [12:32] hmm [12:32] b1ack0p: first, do "mount -a" to ensure all required file systems are mounted [12:33] done [12:33] mount -a didnt return anythng [12:33] chroot too [12:34] b1ack0p: now two commands to ensure GRUB boot-loader is installed correctly. Tell us if either reports an error. First "update-grub" and check you see it include the Windows install in the list of operating systems it finds [12:34] as root? [12:34] b1ack0p: you're always root in the chroot [12:34] yes! [12:34] Found Windows 10 on /dev/sda1 done root@ubuntu:/# [12:34] you should see update-grub list the Ubuntu kernels and the Windows install [12:35] yes it showed [12:35] thank you TJ- [12:35] b1ack0p: right, now do "grub-install /dev/sda" [12:35] oh not finished yet/ [12:35] root@ubuntu:/# grub-install /dev/sda Installing for i386-pc platform. Installation finished. No error reported. === juboxi is now known as jubo2 [12:36] b1ack0p: after that, in *theory*, the system should boot via GRUB *but* lets first check how GRUB is configured. I think it'd be good to ensure it shows its menu rather than hides it [12:36] yes [12:36] b1ack0p: you may have to install pastebinit but try this: "pastebinit /etc/default/grub" [12:37] it doesnt let me install as root [12:37] pastebinit [12:37] b1ack0p: what error does it show? [12:37] apt install pastebinit [12:37] then [12:37] E: Unable to locate package pastebinit [12:38] b1ack0p: what does "cat /etc/issue" report? [12:38] root@ubuntu:/# cat /etc/issue Ubuntu 18.04.2 LTS \n \l [12:39] b1ack0p: hmmm, well, pastebinit is in the main archive so should be found. This could point to some other issues so lets follow this up. does "apt-cache search -n pastebinit" report anything? [12:39] more /etc/default/grub | nc termbin.com 9999 should also work [12:39] nope [12:39] it returns blank [12:39] cfhowlett: certainly, but it looks like the package repos/dpkg/apt are broken [12:40] reinstall time then, TJ? [12:40] time shows incorrect [12:40] when i install win10+ubuntu it corrupts time always [12:41] b1ack0p: OK, lets' get more info: "nc termbin.com 9999 < <(cat /etc/default/grub /etc/apt/sources.list )" [12:41] https://termbin.com/g83q [12:42] b1ack0p: dealing with the apt situation first, it looks like you've got it set to use the Turkey mirror [12:43] yes because i am in Turkey [12:43] b1ack0p: so lets try to update the package lists: "apt update" [12:43] but i am using system in English so i m ok to change to US [12:43] and main server [12:43] b1ack0p: that *should* fetch the package lists [12:44] b1ack0p: the country servers aren't for different languages, they're all the same, but hopefully coutrny mirrors are closer and faster than the main archive :) [12:44] the thing is that i like to use ubuntu in english but while installing it asks me location so when i set location it automatically sets server TR [12:44] i change it later to US and server to main [12:45] b1ack0p: has apt fetched the package lists now and finished ? [12:46] 83% [12:46] i am using mobile hotspot [12:46] b1ack0p: good, it's making progress then :) [12:46] didnt connect to actual modem i dont know why [12:46] done now [12:46] Reading state information... Done 373 packages can be upgraded. Run 'apt list --upgradable' to see them. [12:46] b1ack0p: I was concerned the chroot wouldn't have a network connection (well, problems with name resolution (DNS)) [12:47] slow connection currently [12:47] b1ack0p: well we don't want to upgrade anything right now! but try to install pastebinit again "apt install pastebinit" [12:47] ok [12:47] from turkey to main repos? slow is expected. [12:47] done [12:47] whilst you do that I'll figure out the changes to GRUB's config to ensure the menu is shown [12:47] cfhowlett: yes but i ddnt notice slow [12:48] TJ-: pastebinit installed [12:48] as root [12:49] b1ack0p: And I'm ready :) now lets make GRUB show the menu at startup: "sed -i 's/\(GRUB_TIMEOUT_STYLE=\).*/\1menu/' /etc/default/grub" [12:49] ok [12:49] b1ack0p: then check that changed it with "grep '=menu' /etc/default/grub" [12:50] root@ubuntu:/# sed -i 's/\(GRUB_TIMEOUT_STYLE=\).*/\1menu/' /etc/default/grub root@ubuntu:/# grep '=menu' /etc/default/grub GRUB_TIMEOUT_STYLE=menu [12:50] b1ack0p: wonderful :) so now we change the GRUB config it uses, with "update-grub" [12:50] update-grub now? [12:50] ok [12:51] done [12:51] b1ack0p: and in theory we can leave the chroot and allow you to reboot. so do "exit" and then "sync" and the if you want give it a reboot [12:51] sync how_ [12:51] b1ack0p: it's a command "sync" [12:51] b1ack0p: that just ensures all memory has been flushed to disk [12:51] root@ubuntu:/# exit exit root@ubuntu:~# sync root@ubuntu:~# [12:52] all done? [12:52] i am rebooting now [12:52] b1ack0p: you can do "exit" again if you want to get back to the ubuntu prompt , but yes, reboot [12:52] thank you TJ- /9 [12:52] ;( [12:52] :) [12:53] keyboard turkish but set to english [12:53] b1ack0p: don't say that until we know it works :) [12:53] ok brb then ?p [12:59] TJ-: thank you :) [12:59] grub working [13:00] it shows windows partition sda1 which system reserved [13:00] actual windows files are in sda2 [13:00] is it normal that GRUB shows sda1 not sda2 ? [13:01] b1ack0p: it's not GRUB that determines that, it's another tool called os-prober, and it can be confused ... I think there are tweaks can be made to correct it [13:01] why grub is giving me problem always :/ [13:03] b1ack0p: it isn't, it's Windows :p [13:03] when ı ask them they say it is ubuntu .p [13:03] b1ack0p: the os-prober script that tries to identify bootable Windows partitions is /usr/lib/os-probes/mounted/20microsoft [13:04] hmm [13:04] how can i change it to sda2 then? [13:05] b1ack0p: if you look at that file you'll see how it tries to identify Windows by UTF-16 text strings embedded in the bcd file... so firstly if your system happens not to have those strings, it won't match [13:05] b1ack0p: is it possible you have a Turkish Language install and those string don't exist? [13:05] (Turkish language install of Windows) [13:05] why? [13:05] b1ack0p: because os-prober won't recognise the Windows installation if those strings aren't found [13:06] b1ack0p: we could mount the sda2 and check for ourselves [13:06] i dont have turkish version currently [13:06] i need to download again [13:06] i can change language but i am ok with english [13:07] in past dealing with grub was not this difficult [13:07] it's not a problem but I'm explaining why os-prober might not recognise the Windows install [13:10] :/ [13:12] b1ack0p: do you want to test it, to see if we can fix it? [13:12] ok [13:12] for sda2 ? [13:13] b1ack0p: "sudo mkdir /mnt/windows; sudo mount /dev/sda2 /mnt/windows" then ... [13:13] returned blank [13:13] b1ack0p: ... " sudo sh -x /usr/lib/os-probes/mounted/20microsoft /dev/sda2 /mnt/windows ntfs |& tee /tmp/probe.log " [13:14] TJ-: https://paste.ubuntu.com/p/qzfbz5SKyR/ [13:16] b1ack0p: according to that there is no Windows install in sda2 :) [13:16] b1ack0p: show is "pastebinit <( ls -latr /mnt/windows )" [13:16] what? [13:16] how possible [13:17] b1ack0p: it tests for all the windows boot-loader files and doesn't find them [13:17] http://paste.ubuntu.com/p/QdN3WXsXS2/ [13:17] :S [13:18] b1ack0p: well, looking at that list, I don't see the expected files either. What version of Windows is supposed to be in there? [13:18] 10 [13:18] latest version [13:18] 1903 built [13:18] b1ack0p: I'm not familiar with its layout but I'd exect to see the /boot/ directory and/or the bootmgr/ntldr and similar files. [13:19] hmm [13:19] Anyone else here got a Windows 10 install they could compare with b1ack0p's file list to tell us what is missing? [13:19] b1ack0p: the reason os-prober listed sda1 (recovery) is because those files to exist there [13:20] maybe sda1 is the normal to boot? [13:20] b1ack0p: but it seems like sda2 has got broken somehow. I wonder if you should try booting into the Windows Recovery? but if you do it may well replace the GRUB bootloader (again!) and you'd have to use the live CD to fix it (again!) [13:20] https://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&ved=2ahUKEwjNh4Cwk_jiAhVHUlAKHUftD48Qjxx6BAgBEAI&url=https%3A%2F%2Fwww.itzgeek.com%2Fhow-tos%2Flinux%2Fubuntu-how-tos%2Fhow-to-install-ubuntu-18-04-alongside-with-windows-10-or-8-in-dual-boot.html&psig=AOvVaw2o775-Q5sEv_vbC3qox39d&ust=1561123204506386 [13:21] here in the screenshot grub menu shows sda1 also [13:21] if sda2 had boot then it would exist in grub [13:21] b1ack0p: I don't think so based on earlier output: "/dev/sda1: LABEL="System Reserved" UUID="1098B4BE98B4A39E" TYPE="ntfs" PARTUUID="f8b1ced8-01"" [13:22] b1ack0p: do "sudo umount /mnt/windows" then "sudo mount /dev/sda1 /mnt/windows" and then "pastebinit <( ls -latr /mnt/windows)" [13:23] TJ-: when i check screenshots all written sda1 for windows [13:24] TJ-: http://paste.ubuntu.com/p/PPSWNBpbXc/ [13:24] b1ack0p: they may all be wrong, then, unless win10 has changed things and has a separate boot partition [13:25] b1ack0p: I can see that has a /boot/ directory so maybe Win10 does boot from the system-reserved partition. I've not used/installed Windows since 2004 time! [13:25] b1ack0p: one way to find out though ... try booting into it :) [13:25] b1ack0p: "sudo umount /mnt/windows" [13:25] wow 15 years no windows [13:26] b1ack0p: yeah; magical [13:26] i tried yesterday [13:26] i used boot repair tool [13:26] and it restored grub [13:26] but windows showed both sda1 and sda2 [13:26] both was booting to win10 [13:27] b1ack0p: then something may be broken on the Windows side, but I'm not familiar enough with it to be sure [13:27] ok [13:27] let me try this way [13:27] brb [13:27] Hey, is "dmesg" output tied to a real file on the filesystem? /var/log/something for ex? [13:27] b1ack0p: it could be that both actually use the boot-loader files in sda1 [13:27] thx again TJ- [13:27] possible [13:28] brb [13:28] akem: no, dmesg reads /proc/kmsg [13:28] TJ-, Ok thanks TJ-. [13:28] akem: but usually the syslog daemon, or systemd-journald, read that and copy it to files, e.g. syslog will copy to /var/log/dmesg [13:28] akem: you can view it also using "journalctl -k" [13:29] TJ-, Ok thanks for the info, yeah i was looking for a file like this, but couldn't find it. [13:30] how can I grep in some log files for both ERROR and CRITICAL words please ? [13:31] hi all, is there a channel/support for ubuntu landscape? [13:31] akem: for previous boots "journalctl --list-boots" then "journalctl -b -X" where X is the boot ID [13:31] Mudchains: think you need to contact with canonical directly for that [13:32] !landscape [13:32] Landscape makes the management and monitoring of Ubuntu systems simple and effective by combining world-class support with easy to use online management tools. https://landscape.canonical.com/ [13:32] lotus|i5: also when there is no paid service contract? ( running the free license) [13:33] ace_me, grep -E "ERROR|CRITICAL" /var/log/somefile [13:33] Mudchains: you can always try to ask your issue, maybe volunteers might have ideas [13:34] TJ-, Ok i don't need all that but thanks :) [13:34] Ok :) I have a number of outstanding alerts, but some of them are old. How can I delete/acknowledge them? [13:35] without hacking in the postgresql db [13:35] The docs/internet says nothing about it [13:36] is apt-get down or something? I've tried the main server and the US server, disabled ipv6, and its still miserably slow [13:37] jaydemir: you could ask in #ubuntu-mirrors for known issues on repos [13:37] thanks [13:37] jaydemir: you dont have firewall or router that could interfere? [13:38] nope [13:38] jaydemir: proxy? [13:38] just a plain old ISP line to a generic router and switch [13:39] and I haven't had issues prior to this morning [13:39] jaydemir: are other websites slow as well? [13:39] speed tests are all over 40 mbps [13:39] akem: is correct if i use cat /var/log/*.log | grep -E "122|234|412" | grep -E "CRITICAL|ERROR" ? [13:40] in order to find one of the id and error ? [13:40] ace_me, Yes i think. [13:42] ace_me: "grep -rn 'ERROR|CRITICAL' /var/log" is another way [13:43] and for gz files TJ ? [13:43] in my case I use zcat [13:44] Mudchains: can this help? https://landscape.canonical.com/static/doc/user-guide/ [13:44] lotus|i5: already checked :( [13:44] ace_me: there is zgrep tool too :) [13:45] really :) ? [13:45] ace_me: "man zgrep" [13:45] an d your way is faster ? [13:46] ace_me: you'd have to measure it, but it is certainly easier most of the time [13:46] ace_me: the only time "-r" isn't helpful is if you don't want it to search sub-directories as well [13:49] thz [13:49] thx* [13:53] TJ-: grep -rn 'ERROR|CRITICAL' /var/log | grep -E "id1|id2" seems to not work... I mean chaining 2 grep [13:54] ace_me, add -E to the first grep too. [13:55] thank you :) [13:55] ace_me: -E is extended grep; without it you have to escape the OR as in "grep -rn 'ERROR\|CRITICAL' /var/log ... [13:56] I have grep aliases to egrep for that reason [14:00] egrep is deprecated, just FYI. grep -E is the preferred method. [14:04] anybody using "sublime text" here? [14:04] rypervenche: what do you mean deprecated? by whom, where? [14:05] akik: man grep: In addition, the variant programs egrep and fgrep are the same as grep -E and grep -F, respectively. These variants are deprecated, but are provided for backward compatibility. [14:05] thanks [14:06] many of us probably gofio [14:06] ace_me: thanks [14:07] lotus|i5: The old alerts are gone, don't ask why .. :) just restarted landscape-clients en the server service [14:08] maybe a hickup in the communication or something [14:24] hi all. having an issue with kmail where one of my email accounts (gmail) gets the error that it cannot access wallet. how can i solve this? permission to wallet has been granted, and all my other email accounts work fine [14:24] can I do a similar search inside redis ? akem ? [14:26] I have a buggy touchpad that keeps switching itself on and off while my computer runs. BIOS needs a password that I never set, and keyboard with FN buttons to switch it off permanently (well, for the duration of the laptop being switched on) also inoperative. kernel log is being spammed with messages like this over and over again: https://paste.ubuntu.com/p/HVCHSS4gqS/ [14:27] i guess I need a ubuntu on board tutorial as somehow it seems not like xubuntu one [14:28] for what gofio ? [14:28] ace_me: the tutorial? [14:32] ace_me: don't know what you mean [14:41] Hi, when I go to a tty it locks the session, and somehow it even logged me out last time (when doing apt dist-upgrade?). How can I disable this behavior (without disabling lock screen)? Thanks for your help. [14:42] I'm on bionic, with default DE [15:01] running the boot-repair utility, but so far it has not worked. I have a 3 disk raid array and lvm with a seporate boot and root partitions. I have selected in stalling grub to /sda /sdb /sdc, but it just crashes during boot. I never even see the boot loader though I do see a buch of text fly by sometimes before it crashes. Should I install grub to /dev/md1 or /dev/dm-0 or /dev/dm-1 ? /dev/dm-0 it says is boot, /dev/dm-1 it says is root [15:02] /dev/md1 is obviously the raid array [15:06] I have a buggy touchpad that keeps switching itself on and off while my computer runs. BIOS needs a password that I never set, and keyboard with FN buttons to switch it off permanently (well, for the duration of the laptop being switched on) also inoperative. kernel log is being spammed with messages like this over and over again: https://paste.ubuntu.com/p/HVCHSS4gqS/ [15:13] islandmonkeee, what model is your laptop? Sometimes there is a way to bypass BIOS passwords [15:13] lordcirth: Lenovo Z500 [15:21] islandmonkeee: without the password to the BIOS I don't believe there is anyway to resolve it through that avenue. Lenovo intentionally designs their laptops such that BIOS passwords cannot be reset or forcefully cleared. I would recommend that check to make sure the cables between the keyboard and mouse haven't come loose and reseat them in their connectors. [15:21] islandmonkeee, hmm, I don't see any way to crack that. [15:22] pragmaticenigma: alright sure, I'll take it apart and see what is happening hardware-wise [15:23] islandmonkeee: I know that my laptops have required such an operation after a couple years of being jostled around in transport [15:23] hopefully it will help you out as well [15:27] hey [15:27] I am back as regged [15:28] https://launchpad.net/ubuntu/+source/gradle/4.4.1-5ubuntu2~18.04 [15:28] found the source [15:28] alrighty [15:32] us.archive.ubuntu.com seems to be slow and intermittently failing to respond. Where should I report this? Or is it a known issue? === SoniEx2 is now known as Soni === Casper26_ is now known as Casper26 === Iolo_ is now known as Iolo === N3X15_ is now known as N3X15 === notecloud_ is now known as notecloud === yokel_ is now known as yokel [16:06] why is it that sometimes I get a new instance of something as a duplicate icon on my task bar thing... [16:06] idr what it's called [16:06] launcher bar? [16:15] is there a fairly universal shortcut-key to focus on a search field? [16:20] i'm on 18.04 server, any idea how to stop the docker daemon? a systemd service of it does not exist, so i'm not sure where it is started [16:22] noregret: sudo systemctl status docker.service dosent work? [16:23] eraserpencil2: no, "Unit docker.service could not be found." [16:24] what does "ps -aux | grep docker " give [16:24] eraserpencil2: https://bpaste.net/show/767b686d836c [16:28] you installed docker as a snap? [16:29] eraserpencil2: iirc, i installed during ubuntu's installation [16:29] so whatever option ubunru's installer provided [16:29] you should use dockers ppa [16:29] so I would guess it's a snap [16:29] now i'm not sure how to stop it [16:30] styledash: ubuntu's installer provided the option to install it [16:30] is it listed in snap list? [16:30] I know nothing about snap [16:30] thats fine... just a recommendation for the future that getting the source from docker themselves is preferable [16:31] i only heard about it from checking the docker process, that's all [16:31] how can I check the snap list? [16:31] can you open a terminal and type "snap list" in it [16:31] oh yeah === jelly-home is now known as jelly [16:31] it's there in the list [16:31] docker 18.06.1-ce 384 stable canonical✓ - [16:31] i think you just need to do "snap remove docker" to remove it [16:31] it's there as a snap then [16:31] prob with sudo [16:31] gotta lookup what snaps are [16:32] 12:09:37 AM - eraserpencil2: reposting my problems here, hoping someone who might be able to help walked in since. [16:32] 12:09:37 AM - eraserpencil2: It's either i messed up a downgrade of cuda or a windows update messed something up, i couldnt get my ubuntu 16.04( cant use any other distro for reasons) working the way it used to. Currently, only combi of LX DM + i3 works as expected. other D.Es have weird behavior (ubuntu's unity not having tiling properly, gnome not showing anything). other DMs prevent me from going to tty7 and logging into root/us [16:32] ohh, snap is a package manager [16:33] or app store [16:33] yeah, its a containerized universal package format [16:33] from canonicall [16:33] interesting, never heard of it before [16:33] its an alternative to flatpak and appimage [16:33] and thanks, docker is removed now [16:33] yup no prob [16:33] so for next time, should I just install it from apt [16:34] https://docs.docker.com/install/linux/docker-ce/ubuntu/ [16:34] check the docker docs there for instructions [16:34] got it, thanks [16:35] 👍 [16:37] hmmm any way to remove lightdm without installing the suggested gdm3? [16:42] eraserpencil2: mayne apt -o 'APT::Install-Suggests false' purge lightdm [16:42] but then you'd end up without a login manager? [16:43] i have err weird display bugs, wanna remove all dms and se what i get [16:44] and i have ~/.xinitrc with a single line that starts a de [16:45] it still installs gdm3 [16:45] maybe it's rather a recommends than a suggests? [16:45] --no-install-recommends [16:46] dosent work [16:48] you could explicitly list both packages to be purged [16:48] so the resolver will consider other options [16:48] i think 'apt install lightdm gdm3-' would work maybe [16:49] to install without a dependency [16:49] haha apt now suggests sddm. apt dosent wanna leave me without a dm [16:50] see, it identifies your errors and helps you fix them [16:50] oh i gotcha... you want to remove all login managers [16:50] would say just start from the bare ubuntu server install lol [16:53] hmmm, else could you perhaps spare a few minutes looking at my error i posted earlier? I feel its a bug or a misconfigured file with X/dm/de [16:53] not sure but the 6 vote answer might be what you want: [16:53] https://askubuntu.com/questions/882422/how-can-i-disable-all-display-managers [16:54] errr...is tty1 the same as having no display manager? [16:58] any of you americans ever take puter shit to best buy to recycle? [16:58] !ot | kinghat [16:58] kinghat: #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! [16:58] ah yes [16:58] less reach there though [16:58] yikes. system didn't want to boot today... [16:59] this problem needs to get figured out today === PhilB_ is now known as PhilB [18:04] Internet stops working like twice a day, here is the network manager log: https://pastebin.com/PYNgEC0j [18:17] Hi everyone. I heard about "snap" packages today, that get installed into /snap. What is the relationship between a snap package and an apt-style package? Are they two separate methods of installing software? [18:18] yes, completely separate systems, though building snap packages can make easy use of debs provided in ubuntu for dependencies (which are copied into the snap package itself) [18:19] weird question. I've been noticing a lot of IO errors coming from an external HDD. Its really been acting up. So, as i try to back it up, it acts up even more. Now its on a completely diffent computer, and acting fine. wtf? [18:21] it oculd be a bad usb switch, usb cables, controller, maybe power supply.. [18:22] sarnold, is snap related to ubuntu, or is it something that any Linux distro can use? [18:22] Richard_Cavell: snap works on a handful of other distributions, but probably works best on ubuntu and derived distributions [18:22] sarnold, plugged directly into my laptop. i considered the cable too, so i switched it with my other drive, same effect. [18:22] Well there's defintely some issue with vmware and ubuntu - it wont boot getting stucked on splash, nomodeset fixes the problem but then i cannot resize the window all the way [18:23] Thats whats odd, i was considering either the wire, or the laptop itself. buti relaly only see errors on the one drive, i think? lol [18:23] Richard_Cavell: there's some notes on other distros on https://docs.snapcraft.io/installing-snapd [18:23] subcool: very odd :/ [18:23] nvm., just went down. [18:23] lol [18:23] it might be the controller on the drive itself. [18:23] for the enclosure... [18:24] it had ONE error, and disconnected. [18:25] yeah, its seen via lsusb - but not an option as a drive anymore.. [18:30] my system is dead after upgrade. The grub boot loader doesn't come up. I have tried the fix boot-fix .iso for ubuntu and it apparently reinstalled grub and so forth, but still no luck booting. the system booted fine before the upgrade, so it seems like the upgrade messed up something. I am not sure what to do to fix the problem [18:30] silence is always a good thing [18:31] HAAHA and it magically came back! - [18:31] anybody know where i can get some advice on this === [1]MrMobius is now known as MrMobius [18:32] I was just looking at the install for ubuntu and it doesn't even seem to support raid, i installed ubuntu originally with raid so i am not sure what changed [18:33] under edit partition i see nothing [18:41] Ok, so im pretty srue this drive should have SMART - how come its not coming up? [18:44] subcool: 'tunnelling' SMART requests through USB / USB enclosure controllers does not always work. you could try disassembling it and attach the drive directly. [18:49] tomreyn, considering that as my next thing, but there are a ton of IO errors. [18:51] subcool: bad wiring? [18:51] second wire. [18:52] unless they are both bad, but im not getting errors from my second drive. [18:52] maybe busted port? bad memory on the laptop? [18:53] with all these errors, it has to be a bad disk. Over heating maybe. if i keep my hand on it,, it works.. once it warms up... it stops. but im assume. [18:53] ::sigh:: WD passport. [18:54] my sympathies. [18:55] thanks.. oh well. [18:55] i was hoping to crack the case too and maybe it was jsut the usb controller. [18:56] https://www.smartmontools.org/wiki/Supported_USB-Devices#idVendor0x1000 [18:58] maybe try with "-d sat" but i'd think it's normally auto-detect that [18:59] i have brought up two programs with smart, and everythng says it doesnt have it. [19:00] past that, i never mess with it. [19:01] subcool: maybe you could lower its rpm enough to get the data off? im not sure how hdds actually work just a thought [19:02] or maybe some script that copies the data off in chunks then waits a while to continue using rsync [19:02] !ddrescue [19:03] i havent used that in forever.. [19:05] i am dragging icon in /usr/shared/applications to put on desktop but it shows like app.desktop [19:05] not clickable [19:05] how can i put shortcut to desktop? [19:06] which ubuntu version? [19:06] latest [19:06] 18.04.2 [19:06] anyone here experience installing the nvidia drivers & cuda related tools on 18.04 and at the same time keep using the intel gpu for xorg? [19:07] for example i am trying to drag terminal on desktop but it shows "gnome-terminal.desktop" [19:07] b1ack0p: make it +x [19:07] +x how? [19:07] chmod +x ~/Desktop/*.desktop [19:08] let me try [19:08] still same [19:08] should i reboot? [19:09] org.gnome.Terminal.desktop [19:09] b1ack0p: here's what i get when i drag and drop a .desktop file from /usr/share/applications to my Desktop and double-click it: https://i.imgur.com/v8Qm0Hc.png [19:10] imgur / [19:10] (and when i "trust + launch" it it actually runs the application. [19:10] i cant open imgur links [19:11] i did " sudo chmod +x ~/Desktop/*.desktop" [19:11] and "sudo chown username ~/Desktop/*.desktop" [19:11] nothing [19:11] b1ack0p: what is the nature of the file on the desktop type "ls -l ~/Desktop/*.desktop" [19:12] blackflow, not with sudo [19:12] ~$ ls -l ~/Desktop/*.desktop [19:12] ls: cannot access '/home/m/Desktop/*.desktop': No such file or directory [19:12] ioria: let me try [19:12] what's the first letter in -rwxrwx... l or - ? [19:12] ioria: hmmm? [19:12] Internet stops working like twice a day, here is the network manager log: https://pastebin.com/PYNgEC0j [19:13] what? [19:13] blackflow, sorry [19:13] b1ack0p: what does "ls -l ~/Desktop" give? [19:13] b1ack0p, not with sudo [19:13] ~$ ls -l ~/Desktop [19:13] total 0 [19:13] ioria: np [19:14] b1ack0p: hmm and there's a file on the desktop right now? [19:14] as root " chmod +x ~/Desktop/*.desktop" [19:14] chmod +x ~/Desktop/*.desktop [19:14] sorry [19:14] chmod: cannot access '/root/Desktop/*.desktop': No such file or directory [19:15] b1ack0p, what are you doing ? [19:15] EriC^^: when i drag and put on desktop there is a file named "gnome-terminal.desktop [19:15] b1ack0p, exit from root [19:15] b1ack0p: ok and it's there right now yeah? [19:15] not at the moment [19:15] just a min [19:16] k [19:16] ioria: same chmod: cannot access '/home/m/Desktop/*.desktop': No such file or directory [19:16] b1ack0p, are you root atm ? [19:16] b1ack0p: https://tomreyn.megaglest.org/v8Qm0Hc.png [19:16] EriC^^: ~$ ls -l ~/Desktop [19:16] total 4 [19:16] -rwxr-xr-x 1 m m 633 May 30 2018 org.gnome.Terminal.desktop [19:17] how do I terminate a screen session while logged in over ssh? I tried "exit" but it just ended my whole ssh session? [19:17] no sense [19:17] b1ack0p, are you sure you are on 18.04 ? [19:17] tomreyn: lol yeah [19:17] really [19:17] b1ack0p: ok type "cat ~/Desktop/org.gnome.Terminal.desktop | nc termbin.com 9999" [19:17] it simply worked [19:17] when i click on it and said trust [19:18] welcome back TJ- :) [19:18] EriC^^: https://termbin.com/ymjo [19:19] by the way what tomreyn did worked for me [19:19] b1ack0p: so you just didn't click on it before? [19:19] nope tomreyn lol [19:19] yea i am silly i know [19:19] no comment ;) [19:19] before it didnt need me to click [19:19] i didnt expect that [19:20] then how would it have launched, by you looking at the icon? [19:20] nshirelaptop: type "screen -ls" to get the sessions, then type "screen -X -S kill" [19:20] no i mean before when i dragged it directly put [19:20] without .desktop [19:20] anyways, glad it works now. [19:20] thx [19:20] brb dinner time [19:21] when i am back i have another question .p [19:21] anyone can help me with my internet/network connection? [19:25] AlexPortable, does it stop working while you are using it, or when it sleeps? [19:26] i'm not sure, i think when using it [19:26] I see "wake requested" in the logs [19:26] But I think that might be the connection, not the PC [19:27] AlexPortable, how have you been fixing it? Reboot? [19:28] AlexPortable, can you also pastebin 'dmesg'? [19:28] i can either reboot, or put the computer to standby and wake it up, that will fix it [19:28] or unplugging the connection for 1-2 minutes and plugging it back in again [19:29] dmesg now or when it breaks again? [19:29] because last time i posted dmesg and someone told me to post the output of network manager [19:37] back [19:37] now another question .p [19:37] how can i add shortcut of folder to desktop? [19:37] actually i wanna put windows drive on desktop for easy access and some folders in there [19:42] lordcirth: ^ [19:43] https://pastebin.com/PYNgEC0j [19:43] b1ack0p right click a folder, "create shortcut" [19:44] GraysonBriggs: there s no option in right click to create shortcut [19:44] in ubuntu [19:44] b1ack0p my bad thought i was in the windows help channel :p [19:45] lol no [19:45] i am dual booting with windows 10 and in ubuntu i can access windows partition [19:45] AlexPortable, I meant when it breaks. But probably I can't help much; I'm not familiar with this issue. [19:45] so i can reach windows documents while i am in ubuntu [19:45] i wanna add shortcut in ubuntu desktop [19:46] b1ack0p, should be able to drag the drive entry from the left side of Nautilus, onto your desktop. I think. [19:47] In Gnome? i thought nautilus no longer manages the desktop ? [19:47] b1ack0p: Right click , select "Send To" , Desktop(Create Folder) Works for me... [19:47] Thr0r: let me try [19:47] b1ack0p: ..sorry (Create Link) ..not folder [19:48] drag and drop worked [19:48] but how about mount the windows drive allways on desktop? [19:48] it goes when i reboot [19:48] b1ack0p: type "ln -s /path/to/mounted/windows ~/Desktop/Windows" [19:49] b1ack0p: it's likely /media// [19:49] sorry drop and drag copies not creating shortcut [19:49] and "send to" doing something else [19:50] b1ack0p: ln creates a softlink, that would work as a shortcut [19:50] EriC^^: thx [19:50] b1ack0p: mount windows from nautilus, then type "df" and see where it's mounted (the path) and use that with ln -s [19:50] does it work for any folder i wanna put? [19:51] b1ack0p: yes, softlinks work across filesystems, hdd's, etc [19:51] b1ack0p: it won't mount windows for you though, you'll still need to manually mount it, or have it automount using fstab when the pc boots [19:51] /media/user/6826BF3126BEFEDE$ [19:52] is this the directory? [19:52] yeah looks like it [19:53] ln -s /media/user/6826BF3126BEFEDE$ ~/Desktop/Windows [19:53] creates a file on desktop but not working [19:53] without the "$" [19:53] ok [19:54] cool [19:54] thank you EriC^^ :) [19:54] no problem :) [19:56] AlexPortable: dhcp problem? [19:56] gabrielc: only on this computer [19:56] lordcirth: there is the network manager log when it breaks [19:58] AlexPortable: Can you setup the interface with static ip/mask/gw/dns? to troubleshooting the issue [19:58] yep, but i'd have to wait 12 to 24h before the problem arises agian [19:59] AlexPortable: an ip address outside the dhcp pool [20:05] bbl [20:05] b1ack0p could have just added an automount :) [20:08] Using NetworkManager on U18 aarch64, it keeps using 127.0.0.53 in resolv.conf instead of the values I provide, any help appreciated. [20:10] phibs: chattr +i /etc/resolv.conf ? :) [20:10] thought about it ;) [20:22] phibs: that is correct, 127.0.0.53 is the local systemd-resolved stub resolver [20:23] phibs: if you want to add your own DNS, add them to the NM connection itself [20:23] TJ-: yeah I did, it would not use them :) [20:24] no worries, I gave up and am using resolved now which is pointing at my configured servers [20:24] which is good enough for gov't work 9tm) [20:24] (tm) [20:24] phibs, if you've got it using DHCP, then set the method to "DHCP (Addresses Only) [20:24] oh too late, another broken config! [20:30] I have 2 Wifi nets here, and on that other laptop i just installed Ubuntu, only one Wifi shows up in the list, is it possible because it's using WPA2? cause the only differences between the 2 networks is WPA and WPA2... [20:31] I see other Wifis from the neighboors... [20:31] akem_: are they in the same frequency band? [20:32] TJ-, Yes 2.4 Ghz. [20:32] TJ-, but not the same channel, one is 11 the other is 13. [20:33] TJ-, It's on a fresh Ubuntu install, i touched nothing yet, just wanted to connect it to the net there. [20:33] akem_: aha! channel 13 is a Europe regional channel; I bet the PC not seeing it is set to the US region which can only go up to channel 11 [20:34] akem_: what does "iw reg get | grep country" report ? [20:34] akem_: (on the PC with the problem) [20:35] TJ-, country 00:DFS-UNSET [20:37] I choosed english language when installing with french keymap, the computer was bought in France i think, i'm in France btw. [20:37] akem_: how about "iw list | grep -A 17 Frequencies" (pastebin the result) [20:38] Just a sec, i'll try to connect it to the working net, it'll be easier. [20:42] Hopefully this is the right place to ask this question: I have a internal DNS server that has local FQDN's for inside my house. When I boot up ubuntu it works fine for a little while (10-15 minutes) then after that I can't resolve any of the internal names. But if I do nslookup and connect to the server to do lookups it works fine. [20:42] Is there something wrong with the dnsmasq on my laptop? [20:44] rgiesige: I'm going to guess the system is using systemd-resolved, and you're using NetworkManager to configure the connection. Is that correct? [20:44] akem_: What wifi are you using? [20:45] TJ-, https://pastebin.com/HtBvF2B4 [20:46] TJ- Yes that should be correct, this is a brand new install of Ubuntu 19. [20:46] akem: hmmm, channel 13 is avaiable BUT "(no IR)" means "do not Initiate Radiation" [20:46] It looks like the default resolution server is my laptop and that it man in the middle the requests for something [20:46] akem: if the AP can do band 2 (802.11a 5GHz) I'd use that for starters (less crowded) [20:47] rgiesige: is your PC using DHCP ? [20:47] yes it is [20:47] jeremy31, a netgear router(the one i don't see) and a freebox one, the one i'm connected too, the chipset with the issue is Broadcom Limited BCM43225 802.11b/g/n [20:47] this is the /etc/resolv.conf [20:47] nameserver 127.0.0.53 options edns0 [20:47] rgiesige: in the Network Manager Connection Editor for the connection, have you added a manual override for the DNS server? [20:48] rgiesige: ignore /etc/resolv.conf, advice you've likely read about changing that is so wrong it makes me want to cry! [20:48] TJ-, there is a 5Ghz network too but i don't see it either on that laptop, i thought because it was maybe too old that was normal. [20:48] akem: So you are using the proprietary Broadcom module? I haven't seen that work on a 2.4GHz channel over 11 on Linux ever [20:48] I can do that right now and test [20:49] but why would I need to do that, shouldn't the dynamic connection DNS be fine. [20:49] every other system that I have is working fine, just not the ubuntu laptop [20:49] rgiesige: I'm trying to determine if, in the Network Manager connection, you're using the DHCP assigned DNS server IP, or have over-ridden it with another DNS entry [20:49] jeremy31, I'm not sure it is the proprietary but when installing Ubuntu i checked the "install proprietary" box. [20:49] no, I'm using the DHCP provided one sorry [20:50] rgiesige: if this PC is *only* using the network-allocated DHCP values and you haven't over-ridden them locally, then the fault would likely be network connectivity [20:50] akem: Best option is to use a channel between 1-11 if you want 2.4 GHz [20:50] rgiesige: the way it works is this: [20:50] That doesn't make sense [20:50] if I do nslookup server {server name} and then do lookup it works fine [20:51] if I reboot the systemd server for DNS it works fine again for 10-15 minutes [20:51] rgiesige: systemd-resolved provides a local DNS stub resolver that listens on 127.0.0.53 (that's what is in /etc/resolv.conf). It also answers glibc NSS API lookups (the C functions gethostnbyname() etc.) [20:51] systemd service* [20:51] rgiesige: now, the stub resolver will use the upstream DNS server(s) provided by DHCP [20:51] jeremy31, Ok, thanks, i'll try to see if i can change the channel on my router. [20:51] Thanks TJ- too. [20:52] but it's not using my local DNS server, it's failing down the chain for some reason [20:52] rgiesige: usually systemd-resolved fails *if* the DNS server it is trying to query doesn't respond. If that happens, and there are multiple DNS servers provided by DHCP or manually, it'll move on to another in its list. [20:53] I just tried nslookup and it worked when I switched to the server [20:53] is there another test I should do? [20:53] rgiesige: using wifi or ethernet? [20:53] rgiesige: that would work; you're going outside the local system. [20:53] is it maybe something on the pihole that I blocking that is causing it to fail? [20:53] rgiesige: show us "resolvectl --status" in a pastebin please [20:53] There a specific url it checks to resolve being up? [20:53] sorry fqdn that it checks* [20:55] https://pastebin.com/82qKUYB0 [20:55] That's what is happening [20:58] yay https://usn.ubuntu.com/3977-3/ [20:58] intel-microcode libssl1.1 openssl [20:59] okay I'm back [20:59] brb [20:59] I had to disconnect and reconnect but now that I have the server for DNS hardcoded it works fine. [20:59] rgiesige: show us "resolvectl --status" in a pastebin please [21:01] okay should I switch back to the dynamicaly provided DNS from my DHCP server? [21:03] jeremy31, TJ- Ok i changed the channel to 11 and i can connect now. [21:06] https://pastebin.com/CRuZBZgY [21:07] So I reconnected to my wifi, and had it dynamically assign the DHCP servers. It is working right now but in 10 minutes or so it will stop. [21:08] rgiesige: right, line 43 onwards shows the problem [21:08] rgiesige: are all 4 of those DNS servers being passed by DHCP server? [21:08] sorry, three DNS servers [21:09] yes [21:10] looking in my pi-hole to see what my IP has requested that has been blocked. [21:11] right, so my original explanation holds and is confirmed by that [21:11] only block that I saw in the last 100 requests was to analytics.google.com [21:11] you say it is your *internal* names that fail to resolve [21:11] That it times out and then disable it for all requests? [21:12] yes that makes sense but I'm wanting to figure out "WHY" [21:12] none of my other systems ever have this problem [21:12] rgiesige: I told you why [21:12] but why would it do it after 10 minutes [21:13] If I can resolve my internal names it should have it in cache for the ttl [21:13] rgiesige: resolved start off using 192.168.1.25... at some point it fails to get replies from that server, so it switches to 1.1.1.1 ... and cloudflare cannot resolve your internal names so those lookups fail [21:13] Would there be a log or some debug that I can do. [21:13] I have other linux systems and windows systems that never stop resolving these names [21:14] rgiesige: It might be a wifi issue [21:14] rgiesige: so, assuming the failing lookups are UDP (smaller request packets) not TCP, then likely the packets are being dropped by a router under pressure [21:14] rgiesige: or as jeremy31 says ^^^ wifi [21:14] my router is at 8% of use and my wifi is at 20% [21:14] I have ubiquiti stuff [21:14] so I can look up those stats [21:14] rgiesige: tcpdump -nn -i interfacename port 53 [21:15] rgiesige: good info on preferred wifi settings https://ubuntuforums.org/showthread.php?t=2354328&p=13614520&#post13614520 [21:15] rgiesige: but the problem is, as far as resolved is concerted, 192.168.1.25 has stopped responding. Now, I also thing you've got the DNS set up wrong. I'd have the 192.128.1.25 set to forward to 1.1.1.1/1.0.0.1 but would NOt have those handed out to clients else you will hit this issue. Clients sohuld only get 192.168.1.25 [21:16] my typing is getting worse! [21:16] but if I have to do maintenance on 192.168.1.25 then I want systems to continue to be able to get to the internet [21:16] so that is why I have them. [21:16] rgiesige: so have another slave DNS server in your local network. [21:17] yeah that's true, I could do that on a docker in my server [21:17] docker container* [21:17] rgiesige: you cannot expect this to work the way you expect; resolved does NOT do round-robin queries of all those DNS server, it just uses the secondaries as backups and switches to them when the primary fails. So once it switches to Cloudflare it won't switch back to your LAN DNS server [21:18] yeah I understand that, but I just want to know why it's failing [21:18] I want the error message or systemctl log that says it failed [21:18] As I said I don't have problems with any other device on wifi. [21:18] rgiesige: have you thought about using mDSN localling? hostname.local, I use that quite successfully with avahi-daemon running [21:19] rgiesige: right, but you *could* if they suffered connectivity problems too [21:19] I can boot the same system into Windows and it works fine. [21:19] rgiesige: which points to a fault with the wifi device/driver combination [21:19] rgiesige: have you checked the kernel logs for clues when this occurs? [21:19] how would I do that? === deltab_ is now known as deltab [21:21] hello what are the security issues with having a laptop auto login? [21:22] I tried to make the password as simple as possible to remember while ubuntu not complaining that it is a weak password and my friend who is much older than me can't input it in the computer. [21:22] So I have now just setup his laptop to autologin and have screen lock disabled. [21:25] rgiesige: when it happens: "journalctl -b --since="5 minutes ago" [21:27] should it come from systemd-resolv [21:27] so I could filter on that? or should I just look for general errors? -e [21:32] rgiesige: forget the DNS side, you're looking for signs of network device/connection problems [21:33] rgiesige: temporary failures would cause resolved to switch to a backup server [21:33] rgiesige: you could also check the invalid/retries counts of "iwconfig" and see if they increase rapidly or are large (check repeatedly over time) [21:34] gabrielc: tried it with a static ip, the network icon doesn't keep going up and down anymore now, but still no connectivity. ping results 'network unreachable' [21:34] I am running a ssh server on an ubuntu box. Am unable to ssh into the box. ufw is not active. [21:34] rgiesige: would be good to know what the device is, show us: "pastebinit <( lspci -nnk -d ::280; iwconfig ) [21:34] connection timed out is what i am getting [21:34] any thoughts on how to debug this problem. The machine I am trying to ssh into, has a static ip [21:35] Intel Corporation Wireless 7265 [21:36] i have a mounted mtp device, but it has as path mtp:// how can i put it in a normal mount path ? [21:36] Those are my temp: https://paste.ubuntu.com/p/hBx5T5mZqH/ [21:36] Why are they idle at 60c :( [21:37] Also Iwent thorugh and the only error I have from resolv is the MDNS issue [21:38] rgiesige: does iwconfig show power management being on? [21:48] rgiesige: if we can't see the info we ask for we cannot really help [21:48] AlexPortable: when the problem is present run: ethtool interfacename -enter. and check the link status. first check that you have ethtool command [21:48] sorry send me the command again [21:51] pastebinit <( lspci -nnk -d ::280; iwconfig ) [21:53] rgiesige: you mean sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf [21:53] https://pastebin.com/mnemeP9d [21:54] I've spent the last 3 hours trying to solve noise on the monitor outputs of the 20 channel hardware mixer of the Ubuntu Studio digital audio workstation here... only to finally discover the first 2 ports are affected where I have the monitors connected, but all the others are fine... as always - just move the darned cables! [21:54] rgiesige: the retries/invalid counts look OK [21:56] okay cool. I'm going to just see if turning off power management on the network card resolves the issue. If it doesn't I'm going to setup the second pi-hole DNS resolver on a docker container [21:57] rgiesige: and I have the identical device here "02:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)" and don't experience issues with it so it's not a general issue. That makes me consider radio interference, so consider other devices in the same frequency band. If 2.4GHz then that includes bluetooth device [21:57] rgiesige: I'd set up a connection monitor between two hosts on your network, maybe pings both ways and check if either sees dropped packets [21:57] It should be on the 5Ghz network. [21:58] rgiesige: so it ought to be out the way of microwaves and baby alarms :) [21:58] yeah that's very true! [21:58] rgiesige: it's not... " Frequency:2.462 GHz" [21:58] rgiesige: could it be hopping frequencies from 2.4 to 5? [21:59] rgiesige: I presume you've got a dual-band AP [21:59] yeah I do. [21:59] rgiesige: another thing to try echo "options iwlwifi 11n_disable=8" | sudo tee /etc/modprobe.d/iwl-opt.conf [21:59] rgiesige: so band hopping is another thing to look for when it occurs. that WILL show up in the logs because NetworkManager/wpa_supplicant will re-associated [21:59] That enables aggressive TX [22:00] binding the connection to the AP s mac maybe [22:00] I have to focus on editing 3 hours of audio transcription now so shall be away from the PC [22:01] the 5Ghz mac that is [22:01] SimonNL: Or have the 2.4 and 5.0 GHz have different SSID's [22:02] THanks for your help TJ- [22:02] there are two options \o/ [22:02] hehe yeah thanks SimonNL [22:02] Is it possible to control the fan with ubunti? [22:03] It should choose the 5Ghz I wonder why it's not [22:03] I've got FN key for fan speed (which works on windows..) [22:03] I'd go for the bssid option [22:04] rgiesige: maybe you have different AP s set to auto connect [22:04] SimonNL: I have one AP in the house and it provides both 2.4GHz and 5GHz [22:05] so I'll see what happens and come back later [22:05] Thanks for your help guys [22:05] ok and configured connections to both and both set to auto connect ? [22:06] ok [22:07] simonnl must have noticed what time it is, late for bed again [22:08] looks like they went together :) [22:51] Hi All! First time on IRC. Can you see me? [22:51] yes [22:51] yes [22:52] Nice! It seems that I have set it up correctly then. [23:34] why is my computer downloading intel microcode updates when i have an AMD cpu and chipset? [23:36] because the apt package manager doesn't know what you've got installed, it just knows the linux package requires these to be installed [23:36] intel-microcode: microcode will be updated at next boot [23:36] ..... please dont. [23:37] is the boot up installer smart enough to say no? [23:37] and. yes it does know what i have installed. [23:37] you would get amd64-microcode, likely [23:37] that update came out couple years ago [23:38] i remember fussing over it then [23:42] Gallomimia: neither gets used if it's not applicable for some reason. [23:43] (<= BIOS microcode, wrong CPU, etc) [23:43] well, gotta run anyway. hafta worry about it later [23:43] it's nothing to worry about really. [23:43] microcode that does nothing... is... worrisome? === signalsout is now known as sirnate [23:44] o.O [23:44] thats what she said [23:44] nate.scot === sirnate is now known as SirNate