[00:09] <jhutchins> mort: You could always donate more hardware and volunteer support time.
[00:11] <gry> mort: personally i prefer to store information offline, unless it has a few terabytes of images. Text-only information is easier to download and browse.
[00:39] <djaburg> greetings
[00:39] <gry> hello
[00:42] <djaburg> Anyone else watching NFL?
[00:42] <leftyfb> !ot | djaburg
[00:43] <djaburg> Fair enough...somewhat new to IRC and Ubuntu Studio.
[01:04] <mcint> not sure if there are better places to ask... I want to get /etc/motd to print before /etc/update-motd.d/... -derived output. Is this possible?
[01:04] <mcint> I think I need to look in pam.d for the motd setting
[02:01] <leftyfb> mcint: there is no /etc/motd in ubuntu by default
[02:03] <leftyfb> mcint: the proper solution would be to create a file /etc/update-motd.d/00-[a-g]* or replace 00-header
[02:34] <sams> i play on a gaming server and latency is 228, under windows i was using battleping and the tweaks were working. that is i wasnt pausing after moving every 5 tiles. it was fluid. are there any network tweaks i can do in linux? i dont wanna go back to windows just for this game, thanks
[02:35] <Eickmeyer> sams: If you can't get any answers here, you might try asking in #gamingonlinux.
[02:35] <sams> thanks i'll try there seems more appropriate
[04:04] <Phalanxer> ravage: Thanks for your help last night. I got everything working.
[04:04] <gry> yay
[04:04] <Phalanxer> Does Canonical have an IRC channel for Ubuntu on the Raspberry Pi?
[04:04] <gry> how did you get it working
[04:06] <Phalanxer> gry: I had a deeper look around the system. Syslog, some forums, and also in OBS Studio. I changed the camera from a USB 3 to USB 2 port. I'm not exactly sure what fixed it, but it now works. :)
[04:07] <alkisg> Phalanxer: they're not organized by architecture but by desktop environment; so you can use this one, #ubuntu
[04:07] <Phalanxer> Now I need to figure out how to enable hardware video decoding in Ubuntu Server 22.04 LTS on the Raspberry Pi.
[04:07] <gry> Phalanxer: there is an unofficial #raspberrypi it is for all distros not just ubuntu
[04:07] <Phalanxer> Thanks alkisg.
[04:07] <gry> and yes this channel is fine
[04:07] <Phalanxer> Awesome thanks gry!
[04:07] <gry> thank you :)
[04:08] <Phalanxer> I'm guessing hardware acceleration libraries were not included in the server vesion since it comes in command line only.
[04:09] <Phalanxer> I had no choice but to install server as installation could be done headless only. Desktop does not suppprt headless installation.
[04:18] <Phalanxer32> Does anyone know how to get hardware encoding working on the Pi 4 in Ubuntu Server 22.04?
[04:19] <alkisg> Download ubuntu desktop, run dpkg -l to see the package list, then install all these packages to your "server" edition so that it's now a desktop edition :)
[04:20] <alkisg> That said, you'll also need updated chrome etc packages, as afaik snap won't work with hw acceleration: https://askubuntu.com/questions/1385776/how-should-i-enable-hardware-graphics-acceleration-in-chromium-web-browser-runni
[04:23] <Phalanxer32> Alkisg haha yes. My Pi has only 40 MB of internet access left.
[04:23] <Phalanxer32> So enabling 3D acceleration is what I need? Makes sense.
[04:24] <alkisg> Phalanxer32: yes you need to solve that problem :)
[04:25] <Phalanxer32> alkisg I could download and install 22.04 desktop in a VM which likely will have the hotspot bug fix. Then I can hotspot to my PC instead of phone, and tether the phone to the PC which 22.04 can use. Question now is motivation. Lol
[04:26] <alkisg> Phalanxer32: you don't need a VM. You can decompress it in your desktop, and run dpkg -l with the root= parameter
[04:26] <alkisg> That will get you the list, and you can compare it with the dpkg -l of your "server" installation
[04:28] <alkisg> If you wanted to use a VM, you could have done the installation there, and move it to the pi afterwards, completely avoiding the server edition
[04:29] <Phalanxer32> My desktop is Windows 10. Can't handle Ubuntu as a daily driver. :P
[04:31] <Phalanxer32> Setting up on VM is too much hassle for me. :)  i just used the official installation docs
[04:31] <Phalanxer32> It is my first time with a Pi. I wanted to officially experience it lol
[04:32] <alkisg> Phalanxer32: right, that's why I said "you don't need a VM"
[04:33] <alkisg> Installing server, then going through all that is certainly not an official experience!
[04:34] <Phalanxer32> Hah yeah
[04:34] <Phalanxer32> A bug in 20.04 ruined the experience
[04:35] <Phalanxer32> 20.04 is the VM on my PC acting as a hotspot which I have passed through my WiFi dongle into
[04:35] <Phalanxer32> There is an authentication bug in NetworkManager service
[04:35] <Phalanxer32> Hostapd looked like hell to setup. Hopeless documentation
[04:36] <alkisg> Save yourself the sufferring and buy an ethernet cable with a couple of €/$
[04:36] <Phalanxer32> So I hotspoted the Pi and 22.04 to my phone, the phone acts like a bridge
[04:36] <Phalanxer32> Exactly alkisg
[04:37] <Phalanxer32> I was on a deadline tobget it working by 6am
[04:38] <Phalanxer32> Im off. My head hurts. Bye :)
[04:38] <alkisg> 👋
[05:12] <tarel2> What is the whole thing with snaps saying you have these many days left?  What  happens after that time? stop working or something. Never seen an odd count down in Linux , its almost like something I would see in Windows.
[05:12] <arrayboltXE> tarel2: Some Snaps can only update safely when an application is off.
[05:12] <arrayboltXE> If you don't turn it off and the update time rolls around, it skips it.
[05:13] <arrayboltXE> But it can only do that for so long before leaving security holes in the system that really need to be patched.
[05:13] <arrayboltXE> So that's what the "X days left" countdown is about. If it's still open at that time, I believe it closes the app that needs updated automatically and then does the update.
[05:14] <arrayboltXE> (What's unfortunate about the situation is that it doesn't immediately update the app upon closing it, nor does it update it immediately before next start. Snap checks for updates 4 times a day I believe, so I guess you'd have to have the app off during one of those four times for it to work.)
[05:14] <arrayboltXE> (I believe the developers are working on a fix for that.)
[05:15] <tarel2> Wow ok, cool , its nice to know that now.
[05:15] <toddc> If it bothers you you can manually kill it and update it
[05:15] <linuxmodder> some developers still wish to almost force a shutdown and update logic tho due to the nature of their snap package
[05:16] <toddc> ps aux | grep snap    kill  the pid in question then sudo snap refresh
[05:17] <arrayboltXE> tarel2: And if it's Firefox that's showing you the message, you can close it, and then run "sudo snap refresh" in a terminal to get it to update right then.
[05:18] <tarel2> It does not say a program
[05:18] <toddc> correct snap store is the only one that I found runs all the time giving me the 13 day notice warning
[05:18] <tarel2> This is where I wish my Linux foo was stronger
[05:19] <matsaman> here's some free fu: avoid snaps
[05:20] <tarel2> Well, Ubuntu has opted for those , I simple installed it.
[05:20] <toddc> I like snaps in general but either way it is a minor issue
[05:20] <Eickmeyer> Can we get this channel back to topic please?
[05:20] <tarel2> I wanted a working computer and openbsd is hard to write assembly for so here we are
[05:21] <Eickmeyer> !topic
[05:25] <tarel2> What is the topic , I am on Ubuntu computer
[05:25] <arrayboltXE> tarel2: I think Eickmeyer was annoyed with matsaman, not you.
[05:25] <arrayboltXE> The channel is supposed to be for technical support only, but it was veering into Snap-vs.-antiSnap debate.
[05:26] <tarel2> debate is funny
[05:26] <tarel2> You can use what ever
[05:26] <Eickmeyer> This is not a channel for debat.
[05:26] <Eickmeyer> *debate
[05:26] <tarel2> Ubuntu works so good normally I don't have any problems
[05:28] <tarel2> and even great on the pi but a bit buggy at times
[05:29] <matsaman> sounds like something a snap lover would say =P
[05:30] <Eickmeyer> matsaman: Do you have a support question?
[05:30] <tarel2> To be truthful , I'm so far away from understand all that , I don't know what I'm using.
[05:30] <matsaman> Eickmeyer: do you?
[05:30] <tarel2> Ok, can you change the username for the user your on right now?
[05:30] <matsaman> tarel2: did you still have a problem, or sorted?
[05:31] <arraybolt3> matsaman: Alright, that's enough.
[05:31] <tarel2> just the name , I wanted it the same for all  my systems. name only not password , even home directory
[05:31] <arraybolt3> tarel2: Lemme find out.
[05:31] <matsaman> tarel2: name?
[05:32] <tarel2> This I use the same name
[05:32] <tarel2> I have like 3 computers
[05:32] <matsaman> mmm
[05:32] <arraybolt3> tarel2: I think you can change your name, but not your *user* name.
[05:32] <arraybolt3> At least I can't change my user name from within Ubuntu Unity.
[05:32] <tarel2> so differences , I forget
[05:32] <arraybolt3> You can, however, create a new user and move your stuff over.
[05:33] <tarel2> What is move?
[05:33] <matsaman> tarel2: are you trying to change your user name?
[05:33] <Eickmeyer> matsaman: Please, let arraybolt3 handle this.
[05:33] <tarel2> Yes and that is it
[05:34] <matsaman> Eickmeyer: hi, welcome to IRC
[05:34] <Eickmeyer> matsaman: Hi! I'm the Ubuntu Studio lead!
[05:34] <tarel2> I know a user has a home directory , password and user goup
[05:34] <matsaman> tarel2: in an Ubuntu install you want to change your user name?
[05:34] <matsaman> Eickmeyer: Cool. Welcome to IRC!
[05:34] <matsaman> I'm matsaman
[05:34] <Eickmeyer> matsaman: Not my first rodeo.
[05:34] <matsaman> Eickmeyer: neat
[05:35] <Eickmeyer> matsaman: Please, let arraybolt3 handle this. I'm on the ops team.
[05:35] <matsaman> Eickmeyer: is there some rule that only ops should help in #ubuntu?
[05:35] <matsaman> that'd be a pretty silly rule =P
[05:35] <Eickmeyer> matsaman: No, but arraybolt3 is handling this and was here before you.
[05:35] <tarel2> NO I messed up the  name  and I did not realize until weeks later
[05:35] <matsaman> Eickmeyer: no, okay thanks for the info =P
[05:36] <tarel2> I don't know about anyone else but I forget user names and password, and having 3 system , get confusing at times.
[05:40] <tarel2> none of you have wanted to do something crazy like re-partition , the root while inside of it?
[05:46] <arrayboltXE> tarel2: OK, I'm back, sorry.
[05:47] <arrayboltXE> tarel2: By "move", you just make a new user account, and then quite literally move files from one account to the other with the "mv" command.
[05:47] <tarel2> Well, I have one system
[05:47] <arrayboltXE> tarel2: You can have multiple accounts on one system.
[05:48] <tarel2> and one big partition on a 3 tb drive
[05:48]  * arrayboltXE should probably learn to wait for all the info to come before jumping to conclusions :P
[05:48] <tarel2> SO when you say move to you mean , like  now the user owns that home folder or like moving the files some where?
[05:49] <arrayboltXE> I meant move like the same way you'd move files from one folder to another.
[05:49] <arrayboltXE> When you create a new user account, it has a home folder.
[05:49] <arrayboltXE> All you have to do in order to make your files available to the new user, is to move them from one home folder to another, and change their ownership.
[05:50] <arrayboltXE> tarel2: Can you open the Users and Groups window?
[05:50] <tarel2> Wow , I thought it be more then that
[05:50] <tarel2> it has a window?
[05:50] <arrayboltXE> Yeah. See the Application Menu in the lower-left corner of the screen?
[05:51] <arrayboltXE> Click that, and search for "Users", then click "User and Groups".
[05:51] <tarel2> ok have it up
[05:51] <arrayboltXE> Nice, now click "Add".
[05:51] <arrayboltXE> You'll probably need to type your password.
[05:51] <tarel2> I do this what do I do
[05:52] <arrayboltXE> Type your desired name and username into the "Create New User" popup, then click OK.
[05:52] <tarel2> like make a new user home folder next to my old one can copy the files and folder into it?
[05:52] <arrayboltXE> Just make the new user like this for now.
[05:52] <arrayboltXE> It will automatically make a HOme folder for the user when you do this, I believe.
[05:53] <arrayboltXE> tarel2: Once you click OK, type your password into the "New password" and "Confirmation" boxes.
[05:53] <arrayboltXE> You're just going to make a new account that will work as your user account, so you can use the same password here.
[05:53] <tarel2> ok, it lets you change the name  , and looks like you don't need to make a new user
[05:54] <tarel2> maybe I'm wrong but that is what it looks like
[05:54] <arrayboltXE> There's a difference between name and username.
[05:54] <arrayboltXE> For instance, my name on my computer is "Aaron Rainbolt", but my username is "arraybolt3".
[05:54] <arrayboltXE> I think you're wanting to change the username, not the name.
[05:54] <arrayboltXE> If you change the name, that will work, but your username will still be whatever it used to be.
[05:55] <tarel2> ok
[05:56] <morgan-u2> tarel2, you cannot alter a mounted partition. (I thought to say that because you asked if you could break up a partition while inside of it.)  sorry if this is irrlevant or late; to repartion a drive you boot from a an external usb or disk.
[05:56] <arrayboltXE> OK, once you have the new user made, there should be a spot that says "Account type:" and a button labeled "Change..." next to it. Click that.
[05:58] <tarel2> morgan-u2, I was just saying becuase sometime , I want to do crazy thing for the simple reason , I need to . I'm working on one computer
[06:12] <arrayboltXE> tarel2: How are things coming along?
[06:13] <tarel2> sorry
[06:13] <tarel2> What about auto login
[06:14] <tarel2> how you turn that off
[06:14] <tarel2> so I can login as that new user
[06:15] <arrayboltXE> tarel2: I think there's a switch for that in the Users and Groups window.
[06:15] <arrayboltXE> tarel2: Oh wait, I found it. Next to "Password: Autologin", click "Change...".
[06:15] <arrayboltXE> (I don't know if it will say "Autologin" exactly but you should be able to see the right button.)
[06:16] <arrayboltXE> Then uncheck "Don't ask for password on login", and click OK.
[06:16] <tarel2> I think I can do this
[06:16] <tarel2> I love Linux
[06:19]  * morgan-u2 likes tare12's last two lines
[06:19] <morgan-u2> my question is how can I turn my brightness down?
[06:19] <morgan-u2> not a laptop. Dell 22.04
[06:20] <arrayboltXE> Not sure how to do that from within Ubuntu. I usually use the settings on my monitor when I need to do that.
[06:20]  * morgan-u2 discovered that settings, about has a nice tech description of my computer and mate doesnt seem to have anything like that. Ah ha.
[06:21] <matsaman> morgan-u2: you could use 'xbacklight' to see if it works at all
[06:21] <matsaman> and then if so, hook something up to the ordinary keys on your keyboard, or whatever you please
[06:21] <arrayboltXE> Not a bad idea.
[06:21] <matsaman> I guess if you're on wayland, might need a different app, or to play with /sys/
[06:22] <arrayboltXE> Though I have yet to see an external monitor that didn't have a brightness setting somewhere in the controls.
[06:22] <morgan-u2> arrayboltXE, I do see there are controls and guessing how to use the 3..4 buttons involved will take some time to unravel.(.me remembers the VCR controls)
[06:23] <arrayboltXE> lol you should see me fumbling around with the buttons on my screen sometimes. They aren't marked in an intuitive way *at all* so the number of times I accidentally back out of things or whatever is hilarious.
[06:24] <morgan-u2> installing xxxbacklight
[06:24] <morgan-u2> haha error funny
[06:24] <matsaman> probably whatever '*backlight*' app you can install will work
[06:24] <morgan-u2> the make clothing invisible backlight
[06:24] <matsaman> if your DE can't map up & down brightness on its own, you can set it up yourself
[06:25] <morgan-u2> tell me how.  *xbacklight > no opuputs have backlight property
[06:25] <morgan-u2> outputs
[06:25] <matsaman> morgan-u2: mmm
[06:26] <arrayboltXE> morgan-u2: You may need to log out and log back in with the "Ubuntu on X" option if you want xbacklight to work.
[06:26] <matsaman> morgan-u2: so if you go to the physical controls of your monitor, does it have brightness up & down?
[06:26] <arrayboltXE> If you're using Ubuntu Desktop, you're probably using Wayland.
[06:28] <matsaman> you could also try brightnessctl, from the universe repo
[06:29] <morgan-u2> matsaman, yes I can see the list but havnt yet fount the ok button so that then I can go to brightness, ok that, then find the up down button pair.  It has it I am later on another day, go look at the manual for the monito or  maybe turn it upside down in the light and see if there are words next to the buttons.
[06:30] <matsaman> mmm
[06:30] <morgan-u2> arrayboltXE, ok where would I find the "Ubuntu on X" opion when I log back in? I dont recall ever seeing it.
[06:31] <morgan-u2> I am indeed using the vanilla ubuntu desktop with some tweak or other for the dock.
[06:32] <arrayboltXE> morgan-u2: When you see the password prompt, there's a gear in the lower-right corner that will open a menu if you click it.
[06:32] <arrayboltXE> That menu should have the option I was talking about in there.
[06:32] <morgan-u2> oh ok. question, what is the standard (forgot the word) -- is it lightdm ?
[06:33] <matsaman> display manager
[06:33] <matsaman> although most people would have an easier time thinking of them as a "login manager"
[06:33] <arrayboltXE> I think Ubuntu Desktop uses GDM by default.
[06:33] <morgan-u2> I tried to put the xcfe or xubuntu (dont know the diff) as an option on that little gear window (have not invoked it yet) and in the process I said ok to lightDM
[06:34] <matsaman> Xubuntu is Ubuntu with a preconfigured/customized/stylized Xfce install, as a distro
[06:34] <morgan-u2> what does it do that I changed to lightDM?  and who wrote those two
[06:34] <matsaman> Xfce in that gear might be "vanilla" Xfce, couldn't say
[06:35] <matsaman> I wouldn't expect lightdm in a list as an alternative to xfce...
[06:35] <matsaman> not sure what default is these days, possibly lightdm
[06:36] <morgan-u2> OK. ubuntu programs sometimes do not release the microphone and speakers. I hear that from messenger re calling. I have seen cheese hold onto it and fixed it by closing cheese. Today I was trying to do zoom and the mic was not active. - what can I do in such a case?
[06:37] <morgan-u2> - - punt, what I did was become a second person in the zoom session with my tablet. Bailing wire and tape, American style.
[06:38] <matsaman> sounds like it'd be something to do with pulseaudio or alsa
[06:39] <webchat23> Hi Support..
[06:39] <matsaman> whi
[06:39] <matsaman> hi, even
[06:40] <morgan-u2> matsaman, I dont know. will table that one.
[06:40] <webchat23> facing an issue while upgrading a server from ubuntu 18.04 to ubuntu 20.04
[06:40] <matsaman> oh yeah?
[06:40] <webchat23> running a command " do-release-upgrade"
[06:41] <morgan-u2> arrayboltXE, sadly brighnessctl runs and reports a lower value but the monitor brightness stays the same. .. Mama tried...
[06:41] <webchat23> the error is " CONNECTION TO THE SNAP STORE FAILED"
[06:41] <morgan-u2> see ya later friends
[06:41] <matsaman> morgan-u2: might want to check the /sys/ route, then
[06:42] <webchat23> whats the solution ?
[06:43] <webchat23> HI Tom
[06:44] <webchat23> Anybody have the solution?
[06:44] <matsaman> snaps =P
[06:49] <webchat23> We have a Ubuntu 18.04 server running on cloud. Now, We are trying to upgrade the server to Ubuntu release 20.04 using
[06:49] <webchat23> # sudo apt-get update
[06:49] <webchat23> # sudo apt-get upgrade -y
[06:49] <webchat23> # sudo apt-get dist-upgrade -y
[06:49] <webchat23> # sudo apt-get autoremove
[06:50] <webchat23> # sudo reboot
[07:03] <loganlee> hello i'm using ubuntu mate and although i added korean input in ibus settings when i switch to korean when typing it still types english and not korean. help would be appreciated!
[07:07] <mei_> why are you adding something in ibus instead of just using the keyboard preference somewhere in mate settings?
[07:07] <loganlee> i added korean in language setting then added korean in ibus settings too
[07:09] <mei_> did you remove "separate layout for each window"? and did you re-order the languages or selected the right one in the task bar?
[07:09] <mei_> i'm not yet sure why you are also dealing with ibus
[07:11] <mei_> https://ubuntu-mate.community/t/how-do-i-add-second-language-and-how-can-i-select-and-use-it/21664
[07:11] <mei_> did you follow this? since they seems to have solved with ibus
[07:13] <loganlee> yeh i read that thanks... i can switch to korean in ibus but it still types english
[07:17] <loganlee> gotta reboot
[08:17] <hermano> Trying to make pandas read_table to perform split when there unknown amount of combinations of whitespace and tabs.
[08:17] <hermano> https://bpa.st/WXRX6
[08:17] <hermano> ..but it only splits per word.
[08:17] <hermano> It should keep also the text inside quotes, intact.
[08:39] <jp358600> hello*
[09:15] <hermano> How can I, in python pandas read_table, keep string within double quotes to not split?
[09:15] <hermano> https://bpa.st/VKLZG
[09:45] <ogra> hermano, perhaps ask in a python relaed channel ...
[09:45] <hermano> ogra, sorry. Will move the question.
[10:11] <demo_> hello
[10:36] <Chunkyz> Morning all ❤️❣️
[11:38] <enyc> I'm trying to ask kep question, not sure where best to ask, I don't think it was answered before.
[11:38] <enyc> I'd like to add uefi boot capability to a system upgraded from  20.04 to 22.04 ...  now have a /boot/efi partition of type 0xEF (EFI system partition).
[11:38] <enyc>  installed grub-efi-amd64-bin and grub-efi-amd64-signed ... grub-install /dev/sda  doesn't help, presumably that is legacy-grub installer ...
[11:39] <enyc> I thought, new 22.04 installs now always support both legacy and uefi booting ,and use GPT regardless on new disk partitioning but for-certain the GPT isn't actually required. MBR will work fine too, this is how classic multi-bootable-disks hava always worked, etc.
[11:39] <enyc> I'd like to know how the ubiquity actually does set up this legacy and uefi combo in a way that works with the packafing sysem, which wasn't traditionally set-up to have grub-pcand grub-efi-amd64 at same time.
[11:39] <enyc> ** where is best to ask people familiar with the boot/installer stuff?
[11:41] <enyc> p.s. the /boot/efi fat is correctly in /etc/fstab
[11:57] <gjolly> enyc: have you tried something like grub-install --boot-directory=/boot --efi-directory=/boot/efi --target=x86_64-efi (assuming you are on x86_64)?
[12:00] <fauxpride> Hi, I'm having some trouble getting VP9 hardware decoding support to work on firefox under ubuntu 20.04. The CPU i7-6770HQ which has an iGPU that has VP9 decode support according to intel. I've set the i965 driver as default and it works for most codecs (like h264), but NOT for VP9.
[12:01] <fauxpride> I'm using youtube videos to test. My vainfo output is at: https://pastebin.com/Acy8jgvH
[12:01] <fauxpride> to test if video decode is working (aside from noticeable performance), i'm running intel_gpu_top and looking if there's any usage under the "Video" section.
[12:02] <fauxpride> anyone has any ideas on how I might get this to work?
[12:56] <fauxpride> Did some research on the above, and it seems my generation of CPUs (Skylake) only support VP9 decode via the "hybrid" Intel VAAPI driver. Arch seem to support it (https://aur.archlinux.org/packages/libva-intel-driver-hybrid) but I can't find it in any Ubuntu repos.
[12:56] <fauxpride> support/s
[13:02] <ravage> fauxpride: https://bugzilla.mozilla.org/show_bug.cgi?id=1684823
[13:02] -ubottu:#ubuntu- Mozilla bug 1684823 in Core "[X11] Enable VA-API for all formats" [--, Resolved: Worksforme]
[13:02] <ravage> this may still be the case
[13:03] <ravage> general guide: https://discourse.ubuntu.com/t/enabling-accelerated-video-decoding-in-firefox-on-ubuntu-21-04/22081
[13:09] <fauxpride> ravage, thanks. I'm going to try editing ~/.profile and adding those two exports from the second link, that should make it work on X11 too.
[13:09] <fauxpride> otherwise, i'll swtich to wayland altogether
[13:18] <eyax> how to change computer name from command line
[13:20] <fauxpride> ravage - i'm getting this export error when trying to follow one of the workarounds in your second link
[13:20] <fauxpride> $ export MOZ_X11_EGL=1 to /etc/environment
[13:20] <fauxpride> bash: export: `/etc/environment': not a valid identifier
[13:20] <fauxpride> something might be wrong with the syntax
[13:20] <fauxpride> any idea what?
[13:21] <ravage> eyax: https://i.imgur.com/o3Wz8tA.png
[13:21] <ravage> fauxpride: no need to use export in that file
[13:22] <eyax> ok thanks
[13:23] <fauxpride> ravage: not sure what the advice in the docs is. Is it to just append MOZ_X11_EGL=1 to /etc/environment, as a new line?
[13:23] <ravage> yes
[13:23] <fauxpride> ok, thanks. i'll try that.
[13:23] <ravage> at least  that will work
[13:24] <ravage> not sure how the snap version will behave really
[13:24] <ravage> never tried it
[13:28] <fauxpride> ravage: doesn't fix the problem. I'm starting to think this is a driver issue, not a X11 vs Wayland one.
[13:28] <fauxpride> I get no profile for VP9Decoding in vainfo with either of these workarounds.
[13:29] <fauxpride> https://pastebin.com/Acy8jgvH
[13:57] <lotuspsychj3> !version
[14:04] <enyc> gjolly: no I haven,t where did you get that command from?
[14:09] <gjolly> enyc: previous knowledge + grub man page. You can have a look at the ArchWiki too (which is great as usual): https://wiki.archlinux.org/title/GRUB. The default target is i386-pc that's why you command wasn't installing the EFI.
[14:10] <enyc> gjolly: THANKYOU
[14:14] <sven-tek> Hello channel. Do you know if there is a template or up2date example for writing and packaging a daemon (written in C) ? Last time i did such a thing the Linux version was about 3.10 or so ;-)
[14:17] <tarzeau> sven-tek: what are you packaging, and where are you stuck?
[14:25] <sven-tek> tarzeau: i want to write a small connector for my arduino sensor gateway, its gonna be a C-daemon acting with a ttyUSB and needs to create and feed some fifos. A quite small daemon that is supposed to be started before another daemon and restarted when crashed or ttyUSB device reconnects..
[14:27] <sven-tek> tarzeau: and where am i stuck. I wondered before i dive into the trial and error or learning latest systemd style doing things, if there would be anything like a template as i think kickin off a daemon should be a very typical developers problem.
[14:35] <yolo> I did not have auto-login but everytime after I login in with passwork, and open chrome, I'm always prompted by "the login keyring did not get unlocked", why is that
[14:36] <yolo> on 22.04, for 20.04 I did not have this
[14:37] <Menzador> yolo: Try changing your password
[14:37] <Menzador> then, if you don't get the error message, change it back
[14:38] <yolo> just change it on the command line?
[14:46] <sopparus> hello
[14:47] <sopparus> i tried to install memtest86 but apt never completed, now its broke. I tells me to do sudo dpkg --configure -a, but that gets stuck as well. and cant remove it either (I think)
[14:47] <sopparus> any ideas?
[14:49] <sopparus> im on 22.04 btw
[14:56] <sopparus>  dpkg --remove --force-remove-reinstreq  memtest86+:amd64 also get stuck
[15:46] <yolo> finally "fixed" my 4-min booting-22.04 problem: switched from nvidia driver to nouveau
[15:46] <linuxmodder> nvidia proper caused a 4 min boot time?>
[15:46] <linuxmodder> goodl ord
[15:46] <yolo> also the magic "keyring" prompt went away, all troubles went away except for one, now at boot time I need ctrl-c to call filesystem checking
[15:47] <linuxmodder> call or cancel?
[15:47] <yolo> yes 4m for the last month
[15:47] <yolo> cancel
[15:48] <yolo> https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1946192
[15:48] -ubottu:#ubuntu- Launchpad bug 1946192 in systemd (Ubuntu) "'Press Ctrl+C to cancel all filesystem checks in process' on every boot" [Low, Confirmed]
[15:48] <yolo> I can't get it why it has anything to do with a video driver, it's the only change I made
[15:50] <yolo> /dev/sda4 on /boot/efi  -- should efi not be mounted by default?
[15:52] <leftyfb> yolo: don't cancel it, let it finish. Or better yet, boot to a live usb and run fsck on all the filesystems that normally get mounted. Twice
[15:53] <yolo> leftyfb: it came up each time, and the hard drive is 2TB with 3 partitions, could take a very long time. I'm to reboot and see how long the whole thing takes, I always ctrl-c
[15:53] <WaV> i use the nvidia 470 driver as it seems to be the only one that works for me.
[15:54] <WaV> anything newer my card doesnt seem to work right
[15:56] <yolo> so, it checks fs for each boot now, takes 9 seconds each, I will live with it
[15:56] <yolo> better than that stupid 3-4 minutes nvidia driving wait-for-ever
[15:57] <yolo> so far 22.04 gave me way more headaches than 20.04, should wait for one more year to upgrade :(
[15:59] <jhutchins> WaV: I think Nvidia has a web page that lists their Linux drivers and lists the chipsets that each one supports.  That might point you to a better match.
[16:13] <WaV> jhutchins: I was just joining in on yolo's conversation.
[16:17] <WaV> Either way, Nvidia's website says the 525 driver will support my card, and I've found that 470 provides better functionality.
[16:31] <Delemas> I need to file a bug concerning the nvidia-settings package inability to save config files due to missing permissions on /usr/share/screen-resolution-extra/nvidia-polkit. I have a tested fix. There is a bug from 2016 with no response. Should I file new bug and ignore the old one?
[16:32] <Delemas> The old bug was 1625119 if that matters.
[16:33] <lotuspsychj3> bug #1625119
[16:33] -ubottu:#ubuntu- Bug 1625119 in nvidia-settings (Ubuntu) "Nvidia settings can't be saved" [Undecided, New] https://launchpad.net/bugs/1625119
[16:35] <Delemas> Basicially that tool needs to be able to write an xorg.conf file when running as root so the absolute minimum permission needed for that tool to work as root is a chmod u+x /usr/share/screen-resolution-extra/nvidia-polkit
[16:38] <Delemas> The file was 644 on my system which cause it to not be able to get the permissions needed to write the configuration file.
[16:58] <Delemas> Ah well crickets on IRC... I told Nvidia about it, confirmed the bug and updated that bug with the fix. Hopefully someone will implement the fix.
[17:08] <tomreyn> Delemas: bug triage does not take place here, so there will be crickets when you don't have a support question / answer here most of the time. i would recommend filing a new bug report if an issue you are reporting about is (just) 'similar' (not identical) to a previously reported bug. especially if it's a bug which has had no activity for years.
[17:08] <tomreyn> (and was filed against a much older, now unmaintained, release)
[17:08] <Delemas> Thanks will do.
[17:16] <Roey> hey why doesn't my computer respond to ping?
[17:17] <leftyfb> Roey: you're going to have to provide way more context and information than that
[17:17] <happymeal> because its set not to
[17:18] <leftyfb> Roey: what release of ubuntu are you running? Desktop or server? What OS is the client machine you're trying to ping from running? Are you pinging the ip or the hostname? Are they on the same network? local ip or public? Do you have a firewall (UFW?) running on either side?
[17:19] <Roey> kubuntu 22.10
[17:19] <Roey> client is also kubuntu 22.10
[17:20] <Roey> I am pinging the server's IP address
[17:20] <Roey> they are on the same sement
[17:20] <Roey> local ip.
[17:20] <Roey> I have  afirewall on the server, not sure that it's set to disallow icmp though
[17:20] <leftyfb> Roey: more than likely
[17:20] <Roey> which rules prevent icmp in /etc/network/iptables
[17:21] <Roey> I can ssh into the server from the client
[17:21] <Roey> just not ping it, for some reason
[17:21] <leftyfb> Roey: that file is not standard in any release of Ubuntu. That would be a manually created ruleset by a manually created mechanism.
[17:21] <Roey> leftyfb: yes, I created it.
[17:22] <leftyfb> Roey: ok, then you should be good to edit it to suit your needs
[17:22] <Roey> perhaps there's a rule there that I should put in to allow pings.
[17:22] <Roey> leftyfb: yes.  I'm trying to figure out why it isn't responding to pings, though.
[17:22] <leftyfb> Roey: because of the firewall
[17:23] <Roey> ok, so again I'm asking, which rule allows it to respond to icmp requests?
[17:23] <leftyfb> Roey: https://www.cyberciti.biz/tips/linux-iptables-9-allow-icmp-ping.html  first result on google for "iptables allow ping"
[17:23] <Roey> 	
[17:23] <Roey> iptables -A INPUT -p icmp -j ACCEPT
[17:24] <Roey> yes I was following that, thanks leftyfb
[17:25] <Roey> leftyfb: alright; I ran "iptables -A INPUT -p icmp -j ACCEPT", and now I can ping the server from the client fine.  However, when I try to ping the server's tun0 interface (on 10.100.10.1--I'm running openvpn on the server, and have a session established from the client), I don't get a response
[17:28] <leftyfb> Roey: did you run the command above or did you add it to your rules file and run iptables-restore?
[17:28] <tomreyn> if you are going to continue to maintain your own iptables based firewall, learning the very basics about it (such as chains and their meanings) will be useful.
[17:29] <tomreyn> also rule order and their impact
[17:30] <leftyfb> tomreyn: nonsense, plenty of people run exploited servers that don't know the first thing about firewalls or proper security :)
[17:30] <Roey> leftyfb: I ran the command above.
[17:31] <leftyfb> Roey: do the latter
[17:31] <Roey> what'st he latter
[17:31] <leftyfb> Roey: and make sure the rule is above all DROP rules
[17:31] <Roey> which latter?
[17:31] <leftyfb> Roey: because this is how you properly setup and test your rules
[17:31] <Roey> leftyfb:  ok,
[17:34] <Roey> leftyfb: btw... I have this in my /etc/network/iptables: https://dpaste.com/73TSSFDPM  <- is the order wrong here?
[17:34] <Roey> should filter above all?
[17:35] <leftyfb> Roey: you REALLY need to go read up on how to setup proper firewall rules. Asking one-off questions here is not going to give you the proper understanding of iptables rules that you require
[17:35] <Roey> ok
[17:35] <leftyfb> Roey: that is a very poor ruleset
[17:36] <Roey> ok
[17:36] <Roey> how would you restructure it?
[17:36] <happymeal> lol
[17:37] <happymeal> can i ask what made you go with iptables?
[17:37] <happymeal> instead of the ubuntu default?
[17:37] <leftyfb> happymeal: ufw uses iptables in the back end
[17:37] <happymeal> ah
[17:38] <leftyfb> but you do have a point
[17:38] <leftyfb> ufw might be better in this case
[17:38] <happymeal> got the wrong impression from tomreyn's message
[17:38] <leftyfb> Roey: since you have zero actual rules for blocking or allowing, what exactly are you trying to accomplish with iptables and why?
[17:39] <Roey> leftyfb: oh this is not my full ruleset, it's just the start of it.
[17:40] <leftyfb> Roey: when pasting things like iptables rulesets, unless you already know what you are doing, it is best to paste the entire thing
[17:43] <Roey> leftyfb: https://dpaste.com/5TBNA2RPL
[17:45] <Roey> leftyfb: so with openvpn I am tryng to figure out why even though the client establishes a session with the server just fine, when I try to load a web page on the client, it times out.
[17:45] <Roey> I've enbaled nat on the server
[17:45] <Roey> er, ip_forward
[17:46] <leftyfb> Roey: with a proper openvpn setup, you don't need to be messing with iptables at all, other than block everything except the ports needed for openvpn
[17:46] <Roey> ok
[17:52] <Delemas> Ok I posted it as a papercut bug #2003004
[17:52] -ubottu:#ubuntu- Bug 2003004 in nvidia-settings (Ubuntu) "Cannot write X config due to missing u+x permissions on nvidia-polkit" [Undecided, New] https://launchpad.net/bugs/2003004
[17:53] <leftyfb> do they still do papercuts?
[17:53] <Delemas> No idea. Ubuntu support is a mystery to me...
[17:53] <qqz> Hi, is this the right channel to ask about package uploads to launchpad?
[17:54] <leftyfb> qqz: try #launchpad
[17:54] <tomreyn> qqz: see the /topic there, too
[17:56] <Delemas> The main reason I did that is as far as I can tell from what I read online is the bug may sit unconfirmed and ignored forever if it doesn't get confirmed and makes it through triage.
[18:17] <jhutchins> Delemas: It's odd that writing a file would require a +x permission.  Is that for the file or the containing folder?
[18:18] <jhutchins> One might expect +w.
[18:19] <Delemas> I think the point is something is trying to execute nvidia-polkit in order to get the permissions to write /etc/X11/xorg.conf. The change isn't on /etc/X11/xorg.conf.
[18:20] <jhutchins> Ah.
[18:21] <jhutchins> Logically a system-wide config file would NOT be writable by a user-level account, it would require root privileges.
[18:21] <Delemas> Hence limiting the change to u+x. The file is owned by root.
[18:22] <jhutchins> Delemas: Root should be able to write to any file unless that file is write-locked by another application (or there is a filesystem error).
[18:22] <Delemas> If you wanted to make the user in the old bug happy and ignore security then other permissions could be set but that would bork security.
[18:23] <jhutchins> If root can't write to the file, the problem is not permissions.
[18:25] <Delemas> The tool is how nvidia-settings writes out that file. If it cannot execute it, it cannot write. Straight forward?
[18:28] <Delemas> One could argue the tools could be changed to not need u+x but it isn't written that way currently. Fixing it that way would require upstream changes unlikely to get changed not a trivial packaging fix.
[18:30] <ogra> jhutchins, nvidia-polkit is a hook that triggers a policykit popup to grant the app root privs for writing the file (polkit is the new gsudo 😉 )
[18:31] <Delemas> Ah that's a much better explaination. :)
[18:55] <Roey> leftyfb: hey there
[18:55] <Roey> leftyfb: so I am trying with an empty iptables ruleset now.
[19:11] <barg> which versions of ubuntu have been most unpopular and considered to be downgrades?
[19:12] <leftyfb> barg: this is a support channel. Do you have a specific issue you would like help with?
[19:12] <leftyfb> !discuss | barg
[19:12] <barg> ok, thanks
[19:20] <FKAShinobi> are pidfiles stored in a central location in Ubuntu?
[19:34] <BenC> Generally in /run/ but it’s up to the process
[20:14] <mozambique> Hello, I'm 214208125, I would like to ask you to join the chat in Libera and Freenode, so the channel brings together more people and there is multi-networking.
[20:14] <mozambique> I think that #ubuntu would be stronger with support on 2 networks, what do you think can be done, having 2 networks with the same channel and twice as many people?
[20:16] <leftyfb> !ot | mozambique
[20:22] <Gaming_Altra> Hi
[20:22] <lx400001222> Hi
[20:25] <lx400001222> Anyone is on this chat server?
[20:25] <leftyfb> lx400001222: this is a support channel. If you would like to chat, feel free to /join #ubuntu-offtopic
[20:26] <makumba> everything off topic
[20:26] <leftyfb> makumba: this is a support channel
[20:31] <yolo> my 4-min bootup slowness was not actually caused by nvidia driver, it's the 'ubuntu x11' mode, with 'wayland' it boots up in seconds
[20:31] <yolo> bad news is that wayland made a few apps failed to work, e.g. flameshot
[20:40] <cbreak> you got wayland to work with nvidia?
[21:18] <src> what's the way to do an minimal ubuntu install (ideall no DE/wm no xorg no snapd etc)? just pick the server image?
[21:18] <src> wasn't there a mini.iso or something similar at one point? does it still exist?
[21:18] <leftyfb> src: there's no mini.iso anymore
[21:18] <leftyfb> just use the server install
[21:18] <src> leftyfb: alright can I have it not install snap?
[21:19] <leftyfb> src: no
[21:19] <src> or do I have to manually prune snapd after install?
[21:19] <src> alright, the latter then
[21:19] <src> thanks a lot, trivial questions but surprisingly not easy to find up to date answers to
[21:49] <FKAShinobi> Is there a pid file for ufw?
[21:54] <leftyfb> FKAShinobi: why?
[21:54] <ravage> it is not really a daemon
[21:54] <ravage> so probably not
[21:54] <ravage> service type is "oneshot" and it just executes "/lib/ufw/ufw-init start quiet"
[21:55] <ravage> and "/lib/ufw/ufw-init stop" on stop
[22:49] <jhutchins> FKAShinobi: UFW writes ipfilter/iptables rules that are applied by the kernel.  It runs at start-up, not live.
[22:50] <Habbie> also pid files are bad