=== jwisbell35 is now known as kathadris [00:03] Greetings gurus and wizards! I'm trying to bring up a laptop on 18.04 but the network card is a RTL8821CE chipset and I guess the driver isn't in the default install as it can't find the card. lspci recognizes it. Before I go into what I tried next and the path it's leading me down, is there a right way to do this? [00:05] apt search says "rtl8821ce-dkms/groovy,groovy 5.5.2.1-0ubuntu4 all" on 20.10 [00:05] maybe you have something similar in your version [00:06] apt search rtl8821ce-dkms [00:06] Sorting... Done [00:06] Full Text Search... Done [00:06] Nada [00:06] apb1963: https://github.com/tomaspinho/rtl8821ce [00:06] jeremy31, That's what I tried "next". [00:07] apb1963: Secure Boot enabled? [00:07] no [00:08] but I guess now I should doublecheck; paranoia [00:18] apb1963: it's available on 18.04 LTS rtl8821ce-dkms | 5.5.2.1-0ubuntu3~18.04.1 | bionic-updates/universe | all [00:18] jeremy31, I was wrong... it was enabled. I just disabled it. [00:18] you need to enable the "universe" repository [00:22] tomreyn, I don't have access to the Internet on the laptop... how do I get it from the repos to the laptop? [00:22] !apt-offline [00:22] !info apt-offline bionic [00:22] apt-offline (source: apt-offline): offline APT package manager. In component universe, is optional. Version 1.8.1 (bionic), package size 45 kB, installed size 223 kB [00:23] I don't know what to do with that. [00:23] you can run this on another ubuntu 18.04 computer to assemble the packages, store them on removable media, and move that to the new computer [00:23] or you can try the same with the github repository jeremy pointed you to [00:23] and what about on 16.04? [00:24] but more likely, the best approach is to get the system online by other means [00:24] other means? [00:24] if you have a smartphone which can do tethering through a wire, for example [00:25] or this classic, boring, but reliable, and almost always supported out of the box thing called ethernet [00:25] there is no ethernet card [00:25] on the laptop [00:25] just wireless [00:25] what about the smartphone approach [00:26] I don't know how they phone would connect to the laptop [00:26] usb I guess? [00:26] yes, usb [00:26] bluetooth could also work, but it's more complex [00:26] don't know if I have the cable that will match both. The laptop has bluetooth. [00:27] how do you charge the phone? [00:27] wall socket [00:27] that's a good point [00:27] let me get that [00:27] remove the wall plug and you'll have a usb-a connector [00:27] ...unless apple [00:28] apple stopped using the usb-a connector? [00:28] actually, i don't know that [00:29] apparently the latest does. but then, not really on topic here. [00:31] ok, got the cable connected... let me see if it's smart enough to tether. === ubuntu2 is now known as wibawachan [00:31] thanks that's work for me [00:37] I don't see any tethering options.... it has bluetooth though! It also picked up an IP address... hmm... never did this before. Maybe setup the phone as a gateway? [00:38] tomreyn, ^^^ [00:39] apb1963: just connecting the phone via usb and enabling the tethering option on its settings should be sufficient to get you a LAN type connection on ubuntu [00:39] tomreyn, I don't see a tethering option. So either it's too dumb or I am. It's an old phone. Ancient even. [00:40] hmm, this is kind of OT here, but since i guess you need this to make your ubuntu system work: is this an android phone or ios? [00:40] Alacatel OneTouch [00:41] android [00:41] android, i guess [00:41] * apb1963 nods [00:41] settings -> wireless -> tethering and mobile hotspot [00:41] that's what i see on an older android phone [00:43] it's probably older than that :) [00:44] I've got settings > wifi > a list of networks. There's also a menu there for WPS and I don't know what WIFI-direct is, but now I'm trying it. [00:45] I seem to be hitting the neighbor's TV devices??? [00:45] yes, that's not it [00:45] "peer devices" [00:46] settings -> abiut this phone > android version and > model [00:46] says what? [00:47] Now I'm in an APN section... there's one existing or I can create a new one [00:47] not what you want [00:48] a464bg all caps. [00:50] apparently this functionality was removed for this phone. [00:51] so.... it has bluetooth... which I've never used either. [00:52] wont help you if the phone wont relay the network [00:52] yeah I know virtually nothing about bluetooth... other than that it's blue and apparently made from teeth. :) [00:53] I have "Dr. Network" installed on the phone. [00:53] i've since found two web pages which actually state the phone's default ROM does support tethering [00:54] but they disabled it? Must be a paid option. :/ Or was, back when it was new. [00:55] I wonder if there's an app I could install that would do the tethering. [01:06] apb1963: this may work - it's actually (according to its description) just a method to make the hidden menu accessible https://play.google.com/store/apps/details?id=org.logpedia.tether [01:13] tomreyn, I actually downloaded an app (NetShare) that creates a hotspot. But this is not going to work - the laptop for all intents & purposes has no network card. [01:14] The only way to xfer files is by usb [01:14] or bluetooth I guess. [01:16] ok forget what I wrote... I'm clearly crazy. [01:19] tomreyn, So I've installed the app... I'm not sure if it's supposed to display anything... it's not doing much of anything. How do I test this? ping... network unreachable. [01:19] apb1963: if it doesn't bring up the menu shown on its screenshot then its not going to work [01:20] tomreyn, yeah it basically freezes [01:20] https://play.google.com/store/apps/details?id=com.marcellomessori.easyusbtethering is another [01:22] https://play.google.com/store/apps/details?id=com.robskie.tether is yet another, using a different method than the other two, which should also work if native tether is patched out. [01:22] tomreyn, The thing is, NetShare seems to work... I just don't know what to do with it. [01:22] but then you'd need a client on ubuntu to use that [01:24] "netshare" is for setting up a wireless access point. this doesn't help you, because your wireless device on ubuntu isnt working [01:25] you need to tether, i.e. share the smartphones' internet connection, through the usb cable, to the computer [01:25] (or through bluetooth, but as i said, that's more involved) [01:25] tomreyn, ok. tried easyusb, doesn't work. [01:26] okay, we tried some, no luck. you still have the apt-offline option, or you could try to get help with your android device somewhere where that's on topic. [01:29] let me take another look at the play store, see if we missed any [01:31] tomreyn, yeah, it will filter apps for my phone.... no tether apps are compatible. [01:31] apt-offline is easier than bluetooth? [01:33] not really, roughly the same, i'd guess. it depends on whether you have another computer you can boot to ubuntu 18.04 (can be a live/installer system) and another external storage you can store software on. [01:33] no, only the laptop has 18.04... I'm on 16 here now. [01:39] if that's 16.04 then you have about a month of support left there [01:40] unlike your andoird device, which has known remotely exploitable security vulnerabilities for 5 or so years [01:40] *android [01:42] tomreyn, I turned on bluetooth on both. They immediately started trying to pair. Got a password error... not sure where to look for that. [01:44] Connected! I didn't confirm it the first time, now it's good. [01:44] Since I didn't confirm it failed the passwd check... all good now. [01:45] tomreyn, Still no ping... so... how do I use this thing? [01:46] 2nd display question: it looks like I can only extend my 2nd display to the right, and not to the left. If I set it on the left, it seems to use it as the primary display, even though my laptop is marked as the primary. Any suggestions? (if not, I'm just going to leave it set to the right, even though it is on my left, and suffer through the mental gymnastics.) [01:47] apb1963: not, with this phone, i guess. bluetooth pairing wont help you if the android device transmit the data through bluetooth. you can try seeking help in ##android . you said you have an alcatel onetouch A464BG, which seems to run (only) android 4.x [01:50] jjbuggle: you forgot to mention your ubuntu release, and, in case non-default, graphical desktop. graphics chipsets and drivers in use may also matter. [01:50] if this is ubuntu 18.04 LTS or later, you should be able to find this info in settings -> about [01:50] tomreyn, I don't understand. Why would pairing not help if the data is xmitted through bluetooth? I thought that was the point? [01:52] tomreyn, Hell... why not just turn on bluetooth on 16.04 and eliminate the middleman? [01:53] apb1963: bluetooth pairing connects two devices, providing the foundation for additional services, such as file or data transfer services. it's not sufficient to be able to transfer data from one of theser paired devices to the other, though, in your use case. you are trying to reach the internet from a BT paired device, which means that the other device needs to actually do internet connection sharing. a functionality that's patched out of your [01:53] phone's operating system, for all we can tell. [01:54] tomreyn, why not just turn on bluetooth on 16.04 and eliminate the middleman? [01:55] apb1963: and now please accept that i'm not going to spend more time on this. there are also usb <-> ethernet and usb <-> wireless dongles that you can plug into your laptops usb port, some of which are supported natively. [01:55] ok, thank you for all your help! [01:55] you're welcome [01:56] tomreyn: 20.04, and upgrade from 18.04. Xubuntu. Dell laptop. No additional graphics drivers are available. [01:56] jjbuggle: that's more of a #xubuntu question then, please try your luck there [01:57] generally, you can also configure this using the xrandr CLI [01:58] tomreyn: do you know, or are you guessing? [01:58] as well as additional software such as arandr [01:58] know or guessing on what? [01:58] that it is a xubuntu issue, and not ubuntu [02:00] i don't know that it's a xubuntu issue, but i know that you're using xubuntu, since you told me, and that it has different software for configuring relative screen positioning than the default gnome-shell. [02:00] xrandr allows for basic positioning as in https://unix.stackexchange.com/questions/10589/how-can-i-swap-my-two-screens-left-to-right [02:19] fwiw: here is a bug report: https://bugs.launchpad.net/ubuntu/+source/xfce4-panel/+bug/1596751 It says fix released, but its clearly not working [02:19] Launchpad bug 1596751 in Xfce4 Panel "xfce-panel does not honor "primary display" setting" [Wishlist,Fix released] [02:23] Hello [02:23] I have a problem with ubuntu not mounting NTFS partitions would anyone be kind to help? === zbenjamin is now known as Guest5130 === zbenjamin_ is now known as zbenjamin [02:28] OERIAS, details may help. what release, how are you mounting & what error are you getting? ie. outline your issue and someone may help if they're able to [02:29] it is 20.04 [02:29] I am mounting how ubuntu mounts them automatically [02:29] i was able to read and write partitions [02:29] and now I am getting the error message: [02:30] how ubuntu mounts them? do you mean via /etc/fstab? or how specifically (there are multiple methods) [02:30] by default [02:30] this is a fresh install of ubuntu [02:33] https://imgur.com/a/zICuhVN [02:33] ^ i am getting this error message. [02:40] using Disks also shows this: https://imgur.com/a/G9zJTEG [02:46] is there an easy way to add a signature to a pdf using default ubuntu tools, or a quick add-on to make that easier? [02:50] jayjo: an image, or a digital signature? [02:53] sorry, that's a very important clarification. I meant like an image on a PDF. On a mac, you can create a signature with the trackpad and then use that image to paste into PDFs. Can that be done with a webcam or something? Or an easy way to scale in a transparent image? [02:55] https://superuser.com/questions/452759/how-to-add-a-picture-onto-an-existing-pdf-file [02:57] https://askubuntu.com/questions/87419/how-can-i-add-text-and-images-for-example-a-signature-to-a-pdf [02:58] I've not tried any of these [02:58] what jayjo is asking is similar to what Adobe Fill and Sign on Windows does for pdf documents [02:58] what they are asking is software that can digitally sign a document. [03:01] jayjo, I'm not positive I understand, but pdfescape.com lets you annotate pdfs and I'm pretty sure you can insert an image. [03:01] does ubuntu 20.04 have some sort of auto apt package repair? [03:02] hi can someone help with my issue on not being able to mount an ntfs volume? [03:02] i keep deleting emacs & installing my own deb, and ever day i see it's reverted back to emacs 26 & my pcakage has been deleted [03:02] I was able before, now I am not [03:02] quazimodo: apt is smart, it always says whats wrong itself [03:03] lotuspsychje: it's doing this witouth me running it [03:03] yesterday i apt-get purge all the emacs shit, dpkg -i my own .deb, today my .deb installation is gone & the old emacs is back [03:03] it's super annoying [03:04] does it have some sort of cron/systemd script that tries to reset things? [03:04] quazimodo: unattended-upgrades? [03:05] deltab: maybe? [03:05] https://wiki.debian.org/UnattendedUpgrades [03:06] deltab: seems likely [03:06] if your deb has a lower version number, the other one will be newer and so installed automatically [03:07] deltab: i wasn't aware that unattended upgrades will upgrade voluntarily installed packages, only security things [03:08] check /etc/cron.daily/apt and /var/log/unattended-upgrades/*.log [03:08] I don't know, but it seems to fit [03:08] hello??? [03:09] 2021-03-05 09:51:45,970 INFO Packages that will be upgraded: emacs [03:09] deltab: you got it [03:09] OERIAS: hi [03:09] is this your first time on irc? [03:09] I'm installing ubuntu 20.04 on a windows box, want to install it dual boot. I'm at the partition stage and of course the tutorials, etc just handwave this part. [03:09] Hello quazimodo I need help in mounting NTFS partitions on Ubuntu [03:10] I was allowed to do this [03:10] but now I am not even allowed to mount local partitions [03:10] So it's showing me the existing partitoins and I clicked on the main partition, about 128GB, clicked the "Change" button and resized it to 64GB. Now there's about 64GB of free space, trying to figure out what I do next. [03:10] hello?? [03:12] I double-click on the unused space line and it pops up a dialog "Edit partition" and offers "use as:" and a number of file systems. Which should I use, and do I need to specify a mount point or can I just let the ubuntu installer do that? [03:12] puff: do oyu already have Windows installed, or data on the drive? [03:13] deltab: It's already installed on the drive. [03:13] deltab: trying to keep it and make it dual boot, but if it all goes horribly wrong and I have to blow away windows and make it ubuntu-only, I won't cry. [03:13] puff: ah right, and you've told it to resize the existing Windows partition [03:14] deltab: yeah, though I don't know if it actually has yet. [03:14] it hasn't changed anything yet. Resizing a filesystem generally takes a while [03:15] deltab: Okay, I'm down with that. [03:16] deltab: But what's the next step to move forward? [03:16] and modern partiion managers generally have you list all the changes you want to make, then run through them automatically [03:17] yeah... [03:17] add a partition for Linux, set mount point / [03:17] ext4 is the usual choice for the filesystem type [03:18] ok, so I do that by clicking on the empty space line, picking a file system type ext4, and specifying a mount point? [03:18] Cool. [03:18] yep [03:19] Hm, did that, when I click "Install Now" it gives me a warning about "No EFI System Partition was found" etc [03:21] apparently you should add a 256 MB primary partition of type EFI system: https://askubuntu.com/questions/1144552/dual-boot-no-efi-system-partition-was-found [03:22] Hello [03:22] or set the type of the existing one [03:22] I am trying to mount an NTFS partition [03:22] and Disks tells me that : Error mounting Filesystem [03:23] Not authorised to perform operation (udisks-error-quark, 4) [03:24] deltab: thanks [03:26] OERIAS: no idea [03:27] provide more context in the channel & wait, no one here is paid to help so if you want help you need to make it as easy as possible for someone who sees your question to answer it [03:28] have you tried turning it off & on again? [03:28] I have [03:28] drive is encrypted? [03:28] I am trying to explain things to the best of my ability [03:28] Blah, "Executing 'grub-install /dev/sda' failed. This is a fatal error." [03:28] OERIAS: I can't oad the images. What do they say? [03:29] > I am trying to explain things to the best of my ability [03:29] all i know is that I am not able to mount NTFS partitions [03:29] as Ubuntu would normally [03:29] really? we don't know what version of ubuntu, what kind of drives, what program you're using to do it [03:30] what you did before that may have changed things [03:30] can you read? [03:30] I said it is was Disks [03:30] and it gave me the error [03:30] and why am I not allowed to mount [03:30] and that the partitions are NTFS [03:30] on Ubuntu 20.04 [03:31] I have said this before two times [03:31] and provided a screenshot. [03:32] i havent seen the post with the screenshot, did you put it up before you asked the q? [03:32] can you say what the screenshot shows? I can't load it [03:33] https://imgur.com/a/zICuhVN and https://imgur.com/a/G9zJTEG [03:33] Disks tells me that : Error mounting Filesystem Not authorised to perform operation (udisks-error-quark, 4) [03:33] Yes those were the screenshots posted. [03:33] Nemo is saying Not Authorised to perform operation [03:33] Not authorised? hmm, it should have asked you for authorisation [03:34] I just click the drive on that sidebar [03:34] so when I go to Disks [03:34] I try to mount that partition [03:34] No avail [03:35] same can be said to a local NTFS partition that has Windows installed [03:35] has it been used by Windows since you last had it mounted? [03:35] Yes [03:35] and it is not reporting errors [03:35] was Windows shut down properly? [03:35] I ran chkdks [03:35] chkdsk [03:35] fully, not hibernated [03:36] Yes Windows was shut down properly [03:36] and it is not hibernated [03:37] and you're not using Chrome Remote Desktop? (I don't know why that would affect it, but people say it does) [03:38] I am on chrome desktop [03:38] it is installed [03:40] does running "id" in a terminal show the chrome-remote-desktop group? [03:41] 137(chrome-remote-desktop) [03:42] what I'm seeing in https://askubuntu.com/questions/1199116/unable-to-access-external-hard-drive-not-authorized-to-perform-operation-u is that you should run "sudo gpasswd -d $USER chrome-remote-desktop" and reboot [03:43] well I uninstalled chrome remote desktop because I actually don't use it [03:44] ah okay, that should work too [03:45] thank you deltab [03:45] It mounts the drives [03:46] now only if I can rescue the drive contents because the drive was erased [03:46] oh dear. erased how? [03:46] someone erased the drive thinking that the drive failed [03:46] and reformatted the drive in NTFS [03:47] ouch [03:47] so they lost a ton of files and documents [03:48] OERIAS, I think it depends on how they reformatted it. The data may still be there... just unlinked from the index. MAY. [03:49] OERIAS, A quick format might still retain the data... that's why it's quick :) [03:49] try https://www.cgsecurity.org/wiki/TestDisk and https://www.cgsecurity.org/wiki/PhotoRec [03:49] yep [03:49] deltab: Blah... so the dual boot installed failed, so I did a "replace existing" install, and now I get; https://paste.ubuntu.com/p/PbQZdVTtzP/ [03:50] puff: yeah, you need a boot loader installed [03:51] "Executing 'grub-install /dev/sda' failed. This is a fatal error." [03:51] deltab: How do I do that with the ubuntu thumb drive installer? [03:51] deltab: Yeah, that was the first install, the dual-boot install. Then I tried to do a just ubuntu install.... which *seemed* to go okay. [03:52] why did it fail? [03:52] with systemd.service files, how do i create a directory /tmp/stream with root privs and chown it to the user that runs the exec? [03:53] That was the error "Executing 'grub-install /dev/sda' failed. This is a fatal error." [03:53] puff: no other message before/after that? [03:53] no [03:55] puff: does Disks give you an option to install a boot loader? [03:56] deltab: Disks? [03:56] puff: or can you run grub? [03:57] deltab: If I hit F12 during POST it gives me several categories. One category is UEFI, under that it lists Ubuntu and it lists the PNY thumb drive that I made an ubuntu live thumb drive. If I select Ubuntu it does boot into ubuntu with Xwindows, desktop manager, etc. [03:57] That's the ubuntu live boot. [03:58] deltab: But if I don't hit F12, I get: https://paste.ubuntu.com/p/PbQZdVTtzP/ [03:58] okay, so you should be able to use that to install the boot loader on the hard drive [03:59] deltab: Sounds good. I'm now at the ubuntu live GUI initial screen, it's offering me "Try Ubuntu" or "Install Ubuntu" [04:00] "Try" will let you run programs [04:01] deltab: Just got disconnected, last thing I saw from you was 'okay, so you should b eable to use that to install the boot loader on the hard drive'. [04:01] "Try" will let you run programs [04:02] deltab: ok [04:02] deltab: So what's next? [04:02] without knowing what the problem is, I don't know if running the installer again will help [04:02] Aha. [04:03] so now you should be able to run the Disks utility, or open a terminal and run grub [04:04] ok, I'll give Disks a shot. Got it running, now what? [04:06] can you mount the linux partition? [04:06] In Disks, I select the drive, there's three buttons, triangle pointing right (that appears to be mount), a minus sign to delete the pratition, a gear that give sme a popup menu [04:06] It seems to mount ok. [04:07] Triangle turns into a square. [04:07] then means it's mounted [04:08] The gears icon is the same options: Format Partition..., Edit Partition, Edit Filesystem, Change Passphrase (faded out), Resize..., Check Filesystem...., Repair Filesystem..., Edit Mount Options..., Edit Encryption Options (faded out), Create Partition Image..., Restore Partition Image..., Benchmark Partition... [04:08] no bootloader option? ah well, maybe someday [04:09] anyway, you should be able to open its root directory, and see a boot directory [04:10] Opened a terminal, ls /boot shows me a boot directory. [04:10] and within that, a grub directory, and within that, a grub.cfg file [04:10] okay, but that'll be the live boot, not the disk [04:10] No grub.cfg but there': gxfblacklist.txt, grubenv, unicodepdf2 [04:12] run lsblk to see where it's mounted the hard disk [04:12] Ah... so opening Files, it shows "F3F9-3EFS" which matches the UUID that Disks shows for the 128GB partition. Open F3F9-3EFS and it shows a single folder named EFI. [04:12] /media/ubuntu/F3F9-3EFS [04:13] uh, a 128GB EFI partition? hmm [04:13] Maybe I should just format the entire disk and then do the install over? [04:14] maybe, yeah [04:14] I don't understand what happened with your installs [04:14] short of using dd to write over every byte, is there a better way? [04:14] me neither. [04:15] what shows in Disks? [04:18] deltab: I'm not sure what you mean, it shows the thumb rive, a 2.1GB Loop Device, and the 128GB disk. [04:19] is the 128GB split into partitions? [04:20] no [04:20] I'm thinking delete the partition iwth gparted and re-run the install. [04:20] so I guess the repartitioning failed [04:20] yeah, I guess. [04:20] well, resize it to 256 MB; it may be needed [04:21] and create a new partition in the rest of the space [04:22] ok [04:24] then run the installer and tell it you want to manually partition [04:33] Strangely, I rebooted and the ubuntu live thumb drive wasn't plugged in, and it still offered under UEFI an "ubuntu" option, which booted and etc. === MalkbabY_ is now known as MalkbabY [05:14] anyone can pls help me figure out how to get a serial console connection working? im trying to connect to a piece of shit netgate firewall [05:15] (total garbage never make the mistake of buying netgate hardware) [05:17] pumpy, I'm not sure if what you're asking is on-topic here (I see no connection with Ubuntu), but your choice of language won't like help [05:18] im using ubuntu is all. is there a serial connection console help channel? [05:45] can anyone recommend a good, well-used rsync-based backup utility, that creates incremental backups using hardlinks, that includes a gui? [06:01] So I closed the cover of my laptop and apparently 18.04 doesn't handle suspension very well. Looks like it crashed and is having a really hard time coming back up. I've never seen so many errors. [06:05] ugh... it's just going around in circles. Time to reboot and chances are I'll end up having to reinstall :/ [06:27] apt-offline is not installed. Circles. === PowerTower_121 is now known as PowerTower_120 === ace_me1 is now known as ace_me [08:28] when is the next release? the one after 20.10 [08:41] 20.10 was released in month 10 of year 2020. 21.04 will be released in month 4 of year 2021, it's in the release number [08:42] woah that's only 1 month left! [08:42] im so excited [09:00] Good morning guys [09:00] I am struggling with something that seems quite silly really [09:01] Searched the internet and couldn't get an answer and thought of trying out here [09:02] you're going to need to describe your issue to get help [09:03] When I highlight text and copy from a website, I first need to paste it in a word editor, then copy it again to be able to paste it in the terminal [09:03] I cannot seem to copy and paste straight from a website into the terminal [09:04] It gets old when cloning git repos [09:04] Any ideas why and how to fix it? [09:04] you need to press Ctrl+Shift and V to paste into the terminal [09:04] try that [09:04] That worked [09:04] Thank you very much [09:05] I'm glad [09:05] I have been using Shift+Ins all along [09:05] yeah pasting and copying is a bit different in the terminal [09:05] Thanks again mate [09:06] no problem [09:39] hi guys, anybody aware off issues when using postgres upstream repo and doing upgrade from 18.04 to 20.04 [09:39] checked releasenotes, nothing in there and it always fails [09:42] seems a dependency issue [09:44] I'd try uninstalling postgres (e.g. with ppa-purge), upgrade OS, enable the 20.04 version of the upstream repo, then install postgres again [09:45] though i'd really avoid upgrading the OS completely. I find it better to set up a new box with the new OS, configured the same as the old. Then you can send over a pgdump [09:46] Hi, there is a bug in the current ImageMagick package in Ubuntu 20.04 that has been fixed upstream. https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1918935 [09:46] Launchpad bug 1918935 in imagemagick (Ubuntu) "convert(1) segfault" [Undecided,New] [09:48] franks2: thank you for filing this bug, could you apport-collect 1918935 to drag in more info into your bug please? [09:49] !info imagemagick [09:49] imagemagick (source: imagemagick): image manipulation programs -- binaries. In component universe, is optional. Version 8:6.9.10.23+dfsg-2.1ubuntu11.2 (focal), package size 14 kB, installed size 123 kB [09:49] lotuspsychje: Isn't the link to Github sufficient? [09:50] franks2: its handy for the devs to know a little more of your current system, logs,etc [09:51] lotuspsychje: Thanks, I did it now [09:51] thank you franks2 [09:52] hi, i understand sudo is used to give regular users permissions to run commands as another user (possibly root). but is it possible to use it for the vice-versa i.e. allow root to execute commands as a standard user? [09:52] e.g. by appending the line "root ALL = (std_user) /path/to/command" to /etc/sudoers [09:53] franks2: the developer will be notified, some hints to get a boost on your bug is to find a second user to affect your bug, and start doing tests yourselfs aswell [09:54] franks2: maybe a chitchat with the #ubuntu-release guys could also help [09:55] userx sure, but you better use su for that. [09:56] root is only the default argument for the switch user commands. [10:05] userx, you could use bit sticky too === Amol_ is now known as Amol|brb [10:10] geirha: thanks for pointing to ppa-purge [10:11] userx: yes it is possible, you can even tell to which user [10:12] Elw3: why would one prefer su over it? it's exactly sudo's intention, you can allow to run single commands as another user [10:12] userx, you could use selinux, to define executions permissions too [10:13] Just a note. Many do want to switch users, dont know about su and then try to work around it with sudo somehow. [10:14] and btw "su" needs roots password while sudo needs the users one [10:14] if i remember [10:15] Damn it, I've accidently renamed directories and files home folder [10:15] whis there was CTRL-Z :-) [10:19] and for the setuid suggestion, sudo does that for you without reinventing the wheel [10:19] vimart: there is [10:19] zfs rollback [10:20] vimart, that is calling to ransomware resident mate [10:20] a good explanation to sudo https://www.tecmint.com/su-vs-sudo-and-how-to-configure-sudo-in-linux/ [10:22] cbreak: what you mean zfs, is it going to bring back names? [10:22] if you changed anything in your filesystem, a rollback will restore it to the specified snapshot [10:22] ... if you made a snapshot [10:22] and of course, you'll lose everything you did since that snapshot, regardless if you want to keep it or not :) [10:23] vimart, testdisk could do that [10:24] vimart, you could bring again the list of orig names [10:26] lupulo: but I'd have to have testdisk installed before that happened and loged [10:28] cbreak: never done any snapshot and there are two in repo zfs-utils-linux and zfs-fuse [10:29] well, if you don't use zfs, then zfs won't help you in this case [10:31] vimart, not it search in the partition [10:33] vimart try testdisk and save the logs, after you create a script to rename again [10:37] vimart, i think ext4 or another filesystem not change all the stat information, but i am not sure, perhaps there are a specific program to the filesystem [10:40] vimart, testdisk is the typical usb tool [10:43] I've installed the testdisk and it shows /dev/loopxx [10:45] vimart, you should execute testdisk in the partition where you could recover information, ex, testdisk /dev/sda1 [10:47] i seem to be uncapable of understanding ppa-purge :D [10:47] and that after 20 years of Linux System Engineering :D [10:47] still working on rtfm :D [10:48] lupulo:that's the poing I've /home on /dev/sda6 and in testidsk I just see /dev/sda and then big list of /dev/loopxx [10:48] cbreak: Well probably you should ask him first if he uses zfs first? Or did i miss? [10:49] nah don't have zfs [10:49] vimart, try to unmount it before [10:50] not i not use zfs [10:51] lol I'm still loged in [11:03] shouldnt it be loged somewhere how each file and folder got renamed ? [11:05] hi everyone,how can I install python-numpy in ubuntu20? [11:06] aquanaut: pip3 install numpy [11:20] vimart:But I only want to install python2-numpy.Does it use pip3 too? [11:20] I need to use python2.7-numpy matplotlib scipy etc. [11:22] aquanaut: python2 uses pip, py3 pip3 [11:23] BTW RIP Python2 is death. [11:26] aquanaut, you should search an anaconda2 to do it. https://repo.anaconda.com/archive/ [11:33] Thanks for all your reply. [11:53] did anyone else's nvidia drivers fail to load after the recent HWE kernel update? [12:00] Hi download of package got slow drastically [12:01] I have to use apt-fast for reasonable speed [12:01] What might be the cause ? [12:24] Howdy folks [12:25] BluesKaj: no. [12:26] heh [12:26] no? [12:26] BluesKaj: this is a support channel, use #ubuntu-offtopic for howdy etc. [12:27] hi, any idea what could cause this? https://dpaste.org/Ciyd [12:27] Deano59, yes I've been logging into this chat for 15 yrs [12:28] BluesKaj: good for you. [12:28] meandrain: is that a rpi? [12:28] Deano59, Howdy means hello :-) [12:28] I'm not stupid BluesKaj, I know what it means. :-) [12:29] either way, it doesn't belong here unless you *NEED* help. [12:29] Deano59: no, it's a machine with AMD Ryzen 9 3900 12-Core Processor. It freezes once a couple of days and I don't know how to figure out what the problem is. [12:29] and I am not sure that error is from when it froze [12:29] meandrain: are you overclocked? [12:29] no [12:30] the machine is remote, and when it freeze, I cannot automatically reset it. Somebody has to go to turn it of and on [12:32] I also have this: systemd[1]: /lib/systemd/system/dbus.service:12: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. [12:32] do you crash on only ubuntu or other os's too meandrain ? [12:33] and what kernel/ubuntu version? [12:33] I only tried on ubuntu 20.04 and 20.10 [12:33] right now it has: Linux 5.8.0-44-generic [12:34] also I tried with 5.6 from 20.04 [12:34] is there a way to make it crash more often? I need to somehow reproduce that [12:34] what're you doing when it actually crashes? [12:35] there are few docker instances running [12:35] what're you doing when it actually crashes? [12:35] read, please. [12:36] me, nothing [12:36] I am via ssh, and then I cannot access ssh [12:36] cannot ping the machine [12:36] then I order a power button reset, which is not working, then a manual reset is working and the machine is back online [12:37] I am running memtester right now to figure out if there is a memory problem [12:37] but not sure how good this "memtester" program is [13:07] Is Ubuntu compatible already with NVIDIA RTX 3090 graphics card? I have like 6 of it. Are they default recognised ? [13:08] get the drivers from nvidia [13:10] cbreak: i will be only doing minning. i must have to install them first? [13:10] hahahaha [13:10] lol [13:10] mining on gpus? [13:10] how silly :P [13:10] cbreak: yeah [13:10] cbreak: its 120 mh/s [13:10] but if you do it without cuda, why even bother getting GPUs? [13:11] cbreak: i have ASIC too but going to build now my own GPU rig with ubuntu. so learning it now [13:12] Elw3, tuxinator, lupulo: thanks for the answers and the link to su vs sudo. i can surely use "sudo -u other_user /command/path" for one-offs, or alternatively a wrapper script. but wondering if there's a more elegant way (using sudoers file) to *always* run that specific command as standard user i.e. if running /some/command, always run as other_user instead of the current $USER. [13:14] userx: well i would follow the bestpractice standard path instead of creating some unsecure scripts [13:14] you can do a script which calls "sudo command" [13:15] thats all you need [13:15] but don't build a wrapper around sudo! makes it unsecure [13:17] ah yes, that's what i meant by "wrapper" i.e. a one liner that does the "sudo -u user command" [13:18] userx: that's fine [13:18] btw man sudo also helps a lot [13:20] especially https://linux.die.net/man/5/sudoers [13:21] and a really important note, badly many people out there ignore, always use passwords together with sudo! [13:22] i'd like to think i've read enough of the manpage already :) it led to the initial trial of adding "root ALL = (another_user) /path/to/command" to the file (which didn't work as expected, refer earlier) [13:23] is your command a script? [13:23] did you read your distros man or just some general one? [13:23] i just thought i could use sudo/sudoers as a catch-all "run command X as user Y when logged in as user Z" where Z==root and Y is a less-privileged user [13:24] well you can [13:24] my own machines manpage (ubuntu 18.04) [13:24] just use "sudo $Nameofyourshell [13:24] " [13:24] or sudo -i (interactive) [13:25] seems you didn't read the manpage well D: [13:25] :D [13:25] sudo -i behaves similar ot "su" but with sudo style user a does not need to know the password of the user to whom he is switching [13:26] i am doing many typos today :D [13:31] no worries :) [13:31] again, it still works with "sudo -u user ..." (no issues here). but what i mean to do is, to add an entry to sudoers so that whenever the current user executes "sudo commandX" it always runs as the target user, without having to specify the runas user on the CLI :) [13:58] how can i see the ubuntu version inside a DVD image (mounted ISO)? [13:58] (from a modified disc, i want to determine the version) [14:06] de-facto: doesnt it show release when you mount it? [14:10] lotuspsychje, actually its a anti-virus dvd based either on 18.04 or 20.04 and i want to find out the version by looking at the content in the iso [14:11] are there some files that can reveal that? [14:17] boot into the iso, open a terminal and run, lsb_release -a [14:21] hmm yeah, cant i just see it inside some of the files? [14:21] de-facto, you could search a package name and match that with Ubuntu repository [14:21] huh? [14:22] i only have the mounted iso here, cant reboot right now [14:22] think lupulo means browse your iso for packagename/version [14:22] yes [14:22] and see wich ubuntu release it belongs to [14:24] de-facto, find /mountedIso/ -name deb [14:25] after you match one of these in https://packages.ubuntu.com/search?keywords [14:27] there are no debs [14:33] userx: your description makes no real sense, maybe create a logical diagram of it first [14:34] "it always runs as the target user" -> explain how it should known who is the "target user" [14:34] userx: if it can't be found out -> set it static somewhere by a script [14:36] userx: so maybe script -> contains only sudo testcommand with user abcd where abcd is static set in the script === BrianG61UK_ is now known as BrianG61UK [14:43] de-facto, you could search about sources.list too [14:44] tuxinator: I mentioned in an earlier message that the (target) user would defined in a /etc/sudoers entry e.g. root ALL = (runas_user) /path/to/command [14:44] well that would mean ENV variable passing which would make the whole thing unsecure [14:45] atleast to my knowledge [14:47] de-facto, sources.list has references to distro version [14:47] yeah, I think I'll just stick to the one liner for now :) [14:48] maybe the manpages have some info on "secure variables" [14:53] i dont think such files exist in the iso file system [14:53] maybe inside the squashfs [14:54] but filesystem.manifest lists package names [14:54] so that seems to contain versions [14:55] , accountsservice0 [14:55] !v accountsservice0 === bildramer1 is now known as bildramer [15:09] Hello folks ;] [15:10] talx: hi [15:10] Hello everyone. I'm having an issue with my Ubuntu. Out of the blue I started getting some "disconnected network" message. So I tail'd -f /var/log/syslog and I see the same message printed every time it happens. It goes along the line of NetworkManager[594]: [2343.234] device (tun0): state change: activated -> unmanaged (reason 'unmanaged', [15:10] sys-iface-state: 'remove'). Any ideas? [15:10] is it possible to ask a question regarding ub18 ?;o [15:11] can't find any good solution on google for 2 days now [15:11] :( [15:11] talx: ub18? [15:12] ubuntu 18.04.4 [15:12] to be exact [15:12] yes, it is still supported [15:12] the issue is [15:12] when try to connect to that machine from a display server using: ssh -X BOX [15:13] echo $DISPLAY = DISPLAY: Undefined variable. [15:13] talx: you need to set it [15:13] export DISPLAY=:0 [15:14] talx: also, you are out of date since we're up to 18.04.5 now [15:14] its not important right now [15:14] also I'm using tcsh which happens to be setenv DISPLAY [15:14] anyway -X should forward display [15:14] try ssh -v -X [15:15] talx: if you are getting "Undeined variable" then it looks like you are not setting it [15:15] talx: maybe test by setting it [15:15] what do you mean not setting it [15:15] I dont want to do it everytime I connect [15:15] it will be set by ssh. [15:16] not sure what I should look for with -vvv [15:17] I see "debug1: Remote: /home/cbreak/.ssh/authorized_keys:2: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding" and "debug1: Requesting X11 forwarding with authentication spoofing." [15:17] I get at debug3 level: [15:17] debug3: Ignored env MODULE_VERSION_STACK [15:17] debug3: Ignored env MANPATH [15:17] debug3: Ignored env ORBIT_SOCKETDIR [15:17] debug3: Ignored env HOSTNAME [15:17] !paste | talx [15:17] talx: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [15:17] is this related ? [15:18] alright will paste it tere [15:23] cbreak [15:23] https://paste.ubuntu.com/p/s7SpG8MjBb/ [15:25] https://paste.ubuntu.com/p/tTZVFhnPW6/ [15:25] leftyfb have any idea [15:26] sorry, can't help at the moment [15:28] talx: and echo $DISPLAY doesn't show something like localhost:10.0 ? [15:28] still undefined [15:29] is it unset by some .bashrc or similar? [15:29] no way :o [15:29] it happens only in ubuntus not all tho [15:30] ssh -X yourserver env [15:30] with the word env as it ? [15:30] yes [15:30] that should start the env program without going through a shell [15:31] I think [15:31] yea will print all env vars [15:31] should anyway [15:32] there is no display there tho [15:32] quit [15:32] So I installed PyCharm via some JetBrains Toolbox. It installed a file ~/.local/share/applications/jetbrains-pycharm.desktop ... which is cool for opening through Gnome, but I don't have ability to launch now via terminal. [15:32] I was used to opening projects by typing "pycharm-professional ." in the current directory [15:33] you can do updatedb;locate pycharm-professional [15:34] you prolly need to add it to your PATH [15:34] or ln -s installationdir/pycharm-professional /usr/bin/pycharm-professional [15:34] something like that :P [15:34] The .desktop file has this.... Exec="/home/wwuh8r/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/203.7148.72/bin/pycharm.sh" %f [15:35] so if I symlinked to that it'd break whenever it gets updated. Seems to have a version number in the path [15:37] what does the %f do in the Exec line? [15:39] a single file name : https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables [15:39] ^ ELFrederich [15:41] So maybe now I need to write a wrapper script which I can call from terminal that parses the .desktop file and executes it. Since apparently ~/.local/share/applications/jetbrains-pycharm.desktop is a fixed location but the Exec it points to is not [16:04] hello, I have 32 GBs of ram, don't run any crazy loads (usual desktop + steam + maybe one windows vm doing nothing) yet I've been visited by the OOM killer today. Is there any way to find out which of the processes misbehaved after the fact? [16:05] or maybe set up something that will act before OOM and dump process list [16:05] dmesg | grep -i kill [16:05] grep /var/log/kern.log* -ie kill [16:06] Thank you oerheks [16:07] these are some examples. do you have a swap enabled? [16:07] no, I figured I'll be fine without swap probably maybe :( [16:08] Examples, but I think the output is telling. Seems it has killed barriers at total-vm 14334992kB which is some 15GB [16:08] quite a lot for a mouse sharing service :< [16:09] maybe they already have solutions upstream [16:13] barnex, i would enable a swapfile, 2 gb, to prevent this and give the OOM some slack [16:13] !swap [16:13] swap is used to move unused programs and data out of main memory to make your system faster. It can also be used as extra memory if you don't have enough. See https://help.ubuntu.com/community/SwapFaq for more info [16:14] barnex: why use barrier over synergy? === thegodsq- is now known as thegodsquirrel [16:44] leftyfb, I moved over because there were no discernible advantages in using Synergy compared to Barrier. Now if we could solve the Wayland problem... [17:04] Hello, folks! I'm sending mails with sendgrid however sendgrid exposes my mail server ip in the headers can I somehow hide that or change that using some proxy like nginx? [17:04] Interesting thread.. just fired up gparted and ..standard ubuntu install has no swap partition???? [17:05] asenm: maybe try #ubuntu-server [17:08] Dekkard, correct, a swapfile by default [17:08] !swap [17:10] asenm: also, please don't crosspost [17:11] asenm: you posted in ##linux and waited 3 seconds before posting here [17:12] @leftyfb, okay === Dewin|znc is now known as Dewin === carlesc_ is now known as carlesc === ijohnson is now known as ijohnson|lunch === BrianG61UK__ is now known as BrianG61UK === k3yp- is now known as k3yp [18:24] 5t [18:38] What dns server is systemd-resolved? What package is it? [18:39] It's only listening on 127.0.0.53 and I need it to listen on a particular interface but can't find any setup files. [18:40] Good day! Are apt packages on Ubuntu maintained equally across all Ubuntu-based distros? [18:40] quantum, have you checked /etc/systemd/resolved.conf ? [18:41] quantum: systemd-resolved is not a DNS server. It is for caching. What exactly are you trying to accomplish? [18:41] I need a DNS and dhcp server. I guess I'll use dnsmasq. [18:42] So -something- is doing my DNS. [18:42] quantum: use dnsmasq or bind9. resolved is not made for that purpose [18:42] quantum: resolved is for local DNS caching. It's not a DNS namserver service [18:42] I installed ubuntu the other day, set up my printer, was troubleshooting it, added and then removed /etc/modprobe.d/usblp.conf, and after adding and also after removing it, my nvidia driver refuses to load (modprobe nvidia comes back with Key was rejected by service) and I have no network drivers either.  I disabled secure boot and dmesg shows a [18:42] message in agreement with that.  These things (except the printer) were working this morning. [18:42] -Something- is doing my DNS. [18:43] But I am happy to switch to dnsmasq. [18:43] quantum: systemd-resolve --status|grep -i "dns servers" # to find out what the ip is of your local nameserver [18:45] leftyfb: It's referring to my correct LAN DNS server, but what happens when I connect this firewall directly to The Internets?         DNS Servers: 10.2.1.1 [18:46] quantum: then your "LAN DNS server" should be configured to forward those requests out to the internet [18:47] quantum: why do you need to run a nameserver on this machine if you already have on on the LAN? (typically your router should handle local DNS) [18:47] This is a firewall for an employee's home. [18:47] An Odroid n2+ sbc. [18:48] quantum: you'll have to be more specific than that. A "firewall" can mean many different things to different people. IMO, a firewall is just a set of rules to allow or disallow traffic. Nothing more. A gateway or router routes traffic between networks. A namserver/DNS server resolves host/domain names to ip addresses [18:50] I have it under control, thanks leftyfb, thanks. It's actually all of those, and a cameras server for me; I was trying to be brief. [19:00] It looks like my kernel got updated from 5.8.0-44 to -45, but not all of my drivers were created in /usr/lib/modules/5.8.0-45-generic [19:01] And there's no grub menu to let me boot into 5.8.0-44, and I have no working network drivers (wired or wireless) in -45 === weltall2 is now known as weltall === sptz3 is now known as sptz === Net_ is now known as Net === xMopx- is now known as xMopx [19:25] How do things get added to apt repositories? [19:25] I have secure boot disabled, but when I try to modprobe nvidia, I get Key was rejected by service.  Doesn't turning off secure boot kill that crap? [19:31] !motu | Kraus [19:31] Kraus: motu is short for Masters of the Universe. The brave souls who maintain the packages in the Universe section of Ubuntu. See https://wiki.ubuntu.com/MOTU [19:32] Hah! Love the name === styledash7 is now known as styledash === djhankb0 is now known as djhankb [19:32] So I must travel to the realms of Eternia for an answer. Got it. :) === Etua1 is now known as Etua [19:46] Kraus: :) [20:07] hey all. is it since Firefox 86 that it shows normal window title bar? [20:08] i guess that tabs and title bar were the same before [20:08] can we have that back? [20:10] rdz: if you're asking about features in Firefox, you should probably ask Mozilla. [20:11] leftyfb, right. but is sitll packed by ubuntu i believe [20:11] so i guess ubuntu integration is done by ubuntu team, thus i ask here [20:11] rdz: sure, but Ubuntu does not develop features in Firefox [20:11] titlebar is just a wast of space [20:11] leftyfb, i'm not sure if talk about a "feature" [20:12] i don't know what and why it has changed [20:12] and i agree with oerheks, it's a waste of space [20:12] I disabled secure boot in my BIOS and with mokutil, dmesg shows secureboot: Secure Boot Disabled, but modprobe nvidia still complains Key rejected by service.  nvidia drivers worked yesterday, but despite going as far as a complete reinstall, I can't get them working today. [20:12] and I consider it a regression, since i believe there was no additional titlebar before [20:14] about:config, and look for browser.tabs [20:14] btw i see no titlebar [20:16] oerheks, ah ok.. thanks i'll check [20:16] oerheks, btw: are you using firefox 86 as well? [20:17] no, it is hidden in Menu, Customize, left down corner > titlebar [20:18] oerheks, oh.. thanks a thousand times! [20:18] https://imgur.com/gallery/TqJJXmk [20:19] heve fun! [20:19] that's such a relief [20:19] so i guess i enabled 'titlebar' by accident somehow === JeremyD is now known as SleePy [20:19] maybe, or the setting traveled from an earlier firefox [20:37] hey guys is there a way to get a dropdown terminal on wayland GNOME? [20:37] https://extensions.gnome.org/extension/1509/drop-down-terminal-x/ this never opens [20:37] im on 20.04 [20:50] ¸nvm pulled from github and it worked [21:07] I'm having issues with nvidia-drivers, when I modprobe nvidia it says "key was rejected by service" but dmesg shows secure boot is disabled [21:07] jaf1230: check in terminal> mokutil --sb-state [21:09] jaf1230: ^^ 2) might be good to know what dkms is up to: ' sudo dkms status ' . === Elodin is now known as Guest973 === Guest98919 is now known as MIF [21:26] 18.04 laptop missing network driver. How can I get apt-offline installed so I can install the driver using apt-offline? Or some other solution? I have a usb to ethernet adapter on order, but while waiting a few days for it, I'd like to make progress if possible. [21:27] The only working phone I have right now is too old to make a hotspot. [21:27] apb1963: USB tether? [21:29] jeremy31, hotspot... tether... more or less the same difference. Phone is too old. [21:29] Actually it will do the hotspot, but not the tether... hotspot doesn't help since the network card isn't available. [21:29] apb1963: what wifi card? [21:29] apb1963: what device are you using right now? [21:30] TJ-, 16.04 desktop [21:30] jeremy31, hang on [21:30] jeremy31, this package: rtl8821ce-dkms [21:30] apb1963: device, not OS! presumably it has networking so you can use it to fetch the required files and transfer them, which is why you asked about apt-offline? [21:31] TJ-, Device is a desktop computer. [21:31] TJ-, and yes, that is why. [21:32] apb1963: what kernel currently in use> uname -r [21:32] apb1963: apt-offline is a 240KB install, so you could transfer that easily from 'this' PC to the air-gapped PC :) [21:33] TJ-, yes... I just don't know the magic words to grab the package and put it on a usb stick and then install on the laptop. [21:33] apb1963: download from here (for 18.04) https://packages.ubuntu.com/bionic/all/apt-offline/download [21:33] TJ-, that was actually among my first solutions... I just don't know how to go about doing it. [21:33] TJ-, ok [21:34] apb1963: copy to your 18.04 system, then run "sudo dpkg -i apt-offline_1.8.1_all.deb" to install it from the directory containing the .deb file, then you can use "man apt-offline" to check how to use [21:35] apb1963: you have a desktop computer with the rtl8821ce? [21:37] TJ-, working on doing it now. Thank you! [21:37] jeremy31, No. [21:37] HP laptop? [21:37] No [21:37] Asus vivobook [21:37] mokutil --sb-state says SecureBoot disabled, Platform is in Setup Mode.  dkms status returns nothing.  I've tried enabling and disabling it in UEFI config, and dmesg always says it's disabled, but I still get the same error trying to modprobe nvidia.  As much as I don't want secure boot, I'm following instructions to sign my nvidia drivers, and [21:37] that doesn't seem to be helping either [21:40] TJ-, I wonder... wouldn't it make more sense to just download & install the driver? [21:40] now I modprobe nvidia and get no such device [21:41] apb1963: The driver is compiled for a certain kernel and recompiled for a newer kernel [21:41] and Additional Drivers lists nvidia and noveau, but has selected and only allows selection of Continue using a manually installed driver [21:41] jeremy31, wouldn't there be a matching driver for the kernel I'm using? [21:42] apb1963: post results from terminal for> uname -r [21:42] jaf1230: IF the nvidia driver is ready to install on the sytem then ' dkms autoinstall ' to Rebuild all modules for the currently running kernel, might prove of help. [21:42] I might have that kernel and be able to build one to make this easier [21:44] 4.18.0-15-generic [21:45] But if there's no matching driver then I might as well follow the original plan. I don't want to impose on you to build it. [21:45] apb1963: that packages is available for bionic, from https://packages.ubuntu.com/bionic-updates/rtl8821ce-dkms [21:45] TJ-, So just download and install with dpkg -i right? [21:46] apb1963: you would need to get dkms and its dependencies [21:46] apb1963: yes... BUT it may require dependencies not currently installed for building modules) [21:46] apb1963: if the air-gapped PC already has dkms installed it'd work [21:46] It only has what's on the install stick. [21:47] build-essentials too , i guess [21:47] So whatever is up there for 18.04.2 is down here. [21:47] apb1963: so you do need apt-offline's assistance [21:47] TJ-, sounds like it. [21:47] OK, let me do that. Be a few minutes. Thanks! [21:49] Bashing-om: I just did apt reinstall nvidia, it installed a bunch of packages.  I ran dkms autoinstall, it exited silently.  I rebooted, and now I'm in 1024x768 single head, instead of my previous (I assume noveau) 1920*1200 dual head.  modprobe nvidia now loads nvidia and nvidia_uvm, but nvidia-settings says "ERROR: Unable to load info from any [21:49] available systems" even after running nvidia-xconfig [21:53] Needs python3-magic [21:54] jaf1230: Any hints in the log file ' /var/log/gpu-manager.log ' ? [21:56] noveau blacklisted, nvidia kernel module is available, (4x) Error : Failed to open /dev/dri, single card detected, nothing to do [21:59] maybe a bios setting? onboard/pci [21:59] i just read back, what card exactly and what driver version? [22:00] oerheks: pci express, gtx 1650, and I've poked around the BIOS a few times without much changing [22:01] nvidia-driver-460 [22:02] my preferred solution would be to have nvidia driver working without secure boot, but if I have to enable secure boot to get nvidia driver working, I'd settle for that [22:02] Hi, how can I change the kernel parameters ? Which file to edit? [22:03] secure boot is supported, so i see no problems there [22:03] apb1963 download this https://usercontent.irccloud-cdn.com/file/8Tc8a380/rtl8821ce.ko [22:04] DeaDSouL, see our wiki? [22:04] https://wiki.ubuntu.com/Kernel/KernelBootParameters [22:04] jeremy31, what is .ko? [22:05] jeremy31, download why? Then what? [22:05] apb1963: that is the driver, I think ko is kernel object [22:05] jeremy31, is that the module I can then insmod? [22:06] apb1963: copy it to the computer with the rtl8821ce, put on desktop, then in terminal> cd Desktop && sudo cp rtl8821ce.ko /lib/modules/4.18.0-15-generic/kernel/drivers/net/wireless/realtek/rtlwifi/ && sudo depmod -a [22:07] It should work after a reboot if Secure Boot is disabled [22:08] jeremy31, I will try. Thank you! I actually downloaded the source yesterday, but then I realized there are no building tools. [22:09] jeremy31, by the way... did you build that for me or was it just sitting there waiting to be found? [22:10] apb1963: after putting it on Desktop, you might be able to do in terminal> cd Desktop && sudo modprobe ./rtl8821ce.ko [22:10] apb1963: you could build it on your 16.04 in an lxd container :) [22:10] apb1963: I just built it since I had a 18.04 install [22:11] jeremy31, well thank you for that! [22:12] jeremy31, much appreciated! === Napsterbater is now known as Guest10728 === Napsterbater_ is now known as Napsterbater [22:12] !cookies | jeremy31 [22:12] jeremy31: Cookies are delicious delicacies. [22:13] !yum [22:13] Uh, don't you mean !apt ? [22:13] TJ-, Yeah, I was thinking that was going to be my next option... except I don't know what lxd is. I was thinking a VM by... not vmware, the other one... box something or other maybe? Anyway.... [22:14] virtualbox? [22:14] yeah I think that's it [22:14] kvm is a nice option [22:14] lxd is containers [22:14] But... that remains to be seen as to how this process goes. [22:14] I don't know the difference between a VM & a container. [22:15] So many pies in the air. [22:15] container is a stripped down version of a vm, and will share some librairies to make it lightweight [22:15] it comes bare [22:15] Sounds similar to a chroot environment. [22:16] apb1963: an LXD container uses a separate userspace (root file-system) but shares the kernel with the host, but is isolated and can be run as an unprivileged user [22:16] in some ways yes, but you can orchestrate them with an orchestrator, you can network them etc [22:17] TJ-, It will take time for me to digest that sentence. [22:17] apb1963: me too [22:17] I'm freaking out... now I need to hire the Philharmonic? :D [22:18] apb1963: similar to a chroot but the container has its own init system just like the host [22:18] I'm going to bow out of this discussion... it's more than I can absorb right now. I appreciate the help friends! [22:20] apb1963: If that driver I posted works, install rtl8821ce-dkms and update [22:20] I'm still fighting with nvidia drivers, unable to load info from any available system when I try to run nvidia-settings [22:21] my kernel version and vermagic on nvidia.ko match... [22:22] jaf1230: Driver conflicts ? What all is presently installed ' dpkg -l | grep -i nvidia ' . [22:23] Hey can you recommend some system monitor (cpu, ram, disk, etc.) that one can install on a single system and which produces some graphs viewable in web browser? (and hopefully does not use rrdtool to produce graphs) [22:24] various libnvidia, linux-modules-nvidia-460-5.8.0-45-generic, nvidia-{compute-utils, dkms, driver, kernel-common, kernel-source, prime, settings, utils}-460, screen-resolution-extra, xserver-xorg-video-nvidia-460.  FWIW, I reinstalled it today after a fresh install on a new PC a few days ago. [22:25] Bashing-om: Last I saw, noveau was blacklisted [22:25] !paste | jaf1230 [22:25] jaf1230: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [22:26] Bashing-om: paste.ubuntu.com/p/DWDCrHKR3Y [22:28] jeremy31, so I did as far as depmod -a which seems to have been successful as there were no errors printed. Was the modprobe next or in place of the previous? And, is the next step reboot? [22:30] apb1963: with any luck the driver should load with a reboot [22:30] jeremy31, I will try. brb [22:31] How do I right click on a touchpad? [22:31] I hate touchpads [22:32] jaf1230: Link does not complete for me - try again ? [22:32] might be able to click with two fingers to right click [22:32] http://paste.ubuntu.com/p/DWDCrHKR3Y/ [22:32] jaf1230, thank you! [22:34] jaf1230: Yup :D --- package manager in happy state and looks sane to me - what says the log file ? [22:35] Bashing-om: Which log file? -browses Xorg.0.log- [22:35] Ah, Xorg.0.log couldn't open module nvidia, module doesn't exist [22:36] despite the fact that I can successfully modprobe nvidia, and lsmod shows it [22:36] jaf1230: /var/log/gpu-manager.log may be the more explicit. [22:37] https://paste.ubuntu.com/p/mM4cByF48m/ [22:38] Let the trumpets sound and a proclamation go forth upon the land... it works!!!! [22:39] congrats apb1963 [22:39] Thank you... I couldn't have done it w/out all your guys & possibly gals and 25 other genders, help. [22:41] jaf1230: Yukkie "Error : Failed to open /dev/dri" Not had much success in the past finding a solution for this case - what results when you boot a 5.4 series kernel from the advanced option list in grub's boot menu ?? [22:41] apb1963: install updates and the rtl8821ce-dkms [22:42] uhh... now my cursor changes, but I can't click anything. [22:43] I can switch to a VT and back to X, but I still can't click. [22:43] !sysrq | jaf1230 [22:43] jaf1230: In an emergency, you may be able to shutdown cleanly and reboot by holding down Alt+PrintScreen and typing slowly, in succession, S, U and B. For an explanation, see http://en.wikipedia.org/wiki/Magic_SysRq_key [22:45] jeremy31, Working on "If that driver I posted works, install rtl8821ce-dkms and update" [22:46] Bashing-om: I only have 5.8.0-43 and 5.8.0-45.  Fresh install from today. [22:47] jeremy31, Done. I guess apt-get upgrade now. [22:47] jaf1230: Was but a thought - as our devekopes and Nvidia has worked to get the 5.8 kernel to integrate. May yet be some knackers in the works :( [22:50] Bashing-om: Should I try installing a different kernel version, or a different ubuntu release?  I'm a little surprised that the LTS version has potentially broken nvidia support [22:52] linux-headers-5.4.0-67-generic, perhaps? [22:53] jaf1230: Honestly - I can not say - I too face the same issue on a 18.04 install - still batting my head against that stone wall of "Error : Failed to open /dev/dri" - making little headway :( [22:54] Oh wow.  18.04, have you been banging your head on this for three years? [22:55] Bashing-om, Dumb question... does /dev/dri exist? [22:58] jaf1230: Well a few months - sometimes - I generally run the nouvea driver for my daily - but for support reasons I wanted to install the proprietary driver - no issues way back in 16.04 - after ubuntu obtained the updated Nvidia driver. Presently on 20.04 with the 5.4 series kernel, not at all looking forward to see what the Nvidia driver does on this install. Pretty happy with it as I have it now. [22:59] for me, /dev/dri does not exist [23:00] so you have 5.4 and no working nvidia? [23:01] jaf1230: I have not tried to install the nvidia driver in 20.04. no. [23:02] jaf1230: Lemme take a look at 18.04 - me thinks that /dev/dri is an nvidia thing. [23:04] Bashing-om: /dev/dri isn't just nvidia, I have it with an Intel graphics card [23:05] jeremy31: jaf1230: Thanks - I have purged Nvidia on my 18.04 install and the file no longer exists. [23:10] Bashing-om, and if you add nvidia back... does the file get created? [23:12] apb1963: I do not recall of the top of my head. [23:14] On my system, I've uninstalled and reinstalled nvidia-drivers and don't have /dev/dri [23:14] And I'm thinking that copying those files from my gentoo system is probably a *really* bad idea [23:15] Harlin: However, the gpu log file certainly reflects that the installer is looking for it :( [23:15] And so the question becomes... why isn't that file being created? You could also ask, why is that file needed? What is its purpose? [23:16] For example, maybe it's trying to open it because something else failed first. [23:16] And maybe fixing that first thing would make /dev/dri access no longer needed. I don't know, just brainstorming. [23:17] Bashing-om, ok man [23:17] Bashing-om, not sure why you called me but I'm sure you got your reasons ;) [23:21] Harlin: No - just not paying good attention to what I am doing :( Sorry for the bad highlight :D [23:21] Bashing-om, no worries mate :-) [23:22] jaf1230: Found one instance where the boot parameter "nomodeset" can cause this result. Any additional boot options enabled at this time ? [23:22] apb1963 /dev/dri is supposed to be a folder.  Not sure why it's not there, though [23:23] dri= direct rendering infrastructure [23:23] jaf1230, Exactly. And if whatever is accessing it expects it to be there, then that's an issue and it's complaining. So the question is... how is it supposed to get created? What creates it? And why didn't it do that? [23:24] Bashing-om It looks like I do not have nomodeset [23:25] It's also why I like to use ls -F That way you can tell if it's a file or not. [23:25] jeremy31, thank you for that. Good to know. [23:29] jeremy31, you could try creating it by hand and see if that makes any difference. Other than that... I'm out of ideas and time :) [23:31] Actually... one more idea... look at the installation sequence step by step and determine why it's trying to open that path. [23:31] apb1963: that /dev/dri is likely created by the driver [23:31] jeremy31, At what point in time? [23:32] apb1963: likely at boot time but I am a wifi expert, not video [23:32] jeremy31, And, why wasn't it successful? Or was it, and somehow it got deleted? [23:32] jeremy31, I'm not an expert of any kind any more :) [23:34] I just need a working laptop so I can make a presentation and that show is ready to go... well the laptop part anyway. :D [23:35] Thanks to this channel [23:35] So now I have to do the "easy" part. Best of luck jeremy31 !