[00:05] Hello, I’m doing a fresh install of Ubuntu and was hoping I could get some help [00:05] What should the boot loader installation location be [00:06] I have windows installed on a separate drive from where I want Ubuntu installed, everything is gpt, should I choose the boot loader installation location to be the windows efi partition or something else? [00:09] Styil: My suggestuion - install grub to the drive ( the device not the partition) that holds ubuntu - that way Windows does not affect the boot loader and you can boot Windows from grub or bios. [00:23] day 2 of trying to setup LACP :3 [00:23] let me upload my config here see if anybody new has comments [00:45] https://kitsunehosting.net/nextcloud/index.php/s/dC3Yj6j7Ln47fCD/preview [00:46] any ideas why its not working? [01:04] kenwoodfox: I wonder what happens with the dhcp4: true and dhcp4: false both in the bond0: section [01:04] kenwoodfox: I also wonder what happens with double-definitions of enp?s0: nics in both files [01:04] sarnold: oh you're right, i left that in there from last night, ill try removing it [01:04] sarnold: double definitions? [01:05] yeah, pretend I copy-and-pasted the bits into here :) [01:05] Im not sure what you mean, sorry the config is so nasty to read [01:05] the network is down so im doing this over kvm :/ [01:08] sarnold: sorry, maybe its the def in 02 bonding that is messing me up? [01:08] https://kitsunehosting.net/nextcloud/index.php/s/X7pnHAP9x2Z2mwi/preview [01:08] kenwoodfox: yeah, that's the one :) [01:08] kenwoodfox: see what happens if pop those out and rebuild the configs [01:08] ok, ill give it a go [01:09] https://kitsunehosting.net/nextcloud/index.php/s/FsT6qXkWaKbwa3t/preview [01:09] heres what pharsed [01:09] ping still dosent seem to work [01:10] kenwoodfox: what does networkctl report? [01:11] https://kitsunehosting.net/nextcloud/index.php/s/PXiPmbm53YMDsFJ/preview [01:11] SrPx: [01:11] sarnold: [01:11] sorry SrPx i dident mean to alert you [01:12] hmm that looks pretty promising.. ip a ? ip r? [01:20] sorry for the delay, i dident get notified [01:20] here we go sarnold https://kitsunehosting.net/nextcloud/index.php/s/Q6i9xWEyKrXJnDS/preview [01:20] again thanks so much for the help [01:23] kenwoodfox: sweet! [01:23] sarnold: XD no still not working [01:23] sorry i made it sound like we got it working XD [01:23] darn :C thats sad [01:24] kenwoodfox: oh :/ I thought since it's got an IP address and has routing to the network, it was working :) heh [01:24] Yeah i wish it was working :c shoot [01:24] cant ping anything [01:24] i have some debian servers on this same switch and they seem to work fine [01:24] just to be clear, are you trying to ping things within the subnet? or off the subnet? [01:24] within the subnet [01:25] :( [01:25] what errors do you get form the ping? [01:25] https://kitsunehosting.net/nextcloud/index.php/s/aLkGo6AztRq9LSZ/preview [01:25] are there any errors on your switch that might tell you if it sees problems with the bond? [01:25] or maybe errors in dmesg? [01:26] if i check the interface it says its suspended, like it would if i had plugged a non-configured ethernet port into it from like a laptop not setup for lacp [01:26] checking dmesg [01:26] https://kitsunehosting.net/nextcloud/index.php/s/SkryB8fMoTzxc6C/preview [01:28] Oh [01:28] i fixed it [01:28] woot! [01:28] yay! [01:28] i had to enable trunk on my switch? [01:28] if i were more concerned about security id do something more to explore why that made it work [01:28] but im not atm so i wont :3 [01:31] is there a quick and easy way to find out how hot my laptop is running? it's been on my lap about 5 minutes and wooooooooo, i'm not cold anymore >.> [01:33] bluefox83: Try ' cat /sys/class/thermal/thermal_zone0/temp ' . [01:35] bluefox83: sudo apt install lm-sensors <-- i find that useful. Then you can just 'sudo sensors-detect && sudo sensors' to check. [01:40] it's asking an awful lot of freaking questions i don't know the answers to :( [01:40] i'm trying to set up a secure tunnel, but "ssh -L 63333:localhost:5432 joe@foo.com" logs me in [01:40] is that the correct response [01:41] is there a "just test all the things" option? because this is just nuts... [01:43] that was an awful lot of questions for a bunch on stuff in C :( [01:47] bonhoeffer: yeah, that tunnel should work until you log out [01:48] bluefox83: sensors-detect --auto next time [01:48] + sudo [01:49] (but you usually don't need to run it more than once unless you have a very recent mainboard.) [01:49] oh man that program more than others definitely needs an --auto :) [01:50] a --this-century switch would be nice too, something to skip all the crufty old junk [01:50] hehehe === zbenjamin_ is now known as zbenjamin === denningsrogue1 is now known as denningsrogue [02:28] if I monitor the list of mount points on a ubuntu system, I have to account for new mount points under /snap .  How do I know /snap/* is a legitimate mount and not something bad? === To_Aru_Shiroi_Ne is now known as ToAruShiroiNeko === bettencb1 is now known as bettencb === FutureShock is now known as Desertdew === semeion is now known as mnemonic [05:56] morning [07:59] hi, when i was using fedora/centos, i had that nice feature (some kind of reverse search) when i e.g. connected to some different ssh servers and then entered thousands of different commands, i was able to just write "ssh", then hit "page up" and the bash jumped through the commands that started with ssh [07:59] can someone tell me how to achieve that in ubuntu? i never had to configure that myself, guess thats something in .bashrc with that reverse search but no idea how to make it that only those specific commands are available on page up :/ [08:03] tete_: use ctrl+shift+r [08:03] then ctrl+r to go to the next command that it finds [08:04] tete_: sorry, ctrl+r, then then ctrl + r [08:04] hm thanks, looks like that but ... was much easier with pg up and pg down :> [08:05] tete_: ctrl+r is the more universal approach, might as well get used to it too [08:13] tete_: In general, I find that either fish or zsh tend to be a bit better at that sort of autocompletion. [08:13] (fish is not sh compatible, and is a bit niche) [08:23] tete_: first, find what escape sequence page up produces in the current terminal emulator by hitting Ctrl+V then Page Up [08:34] geirha, ^[[5~ [08:34] does that tell you anything? :D [08:35] yes, then bind '"\e[5~": history-search-backward' should add the keybinding you want [08:35] you can put that line in ~/.bashrc [09:08] any downside of using snaps? [09:08] or should I install the .deb package? [09:09] I tried to install jenkins on Ubuntu 18.04 machine by adding Jenkins repository to the system with "sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' [09:09] ", after that sudo apt update resulted error "E: The repository 'http://pkg.jenkins-ci.org/debian-stable binary/ Release' is not signed."  "N: Updating from such a repository can't be done securely, and is therefore disabled by default." - how to resolve it? [09:12] hello [09:12] i need help with chinese character input [09:13] I went to settings, language and input methosed, added there Chinese and it initially worked [09:14] I then wen there again and clicked the cogwheel and chose that it be separate for each window [09:14] since then it is broken. so I went ther eand switched back to gloabal setting for all windows, but it didn't fix it [09:16] I do have the language indicator in the top bar next to wifi indicator, and super+space does change it to show zh (for Chinese), but typing i only get normal letters [09:18] what can i do to actually be writing in chinese again? [09:19] hi. Ubuntu 20.04. Atril Document viewer now fails to render pdf fonts properly. Instead of cyrillic I see gibberish signs. === EriC^ is now known as EriC^^ [09:22] @andyyyyy this may help: https://linuxconfig.org/change-system-language-on-ubuntu-20-04-from-command-line [09:23] 'sudo dpkg-reconfigure locales' [09:31] https://wiki.archlinux.org/index.php/Zathura if both zathura is installed along with both zathura-pdf-mupdf and zathura-pdf-poppler which both are capable of pdf rendering - how to switch between them? [09:31] I just learned that poppler (and thus zathura-pdf-poppler) is shit [09:32] ah, crap, there's no zathura-pdf-mupdf... [09:33] so ubuntu is just not capable of rendering pdfs [09:33] @kiwi banal: will that only enable chinese writing or will that set the entire computer to chinese? [09:34] Chinese is not my native language, and I would not be able to use the ocmputer at all, were it in Chinese, I've just strated to learn chinese and need to be able to write in chinese characters for school [09:35] @andyyyyy: I'm not certain, sorry. I just ran the command now on my system and you do get to choose extra languages [09:35] ... so it should be safe (he said from a distance) [09:44] i have done that [09:44] it was verz slow [09:44] it has generated a lot of locales now [09:44] still no chinese letters though [09:44] neither in terminal nor here [09:45] i added just to trz, arabic, via the ordinarz waz in gui [09:45] and arabic works [09:45] I'm having random freezes that requires hard reset on my ubuntu 20.04 laptop. How can I get last log lines before forced reboot? [09:46] شبتنسشتبسشنمبييي [09:46] but not chinese [09:48] giaco: sudo journalctl -b -1 [09:49] geirha, perfect, thanks! exactly what i was looking for :) [09:50] anybody? [09:50] varaindemian_, tbh i dont like snaps [09:50] I am planning to install visual studio code and idk what to choose between .deb and snap [09:50] it depends on the use case [09:51] tete_, why? [09:51] tete_: You might want a similar binding for page down for history-search-forward as well, so you can move back and forth [09:51] geirha, already have it :) [09:51] it was the 6 instead of 5 for pg down, works like a charm! [09:51] tete_, so should I go for the .deb? [09:52] varaindemian_, because snap is not "open", its a proprietary thing, thats why i would prefer flatpak [09:52] and i had some trouble with fs access when using snap [09:53] *i* would use snap only for applications that do work alone or provide some interface that i know i can access it without too much configuration stuff, but in general i prefer the .deb [10:08] @andyyyyy: Apart from suggesting a reboot, I'm not sure how to fix your issue. [10:15] hello, question in Ubuntu 20.04.1 LTS, is there any official Linux kernel package that ships me a 5.9 or 5.10 [10:15] I have the 14IIL05 Lenovo Ideapad, which has a touchpad that needs 5.9 or 5.10 laptop, there is an issue currently about this. So I can set pci=nocrs and have it work :-) [10:16] ioanm_otg: no, latest non-lts still has 5.8 but you can temporary test the !mainline kernels if you like [10:17] lotuspsychje: I see, that is a problem ... [10:17] ioanm_otg: why? [10:17] cause the touchpad on my machine does not work at all [10:17] on < 5.9 :D [10:17] ioanm_otg: did you file a bug for your issue on ubuntu? [10:17] there are 2 already :-) [10:17] ioanm_otg: bug ID please? [10:18] https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1878279 [10:18] Launchpad bug 1878279 in linux-signed-hwe (Ubuntu) "MSFT0004:00 06CB:CD98 Touchpad/trackpad mouse randomly not recognized from any given boot" [Undecided,In progress] [10:18] tnx [10:19] lotuspsychje: long story short, kernel newer or equal to 5.9 and pci=nocrs is the only workaround that exists now. [10:20] I'd set the touchpad to PS2, but Lenovo disabled that bios feature ... [10:20] ioanm_otg: ok, that bug seems pretty active, good news things are in motion, the devs know about, think patience is needed here [10:21] https://bugzilla.kernel.org/show_bug.cgi?id=208171 <- this one too [10:21] bugzilla.kernel.org bug 208171 in Input Devices "lenovo ideapad 5 14ARE05 touchpad randomly failing" [Normal,New] [10:21] lotuspsychje: 14IIL05 and 14ARE05 use the same touchpad with MSFT0004 [10:21] i see [10:24] ioanm_otg: you could ping the #ubuntu-kernel guys if you like to ask what else you can try to help/test [10:30] tete_, does the .deb package of visual sutdio code update at the same time with the system? [10:34] not sure if there will be a popup informing you of a new version, but i am very sure it wont update itself [10:35] i am new to ubuntu, i was using fedora the last 10+ years, no idea if there is a vs code repo available [10:35] https://code.visualstudio.com/docs/setup/linux [10:35] Installing the .deb package will automatically install the apt repository and signing key to enable auto-updating using the system's package manager. [10:36] so if you install it, it will automatically add the repo and when you do an apt update && apt upgrade it will update vs code too [10:37] but i also dont like vs code... had to use it for an embedded (iot) project, but i would prefer jetbrains IDEs ;) [11:00] Hi, anyone know how to make libvirt use dhcpd instead of dnsmasq ? [11:13] tete_, as long as it is free [11:13] and covers most languages [11:13] + tons of features [11:13] why not [11:13] I'll do python [11:14] varaindemian_, its the same with womans. some like red hair, some dont. i dont like vs code, i prefer jetbrains. 10 years ago i prefered netbeans [11:28] i followed this tutorial https://www.reddit.com/r/rocksmith/comments/jxngpx/howto_rocksmith_2014_on_linux_with_steamproton/ but when i register the wineasio.dll with regsrv32, and then execute the regedit, i have no HKEY_CURRENT_USER\Software\Wine\WineASIO [11:28] do i have to restart something to have those created? [11:30] tete_, installing the app from the gui "Ubuntu Software" app is the same thing as installing it through the terminal? [11:30] tete_, in general [11:30] tete_, and btw, why did you move to ubuntu? [11:31] it makes no difference if you use any ui for installing software or use apt or dpkg etc. - in the end everything is, more or less, the same, but some tools just provide more features [11:31] i moved to ubuntu to see if rocksmith works better and most guides are made for ubuntu, not for fedora [11:32] atm i try to get rocksmith working with my old focusrite, and the only guide i found is for ubuntu... i have no problem with switching distributions and/or programming languages, i take what i need depending on the purpose :) [11:33] true [11:33] thanks tete_ [11:58] varaindemian_: I think the gui thingie might use snap [12:00] cbreak, bad thing [12:21] why has my nvidia driver randomly stopped working today? [12:21] it was working fine yesterday [12:21] Mine still works [12:21] the only clue is this on dmesg: "[1719298.327341] NVRM: client does not support versioning!!" [12:22] anything that uses opengl or CUDA fails to run [12:22] i haven't even rebooted [12:23] 2021-01-12 06:12:26 upgrade libnvidia-common-455:all 455.38-0ubuntu0.20.04.1 460.32.03-0ubuntu0.20.04.1 [12:23] hmm i wonder if that might be related (dpkg.log) [12:25] i assume that is a security update? because i don't have unattended upgrades enabled [12:26] ali1234: wich kernel are you on please [12:26] Linux al-desktop 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux [12:26] ali1234: ok, have you tryed switching a driver version? [12:26] no, i haven't done anything [12:27] i literally turned on my computer this morning and all the software that tries to use CUDA had crashed [12:27] i mean, i turned on my monitor, i never actually turn my computer off [12:27] ali1234: cuda, did you install that from the nvidia site? [12:28] hey guys, I have mounted a network storage device(timecapsule) via cifs. The thing is, my NextCloud container can't write his data folder there, because the network storage is mounted with root access. Can you advice, please? [12:29] i can't remember, i don't think so though, let me check [12:30] it's not just CUDA though, opengl is broken too [12:30] glxgears dies with "X Error of failed request: BadValue (integer parameter out of range for operation)" [12:30] Minor opcode of failed request: 3 (X_GLXCreateContext) [12:30] i expect it is just a version mismatch with the upgraded driver and a reboot will fix it [12:31] ali1234: check your sources.list to findout if its the stock driver or the nvidia one [12:34] the only nvidia source i have is nvidia-docker [12:34] 460 driver came from focal-updates [12:34] 455 driver doesn't seem to be available in any source any more [12:35] ali1234: ok, so lets try to switch to one driver lower [12:35] ali1234: check ubuntu-drivers list to see [12:35] yeah 455 is not in the list any more [12:35] and it says "you need to restart to complete driver changes" [12:36] nvidia-driver-455 is now "transitional package for nvidia-driver-460" [12:37] ali1234: you only got 460 in your list anymore? [12:38] no, 450 is still there [12:38] and 440 [12:38] ali1234: ok, try 450 then as a test [12:38] well that's just going to ask me to reboot [12:39] i'm going to try just rebooting first [12:39] yeah graphics drivers need a reboot [12:39] i can probably fix this, i'm just wondering what happened to 455? [12:39] why was it removed by a security update? [12:40] is there a CVE? [12:41] ali1234: for security questions you can query upon #ubuntu-hardened if you like [12:41] https://ubuntu.com/security/cve?q=&package=nvidia-graphics-drivers-455 hmm [12:42] three in fact [12:42] fair enough then [12:45] Hi.. does anyone know a reliable test to determine whether an Ubuntu server has the grub missing symbold problem (from July/August 2020) without actually rebooting it (and risking downtime)? [12:47] from this bug: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1889509 [12:47] Launchpad bug 1889556 in grub2 (Ubuntu Groovy) "duplicate for #1889509 grub-install failure does not fail package upgrade (and does not roll back to matching modules)" [Undecided,Fix released] [12:48] would I be better off running debconf-get-selections and searching for grub-pc ans making sure it's pointing to the right disk? [12:51] ok so if no one knows how to make libvirt use dhcpd instead of dnsmasq.. does anyone know which version of dnsmasq I should downgrade to which actually works? [12:52] tdm4: you could firstly make a backup of the mbr [13:09] EriC^^: sure but I want to be able to *detect* whether the MBR is wrong and wuld result in the aforementioned error [13:15] tdm4: well you could do that via virtualization but you'd need to be careful that it doesnt actually boot and only stays at the grub menu [13:24] Hi folks === BrianG61UK__ is now known as BrianG61UK [13:47] hi, quick question, when i setup sftp under the connect to server thing upon first connection it goes to / (which is what i expect and want), however, if i then close the file browser and click the server connection again it's now in ~/. is there any way to prevent this? [13:48] taty: filezilla has some settings to join in your dir you want [13:49] that doesn't tie into the regular file browser though [13:49] which makes it very annoying to use [13:51] Can't locate Debian/Debhelper/Sequence/python3.pm in @INC (you may need to install the Debian::Debhelper::Sequence::python3 module) [13:51] please guide [13:51] when i search this on cpan, module is not present [13:51] trying to create debian package from my source files. On ubuntu 20.04 [13:55] utman: have you installed 'debhelper' and other build-depends ? [13:56] Hi [13:56] welcome nomike [13:58] TJ-, yes. Solved this by installing dh-python [13:58] There is a bug in a package which was recently fixed in upstream debian. Are these fixes automatically taken over by ubuntu, or does somebody need to be made aware of? [13:58] The package I'm talking about: https://packages.ubuntu.com/groovy/wesnoth [13:59] Fixed 10 days ago with release 1.14.15 [14:00] nomike: whats the bug about, do you have the debian ID? === halvors1 is now known as halvors [14:04] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970520 [14:04] Debian bug 970520 in wesnoth "wesnoth: Crash on starting wesnoth - stack smash detected" [Important,Fixed] [14:05] "It was introduced by the [14:05] Debian builder, using libwolfssl, instead of openssl, due to licensing issues." [14:06] It was just a wrong include, nothing all too complicated. [14:06] nomike: we got an ubuntu bug about, can you see if its your issue? bug #1901843 [14:06] bug 1901843 in wesnoth-1.14 (Ubuntu) "wesnoth-1.14 crashes on groovy" [Undecided,Confirmed] https://launchpad.net/bugs/1901843 [14:08] nomike: seems like its pointing towards your debian ID, so if you also have this on ubuntu please affect it in the left upper corner [14:12] lotuspsychje, yes, this is the same issue. I marked myself as being affected and commented with a link to the upstream debian bug. [14:13] nomike: thank you, but it was already linked ontop wesnoth(debian) assigned to [14:14] Yes, I saw this after my comment. Was not sure if this was like that before or if my comment triggered this link somehow. [14:15] nomike: there is the channel #ubuntu-release to ping the package guys perhaps [14:15] But it's good to know this is being tracked. I'm not a gamer myself but I'm trying to fix it for one of my partners and at least there is the "--nocache" workaround for now. [14:15] lotuspsychje, thanks, I will head over there and ask the. [14:16] s/the./them/ [14:16] ok, tnx nomike for the affect & buglove [14:54] @kiwi banal: I'll try that again [15:01] Hello. I have a MSI GT76 Titan laptop with a Nvidia GTX 2070 GFX card in it. Whenever I try to install an nvidia driver (I want to play Wine games with DXVK+Vulkan) and I reboot the system, I get a black screen (it turns off) when it hits GDM. [15:01] I tried different versions of the nvidia driver. The latest one 460, also 450. [15:02] I have to boot the liveiso and chroot into the system and remove the driver that way, to fix it. [15:02] What could be wrong? [15:03] Industrial, nvidia laptops usually have PRIME/optimus. You should look at guides for those [15:05] lordcirth: Thanks [15:05] *transformers sound* [15:18] anyone have steps for edge and iteams for ubuntu? [15:20] donofrio: can you elaborate what you want to do exactly, so volunteers can think along with you [15:21] I have an ubuntu notebook that I'd like to use for an interview today, it is on teams and figure I need edge and teams for ubuntu? [15:21] didn't know if it's "just in the repo's" or if special procedure to obtain them? [15:22] donofrio: there is a teams and zoom snap if you like [15:22] well, is there a real apt/deb/package for them [15:27] donofrio: not in the ubuntu repo's, no [15:27] donofrio: https://websiteforstudents.com/how-to-install-microsoft-teams-on-ubuntu-20-04-18-04/ === krodelabestiole8 is now known as krodelabestiole [15:32] donofrio: there is also https://www.microsoft.com/en-us/microsoft-365/microsoft-teams/download-app === tigefa1 is now known as tigefa [16:25] Polkit question, on Ubuntu I'm logged in as a non-sudo user. When I open software and click install under VLC I get a prompt asking for the password of the first sudo user on the system [16:25] there is no option to pick one of the other users on the system that are members of the sudo group [16:26] anyone know how I make it so that I can pick any of the users that has sudo access [16:26] pkexec bash in the cli lets me select any user that is a member of the sudo group === tigefa1 is now known as tigefa === vbgunz_ is now known as vbgunz [16:43] leftyfb, that was a great link do you have one for edge? [16:44] donofrio: why do you think you need edge? Also, I only googled for "ubuntu microsoft teams" [17:10] I can't enable network sharing on the server [17:23] ubuntu software update popup came up and i didn't read it and just clicked install. Then I rebooted and now my sound & internet aren't working [17:23] it's plugged into ethernet, i tried rebooting twice and unplugging then replugging the network cable, no internet :( [17:24] Is the interface and so-on showing up if you do ip -a in a terminal/shell? === Gokturk-Away is now known as Gokturk [17:32] Any minimum kernel version for exfat devices? [17:34] hi! I'm using Xubuntu focal and somehow I accidentially acquired the new shy scrollbars that hide when I want to scroll them and block my pointer when I want to click text near the edge of a window. :-( how do I switch to traditional scrollbars? [17:40] fortunately it only affects some applications like gthumb, not others like sakura. overlay-scrollbar is not installed. [17:40] neither overlay-scrollbar-gtk2 [17:41] o/ [17:41] is there anyone here that uses kdump? [17:42] is it possible to use it booting system from pxe? [17:42] I mean, I boot the system from tftp via pxe and I have a rootfs in memory [17:43] I installed kdump-tools and kexec following this guide https://ubuntu.com/server/docs/kernel-crash-dump [17:43] and set an nfs share to host the coredumo [17:43] *coredump [17:44] when I restart the process kdump-tool it complains that mkinitramfs: failed to determine device for / [17:44] because a. I don't have an entry in fstab since the os is volitle [17:45] b.is rootfs on / type rootfs (rw,size=5242880k,nr_inodes=32265890) [17:45] nibbon_, there are tutorials to boot GRUB via PXE, so I guess booting into an initranfs should not be a problem. the tricky part probably is creating a suitable initranfs. [17:45] *initramfs [17:46] nibbon_, what are you trying to achieve? build an initramfs with kdump in it? [17:47] I'm trying to install kdump to gather a core dump when/if my systems crash [17:48] just followed the ubuntu guide I linked but not having a persistent root device confused me [17:48] nibbon_, what do you mean with system is volatile? do you usually boot from network? [17:49] Sven_vB: yes [17:50] so, I've been able to crash a system and have kexec booting a secondary kernel, however that one crashed too because it couldn't find a root device to mount [17:51] and the explanation I gave myself is that I don't have one [17:52] so now I'm wondering whether is doable using kdump booting the main os from network or if there is a way to let kexec boot the same kernel via pxe [17:53] How can I tell my laptop that it should lock the screen when I close the lid? (lock screen and suspend would be even better) [17:53] for instance I found this http://manpages.ubuntu.com/manpages/groovy/man8/pxe-kexec.8.html but dunno whether I can use it as replacement of kexec [17:54] choice: there should be options for it under settings>power [17:54] EriC^^: Unfortunately not. [17:56] hello, so apt search wgetpaste returns nothing on ubuntu server (20.04) on raspberry pi 4 (arm64)? [17:56] choice: you could do "gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action suspend" and "gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action suspend" [17:57] nibbon_, just run the kexec from the initramfs. you don't need to switch_root. https://unix.stackexchange.com/a/460219 [17:58] EriC^^: That will suspend. I think I already have that. But I want to lock the screen! [17:58] Seiduna: On Debian/*buntu the program pastebinit is generally used for the same functionality [17:58] nibbon_, kdump I meant, not kexec [17:59] choice: try settings > brightness&lock > require password after suspend [18:00] Sven_vB: you've lost me [18:00] EriC^^: Awesome, thanks! [18:00] choice: no problem [18:03] Sven_vB: so what you're saying is to run kdump from the same initramfs but what if the mainkernel crashes? That one won't be available anymore and I would need a new one [18:03] coming either from a persistent storage or from the network [18:03] Lol I managed to crash the Ubuntu-server installer a second timne by trying to make more than one device mounted on /boot. (For Md devices need to partiton, create MD devices, THEN set mouont point) [18:03] or am I missing smt? [18:03] genii: and it is already the newest version, thank you so much, i'll be back with links ;) [18:10] nibbon_, I've no idea what you mean with main kernel. I meant the initramfs that complains due to missing fstab. that one isn't bootable currently, so if you replace that one with one that runs kdump, it should be an improvement. === ijohnson is now known as ijohnson|lunch [18:12] nibbon_, also your GRUB can choose which initramfs it should boot, so you can always put an experimental initramfs whereever (most easy: a local harddisk-like device) and and try it before making it the default. [18:14] OK, my last planned course of action did not work: the "Create Software RAID (md)" option is now greyed out. [18:17] * phillipsjk feels like he is in untested waters with two crash reoprts under his belt in as many days. [18:18] anyone have any pointers on where to look so the authorization windows created by polkit will let me pick which user to use? Right now it only has one user available for that. [18:19] I have multiple admin users on the machine [18:24] Hi Lads, i tried to follow a guide in making the terminal red, when root-user is active. I did as written, rebooted, but it dont seem to have taken any effect? [18:25] OK, I think I got it. Just had to use the "leave unformatted" option when creating the partitions. That also saved me from manually selecting "leave unmounted". [18:29] DarkTorMentor, what guide exactly? [18:29] DarkTorMentor: what kind of tutorial. did you change PS1? [18:33] https://unix.stackexchange.com/questions/551017/red-terminal-font-when-root [18:34] oerheks: https://unix.stackexchange.com/questions/551017/red-terminal-font-when-root k4rt0ff3lch33t4h: ill have a look. cheers [18:35] No, that wouldnot work, edit /root/.bashrc like this debian howto https://lifehacker.com/use-a-different-color-for-the-root-shell-prompt-5195951 [18:35] or https://www.mogilowski.net/2011/12/29/color-bash-prompt-on-ubuntu-and-debian/ [18:36] ~/.bashrc for user, /root/.bashrc for root [18:36] oerheks: Thanks, you saved me again. :-) [18:36] have fun! [18:36] lol cheers === retentiveboy_ is now known as retentiveboy === Jordan_U_ is now known as Jordan_U [18:49] any recommended laptops for ubuntu? that is very hardware compatible, looking high end laptops [18:50] questionNaire: is your requirement to spend money? [18:50] or to satisfy some tangible hardware need [18:51] System76, Dell XPS Dev edition [18:51] https://certification.ubuntu.com/ ... [18:51] still the best test is a live iso. [18:51] questionNaire, for hardware support you want to select a laptop out of the pre-installed segment, i guess. [18:51] some thinkpads are also good with linux, such as the X or P series [18:52] many chromebooks (_that_ you can change the OS on) will have excellent GNU/Linux support [18:52] coconut okay, matsaman not really but when I got an apple via university last time, it didn't work well with ubuntu [18:53] matsaman: not really high-end, are those? [18:54] they aren't typically super expensive, if that's what you mean by high-end [18:54] they have amazing GNU/Linux support, which to me gives them tremendous value [18:56] matsaman: no, I mean, like build quality and advanced features and performance, but yeah, this is getting off-topic xD [18:57] when's the last time you ran into a laptop with a "build quality" issue [18:58] and if you want to hear about some, I can find you some people in #macos paying 2 and 4 times as much that still encounter them [18:59] questionNaire, personally i would buy an system76 if the money is not a topic... and an thinkpad X if you want the keyboard and touchpad great. Dunno where you order from, iirc system76 does not send to some countries. [19:00] Dell gives good support too. [19:00] all keyboards are equally bad on laptops at this point [19:02] because i punched my kbd when i missed the command spells on ubuntu [19:03] crowded [19:04] matsaman, thinkpad is still one of the greater ones imho(they say it was A LOT better when thinkpads came from from ibm). [19:06] yes those are also ruined [19:06] apple ruined all keyboards, everyone copied them [19:11] Ok I'm mainly doing deep learning with gpu on a desktop, but I'm travelling now. Do you guys think its worth buying a laptop with 32gb ram and high tier cpu, and buy an external gpu that I can plug to my desktop workstation later? or forget the gpu and invest a bit more in the laptop, even tho the laptop gpu will be way shittier. Planning to run [19:11] ubuntu on laptop, and run one on my desktop [19:11] matsaman, one of the reasons to not renew my old macbook pro 10.1 with a new macbook pro.... they make their keyboards worse every year. [19:12] so I've heard [19:12] although supposedly they stopped with the butterfly nonsense [19:12] that still leaves a horrible chiclet/island keyboard with hardly any travel, though [19:13] questionNaire: if you're always going to have networking, I wouldn't bother with a dedicated GPU on a laptop [19:13] questionNaire: use the beefier, more affordable hardware of a remote workstation or SaaS [19:13] yup, way beefier [19:14] i work on a lenovo b51-80 with 16gb ram. Pretty silent and stable. Although i've not used much of the video card. [19:14] honestly Im not even sure how much ram I need on laptop if I connect to my workstation  or server, both have 128gb ram+, maybe even 16gb is sufficient for a laptop, for programming [19:15] 16GB should be plenty for most things. Only running lots of VMs might be an issue. [19:15] yeah === denningsrogue2 is now known as denningsrogue [19:19] "ships in more than 5 weeks" damn these custom laptops are slow [19:19] ...boot failure. Not sure if installer assumed UEFI bios, or /boot on md ext4 partiton is incompatible. [19:20] questionNaire: bad time to buy popular things [19:21] I want the boot partion mirroed so that if a drive fails, I can still boot: without keeping them in sync in an error-prone manual manner. [19:26] matsaman do you think the third option is a good value https://lnv.gy/3nE32ZN  ? I'm taken a back bit with the 1650 geforce, isn't that very old tech or am I wrong? [19:28] I think a dedicated GPU in a laptop is something almost nobody should go for [19:29] it's incongruous to the purpose of a portable computer [19:30] but sure, any thinkpad is going to be well built compared to many other things [19:30] * phillipsjk will try booting from DVD, then selecting "boot from harddisk" option. [19:30] although I have a $140 chromebook from four years ago that's very well built === remy is now known as Remy [19:32] ...Actually got a "boot failed" error message. [19:32] Anything special you need to do to get the new RTX 3090 to work on ubuntu? [19:33] Anyone else getting " nginx: [error] open() "/var/run/nginx.pid" failed (2: No such file or directory)" when performing "nginx -s reload" on Ubuntu 20.04 and NGiNX installed from their repo's? [19:34] * phillipsjk tries setting drives to "IDE" instead of "AHCI" mode in BIOS. [19:36] phillipsjk: is that just a debugging step? I'm pretty sure ahci has been the better choice for ~dozen years or more [19:36] c0fe: does namei -l /var/run/nginx.pid help any? [19:37] sarnold, yes, no boot. [19:37] sarnold: https://dpaste.com/F63SYHTU5 not really [19:38] c0fe: hmm. I wonder where your pid file went. are you sure nginx is still running? [19:38] c0fe: seems nginx was not shutdown properly. Is there a process runing? kill it, restart nginx [19:40] no it's dead [19:40] /lib/systemd/system/nginx.service:9: PIDFile= references a path below legacy directory /var/run/, updating /var/run/nginx.pid → /run/nginx.pid; please update the unit file accordingly. [19:40] * phillipsjk is currently reading through: https://askubuntu.com/questions/1156258/how-to-avoid-uefi-installation-without-uefi-how-to-have-ubuntu-19-w-o-uefi [19:40] systemctl output [19:40] this is a crunchy fresh install of nginx [19:40] yeah, that part is normal [19:41] but the process is dead [19:41] c0fe: /var/run/ points to /run/ [19:41] c0fe: is there anything else in the systemctl status or journald -u nginx or nginx's own logs that would indicate why it's dead? [19:43] no indication at all [19:44] ouch [19:45] this is running in an LXD container but i didn't have any issues with older version of Ubuntu or NGiNX [19:45] Looks like the netboot work-aroound ios no longer supported: http://cdimages.ubuntu.com/netboot/focal/ [19:46] I guess I can install the old immague, then do a dist-upgrade. [19:46] c0fe: can you check that the pid in nginx.service is the same as the pid in /etc/nginx/nginx.conf [19:46] pid /var/run/nginx.pid; [19:48] phillipsjk: perhaps http://cdimage.ubuntu.com/ubuntu-server/focal/daily/current/focal-legacy-server-amd64.iso ? [19:48] so it is correct [19:49] nevermind :| [19:49] changing it to /run/nginx.pid seems to resolved the issue [19:55] sarnold, will try it. May save me a dist-upgrade. [19:57] * phillipsjk currently running another round of dban, so computer will not be avialble for 10+ hours. (also wiping a USB stick to be used as boot media) [19:59] LOL USB wipe completed already (1GB). [20:02] sarnold, where did youo find that image? I would like to check the hash. [20:03] phillipsjk: from http://cdimage.ubuntu.com/ubuntu-server/focal/daily/current/ [20:03] Yeah, figured that out after asking :) [20:10] I have a webcam that seems to time out, or not be found by my machine, after something like 24-36 hours. A restart always fixes it - is there a way to more manually restart the camera device? [20:10] A complete restart of the machine fixes it [20:10] I'm testing if I can find the camera with "cheese" [20:12] jayjo, what does physically unplugging the camera, then pugging it back in do? [20:14] if the OS is detecting it at all, you should see messages in dmesg. "dmesg | tail" [20:16] jayjo- did you just restart and miss my messages to you? [20:16] well, pulling out a bunch of usb's did *something* :) [20:16] but no, the camera is still not found [20:16] I thought it would. It was still in `lsusb` before and after [20:16] unlabled wire nest, eh? [20:17] Yea I know. I'll actually fix that today. I pulled something that for some reason triggered a network killswitch on a simple vpn [20:18] That thing was a cheap usb speaker, which I noticed before presented itself as a disk in the gnome disk utility [20:18] If it is pugged into "self powered" hub (with no external power supply) with a lot of devices attached, it may not be getting enough power. [20:24] Has anyone ever successfully got bridged networking working in Ubuntu 20.04 with virtualbox? [20:26] nmatrix, before 20.04, sure, NAT [20:27] oerheks, Ubuntu 20.04 Focal Fossi, with virtualbox [20:27] I used Bridged Adapter mode and it worked for me [20:29] https://www.virtualbox.org/manual/ch06.html [21:16] For some reason I turned my PC on just to realize that pulseaudio is missing === ijohnson|lunch is now known as ijohnson [21:46] c0fe, what type of hardware are you running on? [21:47] nmatrix: nginx? i resolved the issue [21:49] I used Bridged Adapter mode and it worked for me <--- what hardware are you running on? Laptop, desktop specs? [21:50] oh, it is a desktop windows 10 and ubuntu 20.04 [21:50] the underlying OS is on baremetal though [21:59] hello, i am trying to run wine after installing it but its not working, when i do sudo apt install wine-stable [21:59] , it says the latest version is installed [22:02] auser0: install playonlinux, that should give a GUI for wine [22:04] thanks but the issue is that my OS doesn't seem to detect wine after it being installed [22:04] so when writing wine, it says to install it and when i try to re-install it, it says it's already installed [22:04] what would it mean for an "os to detect wine"? [22:04] i try to check wine version after installing it [22:04] wine --version [22:05] it says it's not installed [22:05] how about wine-stable --version ? [22:09] now it seems to work, but when i try to run it, it says "wine client error:0: version mismatch 571/595. [22:09] Your wineserver binary was not upgraded correctly, [22:09] " [23:26] i think ax86 is like $100 cheaper also? That would be my choice [23:32] Peace! Maybe someone can help me with expressions. If I run a [23:33] 'apt-cache search -n erer$', [23:33] why do I get outputs like [23:33] 'pccts - The Purdue Compiler Construction Tool Set (PCCTS).' [23:34] What I would expect would be only package names like 'dleyna-renderer', that end with a 'erer' [23:35] well, what you actually asked for is "just the names of packages that have a file that ends in erer" [23:35] ,what I told apt-cache using the options '-n erer$' [23:35] a file ? [23:36] -n reduces the output to the package names, but the search is in the package contents [23:36] "-n" aren't just the package names, but also files contained in the package [23:36] !? [23:37] hum [23:37] hold on [23:38] running a systemctl service and i have restart=always set and this service is to send me an alert when there is a change but its sending me an email every 1 second and i thing its because its restarting this service over and over and over again. would i set restart=onfailure or something instead to fix this? [23:39] drea_mert: just ran it locally, *without* -n, This is what I got: https://paste.ubuntu.com/p/7jgySYVpf4/ [23:40] subfj: yes [23:40] drea_mert: still, just the package names [23:40] subfj: see "man systemd.service" and "Restart=" table of actions [23:40] TJ-: or use something like Type=oneshot RemainAfterExit=yes ? [23:40] * hggdh has to go back to read the man page [23:40] TJ-: thinking the on failure would be better [23:41] okay ill take a look at the table, thanks [23:41] subfj: that'd depend on what kind of service it is, as to whether oneshot is apprpriate [23:41] TJ-: oneshot is just on boot then its done but on failure would fix itself basically [23:42] and re-trigger [23:42] The new OnFailure= behavior only triggers the one-shot service if the restart failed completely https://serverfault.com/questions/876233/how-to-send-an-email-if-a-systemd-service-is-restarted [23:42] TJ-: lol, jinx [23:43] drea_mert: bah, sorry, was running apt-cache and mentally fixed on apt-file [23:44] hggdh youre welcome =D === EtherOre__ is now known as EtherOre [23:45] hggdh so it doesnt search only/also for filenames? [23:47] because the quest remains...how could I tell apt-cache to just search the package names - what was the original intention [23:47] drea_mert: no, it does not. By default it searches on package names and long description. With -n, just package names [23:48] ok so my output is somewhat strange... [23:50] drea_mert: it may be the package you are looking for is in a pocket you do not have enabled -- say, Universe, or Partners [23:52] drea_mert: the reason you see a package name that doesn't appear to match the regexp is that as well as the package name, --names-only also searches any Provides: and you'll find that is where the match occurred. You can check those with "apt-cache show $package | grep Provides" [23:53] If my issue would be a problem. Who should I adress? apt-cache rather than the basH? [23:53] Probably not, because the expressions are evaluated by the bash and only forwarded to apt-cache - right! [23:53] arent they!? [23:53] drea_mert: maybe apt-cache dump | grep '^Package: .*erer$' ? [23:53] drea_mert: for pccts you'll see "Provides: sorcerer" [23:54] drea_mert: re "evaluated by bash", yeah, it depends upon what is in the current working directory, unless you quote the argument with '' quotes, like: dpkg -l '*linux*' [23:55] thank you this should answer the question!