[00:00] hello, would anyone be willing to help me work through a VPN related issue? It seems to be related to dns but I can't quite put my finger on where the issue is. I have an anyconnect VPN that I connect to via the openconnect client. It should be tunneling everything to the VPN (which it seems to) but still seems to use the DNS servers set on the physical adapter instead of the VPN adapter.If I specify the fqdn on the adapter t [00:00] kidn3ys: btw irc has line length limits; you were cut off at "adapter t" [00:01] sarnold: thank you, my bad. [00:01] +adapter then it will add fqdn to the end of the hostnames but if I attempt to resolve hostname.fqdn it fails. [00:03] It seems to be some kind of odd conditional forwarding that I can't make much sense out of. [00:05] Also, an nslookup directed at the DNS servers that the VPN provides seems to resolve everything as expected (with and without the fqdn). [00:05] kidn3ys: NM and systemd-resolved do funny things with VPNs. it feels like we've addressed this half-dozen times already but it also always feels like it's not doing something quite right [00:05] kidn3ys: maybe this will give you the right strings to pull on? https://gitlab.gnome.org/GNOME/NetworkManager-openvpn/issues/10 [00:05] sarnold: appreciate it, and sorry if this is not the right place to ask. [00:06] kidn3ys: it's perfectly fine place to ask :) [00:07] sarnold: that looks promising, let me give it a try [00:11] ooo, thank you. I think I can work with that. It no longer applies the suffix but that's better than the other way around :D [00:12] kidn3ys: if there's something still *busted*, please do file bugs ;) hehe [00:12] sarnold: will do, thank you :) [00:14] in non-lts. How can I make it stable as lts? Do not check "unsupoorted" and "preleased" apps? [00:15] can I convert 19 to LTS? [00:15] not until 20.04 comes out [00:15] Sure, reinstall with 18.04.2 [00:15] or that, obv [00:16] OerHeks, ooh. that would be painful [00:16] dax, hm ok [00:16] your best bet is taking 6-month releases until 20.04, then changing your update preference to lts [00:16] in non-lts. How can I make it stable as lts? Do not check "unsupoorted" and "preleased" apps? [00:16] No it wouldn't, as you were stuck for hours, and now you can install, 18.04.2 should be no issue [00:17] OerHeks, no.. you know 18 has issues with me [00:17] it has no support for eufi [00:17] or issues with acpi [00:18] you cannot answer that without trying. [00:18] what are "unsupported" sofware? [00:18] OerHeks, true [00:20] I cannot install chromium. Why so? [00:21] chromium is a snap now [00:21] snap? [00:21] but why its not listed? [00:23] i don't know if kubuntu muon does not show snaps [00:23] https://snapcraft.io/chromium [00:23] hm [00:26] OerHeks, I cannot see any I used. chromium, openjdk, hexchat [00:26] I wonder whats wrong [00:27] check your dmesg [00:27] i have no clue what you asking about. [00:27] if you're still getting acpi errors then you may be able to guess my thought :) [00:41] where can I find docs on what LC_NUMERIC is? [00:41] IRC logs don't count ;) [00:42] I'm filing a bug report and want to reference docs, not "I think I know what it does' [00:43] CarlFK: locale(7) isn't a bad starting point [00:45] sarnold: thanks. this is what I was looking for: "LC_NUMERIC This category determines the formatting rules ... radix character..." [00:46] ah good, because the posix manpages just say it exists but not much else about it. heh [01:10] tomreyn: it looks like the crossgrade worked nicely, thank you again [01:10] bodom: success?? [01:11] yep [01:11] bodom: awesome! :D thanks for reporting back [01:19] bodom: nice! i actually never did it myself :) [01:25] hrmf, it seems I spoke too soon. Now i get no resolution over the vpn :( [01:32] :( [01:34] doh. that's because now the vpn is broke =/ [01:34] sigh... [01:35] is it a sign to start the evening? [01:35] is that code for giving up? =P [01:36] weird. [01:38] yes, yes it is :) hehe [01:43] lol, waiting for food. [01:43] so without touching anything (even setting the domain to ~.) itll resolve hostname and hostname.fqdn properly [01:44] but both wget and firefox fail to resolve it [01:45] AND it looks like it queries both the local dns server and the vpn dns servers for public domains [01:46] kidn3ys: what is itll ? [01:46] eh? [01:46] (08:43:55 PM) kidn3ys: so without touching anything (even setting the domain to ~.) itll resolve hostname and hostname.fqdn properly [01:47] i was just using nslookup [01:47] try host - I think it is the same as nslookup, less spew [01:48] that works too [01:48] dig will show you lots, I never know how to make use of it though [01:49] vpn dns = dns on the other side of the vpn connection? [01:49] I guess I could see firefox having some odd behavior it being a browser and all but shouldn't wget use systemd-resolve to resolve hosts? [01:49] CarlFK: yes. [01:50] i've bumped into this stuff. no vpn, but confusing dns lookup. i my case I had stuf in /etc/hosts that host/nslookup ignore but wget does not [01:51] also every so often ipv6 gets involved and creates more confusion for me [01:52] otoh, there is a coffee shop that only does v6 and hey, all the v6 stuff works \o/ [01:52] fair point [01:52] its set to 'ignore' on the vpn [01:52] (im sure someone accentually disabled v4, not "lets push tech forward" [01:52] well of course the number is higher, must be better =P [01:53] oh my, never thought of that [01:53] hrm [01:53] surprise: twitter.com github.com are v4 only [01:53] well [01:53] ill be damned [01:53] maybe it was the ipv6 on my wireless adapter [01:54] \o/ [01:54] lol [01:54] wget is working now [01:54] still look to be leaking dns locally though [01:56] [Help] I broke my Ubuntu install. When I boot the only network connection in ifconfig is docker. I am unable to connect to my lan devices or the internet. I only got on by using icfonfig in terminal to bring up my network card and editing /etc/resolv.conf to put a working DNS server in there. Please help me get this system back to normal [01:56] heh, interestingly enough it still queries vpn and local servers for public domains. === [b0b] is now known as b0b [01:58] MannyLNJ: not sure where to start, other than "sudo dhclient dev" might get you on with less typing [01:58] dev = p3p1 or eth0 or to see them all [01:59] CarlFK, I guess the first place to start is why enp4s0 isn't comming up on it's own [02:00] MannyLNJ: what release? there is a new place for /etc/network/i.. stuff. a yml file somewhere very different [02:00] no idea how it plays with Network Manager [02:01] CarlFK, I issued sudo dhclient enp4s0 and nothing happened. I am on 18.04.3 [02:01] sudo dhclient enp4s0 - uses dhcp to setup enp4s0, which I think you already did with ifconfig [02:02] CarlFK, I used a static IP that I knew was unused with ifconfig [02:02] im sure you will reboot and need to do it again, so then less typing [02:03] thats fine, just saving you a little typing and showing you dhclient which I use often in times like this [02:05] CarlFK, thank you. I think the issue started when I tried to assign two IP's to my nic. One was the DHCP address in the 192.168.1.X network and the other was 10.1.1.10 I am trying to setup another system to be a DNS/DHCP/Ad Blocker for my lan and needed this system to configure it without affecting the wife [02:07] MannyLNJ: 18.04 is before the yml thing. good. [02:07] hmm, I bet your another system to be a DNS/DHCP is broken [02:08] hey CarlFK [02:08] CarlFK, the other system for DNS/DHCP is my netgear router and it is working fine (or the wife would say I broke netflix) [02:08] hey lotuspsychje [02:09] CarlFK: are you the carl that has the flickering bug on 5.0 too? [02:09] umm.. 50 what? [02:09] CarlFK: 5.0 kernel [02:10] MannyLNJ: if you have 2 dhcp server on your lan, um.. thats going to be hell as they will race to give out IPs [02:10] lotuspsychje - like over a year ago on a carbon-x? [02:10] CarlFK, I only have 1 DHCP server. I havem't started on the other system yet. Need to read up on Proxmon [02:11] CarlFK: no, nvm might be another carl then :p === zenguy is now known as coffeeguy [02:17] i need help with repartitioning my drive [02:17] i replaced my SSD with a higher capacity one... [02:17] and I just straight, cloned my drive [02:18] well,... now it has a swap partition, in the middle of the disk... and unallocated 317GiB to the right of it, according to Gparted [02:18] is it possible to merge it? [02:20] JFox762: maybe swapoff, trash the swap partition, make a new swap partition at the end of the drive, extend the data partition to fit the remaining space, resize the filesystem? [02:21] after removing swap, repartitioning, you can choose for swapFILE instead of partition. [02:21] JFox762: if it isnt' too late, do it again, but this time use clonezilla.org [02:21] clonezilla is prett good about different disk sizes/ partition layout [02:24] i would do a fresh install, no messing with partition allignment and such [02:24] +1 OerHeks [02:24] 5min on ssd [02:25] partition alignment *would* indeed worry me too [02:26] I'd also hope the handy dandy tools would take care of that :) would they not? [02:26] sarnold: yeah with the right tools, one can fix a lot [02:28] sarnold: I have hibernate funciton re-enabled on my install [02:29] If I move the swap partition,... will the configuration files point to the wrong spot on the drive, for resume funcitons? [02:29] JFox762: just so long as there's a swap partition before you try to use it, shouldn't it work fine? [02:29] I'd probably reboot before trying hibernate just in case, because I'm a very lazy person [03:13] anyone awake that can talk pam + radius or tacacs? I'm trying to understand what is the point of configuring either for account or session in pam. Goal is account has to be local and password auth it sent to radius/tacacs as long as reachable and back to local auth if not. [03:13] I have that working but i'm thinking in this case i really only need the auth line in pam. [03:13] ok so I repartitioned my drive [03:13] PRoblem is.... hibernate no longer seems to work now [03:14] oh wait [03:14] i forgot to swapon [03:14] let me try again [03:25] Ok... so im having trouble with hibernate. It isn't working anymore, after I moved the swap partition [03:25] When I hibernate, and start up again... it simply starts Ubuntu fresh, rather than resuming [03:26] did you put the right UUID in your fstab? [03:27] and swap too far at the end of a disk can be an issue [03:27] uhhh [03:27] that is why i suggest to use a swapfile too [03:27] how do i find the UUID? [03:27] I gave it an oversized swap file [03:27] I have 8GB of ram [03:28] but gave it a 16GB alotment [03:28] blkid [03:28] no output [03:30] swapon -s [03:31] vmstat [03:31] JFox762: Too; check what is set for resume device in the /etc/uswsusp.conf file. [03:32] file does not exist Bashing-om [03:32] odd, it worked prior to me moving the swap part [03:32] then you have removed your swap, i guess [03:32] .. or it is at the end of the drive, unusable [03:32] It is at the end of the drive [03:32] but this is an SSD [03:33] gparted shows /dev/sda1 ext4 mt point of "/" [03:34] size 449.76 used 95.99 unused 353.77, flags boot [03:34] then for /dev/sda file system "linux-suspend" NO ENTRY for mount point, size 16GiB [03:34] used --- unused ---, no flags [03:34] JFox762: Maybe that file is for encryption ? [03:35] what file? [03:35] oh wait [03:35] the uuid definitely changed... [03:36] should I edit my fstab? [03:37] and update-grub after that [03:37] ahhh blkid now works [03:37] hi [03:37] huh? [03:38] !grub [03:38] GRUB2 is the default Ubuntu boot manager. Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub - For more information and troubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub2 [04:11] yeah, hibernate is still not working [04:11] I changed the UUIDs in ... [04:12] i changed uuids in /etc/default/grub [04:12] /etc/fstab [04:12] /etc/initramfs-tools/conf.d/resume [04:12] to reflect the swap partition's changed UUID [04:12] it still wont hibernate [04:29] Hello, all. [04:32] Let's say I want to live on the edge and already have backups of data files. How would I upgrade to 19.10 from command line? [04:38] In /etc/update-manager/release-upgrades, I have "Prompt=normal", but do-release-upgrade still says, "No new release found." [04:55] Ahh, I have to use -d flag. [05:21] Random question just for conversation: where are the most Linux users, geographically? [05:22] Jake-abc: https://royal.pingdom.com/linux-popularity-across-the-globe/ [05:25] SwedeMike: interesting. Of course, not everyone uses Google for search, and probably a higher number of Linux users are aware of alternative search-engines. [05:27] there are no reliable stats, AFAIK, not via updates, download of iso's, even wikipedia browser / os stats are just a number [05:27] i use Chromium [05:29] OerHeks: I'm sure Canonical has some sort of numbers, but I haven't bothered looking that up. [05:29] those are voluntairy [05:30] U can download Google Chrome it is easy [05:30] Yeah, and even a survey wouldn't necessarily be representative. [05:30] https://popcon.ubuntu.com/ and https://ubuntu.com/desktop/statistics [05:33] globally 6% https://www.w3schools.com/browsers/browsers_os.asp [05:35] I'm no help with the Ubuntu stats since I always opt out of sending them. Haha. [05:37] anyone know of Ubuntu for Raspberri Pi 4? [05:38] ubuntu-mate is working on that [05:41] about about Microsoft Windows 10 IOT core? [05:42] ya i was looking at Ubuntu-Mate [05:42] I'm going to go install 19.10. Might be back later. Good night! [05:58] why can't a swap partition be at the end of a drive? [05:58] for hibernate functions? [06:07] Does snaps use only internal libraries and dependencies, or can a snap be dependent on stuff from apt? === ayr_ton is now known as ayr-ton [06:11] Hi guys. I am running Ubuntu 18.04.3 with Kernel: 5.0.0-23-generic x86_64 and my laptop is hard freezing 2-3x /hr. Here is my inxi -Fz output https://paste.ubuntu.com/p/xNTRCwc2ts/ [06:12] Im hoping someone has had this issue and knows of a fix. I installed ubuntu and updated to so don't know if previous kernels caused the issue or not === jje_ is now known as jje [06:23] john60, i would reboot and at grub use an older kernel and see if the same issue still occurs... if it does I'd possible ramtest your system or cap-check your box (but your box/hardware may be okay.. just my thoughts) [06:24] guiverc, sounds good. Is there a kernel you recommend? [06:25] I keep reading 4.15 is pretty stable [06:25] sorry I just noted it was a clean install ^ (so none may be on your system), I'd thus think about booting a live & using that; yes 4.15 (non-HWE) has had more in-production testing... [06:26] thanks will test it out tomorrow. [06:26] gn [06:26] (booting live; to test system.. do you know if the box is seen as reliable? unused in awhile? or unknown .. ie. to validate if hardware issue) === macroprep__ is now known as macroprep [07:01] I am still having issues with graphical snaps on my system. I tried uninstalling (purging) snapd all together, but when I reinstalled it still gives me the same errors. https://paste.ubuntu.com/p/NrpPc5vwSC/ [07:02] Does Snap make a new drive appear in the taskbar for a short file when updating a package? [07:04] mr_lou, was that question for me? [07:09] mr_lou, I'm sorry. I got disconnected. Was that question for me? [07:16] Aavar, are you running snap-store from your graphical environment? [07:17] diskin, hmm... I am not sure what you mean. I am running x11 and it gives me similar results when running from the menu as from the terminal. [07:18] I am running xfce, but had the same issue with unity. [07:19] diskin, and btw. I am having the same issue with other graphical apps. [07:19] "Gtk cannot open display: :0.0" - this one? [07:19] Aavar, For anyone who might know the answer. ;-) [07:22] Hmm... Now It is actually crashing my computer... [07:23] I ran snap install inkscape and I locked my computer. I had to force-reboot it... [07:23] Hello, again. [07:28] The upgrade to 19.10 went smoothly. So far, so good. [07:35] Hi [07:35] Hello. [07:35] I have kubuntu 19. I do not see chromium or openjdk in muon. What can be the reason? [07:40] Intelo: Maybe a dumb question, but are they installed? [07:41] not installed [07:41] I want to install [07:41] I don't use Kubuntu/KDE/Muon. I see them in the Ubuntu Software Center, though. Does Muon list Chromium? [07:42] no [07:42] Is moun a software installer for kde? [07:42] (kubuntu) [07:43] Aavar: I think so. [07:43] Intelo: in case you don't get an answer here, you might want to try #kubuntu. [07:44] tell me answer for ubuntu [07:44] I will map it for kubuntu Jake-abc [07:46] Intelo: I don't know what version of Kubuntu you're using, but now there's a snap for Chrome so that might be an easy way to install. [07:49] Intelo: are you on a 64-bit computer running 64-bit OS? [07:51] we told you why chromium is snap only, Intelo [07:52] and openjdk is called openjdk-8 >> https://launchpad.net/openjdk [07:53] or 12 [07:53] https://launchpad.net/ubuntu/+source/openjdk-12 [07:55] OerHeks why these apps are not shown in apt list or muon or any package manager? [07:56] you asked that before.. [07:56] Intelo: have you tried installing the snap? [07:56] ask in #kubuntu [07:56] :-D [07:57] OerHeks: LOL. [07:57] OerHeks what do you mean by snap only? [07:57] I dont see hexchat eirther [07:57] ... [07:57] lolz [07:57] Jake-abc its 64 bit [07:57] due to lack of maintainers, the chromium team provides the browser as snap only. [07:57] OerHeks tell me answer for ubuntuI will map it for kubuntu [07:58] OerHeks what is a 'snap'? [07:58] no i won't map kubuntu answers to ubuntu [07:58] OerHeks I would just use cmd. Its same for both [07:58] Do I need to enable 'unsupported' apps? [07:58] in package manager [07:59] Intelo: https://tutorials.ubuntu.com/tutorial/basic-snap-usage [07:59] yeah, no, i am not going to repeat the website with the chromium snap. i feel ignored. [07:59] Intelo: https://itsfoss.com/use-snap-packages-ubuntu-16-04/ [07:59] good luck! [08:01] Intelo: to install from the command line, you would do something like the following. [08:01] ok. how to install hexchat? [08:02] sudo apt install snapd; sudo snap install chromium [08:02] (Something like that.) [08:02] ok [08:03] how to hexchat? [08:04] Intelo: http://ubuntuhandbook.org/index.php/2019/01/install-keep-hexchat-updated-snap-in-ubuntu/ [08:06] Hexchat can offource also be installed via apt. [08:06] how mundane [08:07] ayekat: would you rather talk about bourbon? [08:07] hexchat is in muon, no doubt [08:08] Jake-abc: was more about how one can simply use the distro package manager to install packages - but that doesn't seem to be in fashion anymore these days, hence my slightly sarcastic comment :-] [08:10] ayekat: oh. Haha. For the record, I gave the link to the snap article, because that's the first one that came up in search. [08:11] OerHeks: have you used Kubuntu much? I tried it once, but it seemed like it was going to take too long to learn. I didn't have the time or the patience for that. [08:12] keep it support related guys [08:12] we have a nice #ubuntu-discuss channel to chitchat all day long [08:16] Goodnight, and good luck. [08:17] OerHeks why can't I see it? [08:18] OerHeks does it falls under unsupported apps? [08:18] Intelo: apt-cache search hexchat or snap find hexchat [08:19] thanks [08:22] irssi <3 <3 [08:25] I'm sorry for asking about this multiple times, but as this is chat I guess different persons will see my question. I am having an issue with graphical snap apps. They wont run ang gives me the following errors: https://paste.ubuntu.com/p/NrpPc5vwSC/ [08:29] don't run gui snaps from comandline, use the launcher in your menu? [08:36] OerHeks, it gives me a similar result. Nothing runs [08:36] Nothing shows up. [08:38] Aavar: its working for me on gnome 18.04 here [08:39] lotuspsychje, I am pretty sure this isn't a bug, but something I have fucked up on my system. [08:40] Aavar: wich ubuntu version are you on? is your system up to date? [08:40] lotuspsychje, This is 19.04 and the system is up to date. [08:41] Aavar: its only snap-store not running or no snaps at all? [08:41] lotuspsychje, no graphical snaps. COnsole only works fine. [08:42] Aavar: you mean running snaps from terminal work? [08:44] lotuspsychje, I mean that for example "lsd" (a tekst only app) works fine from terminal, but snap-store, inkscape, thunderbird osv. (graphical) does not. [08:44] as far as I can see it has something to do with the connection to the x11-server from snaps. [08:44] Aavar: right, lets try a journalctl -f then launch a snap icon, then pastebin us the output please [08:46] lotuspsychje, It shows me the log, but there is no change after running the app (tried different). Do you swill want the output? [08:47] Aavar: are you now on the local console or still remoting with TeamViewer ? [08:47] TJ-: he has a 19.04 xubuntu where gui snaps dont launch [08:47] TJ-, Now I am local. [08:48] Aavar: oh good... that helps rule out any weirdness from TV's end! [08:48] Aavar: did you install a minimal xubuntu or such? [08:48] Do you think it would make a difference ig i switch to gnome? [08:48] Aavar: and you corrected the files owned by 'root' in the $HOME yesterday ? [08:48] TJ-, yes [08:48] yes to the home directory. [08:48] Aavar: has the user been logged out and back in since then? [08:49] TJ-, yes, I rebooted the machine. [08:49] Aavar: good, nice clean slate! [08:49] Aavar: so I think we should focus on another strace log capture so we understand what it does when it goes wrong [08:50] Aavar: I presume in a terminal shell that "snap-store" still fails? [08:50] TJ-, yes. [08:51] Aavar: OK, let's try a capture with that as the target, but before we do lets ensure strace can work fine with non-snaps since yesterday there was some question over the error reports about not being root or suid which might be coming from strace. [08:51] Aavar: did you mess with snapd somehow on your system? [08:52] Aavar: try this: strace -o /tmp/test.strace.log -f -e trace=file /bin/bash -c "ls $HOME" [08:52] lotuspsychje, Not that I can remember, but I do mess with stuff from time to time :P [08:52] Aavar: then show us the resulting log-file with "pastebinit /tmp/test.strace.log" [08:53] lotuspsychje: Aavar I'm wondering if there's a custom LD_LIBRARY_PATH set, or some locally installed libraries in /usr/local/ being picked up in preference to the system libraries [08:53] TJ-, https://paste.ubuntu.com/p/Y2Sr4pNBTr/ [08:54] Aavar: good, so nothing wrong there, so basic strace does work [08:55] :) [08:56] it didn't follow the ls process though [08:56] (Just want to mention that I am not 100% sure exacly what the strace command does, so I am just following instructions at this point) [08:57] Aavar: now let's target snap-store. Do: " strace -o /tmp/snap-store.strace.log -f snap-store |& tee /tmp/snap-store.log " -- this will create 2 log-files, once of strace the other of the command output, so you can share them both with us with "pastebinit /tmp/snap-store*.log" [08:57] geirha: it did [08:59] TJ-, https://paste.ubuntu.com/p/dhcddcBpS5/ https://paste.ubuntu.com/p/Fp7c2NscWR/ (and it also gave me "need to run as root or suid" in the terminal). [08:59] geirha: bash uses execve() which replaces bash with ls [09:00] ah, it optimized away the fork since the whole script was a single simple command. I see [09:00] Aavar: hmmm that is weird; that MUST have come from strace since both stderr and stdout were redirected to the file, so that must be due to snap requiring confinement [09:01] geirha: I only had trace=file :) [09:05] Aavar: "need to run as root or suid" comes from a snap executable. Show us " ls -l /usr/lib/snapd/snap-confine " [09:05] Aavar: I'm expecting that should show "-rwsr-sr-x 1 root root ..." [09:07] TJ-: The machine froze... It has done that two times earlier today when testing this... I had to force it down with holding the power button. I cant imagine this being related? [09:07] Aavar: I'm beginning to think it may be, what was the last thing you saw me type? [09:08] Aavar: Or are you on a different PC? [09:08] TJ-: I am on a different pc. [09:08] Aavar: the fact the yesterday we found lots of root-owned files in $HOME makes me suspect there may be other unexpected file-system owner/permissions issues we have to discover [09:09] Aavar: So this is the most obvious one to start with " ls -l /usr/lib/snapd/snap-confine " [09:10] TJ-: It is owned by root and the same permissions as you expected. [09:12] so it's nice and red? could it be it's on a mount with nosuid set? [09:13] geirha: The output has a red background yes. [09:14] geirha: possible but unlikely Aavar try "findmnt /usr/lib/snapd" [09:14] Aavar: we expect NO output [09:15] TJ-: thats correct. No output. [09:15] Aavar: have you deployed anything like firejail ? [09:17] TJ-: I dont even know what that is, so no :) [09:18] geirha: Aavar: in the strace log for snap-store, at the end, are 2 lines inc. the report about 'need root or suid' where it gets the effective UID (euid) and its 1001 [09:18] 10374 geteuid() = 1001 [09:18] 10374 write(2, "need to run as root or suid", 27) = 27 [09:19] geirha: Aavar I don't use snap at all so not sure what to expect but if someone with snap could run the same strace of snap-store and compare we might make progress since we'd know what to expect [09:21] I'm thinking it might be easier to reinstall the whole system... That being said, it would be great to know what is going on... [09:22] Aavar: do you know if snap-store ought to be run with sudo, or not, normally ? [09:24] Aavar: everything I read suggests it shouldn't use sudo since it's a GUI desktop application [09:25] TJ-: As far as I know it should not matter as it will ask for sudo if it's needed. [09:25] Aavar: here's another report we might look at: "pastebinit <( systemctl status snap* )" [09:25] And btw. I have the same issue with apps that don't require sudo (inkscape for exaple). [09:27] TJ-, It gave me errors, so i ran the same command with snapd* instead of snap* https://paste.ubuntu.com/p/W8jxTfKC7t/ [09:28] (snap.service not found) [09:30] Aavar: if snap* didn't list anything or produced errors we might be onto something, because it should list the snap.core.$VERSION and all installed snap services, try "systemctl list-units snap*" [09:30] Aavar: add "--all" to that to see disabled/failed services too [09:37] TJ-, https://paste.ubuntu.com/p/D4MZcw6R2Z/ Should I maybe try to enable the snapd.failure.service? [09:38] Aavar: I'd think not it is set to "vendor preset: disabled" so presumabled it is started by another snap element when required [09:40] Aavar: at this point it isn't obvious what is going in except it seems to be specific to snap. I think you need to bug/talk to the snapcraft devs. I suspect there's a channel on Freenode they use [09:41] TJ-: #snappy [09:41] alternatively forum.snapcraft.io is active [09:41] popey_ saved me some typing [09:41] ^5 [09:41] popey_, thanks :) [09:41] np [09:42] popey_: I suspect this requires iterative poking its a weird one ... or someone who has experienced it before [09:42] TJ-, thank you for your help so far :) [09:42] Yeah, I imagine one of the snapd people will have some experience. [09:42] Aavar: and let us know what the cause/solution turns out to be [09:43] TJ-, will do. Now I have to go to a customer to repair a labelprinter :) [09:43] Will be back later or some other day :D [09:43] Aavar: tell them to stop licking the labels! [09:43] TJ-, I will ;) [09:49] Hey folks [10:21] my wired connection isnt working in ubuntu 18.04, anyone can help me troubleshoot it? I messed around with network interfaces in virt-manager, but now i dont have any network on the host itself. If i go to the gui settings theres just the VPN section and the Network proxy setting [10:27] Okay, so my connection is actually working. But there is no indication of that in the icon on the upper taskbar, or in the gui network settings. For some reason? [10:32] Anyone have an idea of why that could be? [10:35] oikasd: yes, by default NetworkManager is configured NOT to managed wired interfaces! [10:35] But my connection was in the network settings previously, but since messing around with network settings in virt-manager and stuff it has disappeared now. [10:36] oikasd: so I assume you've managed to set some other network manager handle it, possibly ifupdown (via /etc/network/interfaces) or systemd-networkd [10:36] oikasd: did you add the wired connection to a bridge? [10:37] oikasd: in a terminal shell you can list the devices and states with "nmcli dev" [10:37] oikasd: and you can list possible connections with "nmcli con" [10:39] I ran nmcli dev and got 4 devices. virbr0 is green and the only "active" connection. [10:39] I assume that means ive bridged my connection through that one [10:39] oikasd: 'vir' meaning virtual. Was the PC's wired connection listed? [10:39] yea, its unmanaged and got no connection [10:40] oikasd: "brctl show" will report on bridges and the ports attached to them [10:41] it lists only virbr0 [10:42] oikasd: in which case the reason the wired interface is not listed is likely to be due to NM defaulting to not managing it [10:42] oikasd: try this: "sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf" then "sudo systemctl restart NetworkManager" then check again with "nmcli dev" / "nmcli con" [10:43] oikasd: the presence of this (empty) file over-rides the defaults in /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf [10:43] oikasd: so on restarting NM should offer to manage the wired connection(s) [10:47] I get the same output from ncmli dev andn con [10:49] oikasd: NM still reports unmanaged for the wired interface? that means you've got something else configured to manage it and NM detected that [10:51] Could it be virt-manager managing it? [10:51] no [10:52] actually yes, possibly, if you've a non-default configuration [10:52] although I've not seen that - usually libvirt uses a bridge and does routing or NAT [10:54] So this virbr0 devices, is there are way to disable it and just go back to only using my wired connection as it was before? [10:55] oikasd: virbr0 is only used to connect guest VMs to, and you said the wired interface is not connected to it [10:56] oikasd: you've got some configuration that is managing the wired interface that you've forgotten about or cannot find. There's 3 possibilities: network-manager, systemd-networkd, and ifupdown. You might also be using netplan (/etc/netplan/*) to configure the first 2 of those [10:56] Im not sure about that anymore, but if thats the case then disabling virbr0 shouldnt affect my hosts connection [10:59] Do systemd-networkd and ifupdown come by default`with ubuntu 18.04? [11:01] hmm, using a brand new matebook, I get about double the battery life compared to using windows :o [11:02] what is a matebook? [11:03] probably nsfw [11:03] a notebook from Huawei. Severely hmm, inspired, by macbooks :p === bleb_ is now known as bleb [11:05] !discuss | lastebill1 [11:05] lastebill1: 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! [11:12] TJ- My physical nic is in the network interfaces list of virt-manager, and from there is the only way i can control it. If i disable it there, then i lose my internet connection and it doesnt appear anywhere else. Doesnt that speak for it being managed by virt-manager? [11:15] oikasd: let me check what I see here [11:16] oikasd: that would do it, I only have 'lo' handled by libvirt there [11:17] Okay, so I will try to delete it from virt-manager [11:17] oikasd: disabling (stopping) it in libvirt wouldn't help you'd need to delete it from libvirt entirely (and restart libvirtd probably) [11:23] Okay, so it seems to be working as it should now. thanks for the assistance [11:24] oikasd: phew! [11:25] oikasd: if you added that NM over-ride file using 'touch' it might be worth checking if NM will manage the wired interface without that file there... my guess is you do still need that over-ride [11:42] i'm here [11:42] that means i registered correctly right ? [11:43] mystic, probably. Do you have a support question related to Ubuntu? [11:43] i like ubuntu [11:44] just about the only linux thats usable without a damn terminal [11:44] Ok mystic , general discussion of Ubuntu is generally held in #ubuntu-discuss [11:44] i have one question.. not important much but.. my task bar is covered up by my top bar [11:44] so my 'files' folder is partly hidden [11:45] ubuntu 19 [11:47] ok mystic, give it a little time for a volunteer with 19.04 experience to pick up the question. [11:51] mystic, if you're referring to hidden files, just press 'ctrl+h' [11:53] i think mystic is referring to the activities panel [11:53] not hidden.. jusy a bit covered up by the top panel [11:53] ah [11:53] the right panel is hidden a bit by the top one [11:53] so it looks messy [11:53] maybe it happened after i added the 'hide top bar' app in forefox [11:53] not sure [11:53] firefox* [11:53] have you installed any gnome extensions yourself? [11:55] not sure.. just one to make the bar go away on top [11:55] if you added a firefox extension to firefox then it should only change how firefox (and its menu bar) displays. it should not change the desktops' main panel, unless what you were on extensions.gnome.org, installing a gnome extension through firefox. [11:55] probably that then [11:55] cos i want the bars to go away [11:55] not sure why its not a built in feature anyway to be honest [11:56] unfortunately gnome extensions can easily break gnome, as a whole, so you need to be very careful about which you install. i recommend you limit yourself to use those gnome extensions which are available from ubuntu repositories. [11:57] you can make some customizations using gnome-tweaks as well [11:57] well, id rather this than having the top bar there all the time [11:57] it wastes real estate [11:57] Hi. Why's /snap/bin not in $PATH by default? [11:57] guess i'll have to live with it then.. not a big deal [11:58] * tomreyn did not say "you have to live with it" [11:59] mystic, last supported is Shell 3.26; 19.04 uses 3.32 [11:59] i dont think you can remove the top bar in the tweak tool tho [12:00] sorry have to work, back in a bit... [12:01] BlueShark_, please specify which version of Ubuntu you are using. With my 16.04 install, it appears to be in $PATH by default, unless it was added by something without my noticing. [12:02] BlueShark_: actually it is [12:05] /etc/profile.d/apps-bin-path.sh adds it [12:05] maybe using another shell BlueShark_ , zsh ? [12:06] zsh sources /etc/profile as well [12:07] there was a confirmed bug in xenial : https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1640514 [12:07] JimBuntu: 18.04.1 [12:07] Launchpad bug 1640514 in snapd (Ubuntu Xenial) "/snap/bin is not added to the PATH when using zsh" [Undecided,Confirmed] [12:07] ioria: fresh installation [12:08] shell is bash [12:08] not the case then [12:08] i manually added it in .bashrc [12:08] and then it works. [12:08] snap install docker - this is the right command right? [12:09] .bashrc isn't the place to define $PATH, though [12:09] do I have to specify any additional flag for it to be automatically present in bin? [12:09] ayekat: ~/.profile then? [12:09] To confirm shell, existence of apps-bin-path and content - ps -p $$ && cat /etc/profile.d/apps-bin-path.sh [12:09] BlueShark_: if you haven't got any ~/.bash_profile or ~/.bash_login, then yes [12:09] ayekat: what's the preferred order? [12:10] BlueShark_: but really I'd rather check why the /etc/profile.d snippet isn't sourced in the first place [12:10] BlueShark_: install the pending updates, reboot, then come back if issues remain. [12:11] ioria: ah, upstream zsh is different, but I guess that doesn't apply here :-] [12:11] # Expand $PATH to include the directory where snappy applications go. [12:11] I can see this in /etc/profile.d/apps-bin-path [12:11] ioria: wait, ignore my comment [12:11] So that is present, just not sourced. RIght? [12:11] ayekat, ok [12:12] BlueShark_, what's your kernel ? uname -r [12:12] BlueShark_: /etc/profile.d/apps-bin-path or /etc/profile.d/apps-bin-path.sh? [12:12] for clarity, this is a fresh installation of ubuntu 18.04.1 and I haven't done anything other than snap install docker, and docker did not get added to path. shell is default. [12:13] ioria: 4.15.0-1021-aws [12:13] ha [12:13] ayekat: the latter, sorry I wasn't clear. [12:13] would AWS be fucking with something here? [12:13] !language | BlueShark_ [12:13] BlueShark_: Please avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList [12:14] oh, very sorry. [12:14] BlueShark_, echo $PATH [12:14] there might be some other snippet sourced afterwards that resets $PATH in an unfortunate way - hard to tell without knowing the content of the other files in there [12:14] BlueShark_, AWS could be messing with something, really depends on the AMI you used. I have not experienced such a thing in the past though. [12:14] ioria: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games [12:15] bofh [12:16] what? [12:16] no idea [12:29] probably aws having made custom changes to /etc/profile or something [12:31] So im trying to follow this part of this guide: https://linuxconfig.org/install-and-set-up-kvm-on-ubuntu-18-04-bionic-beaver-linux#h8-configure-the-network-bridge It says that adding those lines to /etc/network/interfaces wont affect the network negatively, but after i add them and restart the computer (or just the network service) then my network [12:31] completely stops working. Commenting out those lines and restarting, and it works again. What am i doing wrong? [12:35] watermarked screenshots of a terminal showing text... that's a new high [12:36] oikasd: is network-manager running? [12:36] Yep, it is [12:37] oikasd: /etc/network/interfaces (and related files) are for configuring ifupdown, which is a different network management suite - running it alongside NetworkManager usually causes conflicts, as both are trying to configure the same network interfaces [12:37] oikasd: I assume the original interfaces file (before you modified it) only had lines related to the `lo` interface? [12:38] Oh okay. This is just confusing, why do they put several network management suites into ubuntu by default, and why does this guide assume that I use ifupdown instead of network-manager === Majong is now known as DetectiveTaco [12:39] (1) no idea, and (2) because random online blog [12:40] I guess ill try to find some other guide or something for this [12:42] I'm not familiar with libvirt (although I think it can use various backends like qemu/kvm or others), so I can't quite help there - but if you want your solution to be properly integrated with your current setup, I'd search for how to set up a bridge using NetworkManager [12:43] (alternatively, switch to a different network management suite that allows you to do that more easily - but I'm not someone to give suggestions based merely on opinions) [12:47] BlueShark_, it should be fixed by now , but i post you this: (see #28) https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1771858 [12:47] Launchpad bug 1771858 in snapd (Ubuntu) "/snap/bin not in default PATH for units, snapd should ship system-environment-generators to inject /snap/bin into $PATH" [Critical,Confirmed] [12:48] oikasd, this uses netplan : https://www.linuxtechi.com/install-configure-kvm-ubuntu-18-04-server/ [12:49] ioria: it's fixed by now means? [12:51] BlueShark_, that someone reported it as fixed (using proposed pkgs); officially not [13:23] hi guys, can you recommend a PDF viewer which can show edit suggestions? I have a document with blue strikethrough text over here, and apparently, there should be an edit visible when I click on it, but in evince I cannot see it [13:25] chymera: inkscape perhaps? [13:32] inkscape, as a PDF viewer? 0.o [13:33] chymera: it can handle pdf's yes and is often used by users for editing purposes, not sure if it will solve your issue though [13:36] well yes, it can, but it's precisely the metadata it can't read well... so it's specifically the purpose at hand that it's not well suited for [13:36] I was thinking of another PDF viewer (not editor), which can view text comments made by editors. [13:41] !pdf | chymera some others [13:41] chymera some others: The Portable Document Format is created by Adobe; PDF files are viewable in Ubuntu with Xpdf, Okular, Evince and also Adobe Reader (free download, but closed source) [13:41] chymera: think there's an acrobat snap too [13:54] Ello all [13:54] having an issue with KVM on 16.04 [13:55] Every time I try to set a guest VM's RAM to over 4GB, KVM resets the value to 4GB [13:55] In both virt-mangage and virtsh. [13:56] It is a 64-bit guest and host. [13:56] hydrian: how much memory does the host have? [13:57] 24GB. I'm trying set it to 8GB. [13:57] hydrian: have you enabled hugepages? [13:57] I only have two other VM's and they run <= 1GB [13:58] hydrian: https://help.ubuntu.com/community/KVM%20-%20Using%20Hugepages [13:58] guest or host? [13:58] host. [14:03] Yea. Hugepage may be an issue. This was an inplace upgrade from 14.04 [14:07] why dont you go all the way up to 18.04 lts [14:07] I broke the ability to automaticly disable the touchpad while typing because I installed synclient to enable coasting. Coasting now works fine, but I keep mistyping because of the trackpad not being disabled when typing. I just tried to start ubuntu from a usb, and the touchpad worked fine in regard with disabling when typing. Anyone here an exp [14:07] ert on synclient or able to tell me how to enable coasting without synclient? === juboxi is now known as jubo2 [14:09] tomreyn: Time. [14:09] i see [14:10] Tom01: I always wait a year before I move to the next LTS for my servers. So I just started considering 18.04 in Apirl [14:10] lastebill1: you don't say what you're running, and i'm definitely *not* an expert on this. but on 18.04 the (default) non-synclient input framework is "libinput". now if you combine a web search for this and "caosting", you might find something useful. [14:10] *April. [14:11] Sorry that was for tomreyn ^ [14:11] hydrian: it should indeed work on 16.04, i can't see a reason for it not to (even without hugepages support, i would think). [14:12] that is, unless bugs, of course [14:13] In 16.04 huge pages were enabled by default. Pre 16.04,hugepages was not. Since this was an upgrade.... [14:13] I think this base machine even started back at 12.04 [14:13] hydrian: check the logs, "journalctl -b 0 -u libvirtd", there may be a clue [14:13] tomreyn thank you! Sorry, running disco dingo on a matebook. Coasting is the ability to continue scrolling after you "realease" the scrolling. Like "throwing" the website so to say. [14:14] ah i see what you mean lastebill1 [14:15] TJ-: No luck there [14:19] hydrian: any other possibly related serious issues? journalctl -b 0 -p 3 [14:22] lastebill1, have you tried with syndaemon ? [14:22] ioria no, I will check that out! [14:23] tomreyn: Nothing obvious [14:23] lastebill1, something like 'syndaemon -i 4 -d' [14:30] hydrian: could this explain it? https://stackoverflow.com/questions/43039272/dynamic-memory-allocation-in-kvm [14:36] TJ-: I don't think so. I wasn't doing any balloning as far as I can tell. I also didn't setup the ballon driver the guest (Ubuntu 16.04) [14:37] hydrian: so can I get it clear? You use virt-manager GUI and set the allocated memory to more than 4GB whilst the guest is NOT running, save the profile and it resets to 4GB? [14:41] TJ-: In virt-manager I set the guest VM RAM (Current and Maxium) to 8GB. When I click 'apply'. The GUI resets it back to 4GB. [14:41] The same type of thing happens in virsh [14:42] is there any utility that can return basic system info in json? [14:43] hydrian: when you set it (presumably you enter 8192 ?) does the host have that much free according to "free" ? [14:43] muhaha: "lshw -json ..." [14:44] Thanks, and something that can return SW stats? [14:45] TJ-: Yes. I'm currently only using 8GB of 24GB (not including cache/buffer) [14:45] That [14:45] is there a way to see the chat log in this channel? [14:45] That's with the 4GB version of the problem VM running. [14:47] !logs | lastebill1 [14:47] lastebill1: 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/ [14:49] hydrian: is the guest CPU a 32-bit only version? [14:51] syndaemon -i 1 -d -t makes it feel very much like I like it to behave. Is there a trick to shave off half a second though? I'd like to set it to delay for half a second, but 0.5 seems to set it to 2 seconds [14:52] hydrian: is max_core set in /etc/libvirt/wemu.conf ? [14:53] hydrian: I think that only applies to core dumps themselves but the comments surrounding it could be interpreted to mean it affects guest memory too [14:56] hydrian: lots of # comments in those configs, try this to see just the active settings: "sudo grep -v '^\(#\|$\)' /etc/libvirt/*.conf" [15:05] 64 bit CPU: AMD A8-7600 Radeon [15:06] trying to get my bridged connection for my kvm guests to work but im having problems. The guests dont get any ips, static doesnt work either. Im using netplan and ive added my physical nic to it and set it to dhcp: true, then i added a bridged connection br0 and also set it to dhcp: true. Then i start up the kvm and i assigned it to br0 in virt-man [15:06] ager and i also put it to dhcp: true in its own settings. But it never gets an ip. Anyone know this stuff? [15:07] Hello all....is there a Multipass spacific freenode channel? [15:07] lastebill1, fractional seconds are supported [15:08] good afternoon. I'm using 18.04 with gnome shell: is it possible to stop grouped icons changing order? Eg if I have 3 firefox windows open, the last one clicked on ends up at the top of the list and the order keeps changing. When there's a few I can go round in circles trying to find the right one to click on which is infuriating [15:10] oikasd: you shouldn't need to do any of that. In virt-manager's Connection Details (for QEMU) on the Virtual network tab you should just have "default" (virbr0) active with autostart on boot and DHCP enabled and Forwarding: NAT ... get that to work first *then* you can try switching to routing or bridged ethernet [15:10] !alis | cgregan [15:10] cgregan: Alis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http" [15:17] @tj Should I even have to be in and use the Virtual Networks tab? I dont want a virtual network, i want my vms to connect to my actual real network and give each of them their own static ip address [15:20] oikasd: I'm just suggesting you start with the basics and having it work at all :) [15:25] TJ-: Nothing looks off or related in the config files [15:26] Hmmm this is odd. [15:27] address sizes : 40 bits physical, 48 bits virtual | root@ruadan:~# arch | x86_64 [15:27] That's from inside the guess VM. [15:28] That's from CPU proc === Scruffy is now known as aleph- [15:29] Is't that how a 32-bit machine looks wuth high memory enabled? [15:31] how can I add a script to my environment path so that I can just type "prs" to launch "prs.sh" [15:32] is it a bad idea to create a /usr/local/bin/permission.sh script where I store specific system-wide permissions? [15:35] magic_ninja_work: two options: (1) add an alias (run 'help alias' for more info) to your ~/.profile or ~/.bash_aliases (if using bash), (2) ass the directory the script is located in to the PATH variable in your ~/.profile - but then all executable files in this directory become executable from anywehre. [15:35] *add [15:36] oops, thank JimBuntu [15:37] TJ- I got it working with dhcp now, but cant get it to work with static ip. Where would i specify what static address the vm has? its running ubuntu server 18.04 [15:38] seven-eleven, that would depend on if your user requires a password for sudo, the permissions given to the permission.sh and if sudo is required for it to run, I imagine. Generally, if this isn't a shared system, I wouldn't consider it a *bad* thing [15:40] Greetings, I have several PCs I'd like to be able to ssh into all of them from any of them.. To do this would I have to install both the ssh client and server on each one? [15:40] newbie007: correct - and then set up some ssh keys so you don't have to faff with passwords [15:41] thanks, do you think that there is some easier way? [15:41] they all connect through a router.. but I don't think that helps.. I still need each one to be listening for a request.... [15:44] newbie007: if you want to be able to "remote in" from outside your home router then you could set up one of the boxes as a "jump box" - only that is remotely accessable and the rest you can jump to from that. In fact, you can even set up your ~/.ssh/config to automagically proxy through a jump box [15:44] (so you only need to port forward one port) [15:45] !info pssh [15:45] pssh (source: pssh): Parallel versions of SSH-based tools. In component universe, is optional. Version 2.3.1-1 (bionic), package size 28 kB, installed size 132 kB [15:45] I just want from my home to connect from anything-to-anything.. from outside nothing coming inside [15:46] inside your home you can connect to anything to anything - but you'll need sshd isntalled and running on each box. externally won't be able to connect, so if that's what you want then easy :) [15:47] got it, thanks so much! [15:56] tomreyn, thanks. I would prefer to add the path to my environment variables so that I can add other scripts [15:58] magic_ninja_work, in that case, don't name it .sh if you really want to only have to type in "prs" [16:00] magic_ninja_work: we have /usr/local/bin/ for local admin scripts or (for BASH) $HOME/bin/ [16:00] magic_ninja_work: if $HOME/bin/ exists when you start bash it'll add it to the PATH === Wryhder is now known as Lucas_Gray [16:03] magic_ninja_work: is ~/bin a bash thing, ubuntu thing or something special you've done? [16:11] so if I make a bin folder in $HOME/bin rather than a scripts folder, it will add it. Let me try it out [16:12] magic_ninja_work, yeah, but logout/login after [16:14] ioria, I can't just restart terminal? [16:14] nope [16:14] does bash load first, then user sessiosn on top of it? [16:14] Or does anyone have a flow chart / some visual aid for that process? [16:15] magic_ninja_work, grep bin .bashrc && grep bin .profile [16:16] I'm say why can't I just restart my terminal emulator? [16:19] so thinking about this, I guess the question is at what part of system startup does bashrc load [16:19] magic_ninja_work, I think you can start a new terminal [16:20] well, $HOME/bin isn't in my path [16:21] it is $HOME//.local/bin for me [16:21] magic_ninja_work, if ~/bin ( properly written with your username / absolute path ) isn't in your PATH, then add it in the PATH in ~/.bashrc, open a new terminal and it should show in your PATH and you can start placing scripts in that directory [16:22] magic_ninja_work, if you already have a $HOME//.local/bin , then use it. [16:22] So that did it. [16:22] I have actually never tried it before. I just have my scripts folder and put a symbolic link there. [16:30] any way to make the 18.04 network manager gnome applet create system connections by default? it's quite idiotic to assume all users have sudo rights, and deny wifi connections otherwise, by default. [16:30] create *user* connections by default, sorry [16:30] currently it attempts to create a system one and kindly asks for sudo password, which the user obviously doesn't have [16:31] workaround is open settings app, select wifi, and there it creates user connections as it should [16:32] bviktor: https://askubuntu.com/a/830673 # found by searching for "ubuntu connect to wifi non administrator user" [16:33] that's not what i'm asking [16:33] this allows all users to control system connections, which is equailly as idiotic [16:33] https://askubuntu.com/a/313440 [16:34] that's most likely does the exact same thing, but from the gui [16:34] that * [16:34] network connections are a system-level thing. I don't think user-connections is a thing [16:35] "you don't _think_" is rather irrelevant, as it's a fact that they exist [16:35] i just explained that you can do a user connection without sudo rights from a different gui path [16:35] also, /etc/NetworkManager/system-connections is called /etc/NetworkManager/*system*-connections for a reason, not by accident [16:37] the separate org.freedesktop.NetworkManager.settings.modify.own and org.freedesktop.NetworkManager.settings.modify.system polkit actions also exist for a reason [16:38] it's just that noone seems to care about actually solving this, so all "solutions" involve this brute force method of "let's just allow everyone do anything, what could go wrong" approach, which to me is equivalent to chmod -R 777 [16:45] (why connecting to an *existing* vpn profile also requires sudo rights by default is also beyond me. it's like no ubuntu/gnome/nm/polkit dev ever tried to use a comp without full sudo rights, which brings ubuntu around the usability level of windows xp where i needed admin rights to plug in a USB drive :-)) [16:47] hi bviktor did you get my memo about ign DKMS? [16:48] oops, igb even [16:48] no, but i figured ito ut [16:48] i just didn't want to "idle chat", which i already violated again i guess [16:49] bviktor: the Intel makefile is very poorly written, and your dkms.conf MAKE[0] was triggering the wrong path into it [16:49] i'll eventually push that ansible collection to github i just need to get rid of the confidential corporate stuff first [16:49] this is a good working dkms.conf http://paste.ubuntu.com/p/6pj2hFYwXV/ [16:49] actually it was working fine, unless you updated to a different, ABI-breaking kernel without a reboot [16:50] yea, mine also looks something like this [16:50] bviktor: the entire point of the build system is to set the vermagic to match the kernel being built for, not that of the build system [16:50] yes, i know. [16:50] it's just extra tricky when you have to move around dirs [16:51] for example, i have a driver which calls "./mvidtoh.sh" [16:51] that's essentially impossible to build now [16:51] without a prepared custom tarball [16:51] and yes, it's a poorly written makefile, but that won't change the fact that cd'ing to the kernel dir instead of the driver dir causes headaches [16:52] other one uses CFLAGS =+ -I(PWD) or something like that, that also needed other workarounds, because of this [16:53] that's *how* Kbuild does it, it expects to be told where the out-of-tree source is as part of the M= [16:53] telling it where the module is won't change the working directory [16:53] it just tells it where to look for source files [16:54] but anything in any makefile that uses the driver's dir to perform custom stuff will fail by default [16:54] but anyhow, like i said, i already solved these, it's just another headache [16:54] bviktor: 'working directory' in Kbuild terms is where it is writing the intermediate files, which can be set with O= [16:55] how will that make "./mvidtoh.sh" be found during the build? [16:56] bviktor: when I need to add to the build process I add things into the Makefile using PATCH[x] [16:56] many driver makefiles assume you cd into the main driver dir, and if you're somewhere else, it fails, as simple as that [16:56] yes, that's also an option, if i have too much free time i'll do just that :) [16:57] anyhow, thanks a lot of getting back to me [16:58] but for DKMS builds, if you want to add something into the build then you *have* to set M= to DKMS's build path, not /usr/src/mod-ver/ - in the absence of O= it is the same as M= hence using: "MAKE ... make ... M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build/src " [16:58] M= is already set, yes [16:58] DKMS copies everything from /usr/src/mod-ver to the path above ^^ [16:59] duh... [16:59] it won't automagically fix the problems i mentioned above, dude [16:59] bviktor: which is under /var/lib/dkms/ (that's $dkms_tree) [17:00] you cd into /usr/src/kernel-, then it looks for mvidtoh.sh in /usr/src/kernel-, where it obviously won't find it, as it's in the driver's folder [17:00] bviktor: if your shell script has been copied over it will be called correctly (assuming you're using a Makefile directive for that) [17:00] well guess what, it wasn't [17:00] mvidtoh.sh : not found [17:00] or something along those lines [17:01] there's no "makefile directive" for that, it's part of make all [17:01] bviktor: you can check since the copy will be at /var/lib/dkms/$MOD/$VER/source/ [17:01] what needs to be checked? i already know the sources are there [17:01] bviktor: as I said, I add those into the Makefile using a PATCH[x] [17:01] but make cd's into /usr/src/kernel-, not /var/lib/dkms... [17:02] yes, as i said, i'd like to create patches, but that's even more time, which i don't have rn [17:04] i'd love to give you an example driver package so that you can play around, but that too takes time :) [17:04] right, it has to, but my point is the script, and any Makefile, should use the env-vars DKMS sets to use the correct path. This has all been thought through over the years but it can be difficult to figure out from scratch [17:05] exactly what i said, these drivers are poorly-written, that's all [17:06] The igb Makefile is designed to run either stand-alone or as part of Kbuild, DKMS needs the Kbuild path almost always, and when that path is conditionally chosen by the Makefile problems generally ensue ;) [17:07] nah, it's not the intel drivers that fail [17:07] one is peak, which is an abomination, and the other one is tn40xx, which is possibly even worse [17:08] you have to hunt for the driver itself, then firmware files in random github comments, then some random make flags, then it generates some headers, and THEN you can actually build the driver properly [17:09] oh yeah, out of tree drivers in particular are usually thrown at a wall like mud! [17:10] back to your VPN / sudo issue though, why is suod required? neither ifupdown, sytemd-networkd nor network-manager need sudo to bring up an interface [17:10] mostly because they run as privileged system services of course :) [17:11] EXACTLY [17:11] because of stupid defaults, that's why [17:11] because a system connection requires sudo rights by default. why? ask polkit [17:11] and then again, network-manager-gnome creates system connections by default. why? ask network-manager, or gnome, or both [17:11] well that makes perfect sense for *system* connections that only authorised administrators can mess with them [17:12] yes, the first one makes sense [17:12] the second one doesn't [17:12] especially since you can make a user connection a system one anytime afterwards [17:22] how can I find the package a library belongs to? [17:22] I see /usr/lib/x86_64-linux-gnu/libxvidcore.so.4.3 [17:23] would like to know which package installed it [17:23] how can I manually set eth0 to an IP ? [17:23] I'm looking to connect to a specific device via a switch and just assign a static IP to my machine [17:23] KungFoo: dpkg -S the path [17:23] magic_ninja_work: ifconfig eth0 the.ip.ad.res [17:24] you have not said anything about subnet mask, nor routing [17:24] they just aren't relevant to this particular question. [17:25] Dummy switch with two static IP addresses plugged in. It is some industrial equipment. Really simple setup. [17:25] and it runs ubuntu? [17:25] I run ubuntu. [17:25] gtg bb [17:26] So I have a general question about the graphical connection managers in linux. [17:26] They seem to be different than configuring the connection via console. [17:27] I guess more of a confused statement. [17:27] yes, they're graphical. [17:28] For a lack of better words, I can see they are "different layers". How is this "broken up". [17:28] For instance, setting up a connection in a graphical client doesn't add a systemd unit to handle it... [17:29] Or, when I start my DE, I'm not already connected to wifi. There is an application within the DE that handles connecting to various wifi networks. [17:31] But I don't know enough to know how to properly phrase my question. [17:31] hi [17:31] guys [17:31] will u help me to install persistence ubuntu on my flash ? [17:32] Aryan: irc works best with specific questions -- where are you stuck? [17:32] magic_ninja_work: you can use ip addr to add or remove IP addresses from network interfaces; you can use happy frontends like network manager to manage them; you can set up systemd unit files (perhaps using netplan front end) to set up more persistant connections.. [17:33] magic_ninja_work: different tools for different tasks :) [17:33] sarnold; i'm on windows and i have a Ubuntu USB [17:33] i don't know how to make it persistent [17:35] sarnold, okay. I'm on KDE, so I'm going to operate under the assumption now that I needt o get specific information about the KDE connection manager. [17:35] I don't think it starts up until KDE starts up (otherwise I would have wifi all the time, not just while in a KDE session). [17:35] magic_ninja_work: most Desktop installations will use NetworkManager and its GUI options [17:36] magic_ninja_work: if you set an NM connection to a user then it won't start until that user is logged in (the NM default is connections are available to "all" users) and, if set to autostart, will be started as soon as possible, and certainly before the systemd network-online.target is reached [17:37] Aryan: aha :) so.. you want the Live USB image to have a writable partition that sticks around? [17:37] yes mr sarnold [17:38] i have a bootable ubuntu usb drive now [17:38] TJ-, so I did confirm I have network manager installed. That is the daemon that "handles" various network connections ? [17:38] but idk how to make it persistent [17:38] magic_ninja_work: correct, it's a system service [17:39] TJ-, so are systemd network units something different? [17:39] magic_ninja_work: you can also work with it from the command-line using "nmtui" which is a text-based dialog-drawing tool, or for raw command-line "nmcli" [17:39] magic_ninja_work: yes, they belong to systemd-networkd which is only installed by default on ubuntu-server installs [17:40] okay, so I am on 19.04. So, I will use the network manager daemon rather than the systemd-networkd [17:40] looks like I have the systemd networkd [17:41] So it is installed, but disabled in systemctl [17:41] magic_ninja_work: Ubuntu introduced 'netplan' (netplan.io) to so a single network config description in YAML format (/etc/netplan/*) will 'render' the configuration for either of NM or systemd-networkd, depending on which is in use [17:41] : | [17:41] !info netplan [17:41] netplan (source: plan): network server for `plan'. In component universe, is optional. Version 1.10.1-5build1 (bionic), package size 28 kB, installed size 106 kB [17:41] grrr, wrong one! [17:41] !info netplan.io [17:41] netplan.io (source: netplan.io): YAML network configuration abstraction for various backends. In component main, is important. Version 0.97-0ubuntu1~18.04.1 (bionic), package size 60 kB, installed size 211 kB [17:42] I've added additional input language, but when I switch to it the typing is still English. do I need to install additional language packages or something? [17:42] so is that currently in use? [17:42] magic_ninja_work: if you use the NM connection editor you're manually creating permanent connection profiles for NM that are stored in files in /etc/NetworkManager/system-connections/ [17:44] magic_ninja_work: if you write a netplan.io YAML config in /etc/netplan/ it'll be used at boot-time, every boot, to write a config that is stored only in a tempfs under /run/ and so the NM (or systemd-networkd) config only lasts until the next reboot [17:44] I see, so the potential exists here for conflict. [17:44] And it appears that KDE's connection manager is a frontend for network-manager. [17:45] guys [17:45] Aryan: can we help you? [17:45] Aryan: does the memory stick have partitions on it? if so, you could try to resize the one partition with gparted (or a similar tool; I don't actually resize filesystems very often..) and then add another partition at the end for your data [17:45] help me create a persistent ubuntu usb drive [17:46] magic_ninja_work: there's 3 network management tools, historically ifupdown (/etc/network/interfaces) then NetworkManager and later systemd-networkd [17:48] sarnold; so i should resize my USB and make unallocated space on it ? [17:48] sarnold; so i should resize my USB and make unallocated space on it ? [17:48] !patience | Aryan please [17:48] Aryan please: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [17:48] TJ-, my experience left with ifconfig :) [17:48] So I know nothing about the new stuff [17:49] ubottu; ok [17:49] You're welcome! But keep in mind I'm just a bot ;-) [17:49] aha : | [17:51] sarnold; i resized my USB and have made unallocated space , what next step ? [17:51] There's a package libxvidcore4 - how do I get the .deb file for this? [17:51] Aryan: do you have a virtualization software with usb passthrough there? virtualbox can do this, but there may be others. [17:51] KungFoo: apt download libxvidcore4 [17:51] Anyway, TJ- I appreciate the clarification there. That was a bit involved. Is there any document you can that clearly articulates this structure? [17:52] how to install deb from command line? [17:53] magic_ninja_work: there's this basic overview from Debian https://wiki.debian.org/NetworkManager [17:53] KungFoo: that's often not a good idea, i suggest you discuss the details and get a recommendation. this said, you can do it using sudo apt /path/to/package.deb [17:53] Aryan: create a new partition in the unused space, mkfs an ext4 filesystem there, and see how it goes.. [17:54] tomreyn Yes i have [17:55] u mean i should make my persistent USB with vitualization software ? [17:55] Aryan: download the ubuntu.iso, verify it's !checksum, create a VM with your usb storage passed through to it, boot off the iso on the VM, install to the usb in the VM. [17:56] Aryan: if oyu already have data on the usb storage be careful not to overwrite it, you'll need to use manual partitioning [17:56] and make sure you install grub to this device and not elsewhere [17:57] (but if you do this in virtualization only the usb storage should be available, so that's actually safe) [17:57] KungFoo: start with your whole story please, what are you trying to do with the manual .deb? [17:58] Hi there! When I try to console connect with virsh then it simply hangs here: https://pastebin.com/UYXy64Vq any ideas? [18:00] can't install package in docker [18:00] so I'm going to download outside the continaer and install inside of docker. [18:00] it's not my container [18:07] tomreyn; aha ok i got it [18:07] adac: have you configured a serial console on the guest system? [18:08] sarnold; i'm not with mkfs and ext4 filesystem .... [18:09] could u just write the exact command ? [18:09] I don't really have a question to ask other than, Is this a good place for noob questions, Or is there a better place for that kind of thing? [18:09] BriggsE: if its about ubuntu, sure [18:09] BriggsE: this is fine :) [18:09] BriggsE: this is a fine plasce for any kind of ubuntu support questions [18:10] Awesome :) Does this also include it's derivatives, like Xubuntu? [18:10] it inclused official !flavors but not !derivatives [18:10] !flavors [18:10] Recognized Ubuntu flavors build on Ubuntu and provide a different user experience out of the box. They are supported both in #ubuntu and in their flavor channel. For a list, see https://www.ubuntu.com/download/ubuntu-flavours [18:10] xubuntu is a flavor [18:11] for gui related questions, #xubuntu may be the better place to ask, though [18:11] Right, I should have use flavors. I use Xubuntu currently, and have for the last two years. I love it. But I've not been very active in the Linux community and being a developer, learning C, I'd like to be involved. [18:12] BriggsE: would you like to contribute? [18:12] At some point, for sure, I don't think I have much to contribute yet though. [18:13] !contribute | BriggsE start here [18:13] BriggsE start here: To contribute and help out with Ubuntu, see http://community.ubuntu.com and https://wiki.ubuntu.com/ContributeToUbuntu [18:13] BriggsE: join also #ubuntu-discuss if you like, alot of likeminded helpers join forces there [18:13] tomreyn, would this work like this: https://stackoverflow.com/a/37194932 [18:14] So I thought I'd check out the community around Ubuntu and it's flavors to see if there is anything I can do some time :) [18:14] s/some time/sometime [18:14] BriggsE: you surely can, contributing has a very wide range of tasks that might interest you [18:14] Aryan: try mke2fs -t ext4 -j /dev/... where you give the path to the partition you just created [18:15] lotuspsychje: Thank you for the welcome. I'll probably lurk for a while to see what goes on here, but thanks for the warm welcome [18:15] BriggsE: np, and welcome to the ubuntu community [18:16] adac: if you have a systemd based debian derivative running in this guest system (such as a version of ubuntu listed in /topic), then yes, this should work. [18:17] adac: you may need to configure the serial device of the kvm guest to match these settings. [18:17] ...that's in this guests' qemu configuration on the host [18:18] tomreyn, ok I see will check all these things [18:18] thanks a lot === BriggsE is now known as BriggsE2 === BriggsE2 is now known as BriggsE3 === lotus|i5 is now known as lotuspsychje [18:33] i am here [18:35] h [18:35] i [18:37] where is everybody [18:37] mystic: do you have an ubuntu question? [18:38] is that a ubuntu question, or an? hard grammar [18:38] and yes [18:38] since instaling the 'hide top bar' add on in firefox, the top bar covers up part of my taskbar [18:38] not a big problem but a bit untidy looking [18:39] what should we do ? [18:41] we as in not the plural or me, but as in us, as a team - together [18:41] mystic: firefox addons you can discuss in #firefox [18:41] are you sure thats appropriate? [18:42] it happens even when i dont use firefox. and im not even sure thats what caused the issue [18:42] mystic: make a screenshot of whats happening exactly? [18:43] and perhaps annotate it with that's wrong [18:43] how do i do that? a screenshot [18:44] mystic: there's a prt sc button on your keyboard normally [18:44] i pressed it now what do i do ? [18:44] mystic: upload to a host, imgur.com for example [18:45] https://imgur.com/UKUiDlp [18:45] you can see it hides my top icon, the folder icon. top left. is that normal ? [18:46] what is 'it'? [18:46] the top bar, you can see [18:46] mystic: thats not an 'addon' like you said, its the ammount of icons on your dock [18:47] no its not. evem if i remove them the folder stay high up top, and is obscured [18:48] mystic: is it the nautilus folder in half you talking about? [18:49] dont know. its called 'files' file explorer i guess.. on the top left.. you can see [18:49] the icon is party obscured by the top bar... as i keep saying [18:49] mystic: did you try to grab with left mouse and slide the icons up and down? [18:50] and if i remove icons from the task bar, they dont change.. it still stay up top [18:50] yes. but then the one below it just replaces it up top [18:50] So I'm still trying to install that laserjet p1006 USB printer (which installs but remains silent when I try to print a page). I did a little research and found that page (http://foo2xqx.rkkda.com/) which says in the documentation that this printer needs to have downloaded a firmware each time it is powered up..I assume this is why it does not yet work. Now I seem to have found that firmware image, how exactly can I download it to the printer? help, anyone? [18:50] mystic: not switch, move up n down holding mouse [18:50] silent printers, good [18:50] holding mouse? [18:51] i drag with left button held, yes.. it just switches [18:51] mystic: its hover mouse on the end, then the icons should move up or down [18:51] it doesnt really matter.. but it just looks untidy [18:51] i dont understand what you mean [18:52] mystic: the problem is you have more icons then the dock is long [18:52] it really isnt [18:52] mystic: so you need to go up or down, by hovering your mouse pointer on the end (up or down) [18:52] ill send a pic and prove it [18:53] https://imgur.com/gd1I40z [18:53] i dont understand what you mean hover mouse.. left hold only move icon and another just replaces it on top [18:54] mystic: not hold mouse, just let mouse pointer rest on the end of the dock [18:55] nothing happes if i do that [18:55] and end where? [18:55] mystic: then it will move up or down, depending on wich end your pointer is [18:55] npthing i cna see happens [18:55] which end? sorry, no idea [18:55] mystic: the dock has a beginning and an end agree? [18:56] top and bottm? yea [18:56] try [18:56] i did.. nothing [18:56] i dont get it [18:56] just tested here and it works [18:56] i dont knwo waht ure dpoing then [18:57] first u say press left, then u say press nothing [18:57] mystic: its press nothing [18:57] then my mouse pointer just hovers over the taskbar and nothing happens [19:01] maybe ou have extra features installed [19:01] you* [19:02] mystic: your ubuntu version please? [19:02] 19.04 i think [19:03] mystic: should work by default [19:03] linuxr: the way i understand http://foo2xqx.rkkda.com, the firmware is to be downloaded before / while you build the driver. i think you could just use the driver available in ubuntu (printer-driver-foo2zjs) and place the firmware in /lib/firmware/hp though [19:03] hovering my mouse over anywhere in the task bar does nothing [19:04] maybe i didnt get exactly what you did [19:04] ive never heard of thing smoving without pressing some kind of button first [19:04] mystic: i just tested it here [19:05] did what? [19:05] move mouse to top? my mouse hits the folder icon [19:05] mystic: made the icons move up and down on dock [19:05] move it to bottom, it hits the app draawer icon [19:05] move it to a clear space on the bar, and nothng happens at all [19:05] so whats left? [19:07] this is for ubuntu 17 i saw on google 'gsettings set org.gnome.shell.extensions.dash-to-dock extend-height false [19:07] ' [19:07] will it work for me or break something? [19:08] mystic: changing dconf values dont really break things, it helps you to tweak [19:09] well it worked.. half... they are in the middle.. but the task bar is also only extending as far as the icons [19:09] not looking great also [19:09] tomreyn, oh well..but I think this needs to be integrated with udev, so that the firmware is downloaded right when the printer is turned on, no? [19:10] how the heck can u move your icons down just by hovering the mouse? i dont get it [19:10] linuxr: the driver contains udev rules at /lib/udev/rules.d/85-hplj10xx.rules which execute commands when a matching device is connected. [19:11] mystic: at the last icon try moving your mouse pointer over it [19:11] he folder icon? [19:11] or the apps drawer icon on bottom? [19:11] tomreyn, okay, cool...I'll try that [19:11] mystic: the icon thats showing half means= there are other icons hidden at that side [19:12] tomreyn, how did you find out so quickly what the ubuntu driver does? [19:12] there is only once icon half hidden.. the one on top [19:12] linuxr: i have it installed, i think it comes with the default set of printer drivers. [19:13] you cna take control of my pc if u want. i dont care.. i cant make the damn thing move an inch [19:13] linuxr: dpkg -L printer-driver-foo2zjs lists the files it provides [19:13] mystic: is your graphics driver installed correctly? [19:13] no idea.. i dont understand ubuntu.. i just installed it and updated it [19:14] mystic: pastebin: sudo lshw -C video [19:14] ? [19:14] damn.. cant even copy and paste from here.. [19:15] i got no results when typing that [19:15] mystic: try to avoid swearing in the support channel [19:15] maybe its wrong.. is that a L or a I? [19:15] tomreyn, in the makefile I read something about the ".img" firmware file needing to be converted before it can be loaded..do you think I'll have to do this in advance? [19:15] i didnt swear [19:16] linuxr: yes, you probably need to run the getweb command / script available on the driver source code, because i don't see this in the package. it downloads the firmware and converts it tothe format the printer driver can work with. [19:16] https://pastebin.com/twic88f0 [19:17] i have a redeon vega 8 , so its right i guess [19:17] linuxr: afdter conversion, the firmware should have a .dl extension: http://crysol.github.io/recipe/2013-08-11/hp-p1005-debian [19:18] okay, I'll try that tomreyn..there also seems to be a ubuntu package "hannah-foo2zjs" (graphical firmware downloader for the foo2zjs package=.... [19:18] mystic: yes, looks like your driver is loaded [19:18] i guess maybe 19 is a bit broken [19:18] should have stayed with the lts [19:19] linuxr: i don't see this in ubuntu. are you running ubuntu? [19:19] mystic: if you find a bug in ubuntu please file the !bug [19:19] tomreyn, yes, 18.04 [19:19] i dont know if its a bug [19:19] tomreyn, package "hannah-foo2zjs" [19:19] anyway, ive just told you lot in here.. it might be a bug.. im not qualified to say [19:19] !info hannah-foo2zjs bionic [19:20] hannah-foo2zjs (source: hannah-foo2zjs): Graphical firmware downloader for the foo2zjs package. In component multiverse, is optional. Version 1:4 (bionic), package size 16 kB, installed size 50 kB [19:20] mystic: try a liveusb 18.04 and put much icons on dock to test [19:20] mystic: then come back and let us know if it works [19:20] this was like it even before i filled the taskbar [19:21] how ot burn the iso to usb in ubuntu? or i'll have to boot into windows [19:21] linuxr: oh right, it helps when you know how apt works. so actually the printer-driver-foo2zjs-common package (which printer-driver-foo2zjs depends on) provides the "getweb" command [19:21] mystic: ubuntu has an usb creator tool [19:22] tomreyn, so "getweb" should already be available? [19:22] linuxr: so unless you need to download the firmware graphically, just use the getweb command from there. [19:22] i cant find it [19:22] yes [19:22] mystic: its an icon with a harddisk with ubuntu logo/green arrow [19:22] 'make startup disk' ? [19:23] linuxr: sudo apt install printer-driver-foo2zjs [19:23] mystic: you see if you try... [19:23] Whew that was such a pain. [19:23] Finally got connected to that peksy smart relay. Tech support gave me the wrong default address. [19:23] it was a white arrow in a blue circle with a usb behind it [19:23] is it right? [19:24] mystic: did you try it? [19:24] ive opened it.. have to download the iso also [19:24] dont knwo if its the right app or not [19:25] tomreyn, okay, that actually installed the ".dl" file into /lib/firmware/hp [19:27] linuxr: so continue from step 3 of the page i pointed to [19:28] tomreyn, shouln't that be handled automatically by udev? [19:28] linuxr: once you've set it up initially, yes. [19:29] linuxr: i.e. step 5 [19:31] tomreyn, I don't understand what "/lib/udev/hpljP1005" is supposed to do [19:36] So i setup samba on an ubuntu machine and i can succesfully access shares from my other Windows machine, but only if those files are on the ubuntu machines main drive. I got some NTFS drives conncted to the ubuntu machine, which i mount and access through /media/usrname/, but i cant seem to share folders in these. Is there a way to do this? [19:39] linuxr: it is the hotplug script which uploads the firmware to the printer [19:39] oikasd, i think you need to set "usershare owner only = false" in /etc/samba/smb.conf then restart smb. [19:40] i added force user = *myusernameonubuntu* and now suddenly i can access it from my windows machine without any credentials or anything, wtf. [19:41] tomreyn,okay, but in that script, there is a "DEV" variable "/dev/usb/lp0" which does not exist..what to do now? [19:41] tomreyn, also "/etc/hotplug/.." which seems to be deprecated [19:42] Okay, I had the *guest ok = yes* which made it work instantly from my windows machine. But still funny how it didnt work at all, not even locally, before adding force user = *username* [19:42] or I'm getting this entirely wrong, what also could be the case :D [19:43] good afternoon to all... has anyone dealt with touchscreen issues? [19:44] linuxr, if everything you're trying fails, i suggest to update hplip to 3.18.10 : https://sourceforge.net/projects/hplip/files/hplip/ [19:44] i got disconnected and spend ages figuring out how to re sign in... freenode... [19:44] the usb image failed to write [19:45] guess i'll have to use windows [19:45] ioria, I think I'm almost there, when I get the firmware to load I hope everything works...just don't understand how that is supposed to work [19:46] linuxr: the hotplug specific commands would only be run if you passed a special parameter to the script, which you wont. the DEV variable is first set to this device path you quoted but then unset so that autodetection takes place. [19:46] startup disk creator wont work [19:47] fails to write to my usb [19:49] tomreyn, oh I see, you're right...I executed that script, no output so far [19:49] hello? [19:49] !who | mystic [19:49] mystic: As you can see, this is a large channel. If you're speaking to someone in particular, please put their nickname in what you say (use !tab), or else messages get lost and it becomes confusing :) [19:50] seems to log somewhere [19:50] linuxr: hmm then something is wrong, i think. according to http://crysol.github.io/recipe/2013-08-11/hp-p1005-debian we should have seen some output there. [19:51] tomreyn, I see in the script that it tries to detect some logging facilities..just don't see where the output should go [19:52] linuxr: journalctl -eb [19:53] lutospsychje [19:53] was helping me [19:53] btu i cant even get the usb creator to work [19:53] !enter | mystic [19:53] mystic: Please try and keep as much of your info as possible on ONE line - easier to follow for everyone. [19:54] What is the channel for c programming? [19:54] hmm... maybeicansavemorespacelikethis? [19:54] mystic: if he's not currently available to answer your questions then it's a good idea to summarize the issue and what you're doing overall, what your goals are. and which ubuntu version you're using, and what yu tried so far. [19:55] !alis | deadmund [19:55] deadmund: Alis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http" [19:55] Anyone has logs of tonights Ubuntu Desktop meeting? [19:55] tomreyn, wow it actually works...I restarted the printer and the light flashed in red when the firmware was downloaded, now I'm able to print, just wow! [19:55] I don't see andyhing in "journalctl" though, also nothing in the logs [19:56] i had problems with centering my task bar icon, they are stuck at top and one is obscured by the top bar. we cant get it to move, lotus recommended i try a usb ubuntu 18 and see if i get same problem. im on 19 here. but i can even get the usb creator to work. fails to write the iso to usb [19:56] cant even * [19:56] I'm using chromium and with my htop running, I'm noticing that some `lipeplayer.so` process in chromium-browser is taking up a big chunk of cpu usage. Is there any way I can mitigate this? [19:57] guess i'll have to use rufus in windows [19:57] royal_screwup21, are you sure that's the name? [19:57] linuxr: hmm, i assume the hotplug script was modified to not print this by default then. makes sense, i guess. [19:57] s/hotplug/udev/ [19:58] tomreyn, is there a way to monitor udev events and the following actions? in what context does the udev script run? always root? [19:59] How do I see if this serial console on the guest is really started? [19:59] !checksum | mystic [19:59] mystic: To verify your Ubuntu ISO image (or other files for which an MD5 checksum is provided), see https://help.ubuntu.com/community/HowToMD5SUM or http://www.linuxquestions.org/linux/answers/LQ_ISO/Checking_the_md5sum_in_Windows [19:59] https://ravada.readthedocs.io/en/latest/docs/config_console.html [19:59] sudo systemctl start serial-getty@ttyS0.service [19:59] mystic: do this before you try to write to the usb storage. [19:59] Habbie apologies it's `libpepflashplayer.so` [19:59] jeez.. more research? i guaruntee if i use rufus on windows it will wtire just like that [19:59] brb, thats what im going to have to do.. again [19:59] linuxr: udevadm monitor [19:59] write* [20:00] royal_screwup21, i recall chromium has a task monitor - maybe you can see what site is causing the load [20:00] I've captured a screenshot of the process here: https://imgur.com/a/twqSqdQ [20:00] also a REALLY bad bug in ubuntu 19 is the inability to drag and drop items from folders on to the desktop [20:00] royal_screwup21, are you sure that's not just a command line argument passed to all chromium processes? [20:00] linuxr: i don't know which user runs it really, but if you'll spend more time on trying to understand how it works you can certainly find out. [20:01] !YY.MM | mystic [20:01] mystic: 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 [20:01] okay, thanks tomreyn...your advice was incredibly helpful! I only wished there was better documentation since this could basically work out-of-the-box as only the firmware file was missing [20:01] habbasi9 I'm not really sure tbh. Is there any way I can verify? What I do know is that if I close chromium, that entry disappears from htop [20:01] Habbie* [20:02] 19.04 [20:02] i cant even copy the iso to my usb normally.. wont let me drag and drop.. will ahve to use windows to redownlaod the usb and to write it to my usb... [20:02] inspecting the task manger reveals that my irc web client it consuming the most power :( welp [20:02] royal_screwup21, find the task/cpu/process/.. monitor inside chromium to see which tab is ... [20:02] s/it/is [20:02] royal_screwup21, ah you found it [20:02] linuxr: i agree. it seems like the developer wanted this to be a bit of not-invented-here because he's a bit unhappy with the lack of contributions. maybe consider supporting them to make them happier. [20:03] linuxr: you could also file bugs against the debian package (after checking which bugs are already there) [20:04] sorry guys.. have to do somme productivity which means off to windows.. brb later for more troubleshooting... [20:04] tomreyn, you're right, that could be a reason. Thanks for your help anyways, I can now print with open source drivers which is great [20:05] mystic: no one here forces you to use ubuntu, use whatever you are happy with. [20:05] i was asking for help.. but even the help he gave my is not possible , wont work. cant deag and drop files? cant write a usb image? what do yo uwant me to say? [20:05] mystic: and please keep in mind people spending time on talking to you here are all volunteers, doing this in their spare time. [20:06] im not attacking anyone? just expressing reasonable frustration [20:06] for an OS not to allow me ot even drag and drop, its broken [20:06] yes, please keep that to a minimu, it doesn't help [20:06] mystic, you've been informed a couple of times today, in at least two channels, that you are an unreasonable complainer [20:07] mystic, please consider that the problem is you [20:07] linuxr: glad i could help. :) [20:07] so i made ubuntu 19 not drag and drop? [20:07] the bugs row in /proc/cpuinfo, does it mean that the kernel mitigated these cpu bugs or that the system is still vulnerable ? [20:07] and not write to usb? [20:08] Apachez: i believe it refers to the CPU having the bug [20:08] Apachez: mitigtation status is in sysfs [20:08] Apachez: /sys/device/system/cpu/vulnerabilities iirc [20:10] Mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling [20:10] looks more like a description [20:10] rather than if the mitigation is enabled or not [20:10] Apachez: those are per-vulnerability mitigation lists [20:10] Apachez: as in, what mitigations, if any, are currently deployed for each known vulnerability (in that sysfs dir) [20:11] Bugs list: icons wont center in taskbar, items in folders wont drag and drop onto desktop, or onto usb drives etc. usb creator tool wont write iso to usb. ubuntu 19.04. cya [20:12] Apachez: if you prefer a more user friendly presentation, use spectre-meltdown-checker [20:12] tomreyn: thanks, was just trying to recall that program's name [20:13] nacc: ok thanks [20:13] tomreyn: there are more than just spectre and meltdown nowadays [20:13] today was another one released CVE 2019-2155 or something [20:14] nacc: apt search meltdown works here (18.04) [20:14] Apachez: this script is constantly extended, it has this name since those were the first ones known [20:15] Apachez: the latest is available from git, obviously, it's just a shell script. [20:15] apt-cache show spectre-meltdown-checker | grep ^Homepage [20:22] Apachez: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-1125 [20:26] I wrote the iso to usb in windows and booted up into ubuntu 18. so there was nothing wrong with the iso image, but ubuntu 19 usb image writing program wont work [20:27] https://thehackernews.com/2019/08/swapgs-speculative-execution.html https://access.redhat.com/articles/4329821 [20:33] ? === sjohnson is now known as mayo === mayo is now known as sjohnson [20:37] ok.. i take it ubuntu 19 is broken. maybe u peaked at 18. [20:40] mystic, there is no "u" (you), we're all Ubuntu users the same as you [20:43] The windows 1903 update seems to have deleted one of my linux partitions [20:44] I recovered the little bit of data I wanted with gparted though. No harm done but annoying [21:01] TJ well i guess 19 is 'beta' kind of. hopefully 20 will get back on track. 18 was nice imo. 19 has given me some big problems [21:01] Can anyone recommend and good tool, commandline or graphical, to interactively find and replace some text in a bunch of files? [21:02] octav1a, most editors can do that; i use sublime text but it's not free, but i'm sure there's plenty of others out there. besides 'text editor', 'IDE' might be a good search term [21:02] sorry, to clarify, the text is in the file NAMES, not actually inside of the files. [21:02] oh [21:02] the 'rename' tool can do some clever things [21:03] i'm also pretty sure there are other tools but i cannot remember their names right now [21:05] unfortunately, 'rename' does not seem to have an interactive mode, at least in the help text [21:06] no, i don't think it does [21:06] octav1a: i'm using sed -i for that [21:06] maybe something like 'mc', but that's on the other end of the spectrum [21:06] tarzeau, to rename files? [21:06] i used to use one on windows once.. to change an entire batch of icons to another file extension type. cant remembe the nname of the software now tho sorry [21:06] Habbie: possible also if you combine it with ls [21:06] animated emoticons, not icons* [21:06] tarzeau, i suppose, but then quoting is hard [21:07] yeah if you got ' or spaces in filenames [21:09] when is ubuntu 20 due? [21:09] its lts isnt it ? [21:10] octav1a: see gprename http://gprename.sourceforge.net/screenshot.php [21:11] mystic: http://bootes.ethz.ch/bts says in 263 days [21:11] 19.10 in 71 days, import freeze 22 august [21:11] cool thanks [21:11] i'll either be using ubuntu 20 or mx linux i reckon [21:12] TJ-: that looks pretty cool, thanks [21:16] tomreyn: ahh tnx [21:17] tomreyn: imho it should be renamed into cpu-vuln-checker or something [21:18] Apachez: apt-cache show spectre-meltdown-checker | grep -E '^(Original-Maintainer|Bugs):' # ;-P === sauvin_ is now known as Sauvin === Mr-Potter is now known as MrPotter === MrPotter is now known as MarkPotter [21:50] Hi tomreyn, I wanted to thank you for so kindly volunteering me yesterday with the issues. I managed to get myself a solution for the problem, though it came out of an another major mess I created by mistakenly deleting some important python libraries. I wrote about the whole process here. https://bit.ly/2YVMcNL. Thank you so much for the time. :) [22:02] priyankasaggu119: :) thanks for reporting back, and for the credit. i'm glad i could help a bit, even though it got worse later. but it looks like you found a way out of the mess, good to hear this. [22:03] Thank you tomreyn. You helped alot. :) [22:26] hi === westor{off} is now known as westor [22:42] anyone use nvm for node management? [22:48] does ubuntu have a nfslockd service like RHEL? [22:53] * rpc.lockd is gone, remove all references to it from debian/: [22:53] https://launchpad.net/ubuntu/+source/nfs-utils/1:1.1.0~rc1-1 [22:54] cyp3d: hmm, I wonder, I thought that you'd be looking for rpc.lockd, but .. it looks like it's been disabled for a while. Curious. [22:54] (also, I'm not sure I've ever seen a version numer with *5* '1's in it like that before. neat.) [23:27] Hey, can I some help? I'm trying to recover my Windows 10 password via Ubuntu but I'm getting an error message when I try to access my system32 file folder. [23:28] I tried googling the problem and all the solutions produce nothing [23:29] hi, is normal that when apparmor block anything it blocks the windows manager ? I mean the os works, I can switch to the console and user irssi, the X looks blocked. I can move the pointer but I can close windows or click something. [23:29] MMYStic: it depends what it blocked and why; certainly you could probably write policy that has that affect, if you tried [23:29] sexy1233: I see from the other channel you're getting an I/O error, this is already not a good sign, it's an indicator of hard drive failure [23:30] genii are you sure? I did the SMART check and the results came out to be OK. i could even access all the other folders on my system except /system32/ [23:30] I am changing some app profile because I want them more strictive. For example firefox and chromium. But as I sai when I run firefox it block the entire X [23:31] s/sai/said/ [23:31] sexy1233: If it's just that folder then probably a corrupt file that you're attempting access to. [23:31] sarnold: anyway, what should I kill to unblock X ? [23:32] I have killed firefox but X is still blocked [23:32] MMYStic: what are your DENIED messages? [23:33] sarnold: just a momento I have to install gpm to use the mouse on console [23:33] genii if the entire system32 file is corrupted, what can i do? i don't want to lose all my data [23:34] MMYStic: wow, that takes me back.. haven't seen that in twenty years :) heh [23:34] audit: type=1400 audit(1565133924.877:58): apparmor="DENIED" operation="capable" profile="/usr/lib/firefox/firefox{,*[^s][^h]}" pid=4963 comm="firefox" capability=21 capname="sys_admin" [23:35] sarnold: lol, I am a bit old [23:36] hmm, that's probably going to bust the firefox sandboxing; if you want to deny sys_admin, it'd probably be better to disable the firefox sandbox [23:36] killing firefox might get your X back [23:36] sexy1233: There's not really a satisfactory tool for checking and repairing NTFS from linux. Normally inside Windows itself you would do something like chkdsk C: with flags to tell it to repair and run next boot. But if you can't login already it becomes a chicken-egg problem [23:36] depends what it did to your socket :/ [23:37] sarnold: I killed firefox but nothing is changed. well I try a random kill [23:37] MMYStic: dang :( [23:38] uh. how do i turn on ssh server in ubuntu 19.04 ? [23:38] sexy1233: Do you have a Windows Recovery CD/DVD around? It could be done from one of those [23:38] ( even an old one for XP up to 7 or 8 ) [23:38] Gallomimia: try sudo apt-get install openssh-server and see if that installs and starts it [23:39] okay thanks [23:39] a tad annoying, but good idea to turn that off by default [23:39] Gallomimia: be sure all user accounts have reasonable passwords, or disable password auth [23:39] yeah. i might turn it back off after [23:39] just want to transfer some files [23:40] genii: Thank you for the response. I have a windows 10 installation disk but i don't have a windows 10 repair disk. Would getting a repair disk be the same thing as flashing it to a usb stick? [23:41] Also, do you think that I can just create a new user from Ubuntu onto Windows 10 and fix my password from there? [23:42] sexy1233: Probably tcd of linux..like Trinity for instancehere are better dedicated tools to use for this than a live [23:42] meh touchpad [23:43] I'm sorry could you put that into layman terms. I'm not famliar with anything Linux at all [23:45] sexy1233: To reset a windows password from linux takes some finagling, requires special apps which can read and write registry files, etc. So it's probably better to download a Cd/DVD or USB image of a dedicaqted tool for this purpose [23:46] ..apologies got someone here in person behind me also asking questions about another unrelated tech issue [23:48] Okay, thank you for the clarification. No need to apologize, man. Thank you for helping me with the problem [23:49] sexy1233: For older Windows password recovery tools, there was Ophcrack but it does not work with Win10. So another tool like Trinity Rescue Kit which can recover or reset Win10 passwords is probably the best option [23:50] .. but if the hard drive has some issues, you'd probably be best served to focus on data recovery instead [23:51] sarnold: Yes, the I/O error is worrisome [23:51] bck.. i cant even type the hash syn=mbol on this client [23:51] sarnold I was messing around with the settings and all of a sudden my windows just kept blinking and bugging out and since then my password has changed and i have not been able to login using my password [23:52] My password changed without me changing it all [23:52] it at all* [23:52] Do you guys think I'd be better off getting a new ssd/hd and recovering the information [23:52] sexy1233: I wonder if you just got a bad error message from windows; "bad password" rather than windows-equivalent of "I/O ERROR" [23:52] I will type out the exact error message real quick [23:54] "Sorry, could not display all the contents of "Windows": Error when getting information for file "/media/ubuntu/xxxxxxx/WIndows/xxxxx": Input/output error [23:55] sexy1233: If you have the time and patience, since the drive itself seems to have issues ( or at least some area of the drive).. if you have a spare drive around larger than the current drive your Windows is currently installed to. It would be prudent to hook both drives up, boot to a liveusb/livedvd linux and then install ddrescue and run it on the original drive to a backup file on the larger drive [23:57] @geni [23:57] In this way you would have a snapshot of the drive, errors and all but can work with the image instead of the original to extract/salvage files if needed while you figure out how to fix the original issue