[00:11] <Macwinner> in the apt sources.list, is it possible to make the distro version dynamic? eg: "deb [arch=amd64,arm64] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse"   I want to replace "jammy" with some sort of macro that changes automatically depending whether i'm on focal, jammy etc
[00:11] <leftyfb> Macwinner: I would do that through whatever config control you're using
[00:12] <Macwinner> leftyfb: trying to be able to do-release-upgrade, then apt update, then apt upgrade without having to change the file
[00:13] <leftyfb> Macwinner: do-release-upgrade will do that for you
[00:13] <Macwinner> oh! awesome
[00:13] <Macwinner> thanks for the tip. didn't realize that
[00:18] <pinkponyprince> hi
[00:18] <pinkponyprince> peace be with you, moving to offtopic soon
[00:20] <chipsum> hi
[00:23] <chipsum> السلام عليكم
[00:24] <gry> !arabic | chipsum
[00:25] <chipsum>  /join #ubuntu-arabic
[00:33] <chipsum> What project interests you in the free softwares world ?
[00:34] <chipsum> A free question for anybody
[00:34] <tomreyn> !ot | chipsum
[00:45] <LenniePike> hello
[01:49] <FKAShinobi> I have one last deluged error. Not sure how to read this, can someone assist? https://pastebin.com/UTprN820
[01:50] <leftyfb> FKAShinobi: I would file a bug with the Deluge project
[01:57] <gry> FKAShinobi: hi, the raw link for the pastebin (without ads) is https://pastebin.com/raw/UTprN820 . a bug report already exists at https://github.com/ratanakvlun/deluge-ltconfig/issues/23 and they suggest two solutions, one in comment by Charlweed  and another in comment by Quetzalcohuatl.
[01:57] -ubottu:#ubuntu- Issue 23 in ratanakvlun/deluge-ltconfig "TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given" [Closed]
[02:02] <gry> FKAShinobi: please, let me know whether they work for you. further comments may be best posted there, not as a new bug report (it could be marked as duplicate).
[02:07] <FKAShinobi> Thanks, I did the first one earlier today and that reduced the errors by 99%. I'll give the pip solution a try
[02:09] <gry> FKAShinobi: in case the pip solution does not work, in the errors, it gives you name of file and line number, maybe, a few more places require manual editing.
[02:09] <gry> I will be away for around half an hour, hope to hear from you soon.
[02:10] <FKAShinobi> I was looking for that.
[02:10] <FKAShinobi> Am I reading the trace correctly? Should I be looking for a function called findCaller()
[02:18] <FKAShinobi> Actually, I did another similar patch, but not that one. We'll see if it works. It should though based on the one this morning.
[02:23] <forgotmynick> How do I install cpu/gpu drivers for Ryzen 7900?
[02:27] <tomreyn> you'll need a recent kernel for zen 4
[02:37] <FKAShinobi> When my desktop shuts the monitors off from inactivity is that considered "suspend" ?
[02:38] <FKAShinobi> To clarify - services are still running
[02:39] <leftyfb> no
[02:39] <leftyfb> it's just your monitor going to sleep
[02:39] <leftyfb> if your machine suspends, nothing is running. It's all stored in ram until you machine is powered back on
[02:39] <FKAShinobi> leftyfb: Is that associated with a known power level?
[02:39] <forgotmynick> tomreyn: thank you!
[02:39] <leftyfb> FKAShinobi: no
[02:40] <FKAShinobi> leftyfb: what controls that functionality
[02:40] <leftyfb> DBUS?
[02:40] <leftyfb> I'm not quite sure
[02:48] <tomreyn> forgotmynick: i think you'll need at leats linux 5.19. i assume ubuntu 22.10 will work out of the box. 22.04 LTS should work with oibaf PPA, i assume.
[02:48] <forgotmynick> i got 6.1.10 and it's working :)
[02:49] <tomreyn> well that's certainly fresh
[03:11] <gry> leftyfb: re FKAShinobi's question, i think it requires not only monitor going to sleep, but also the OS needs to signal to it first that there is nothing interesting happening on the monitor
[03:12] <leftyfb> FKAShinobi: are you looking for a way to disable a monitor going to sleep?
[03:13] <FKAShinobi> gry, leftyfb: There's a long outstanding bug where nvidia drivers will lose an extended monitor after the monitors turn back on. I'm looking for a fix/workaround
[03:13] <FKAShinobi> seems to be xorg related
[03:13] <FKAShinobi> It's really annoying
[03:14] <FKAShinobi> the nouveau driver just crashes my machine
[03:14] <FKAShinobi> but it keeps my extended display :)
[03:18] <ablyss> speaking of suspend got me thinking about hibernation... It doesn't seem like true hibernation.  True hibernation would put the entire system in a squash img and lock it out, imho
[03:19] <leftyfb> !ot | ablyss
[03:21] <ablyss> !enable_lighten up mood.  @leftyfb
[03:23] <lotuspsychje> ablyss: this is a support channel; only speak if it benefits the user(s) issues
[03:24] <ablyss> why are you speaking then?
[03:24] <lotuspsychje> ablyss: come to #ubuntu-discuss ans ill explain it
[03:25] <ablyss> i'll put on my to-do list :) thx
[03:28] <FKAShinobi> so is xorg.conf.d used now that things have moved to Wayland?
[03:39] <ruser> ablyss: agreed on true hibernation; though i have missed an ealier discussion
[06:45] <ice9> if a fix is released on launchpad, how long it takes to be ready for package upgrade?
[07:08] <alkisg> ice9: from "soon" to "never"; send the specific link for more details...
[07:08] <ice9> alkisg, https://bugs.launchpad.net/bugs/1949340
[07:08] -ubottu:#ubuntu- Launchpad bug 1949340 in gtk4 (Ubuntu Jammy) "[upstream] Saving downloads or pages is difficult because of unfocused file chooser dialog" [Medium, Triaged]
[07:09] <blahboybaz> What is `2>&1` in something like `ssh -q -T git@gitlab.com 2>&1`? Is that referring to runlevels or something? Is ther a man page on that?
[07:10] <alkisg> ice9: and by fix-released, you mean on gtk4? I don't think gtk4 will be backported to any of the released lts series...
[07:10] <ice9> alkisg, at leat for kinitic , it's not saying when it will be in the repo for upgrade
[07:12] <alkisg> ice9: read comment #44 which changed the fix-released status. It says "fixed in gtk4, and now we're waiting for chromium to start using gtk4, which may take years"
[07:13] <alkisg> For end users, this means: "two changes are needed to solve this bug; one was done, the other one is pending, may take years"
[07:14] <alkisg> blahboybaz: it's called shell redirection, run e.g. `man dash` and search for redirection inside that man page
[07:14] <_________> blahboybaz: it redirects an error output to standard output
[07:15] <blahboybaz> alkisg: cool
[07:16] <_________> if you're not using '| some-command' after it or it's output is not logged, it does nothing from user point of view
[07:17] <alkisg> blahboybaz: compare these: `ls asdf | true` and `ls asdf 2>&1 | true`
[07:21] <blahboybaz> alkisg: With the first `ls: cannot access 'asdf': No such file or directory` so I'm guessing with the second command the output is still getting output but is sent somewhere else?
[07:21] <blahboybaz> I'm guess the difference between `>` and `<` being redirect of input vs redirect of ouput?
[07:22] <alkisg> blahboybaz: the pipe | only transfer stdout. So in the first case, stdout goes to true (which doesn't use it, so it's hidden), and stderr to the console. In the second case, stderr too goes to true and gets hidden
[07:22] <alkisg> Yes, > redirects stdout and < redirects stdin
[07:22] <arraybolt3> It's really interesting when you have to fight with the differences between >, 2>&1, 2>, <, <<<, and >>.
[07:23] <arraybolt3> #BashRedirectionIsNuts
[07:24] <arraybolt3> Anyway, end rant :P
[07:24] <blahboybaz> the pipe is messing me up in the context of your second command example tho. I thought pipe was to pipe content into another executatble (such as grep or less for example). For pipe char to be followed by what looks like a literal value (boolean true) is wierd - if that's waht true is in this context.
[07:25] <_________> true is a program that exits with "success"
[07:25] <_________> also false is a program that exits with "failure" ;)
[07:25] <blahboybaz> oh cool! :)
[07:25] <blahboybaz> I didn't know that existed
[07:25] <arraybolt3> Compare "true; echo $?" with "false; echo $?".
[07:25] <blahboybaz> ohh!!
[07:25] <blahboybaz> wait
[07:26] <alkisg> blahboybaz: /usr/bin/true is a command that does nothing. So in this case is drops its stdin
[07:26] <blahboybaz> is 2>&1 | true almost like a conditional statement?
[07:26] <blahboybaz> like a ternary?
[07:27] <alkisg> No. cat file | true is like cat file | drop-stdin; it just drops its stdin
[07:27] <blahboybaz> oh, I see
[07:28] <arraybolt3> So if something prints "a" to stdout and "b" to stderr, "something | othercommand" will make "othercommand" only see "a".
[07:28] <blahboybaz> its interesting but was just a side trek from learning docker (that command example I used came from docker docs)
[07:28] <blahboybaz> :)
[07:28] <arraybolt3> But "something 2>&1 | othercommand" will make "othercommand" see both "a" and "b".
[07:29] <arraybolt3> (Also if you find "2>&1 |" to be horribly tricky to type, you can use "|&" as a shortcut for it in Bash.)
[07:29] <arraybolt3> So "something |& othercommand" is equivalent to "something 2>&1 | othercommand".
[07:30] <blahboybaz> cool
[09:20] <chaplin> hello
[09:20] <chaplin> i am hacker
[09:30] <kpekids> allo
[09:30] <kpekids> Hallo
[09:30] <kpekids> !!!!!
[11:05] <vinay> hello all, i was trying to import my keys from host to another, after importing my private.asc when i give gpg --list-secret-keys it is empty
[11:05] <vinay> i did change the trust from unknown to ultimate
[11:05] <vinay> i did a gpg --import private-key.asc
[11:40] <Guest35> Hi
[11:40] <Guest35> Can someone help with the full disk encryption guide?
[11:41] <Guest35> Why does it tell me to make a 2MB partition for the boot image of grub, when it is intended to be used with UEFI only?
[11:44] <ravage> Guest35: the desktop installer supports guided full disk encryption via LVM if you use the whole disk
[11:45] <ravage> you should not have to create anything manually here
[11:45] <Guest35> Even the boot partition?
[11:45] <ravage> yes
[11:45] <Guest35> I meant this guide:
[11:45] <Guest35> https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019
[11:45] <Guest35> So it's obsolete if I'm using the full disk anyway?
[11:45] <ravage> yes
[11:46] <Guest35> That's weird
[11:47] <ravage> what is weird?
[11:47] <Guest35> Not that I don't believe you, but I see this guide recommended very often
[11:47] <Guest35> Why is it there if it's not really needed anymore
[11:47] <ravage> boot the desktop iso. choose encryption. be happy.
[11:47] <ravage> things improve
[11:48] <Guest35> "However, this is much better than the Ubuntu installer Encrypt Disk option which only supports encrypting the operating system partition but leaves the boot-loader second stage file-system unencrypted and therefore vulnerable to tampering of the GRUB configuration, Linux kernel or more likely, the initial RAM file-system (initrd.img). However,
[11:48] <Guest35> this is much better than the Ubuntu installer Encrypt Disk option which only supports encrypting the operating system partition but leaves the boot-loader second stage file-system unencrypted and therefore vulnerable to tampering of the GRUB configuration, Linux kernel or more likely, the initial RAM file-system (initrd.img).
[11:48] <Guest35> "
[11:48] <Guest35> This is from the guide, it tells otherwise
[11:49] <ravage> well. that depends on your threat level
[11:49] <ravage> if you want your data encrypted thats totally fine
[11:49] <Guest35> I want the bootloader to be encrypted to, as far as this is possible
[11:49] <Guest35> too
[11:50] <ravage> That's not supported via the Installer
[11:50] <Guest35> I thought you were saying it would be
[11:50] <Guest35> Might have gotten you wrong
[11:51] <ravage> It is still called full disk encryption in the installation
[11:51] <ogra> if secure boot is turned on your bootloader should be encrypted by the UEFI bits by default ...
[11:51] <ogra> this should be nothing the installer does but it simply depends on the UEFI defaults you use
[11:51] <akik> Guest35: i used that guide just last week and it worked
[11:52] <akik> Guest35: you don't even get the grub menu until you enter the password
[11:53] <Guest35> ogra the bootloader is not encrypted but cryptographically signed
[11:53] <Guest35> That's what secure boot checks
[11:53] <ogra> right
[11:53] <ogra> so it is safely protected from modifictions ...
[11:57] <hassletime> hey all
[11:57] <hassletime> got a weee problem
[11:57] <hassletime> i downloaded garuda and like some things and not others
[11:58] <hassletime> so i installed ubuntu
[11:58] <deadrom> hi
[11:58] <hassletime> but when i tried playing dayofdefeat the game fails when i join the server it freezes ..im not sure if its graphic driver related
[11:59] <hassletime> any ideas
[11:59] <ravage> hassletime: which ubuntu version. what graphics card. whats your kernel version? do other games work?
[11:59] <deadrom> install 20.04 LTS in VBox 7, changes the default name "vboxuser" to "admin", installed ok, logged in as admin, wanted to sudo -i, says "is not in sudoers file". I look in /etc/passwd : admin is there ok but no vboxuser. how would I get to have sudo now?
[12:00] <ravage> deadrom: do a manual  installation and dont use the unattended option of vbox
[12:06] <hassletime> ravage, i just downloaded unbuntu so the lastest version
[12:06] <hassletime> its the only game i have on there
[12:06] <ravage> please answer the questions
[12:06] <ravage> latest is not a version
[12:07] <hassletime> ravage, Ubuntu 22.04.1 LTS
[12:08] <hassletime> ravage, 5.19.0-32-generic
[12:10] <ravage> only one more left
[12:11] <hassletime> only game i have ..or play only game installed
[12:11] <ravage> what graphics card
[12:12] <hassletime> NVIDIA Corporation GP106 [GeForce GTX 1060 3GB]
[12:12] <ravage> sudo apt install mesa-utils
[12:12] <ravage> glxinfo|grep vendor|nc termbin.com 9999
[12:12] <ravage> paste the URL
[12:13] <hassletime> https://termbin.com/alrc
[12:13] <ravage> your driver is fine then
[12:13] <hassletime> ok
[12:14] <ravage> how do you install that game? steam?
[12:14] <hassletime> i install steam on terminal sudo apt install steam
[12:14] <hassletime> then just hit the install button
[12:15] <hassletime> ill try again ..but last time the whole computer froze so i may log off for a sec till i reboot if it freezes again
[12:17] <akik> hassletime: i couldn't make the nvidia driver work for nvidia 920m in linux. always getting the "xid 8 cpu stopped processing" error
[12:17] <akik> gpu
[12:17] <akik> there are many tunables for the nvidia
[12:18] <akik> some say locking it to performance mode would help, or setting the frequencies
[12:18] <akik> so the frequencies would be locked too
[12:18] <akik> in win10 i just needed to run the driver installer exe and that was it
[12:19] <ravage> same with ubuntu. never had any problems
[12:19] <hassletime> yea its def a graphics prob
[12:19] <hassletime> is there anyway of using like a generic one
[12:20] <hassletime> strange this is it ran fine on garuda "shrugs" not sure what driver it was using on there though
[12:23] <nikolam> Hi, I have USB to gigabit LAN adapter, 0bda:8153 Realtek Semiconductor Corp. RTL8153  and I can't set Virtual NIC on it.
[12:24] <nikolam> When I hit sudo ifconfig lanname:1 192.168.3.15 netmask 255.255.255.0 up it is getting that IP and forgets main one.
[12:25] <nikolam> Same thing works fine on Intel LAN adapter, integrated iI219-LM and on Intel PCI-E LAN card.
[12:25] <akik> nikolam: try using the ip command to do it
[12:25] <ravage> nikolam: https://baturin.org/docs/iproute2/#ip-address
[12:26] <hassletime> how do you post a screenshot on here
[12:26] <ravage> hassletime: https://imgur.com/ for example
[12:27] <hassletime> https://imgur.com/a/KPL0cYE
[12:27] <ravage> why did you install anything manually?
[12:27] <hassletime> i didnt
[12:28] <hassletime> https://imgur.com/h6oEgFX
[12:28] <hassletime> this is how it installed i havnt touched anything
[12:28] <ravage> hassletime: sudo apt remove nvidia-*
[12:28] <ravage> then try that dialog again
[12:28] <ogra> well, it thinks you used a driver from the nvidia page and ont one of the tested ubuntu-packaged ones
[12:29] <ogra> *s/ont/not/
[12:29] <ravage> it thinks he installed something manually
[12:29] <ogra> right
[12:30] <hassletime> lol i honestly didnt ....it said install updates and third party drivers ..i ticked that box on install ?
[12:30] <ravage> that is totally fine usually yes
[12:30] <nikolam> akik, ravage Thanks, it works with " ip address add 192.0.2.10/24 dev eth0 " command. Seems like I would need to abandon 'ifconfig' for VNICs for new LAN cards.
[12:30] <ogra> that should normally install the ubuntu packaged ones ...
[12:30] <ravage> nikolam: you should have abandoned ifconfig a decade ago :)
[12:30] <hassletime> ok i did remove command
[12:31] <ravage> check if that dialog shows something else now
[12:31] <ravage> or if you can at least choose an option
[12:31] <ravage> nvidia-driver-525 should work best for your card
[12:31] <hassletime> yes i can
[12:31] <hassletime> ok
[12:32] <ravage> install and reboot :)
[12:32] <hassletime> ill test that ...thanks for all this help
[12:33] <hassletime> https://imgur.com/a/SXyFQeF
[12:33] <hassletime> ok just so im sure
[12:33] <deadrom> anyone happen to know the VBox guest addtions procedure for vbox7?
[12:33] <hassletime> we happy with that selection
[12:33] <ravage> hassletime: yes
[12:33] <hassletime> ok cheers
[12:33] <ogra> yeah ..
[12:35] <ravage> deadrom: https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/how-to-install-virtualbox-guest-additions-on-ubuntu-22-04.html
[12:35] <deadrom> thanks ravage
[12:35] <ogra> i wonder if the steam deb has something weirdly built-in that installs the nvidia driver if it detectes it missing at instal time ...
[12:36] <ravage> no idea. i think i downloaded it manually
[12:36] <ravage> but i would hope not
[12:36] <ogra> (would be weird though ... but you never know)
[12:39] <hassletime> ladies and gentleman ...we can now rumble again ...woohooo
[12:39] <hassletime> you did ti Ravage
[12:39] <hassletime> thanks so much mate
[12:39] <ravage> hassletime: great. enjoy your game :)
[12:40] <hassletime> ravage, your good you are...points ...your good
[12:46] <amosbird> Hello! How can I find the dsc file of gcc-11 - 11.1.0-1ubuntu1~18.04.1  in  https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/+packages?field.name_filter=&field.status_filter=published&field.series_filter=bionic ?
[12:56] <ravage> amosbird: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/+sourcefiles/gcc-11/11.1.0-1ubuntu1~18.04.1/gcc-11_11.1.0-1ubuntu1~18.04.1.dsc ?
[14:33] <Penguinolinus> Hey hi
[14:42] <madam> hi, tried to login to ubuntu 22.04 xorg-session and the display turns all "blueish". Has anyone else expirienced this?
[14:44] <Penguinolinus> hEY RETARDS
[14:44] <Penguinolinus> KY4RWEKY65J4444FYUJ64RTYJRUYJTRJHYTU
[14:44] <Penguinolinus> JJJJJJJJK9
[14:44] <octav1a> hey
[14:44] <Penguinolinus> FK YOUR MOM
[14:44]  * octav1a yawns
[14:45] <xantrex> Hi, on a new 22.04 install my monitor refresh rate is stuck at 59.98Hz. Mesa drivers installed for Intel TigerLae-LP GT2...
[14:46] <leftyfb> !op | Penguinolinus
[14:47] <xantrex> you would think it would work out of the box..
[14:48] <jhutchins> xantrex: Do you know that your monitor is capable of a higher rate?
[14:48] <xantrex> hi, yes definitely upto 144Hz
[14:52] <xantrex> Google says i have to update my GRUB file
[14:55] <coco> hello
[14:55] <Federics> xantrex google is your granpa
[14:58] <coco> I am using gnome-screenshot -a -f /dev/shm/Pic`date +%Y%m%d_%H%M%S`.png, this cmd to shot screen, why it is ok in CML, but can't set it in xfce4 keyboard whith hotkey?
[15:16] <cjphaunr> I think my desktop is broken, I right click, a menu pops up with Change Background, Settings and Display Settings but none of them actually do anything, and no icons show up on the desktop either, wth
[15:18] <vernac36> try to create a new user.
[15:18] <vernac36> login with that new user instead, to see if your desktop works normaly with that user.
[15:18] <cjphaunr> ooh, good idea
[15:18] <cjphaunr> hold on
[15:19] <xantrex> think its because of intel gfx and HDMI cable
[15:19] <vernac36> if it does work normaly, then move your own .config/ folder of you usual user to .config_old, and try to login again to see if it works.
[15:20] <cjphaunr> switched users, same thing, empty desktop, context menu with 3 entries, none do anything
[15:20] <cjphaunr> all the activites and the side buttons work tho, so there's that at least
[15:20] <vernac36> yeah your ubuntu is broken.
[15:20] <cjphaunr> sadface
[15:22] <taylan> hi all, I will probably be upgrading to a VPS with 22.04 soon, but I noticed that Apache2 is still at 2.4.52.  would I be able to easily install a newer version?  interestingly, Debian 11 has 2.4.54 already even though Deb11 was released before 22.04.
[15:22] <vernac36> fastest way: boot on a live USB ubuntu, last version, if all works fine with it, install it, but think about saving your /home/user/ folder first, to copy it back afterwhile.
[15:29] <jhutchins> taylan: What does .54 have that .52 doesn't, and why do you need it?
[15:30] <yolo_> software-properties kept reminding me new installation is ready, apt update did not agree, so I have now permanently disabled software-properties' reminders
[15:31] <taylan> jhutchins: I'd like to install the latest (.55) actually.  there seem to be a number of CVEs fixed with every new version, and the http2 library was also updated apparently which I suppose might improve performance.  https://www.apachelounge.com/Changelog-2.4.html
[15:31] <leftyfb> yolo_: did you have a support question? Did you file a bug?
[15:31] <yolo_> while I was switching between nvidia driver and the open source one, somehow my old system is now using OEM kernel, per google OEM kernel is for new hardware, should I switch to HWE?
[15:31] <leftyfb> taylan: CVE's are applied to supported releases in Ubuntu
[15:31] <jhutchins> taylan: Have you checked to see if those CVEs are patched in Ubuntu?  They often are backported.
[15:32] <taylan> oh ok, that's a relief at least
[15:32] <lawrence2> ola mundo
[15:32] <leftyfb> !br | lawrence2
[15:32] <jhutchins> taylan: Nothing prevents you from installing Apache directly from the source.
[15:33] <taylan> the http2 updates/fixes still interest me.  I've tried setting up http2 on my Debian 10 (Apache 2.4.38) and have some really weird bugs, which #httpd is telling me might be due to buggy older versions of mod_http2...
[15:34] <taylan> I guess I could compile it myself in worst case...
[15:34] <cjphaunr> managed to fixed the desktop with apt-get install --reinstall ubuntu-desktop
[15:34] <cjphaunr> hopefully didn't break anything else
[15:35] <taylan> btw tangentially related question: are there any significant differences I should be aware of when switching from Debian 10/11 to Ubuntu 22.04 LTS, for a headless web server?
[15:40] <jhutchins> taylan: Do you have backups and a recovery strategy?
[15:56] <taylan> jhutchins: yeah, I mean more in terms of differences in the default CLI environment, system configuration, package management, and such
[15:58] <taylan> I know both offer basic GNU shell & utilities, systemd, and RPM/apt, so I guess it should be like 90% the same, but you never know...
[15:59] <taylan> I was about to ask if Ubuntu has ufw, then I remembered it comes from Ubuntu originally, lol
[16:17] <no1etal> Hello
[16:20] <jhutchins> taylan: It's still Ubuntu.
[16:21] <jhutchins> taylan: Which, among other things, means that for some people it's completely seamless.
[17:10] <bparker> how do I keep my VPN connected all the time? sometimes it randomly disconnects and then refuses to re-connect by itself, even though I have all the relevant options for that turned on
[17:10] <bparker> using 22.04.1
[17:12] <bparker> connection.autoconnect:                 yes
[17:12] <bparker> connection.autoconnect-priority:        0
[17:12] <bparker> connection.autoconnect-retries:         0 (forever)
[17:13] <leftyfb> bparker: a lot of VPN servers, when the client loses a connection, the server still thinks the client is connected and there's a timeout period. It can be several minutes
[17:13] <leftyfb> in my experience
[17:23] <bparker> leftyfb: it stayed disconnected overnight
[17:25] <bparker> also that doesn't make sense because if the client loses a connection, it should still keep trying anyway
[17:26] <bparker> I don't think any VPN software would reject a client trying to connect just because it thinks it's still connected when it isn't
[17:26] <bparker> that would be weird
[17:26] <bparker> and self-DoSing
[17:27] <leftyfb> nope, that's exactly how some of them work
[17:28] <leftyfb> and, of the clients I've used, none of them have givem me the ability to keep trying a failed connection
[17:28] <leftyfb> mind you, this is a client VPN, not site to site. The latter should keep trying
[17:37] <bparker> sounds like a really crappy client
[17:40] <Pricey> Raspberry pi 2, ubuntu 22.04 installed fresh. ralink rt5370 usb wireless plugged in. Shows in lsusb but not "iw dev" etc. Any suggestions?
[17:46] <jhutchins> bparker: The easiest way is to create a keepalive signal that performs a transaction periodically (every few seconds or longer) to keep the connection active.  Sometimes this is included in the VPN software, sometimes not.
[17:47] <ioria> Pricey, does it show in 'ip a' ?
[17:47] <bparker> I just made a cron job that checks with nmcli if it's up, and starts it if it isn't
[17:47] <jhutchins> !realtek
[17:47] <bparker> surely more reliable than trying to make NetworkManager keep trying forever
[17:47] <Pricey> ioria: No. It's not in /sys/class/net either.
[17:47] <jhutchins> Pricey: Sounds like the driver's not loaded.
[17:48] <leftyfb> Pricey: does it show up in lsusb?
[17:48] <ioria> Pricey, unplug, plug again and run 'dmesg' and check the tail
[17:49] <Pricey> dmesg & lsusb: https://pastebin.ubuntu.com/p/3zHYG2z95W/
[17:50] <ioria> Pricey, so, iwconfig is blank ?
[17:50] <Pricey> Yep. No devices.
[17:50] <Pricey> Just unplugging and replugging to grab a new dmesg.. but no errors last time I tried.
[17:51] <ioria> Pricey, yep, paste it again with  more outputs
[17:53] <madam> hi, tried to login to ubuntu 22.04 xorg-session and the display turns all "blueish". Has anyone else expirienced this?
[17:53] <dTal> describe blueish
[17:54] <madam> like watching through blue glasses
[17:54] <jhutchins> madam: Closest thing I've seen is a loose or bad video cable.
[17:54] <madam> it is a laptop screen
[17:55] <dTal> could be an incorrect ICC profile being automatically loaded
[17:55] <leftyfb> bparker: https://askubuntu.com/a/1103326
[17:55] <Pricey> Updated dmesg: https://pastebin.ubuntu.com/p/QtNtD3rbTn/ (After unplugging and replugging)
[17:55] <jhutchins> madam: How do you suppose the video signal gets to the display?  Laptops can have even more trouble because the (ribbon) cable is constantly flexed.
[17:55] <dTal> I assume the color is normal in a virtual console
[17:55] <dTal> jhutchins: they're suggesting the color is only bad inside xorg
[17:56] <Pricey> I know the usb dongle is good because an hour ago, it was working with an sd card with ubuntu 20.04 on. This is a fresh install of 22.04 today.
[17:56] <madam> what's this icc profile?
[17:56] <leftyfb> madam: https://www.benq.com/en-us/knowledge-center/knowledge/what-is-icc-profile-designer-should-care-about.html   first result on google for "what is icc profile"
[17:57] <madam> when is switch to tty it is blue as well
[17:57] <dTal> what about before you ever enter X?
[17:57] <dTal> in the bootloader, say?
[17:57] <jhutchins> leftyfb: Would the question then be "Why do I have to mess with this on a default install?" (Assuming it is a default.)
[17:58] <madam> on wayland session everything is ok, normal color.
[17:58] <leftyfb> jhutchins: icc doesn't need to be messed with unless you care about color correction
[17:58] <dTal> okay that's a really interesting and useful data point
[17:59] <dTal> how blueish we talking? Like, just kind of coolish, or really blue?
[17:59] <ioria> Pricey, ip a | nc termbin.com 9999
[17:59] <madam> realy blue
[18:00] <dTal> huh, neither an ICC profile nor redshift is likely to cause such a dramatic shift
[18:00] <Pricey> ioria: There is no wireless device shown by ip a.
[18:00] <dTal> any chance you could upload a screenshot?
[18:00] <madam> redshift isn't installes anyway
[18:00] <Pricey> ioria: Just lo & eth0.
[18:01] <ioria> Pricey, what's your kernel ?
[18:01] <Pricey> ioria: Linux tiny 5.15.0-1024-raspi #26-Ubuntu SMP PREEMPT Wed Jan 18 15:31:10 UTC 2023 armv7l armv7l armv7l GNU/Linux
[18:02] <ioria> Pricey, sudo modprobe -v rt2800usb
[18:02] <Pricey> ioria: modprobe: FATAL: Module rt2800usb not found in directory /lib/modules/5.15.0-1024-raspi
[18:02] <ioria> Pricey, well, you missed the driver
[18:03] <madam> dTal: hold on
[18:03] <Pricey> ioria: Sure, not clear where I get it from.
[18:03] <dTal> madam: my hunch is that this is some form of brokenness in colour management under Xorg on your system
[18:03] <ioria> difficult to make it works
[18:04] <dTal> I would check the color management section in Gone Control Center
[18:04] <dTal> *Gnome
[18:04] <dTal> see if it differs under Xorg and Wayland
[18:04] <madam> wow, just did a screenshot and watched it on a different pc and it looks perfectly fine there
[18:05] <dTal> well, that's informative I guess
[18:05] <Pricey> ioria: Aha, looks like I want linux-modules-extra-raspi !
[18:05] <ioria> i'd say that
[18:06] <dTal> actually I see on my machine that redshift isn't preserved in screenshots either
[18:06] <dTal> (redshift uses the same xorg mechanism as color calibration)
[18:07] <dTal> are virtual consoles still blueish even if you switch to them after using wayland?
[18:07] <madam> as I said, I've not installed redshift. Is it installed by default?
[18:07] <dTal> >>(redshift uses the same xorg mechanism as color calibration)
[18:08] <dTal> redshift per se is not relevant, I'm just using it as a convenient way to trigger xorg's per-channel gamma adjustment
[18:09] <dTal> because it's easier for me to click the lightbulb on my taskbar than try and load an ICC profile for the purposes of experimenting
[18:09] <madam> when I'm in wayland gui and tty have the right colours
[18:09] <dTal> so, tty is blue when you switch to it from xorg, and not blue when switched to from wayland?
[18:10] <dTal> this is definitely a color management thing
[18:10] <dTal> xorg's is broken somehow
[18:10] <madam> let me have a look in the xorg error log
[18:11] <madam> or could I just reinstall xorg?
[18:11] <dTal> did you see my suggestion to look in Gnome Control Center to see if there's an ICC profile loaded in either Xorg or Wayland?
[18:11] <dTal> no, reinstalling never accomplishes anything.
[18:11] <madam> yes there's a profile
[18:12] <dTal> In xorg, wayland, or both?
[18:12] <madam> it says automatic-notebook
[18:12] <dTal> ...in xorg, wayland, or both?
[18:13] <madam> xorg
[18:13] <madam> wayland I need to check
[18:14] <madam> but wouldn't it be visible on a screenshot if it had anything to do with a colour profile?
[18:14] <dTal> No
[18:14] <jhutchins> madam: There's an easy way to find out.
[18:14] <Pricey> ioria jhutchins leftyfb That was it. Just needed linux-modules-extra-raspi installed. Thanks for your help.
[18:15] <ioria> good
[18:15] <dTal> if profiles affected screenshots, then when you looked at a screenshot the profile would be applied twice. If you took a screenshot of *that* it would be applied 3 times, etc
[18:15] <madam> wow, just loged out of xorg and loged in to wayland and now thers blue as well
[18:16] <madam> in wayland there's no colour profil
[18:16] <dTal> but it's blue now
[18:16] <madam> yes
[18:17] <dTal> Unhelpful of it to change like that
[18:17] <dTal> Did you make any changes?
[18:17] <madam> no
[18:18] <madam> when I reboot, wayland colour will work. I tried that already
[18:18] <dTal> Ahhh okay
[18:18] <dTal> so here's my verdict
[18:18] <toddc> madam: might try a live usb but it looks like a hardware issue
[18:18] <dTal> no
[18:18] <dTal> it is the automatic profile
[18:18] <dTal> madam: disable the automatic-notebook color profile in xorg
[18:19] <madam> dTal: I tried tha, it stayed blue
[18:19] <dTal> wayland looks blue *after* you run xorg, because xorg loads the profile into the graphics card and wayland doesn't unload it
[18:19] <madam> can't imagine a hw issue for xorg
[18:20] <dTal> did you reboot after doing that?
[18:20] <madam> no I did not
[18:20] <dTal> you may have to
[18:20] <madam> I'll give it a try
[18:23] <madam> this pc just takes ages to reboot
[18:27] <madam> lol now after reboot there's no automatich color profile
[18:27] <madam> could try and set one, but I've never done this. which one should I choose?
[18:28] <dTal> how's the color?
[18:28] <madam> blue :)
[18:29] <dTal> I'm out of ideas
[18:29] <dTal> except one - install redshift
[18:29] <dTal> see what happens if you toggle it on and off
[18:30] <dTal> should fix the colors, if my theory about the basic cause is correct
[18:30] <madam> oh just tried to set color profile to sRGB. now I cant read a thing
[18:30] <madam> will that be reset if I reboot
[18:30] <madam> ?
[18:30] <dTal> you shouldn't need to set any profile, your screen looks fine under wayland
[18:31] <dTal> wayland doesn't support any color calibration
[18:31] <dTal> no I don't think it will be reset if you reboot
[18:32] <madam> so what can I do now? It's all black and I cannot read a thing
[18:32] <dTal> did you read what I said about redshift? Toggling it will unload any color profile.
[18:32] <dTal> Install it and toggle it.
[18:33] <madam> no unfortuntely your redshift hint came after my try and error aproach. I'm rebooting into wayland and try to install redshift
[18:42] <dTal> madam: you might find it helpful to enable SSH access, when performing trial and error that can render the display unusuable
[18:42] <dTal> especially if it takes a long time to reboot
[18:43] <madam> dTal: it is enabled thx
[18:47] <bancroft> If I pin a package and perform a do-release-upgrade, will the upgrade change the version of the package?
[18:47] <madam> I have no clue what's going on. Just after reboot into xorg the blue disapeared
[18:48] <madam> I mean I installed redshift but didn't start it yet. but it works now
[18:49] <oerheks> bancroft, The upgrade tool is intended to not-work with held/pinned  packages, as that's a pretty sure sign that problems will occur; thus it flags itself & refuses to continue.
[18:49] <oerheks> check out what version of the package will be installed, and make up your mind
[18:50] <bancroft> oerheks: i'm trying to upgrade from ubuntu 18.04->22.04 and haproxy is a royal #$%@#$%@#$% pain. I need to keep it in the same version because it suddenly believes my certificates are invalid
[18:50] <bancroft> 20.04 didn't work either
[18:50] <oerheks> good luck then.
[18:51] <bancroft> is there another way to keep the same version of haproxy?
[18:51] <bancroft> without building it from source
[18:52] <oerheks> which version, 2.6?
[18:52] <bancroft> 1.8.8 is the one that comes with ubuntu 18.04
[18:53] <ioria> that's for bionic
[18:53] <madam> dTal: thx for your help. gota walk my dog but will verify this later.
[18:53] <oerheks> i bet no, https://launchpad.net/ubuntu/+source/haproxy
[18:53] <dTal> madam: happy to help, hope it sticks, good luck. Hopefully I've given you some leads anyway
[18:54] <oerheks> why would certificates fail?
[18:55] <bancroft> you're telling me, I have no idea. I looked at the PCAP and I see Bad Certificate (42)
[18:56] <bancroft> that's without changing the config at all. What worked for years on HaProxy 1 doesn't on 2 and I've spent days playing with cipher lists to no avail
[18:57] <ioria> maybe the libssl3 instead of the libssl1
[18:57] <oerheks> you might want to reask in #ubuntu-server too
[18:58] <oerheks> ioria, i was thinking something like that, ssl3?
[18:58] <oerheks> bad sig
[19:03] <bancroft> thanks ioria and oerheks I've asked on #ubuntu-server and i'll wait for a reply there
[19:28] <pconst167> hi all
[19:28] <pconst167> why is ubuntu so good?
[19:28] <pconst167> why is it the best distro ever
[19:28] <pconst167> even better than archlinux
[19:29] <pconst167> somebody explain please
[19:29] <ogra> !ot
[19:29] <ravage> why are trolls so unimaginative these days is another great offtopic :)
[19:29] <ogra> 👍
[19:29] <pconst167> i am not a troll
[19:30] <pconst167> i use ubuntu
[19:30] <ogra> well, then you should know the answer
[19:30] <ogra> (since you decided to like it more than arch or others)
[19:31] <pconst167> i am not sure of the answer
[19:31] <ogra> then go to #ubuntu-offtopic and discuss it there (and probably find the answer)
[19:31] <ogra> ... or to #ubuntu-discuss
[19:32] <pconst167> why is it off-topic
[19:32] <pconst167> this is the ubuntu channe;
[19:32] <ogra> because it is not a technical support question
[19:32] <pconst167> ubuntu is the most general channel name you can have for ubuntu
[19:32] <pconst167> this channel should be ubuntu-technical then
[19:32] <ogra> this is not "the ubuntu" channel .. this channel has a sepcific purpose
[19:33] <ogra> and there are many more prefixed with #ubuntu- for other specific tpoics
[19:33] <ogra> *topics
[19:34] <alkisg> Did I understand correctly, that if I install ubuntu with full disk encryption, TRIM isn't used by default, so SSD speeds get veeeery slower?
[19:34] <ogra> oh, really ?!?
[19:34]  * ogra has not heard that before
[19:35] <ogra> isnt TRIM actually handled by the internal controller most of the times tday ?
[19:35] <ogra> *today
[19:35] <ogra> IIRC we dropped the TRIM scripts that periodically ran because of that
[19:36] <alkisg> I've read that luks doesn't send trim to avoid zeros to enhance security
[19:36] <oerheks> one could enable trim with discard, and some other steps, but i doubt ssd speed will get slower over time
[19:37] <alkisg> https://wiki.archlinux.org/title/Dm-crypt/Specialties#Discard/TRIM_support_for_solid_state_drives_(SSD)
[19:37] <oerheks> after making  backup, ofcourse
[19:37] <oerheks> hi hi
[19:38] <ogra> alkisg, well, do you know if devicemapper in debian (or ubuntu) behaves the same ?
[19:38] <alkisg> In some older tests of mine the speed without trim dropped more than 10 times...
[19:38] <ogra> when using dm ?
[19:41] <alkisg> No, e.g. comparing a dd after proper trimming, vs a second dd
[19:43] <alkisg> It went from 500 mb/s to 40 or so...
[19:45] <tomreyn> alkisg: just place the discard option in crypttab
[19:45] <tomreyn> that's if you can live with the (i think acceptable) security trade off
[19:46] <tomreyn> i know of both desktop and server systems using this for years without issues
[19:47] <alkisg> tomreyn: I mainly wanted to verify that I understood correctly, that indeed encrypted disks aren't trimmed by default
[19:48] <ogra> well, thats what i was asking above ... is that done in ubuntu/debian too ?
[19:48] <tomreyn> if by encrypted disks you mean a dmcrypt-LUKS layered device, then that's right
[19:48] <alkisg> In that case I will do proper benchmarks over time and I will decide if it's worth it to add the discard option...
[19:49] <ogra> tell us what you find, i'm surely interested
[19:49] <tomreyn> you can also leave some 5-10% disk unpartitioned so the firmware can juggle more blocks around
[19:50] <tomreyn> but it's not as good as TRIM which is information only the OS can provide to the disk firmware
[19:52] <alkisg> I mean the default Ubuntu setup when one checks the encrypt my desk button in the installer. I believe that's dmcryps/luks, yeah.
[19:53] <alkisg> Thank you I will continue with benchmarks and report back after some time
[19:53] <tomreyn> (neither debian nor ubuntu use 'discard' on dm-crypt luks layers on SSDs by default, because it does have security impact.)
[20:01]  * alkisg is currently implementing an "auto-unlock encrypted luks devices while combining both a local and a remote secret from the web"...
[20:04] <bparker> leftyfb: yea I was already using that, it isn't helping
[20:49] <alovola> whats up
[20:50] <alovola> ben suan o kanaldayim
[21:19] <compufreak> Is there anything in Ubuntu (server) that will tell me what installed packages have major version changes with a release upgrade? i.e. 18.04->20.04 has mysql going from 5.x to 8.x
[21:26] <oerheks> compufreak, releasenotes i guess
[21:26] <Kamil84> Hi guys, do you know any alternative to extrausers? So a solution with which I can store metadata about the users in shared directory (I want to hare users data and metadata on shared volume available for multiple machines)?
[21:29] <alkisg> LDAP? :)
[21:37] <Kamil84> alkisg I was thinking about LDAP as well, but can I specify uid and gid in ldap as well? To have same uid on multiple machines so user could use same shared home directory
[21:40] <esv> hey folks, I am trying to setup a vpn using azure vpn gateway and strongswan on 22.04, I get the received proposals subset different to the configured proposals, however, I don't find a place to modify that
[21:40] <esv> I used the GUI to setup the new VPN
[21:41] <esv> I found the NetworkManager system-connections, but that does not offer enough clues to me where I need to add the offered proposal
[21:44] <esv> I've checked /etc/ipsec.conf, strongswan.conf and their respective subdirectories in /etc
[21:58] <ogra> Kamil84, i think to remember that systemd had something like extrausers too
[22:00] <ogra> https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html ...
[22:02] <ogra> and particulary https://www.freedesktop.org/software/systemd/man/sysusers.d.html ...
[22:08] <jhutchins> for most people in the United States and other democracies, “There is no real reason why you should use a VPN”
[22:09] <jhutchins> https://www.washingtonpost.com/technology/2023/02/17/dont-use-a-vpn/
[22:10] <leftyfb> jhutchins: while I agree whole heartily with that sentiment, it's not really on topic here. Someone might want to use a VPN for legit reasons other than a false sense of security
[22:10] <leftyfb> also, the article you posted is behind a pay wall
[22:12] <jhutchins> Sry.
[22:12] <jhutchins> https://www.msn.com/en-us/news/technology/lets-bust-these-four-myths-of-digital-privacy-and-security/ar-AA17CrBB
[22:13] <jhutchins> We get a lot of people who have tangled themselves quite thoroughly in illusive security measures that are complete myths.
[22:15] <JSJ> get directv
[22:16] <leftyfb> we are offtopic
[22:16] <leftyfb> feel free to discuss in #ubuntu-offtopic
[23:29] <topcat001> alkisg: I use the persistent option on both my Arch and Ubuntu machines (along with disabling the read/write work queues as described in the article you posted). This way no config files need to be modified.
[23:30] <topcat001> (along with fstrim.timer)