[00:09] mort: You could always donate more hardware and volunteer support time. [00:11] 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. === guiverc2 is now known as guiverc [00:39] greetings [00:39] hello [00:42] Anyone else watching NFL? [00:42] !ot | djaburg [00:42] djaburg: #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! [00:43] Fair enough...somewhat new to IRC and Ubuntu Studio. [01:04] 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] I think I need to look in pam.d for the motd setting [02:01] mcint: there is no /etc/motd in ubuntu by default [02:03] mcint: the proper solution would be to create a file /etc/update-motd.d/00-[a-g]* or replace 00-header === chris14_ is now known as chris14 [02:34] 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] sams: If you can't get any answers here, you might try asking in #gamingonlinux. [02:35] thanks i'll try there seems more appropriate [04:04] ravage: Thanks for your help last night. I got everything working. [04:04] yay [04:04] Does Canonical have an IRC channel for Ubuntu on the Raspberry Pi? [04:04] how did you get it working [04:06] 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] Phalanxer: they're not organized by architecture but by desktop environment; so you can use this one, #ubuntu [04:07] Now I need to figure out how to enable hardware video decoding in Ubuntu Server 22.04 LTS on the Raspberry Pi. [04:07] Phalanxer: there is an unofficial #raspberrypi it is for all distros not just ubuntu [04:07] Thanks alkisg. [04:07] and yes this channel is fine [04:07] Awesome thanks gry! [04:07] thank you :) [04:08] I'm guessing hardware acceleration libraries were not included in the server vesion since it comes in command line only. [04:09] I had no choice but to install server as installation could be done headless only. Desktop does not suppprt headless installation. [04:18] Does anyone know how to get hardware encoding working on the Pi 4 in Ubuntu Server 22.04? [04:19] 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] 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] Alkisg haha yes. My Pi has only 40 MB of internet access left. [04:23] So enabling 3D acceleration is what I need? Makes sense. [04:24] Phalanxer32: yes you need to solve that problem :) [04:25] 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] Phalanxer32: you don't need a VM. You can decompress it in your desktop, and run dpkg -l with the root= parameter [04:26] That will get you the list, and you can compare it with the dpkg -l of your "server" installation === csexecs-linux is now known as linuxmodder [04:28] 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] My desktop is Windows 10. Can't handle Ubuntu as a daily driver. :P [04:31] Setting up on VM is too much hassle for me. :) i just used the official installation docs [04:31] It is my first time with a Pi. I wanted to officially experience it lol [04:32] Phalanxer32: right, that's why I said "you don't need a VM" [04:33] Installing server, then going through all that is certainly not an official experience! [04:34] Hah yeah [04:34] A bug in 20.04 ruined the experience [04:35] 20.04 is the VM on my PC acting as a hotspot which I have passed through my WiFi dongle into [04:35] There is an authentication bug in NetworkManager service [04:35] Hostapd looked like hell to setup. Hopeless documentation [04:36] Save yourself the sufferring and buy an ethernet cable with a couple of €/$ [04:36] So I hotspoted the Pi and 22.04 to my phone, the phone acts like a bridge [04:36] Exactly alkisg [04:37] I was on a deadline tobget it working by 6am [04:38] Im off. My head hurts. Bye :) [04:38] 👋 [05:12] 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] tarel2: Some Snaps can only update safely when an application is off. [05:12] If you don't turn it off and the update time rolls around, it skips it. [05:13] But it can only do that for so long before leaving security holes in the system that really need to be patched. [05:13] 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] (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] (I believe the developers are working on a fix for that.) [05:15] Wow ok, cool , its nice to know that now. [05:15] If it bothers you you can manually kill it and update it [05:15] some developers still wish to almost force a shutdown and update logic tho due to the nature of their snap package [05:16] ps aux | grep snap kill the pid in question then sudo snap refresh [05:17] 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] It does not say a program [05:18] correct snap store is the only one that I found runs all the time giving me the 13 day notice warning [05:18] This is where I wish my Linux foo was stronger [05:19] here's some free fu: avoid snaps [05:20] Well, Ubuntu has opted for those , I simple installed it. [05:20] I like snaps in general but either way it is a minor issue [05:20] Can we get this channel back to topic please? [05:20] I wanted a working computer and openbsd is hard to write assembly for so here we are [05:21] !topic [05:21] Please read the channel topic whenever you enter, as it contains important information. To view it at any time after joining, simply type /topic [05:25] What is the topic , I am on Ubuntu computer [05:25] tarel2: I think Eickmeyer was annoyed with matsaman, not you. [05:25] The channel is supposed to be for technical support only, but it was veering into Snap-vs.-antiSnap debate. [05:26] debate is funny [05:26] You can use what ever [05:26] This is not a channel for debat. [05:26] *debate [05:26] Ubuntu works so good normally I don't have any problems [05:28] and even great on the pi but a bit buggy at times [05:29] sounds like something a snap lover would say =P [05:30] matsaman: Do you have a support question? [05:30] To be truthful , I'm so far away from understand all that , I don't know what I'm using. [05:30] Eickmeyer: do you? [05:30] Ok, can you change the username for the user your on right now? [05:30] tarel2: did you still have a problem, or sorted? [05:31] matsaman: Alright, that's enough. [05:31] just the name , I wanted it the same for all  my systems. name only not password , even home directory [05:31] tarel2: Lemme find out. [05:31] tarel2: name? [05:32] This I use the same name [05:32] I have like 3 computers [05:32] mmm [05:32] tarel2: I think you can change your name, but not your *user* name. [05:32] At least I can't change my user name from within Ubuntu Unity. [05:32] so differences , I forget [05:32] You can, however, create a new user and move your stuff over. [05:33] What is move? [05:33] tarel2: are you trying to change your user name? [05:33] matsaman: Please, let arraybolt3 handle this. [05:33] Yes and that is it [05:34] Eickmeyer: hi, welcome to IRC [05:34] matsaman: Hi! I'm the Ubuntu Studio lead! [05:34] I know a user has a home directory , password and user goup [05:34] tarel2: in an Ubuntu install you want to change your user name? [05:34] Eickmeyer: Cool. Welcome to IRC! [05:34] I'm matsaman [05:34] matsaman: Not my first rodeo. [05:34] Eickmeyer: neat [05:35] matsaman: Please, let arraybolt3 handle this. I'm on the ops team. [05:35] Eickmeyer: is there some rule that only ops should help in #ubuntu? [05:35] that'd be a pretty silly rule =P [05:35] matsaman: No, but arraybolt3 is handling this and was here before you. [05:35] NO I messed up the  name  and I did not realize until weeks later [05:35] Eickmeyer: no, okay thanks for the info =P [05:36] I don't know about anyone else but I forget user names and password, and having 3 system , get confusing at times. [05:40] none of you have wanted to do something crazy like re-partition , the root while inside of it? [05:46] tarel2: OK, I'm back, sorry. [05:47] 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] Well, I have one system [05:47] tarel2: You can have multiple accounts on one system. [05:48] 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] 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] I meant move like the same way you'd move files from one folder to another. [05:49] When you create a new user account, it has a home folder. [05:49] 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] tarel2: Can you open the Users and Groups window? [05:50] Wow , I thought it be more then that [05:50] it has a window? [05:50] Yeah. See the Application Menu in the lower-left corner of the screen? [05:51] Click that, and search for "Users", then click "User and Groups". [05:51] ok have it up [05:51] Nice, now click "Add". [05:51] You'll probably need to type your password. [05:51] I do this what do I do [05:52] Type your desired name and username into the "Create New User" popup, then click OK. [05:52] like make a new user home folder next to my old one can copy the files and folder into it? [05:52] Just make the new user like this for now. [05:52] It will automatically make a HOme folder for the user when you do this, I believe. [05:53] tarel2: Once you click OK, type your password into the "New password" and "Confirmation" boxes. [05:53] 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] ok, it lets you change the name  , and looks like you don't need to make a new user [05:54] maybe I'm wrong but that is what it looks like [05:54] There's a difference between name and username. [05:54] For instance, my name on my computer is "Aaron Rainbolt", but my username is "arraybolt3". [05:54] I think you're wanting to change the username, not the name. [05:54] If you change the name, that will work, but your username will still be whatever it used to be. [05:55] ok [05:56] 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] 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] 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] tarel2: How are things coming along? [06:13] sorry [06:13] What about auto login [06:14] how you turn that off [06:14] so I can login as that new user [06:15] tarel2: I think there's a switch for that in the Users and Groups window. [06:15] tarel2: Oh wait, I found it. Next to "Password: Autologin", click "Change...". [06:15] (I don't know if it will say "Autologin" exactly but you should be able to see the right button.) [06:16] Then uncheck "Don't ask for password on login", and click OK. [06:16] I think I can do this [06:16] I love Linux [06:19] * morgan-u2 likes tare12's last two lines [06:19] my question is how can I turn my brightness down? [06:19] not a laptop. Dell 22.04 [06:20] 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] morgan-u2: you could use 'xbacklight' to see if it works at all [06:21] and then if so, hook something up to the ordinary keys on your keyboard, or whatever you please [06:21] Not a bad idea. [06:21] I guess if you're on wayland, might need a different app, or to play with /sys/ [06:22] Though I have yet to see an external monitor that didn't have a brightness setting somewhere in the controls. [06:22] 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] 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] installing xxxbacklight [06:24] haha error funny [06:24] probably whatever '*backlight*' app you can install will work [06:24] the make clothing invisible backlight [06:24] if your DE can't map up & down brightness on its own, you can set it up yourself [06:25] tell me how. *xbacklight > no opuputs have backlight property [06:25] outputs [06:25] morgan-u2: mmm [06:26] 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] morgan-u2: so if you go to the physical controls of your monitor, does it have brightness up & down? [06:26] If you're using Ubuntu Desktop, you're probably using Wayland. [06:28] you could also try brightnessctl, from the universe repo [06:29] 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] mmm [06:30] arrayboltXE, ok where would I find the "Ubuntu on X" opion when I log back in? I dont recall ever seeing it. [06:31] I am indeed using the vanilla ubuntu desktop with some tweak or other for the dock. [06:32] 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] That menu should have the option I was talking about in there. [06:32] oh ok. question, what is the standard (forgot the word) -- is it lightdm ? [06:33] display manager [06:33] although most people would have an easier time thinking of them as a "login manager" [06:33] I think Ubuntu Desktop uses GDM by default. [06:33] 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] Xubuntu is Ubuntu with a preconfigured/customized/stylized Xfce install, as a distro [06:34] what does it do that I changed to lightDM? and who wrote those two [06:34] Xfce in that gear might be "vanilla" Xfce, couldn't say [06:35] I wouldn't expect lightdm in a list as an alternative to xfce... [06:35] not sure what default is these days, possibly lightdm [06:36] 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] - - punt, what I did was become a second person in the zoom session with my tablet. Bailing wire and tape, American style. [06:38] sounds like it'd be something to do with pulseaudio or alsa [06:39] Hi Support.. [06:39] whi [06:39] hi, even [06:40] matsaman, I dont know. will table that one. [06:40] facing an issue while upgrading a server from ubuntu 18.04 to ubuntu 20.04 [06:40] oh yeah? [06:40] running a command " do-release-upgrade" [06:41] arrayboltXE, sadly brighnessctl runs and reports a lower value but the monitor brightness stays the same. .. Mama tried... [06:41] the error is " CONNECTION TO THE SNAP STORE FAILED" [06:41] see ya later friends [06:41] morgan-u2: might want to check the /sys/ route, then [06:42] whats the solution ? [06:43] HI Tom [06:44] Anybody have the solution? [06:44] snaps =P [06:49] 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] # sudo apt-get update [06:49] # sudo apt-get upgrade -y [06:49] # sudo apt-get dist-upgrade -y [06:49] # sudo apt-get autoremove [06:50] # sudo reboot [07:03] 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] why are you adding something in ibus instead of just using the keyboard preference somewhere in mate settings? [07:07] i added korean in language setting then added korean in ibus settings too [07:09] 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] i'm not yet sure why you are also dealing with ibus [07:11] https://ubuntu-mate.community/t/how-do-i-add-second-language-and-how-can-i-select-and-use-it/21664 [07:11] did you follow this? since they seems to have solved with ibus [07:13] yeh i read that thanks... i can switch to korean in ibus but it still types english [07:17] gotta reboot [08:17] Trying to make pandas read_table to perform split when there unknown amount of combinations of whitespace and tabs. [08:17] https://bpa.st/WXRX6 [08:17] ..but it only splits per word. [08:17] It should keep also the text inside quotes, intact. [08:39] hello* === xenial is now known as Guest1778 [09:15] How can I, in python pandas read_table, keep string within double quotes to not split? [09:15] https://bpa.st/VKLZG [09:45] hermano, perhaps ask in a python relaed channel ... [09:45] ogra, sorry. Will move the question. [10:11] hello [10:36] Morning all ❤️❣️ [11:38] I'm trying to ask kep question, not sure where best to ask, I don't think it was answered before. [11:38] 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] 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] 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] 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] ** where is best to ask people familiar with the boot/installer stuff? [11:41] p.s. the /boot/efi fat is correctly in /etc/fstab [11:57] 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] 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] I'm using youtube videos to test. My vainfo output is at: https://pastebin.com/Acy8jgvH [12:01] 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] anyone has any ideas on how I might get this to work? === bumbar is now known as ry`an [12:56] 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] support/s [13:02] 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] this may still be the case [13:03] general guide: https://discourse.ubuntu.com/t/enabling-accelerated-video-decoding-in-firefox-on-ubuntu-21-04/22081 [13:09] 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] otherwise, i'll swtich to wayland altogether === mei is now known as Guest1951 === mei_ is now known as mei [13:18] how to change computer name from command line [13:20] ravage - i'm getting this export error when trying to follow one of the workarounds in your second link [13:20] $ export MOZ_X11_EGL=1 to /etc/environment [13:20] bash: export: `/etc/environment': not a valid identifier [13:20] something might be wrong with the syntax [13:20] any idea what? [13:21] eyax: https://i.imgur.com/o3Wz8tA.png [13:21] fauxpride: no need to use export in that file [13:22] ok thanks [13:23] 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] yes [13:23] ok, thanks. i'll try that. [13:23] at least that will work [13:24] not sure how the snap version will behave really [13:24] never tried it [13:28] ravage: doesn't fix the problem. I'm starting to think this is a driver issue, not a X11 vs Wayland one. [13:28] I get no profile for VP9Decoding in vainfo with either of these workarounds. [13:29] https://pastebin.com/Acy8jgvH [13:57] !version [13:57] To find out what version of Ubuntu you have, type « lsb_release -a » in a !shell - To know the available version of a package, « apt-cache policy » [14:04] gjolly: no I haven,t where did you get that command from? [14:09] 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] gjolly: THANKYOU [14:14] 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] sven-tek: what are you packaging, and where are you stuck? [14:25] 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] 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] 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] on 22.04, for 20.04 I did not have this [14:37] yolo: Try changing your password [14:37] then, if you don't get the error message, change it back [14:38] just change it on the command line? [14:46] hello [14:47] 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] any ideas? [14:49] im on 22.04 btw [14:56] dpkg --remove --force-remove-reinstreq memtest86+:amd64 also get stuck [15:46] finally "fixed" my 4-min booting-22.04 problem: switched from nvidia driver to nouveau [15:46] nvidia proper caused a 4 min boot time?> [15:46] goodl ord [15:46] 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] call or cancel? [15:47] yes 4m for the last month [15:47] cancel [15:48] 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] I can't get it why it has anything to do with a video driver, it's the only change I made [15:50] /dev/sda4 on /boot/efi -- should efi not be mounted by default? [15:52] 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] 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] i use the nvidia 470 driver as it seems to be the only one that works for me. [15:54] anything newer my card doesnt seem to work right [15:56] so, it checks fs for each boot now, takes 9 seconds each, I will live with it [15:56] better than that stupid 3-4 minutes nvidia driving wait-for-ever [15:57] so far 22.04 gave me way more headaches than 20.04, should wait for one more year to upgrade :( [15:59] 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] jhutchins: I was just joining in on yolo's conversation. [16:17] Either way, Nvidia's website says the 525 driver will support my card, and I've found that 470 provides better functionality. [16:31] 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] The old bug was 1625119 if that matters. [16:33] 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] 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] 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] 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] 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] (and was filed against a much older, now unmaintained, release) [17:08] Thanks will do. [17:16] hey why doesn't my computer respond to ping? [17:17] Roey: you're going to have to provide way more context and information than that [17:17] because its set not to [17:18] 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] kubuntu 22.10 [17:19] client is also kubuntu 22.10 [17:20] I am pinging the server's IP address [17:20] they are on the same sement [17:20] local ip. [17:20] I have afirewall on the server, not sure that it's set to disallow icmp though [17:20] Roey: more than likely [17:20] which rules prevent icmp in /etc/network/iptables [17:21] I can ssh into the server from the client [17:21] just not ping it, for some reason [17:21] 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] leftyfb: yes, I created it. [17:22] Roey: ok, then you should be good to edit it to suit your needs [17:22] perhaps there's a rule there that I should put in to allow pings. [17:22] leftyfb: yes. I'm trying to figure out why it isn't responding to pings, though. [17:22] Roey: because of the firewall [17:23] ok, so again I'm asking, which rule allows it to respond to icmp requests? [17:23] Roey: https://www.cyberciti.biz/tips/linux-iptables-9-allow-icmp-ping.html first result on google for "iptables allow ping" [17:23] [17:23] iptables -A INPUT -p icmp -j ACCEPT [17:24] yes I was following that, thanks leftyfb [17:25] 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] Roey: did you run the command above or did you add it to your rules file and run iptables-restore? [17:28] 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] also rule order and their impact [17:30] tomreyn: nonsense, plenty of people run exploited servers that don't know the first thing about firewalls or proper security :) [17:30] leftyfb: I ran the command above. [17:31] Roey: do the latter [17:31] what'st he latter [17:31] Roey: and make sure the rule is above all DROP rules [17:31] which latter? [17:31] Roey: because this is how you properly setup and test your rules [17:31] leftyfb: ok, [17:34] leftyfb: btw... I have this in my /etc/network/iptables: https://dpaste.com/73TSSFDPM <- is the order wrong here? [17:34] should filter above all? [17:35] 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] ok [17:35] Roey: that is a very poor ruleset [17:36] ok [17:36] how would you restructure it? [17:36] lol [17:37] can i ask what made you go with iptables? [17:37] instead of the ubuntu default? [17:37] happymeal: ufw uses iptables in the back end [17:37] ah [17:38] but you do have a point [17:38] ufw might be better in this case [17:38] got the wrong impression from tomreyn's message [17:38] Roey: since you have zero actual rules for blocking or allowing, what exactly are you trying to accomplish with iptables and why? [17:39] leftyfb: oh this is not my full ruleset, it's just the start of it. [17:40] 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] leftyfb: https://dpaste.com/5TBNA2RPL [17:45] 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] I've enbaled nat on the server [17:45] er, ip_forward [17:46] 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] ok [17:52] 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] do they still do papercuts? [17:53] No idea. Ubuntu support is a mystery to me... [17:53] Hi, is this the right channel to ask about package uploads to launchpad? [17:54] qqz: try #launchpad [17:54] qqz: see the /topic there, too [17:56] 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] Delemas: It's odd that writing a file would require a +x permission. Is that for the file or the containing folder? [18:18] One might expect +w. [18:19] 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] Ah. [18:21] Logically a system-wide config file would NOT be writable by a user-level account, it would require root privileges. === JohnnyonF is now known as JohnnyonFlame [18:21] Hence limiting the change to u+x. The file is owned by root. [18:22] 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] 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] If root can't write to the file, the problem is not permissions. [18:25] The tool is how nvidia-settings writes out that file. If it cannot execute it, it cannot write. Straight forward? [18:28] 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] 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] Ah that's a much better explaination. :) === arrayboltXE is now known as Guest69 [18:55] leftyfb: hey there [18:55] leftyfb: so I am trying with an empty iptables ruleset now. === Guest69 is now known as arrayboltXE [19:11] which versions of ubuntu have been most unpopular and considered to be downgrades? [19:12] barg: this is a support channel. Do you have a specific issue you would like help with? [19:12] !discuss | barg [19:12] barg: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [19:12] ok, thanks === Nullifi31 is now known as Nullifi3d [19:20] are pidfiles stored in a central location in Ubuntu? === arrayboltXE_ is now known as arrayboltXE [19:34] Generally in /run/ but it’s up to the process [20:14] 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] 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] !ot | mozambique [20:16] mozambique: #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! [20:22] Hi [20:22] Hi [20:25] Anyone is on this chat server? [20:25] lx400001222: this is a support channel. If you would like to chat, feel free to /join #ubuntu-offtopic [20:26] everything off topic [20:26] makumba: this is a support channel [20:31] 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] bad news is that wayland made a few apps failed to work, e.g. flameshot [20:40] you got wayland to work with nvidia? [21:18] 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] wasn't there a mini.iso or something similar at one point? does it still exist? [21:18] src: there's no mini.iso anymore [21:18] just use the server install [21:18] leftyfb: alright can I have it not install snap? [21:19] src: no [21:19] or do I have to manually prune snapd after install? [21:19] alright, the latter then [21:19] thanks a lot, trivial questions but surprisingly not easy to find up to date answers to [21:49] Is there a pid file for ufw? [21:54] FKAShinobi: why? [21:54] it is not really a daemon [21:54] so probably not [21:54] service type is "oneshot" and it just executes "/lib/ufw/ufw-init start quiet" [21:55] and "/lib/ufw/ufw-init stop" on stop [22:49] FKAShinobi: UFW writes ipfilter/iptables rules that are applied by the kernel. It runs at start-up, not live. [22:50] also pid files are bad === blackest_mamba_ is now known as blackest_mamba === morgan-u2 is now known as morgan === JanC_ is now known as JanC === shaggysi1 is now known as shaggysi0