/srv/irclogs.ubuntu.com/2021/03/15/#ubuntu.txt

=== jwisbell35 is now known as kathadris
apb1963Greetings 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:03
cbreakapt search says "rtl8821ce-dkms/groovy,groovy 5.5.2.1-0ubuntu4 all" on 20.1000:05
cbreakmaybe you have something similar in your version00:05
apb1963apt search rtl8821ce-dkms00:06
apb1963Sorting... Done00:06
apb1963Full Text Search... Done00:06
apb1963Nada00:06
jeremy31apb1963: https://github.com/tomaspinho/rtl8821ce00:06
apb1963jeremy31, That's what I tried "next".00:06
jeremy31apb1963: Secure Boot enabled?00:07
apb1963no00:07
apb1963but I guess now I should doublecheck; paranoia00:08
tomreynapb1963: it's available on 18.04 LTS   rtl8821ce-dkms | 5.5.2.1-0ubuntu3~18.04.1 | bionic-updates/universe | all00:18
apb1963jeremy31, I was wrong... it was enabled.  I just disabled it.00:18
tomreynyou need to enable the "universe" repository00:18
apb1963tomreyn, I don't have access to the Internet on the laptop... how do I get it from the repos to the laptop?00:22
tomreyn!apt-offline00:22
tomreyn!info apt-offline bionic00:22
ubottuapt-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 kB00:22
apb1963I don't know what to do with that.00:23
tomreynyou can run this on another ubuntu 18.04 computer to assemble the packages, store them on removable media, and move that to the new computer00:23
tomreynor you can try the same with the github repository jeremy pointed you to00:23
apb1963and what about on 16.04?00:23
tomreynbut more likely, the best approach is to get the system online by other means00:24
apb1963other means?00:24
tomreynif you have a smartphone which can do tethering through a wire, for example00:24
tomreynor this classic, boring, but reliable, and almost always supported out of the box thing called ethernet00:25
apb1963there is no ethernet card00:25
apb1963on the laptop00:25
apb1963just wireless00:25
tomreynwhat about the smartphone approach00:25
apb1963I don't know how they phone would connect to the laptop00:26
apb1963usb I guess?00:26
tomreynyes, usb00:26
tomreynbluetooth could also work, but it's more complex00:26
apb1963don't know if I have the cable that will match both.  The laptop has bluetooth.00:26
tomreynhow do you charge the phone?00:27
apb1963wall socket00:27
apb1963that's a good point00:27
apb1963let me get that00:27
tomreynremove the wall plug and you'll have a usb-a connector00:27
tomreyn...unless apple00:27
leaftype2apple stopped using the usb-a connector?00:28
tomreynactually, i don't know that00:28
tomreynapparently the latest does. but then, not really on topic here.00:29
apb1963ok, got the cable connected... let me see if it's smart enough to tether.00:31
=== ubuntu2 is now known as wibawachan
wibawachanthanks that's work for me00:31
apb1963I 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:37
apb1963tomreyn, ^^^00:38
tomreynapb1963: 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 ubuntu00:39
apb1963tomreyn, I don't see a tethering option.  So either it's too dumb or I am.  It's an old phone.  Ancient even.00:39
tomreynhmm, 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
apb1963Alacatel OneTouch00:40
apb1963android00:41
tomreynandroid, i guess00:41
* apb1963 nods00:41
tomreynsettings -> wireless -> tethering and mobile hotspot00:41
tomreynthat's what i see on an older android phone00:41
apb1963it's probably older than that :)00:43
apb1963I'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:44
apb1963I seem to be hitting the neighbor's TV devices???00:45
tomreynyes, that's not it00:45
apb1963"peer devices"00:45
tomreynsettings -> abiut this phone > android version    and    > model00:46
tomreynsays what?00:46
apb1963Now I'm in an APN section... there's one existing or I can create a new one00:47
tomreynnot what you want00:47
apb1963a464bg  all caps.00:48
tomreynapparently this functionality was removed for this phone.00:50
apb1963so.... it has bluetooth... which I've never used either.00:51
tomreynwont help you if the phone wont relay the network00:52
apb1963yeah I know virtually nothing about bluetooth... other than that it's blue and apparently made from teeth. :)00:52
apb1963I have "Dr. Network" installed on the phone.00:53
tomreyni've since found two web pages which actually state the phone's default ROM does support tethering00:53
apb1963but they disabled it?  Must be a paid option. :/  Or was, back when it was new.00:54
apb1963I wonder if there's an app I could install that would do the tethering.00:55
tomreynapb1963: 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.tether01:06
apb1963tomreyn, 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:13
apb1963The only way to xfer files is by usb01:14
apb1963or bluetooth I guess.01:14
apb1963ok forget what I wrote... I'm clearly crazy.01:16
apb1963tomreyn, 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
tomreynapb1963: if it doesn't bring up the menu shown on its screenshot then its not going to work01:19
apb1963tomreyn, yeah it basically freezes01:20
tomreynhttps://play.google.com/store/apps/details?id=com.marcellomessori.easyusbtethering is another01:20
tomreynhttps://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
apb1963tomreyn, The thing is, NetShare seems to work... I just don't know what to do with it.01:22
tomreynbut then you'd need a client on ubuntu to use that01:22
tomreyn"netshare" is for setting up a wireless access point. this doesn't help you, because your wireless device on ubuntu isnt working01:24
tomreynyou need to tether, i.e. share the smartphones' internet connection, through the usb cable, to the computer01:25
tomreyn(or through bluetooth, but as i said, that's more involved)01:25
apb1963tomreyn, ok.  tried easyusb, doesn't work.01:25
tomreynokay, 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:26
apb1963let me take another look at the play store, see if we missed any01:29
apb1963tomreyn, yeah, it will filter apps for my phone.... no tether apps are compatible.01:31
apb1963apt-offline is easier than bluetooth?01:31
tomreynnot 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
apb1963no, only the laptop has 18.04... I'm on 16 here now.01:33
tomreynif that's 16.04 then you have about a month of support left there01:39
tomreynunlike your andoird device, which has known remotely exploitable security vulnerabilities for 5 or so years01:40
tomreyn*android01:40
apb1963tomreyn, I turned on bluetooth on both.  They immediately started trying to pair.  Got a password error... not sure where to look for that.01:42
apb1963Connected!  I didn't confirm it the first time, now it's good.01:44
apb1963Since I didn't confirm it failed the passwd check... all good now.01:44
apb1963tomreyn, Still no ping... so... how do I use this thing?01:45
jjbuggle2nd 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:46
tomreynapb1963: 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.x01:47
tomreynjjbuggle: 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
tomreynif this is ubuntu 18.04 LTS or later, you should be able to find this info in settings -> about01:50
apb1963tomreyn, I don't understand.  Why would pairing not help if the data is xmitted through bluetooth?  I thought that was the point?01:50
apb1963tomreyn, Hell... why not just turn on bluetooth on 16.04 and eliminate the middleman?01:52
tomreynapb1963: 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 your01:53
tomreynphone's operating system, for all we can tell.01:53
apb1963tomreyn, why not just turn on bluetooth on 16.04 and eliminate the middleman?01:54
tomreynapb1963: 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
apb1963ok, thank you for all your help!01:55
tomreynyou're welcome01:55
jjbuggletomreyn: 20.04, and upgrade from 18.04.  Xubuntu.  Dell laptop.  No additional graphics drivers are available.01:56
tomreynjjbuggle: that's more of a #xubuntu question then, please try your luck there01:56
tomreyngenerally, you can also configure this using the   xrandr   CLI01:57
jjbuggletomreyn: do you know, or are you guessing?01:58
tomreynas well as additional software such as arandr01:58
tomreynknow or guessing on what?01:58
jjbugglethat it is a xubuntu issue, and not ubuntu01:58
tomreyni 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
tomreynxrandr allows for basic positioning as in https://unix.stackexchange.com/questions/10589/how-can-i-swap-my-two-screens-left-to-right02:00
jjbugglefwiw: here is a bug report: https://bugs.launchpad.net/ubuntu/+source/xfce4-panel/+bug/1596751          It says fix released, but its clearly not working02:19
ubottuLaunchpad bug 1596751 in Xfce4 Panel "xfce-panel does not honor "primary display" setting" [Wishlist,Fix released]02:19
OERIASHello02:23
OERIASI have a problem with ubuntu not mounting NTFS partitions would anyone be kind to help?02:23
=== zbenjamin is now known as Guest5130
=== zbenjamin_ is now known as zbenjamin
guivercOERIAS, 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 to02:28
OERIASit is 20.0402:29
OERIASI am mounting how ubuntu mounts them automatically02:29
OERIASi was able to read and write partitions02:29
OERIASand now I am getting the error message:02:29
guiverchow ubuntu mounts them?  do you mean via /etc/fstab? or how specifically (there are multiple methods)02:30
OERIASby default02:30
OERIASthis is a fresh install of ubuntu02:30
OERIAShttps://imgur.com/a/zICuhVN02:33
OERIAS^ i am getting this error message.02:33
OERIASusing Disks also shows this: https://imgur.com/a/G9zJTEG02:40
jayjois 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:46
deltabjayjo: an image, or a digital signature?02:50
jayjosorry, 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:53
deltabhttps://superuser.com/questions/452759/how-to-add-a-picture-onto-an-existing-pdf-file02:55
deltabhttps://askubuntu.com/questions/87419/how-can-i-add-text-and-images-for-example-a-signature-to-a-pdf02:57
deltabI've not tried any of these02:58
OERIASwhat jayjo is asking is similar to what Adobe Fill and Sign on Windows does for pdf documents02:58
OERIASwhat they are  asking is software that can digitally sign a document.02:58
apb1963jayjo, 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
quazimododoes ubuntu 20.04 have some sort of auto apt package repair?03:01
OERIAShi can someone help with my issue on not being able to mount an ntfs volume?03:02
quazimodoi keep deleting emacs & installing my own deb, and ever day i see it's reverted back to emacs 26 & my pcakage has been deleted03:02
OERIASI was able before, now I am not03:02
lotuspsychjequazimodo: apt is smart, it always says whats wrong itself03:02
quazimodolotuspsychje: it's doing this witouth me running it03:03
quazimodoyesterday i apt-get purge all the emacs shit, dpkg -i my own .deb, today my .deb installation is gone & the old emacs is back03:03
quazimodoit's super annoying03:03
quazimododoes it have some sort of cron/systemd script that tries to reset things?03:04
deltabquazimodo: unattended-upgrades?03:04
quazimododeltab: maybe?03:05
deltabhttps://wiki.debian.org/UnattendedUpgrades03:05
quazimododeltab: seems likely03:06
deltabif your deb has a lower version number, the other one will be newer and so installed automatically03:06
quazimododeltab: i wasn't aware that unattended upgrades will upgrade voluntarily installed packages, only security things03:07
deltabcheck /etc/cron.daily/apt and /var/log/unattended-upgrades/*.log03:08
deltabI don't know, but it seems to fit03:08
OERIAShello???03:08
quazimodo2021-03-05 09:51:45,970 INFO Packages that will be upgraded: emacs03:09
quazimododeltab: you got it03:09
quazimodoOERIAS: hi03:09
quazimodois this your first time on irc?03:09
puffI'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
OERIASHello quazimodo I need help in mounting NTFS partitions on Ubuntu03:09
OERIASI was allowed to do this03:10
OERIASbut now I am not even allowed to mount local partitions03:10
puffSo 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
quazimodohello??03:10
puffI 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
deltabpuff: do oyu already have Windows installed, or data on the drive?03:12
puffdeltab: It's already installed on the drive.03:13
puffdeltab: 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
deltabpuff: ah right, and you've told it to resize the existing Windows partition03:13
puffdeltab: yeah, though I don't know if it actually has yet.03:14
deltabit hasn't changed anything yet. Resizing a filesystem generally takes a while03:14
puffdeltab: Okay, I'm down with that.03:15
puffdeltab: But what's the next step to move forward?03:16
deltaband modern partiion managers generally have you list all the changes you want to make, then run through them automatically03:16
puffyeah...03:17
deltabadd a partition for Linux, set mount point /03:17
deltabext4 is the usual choice for the filesystem type03:17
puffok, so I do that by clicking on the empty space line, picking a file system type ext4, and specifying a mount point?03:18
puffCool.03:18
deltabyep03:18
puffHm, did that, when I click "Install Now" it gives me a warning about "No EFI System Partition was found" etc03:19
deltabapparently you should add a 256 MB primary partition of type EFI system: https://askubuntu.com/questions/1144552/dual-boot-no-efi-system-partition-was-found03:21
OERIASHello03:22
deltabor set the type of the existing one03:22
OERIASI am trying to mount an NTFS partition03:22
OERIASand Disks tells me that : Error mounting Filesystem03:22
OERIASNot authorised to perform operation (udisks-error-quark, 4)03:23
puffdeltab: thanks03:24
quazimodoOERIAS: no idea03:26
quazimodoprovide 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 it03:27
quazimodohave you tried turning it off & on again?03:28
OERIASI have03:28
quazimododrive is encrypted?03:28
OERIASI am trying to explain things to the best of my ability03:28
puffBlah, "Executing 'grub-install /dev/sda' failed.  This is a fatal error."03:28
deltabOERIAS: I can't oad the images. What do they say?03:28
quazimodo>  I am trying to explain things to the best of my ability03:29
OERIASall i know is that I am not able to mount NTFS partitions03:29
OERIASas Ubuntu would normally03:29
quazimodoreally? we don't know what version of ubuntu, what kind of drives, what program you're using to do it03:29
quazimodowhat you did before that may have changed things03:30
OERIAScan you read?03:30
OERIASI said it is was Disks03:30
OERIASand it gave me the error03:30
OERIASand why am I not allowed to mount03:30
OERIASand that the partitions are NTFS03:30
OERIASon Ubuntu 20.0403:30
OERIASI have said this before two times03:31
OERIASand provided a screenshot.03:31
quazimodoi havent seen the post with the screenshot, did you put it up before you asked the q?03:32
deltabcan you say what the screenshot shows? I can't load it03:32
deltabhttps://imgur.com/a/zICuhVN and https://imgur.com/a/G9zJTEG03:33
OERIASDisks tells me that : Error mounting Filesystem Not authorised to perform operation (udisks-error-quark, 4)03:33
OERIASYes those were the screenshots posted.03:33
OERIASNemo is saying Not Authorised to perform operation03:33
deltabNot authorised? hmm, it should have asked you for authorisation03:33
OERIASI just click the drive on that sidebar03:34
OERIASso when I go to Disks03:34
OERIASI try to mount that partition03:34
OERIASNo avail03:34
OERIASsame can be said to a local NTFS partition that has Windows installed03:35
deltabhas it been used by Windows since you last had it mounted?03:35
OERIASYes03:35
OERIASand it is not reporting errors03:35
deltabwas Windows shut down properly?03:35
OERIASI ran chkdks03:35
OERIASchkdsk03:35
deltabfully, not hibernated03:35
OERIASYes Windows was shut down properly03:36
OERIASand it is not hibernated03:36
deltaband you're not using Chrome Remote Desktop? (I don't know why that would affect it, but people say it does)03:37
OERIASI am on chrome desktop03:38
OERIASit is installed03:38
deltabdoes running "id" in a terminal show the chrome-remote-desktop group?03:40
OERIAS137(chrome-remote-desktop)03:41
deltabwhat 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 reboot03:42
OERIASwell I uninstalled chrome remote desktop because I actually don't use it03:43
deltabah okay, that should work too03:44
OERIASthank you deltab03:45
OERIASIt mounts the drives03:45
OERIASnow only if I can rescue the drive contents because the drive was erased03:46
deltaboh dear. erased how?03:46
OERIASsomeone erased the drive thinking that the drive failed03:46
OERIASand reformatted the drive in NTFS03:46
deltabouch03:47
OERIASso they lost a ton of files and documents03:47
apb1963OERIAS, I think it depends on how they reformatted it.  The data may still be there... just unlinked from the index.  MAY.03:48
apb1963OERIAS, A quick format might still retain the data... that's why it's quick :)03:49
deltabtry https://www.cgsecurity.org/wiki/TestDisk and https://www.cgsecurity.org/wiki/PhotoRec03:49
apb1963yep03:49
puffdeltab: 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:49
deltabpuff: yeah, you need a boot loader installed03:50
deltab"Executing 'grub-install /dev/sda' failed.  This is a fatal error."03:51
puffdeltab: How do I do that with the ubuntu thumb drive installer?03:51
puffdeltab: 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:51
deltabwhy did it fail?03:52
de-factowith 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:52
puffThat was the error "Executing 'grub-install /dev/sda' failed.  This is a fatal error."03:53
deltabpuff: no other message before/after that?03:53
puffno03:53
deltabpuff: does Disks give you an option to install a boot loader?03:55
puffdeltab: Disks?03:56
deltabpuff: or can you run grub?03:56
puffdeltab: 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
puffThat's the ubuntu live boot.03:57
puffdeltab: But if I don't hit F12, I get: https://paste.ubuntu.com/p/PbQZdVTtzP/03:58
deltabokay, so you should be able to use that to install the boot loader on the hard drive03:58
puffdeltab: Sounds good.  I'm now at the ubuntu live GUI initial screen, it's offering me "Try Ubuntu" or "Install Ubuntu"03:59
deltab"Try" will let you run programs04:00
puffdeltab: 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
deltab"Try" will let you run programs04:01
puffdeltab: ok04:02
puffdeltab: So what's next?04:02
deltabwithout knowing what the problem is, I don't know if running the installer again will help04:02
puffAha.04:02
deltabso now you should be able to run the Disks utility, or open a terminal and run grub04:03
puffok, I'll give Disks a shot.  Got it running, now what?04:04
deltabcan you mount the linux partition?04:06
puffIn 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 menu04:06
puffIt seems to mount ok.04:06
puffTriangle turns into a square.04:07
deltabthen means it's mounted04:07
puffThe 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
deltabno bootloader option? ah well, maybe someday04:08
deltabanyway, you should be able to open its root directory, and see a boot directory04:09
puffOpened a terminal, ls /boot shows me a boot directory.04:10
deltaband within that, a grub directory, and within that, a grub.cfg file04:10
deltabokay, but that'll be the live boot, not the disk04:10
puffNo grub.cfg but there': gxfblacklist.txt, grubenv, unicodepdf204:10
deltabrun lsblk to see where it's mounted the hard disk04:12
puffAh... 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
puff/media/ubuntu/F3F9-3EFS04:12
deltabuh, a 128GB EFI partition? hmm04:13
puffMaybe I should just format the entire disk and then do the install over?04:13
deltabmaybe, yeah04:14
deltabI don't understand what happened with your installs04:14
puffshort of using dd to write over every byte, is there a better way?04:14
puffme neither.04:14
deltabwhat shows in Disks?04:15
puffdeltab: I'm not sure what you mean, it shows the thumb rive, a 2.1GB Loop Device, and the 128GB disk.04:18
deltabis the 128GB split into partitions?04:19
puffno04:20
puffI'm thinking delete the partition iwth gparted and re-run the install.04:20
deltabso I guess the repartitioning failed04:20
puffyeah, I guess.04:20
deltabwell, resize it to 256 MB; it may be needed04:20
deltaband create a new partition in the rest of the space04:21
puffok04:22
deltabthen run the installer and tell it you want to manually partition04:24
puffStrangely, 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.04:33
=== MalkbabY_ is now known as MalkbabY
pumpyanyone can pls help me figure out how to get a serial console connection working? im trying to connect to a piece of shit netgate firewall05:14
pumpy(total garbage never make the mistake of buying netgate hardware)05:15
guivercpumpy, 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 help05:17
pumpyim using ubuntu is all. is there a serial connection console help channel?05:18
clarkkcan anyone recommend a good, well-used rsync-based backup utility, that creates incremental backups using hardlinks, that includes a gui?05:45
apb1963So 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:01
apb1963ugh... it's just going around in circles.  Time to reboot and chances are I'll end up having to reinstall :/06:05
apb1963apt-offline is not installed.  Circles.06:27
=== PowerTower_121 is now known as PowerTower_120
=== ace_me1 is now known as ace_me
engloshwhen is the next release? the one after 20.1008:28
geirha20.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 number08:41
engloshwoah that's only 1 month left!08:42
engloshim so excited08:42
tobeatunaornotGood morning guys09:00
tobeatunaornotI am struggling with something that seems quite silly really09:00
tobeatunaornotSearched the internet and couldn't get an answer and thought of trying out here09:01
ThinkT510you're going to need to describe your issue to get help09:02
tobeatunaornotWhen 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 terminal09:03
tobeatunaornotI cannot seem to copy and paste straight from a website into the terminal09:03
tobeatunaornotIt gets old when cloning git repos09:04
tobeatunaornotAny ideas why and how to fix it?09:04
engloshyou need to press Ctrl+Shift and V to paste into the terminal09:04
engloshtry that09:04
tobeatunaornotThat worked09:04
tobeatunaornotThank you very much09:04
engloshI'm glad09:05
tobeatunaornotI have been using Shift+Ins all along09:05
engloshyeah pasting and copying is a bit different in the terminal09:05
tobeatunaornotThanks again mate09:05
engloshno problem09:06
tuxinatorhi guys, anybody aware off issues when using postgres upstream repo and doing upgrade from 18.04 to 20.0409:39
tuxinatorchecked releasenotes, nothing in there and it always fails09:39
tuxinatorseems a dependency issue09:42
geirhaI'd try uninstalling postgres (e.g. with ppa-purge), upgrade OS, enable the 20.04 version of the upstream repo, then install postgres again09:44
geirhathough 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 pgdump09:45
franks2Hi,  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/191893509:46
ubottuLaunchpad bug 1918935 in imagemagick (Ubuntu) "convert(1) segfault" [Undecided,New]09:46
lotuspsychjefranks2: thank you for filing this bug, could you apport-collect 1918935 to drag in more info into your bug please?09:48
lotuspsychje!info imagemagick09:49
ubottuimagemagick (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 kB09:49
franks2lotuspsychje: Isn't the link to Github sufficient?09:49
lotuspsychjefranks2: its handy for the devs to know a little more of your current system, logs,etc09:50
franks2lotuspsychje: Thanks, I did it now09:51
lotuspsychjethank you franks209:51
userxhi, 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
userxe.g. by appending the line "root ALL = (std_user) /path/to/command" to /etc/sudoers09:52
lotuspsychjefranks2: 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 aswell09:53
lotuspsychjefranks2: maybe a chitchat with the #ubuntu-release guys could also help09:54
Elw3userx sure, but you better use su for that.09:55
Elw3root is only the default argument for the switch user commands.09:56
lupulouserx, you could use bit sticky too10:05
=== Amol_ is now known as Amol|brb
tuxinatorgeirha: thanks for pointing to ppa-purge10:10
tuxinatoruserx: yes it is possible, you can even tell to which user10:11
tuxinatorElw3: why would one prefer su over it? it's exactly sudo's intention, you can allow to run single commands as another user10:12
lupulouserx, you could use selinux, to define executions permissions too10:12
Elw3Just a note. Many do want to switch users, dont know about su and then try to work around it with sudo somehow.10:13
tuxinatorand btw "su" needs roots password while sudo needs the users one10:14
tuxinatorif i remember10:14
vimartDamn it, I've accidently renamed directories and files home folder10:15
vimartwhis there was CTRL-Z :-)10:15
tuxinatorand for the setuid suggestion, sudo does that for you without reinventing the wheel10:19
cbreakvimart: there is10:19
cbreakzfs rollback10:19
lupulovimart, that is calling to ransomware resident mate10:20
tuxinatora good explanation to sudo https://www.tecmint.com/su-vs-sudo-and-how-to-configure-sudo-in-linux/10:20
vimartcbreak: what you mean zfs, is it going to bring back names?10:22
cbreakif you changed anything in your filesystem, a rollback will restore it to the specified snapshot10:22
cbreak... if you made a snapshot10:22
cbreakand of course, you'll lose everything you did since that snapshot, regardless if you want to keep it or not :)10:22
lupulovimart, testdisk could do that10:23
lupulovimart, you could bring again the list of orig names10:24
vimartlupulo: but I'd have to have testdisk installed before that happened and loged10:26
vimartcbreak: never done any snapshot and there are two in repo zfs-utils-linux and zfs-fuse10:28
cbreakwell, if you don't use zfs, then zfs won't help you in this case10:29
lupulovimart, not it search in the partition10:31
lupulovimart try testdisk and save the logs, after you create a script to rename again10:33
lupulovimart, 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 filesystem10:37
lupulovimart, testdisk is the typical usb tool10:40
vimartI've installed the testdisk and it shows /dev/loopxx10:43
lupulovimart, you should execute testdisk in the partition where you could recover information, ex, testdisk /dev/sda110:45
tuxinatori seem to be uncapable of understanding ppa-purge :D10:47
tuxinatorand that after 20 years of Linux System Engineering :D10:47
tuxinatorstill working on rtfm :D10:47
vimartlupulo:that's the poing I've /home on /dev/sda6 and in testidsk I just see /dev/sda and then big list of /dev/loopxx10:48
tuxinatorcbreak: Well probably you should ask him first if he uses zfs first? Or did i miss?10:48
vimartnah don't have zfs10:49
lupulovimart, try to unmount it before10:49
lupulonot i not use zfs10:50
vimartlol I'm still loged in10:51
vimartshouldnt it be loged somewhere how each file and folder got renamed ?11:03
aquanauthi everyone,how can I install python-numpy in ubuntu20?11:05
vimartaquanaut: pip3 install numpy11:06
aquanautvimart:But I only want to install python2-numpy.Does it use pip3 too?11:20
aquanautI need to use python2.7-numpy matplotlib scipy etc.11:20
vimartaquanaut: python2 uses pip, py3 pip311:22
vimartBTW RIP  Python2 is death.11:23
lupuloaquanaut, you should search an anaconda2 to do it. https://repo.anaconda.com/archive/11:26
aquanautThanks for all your reply.11:33
jaffachiefdid anyone else's nvidia drivers fail to load after the recent HWE kernel update?11:53
sanbotHi download of package got slow drastically12:00
sanbotI have to use apt-fast for reasonable speed12:01
sanbotWhat might be the cause ?12:01
BluesKajHowdy folks12:24
Deano59BluesKaj: no.12:25
BluesKajheh12:26
BluesKajno?12:26
Deano59BluesKaj: this is a support channel, use #ubuntu-offtopic for howdy etc.12:26
meandrainhi, any idea what could cause this? https://dpaste.org/Ciyd12:27
BluesKajDeano59, yes I've been logging into this chat for 15 yrs12:27
Deano59BluesKaj: good for you.12:28
Deano59meandrain: is that a rpi?12:28
BluesKajDeano59, Howdy means hello :-)12:28
Deano59I'm not stupid BluesKaj, I know what it means. :-)12:28
Deano59either way, it doesn't belong here unless you *NEED* help.12:29
meandrainDeano59: 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
meandrainand I am not sure that error is from when it froze12:29
Deano59meandrain: are you overclocked?12:29
meandrainno12:29
meandrainthe machine is remote, and when it freeze, I cannot automatically reset it. Somebody has to go to turn it of and on12:30
meandrainI 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
Deano59do you crash on only ubuntu or other os's too meandrain ?12:32
Deano59and what kernel/ubuntu version?12:33
meandrainI only tried on ubuntu 20.04 and 20.1012:33
meandrainright now it has:  Linux 5.8.0-44-generic12:33
meandrainalso I tried with 5.6 from 20.0412:34
meandrainis there a way to make it crash more often? I need to somehow reproduce that12:34
Deano59what're you doing when it actually crashes?12:34
meandrainthere are few docker instances running12:35
Deano59what're you doing when it actually crashes?12:35
Deano59read, please.12:35
meandrainme, nothing12:36
meandrainI am via ssh, and then I cannot access ssh12:36
meandraincannot ping the machine12:36
meandrainthen I order a power button reset, which is not working, then a manual reset is working and the machine is back online12:36
meandrainI am running memtester right now to figure out if there is a memory problem12:37
meandrainbut not sure how good this "memtester" program is12:37
IamTryingIs Ubuntu compatible already with NVIDIA RTX 3090 graphics card? I have like 6 of it. Are they default recognised ?13:07
cbreakget the drivers from nvidia13:08
IamTryingcbreak: i will be only doing minning. i must have to install them first?13:10
cbreakhahahaha13:10
IamTryinglol13:10
cbreakmining on gpus?13:10
cbreakhow silly :P13:10
IamTryingcbreak: yeah13:10
IamTryingcbreak: its 120 mh/s13:10
cbreakbut if you do it without cuda, why even bother getting GPUs?13:10
IamTryingcbreak: i have ASIC too but going to build now my own GPU rig with ubuntu. so learning it now13:11
userxElw3, 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:12
tuxinatoruserx: well i would follow the bestpractice standard path instead of creating some unsecure scripts13:14
tuxinatoryou can do a script which calls "sudo command"13:14
tuxinatorthats all you need13:15
tuxinatorbut don't build a wrapper around sudo! makes it unsecure13:15
userxah yes, that's what i meant by "wrapper" i.e. a one liner that does the "sudo -u user command"13:17
tuxinatoruserx: that's fine13:18
tuxinatorbtw man sudo also helps a lot13:18
tuxinatorespecially https://linux.die.net/man/5/sudoers13:20
tuxinatorand a really important note, badly many people out there ignore, always use passwords together with sudo!13:21
userxi'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:22
tuxinatoris your command a script?13:23
tuxinatordid you read your distros man or just some general one?13:23
userxi 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 user13:23
tuxinatorwell you can13:24
userxmy own machines manpage (ubuntu 18.04)13:24
tuxinatorjust use "sudo $Nameofyourshell13:24
tuxinator"13:24
tuxinatoror sudo -i (interactive)13:24
tuxinatorseems you didn't read the manpage well D:13:25
tuxinator:D13:25
tuxinatorsudo -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 switching13:25
tuxinatori am doing many typos today :D13:26
userxno worries :)13:31
userxagain, 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:31
de-factohow can i see the ubuntu version inside a DVD image (mounted ISO)?13:58
de-facto(from a modified disc, i want to determine the version)13:58
lotuspsychjede-facto: doesnt it show release when you mount it?14:06
de-factolotuspsychje, 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 iso14:10
de-factoare there some files that can reveal that?14:11
BluesKajboot into the iso, open a terminal and run, lsb_release -a14:17
de-factohmm yeah, cant i just see it inside some of the files?14:21
lupulode-facto, you could search a package name and match that with Ubuntu repository14:21
de-factohuh?14:21
de-factoi only have the mounted iso here, cant reboot right now14:22
lotuspsychjethink lupulo means browse your iso for packagename/version14:22
lupuloyes14:22
lotuspsychjeand see wich ubuntu release it belongs to14:22
lupulode-facto, find /mountedIso/ -name deb14:24
lupuloafter you match one of these in https://packages.ubuntu.com/search?keywords14:25
de-factothere are no debs14:27
tuxinatoruserx: your description makes no real sense, maybe create a logical diagram of it first14:33
tuxinator"it always runs as the target user" -> explain how it should known who is the "target user"14:34
tuxinatoruserx: if it can't be found out -> set it static somewhere by a script14:34
tuxinatoruserx: so maybe script -> contains only sudo testcommand with user abcd where abcd is static set in the script14:36
=== BrianG61UK_ is now known as BrianG61UK
lupulode-facto, you could search about sources.list too14:43
userxtuxinator: 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/command14:44
tuxinatorwell that would mean ENV variable passing which would make the whole thing unsecure14:44
tuxinatoratleast to my knowledge14:45
lupulode-facto, sources.list has references to distro version14:47
userxyeah, I think I'll just stick to the one liner for now :)14:47
tuxinatormaybe the manpages have some info on "secure variables"14:48
de-factoi dont think such files exist in the iso file system14:53
de-factomaybe inside the squashfs14:53
de-factobut filesystem.manifest lists package names14:54
de-factoso that seems to contain versions14:54
de-facto, accountsservice014:55
de-facto!v accountsservice014:55
=== bildramer1 is now known as bildramer
talxHello folks ;]15:09
tuxinatortalx: hi15:10
scrairelandHello 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]: <info> [2343.234] device (tun0): state change: activated -> unmanaged (reason 'unmanaged',15:10
scrairelandsys-iface-state: 'remove'). Any ideas?15:10
talxis it possible to ask a question regarding ub18 ?;o15:10
talxcan't find any good solution on google for 2 days now15:11
talx:(15:11
ThinkT510talx: ub18?15:11
talxubuntu 18.04.415:12
talxto be exact15:12
ThinkT510yes, it is still supported15:12
talxthe issue is15:12
talxwhen try to connect to that machine from a display server using: ssh -X BOX15:12
talxecho $DISPLAY = DISPLAY: Undefined variable.15:13
leftyfbtalx: you need to set it15:13
leftyfbexport DISPLAY=:0 <GUI Command you want to run>15:13
leftyfbtalx: also, you are out of date since we're up to 18.04.5 now15:14
talxits not important right now15:14
talxalso I'm using tcsh which happens to be setenv DISPLAY15:14
talxanyway -X should forward display15:14
cbreaktry ssh -v -X15:14
leftyfbtalx: if you are getting "Undeined variable" then it looks like you are not setting it15:15
leftyfbtalx: maybe test by setting it15:15
talxwhat do you mean not setting it15:15
talxI dont want to do it everytime I connect15:15
cbreakit will be set by ssh.15:15
talxnot sure what I should look for with -vvv15:16
cbreakI 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
talxI get at debug3 level:15:17
talxdebug3: Ignored env MODULE_VERSION_STACK15:17
talxdebug3: Ignored env MANPATH15:17
talxdebug3: Ignored env ORBIT_SOCKETDIR15:17
talxdebug3: Ignored env HOSTNAME15:17
leftyfb!paste | talx15:17
ubottutalx: 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
talxis this related ?15:17
talxalright will paste it tere15:18
talxcbreak15:23
talxhttps://paste.ubuntu.com/p/s7SpG8MjBb/15:23
talxhttps://paste.ubuntu.com/p/tTZVFhnPW6/15:25
talxleftyfb have any idea15:25
leftyfbsorry, can't help at the moment15:26
cbreaktalx: and echo $DISPLAY doesn't show something like localhost:10.0 ?15:28
talxstill undefined15:28
cbreakis it unset by some .bashrc or similar?15:29
talxno way :o15:29
talxit happens only in ubuntus not all tho15:29
cbreakssh -X yourserver env15:30
talxwith the word env as it ?15:30
cbreakyes15:30
cbreakthat should start the env program without going through a shell15:30
cbreakI think15:31
talxyea will print all env vars15:31
talxshould anyway15:31
talxthere is no display there tho15:32
bubblerquit15:32
ELFrederichSo 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
ELFrederichI was used to opening projects by typing "pycharm-professional ." in the current directory15:32
talxyou can do updatedb;locate pycharm-professional15:33
talxyou prolly need to add it to your PATH15:34
talxor ln -s installationdir/pycharm-professional /usr/bin/pycharm-professional15:34
talxsomething like that :P15:34
ELFrederichThe .desktop file has this.... Exec="/home/wwuh8r/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/203.7148.72/bin/pycharm.sh" %f15:34
ELFrederichso if I symlinked to that it'd break whenever it gets updated.  Seems to have a version number in the path15:35
ELFrederichwhat does the %f do in the Exec line?15:37
ioriaa single file name : https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables15:39
ioria^ ELFrederich15:39
ELFrederichSo 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 not15:41
barnexhello, 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:04
barnexor maybe set up something that will act before OOM and dump process list16:05
oerheksdmesg | grep -i kill16:05
oerheksgrep /var/log/kern.log* -ie kill16:05
barnexThank you oerheks16:06
oerheksthese are some examples. do you have a swap enabled?16:07
barnexno, I figured I'll be fine without swap probably maybe :(16:07
barnexExamples, but I think the output is telling. Seems it has killed barriers at total-vm 14334992kB which is some 15GB16:08
barnexquite a lot for a mouse sharing service :<16:08
barnexmaybe they already have solutions upstream16:09
oerheksbarnex, i would enable a swapfile, 2 gb, to prevent this and give the OOM some slack16:13
oerheks!swap16:13
ubottuswap 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 info16:13
leftyfbbarnex: why use barrier over synergy?16:14
=== thegodsq- is now known as thegodsquirrel
mordocleftyfb, I moved over because there were no discernible advantages in using Synergy compared to Barrier. Now if we could solve the Wayland problem...<grin>16:44
asenmHello, 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
DekkardInteresting thread.. just fired up gparted and ..standard ubuntu install has no swap partition????17:04
leftyfbasenm: maybe try #ubuntu-server17:05
oerheksDekkard, correct, a swapfile by default17:08
oerheks!swap17:08
leftyfbasenm: also, please don't crosspost17:10
leftyfbasenm: you posted in ##linux and waited 3 seconds before posting here17:11
asenm@leftyfb, okay17:12
=== 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
DJones5t18:24
quantumWhat dns server is systemd-resolved?  What package is it?18:38
quantumIt'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:39
KrausGood day! Are apt packages on Ubuntu maintained equally across all Ubuntu-based distros?18:40
ioriaquantum, have you checked /etc/systemd/resolved.conf ?18:40
leftyfbquantum: systemd-resolved is not a DNS server. It is for caching. What exactly are you trying to accomplish?18:41
quantumI need a DNS and dhcp server.  I guess I'll use dnsmasq.18:41
quantumSo -something- is doing my DNS.18:42
leftyfbquantum: use dnsmasq or bind9. resolved is not made for that purpose18:42
leftyfbquantum: resolved is for local DNS caching. It's not a DNS namserver service18:42
jaf1230I 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 a18:42
jaf1230message in agreement with that.  These things (except the printer) were working this morning.18:42
quantum-Something- is doing my DNS.18:42
quantumBut I am happy to switch to dnsmasq.18:43
leftyfbquantum: systemd-resolve --status|grep -i "dns servers"   # to find out what the ip is of your local nameserver18:43
quantumleftyfb: 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.118:45
leftyfbquantum: then your "LAN DNS server" should be configured to forward those requests out to the internet18:46
leftyfbquantum: 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
quantumThis is a firewall for an employee's home.18:47
quantumAn Odroid n2+ sbc.18:47
leftyfbquantum: 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 addresses18:48
quantumI 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.18:50
jaf1230It 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-generic19:00
jaf1230And 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 -4519:01
=== weltall2 is now known as weltall
=== sptz3 is now known as sptz
=== Net_ is now known as Net
=== xMopx- is now known as xMopx
KrausHow do things get added to apt repositories?19:25
jaf1230I 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:25
EriC^^!motu | Kraus19:31
ubottuKraus: 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/MOTU19:31
KrausHah! Love the name19:32
=== styledash7 is now known as styledash
=== djhankb0 is now known as djhankb
KrausSo I must travel to the realms of Eternia for an answer. Got it. :)19:32
=== Etua1 is now known as Etua
EriC^^Kraus: :)19:46
rdzhey all. is it since Firefox 86 that it shows normal window title bar?20:07
rdzi guess that tabs and title bar were the same before20:08
rdzcan we have that back?20:08
leftyfbrdz: if you're asking about features in Firefox, you should probably ask Mozilla.20:10
rdzleftyfb, right. but is sitll packed by ubuntu i believe20:11
rdzso i guess ubuntu integration is done by ubuntu team, thus i ask here20:11
leftyfbrdz: sure, but Ubuntu does not develop features in Firefox20:11
oerhekstitlebar is just a wast of space20:11
rdzleftyfb, i'm not sure if talk about a "feature"20:11
rdzi don't know what and why it has changed20:12
rdzand i agree with oerheks, it's a waste of space20:12
jaf1230I 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
rdzand I consider it a regression, since i believe there was no additional titlebar before20:12
oerheksabout:config, and look for browser.tabs20:14
oerheksbtw i see no titlebar20:14
rdzoerheks, ah ok.. thanks i'll check20:16
rdzoerheks, btw: are you using firefox 86 as well?20:16
oerheksno, it is hidden in Menu, Customize, left down corner > titlebar20:17
rdzoerheks, oh.. thanks a thousand times!20:18
oerhekshttps://imgur.com/gallery/TqJJXmk20:18
oerheksheve fun!20:19
rdzthat's such a relief20:19
rdzso i guess i enabled 'titlebar' by accident somehow20:19
=== JeremyD is now known as SleePy
oerheksmaybe, or the setting traveled from an earlier firefox20:19
davidv7hey guys is there a way to get a dropdown terminal on wayland GNOME?20:37
davidv7https://extensions.gnome.org/extension/1509/drop-down-terminal-x/ this never opens20:37
davidv7im on 20.0420:37
davidv7¸nvm pulled from github and it worked20:50
jaf1230I'm having issues with nvidia-drivers, when I modprobe nvidia it says "key was rejected by service" but dmesg shows secure boot is disabled21:07
jeremy31jaf1230: check in terminal>  mokutil --sb-state21:07
Bashing-omjaf1230: ^^ 2) might be good to know what dkms is up to: ' sudo dkms status ' .21:09
=== Elodin is now known as Guest973
=== Guest98919 is now known as MIF
apb196318.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:26
apb1963The only working phone I have right now is too old to make a hotspot.21:27
jeremy31apb1963: USB tether?21:27
apb1963jeremy31, hotspot... tether... more or less the same difference.  Phone is too old.21:29
apb1963Actually it will do the hotspot, but not the tether... hotspot doesn't help since the network card isn't available.21:29
jeremy31apb1963: what wifi card?21:29
TJ-apb1963: what device are you using right now?21:29
apb1963TJ-, 16.04 desktop21:30
apb1963jeremy31, hang on21:30
apb1963jeremy31, this package: rtl8821ce-dkms21:30
TJ-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:30
apb1963TJ-, Device is a desktop computer.21:31
apb1963TJ-, and yes, that is why.21:31
jeremy31apb1963: what kernel currently in use>  uname -r21:32
TJ-apb1963: apt-offline is a 240KB install, so you could transfer that easily from 'this' PC to the air-gapped PC :)21:32
apb1963TJ-, 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
TJ-apb1963: download from here (for 18.04) https://packages.ubuntu.com/bionic/all/apt-offline/download21:33
apb1963TJ-, that was actually among my first solutions... I just don't know how to go about doing it.21:33
apb1963TJ-, ok21:33
TJ-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 use21:34
jeremy31apb1963: you have a desktop computer with the rtl8821ce?21:35
apb1963TJ-, working on doing it now.  Thank you!21:37
apb1963jeremy31, No.21:37
jeremy31HP laptop?21:37
apb1963No21:37
apb1963Asus vivobook21:37
jaf1230mokutil --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, and21:37
jaf1230that doesn't seem to be helping either21:37
apb1963TJ-, I wonder... wouldn't it make more sense to just download & install the driver?21:40
jaf1230now I modprobe nvidia and get no such device21:40
jeremy31apb1963: The driver is compiled for a certain kernel and recompiled for a newer kernel21:41
jaf1230and Additional Drivers lists nvidia and noveau, but has selected and only allows selection of Continue using a manually installed driver21:41
apb1963jeremy31, wouldn't there be a matching driver for the kernel I'm using?21:41
jeremy31apb1963: post results from terminal for> uname -r21:42
Bashing-omjaf1230: 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
jeremy31I might have that kernel and be able to build one to make this easier21:42
apb19634.18.0-15-generic21:44
apb1963But 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
TJ-apb1963: that packages is available for bionic, from https://packages.ubuntu.com/bionic-updates/rtl8821ce-dkms21:45
apb1963TJ-, So just download and install with dpkg -i right?21:45
jeremy31apb1963: you would need to get dkms and its dependencies21:46
TJ-apb1963: yes... BUT it may require dependencies not currently installed for building modules)21:46
TJ-apb1963: if the air-gapped PC already has dkms installed it'd work21:46
apb1963It only has what's on the install stick.21:46
oerheksbuild-essentials too , i guess21:47
apb1963So whatever is up there for 18.04.2 is down here.21:47
TJ-apb1963: so you do need apt-offline's assistance21:47
apb1963TJ-, sounds like it.21:47
apb1963OK, let me do that.  Be a few minutes.  Thanks!21:47
jaf1230Bashing-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 any21:49
jaf1230available systems" even after running nvidia-xconfig21:49
apb1963Needs python3-magic21:53
Bashing-omjaf1230: Any hints in the log file ' /var/log/gpu-manager.log ' ?21:54
jaf1230noveau blacklisted, nvidia kernel module is available, (4x) Error : Failed to open /dev/dri, single card detected, nothing to do21:56
oerheksmaybe a bios setting? onboard/pci21:59
oerheksi just read back, what card exactly and what driver version?21:59
jaf1230oerheks: pci express, gtx 1650, and I've poked around the BIOS a few times without much changing22:00
jaf1230nvidia-driver-46022:01
jaf1230my 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 that22:02
DeaDSouLHi, how can I change the kernel parameters ? Which file to edit?22:02
oerhekssecure boot is supported, so i see no problems there22:03
jeremy31apb1963 download this https://usercontent.irccloud-cdn.com/file/8Tc8a380/rtl8821ce.ko22:03
oerheksDeaDSouL, see our wiki?22:04
oerhekshttps://wiki.ubuntu.com/Kernel/KernelBootParameters22:04
apb1963jeremy31, what is .ko?22:04
apb1963jeremy31, download why?  Then what?22:05
jeremy31apb1963: that is the driver, I think ko is kernel object22:05
apb1963jeremy31, is that the module I can then insmod?22:05
jeremy31apb1963: 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 -a22:06
jeremy31It should work after a reboot if Secure Boot is disabled22:07
apb1963jeremy31, I will try.  Thank you!  I actually downloaded the source yesterday, but then I realized there are no building tools.22:08
apb1963jeremy31, by the way... did you build that for me or was it just sitting there waiting to be found?22:09
jeremy31apb1963: after putting it on Desktop, you might be able to do in terminal> cd Desktop && sudo modprobe ./rtl8821ce.ko22:10
TJ-apb1963: you could build it on your 16.04 in an lxd container :)22:10
jeremy31apb1963: I just built it since I had a 18.04 install22:10
apb1963jeremy31, well thank you for that!22:11
apb1963jeremy31, much appreciated!22:12
=== Napsterbater is now known as Guest10728
=== Napsterbater_ is now known as Napsterbater
Bashing-om!cookies | jeremy3122:12
ubottujeremy31: Cookies are delicious delicacies.22:12
jeremy31!yum22:13
ubottuUh, don't you mean !apt ?22:13
apb1963TJ-, 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:13
jaf1230virtualbox?22:14
apb1963yeah I think that's it22:14
derpadminkvm is a nice option22:14
derpadminlxd is containers22:14
apb1963But... that remains to be seen as to how this process goes.22:14
apb1963I don't know the difference between a VM & a container.22:14
apb1963So many pies in the air.22:15
derpadmincontainer is a stripped down version of a vm, and will share some librairies to make it lightweight22:15
derpadminit comes bare22:15
apb1963Sounds similar to a chroot environment.22:15
TJ-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 user22:16
derpadminin some ways yes, but you can orchestrate them with an orchestrator, you can network them etc22:16
apb1963TJ-, It will take time for me to digest that sentence.22:17
jeremy31apb1963: me too22:17
apb1963I'm freaking out... now I need to hire the Philharmonic?  :D22:17
TJ-apb1963: similar to a chroot but the container has its own init system just like the host22:18
apb1963I'm going to bow out of this discussion... it's more than I can absorb right now.  I appreciate the help friends!22:18
jeremy31apb1963: If that driver I posted works, install rtl8821ce-dkms and update22:20
jaf1230I'm still fighting with nvidia drivers, unable to load info from any available system when I try to run nvidia-settings22:20
jaf1230my kernel version and vermagic on nvidia.ko match...22:21
Bashing-omjaf1230: Driver conflicts ? What all is presently installed ' dpkg -l | grep -i nvidia ' .22:22
hightower2Hey 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:23
jaf1230various 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:24
jaf1230Bashing-om: Last I saw, noveau was blacklisted22:25
Bashing-om!paste | jaf123022:25
ubottujaf1230: 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:25
jaf1230Bashing-om: paste.ubuntu.com/p/DWDCrHKR3Y22:26
apb1963jeremy31, 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:28
jeremy31apb1963: with any luck the driver should load with a reboot22:30
apb1963jeremy31, I will try.  brb22:30
apb1963How do I right click on a touchpad?22:31
apb1963I hate touchpads22:31
Bashing-omjaf1230: Link does not complete for me - try again ?22:32
jaf1230might be able to click with two fingers to right click22:32
jaf1230http://paste.ubuntu.com/p/DWDCrHKR3Y/22:32
apb1963jaf1230, thank you!22:32
Bashing-omjaf1230: Yup :D --- package manager in happy state and looks sane to me - what says the log file ?22:34
jaf1230Bashing-om: Which log file? -browses Xorg.0.log-22:35
jaf1230Ah, Xorg.0.log couldn't open module nvidia, module doesn't exist22:35
jaf1230despite the fact that I can successfully modprobe nvidia, and lsmod shows it22:36
Bashing-omjaf1230: /var/log/gpu-manager.log may be the more explicit.22:36
jaf1230https://paste.ubuntu.com/p/mM4cByF48m/22:37
apb1963Let the trumpets sound and a proclamation go forth upon the land...  it works!!!!22:38
jaf1230congrats apb196322:39
apb1963Thank you...  I couldn't have done it w/out all your guys & possibly gals and 25 other genders, help.22:39
Bashing-omjaf1230: 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
jeremy31apb1963: install updates and the rtl8821ce-dkms22:41
jaf1230uhh... now my cursor changes, but I can't click anything.22:42
jaf1230I can switch to a VT and back to X, but I still can't click.22:43
Bashing-om!sysrq | jaf123022:43
ubottujaf1230: 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_key22:43
apb1963jeremy31, Working on  "If that driver I posted works, install rtl8821ce-dkms and update"22:45
jaf1230Bashing-om: I only have 5.8.0-43 and 5.8.0-45.  Fresh install from today.22:46
apb1963jeremy31, Done.  I guess apt-get upgrade now.22:47
Bashing-omjaf1230: 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:47
jaf1230Bashing-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 support22:50
jaf1230linux-headers-5.4.0-67-generic, perhaps?22:52
Bashing-omjaf1230: 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:53
jaf1230Oh wow.  18.04, have you been banging your head on this for three years?22:54
apb1963Bashing-om, Dumb question... does /dev/dri exist?22:55
Bashing-omjaf1230: 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:58
jaf1230for me, /dev/dri does not exist22:59
jaf1230so you have 5.4 and no working nvidia?23:00
Bashing-omjaf1230: I have not tried to install the nvidia driver in 20.04. no.23:01
Bashing-omjaf1230: Lemme take a look at 18.04 - me thinks that /dev/dri is an nvidia thing.23:02
jeremy31Bashing-om: /dev/dri isn't just nvidia, I have it with an Intel graphics card23:04
Bashing-omjeremy31: jaf1230: Thanks - I have purged Nvidia on my 18.04 install and the file no longer exists.23:05
apb1963Bashing-om, and if you add nvidia back... does the file get created?23:10
Bashing-omapb1963: I do not recall of the top of my head.23:12
jaf1230On my system, I've uninstalled and reinstalled nvidia-drivers and don't have /dev/dri23:14
jaf1230And I'm thinking that copying those files from my gentoo system is probably a *really* bad idea23:14
Bashing-omHarlin: However, the gpu log file certainly reflects that the installer is looking for it :(23:15
apb1963And 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:15
apb1963For example, maybe it's trying to open it because something else failed first.23:16
apb1963And maybe fixing that first thing would make /dev/dri access no longer needed.  I don't know, just brainstorming.23:16
HarlinBashing-om, ok man23:17
HarlinBashing-om, not sure why you called me but I'm sure you got your reasons ;)23:17
Bashing-omHarlin: No - just not paying good attention to what I am doing :( Sorry for the bad highlight :D23:21
HarlinBashing-om, no worries mate :-)23:21
Bashing-omjaf1230: Found one instance where the boot parameter "nomodeset" can cause this result. Any additional boot options enabled at this time ?23:22
jaf1230apb1963 /dev/dri is supposed to be a folder.  Not sure why it's not there, though23:22
jeremy31dri= direct rendering infrastructure23:23
apb1963jaf1230, 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:23
jaf1230Bashing-om It looks like I do not have nomodeset23:24
apb1963It's also why I like to use ls -F   That way you can tell if it's a file or not.23:25
apb1963jeremy31, thank you for that.  Good to know.23:25
apb1963jeremy31, 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:29
apb1963Actually... one more idea... look at the installation sequence step by step and determine why it's trying to open that path.23:31
jeremy31apb1963: that /dev/dri is likely created by the driver23:31
apb1963jeremy31, At what point in time?23:31
jeremy31apb1963: likely at boot time but I am a wifi expert, not video23:32
apb1963jeremy31, And, why wasn't it successful?  Or was it, and somehow it got deleted?23:32
apb1963jeremy31, I'm not an expert of any kind any more :)23:32
apb1963I just need a working laptop so I can make a presentation and that show is ready to go... well the laptop part anyway. :D23:34
apb1963Thanks to this channel23:35
apb1963So now I have to do the "easy" part.  Best of luck jeremy31 !23:35

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!