/srv/irclogs.ubuntu.com/2023/11/07/#ubuntu.txt

=== Bencraft425 is now known as Bencraft42
=== Bencraft424 is now known as Bencraft42
=== esv__ is now known as esv
mccMaybe I'll ask on the Ubuntu forums02:11
bobdobbsin the default desktop environment in Ubuntu, how can I get a screenshot of the screen in it's current state?04:22
bobdobbsIf I hit the 'prtscrn' button, the state of the screen changes, and I lose the state that I'm trying to capture.04:23
bobdobbsYesterday I needed to get a screenshot of the screen in the current state, and the only way to do it was to a KDE tool that gets video capture... then I opened the video capture in vlc... which I then used to find the right frame. But that's horribly inefficient.04:24
bobdobbsBasically I'm making some documentation and I need to show the context menu when my browser is active. But hitting 'print screen' closes that menu04:26
bobdobbsJust now I've tried OBS, but OBS doesn't capture the context menu. It's invisible to the video caputre!04:29
bobdobbsThere's linux tool called 'vokoscreenNG' that is similar to OBS. That doesn't capture the right-click menu either04:34
toddcbobdobbs: have you tried the built in screenshot tool?04:34
bobdobbsyes. The built-in screenshot tool changes the state of the screen, which is precisely what I want to capture04:36
bobdobbstoddc: If I hit the 'prtscrn' button, the state of the screen changes.04:36
bobdobbstoddc: in particular, I need to show an image that show the open context menu in a web browser04:38
toddcmine stays the same same size no notible changes  testing a bit more04:38
bobdobbstoddc: that menu closes when you either use the "instant screenshot" feature of ubuntu's screenshot tool, or if you open the print screen options.04:39
toddcwhat version of ubuntu?04:41
bobdobbs22.0404:42
toddcsame here I fill out a search window on a web page then used selection option and it saved the test window data for me but it may also be that the web page you are looking at has added scurity04:44
toddcno idea maybe someone else can diag more04:46
thehI noticed a package in the universe repo being outdated. I think there's no dependency conflict to prevent an update. How can I request this? The launchpad page for the package?05:27
=== catfishk is now known as catfish__
=== catfish__ is now known as catfishk
arraybolt3theh: Ubuntu packages in a stable release aren't generally updated to new versions, but rather bug and security fixes are back potted to the old versions.07:02
arraybolt3and he's gone already07:03
Unit193They're potting plants now?07:03
arraybolt3and CrimeOS horribly typoed "backported"07:03
arraybolt3*ChromeOS07:03
arraybolt3good grief07:04
Unit193I liked that typo better, even.07:04
arraybolt3Sounds like what you would call a Kali Linux variant focused on web apps07:05
arraybolt3My problem is that the keyboard to this thing broke so I'm having to rely on a touch keyboard and AutoIncorrect to type using my Chromebook now. Sometimes it works worse than others.07:09
=== chris14_ is now known as chris14
valued-customerHi.  The last few times I booted up my ubuntu 20.04 system popped up a message that there were a couple problems, and I've been having random crashes when watching video.  I am hoping I can get some advice about what to do to fix the problems.07:57
gryvalued-customer: hi08:06
gryvalued-customer: check output of 'dmesg', it may have a copy of these errors08:06
gryoops..08:06
valued-customerHi.09:13
arminxHi super hackers, I have been using ubuntu for like 20 years .. I always struggling with sudo apt-get update command... if you do regular update your system you get trouble. https://pastebin.com/H6GkxGV9 how can i fix? thanks in advance09:27
ravagearminx: your Ubuntu release is not supported anymore09:28
ravage!eolupgreade | arminx09:28
ravage!eolupgrade  | arminx09:29
ubottuarminx: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades09:29
ravagein your case i suggest to reinstall a supported release09:29
arminxi cant dup release upgrade every time i start a old machine for lab prupose09:31
arminxwhy cant i use old repos?09:31
arminxdo they remove it?09:31
ravagebecause they do not exist on the archive servers anymore09:32
ravagethere is https://old-releases.ubuntu.com/09:32
ravagesee the link09:32
elias_aarminx: In your case, just run the old installation but never connect it to public Internet.09:35
arminxravage you are my hero thanks alot09:37
arminxalso i must complain over the NIC why in this world has it changed to ensxxx instead of the real deal ethX09:37
arminxelias_a of course not09:38
elias_aarminx: Good. Just wanted to make sure. :)09:38
ravagearminx: https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/09:38
elias_aarminx: But if the os works, what do you need the repos for?09:38
arminxelias_a need few tools09:45
=== guiverc2 is now known as guiverc
elias_aarminx: Ok.09:50
=== jack_ is now known as ir601
=== gusto_ is now known as gusto
=== iconoclasthero_ is now known as iconoclast_hero
kotgcHello, the Ubuntu printer is not printing on both sides? I have selected the option in Ubuntu settings, PDF settings.11:26
CosmicDJkotgc: you do have a duplex printer, right?11:34
kotgcCosmicDJ, I don't know what duplex means, but I have printed on both sides with LinuxMint, but I've moved onto Ubuntu.11:41
StucKmanI'm running KDE on ubuntu and for the first time I realize the sessions didn't start with a ssh-agent. is tehre any toggle I shoul touch?>12:17
=== Szadek4 is now known as Szadek
BluesKajHi all13:37
webchat12Hey guys need help13:45
webchat12Anyone active rn?13:45
ravage!ask | webchat1213:46
ubottuwebchat12: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience13:46
webchat12I have a issue that is executing  grub-install/dev/nvme0n1 failed this is a fatal error please someone help me out by sharing the reason they this issue happens ( I am trying a clean install (not even dual boot)) please help.13:49
mtnwebchat12: what were you doing when you got this error?13:56
BluesKajwebchat12, make sure you have an EFI boot partition of 512mb or so.14:00
iomari891greetings, is there a working repo to install boot-repair on 23.10?14:15
toddciomari891: https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair should work but I am not on 23.10 to test14:27
chilverscwhat's happened to the mainline repositories such as git://kernel.ubuntu.com/virgin/linux.git ? Is it a case that the wiki hasn't been updated with the new location?14:29
ruserdoes ubuntu come with systemd installed by default these days? or what is in it as an alternative?14:52
ruseror   Installing the systemd package will not switch your init system unless you boot with init=/lib/systemd/systemd or install systemd-sysv in addition.14:53
ruserso, i think this might be my answer14:53
Melonbrb14:53
iomari891Greetings, after updating to 23.10,my grub is screwed. I can't even run grub-mkconfig without this error:  "/etc/grub.d/proxifiedScripts/linux: 1: version_find_latest: not found"14:59
=== esv_ is now known as esv
ograruser, ubuntu switched to systemd in 201615:31
ogra(and it has been the default since)15:32
tennisandersI have a couple Peak-CAN dongles I need to use on a HIL system, but with a Mac pc as the host. Which seems impossible to achieve. Would it be possible to run a docker container with ubuntu and have it link up the can dongles?15:34
leftyfbtennisanders: As long as you know the dongles run on ubuntu, the rest is building the docker container and then asking for support in #apple getting the docker container to work properly on mac15:37
tennisandersleftyfb, Ok thanks!15:38
=== john is now known as Guest313
ruserogra: thnx.  i'm trying to figure which of the systemd scripts are causing me to get root auto login, and disable it.  i can't seem to track it down, you wouldn't happen to know anything about it?15:46
ruserI just setup an absolute barebones system15:46
jj_Sorry for the noob question, but if I'm running Ubuntu Budgie, am I alright to install Gnome apps? If there's a Gnome version and a GTK, should I go with GTK? (I'm not sure what the difference is to be honest)15:46
leftyfbruser: no default ubuntu install will autologin as root15:47
ograyeah ...15:47
ruserleftyfb: so am i in recovery mode then?15:47
leftyfbruser: did you boot into recovery mode? Does it say you are in recovery mode?15:48
ograjj_, gnome apps have some extra dependencies they install, if you are not massively short on diskspace, it should be fine to install anything you like ...15:48
ruserleftyfb:  no, it says hostname login: root (automatic login)15:48
ograthat doesnt sound like anything a proper ubuntu install would ever do15:48
leftyfbruser: then you or someone else customized that install of ubuntu to do that15:48
ograhow did you install this ?15:49
ruseryes, i think i just found it15:49
ruserhang on15:49
jj_Thanks ogra!15:52
ruseryou are both correct, i missed as a part of the install script the following https://bpa.st/JYVA however i was installing 20.04 and since then done dist upgrade to 22.04.  And now i don't see either of these files, any idea where upgrade might have moved them?15:53
ruserI tried grepping fror autologin in the system of the systemd dir and didn't find anything useful15:54
leftyfbthey're more than likely gone15:54
rusers/useful/anything/15:54
ruserThen how did the autologin persist?15:54
leftyfbruser: good luck messing with that custom script15:54
ruserleftyfb:  yeah, i'm down the rabbit hole, i'm re-learning a lot but definitely shot myself in the foot repeatedly15:54
leftyfbruser: I would recommend doing a fresh install of ubuntu 22.04 and not running that script15:55
ruserexcept, i want encrypted boot and root :/15:55
ruserand zfs15:55
ruserraidz115:55
leftyfbthen go through the script and manually run only the commands that set that up for you15:56
ruserthat's fair, i dont' really want to do the reinstall so i think i'm stuck chasing where getty@tty1.service.d/override.conf  got moved during the upgrade15:57
ruserthank you both ogra leftyfb15:58
ruserI guess i'm learning systemd, which not a bad thing in it's own.  `systemctl cat getty@tty1` shows the autologin, looks like i'm on the right track16:00
ruserbut yes, i picked up a large foot gun unfortunately16:02
ruseryes, success. `systemctl edit getty@tty1` got me to the goal, idk how grep -R missed it, oh well. But learned something new16:09
ruserdoes anyone here use fail to ban?  are default options good enough to stop getting my logs spammed? :)16:13
leftyfbruser: I use fail2ban but your question is a loaded one16:15
leftyfbruser: f2b parses logs for certain regex's and reacts to matches, typically with iptables DROP rules16:15
leftyfbI'm pretty sure the default jail is only for ssh16:16
ruserleftyfb: and how do you mean loaded? I guess i'm asking to wide of a question wrt to logs?16:16
leftyfbruser: it depends on what logs you're referring to16:16
rusergotcha16:17
leftyfbruser: if you set your ssh port to a non-standard one, you'll get a lot less hits to your log16:18
leftyfband will be slightly more secure(obscure)16:18
leftyfbI also recommend disabling password auth and certainly not allow root to login with ssh16:18
ruserI should read up on sshd hardening. i'd like to remove the banner for example (i wonder if it's a config option these days)16:18
leftyfbremoving the banner provides zero security16:19
ruserare you saying bots these days try to run any and all exploits?16:19
ravagei get a SSH connect like every 20 seconds on my server ip16:20
ravagei dont think they care about your banner16:20
leftyfbbots don't care about banners nor do people attempting to gain access16:20
ruserravage: you get bruteforce attacks16:20
leftyfband yes, bots and people are constantly trying any and all exploits16:20
ruserleftyfb: so you are saying it's not worth the effort. are there good recent hardening guides available?   like way back when there grsec kernel patches, etc. I have dropped out from the field for a while  and have to re-learn16:21
leftyfbruser: start with my advice above16:22
ruserleftyfb:  already on a diff port, and disabled direct root login, and moved to key auth16:22
ruserleftyfb:  and yet i still see bruteforce attacks in logs16:23
ravagewhy do you care about that?16:23
leftyfbthey're not getting in with passwords, it doesn't really matter16:23
ravageinstall fail2ban if you want16:23
iomari891greetings, how to I change the ubuntu screen when the system is booting?16:24
ruseri care about reducing target vector, and hardening overall16:24
ravageruser: disable the network interface16:24
leftyfbor power it off16:25
leftyfbruser: the only way to stop attempts is to not be accessible16:26
rusernot an option, this machine is going to be used remotely16:26
ruseri get that, but let's not slide to the extreme16:26
leftyfbruser: you're running on a non-standard port, you've disabled password auth. As far as bot attacks, you're covered16:26
leftyfbalso disabled root ssh16:27
ruserI want to reduce the attack surface, and information leakage16:28
leftyfbcongrats, you did that16:28
ruserlol16:29
ruserEither way, thank you for your help and knowledge, I do apprecite it16:29
leftyfbruser: feel free to /join #security if you care to "slide to the extreme"16:30
ruserleftyfb: thank you16:31
blackbird_0Hi guys18:09
blackbird_0I have a serious issue: using any Nvidia driver freezes the OS, with X server the only resolution I have is 800x600. I searched a lot on google, but in vain. Please, Help18:09
=== k001 is now known as k000
=== enzotib is now known as enzotib__
=== enzotib__ is now known as enzotib_
nunyaI've run out of ideas. I need help.19:55
nunyaPARDON THE PASTE:19:55
nunya>Had a Windows system- very old, but still working.19:55
nunya>Have installed Linux 100 times in the past, always go back to Winblows19:55
nunya>Install Lubuntu as dual-boot (so I thought)19:55
nunya>Lubuntu is pretty tight (STILL CAN'T FUCKING PRINT)19:55
nunyaMy apologies ... I've seen you prefer this:  https://pastebin.com/377Q1JGK19:59
leftyfbnunya: please watch the language20:01
leftyfbnunya: you want #windows for support with Windows20:01
leftyfbyour Windows install has nothing to do with Ubuntu20:01
leftyfbalso, this isn't the appropriate place to ask where to buy used hardware20:02
leftyfbnunya: I would start with running SMART checks on your storage device20:02
leftyfbnunya: good luck20:02
nunyaIt isn't purely windows support question, since clearly the problem was a direct result of the Lubuntu install. However, terse statements like that do simplify the support task.20:06
nunyaAlso, I haven't used IRC in 20 years.20:07
leftyfbit's unlikely Ubuntu had anything to do with the issues with your Windows partition20:07
leftyfbunless you deleted files from it or modified system file on it20:07
nunya>unless UBUNTU deleted files from it or modified system files20:09
leftyfbnunya: ubuntu does not modify anything on other partitions20:09
leftyfbunless you tell it to20:09
nunyaIt's fine. I've spent 8+ hours trying to find a solution to what appears to be a common problem resulting from dual-boot systems. I've typed nonsense into a black screen over and over, with inconsistent results. Just another day using Linux.20:12
de-factois there any working sound server available in ubunut? pulseaudio and pipewire are too unstable for everyday usage, they always stutter on playback20:13
marc|gonzalez1Hello everyone, on Ubuntu 22.04 ESM, a program crashes, I think because of the recent update of a library. Is it possible to temporarily downgrade the dependency to test this hypothesis?20:21
leftyfbmarc|gonzalez1: which library and what version are you running?20:21
=== k001 is now known as k000
marc|gonzalez1leftyfb: running vlc/jammy-apps-security,now 3.0.16-1ubuntu0.1~esm1 and library is ffmpeg/jammy-apps-security,now 7:4.4.2-0ubuntu0.22.04.1+esm220:22
marc|gonzalez1ffmpeg was recently updated to esm2, and I think it caused a regression20:23
marc|gonzalez1I want to test again with esm120:23
leftyfbffmpeg isn't a library20:23
marc|gonzalez1OK, libavcodec58/jammy-apps-security,now 7:4.4.2-0ubuntu0.22.04.1+esm2 installed as a dep of ffmpeg20:24
leftyfbI don't think the "esm1" versions are available anymore20:24
marc|gonzalez1Maybe I could test with the non-ESM release?20:25
leftyfbyou could try: sudo apt install libavcodec58=7:4.4.2-0ubuntu0.22.04.1+esm1   # but I doubt it'll work20:25
marc|gonzalez1OK will give it a try, be right back20:25
leftyfbsudo apt install  libavcodec58=7:4.4.2-0ubuntu0.22.04.120:25
leftyfbthat one is available ^20:25
marc|gonzalez1And to go back to the "normal" lib?20:25
leftyfbthat's the non-esm library20:26
leftyfbthe 2nd one I posted20:26
marc|gonzalez1No I mean to revert back to nominal?20:26
marc|gonzalez1How to undo the change I'm about to do20:26
marc|gonzalez1So that everything updates normally in the future20:27
leftyfbdefine nominal. If you mean the latest (esm2), and apt upgrade will probably upgrade it to the latest20:27
marc|gonzalez1OK noted, thanks20:27
ruseris there a better way to list installed packages other thank dpkg?20:31
marc|gonzalez1apt list --installed ?20:31
ruserI guess I should have opened man for apt, my bad20:31
marc|gonzalez1No worries, I'm battling apt, so I just typed the command a minute ago :)20:32
candlejackWhat's the correct way to configure Ubuntu server and workstation to install updates on a schedule?20:33
candlejackI've used the unattended-upgrades package but that never seems to actually install or reboot20:34
rusercandlejack: have you looked in the logs for it?20:34
annexsevenOn servers unattended-upgrades only installs security updates by default. I’ve never set the config option to have it reboot automatically though because I don’t want it to do that.20:35
leftyfbcandlejack: you want your server to reboot automatically?20:36
leftyfbI do not recommend that20:36
ruser^^20:36
candlejackYes I do20:36
ruserthere is a non-zero risk it won't come back from the reboot, just fyi20:37
candlejackYes I'm aware of that, I've been running ubuntu as my primary computing OS for the past 17 years20:38
ruserso when you say it never seems to install anything,  have you confirmed that via logs?20:38
leftyfband you don't know how to setup a cron/timer to do automatic updates and reboots?20:38
annexseven@candlejack The settings you need should all be in /etc/apt.conf.d/50unattended-upgrades20:40
leftyfbcandlejack: https://www.kolide.com/features/checks/ubuntu-unattended-upgrades   first result on google for "ubuntu unattended-upgrades"20:41
annexsevenBy default it only installs security updates, but the options to reboot and install regular updates are commented out. You can uncomment them to enable them.20:41
=== stw___ is now known as stw
marc|gonzalez1leftyfb: apt is a nightmare to tweak a single lib, it's just not a supported use-case21:08
leftyfbI didn't think it would be21:08
marc|gonzalez1I downloaded libavcodec58_4.4.2-0ubuntu0.22.04.1_amd64.deb21:08
marc|gonzalez1And unpacked it in /tmp21:08
leftyfbmarc|gonzalez1: I would not recommend doing that21:08
marc|gonzalez1then ran vlc with LD_PRELOAD=local version of libavcodec21:09
marc|gonzalez1Why would you not recommend??21:09
leftyfbmarc|gonzalez1: maybe try the snap version of vlc and ffmpeg?21:09
marc|gonzalez1leftyfb: I'm trying to prove that the problem is in the ESM lib21:09
marc|gonzalez1I just did21:09
marc|gonzalez1With LD_PRELOAD, vlc works fine21:09
marc|gonzalez1So they introduced a regression when they did the latest update21:10
leftyfb!bug | marc|gonzalez121:10
ubottumarc|gonzalez1: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.21:10
impermanenceis it possible to select audio inputs and output from terminal?21:10
leftyfbimpermanence: yes21:10
impermanenceleftyfb: how?21:10
leftyfbimpermanence: pacmd "set-default-sink <sink id>21:11
leftyfbimpermanence: pacmd list-sinks21:12
impermanencevery nice thank you21:12
impermanenceleftyfb: so...hm. What am I looking at here? Is this input and output or just ah...?21:15
leftyfbthis is just output21:16
sybaritenHey. So, basically, what happens if i've installed something like node.js with apt-get and then try to install it with snap? I have yet to understand exactly where snap stands in the area of package management on linux21:16
leftyfbimpermanence: pacmd --help21:17
leftyfbsybariten: snap has it's own package management. In your scenario, you would have a copy of each node.js package21:18
sybaritenleftyfb: Wow. So potentially conflicts?21:19
leftyfbnot likely21:19
leftyfbonly 1 will be default21:19
leftyfbsybariten: run: which node  # to see which is default21:20
leftyfbthe apt package won't have "snap" in the path21:20
impermanenceleftyfb: thanks21:20
sybaritenI'm asking because i just tried installing node using the command line "sudo snap install node --classic --channel=20" . Then i did node --version and it says v12.22 . And I'm realizing I may actually have installed node earlier, in the past, but forgotten about it. I definitely didn't know about snap back then so maybe i used apt? Is there a way to see if i may have done that, some sort of apt21:21
sybaritenpackage install history?21:21
leftyfbzgrep node /var/log/dpkg.*21:22
sybaritenleftyfb: oh so a snap package will even run from a snap related path, once installed?  My which node gives a normal usr bin path21:22
leftyfbsybariten: right, your apt package install of node.js is the default21:23
leftyfbsybariten: run this:    type -a node21:24
sybaritenleftyfb: your zgrep command line spits out a lot... its from febryary 2023 so it wasnt that long ago after all. But yeah then it seems installed via apt.21:25
sybaritenleftyfb: interesting! What is the type command actually showing me? It finds it in usr bin node, bin node, and snap bin node. So three places. One being a link i suppose21:26
leftyfball possible paths for the command21:26
leftyfb /usr/bin/node is probably a link to /bin/node for compatibility ... or the other way around, I forget21:27
sybaritensweet. I guess i will try de-installing the apt one and maybe the snap one too, and reinstall the snap one just to do it correctly.21:27
leftyfbyou don't need to reinstall the snap21:28
leftyfbit'll just become the default21:28
sybaritenyou think it'll work out?21:29
leftyfbyes21:29
leftyfbthe snap doesn't care if it was installed before or after the dpkg21:29
sybaritenokay21:31
sybaritenOkay, so this is interesting. Maybe i messed something up. I did, ofcourse, not follow your advice. First i purge removed the apt installation. THen i purge removed the snap installation. Then i installed snap with the same command that i've used before, as quoted earlier. No complaints, node 20 installed according to snap. But i dont have it in my path! Is that common?21:36
leftyfbsybariten: log out and back in21:47
sybaritenleftyfb: ah21:49
Guest1982Can I speak here?21:50
leftyfbyou just did21:51
sybaritenleftyfb: thank you!21:51
Guest1982Fantastic. I am having an issue updating/upgrading 20/focal21:51
sybaritenleftyfb: btw the snap linking structure is anything but intuitive.   :-)    installed packages thats are seemingly living in /snap/bin are in fact pointing to... all the same binary in /usr/bin ?21:57
sybariteni mean, for someone that doesn't know about snap21:57
tomreynGuest1982: if you'd like help with this, you'll need to provide more info22:04
lantech19446having a weird issue with ubuntu 23.10 when the computer locks itself nothing will wake it up and it's ignoring the system settings telling it not to lock and not to turn off the screen. Any ideas?22:07
=== robertross is now known as uc50ic4more
=== robertross is now known as uc50ic4more

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