/srv/irclogs.ubuntu.com/2022/06/20/#ubuntu.txt

=== Disconsented is now known as MrBones
WeeBeyHi! GTK has patch that I would love to get... and I'm wondering if it's possible to install  gtk-4.6.4 somehow? There are no packages available yet (in the proposed channel)00:32
jhutchinsWeeBey: Well, you could pull it directly from the source.00:37
oerheksfor Kinetic it is; https://launchpad.net/ubuntu/+source/gtk4/4.6.5+ds-1ubuntu100:37
WeeBeyoerheks, yeah, I saw that!00:37
WeeBeyI have 22.04... I just want to get rid of a bug present here that was patched about a month ago.00:38
eax_@darshan: were you able to fix your graphics card issue?00:41
WeeBeyugh. I'll make a VM and see if installing from source breaks things. I just want to get rid of this stupid GTK bug on Xorg.00:45
WeeBeyjhutchins, I missed your reply somehow. I think I'm tired.00:46
WeeBeyDo you think I could just get that package? Or do I need to also install the other ones too from source.00:47
oerheksbuild from git? https://code.launchpad.net/~git-ubuntu-import/ubuntu/+source/gtk4/+git/gtk400:50
WeeBeyoerheks, oh cool00:55
WeeBeythank oyu.00:55
=== MrBones is now known as Disconsented
WeeBeywhoa, what is this meson thing?01:02
WeeBeyis it resolving dependencies for source code?01:02
jhutchinsWeeBey: This would be a good time to think about how you're going to do backups.01:22
WeeBeyjhutchins, :-)01:22
WeeBeyI'm trying it on a VM01:22
WeeBeyFresh uubuntu 22.04--with the bug right out of the box and everything.01:22
WeeBeyugh, it's just complaining about a mountain of deps.01:25
* WeeBey dies01:25
Brian666Did you know Ubuntu is 11% quicker than Windows 10?01:27
WeeBeyok. This is too complicated. I don't have the time or bandwidth to fix this bug.  THank you frens.01:29
=== LabMunkeh is now known as Mechanismus
* cryptored hi all grandpa here , how are you all ... . ?01:48
descentwell could be better01:49
descentbut ok01:49
EMRHey, anyone try out an EGPU setup?03:00
EMRI happened to have most of the hardware laying around so I wired one up03:00
EMRMy goals aren't lofty, I just want to get this old laptop to be able to run newer OpenGL or Vulcan03:00
EMRI got the connector and everything, but I get no output03:01
EMRlspci -k shows what I think is the correct card03:01
EMRThe fan spins and everything... but no dice. I guess I could try a different power supply connection, maybe I will tomorrow03:02
EMRmost of the tutorials seem to be for thunderbolt, but I did a PCI-Express connection03:02
EMRRetrying with a PSU instead of a laptop cable, wish me luck03:06
=== Furor is now known as Colere
cryptoredguys i found out this free nice book enjoy ... . https://drive.google.com/file/d/1NfIrfLQS0xjXjYQK52FbkYrpaRjWyXtz/view ... .04:11
esmaeelE[m]Hi there, I want to patch ubiquity but my debdiff contains non related lines.... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/4b0909f2084494578822b1a1032fc11faff09ebb)04:51
esmaeelE[m]s/`-/`d-/, s///04:52
esmaeelE[m]s/`-/`d-/, s/a/an/, s///04:52
=== smdthx_ is now known as smdthx
=== `draq` is now known as draq
=== mort5 is now known as mort
=== Kilroy- is now known as Kilroy
=== toolz is now known as Daniel
=== ravage_ is now known as ravage
=== Vercas5 is now known as Vercas
stevenm_Is there anyway that if the screensaver has been on for (e.g.) 10 mins (however it got turned on, by timer or because I locked the screen)... that it will then command the monitors to go to sleep/power-save?06:43
arraybolt3[m]esmaeelE: The folks in #ubuntu-devel:libera.chat should be able to help with that.06:47
route-beequick question ladies07:00
route-beeis there a ebook reader that does text to speech07:00
route-beesome out of the box solution07:01
route-beeand if not what will I have to do to get my computer to read epub books to me?07:01
Maiknot sure there is, however there's ebook-speaker07:02
Maikit's in the repo's07:02
route-beei'll look for it now07:02
route-beethanks for that07:03
Maikno problem, you're welcome07:04
routebee_that is a rocking little application Maik07:16
routebee_thanks again07:16
routebee_the voice is stink though i have to say07:18
Maikroutebee_: i don't use it myself but came across it on Google. :) And you're welcome. I hope it works as should07:19
alocerHello, Is there a place for landscape questions? It's really slow. :(08:03
arraybolt3[m]alocer: Given that Landscape is a tool for managing Ubuntu Servers (I believe), the #ubuntu-server chat may be what you're looking for.08:25
arraybolt3[m]EMR, EMR-2: What video card are you using? Something like "nVidia 1050 Ti" is the details I'm looking for.08:31
=== michele- is now known as michele
=== squircle1 is now known as squircle
ASCHi! Curios. What is account "proxy" for? Which is "proxy:x:13:13:proxy:/bin:/usr/sbin/nologin" in /etc/passwd09:05
ASCBy what a software/package is it used?09:05
ravageASC: zcat /usr/share/doc/base-passwd/users-and-groups.txt.gz |grep proxy09:24
_________ravage: zgrep also exists ;)09:25
ravageaffirmative09:27
lowinHello, I have a freshly installed ubuntu server 22.04, I setup sshd to accept root password login. But when I try to login via internet it doesn't accept password. log reads " Failed password for root from x.x.x.x ..."09:32
lowinBut I can ssh just fine through the local network09:32
lowinIs there some additional security checks that I need to pass?09:32
ravagefirst of all that is a bad idea. second: what excatly did you change so far?09:33
lowinOnly the PermitRootLogin option to allow root login09:33
ravageand did you actually set a root password?09:33
lowinI should probably say that the system is behind nat and there is a port forwarded to ssh09:33
lowinyes, I can ssh fine if I use internal ip address09:33
ravagethen you are maybe just connecting to the wrong destination09:34
lowinBut I know the port is properly forwarded because the failed login attempts produce logs in journalctl09:34
ravagecheck on the system if you see your connection attempt.09:34
arraybolt3[m]lowin: Can you ssh to a non-root account from the Internet?09:34
lowinI'll try09:34
lowinarraybolt3[m], Yup, other user worked09:37
lowinand now root works magically as well09:37
arraybolt3[m]lowin: LOL don't you just hate it when that happens09:38
lowinNot sure what the problem was, but I really wouldn't want to be locked out in the future09:39
arraybolt3[m]lowin: Hmm. Are you able to freely do stuff like reboot, power down, and power on the server?09:39
lowinyes09:39
arraybolt3[m]lowin: If so, I'd reboot the server, then try to ssh into a normal user from the Internet. If that reliably works, then just give that user full sudoers permission and pretend like the root account doesn't exist - you can just elevate to root with "sudo su -" or prefix commands with "sudo" to do stuff as root. I'd also disable the root password if this is a viable solution.09:40
lowinThat works as well09:41
lowinbut it's just and extra unnecessary step tbh09:41
lowinan*09:41
alkisgWhy not use ssh keys instead of a password? That way you don't need any sshd_config modifications...09:42
lowinI do plan on using keys, password is supposed to be the fallback09:43
arraybolt3[m]lowin: Well, that's odd. I'm not sure why it's not letting root work. I guess I'll let other people who know more than me troubleshoot that part.09:46
lowinThe only thing I can think of is the port forwarding creating some sort of conflict. but it did start working immediately after I tried a non-root user. So not sure if it was related to that or not09:47
lowinor maybe some configuration file was corrupt that got fixed when I created a user09:47
arraybolt3[m]I do know that Ubuntu isn't designed to use a root account, instead relying on sudo for gaining privileges. So maybe something about Ubuntu's design is throwing a wrench in the works of using the root account? 🤷‍♂️09:48
arraybolt3[m]lowin: What you could do is enable passwordless sudo on the user account you log in with - that will make "sudo <whatever" and "sudo su -" just work, rather than requiring a password. That at least shortens the unnecessary step, and as long as you keep your SSH key save and have a very strong password, it shouldn't be a problem from a security standpoint.09:49
arraybolt3[m]s/save/safe09:50
gordonjcplowin: don't set up a root password09:54
gordonjcplowin: you don't need it and it's obsolete09:54
=== stevenm_ is now known as Lantizia_
gordonjcpI actually don't know why modern Linuxes don't just nuke the root partition if it sees a "usable" root login set10:00
gordonjcphaving a root password is a good indicator that all is not well10:00
arraybolt3[m]gordonjcp: Pretty sure you meant "root password", not "root partition" - nuking the root partition would be SO BAD.10:01
gordonjcparraybolt3[m]: nope10:03
gordonjcparraybolt3[m]: I mean zero out the root disk10:03
lowingordonjcp, there is no benefit of using a second account to gain root access vs using root directly. at best you are going to say that an adversary has to guess the username in addition to the password. which is not much different than a longer password10:04
gordonjcplowin: no, there are a lot of advantages10:10
gordonjcplowin: you can do role-based access control, to an extent10:11
lowinyou can do that, but nobody does10:11
gordonjcplowin: you basically should never need to run stuff as root, or at least from a root shell10:11
gordonjcpif you do, you're doing it wrong10:11
lowinat least not when there is only one real user using the system10:11
gordonjcpfor things that must be run as root we have sudo, and switching users with sudo is logged10:12
lowinlogging in as root is also logged, but again it doesn't matter when there is only one human using the system10:13
lowinroot account is used when you are configuring the system10:13
gordonjcpyou can (and should) do that with sudo10:13
lowinI don't like typing sudo before every single command when there is no need for it10:13
gordonjcp<shrug>10:14
gordonjcpthen don't follow industry best practices, I guess10:14
gordonjcpI haven't had a Linux machine with a root password for longer than I care to contemplate10:15
arraybolt3[m]lowin: Cool trick, if you run "sudo su -", you can elevate to a root shell and then do whatever without needing to keep typing sudo.10:15
gordonjcpit's a bit harder to arrange with *BSD or Solaris10:15
lowinarraybolt3[m], and how is that any different than logging as root?10:15
arraybolt3[m]lowin: It's not. It's just a cool trick for if you end up facing a system with no possible root login.10:16
arraybolt3[m]Personally, I think "root" or "no root" is a matter of preference - Ubuntu goes without it, Fedora and Arch Linux use it, you like it, gordonjcp doesn't, and I don't particularly care.10:16
lowinI wouldn't call it a "trick", I use it every day when I open a shell on my desktop. but I still count that as logging in as root10:17
arraybolt3[m](As in, I don't particularly care whether my system enables the root account or not, sorry if someone took my last message wrong.)10:17
* cryptored hey yah all , haha guys https://www.youtube.com/watch?v=csj4RoNsn-w :) Donald Duck 10:34
* cryptored hey yah all sorry for ame i am back i am bored , what you guys up to ?10:35
=== stw__ is now known as stw
jadenlianfor the last few days when i check my opened ports theres this vino-server thats been running and checking on google i see that its a remote access server and as far as i know i never enabled it and im not sure if its from the irc or weechat since i just recently started using it or if its something i should have a better look at12:13
BluesKajHi all12:14
arraybolt3[m]jadenlian: Vino comes with Ubuntu by default, though I'm not sure if it's enabled by default. Do you share your computer with other people?12:16
arraybolt3[m]jadenlian: Installing an IRC client should not have enabled Vino. So while Vino itself isn't worrisome, the fact that it's enabled might be weird.12:16
jadenlianarraybolt3[m]:it just started popping up when check for opened ports before it was not there12:17
jadenlianand constantly check my ports12:18
arraybolt3[m]jadenlian: This link should help you to see whether Vino is actually enabled or not: https://help.ubuntu.com/community/VNC/Servers12:18
arraybolt3[m]But the fact that it's on suggests that it's enabled.12:18
arraybolt3[m]And the fact that it's enabled without your knowledge is wrong.12:19
jadenlianarraybolt3[m]: im trying to get the name of the service to disable it from starting on boot12:20
arraybolt3[m]jadenlian: Maybe "systemctl --user disable vino-server && systemctl --user stop vino-server && systemctl --user mask vino-server". That should stop it and keep it that way. But unless you know *who* messed with your system, and exactly *what* they did, they may have done further damage.12:22
arraybolt3[m]jadenlian: Have you been installing software from only just the apt package manager and Snap store?12:22
jsmooth_This my sound like a dumb question, but how possible is it for someone to use standard remote access (via router network) to access a system and "unshadow" a password?12:23
arraybolt3[m]jadenlian: Who else would potentially be around to tamper with your system?12:23
jadenliannobody touches my pc12:23
arraybolt3[m]jsmooth_: Depends on whether they know the password or not. It should be impossible to snag the /etc/shadow file or tamper with passwords unless you already know the password.12:24
jadenlianand most of the time just get pkgs from apt12:24
arraybolt3[m]jadenlian: Where do you get the software the rest of the time? It only takes one bad software package to wreck a system.12:25
arraybolt3[m]jadenlian: This might seem like I'm overreacting, but weird stuff like this can escalate to catastrophic events if things are as bad as they could be. If I were you, I'd immediately boot from a live USB, change all my passwords for all my accounts, back up my personal files onto an external drive, and reinstall Ubuntu from scratch.12:26
jadenlianwhen i get something else its not a specific place but for example  virtualbox from their site12:26
jsmooth_arraybolt3: Okay, that's what I was wondering.12:26
jadenlianos imgs from their sites12:26
jadenlianstuff like that12:26
arraybolt3[m]jadenlian: That makes sense. But something's gone awry. Let me see if there's some logical explanation for this.12:27
jadenliani think theres something wierd theres this other port with something called rygel12:28
arraybolt3[m]jadenlian: You're sure you didn't do anything along the lines of trying to remote control your PC from your phone, another PC, or something?12:28
jsmooth_Also, this is a repost, but I installed Ubuntu with EUFI mode, but no boot entry is available, machine boots directly to Windows. Machine has DualBIOS, and that boot menu only lets me select physical drives, so I cannot select between partitions.12:28
jadenlianusually theres  no ports opened but cups and systemd12:28
arraybolt3[m]Rygel is a home media solution (UPnP AV MediaServer) that allows you to easily share audio, video and pictures to other devices.12:28
arraybolt3[m]jadenlian: Do you remember installing anything like that, or anything that might have pulled that in as a dependency?12:29
jadenlianarraybolt3[m]:no  the only time i access my pc through my phone is ssh12:30
arraybolt3[m]jadenlian: To me, this is beyond creepy. Under no circumstances should a REMOTE DESKTOP application of all things become enabled without your knowledge or consent. That is wrong on so many different levels. As for what exactly happened, I can only guess, but to me, this sounds like a security breach.12:35
jadenlianwhen i try to disable vino-server with systemctl i try differetn variants of the name but it does not find it12:35
jadenliansystemctl list-units --type service  and i list services and its not there12:35
arraybolt3[m]jadenlian: What happens if you kill vino-server from the system monitor?12:37
arraybolt3[m]jadenlian: Can you open a terminal and run "ps -a | nc termbin.com 9999"? This will spit out a URL, send it in the chat. This will tell me all the running processes on your system, and potentially help me to identify suspicious ones.12:39
jadenlianok12:39
sruklewoah12:40
jadenlianhttps://termbin.com/z62u12:41
arraybolt3[m]Agh, can you re-run that, but "ps -A | nc termbin.com 9999"? I forgot to capitalize the A.12:41
jadenlianhttps://termbin.com/8fob12:43
srukletoday i learned what tracker-miner-f is12:45
sruklelooks clean to me12:45
ioriaunless it's db grows12:46
arraybolt3[m]Other than a lot of "bash", a single "sudo", and that rygel thing you were talking about, I don't see anything suspicious, and if you're a serious terminal user like I am, that would explain the bash and probably the sudo.12:47
gpkumarfound this very good program - https://github.com/MichaelMure/mdr12:47
srukleif you're weirded out, reinstall should ease your mind, but this reminds me when I found an unknown user, and it was actually a version of Debian opening a process from the shell in a special way12:47
arraybolt3[m]srukle: Yeah, sometimes computers do weird things. But Vino remote desktop isn't enabled by default, so if it became enabled and is now doing network traffic in the background... without consent... that's creepy.12:48
jadenliani really dont want to reinstall ill try to disable vino12:48
jadenlianbecause i didnt enabled it12:49
sruklearraybolt3[m], yeah, if I found it, I would do some serious digging, but not much i can advise here. disabling vino sounds like a solid solution12:49
arraybolt3[m]jadenlian: https://help.ubuntu.com/community/VNC/Servers This may help you disable it.12:49
jadenlianbut its wierd that its not listed under systemctl12:49
sruklejadenlian, can you check your router logs?12:50
arraybolt3[m]Agreed. Everything I find says that it's called "vino-server", and has stuff like "systemctl --user start vino-server" to get it up and running.12:50
jadenlianand the process i killed its a single process usr/lib/vino12:50
srukleThat doesn't exist on my Ubuntu system.12:51
jadenlianill just delete it12:51
arraybolt3[m]jadenlian: WAIT.12:51
jadenlianand restart the pc12:51
jadenlianok12:51
arraybolt3[m]jadenlian: Do "sudo apt purge vino".12:51
jadenlianok12:52
srukleboy that was an immediate wait message12:53
arraybolt3[m]srukle: LOL sorry. Just trying to avoid an accidental system butchering.12:53
srukleimpressive timing, arraybolt3[m]12:53
jadenlianits actually telling me that will free 414 kb   but its specifying location or names12:54
jadenliancontinue\12:54
jadenlian?12:54
arraybolt3[m]jadenlian: Can you copypaste the exact message it's giving you?12:54
arraybolt3[m]Paste it into Pastebin.com and send the link.12:54
jadenlianroot@joan:/usr/lib/vino# apt-get purge vino12:55
jadenlianReading package lists... Done12:55
jadenlianBuilding dependency tree12:55
jadenlianReading state information... Done12:55
jadenlianThe following packages will be REMOVED:12:55
jadenlian  vino*12:55
Apachezoh god...12:56
arraybolt3[m]Oh no. You're probably going to get muted by the Drone bot. Paste into Pastebin.com, create a new paste, and send the link.12:56
sruklelooks like joan was muted, sorry joan12:56
arraybolt3[m]But you may be unable to talk for 60 seconds now. When it unmutes you, send the link.12:56
sruklei gtg, will catch up on what you all find later, interested to learn more12:58
arraybolt3[m]jadenlian: Are you unmuted yet?12:58
jadenlianhttps://pastebin.com/7zAmvvAf13:00
jadenliancheck if did it right   my first time doing it13:00
arraybolt3[m]jadenlian: Looks good to me.13:00
jadenlianshould i proceed with purge13:01
arraybolt3[m]I believe so. Everything looks right.13:02
jadenlianif gdb runs the program  does it means that is written in c or gdb can read other programs13:03
jadenlianother langs13:03
skwndgdb read elf files and corresponding debug info13:04
arraybolt3[m]I dunno. GDB is a debugger, but... looks like skwnd knows more about it than I do.13:04
skwndit doesn't matter how that file was created13:04
skwndit can demangle c++ funtion names though13:05
jadenlianso i can use gdb to debugg python13:06
jadenliani purged it13:06
jadenlianand its not there any more13:06
arraybolt3[m]jadenlian: I don't think GDB is good for python, it's for low-level stuff, not scripting languages AFAIK.13:06
arraybolt3[m]jadenlian: Unless you've been intentionally using it, you probably didn't need it, and if you do need it in the future, it's easy enough to put it back.13:07
jadenlianyea13:07
jadenliani now i have to see wtf with this other one13:07
arraybolt3[m]jadenlian: Now might be a good time to make a backup before your system either gets damaged or you accidentally damage it trying to clean it.13:08
jadenlianyes actually i backed up everything earlier13:09
* cryptored sorry wrong button , archive website all kids , https://gist.github.com/mullnerz/9fff80593d6b442d5c1b13:09
arraybolt3[m]👍13:10
jadenlianthanks guys13:10
arraybolt3[m]cryptored: I hate to say this, but this is the Ubuntu tech support channel, and while the links you're sharing may be cool, they're also a tad bit disruptive at the moment.13:12
blomberghow do i find my gtk version it says update to higher version 3.24 an vpn app says13:14
lotuspsychjeblomberg: apt policy yourpackage13:15
blombergi wish to use the vpn app but i have old 18.0413:15
cryptoredah i see ? so wget is not ubuntu ?13:15
skwndapt policy libgtk-3-013:15
cryptored:)13:15
cryptoredi see you must be a great coder of kernel than right righttttttttttt13:16
cryptored:)13:16
gpkumar🤔13:16
leftyfbcryptored: do you have a support question?13:16
lotuspsychjecryptored: please dont disturb the channel with offtopic, as arraybolt3[m] already stated13:16
leftyfbcryptored: feel free to chat about ubuntu in #ubuntu-offtopic13:16
blombergok i have 3.22 but protonvpn app says i need 3.24 or else install 20.04 lts13:17
leftyfbblomberg: what version of ubuntu are you running?13:17
cryptorednah not really comrade13:17
blombergcan i make that particular app use that particular version or what? i told several times old 18.0413:17
cryptoredjust to post that something cool to archive repo13:17
leftyfbcryptored: #ubuntu-offtopic would be the better place for such things13:18
leftyfbblomberg: not likely13:18
blombergleftyfb: ?13:18
cryptoredhmm what version actually you guys using13:18
cryptored16.04 LTS is not even out of support yet comrade13:19
leftyfbblomberg: you'll need to contact the app vendor for support with their app13:19
cryptoredis still produced for 32 bits even13:19
leftyfbcryptored: 16.04 is only under paid support13:19
leftyfbnot here13:19
cryptoredi see comrade13:19
blombergit's not their fault protonvpn uses newer gtk13:19
cryptoredhmm but i found that asshole [ 0day (xc) Our ] is selling it for free man13:19
arraybolt3[m]Sorry, cryptored.13:20
arraybolt3[m]!ops13:20
ubottuHelp! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant13:20
The-CompilerFYI they are doing the same stuff in #python too, just banned them there13:20
blombergcan't i just install a newer version of gtk and make that app use it13:20
blombergso  that deps don't break13:20
leftyfbblomberg: no13:20
blombergok gotcha13:20
leftyfbNot in any way that is supported anyway13:21
blombergcan i upgrade to 20.04 without installing it separately just apt full-upgrade , is it the same as 20.04 gtk versions13:22
blombergis full upgrade cool?13:22
leftyfbapt full-upgrade does not upgrade to the next release13:22
leftyfb!ltsupgrade | blomberg13:22
ubottublomberg: Regular upgrades from the last but one LTS release to the latest LTS release, 22.04 "Jammy Jellyfish", are enabled days or weeks after 22.04.1 is released. This delay helps to ensure that any lingering issues are resolved before people upgrade production systems. If you'd prefer to upgrade now, use sudo do-release-upgrade -d13:22
blomberghttps://pastebin.com/RJekrUam leftyfb13:27
blombergThere is no development version of an LTS available. ??13:27
arraybolt3[m]blomberg: Try doing "sudo apt update && sudo apt full-upgrade" first, then the do-release-upgrade -d. Oh, and back up your files first, Ubuntu version upgrades have a tendency to go wrong.13:28
leftyfbblomberg: reomve -d13:28
blombergPlease install all available updates for your release before upgrading. i just updated yesterday but will try once more and see13:29
blomberglemme reboot13:30
blombergworked13:33
leftyfbwhat worked?13:33
blomberg=== Command terminated with exit status 1 (Mon Jun 20 19:04:31 2022) ===13:35
blombergpress x to destroy or r to resurrect window13:35
leftyfb!paste | blomberg13:35
ubottublomberg: 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.13:35
blombergoh not free space heck13:35
leftyfbblomberg: please explain what exactly you ran and pastebin the entire error13:35
blomberghttps://pastebin.com/F1yygJdp13:37
arraybolt3[m]blomberg: Do you have separate / (root) and /boot partitions?13:37
blombergAfter this operation, 2,433 MB disk space will be freed.13:38
arraybolt3[m]blomberg: WAIT!13:38
blombergarraybolt3[m]: yes it's encrypted13:38
arraybolt3[m]blomberg: That's a bit distressing that it's going to free that much data. Can you pastebin what all it's going to remove?13:38
blombergarraybolt3[m]: https://pastebin.com/1yTaXwiu13:41
arraybolt3[m]OK, looks safe.13:42
blombergit's taking a lot of time13:43
blombergoh no https://pastebin.com/Wz3wWtQQ13:44
blombergi guess downloading the iso is quicker13:44
leftyfbblomberg: are you on a 1MB/s DSL ?13:45
arraybolt3[m]blomberg: Doubtful that your Internet is that slow.13:45
leftyfbdownloading the iso will not be quicker13:45
arraybolt3[m]And if it is quicker than the figures it's showing, you're using something faster than 1Mbit DSL.13:46
blombergiso 3.4GB13:46
arraybolt3[m]I mean, 2 MBit is almost too slow to browse the Web with, so if your Web browsing is good, the download should be just fine.13:47
ravageand the iso will not to any upgrade. you have to reinstall13:47
arraybolt3[m]blomberg: https://www.google.com/search?q=internet+speed+test13:47
blombergyay it says 5min13:47
leftyfbblomberg: also, make sure you remove any PPA's you have installed along with the packages you installed from them13:48
arraybolt3[m]blomberg: That will tell you how fast your Internet actually is.13:48
blomberg10MB/s i guess their servers are good and fast13:48
arraybolt3[m]blomberg: If you're still downloading, you may want to stop the command if you've installed any PPAs before.13:48
blombergarraybolt3[m]: but even then most servers like archlinux don't use CDN and slow13:48
blombergi did install ppas13:48
arraybolt3[m]blomberg: Hit Ctrl+C in the terminal. Now.13:49
arraybolt3[m]Before it finishes downloading.13:49
leftyfbblomberg: also make sure to do a backup of your entire system. Good luck13:49
arraybolt3[m]leftyfb: Actually, it looks like they've fixed the problem that requires you to remove PPAs before upgrading, and the upgrader wouldn't have let the upgrade proceed if they had been a problem.13:51
blombergarraybolt3[m]: i would let it crash then instead of ctrl+c13:51
blombergi am like a drunken pilot now13:51
blomberg.....too late13:52
blombergthis shows how terrible ubuntu is13:52
arraybolt3[m]blomberg: Well, hopefully it will work. If something goes awry, we can try to fix it.13:52
ravagethis show how little you prepared for a major system upgrade13:53
ravagedont blame poor Ubuntu for it13:53
arraybolt3[m]blomberg: Really, the OS upgrade process is the single weakest link in pretty much any operating system. I have yet to see an OS that can reliably, seemlessly, ALWAYS pull off a good OS update. It's just hit and miss. Windows, Ubuntu, Arch Linux...13:54
blombergGenerating locales (this might take a while)... why it takes so long just for locales?? is there any processing involved?13:54
oehmanä13:54
blombergor maybe bash is slow?13:55
ravagejsut wait13:55
oehmanso now i'm able to speak again :D13:55
blombergi am sorry for asking too many questions13:55
oehmanwhat happend to the free word so to say :D13:56
oehmanhaha13:56
arraybolt3[m]blomberg: Oh it's fine. Don't worry about it.13:56
Maikoehman: please stop it13:56
ravageoehman, do you have an Ubuntu support question?13:56
oehmannope13:56
arraybolt3[m]oehman: Not sure what happened, but please, we're in the middle of a support session. If you want off-topic chat, there's #ubuntu-offtopic, or you could take a look at Reddit.13:56
ravage!ot | oehman13:56
ubottuoehman: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!13:56
oehmanwrong channel i'm so sorry13:57
oehmanchangning13:57
arraybolt3[m]oehman: No problem.13:57
blombergubuntu's unpacking is so slooow13:57
ravageblomberg, we really dont need live reporting from your terminal. just wait. ask in case of any errors13:58
Eusebushello14:03
blombergthere was a distro where each pkg has it's own /etc /usr dir instead of pkges content in libraries so it orders by pkg14:03
blombergit was nice but forgot its' name14:03
leftyfbblomberg: snap does something similar14:03
arraybolt3[m]blomberg: I think you mean GoboLinux?14:04
blombergahh yes arraybolt3[m] thx14:04
blombergi gotta try that in VM14:04
chanhi14:37
=== aaguhagegaooeg is now known as westor
=== westor is now known as Guest9039
=== Guest9039 is now known as westor
=== Polo is now known as Guest8065
=== pah is now known as pa
gildartsIs there a good beginners guide to packaging? Am using a piece of software that isn't currently packaged and was interested in attempting to package it. At least if it isn't terribly difficult to get started.16:10
arraybolt3[m]gildarts: https://packaging.ubuntu.com/html/ This guide may be helpful.16:13
arraybolt3[m]Not sure how beginner-friendly it is, though - packaging is pretty advanced.16:13
arraybolt3[m]gildarts: If your software is built from source, you may be able to use checkinstall to package it and install it into your system for you, in a way that's easy to undo later.16:13
gildartsI'll take a look, thanks! I know someone who does packaging now but didn't want to bug them if I could just read up on it. So I have someone I can ask questions.16:14
=== LabMonkey is now known as Mechanismus
Guest5157How do I log changes to the nftables? Specifically, log when tables are added or removed16:57
=== vxwarlock is now known as vx_numberone
jpmhI know that when the contents of a file are VERY small they are stored in the inode and not a separate disk area.  What is the size at which the switch happens?17:10
rfmjpmh https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Inline_Data_2 says 60 bytes if the inline data feature is enabled.  If I'm reading tune2fs -l right, the feature is not enabled on my 20.04 system..17:53
jpmhrfm: TY so much - I'll read that17:53
jpmhsomehow we must have it enabled since we have hundreds of thousands of tiny files and almost no space used17:54
zitathello. i'm having issues setting up a systemd user timer on 20.04. it doesn't activate on system startup. here's the setup http://paste.debian.net/1244672/ any ideas?18:05
leftyfbzitat: cat /etc/os-release | nc termbin.com 999918:06
zitatleftyfb: https://termbin.com/hfwd18:07
=== zitat29 is now known as zitat
bodicceaAre there any information on # (or %) of people refusing snaps (I am thinking about Chromium/Firefox especially).18:49
jhutchinsbodiccea: Not unless you collected it.18:50
bodiccea:-)18:53
oerheksCollect them linux-wide, snap, flatpak..18:53
bodicceaI don't care flatpak, only Ubuntu direction on snaps. Anyway, this is just curiosity to know how many users may disagree this direction. Forget about it.18:55
=== zitat8 is now known as zitat
oerheksWell, point is; find maintainers for chromium, it is a dependencie-hell18:58
cluelessperson:/   ubuntu's DE environment crashes sometimes19:02
cluelesspersonand ubuntu's crashing all my applications often19:03
cluelesspersonon latest LTS19:03
leftyfbcluelessperson: what version of ubuntu? fresh install or upgraded from a previous release? What DE? What video chipset?19:03
cluelesspersonfresh install, default DE,  Lenovo Thinkpad X1 Yoga 4th Gen19:04
cluelesspersonUbuntu 22.04 LTS, Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz19:05
leftyfbcluelessperson: ( cat /etc/os-release ; echo $XDG_SESSION_TYPE ; echo $XDG_CURRENT_DESKTOP ; lspci |grep -i vga ) | nc termbin.com 999919:05
leftyfbcluelessperson: ?19:10
oerheksif this happens randomly; do a memtest86 run19:12
=== realivanjx9 is now known as realivanjx
cluelesspersonleftyfb,  https://termbin.com/ejb119:13
leftyfbcluelessperson: disable wayland19:13
cluelesspersonleftyfb, what do you think the issue is?19:13
leftyfbcluelessperson: I don't, process of elimination19:14
cluelesspersonah.19:14
cluelesspersonleftyfb, I need to run up to the grocery store.  I should be back shortly19:14
jhutchinscluelessperson: What specific applications are crashing? (Please don't say "all of them", list them.)19:14
leftyfbcluelessperson: also, did you ever sort out the random I/O errors you were getting 2 months ago on the same version of ubuntu?19:14
leftyfbif this is the same machine, then we're back to this being a possible hardware issue which should be addressed first19:15
cluelesspersonjhutchins, Sometimes, all of them.   Tilda, firefox, hexchat, pycharm, discord, file explorer.19:16
cluelesspersonleftyfb, I don't recall a random i/o error19:16
cluelesspersonbut yes same machine19:16
leftyfbyou were complaining about slow read time and mentioned "io errors" but looking back, it was just your perception and not actual error messages19:18
cluelesspersonI recall something being extremely slow to read but don't recall what19:19
=== fling_ is now known as fling
=== bceverly_ is now known as bceverly
jhutchinscluelessperson: Is there something that's allways running when the crash happens?19:34
=== squircle1 is now known as squircle
=== tofran552 is now known as tofran55
=== javaJake_ is now known as javaJake
=== Starmina3 is now known as Starmina
=== matsaman_ is now known as matsaman
=== ledeni_ is now known as ledeni
cluelesspersonjhutchins, unclear19:54
cluelesspersonhard to say, maybe firefox19:54
cluelesspersonI've noticed it happens more when youtubing19:54
cluelesspersonthe entire DE crashed it seems19:54
cluelesspersonI was at login screen when I came back from groceries19:55
cluelesspersonOh that's nice, while typing the update annoyance popped up and it entered.19:55
alch3misthey, has anyone by any chance use ubuntu on an intel NUC? I have a nuc7i5bnk and recently my performance is very sluggish, any recommendations?20:10
cluelesspersonalch3mist, depends on what you mean by sluggish20:11
alch3mist@cluelessperson, performance wise, opening programs takes some time, mouse drags, video playback stutters even clicking on the address bar to select/highlight the links takes its time20:13
alch3mistif it helps I have 8gb of ram, running 20.04.0420:14
leftyfbalch3mist: check additional drivers, specifically video. Also, maybe switch to x11 from wayland and see if it helps20:19
jhutchinscluelessperson: firefox + youtube videos = known random crashes.  Firefox as a snap?20:23
alch3mistleftyfb, I don't have any drivers under additional drivers, but will check out x11, also I'm on 5.4 kernel, should I upgrade to the latest to see if it helps?20:24
leftyfbalch3mist: that might help. Also, why are you running 20.04 and not 22.04?20:24
alch3misthonestly I was lazy and haven't upgraded yet, I was planning to do that today :D no reason in paricular20:26
alch3mistmaybe I start there20:26
jhutchinsalch3mist: That way at least the bugs will be up-to-date.20:27
alch3mistnot a bad idea20:29
alch3mistupgrading as we speak20:29
codingkoopaHey all, how are package updates from different update streams delivered? e.g. on a system with both bionic-security and bionic-updates installed, what is happening with the package files? I'm confused at the notion of there being more than one source for the same package (but different kinds of updates).20:39
jhutchinscodingkoopa: The system should prefer the latest package available on any stream configured.20:42
jhutchinscodingkoopa: Sometimes a PPA will mess up the package versions and cause the system to choke.20:42
codingkoopajhutchins: if a package is provided both by -security and -updates, though, wouldn't a new security update nullify an older package from the -updates stream?20:44
codingkoopa(which would be undesirable if one wants the improvements from -updates)20:45
jhutchinscodingkoopa: Again, it's determined by the package version, for repos that are on a given release.21:12
jhutchinscodingkoopa: If you're mixing releses, there are ways to tell the system to prefer one release over another, see "pinning".21:12
jhutchins(See also "clean install".)_21:14
tomreyncodingkoopa: apt policy <somepackage>   will show you which sources a given package is available from, and which of these sources has which priority.21:14
tomreynsee apt_preferences(5) for an explanation of these priority values21:15
codingkoopatomreyn: I see, I think this is what I'm looking for - thanks ^^21:16
tomreyn!pinning | codingkoopa21:19
ubottucodingkoopa: pinning is an advanced feature that APT can use to prefer particular packages over others. See https://help.ubuntu.com/community/PinningHowto21:19
tomreyni would not recommend pinning unless you strictly need to, though, it can cause problems and make things difficult to debug.21:19
jhutchinsHence the reference to "clean install".  If you mix releases or distributions you'll be reinstalling sooner or later.21:26
regedithello, i have all the kids media/pics/stuff on an NTFS drive, how can i make the whole drive read-only so they only play/open stuff on the ubuntu machine but nothing gets accidentally the entire drive21:39
enigma9o7[m]you can mount it that way in /etc/fstab21:43
tomreynregedit: encrypt the partition containing the NTFS file system21:43
enigma9o7[m]Unfortunately I'm no expert on that so I'd have to refer to docs how to do it.21:43
regediti dont see that drive mentioned in /etc/fstab21:44
regeditis there some way to list current fstab drives so i can figure out what to put in /etc/fstab21:44
enigma9o7[m]if its not in there already, you must be getting it auto mounted from file manager or places or something.  but you still can mount it there.21:44
tomreynsorry, my answer was missing the point, because you want the data to continue to be accessible.21:44
regediti just plugged this external drive into the ubuntu machine, so it didnt like boot up with the machine or anything21:45
enigma9o7[m]Aha, that probably explains it.  And if you do use fstab to mount it, I think it would hav eto be plugged in at bootup time...21:46
regeditah21:47
regeditis there no way to force a plug-n-play external drive to be read-only?21:47
tomreynregedit: are you trying to reliably prevent that someone can modify or overwrite the data on this NTFS file system from Ubuntu? Then there is no option which does not include making the data unavailable as a whole. if you just want to provent accidentially mounting the NTFS file system in writable mode and (just) prefer it to be mounted read-only, that's possible with an fstab entry indeed.21:48
jhutchinsNo, a removable drive can be specified in fstab as noauto and mounted when plugged in.21:48
jhutchinsSee for example CD drives.21:48
regeditok so fstab can work even for plug-n-play external drive? not necessarily booted with system?21:48
jhutchinsregedit: Yes, if it's defined in fstab.  UUID is probably a good idea in case it gets plugged in to a different port or in a different order.21:48
enigma9o7[m]ah good glad im wrong about that, sounds like fstab will indeed be workable solution21:48
regeditwhere can i find whatever ubuntu currently identifies this drive's UUID, type, options etc. are?21:49
jhutchinsI think you can also do it with udev rules, which means there's probably a systemd method as well.21:49
jhutchinsregedit: blkid21:49
regeditok cool thx21:50
regediti see UUID and type, what about options21:50
jhutchinsregedit: That'll give you the UUID, "mount" will show it but is very noisy.21:50
regeditthink i found it21:51
regedit /dev/sdc1 on /media/kidz/media1 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)21:51
tomreynyou'd want option "ro" there, not "rw"21:52
regeditso i add a line in /etc/fstab something like "UUID=<from blkid> /dev/sdc1 ntfs ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2"21:53
regeditanything for <dump> and <pass> ?21:53
jhutchinsYou can also limit access to a specific UID (allow_other overrides that).21:53
regeditah cool21:53
tomreyncolumn 1 is the paent device of the file system you want to mount21:54
tomreyncolumn 2 is where to mount it to.21:54
regeditso i think i have <file system> <mount point> <type> <options>, what about <dump>  <pass> ?21:54
regedittomreyn: ok21:54
jhutchinsregedit: I think those can be left off for removables.21:54
regeditah ok so just this could do it then? "UUID=<from blkid> /dev/sdc1 ntfs ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2"21:55
tomreynso for columns 1 and 2, this would not be correct: "UUID=<from blkid> /dev/sdc1"21:55
regeditoh?21:55
jhutchinsMight be for all noauto since they skip the DUMP stage.21:55
regeditahh21:55
tomreynyou do not want to mount this to /dev/sdc121:55
jhutchinsYou don't want both UUID and device.21:55
regeditoh21:55
regeditwhat should i put for column 1 and 2 then21:56
regediti probably do want to identify by UUID in case using other port21:56
jhutchins1 is UUID or device, 2 is mount point.21:56
regeditok so what should i do for column 2 then21:56
jhutchinsregedit: Using UUID also allows different options for different external devices.21:57
jhutchinsregedit: Where do you want to mount it?21:57
regeditahhh i guess /media/kidz/media121:57
regeditso it should be this i guess: "UUID=<from blkid> /media/kidz/media1 ntfs ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2"21:58
jhutchinsregedit: Make sure you don't use whatever the fuse mount used, you don't want something mounted on top of it.21:58
tomreyni.e. not the same mount point21:59
tomreynand i'm not sure about some of those other mount options. better keep those empty if you don'T know you must/want to specify exactly these.21:59
jhutchins... or find out what the other options mean and whether you want them.22:01
regeditjhutchins: oh so i shouldnt use the same exact drive mount name as when i plug-n-played it in, like /media/kidz/media1 ? i should come up with something else like /media/kidz/media1-ro or something like that?22:02
regeditis it safe enough to copy/paste the same options as from when i plug-n-play it in?22:02
doom95_+Z22:07
regeditoh well i guess it works22:09
regeditfor now22:09
regeditthanks muchly kind peoples22:10
regeditmuch appreciate the helps22:10
=== cbreak_ is now known as cbreak
=== TheMaster is now known as Unit193
BinarySaviorin ubuntu 20.04 how do I add a new entry to the "Show Applications" context23:21
BinarySaviori built vscode from source and it has a .desktop file ready to go in ./resources/linux/code.deskotp23:22
BinarySaviordeskotp//desktop*23:22
BinarySaviorI tried copying it to ~/.local/share/applications/ but even though it's there I'm still not seeing it in the dash23:24
oerheksif you do actions in ~/.local/share/applications/, logout/login again23:25
BinarySaviorahh gotcha23:25
oerheksit is on user-basis23:25
BinarySaviorokay I logged out and back in but it's still not showing there23:28
BinarySaviorhttps://bpa.st/JOHQ <-- "ls -al ~/.local/share/applications"23:31
BinarySavioroh it looks like that file is not meant to be copied, desktop-file-validate failed23:34
BinarySaviorthat file is a template with some variables in there like @@NAME@@ or similar23:35

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