[00:00] <bobmight5743> audiocat is it a module called 'x'? What is the exact import error? It's likely either not installed in your venv or socialbot.py is incomplete.
[00:00] <audiocat> bobmight5743, the module is called instapy
[00:00] <audiocat> its installed in the venv. when i open up ipython i can import it just fine
[00:01] <bobmight5743> audiocat you're probably going to have to look further up the stacktrace
[00:01] <bobmight5743> if you're 100% sure you're in the venv
[00:02] <audiocat> ls
[00:03] <audiocat> bobmight5743, looks like the venv isn't being activated
[00:03] <audiocat> this is my code: source /home/gsb/venv/bin/activate && /usr/bin/python3 /home/gsb/socialbot.py
[00:03] <audiocat> bobmight5743,
[00:09] <audiocat> bobmight5743, hello?
[00:09] <bobmight5743> audiocat as recommended above have you checked the #!/bin/python at the top of the file/
[00:10] <audiocat> bobmight5743, yes
[00:10] <audiocat> still not working
[00:10] <audiocat> added #! /usr/bin/python3
[00:10] <bobmight5743> dunno, have you tried is as not a one-liner?
[00:11] <audiocat> bobmight5743, how would i do that
[00:11] <bobmight5743> activating venv
[00:11] <audiocat> bobmight5743, i meant syntax-wise
[00:12] <bobmight5743> um let me remember, like `source bin/activate` is off the top of my head
[00:12] <bobmight5743> this should dump you in the venv
[00:12] <audiocat> bobmight5743, i know that part
[00:12] <bobmight5743> in your case ` source /home/gsb/venv/bin/activate` or something about maybe
[00:12] <audiocat> you said make it "not a one-liner"
[00:12] <audiocat> bobmight5743, what would i replace "&&" with
[00:12] <audiocat> thats what makes it a one-liner
[00:13] <bobmight5743> nothing, once in venv shell then: `python ./socialbot.py`
[00:13] <sarnold> audiocat: oh, this is probably another case where replacing the complicated line with a shell script would be a benfit
[00:13] <sarnold> audiocat: my guess...
[00:13] <sarnold> $ dash -c 'source ~/.bashrc'
[00:13] <sarnold> dash: 1: source: not found
[00:13] <sarnold> audiocat: perhaps cron is using dash to execute these, and dash doesn't support bash's 'source' alias, it only supports .
[00:14] <bobmight5743> honestly I'd use docker
[00:14] <audiocat> sarnold, you make these suggestions and then you arent around to help debug
[00:15] <Alabalistic> #! /usr/bin/python3 # check this one more time, looks wrong to me, you need to specify 3.7 or something like that. my python is worst then bad btw
[00:15] <sarnold> audiocat: aye, I've got a job to do :)
[00:15] <audiocat> sarnold, i followed your advice and am getting a new eerror
[00:31] <audiocat> can anyone help? https://stackoverflow.com/questions/67978568/activate-venv-and-run-python-script-from-shell-script
[01:01] <bobmight5743> haha, I grew up on the same street as Wim. We both had different names then. He's totally right of course.
[01:16] <pakcjo> Hi I need support cross compiling libxml-security in ubuntu 18.04 (build: amd64, host: armhf), it seems like the configure scripts is trying to run tests (which of course fails)
[01:27] <audiocat> bobmight5743, why might my script work locally (i can run it without a 429 error) but not on my digital ocean server? https://prnt.sc/15g0wet
[02:27] <Alabalistic> audiocat: dependencies
[02:27] <audiocat> Alabalistic, i got everything working
[02:27] <sarnold> \o/
[02:28] <Alabalistic> great
[03:05] <bundtcake> My volume control only lists 'Dummy Output', but I want to use 0 HDA ATI HDMI according to alsamixer. How do I fix my sound?
[03:07] <bundtcake> I hear a pop from monitor as its sound is max yet something has it muted.
[03:16] <bundtcake> why is all my hardware blacklisted!? ;_; ubuntu come on now amdgpu and amd64-microcode why man
[03:23] <oerheks> pulseaudio -k && sudo alsa force-reload # might fix weird connection issues
[03:44] <Samian> I did sudo -i to become root. how do I go back to being a user?
[03:45] <Bashing-om> Samian: type ' exit ' .
[03:46] <Samian> thanks
[03:46] <Bashing-om> Samian: :D We are here to help.
[04:07] <bittin> morning
[04:19] <Ginalo> Hi. I installed PulseEffects. Unfortunately, there is no audio output on my device when selecting PulseEffects(apps) as an output. I have found a handful of resources online, but don't know which to do.
[04:19] <Ginalo> What steps should I do first when diagnosing this?
[06:07] <isapgswell> is that a way to run gnome-shell standalone and network offline???
[06:35] <olle> Hm, why is default php package in 20 lts still php 7.4.3? Not 7.4.7?
[06:51] <geirha> packages are normally never upgraded; only security patches and bug fixes are applied
[06:53] <geirha> some packages have excemptions to the rule, but I don't think php is one of them
[06:56] <olle> hm hm
[06:56] <geirha> !sru
[08:57] <shachaf> Some Ubuntu update made it so that systemd is running redshift automatically with its own settings, which I don't want. It reruns it if I kill it. I tried to disable it with `systemctl --user disable redshift.service`, which seems to work, but whenever I reboot it's running again. How do I turn it off?
[08:59] <mgedmin> I would try systemctl --user mask redshift.service
[08:59] <shachaf> I see, that makes it impossible to enable.
[09:00] <shachaf> But why is disable not sufficient? What keeps running it?
[09:01] <mgedmin> disable stops the service from autostarting, if some other service depends on redshift, starting that other service will start redshift too
[09:01] <mgedmin> or if something like gnome-session explicitly tries to start redshift
[09:04] <eraserpencil> Hi! I need some help debugging some sudo permissions issue. I have Ubuntu 18 running as a guest in VMWare Workstation. Occasionally, I think I lose sudo permissions. If I try do something like `sudo apt update`, I get prompted for password, where it is always rejected. I am still part of the `sudo` and `adm` group, The password is a simple password
[09:04] <eraserpencil> (because I'm using it in a VM for testing. I know i keyed in the right passwd cause it is simple, and I validated that by getting pass the "current password" prompt when i try to change my password with `passwd` command.
[09:05] <mgedmin> looking at the .service and .desktop files in the redshift package I see nothing that would cause a disabled service to be automatically started :/
[09:06] <mgedmin> eraserpencil: have you checked journalctl?
[09:07] <eraserpencil> i see the failed attempts
[09:10] <eraserpencil> not too sure what to look out for
[09:22] <mgedmin> keyboard problems?  wrong layout, dropped/duplicated keys?
[09:22] <mgedmin> do you get auth failures if you copy and paste the password into the sudo prompt?
[09:22] <mgedmin> I'm not sure what else to check -- /etc/sudoers?  /etc/pam.d/sudo?
[09:23] <eraserpencil> oh!
[09:23] <eraserpencil> copy paste works
[09:24] <eraserpencil> i'm not sure.. in the prompt for password when using the `passwd` command, i could get pass it.
[09:24] <eraserpencil> if i were to log out, I would never be able to log back in (by typing)... copy-pasting: untried.
[09:42] <eraserpencil> how am i to debug the copy-paste issue?
[09:45] <llutz> eraserpencil: compare the pasted with the typed password. Check keyboard mapping etc. then
[09:46] <TheBigK> check permission of /etc/shadow ... it should be 640 and owner should be root and group should be shadow... i had that issue with logging in problems
[09:48] <eraserpencil> thanks! that was it
[09:48] <eraserpencil> what could have changed it?
[09:52] <eraserpencil> actually, that didnt help. the file changed, but i still cant key in my passwd
[09:53] <mgedmin> if /etc/shadow had wrong permissions, pasting the right password into sudo wouldn't allow you to log in
[09:53] <mgedmin> if you saw wrong permissions, maybe there's some runaway background process that changes them back and forth?
[09:55] <shachaf> mgedmin: Aha. Is there an easy way to see why the service was starting?
[09:56] <mgedmin> journalctl maybe?
[09:56] <shachaf> Is the graph of service dependencies tricky to query, or dynamic, or something?
[09:57] <shachaf> Oh, systemctl list-dependencies
[09:57] <shachaf> I don't see anything that depends on it.
[09:57] <shachaf> Well, hopefully masking it will be an OK workaround.
[09:57] <eraserpencil> ok, so I needed to paste my pw to change the permissions of /etc/shadow. I changed it, it works. But if I try to `sudo apt update` on any other new shell, I can't even paste my pw in.
[09:58] <eraserpencil> mgedmin: that sounds dangerous.
[11:27] <webchat7> Hi. Can someone help me out with Ubuntu 20 cloud-init based unattended server installation?
[11:28] <mgedmin> webchat7: I have a feeling people in #ubuntu-server migtht be more familiar with this use case
[11:28]  * mgedmin wonders if there's a #ubuntu-cloud?
[11:29] <webchat7> Wasn't sure if I want to go to a team channel
[11:31] <webchat7> Unattended installation works ... It's just that cloud-init doesn't do anything afterwards, even if I reset it and remove the file that disables network configuration.
[11:32] <timothyp> Hi, if I want to prepare an installation of ubuntu completely customize it and then create an ISO from it, what are my options?
[12:00] <Guest30> .
[12:15] <eraserpencil> I've discovered that only one shell is ever allowed sudo access at any one time
[12:16] <mgedmin> your system is haunted, eraserpencil
[12:19] <eraserpencil> it's reproducible to a certain extent that I know all the VMs I create will eventually run into it.
[12:22] <tango_uniform_xr> i'm not sure i understand your issue too well eraserpencil
[12:22] <Walex> eraserpencil: does 'su' work?
[12:24] <Walex> eraserpencil: also check: 'ls -ld $HOME $HOME/.sudo_as_admin_successful' there might be some issue there.
[12:24] <eraserpencil> walex: su works only in the shell that still could access "sudo" permissions? if that makes any sense
[12:26] <Alabalistic> eraserpencil: what is the problem looks interesting-
[12:27] <tango_uniform_xr> timothyp try debootstrap or mmdebstrap
[12:27] <tango_uniform_xr> i've never heard of any issue like this, it sounds bizarre to me
[12:28] <eraserpencil> tango_uniform_xr: On Ubuntu 18.04 guest in VMWare Workstation, i've observed over the past week that I will not be able to do any `sudo` related activities out of the blue. I've since discovered /etc/shadow had 600 permissions instead of 640, which i've changed by copying and pasting the password. I know if I log out, I'd never be able to log back
[12:28] <eraserpencil> in. I know i have the right password cause I get pass the "current password" check when i try to change it. I am part of the group `sudo` and `adm`.
[12:30] <eraserpencil> walex: 644 permissions, user/group is me
[12:31] <mgedmin> fwiw ~/.sudo_as_admin_successful is the old location; nowadays sudo uses /var/lib/sudo/lectured/
[12:31] <mgedmin> I think?
[12:33] <BluesKaj> Hi all
[12:35] <mgedmin> also, why would /etc/shadow being mode 600 break sudo?  sudo is suid root, it should be able to read /etc/shadow
[12:35] <Alabalistic> eraserpencil:  is it possibe that you copy the salted hashed password in /etc/shadow and it's not working any more
[12:37] <eraserpencil> i dont know any of the things im working on touches /etc/shadow, but it dosent explain why only one shell has sudo permissions
[12:39] <eraserpencil> by the "one-shell" behavior, i mean any new shell (new terminal window) can do sudo stuff and no other shells can do sudo stuff. have to wait 15 minutes or so before I'm allowed to use a different shell to do sudo things
[12:40] <Alabalistic> eraserpencil: probably you know that already but in any case https://docs.vmware.com/en/VMware-Cloud-Director/9.7/com.vmware.vcloud.user.doc/GUID-F685A6FB-2291-4A91-9515-9F5EE6C5D7DE.html
[12:40] <tango_uniform_xr> eraserpencil is there anything you use or install that you suspect might mess with pam or sudo, su, shadow etc
[12:41] <eraserpencil> Alabalistic: OOH! no I don't. Thanks for that. New to VMware.
[12:41] <mgedmin> 15 minutes sounds suspiciously like the sudo tty ticket timeout
[12:41] <westor> how the hell i can set my custom vhost ?
[12:45] <eraserpencil> mgedmin: Yea, I had that suspicion, leading me to test out the one-shell thing.
[12:46] <eraserpencil> tango_uniform_xr: Not really. I'm messing around with docker, networking, nothing that should affect sudo.
[12:46] <tango_uniform_xr> ah, i have no experience with VMware
[12:47] <eraserpencil> it should be a linux thing no?
[12:47] <mgedmin> eraserpencil: I'd be tempted to strace the failing sudo process
[12:48] <eraserpencil> I know that Ubuntu enforces complex password, but through VMWare's interface, I set a simple 5 character password. I won't say which 5 it is.
[12:49] <eraserpencil> How would I do that?
[12:49] <mgedmin> hmm indeed how
[12:50] <mgedmin> (1) get a root shell, (2) in a non-root shell do sudo -s, (3) in the root shell do strace -p $(pidof sudo)
[12:50] <mgedmin> (4) type the password into sudo, press enter, read and interpret strace logs
[12:55] <ogra> eraserpencil, "sudo -k" ... resets the timer ...
[13:27] <StephenLynx> hey, I can't install wifi drivers, I get "ubuntu can't install driver pk-client-error-quark could not do media change question as no klass support"
[13:27] <StephenLynx> any idea?
[13:28] <lotuspsychje> StephenLynx: can you pastebin; sudo lshw -C network please
[13:30] <StephenLynx> pastebin.com/9R3t6t6N lotuspsychje
[13:31] <StephenLynx> btw, secureboot is disabled.
[13:32] <lotuspsychje> StephenLynx: wich ubuntu release and kernel version are you on please
[13:35] <StephenLynx> kernel 5.8.0.-55-generic for the kernel, 20.04 for the ubuntu version, lotuspsychje
[13:35] <StephenLynx> 20.04.2 lts to be more specific.
[13:35] <StephenLynx> also 5.8.0-55-generic, I put one extra dot there.
[13:37] <lotuspsychje> !info linux-generic-hwe-20.04
[13:38] <StephenLynx> 5.11? so my kernel version is outdated?
[13:38] <ELFrederich> I followed this to get Sublime Text installed.  https://www.sublimetext.com/docs/linux_repositories.html ... is there a way to lock it to Sublime Text 3?  It has updated to 4 and now it's complaining saying "LICENSE UPGRADE REQUIRED" in the title bar.
[13:38] <lotuspsychje> StephenLynx: not sure how you got on 5.8, im on 5.4 kernel here for 20.04
[13:39] <StephenLynx> i just did a regular install.
[13:39] <lotuspsychje> StephenLynx: ah ok, new iso's might result into 5.8
[13:39] <tomreyn> !info linux-generic-hwe-20.04 focal
[13:39] <lotuspsychje> ah tnx tomreyn
[13:40] <lotuspsychje> jeremy31: you got a git for this one ^ ?
[13:40] <ELFrederich> $ cat /etc/apt/sources.list.d/sublime-text.list
[13:40] <ELFrederich> deb https://download.sublimetext.com/ apt/stable/
[13:40] <ELFrederich> Is there something else I should put in there that can lock the package version to not go to 4 and stay at 3.x?
[13:41] <StephenLynx> is this a bug on the distro? you asking for a git is making it sound like is your usual "something wasn't enable" issue.
[13:41] <StephenLynx> is not your*
[13:41] <lotuspsychje> StephenLynx: realtek chipsets are known to be kernel version itchy, hence why some models might need a git driver test
[13:41] <StephenLynx> right.
[13:42] <lotuspsychje> and jeremy31 is our realtek wizard :p
[13:42] <StephenLynx> will you guys need something from me or is this a case of "wait until a patch with support is pushed"?
[13:43] <tomreyn> StephenLynx: can you post the full output (as well as the command you ran) where this message was returned? "ubuntu can't install driver pk-client-error-quark could not do media change question as no klass support"
[13:43] <tomreyn> on paste.ubuntu.com
[13:43] <StephenLynx> that was a GUI pop up.
[13:43] <StephenLynx> from the driver thing.
[13:44] <StephenLynx> i can screenshot it
[13:44] <StephenLynx> or I can look for the logs if there is any.
[13:44] <tomreyn> i see. you should be able to reproduce it it using the "ubuntu-drivers" command
[13:44] <StephenLynx> ok, give me a moment.
[13:44] <StephenLynx> this is on a separate machine, so things take a while
[13:45] <tomreyn> or on the gui with a screenshot (works, too) if it doesn't work withthe command
[13:45] <StephenLynx> i figure i should run it with sudo?
[13:45] <tomreyn> yes i think you'll need to
[13:45] <tomreyn> start with    sudo ubuntu-drivers list
[13:46] <tomreyn> then    sudo ubuntu-drivers devices
[13:46] <tomreyn> then   sudo ubuntu-drivers install
[13:47] <StephenLynx> install something or just install? i tried using install with the item from list and it said no drivers found.
[13:48] <tomreyn> StephenLynx: "install" without parameters will try to install anything that's available for your system. if you don't want this, you'll need to pass [driver[:version]
[13:48] <StephenLynx> nah, there is only one
[13:49] <StephenLynx> no drivers found for installation.
[13:49] <StephenLynx> even though list and devices listed things.
[13:49] <tomreyn> StephenLynx: what did they list, though?
[13:49] <StephenLynx> a moment
[13:51] <StephenLynx> pastebin.com/Q0aRyeFa
[13:51] <StephenLynx> tomreyn,
[13:53] <tomreyn> StephenLynx: okay, now:   lspci -knns 0000:02:00.0
[13:55] <StephenLynx> pastebin.com/wsCLMSwy tomreyn
[13:56] <tomreyn> so 10EC:C821 is the device vendor and product id, it's an RTL8821CE chipset. the driver source is installed but the driver is not loaded
[13:57] <StephenLynx> i remember asking for drivers to be installed when I installed the system.
[13:57] <StephenLynx> and the driver on the GUI says is a free driver.
[13:58] <StephenLynx> i also did disable secureboot and reinstalled the system.
[13:58] <tomreyn> are you able to reproduce the inital erro rmessage?
 hey, I can't install wifi drivers, I get "ubuntu can't install driver pk-client-error-quark could not do media change question as no klass support"
[13:59] <StephenLynx> huh, the guy says its now loaded. let me try removing the usb wifi adapter.
[13:59] <StephenLynx> the gui*
[13:59] <StephenLynx> and  reboot
[14:00] <StephenLynx> nm-applet said there was no adapters when i removed the usb one. so ill reboot and try again.
[14:03] <StephenLynx> now it's working. :|
[14:03] <StephenLynx> tomreyn, any other info I can give you?
[14:04] <tomreyn> StephenLynx: if it's working, then i guess it's fine? come back when there are more problems with it, i'd say.
[14:04] <StephenLynx> ok, ty for the help.
[14:04] <tomreyn> there are very few web search results for the "could not do media change question as no klass support" message, so i'm not sure whether this is actually an error or just a warning.
[14:05] <StephenLynx> thing is, when it showed that, the radiobutton changed to "not use this driver"
[14:05] <tomreyn> StephenLynx: see whether it's stable, do a speedtest through it etc
[14:05] <StephenLynx> i did a ping on 8.8.8.8
[14:05] <StephenLynx> and it was fine
[14:05] <StephenLynx> now i already shut it down.
[14:05] <tomreyn> aha, so it actually built the driver then, but usb mode switch failed or something
[14:09] <tomreyn> StephenLynx: just for your understanding: this device is not supported by linux directly (linux comes with a huge amount of drivers included), but a separate driver, rtl8821ce (same name as the wireless chipset) needs to be built by your computer for your kernel, whenever the kernel upgrades (this happens every couple weeks as a result of bug and security fixes).
[14:10] <tomreyn> it's fully automated (through something called 'dkms'), but this is still not as ideal as when you have hardware where the driver is actually included in the kernel (and thus doesn't need to be builöt seperately).
[14:10] <tomreyn> *built
[14:10] <StephenLynx> yeah, Im familiar with drivers like those. on my other ubuntu machine I had that for my gpu driver.
[14:10] <tomreyn> this is actually quite common with usb wireless dongles
[14:11] <tomreyn> yes, it's similar for nvidia proprietary drivers.
[14:12] <alzgh> I'm on an Ubuntu focal. I'm trying to open gnome terminals from the shell and controlling their position. I need this to setup when computer boots having different terminals at different places. I'm using `gnome-terminal --geometry 100*100+20+400` like commands but the `--geometry` flag doesn't have any effect.
[14:17] <vant> Olá
[14:18] <vant> Gostaria de pôr as janelas gelatinosas . Tenho o ubunutu 20.04 .
[14:20] <alzgh> instalar caixa virtual
[14:20] <vant_> What is the channel ubuntu PT-PT and PT-BR .
[14:20] <tomreyn> alzgh: i haven't tried it, but this might work: https://github.com/arnon-weinberg/session
[14:20] <vant_> Olá '
[14:20] <beothorn> https://help.ubuntu.com/community/CompositeManager#Compiz
[14:20] <tomreyn> !pt | vant_
[14:21] <alzgh> thanks tomreyn
[14:26] <BeneditoSalvador> Once snap programs packs all of its libraries, will I be able to install a snap program from a local file on a external hdd?
[14:27] <ogra> BeneditoSalvador, you can do that since ages already ...
[14:28] <ogra> BeneditoSalvador, snap download htop ... that downloads two files ... the .snap and the .assert (which is the gpg signature and checksum file for the .snap) ... copy them to your machine, call "snap ack /part/t👋*.assert" ... then "snap install /path/t👋*.snap" ... done
[14:28] <ogra> oh my
[14:29]  * ogra curses hexchats emoji plugin
[14:29] <BeneditoSalvador> does it still get mounted at boot time like the others snaps even if the hdd is not connected?
[14:30] <ogra> it does get installed like an snap from the store
[14:30] <rbasak> Are you asking to transfer a snap offline to a different machine for installation there? Or to install a snap onto a system such that the space it needs is on an external disk that will always have to be present for the snap app to work?
[14:30] <ogra> so the snap file ends up in /var/lib/snapd/snaps ... and gets mounted to /snap
[14:33] <BeneditoSalvador> rbasak: the second option yes
[14:33] <tomreyn> alzgh: there's also this https://github.com/johannesjo/linux-window-session-manager - but having to install npm just for this functionality seems pretty wrong to me.
[14:34] <ogra> BeneditoSalvador, you'D just move /var/lib/snapd to the external disk and (bind)mount it from there ...
[14:36] <BeneditoSalvador> ogra: thanks, i might try that
[14:36] <ogra> i think we have some forum threads about that at forum.snapcraft.io as well ... with more details
[14:39] <BeneditoSalvador> i will try this method because my pc case is really tiny and i'm running out of space
[14:39] <BeneditoSalvador> can you link me one of this related threads? i was searching for it earlier but didn't find anything
[14:45] <ogra> BeneditoSalvador, i fear my emoji plugin will mess it up ... but here it is:
[14:45] <ogra> BeneditoSalvador, https://forum.snapcraft.io/t/how-to-place-your-snaps-elsewhere-than-var-lib-snapd/7472
[14:46] <ogra> hah !
[14:46] <ogra> (didnt mess it up)
[14:48] <mekhami> I have an system76 laptop running ubuntu 20.04, and I can't get it to detect my external monitors. xrandr shows the two DP-0 and DP-1 monitors as disconnected. Any idea where to go for further debugging?
[14:52] <tomreyn> mekhami: ubuntu or pop os?
[14:53] <mekhami> tomreyn: ubuntu 20.04.
[14:54] <leftyfb> mekhami: cat /etc/os-release | nc termbin.com 9999
[14:54] <mekhami> what part of 'ubuntu 20.04' do you not believe?
[14:55] <mekhami> 20.04.2 LTS
[14:55] <tomreyn> have you verified it's not the cables?
[14:55] <mekhami> yes.
[14:55] <tomreyn> how?
[14:55] <mekhami> by using a cable that i know works? jesus christ what is going on today
[14:55] <mekhami> do you all think i'm a moron
[14:56] <mekhami> try assuming the other person is not a moron
[14:57] <wez> mekhami: No, but generally you start simple then work your way up.  You don't assume people are stupid, you assume you don't know who the person is and if they have any gaps in their understanding.
[14:57] <wez> mekhami: so don't take offense :)
[14:57] <tomreyn> yes, don't take it personal, please, we just don't know you.
[14:58] <mekhami> okay but when i answer something definitively, let's just not assume i don't know what i'm talking about.
[14:58] <tomreyn> that's "you" as in "your experience"
[14:58] <wez> mekhami: With a network issue you start at cables and physical things then work your way up to firewalls, sockets and OS nauancies
[14:58] <wez> nauances
[14:58] <mekhami> if i said 'i think it's ubuntu 20.04' then, great reason to double check.
[14:59] <tomreyn> mekhami: can you show the full xrandr output, as well as the x initialization from journalctl -b, so we can make progress?
[14:59] <tomreyn> on paste.ubuntu.com, please
[15:01] <mekhami> i'll come back to this in a few minutes have a work meeting.
[15:06] <jhutchins> WHy did #ubuntu not just move to OFTC?
[15:07] <Mekaneck> !ot | jhutchins
[15:30]  * jhutchins remembers why he doesn't run ubuntu.
[15:31] <mekhami> tomreyn: okay so more information. if i plug directly my laptop into the monitor via HDMI, it works. The problem, I suppose, is the dock that i'm connecting through.
[15:32] <mekhami> tomreyn: i have tried two different docks; a 'startech' dock and a dell d6000
[15:32] <mekhami> tomreyn: if you're still available to help me out (and i appreciate your patience while i'm a little tilted by all this) what steps do you need for debug info?
[15:36] <mekhami> it seems this thing really just doesn't like displaylink stuff
[15:38] <tomreyn> mekhami: debugging docks is not much fun, i can anly suggest looking for error message son your logs, and looking those up, and cross testing.
[15:39] <tomreyn> mekhami: also firmware updates (laptop bios/ec, but also the docks)
[15:49] <WereSquirrel> Hey, so some times my icons on the task bar will go into some kind of dragging mode when I click them instead of pulling up the window. Other open applications usually aren't impacted. Would anyone happen to know why the happens or how I could fix it without restarting the application? I'm on 18.04.5 LTS
[15:51] <WereSquirrel> I feel like I notice it more often with game-type windows
[15:54] <tomreyn> WereSquirrel: wireless mouse? IMO that's usually a side effect of short signal interruptions around the time you click on something.
[15:58] <WereSquirrel> Everything is wired and it's only the one window anyway. And I've tried pressing both left and right side ctrl, alt, and shift (separately) to try to "unstick" them to no avail either
[16:06] <ioria> WereSquirrel, did you change the default dock position ?
[16:07] <mekhami> okay new question. i tried to change certain settings like mouse sensitivity and bluetooth related stuff by running `gnome-control-center` but it had no effect, and i'm assuming cause i'm not actually using gdm?
[16:07] <mekhami> is there a similar configuration option for lightdm? what am i actually supposed to be changing
[16:07] <mekhami> i'm pretty sure i'm conflating desktop environment and window manager and all these things in a way that i don't understand
[16:09] <ioria> mekhami, recent ubuntu releases are very well integrated with gdm, but not with lightdm
[16:12] <mekhami> figures. i couldn't get i3 to work with gdm.
[16:17] <WereSquirrel> I don't believe I've made any modifications to the dock, no
[16:37] <Swahili> Where to find instructions on how to setup clang-11 in ubuntu?
[16:48] <oerheks> llvm site gives repo info https://apt.llvm.org/
[16:48] <oerheks> bionic/groovy/hirsute
[16:58] <Swahili> oerheks: thanks!
[17:12] <bundtcake> I have been patching my kernel and getting routinely sabotaged. Why is amd64-microcode and thermald a dependency of the linux-image? Why are certain drivers getting blacklisted upon loading up a secondary kernel? Why does get-edid say that root is not truly root?
[17:14] <tomreyn> get-edid, of the read-edid tools, to retrieve and interpret monitor specifications using the VESA VBE DDC protocol?
[17:15] <bundtcake> At one point lza tools got removed and I was getting emergency initramfs warnings
[17:15] <bundtcake> tomreyn yes
[17:15] <tomreyn> what would that know about the root user?
[17:15] <tomreyn> hardly the right tool for the job
[17:15] <bundtcake> tomreyn: it has to run as root to detect things
[17:16] <tomreyn> right, it uses real-mode calls, that's why
[17:17] <bundtcake> tomreyn: probably more their fault I get it, but still I've been bleeding system tools and having key hardware blacklisted
[17:19] <tomreyn> i'd say look through the patches ubuntu applies and see what could cause the problems you're seeing
[17:19] <tomreyn> could be apparmor related
[17:19] <bundtcake> tomreyn: its not the patches but the apt system
[17:20] <bundtcake> I added a ppa to try out a patched kernel and then my entire system started screwing me at random removing patches from apt and blacklisting hardware
[17:20] <tomreyn> i have not seen one error message, and not enough details to comment. but also most folks would just use (and support) ubuntu kernels here.
[17:20] <bundtcake> removing tools*
[17:20] <iam8up> i'm running ubuntu 20 and it's just a simple web server right now and my question is can i have it redirect traffic from the public:18080 to another servers private:18080 ?  it doesn't have nat or anything, it would be redirecting the traffic to the default gateway and then it would find the private ip host
[17:21] <bundtcake> tomreyn: I'm supporting ubuntu kernels here too testing upstream patches before release
[17:21] <iam8up> kind of a proxy but really just a dstnat port forward functionally speaking
[17:21] <tomreyn> iam8up: if you just need it for testing, ssh -L / -R
[17:22] <iam8up> tomreyn, must be permanent and persist
[17:22] <bundtcake> tomreyn: but how many users are testing these things if they have to jump through hoops getting flak like this. thermald, microcode, lza tools, blacklisted drivers
[17:22] <tomreyn> iam8up: proxy then
[17:22] <iam8up> it's for a third party application
[17:22] <iam8up> tomreyn, so i can't do it with iptables?  i'd have to use nginx or something?
[17:23] <bundtcake> iam8up: is it the gateway device or is there an intermediary one?
[17:24] <iam8up> bundtcake, ubuntu machine?  it's just a standalone server, there is a router in between but the IP address requests will hit sits on ubuntu
[17:24] <tomreyn> iam8up: i think iptables can only do port redirects on the same system, ortherwise packets needs to be rewritten, which is no longer the job of a firewall.
[17:25] <bundtcake> iam8up: formally you would want to implement a vlan with the router, possibly put the server into a DMZ.
[17:25] <iam8up> doesn't iptables do nat and such?  most of my networking is done with mikrotik
[17:25] <iam8up> bundtcake, what would a vlan/dmz have to do with this?
[17:25] <bundtcake> bundtcake: well you want the webserver machine exposed to the Internet right?
[17:25] <iam8up> it already is, it has the public address
[17:26] <iam8up> there's another application, on a different proprietary machine,  with a private address...i want the public of ubuntu to dstnat to the private
[17:26] <bundtcake> iam8up: but you want it to escape the dmz so then vlan it access to that other machine exclusively
[17:27] <iam8up> there is no dmz or vlan here
[17:27] <bundtcake> iam8up: I know that is why I said formally that is the procedure used.
[17:28] <iam8up> basically i want iptables to redirect 1.1.1.1:18080 to 192.168.1.10:18080 and 1.1.1.1 is ubuntu, 192.168.1.10 is proprietary
[17:30] <bundtcake> iam8up: yeah pretty sure you will have to configure your router to do that.
[17:31] <tomreyn> or make it a router
[17:31] <tomreyn> nat + port forwarding
[17:31] <bundtcake> tomreyn: he says its not the gateway though.
[17:31] <tomreyn> it could still nat
[17:32] <tomreyn> it'll have toi be a separate network then, though
[17:32] <nshire> is this the officially supported ubuntu chat now?
[17:32] <lotuspsychje> !chat
[17:33] <iam8up> oh that would make sense you'd need a local IP to reach that private....that's probably not the way to go
[17:33] <nshire> refer to previous question
[17:33] <bundtcake> lotuspsychje: that proves nothing, ubottu stalks me in my dreams even.
[17:33] <iam8up> nginx as a load balancing tcp gateway would be the tool since it's not a local address
[17:34] <nshire> so I need a driver from kernel 5.9 to run my ethernet adapter. I'm using 20.04 LTS. what do I do?
[17:34] <tomreyn> nshire: use a hwe kernel
[17:34] <tomreyn> !hwe | nshire
[17:35] <ravage> The 20.04 HWE kernel is 5.8
[17:35] <bundtcake> iam8up: you are load balancing the webserver as a secondary gateway? Is this a pihole thing?
[17:36] <ravage> If you need 5.9 you have to build your own or experiment with the mainline kernel packages
[17:36] <coke> how far back do drivers for the new intel igpus go?
[17:36] <coke> i have a Maschine that has to stay on 18.04 that i want to put a new i5 into
[17:36] <coke> and use the gpu to hw accelerate
[17:36] <mbeierl> nshire, official is a broad word, but yes, this is were most people have come instead of the previous network
[17:36] <bundtcake> nshire: does the manufacturer put out a driver? Can you backport a driver from a newer ubuntu release?
[17:37] <iam8up> bundtcake, no there's no HTTP or web server, it's a proprietary application (fiber OLT if you know what that is)
[17:37] <nshire> its a RTL8125B 2.5g ethernet controller btw
[17:37] <iam8up> nginx can act as a tcp load balancer/relay from what i'm reading
[17:37] <nshire> I am using a crippled bluetooth tethering setup at about 500kbps right now so I can't google things myself like I would like
[17:38] <iam8up> nshire, https://askubuntu.com/questions/1259947/cant-get-rtl8125b-working-on-20-04
[17:38] <bundtcake> nshire: 500kbps is more than enough, try a text mode browser like links
[17:38] <bundtcake> nshire: lynx, w3m all good too
[17:38] <iam8up> nshire, https://www.realtek.com/en/directly-download?downloadid=c4676ea8d1adc3c6f28a4ae2c3e2787a for linux kernel up to 5.6
[17:39] <iam8up> get the tarball, open it, sudo autorun.sh
[17:40] <nshire> haha oh no I have to wait for them to email me the link
[17:40] <tomreyn> nshire: i was told there was linux 5.11 available in focal via -proposed as linux-generic-20.04-edge, but rmadison seems to claim otherwise. you may want to double check this.
[17:41] <nshire> ^ 10k clients, what?
[17:44] <lotuspsychje> nshire: did you affect an existing bug or file a new one yet?
[17:44] <nshire> I'm not sure what you mean lotuspsychje
[17:45] <nshire> I switched motherboards and the new network card isn't supported
[17:45] <lotuspsychje> so something doesnt work by default on ubuntu, it could be abug
[17:45] <ioria> nshire, what about installing 21.04 ?
[17:45] <lotuspsychje> meaning you are part of the community and can help making the devs aware about it
[17:46] <nshire> lotuspsychje, there are drivers included in a new kernel version, but that kernel isn't yet supported by LTS
[17:47] <lotuspsychje> a reason more to affect the bug
[17:47] <nshire> I entered my email into the realtek driver download page and they still haven't sent me a link yet. That's not a very good system they have...
[17:47] <tomreyn> nshire: you missed the message it outputs there
[17:48] <tomreyn> Machine translation: "The product is connected to the empty, please find the product from the download center page, click to download ICON, can download it normally"
[17:49] <lotuspsychje> nshire: can you see if this is you please? bug #1916558
[17:52] <tomreyn> this looks like a follow-up problem
[17:52] <tomreyn> but it suggests trying the oem-kernel on focal
[17:52] <tomreyn> which is something nshire could do
[17:53] <nshire> I finally did get the proper drivers from realtek, thanks tomreyn
[17:54] <nshire> before I try installing those, maybe I should try the oem kernel first?
[17:54] <tomreyn> so you got the 1gbps driver from https://rtitwww.realtek.com/rtdrivers/cn/nic1/r8168-8.049.01.tar.bz2 ?
[17:55] <tomreyn> the oem kernel should work fine with this hardware. it may break with other hardware
[17:55] <nshire> 2.5g. I don't have a link to it anymore since they send one-time-use links
[17:56] <tomreyn> it's the "we make vendors happy and make ubuntu hardware certifications happen" kernel
[17:56] <nshire> that sounds.. stable?
[17:56] <tomreyn> i have no first hand experience, give it a try.
[17:57] <tomreyn> alternatively, there's also !mainline
[17:58] <nshire> mainline being the very latest kernel version?
[17:59] <nshire> maybe I should minimize my potential issues and just use the realtek driver. I'll do that.
[18:02] <nshire_> tomreyn, I just went with the realtek driver. works now. thanks
[18:08] <tomreyn> https://rtitwww.realtek.com/rtdrivers/cn/nic1/r8125-9.005.06.tar.bz2 also exists, apparently they just haven't linked it properly
[18:11] <nshire> UHHHHH
 https://rtitwww.realtek.com/rtdrivers/cn/nic1/r8125-9.005.06.tar.bz2 also exists, apparently they just haven't linked it properly
[18:12] <nshire> well the good news is I fixed my drivers so it downloaded everything at 1gpbs
[18:12] <nshire> the bad news is it updated itself to the 5.8 kernel
[18:12] <nshire> and now the driver I just downloaded appears to be unsupported
[18:12]  * nshire facepalms
[18:13] <iam8up> tomreyn, bundtcake FYI the nginx tcp proxy solution is super simple, easy, and perfect
[18:13] <iam8up> iptables was a bad idea but that comes from my networking brain
[18:13] <bancroft> can someone help me with a sanity check? I have a systemd service that in theory should work but I get this error instead https://bpa.st/VUNA
[18:14] <richart> hello. I love Ubuntu.
[18:14] <tomreyn> iam8up: glad you worked it out. :)
[18:14] <tomreyn> hi richart
[18:15] <iam8up> yep appreciate the help!
[18:15] <richart> hi tomreyn. I'm from Peru. And you?
[18:15] <tango_uniform_xr> bancroft it seems like an escaping issue, i guess to avoid that you could put that into a .sh script somewhere in /usr/local/libexec or wherever and point ExecStart= to that instead
[18:15] <tomreyn> richart: i'm not! :) this is really a *support* channel, though. there are also social channels, such as #ubuntu-offtopic
[18:16] <richart> ok.
[18:16] <richart> i'm testing xchat.
[18:17] <nshire> I think xchat was deprecated a decade ago, switch to hexchat
[18:18] <nshire> I believe there are a lot of exploits known for xchat
[18:18] <bancroft> tango_uniform_xr: ahh the great escape, I'll look into that thanks
[18:18] <tango_uniform_xr> bancroft yeah escaping in systemd can be annoying, i usually just put stuff in shell scripts and have the ExecStart look at that instead :D
[18:19] <nshire> yes richart your client is over a decade old. highly suggest upgrading to something else
[18:20] <nshire> does anyone know what nvidia's kernel support is like for their newer drivers?
[18:20] <nshire> my new kernel has me stuck at a tiny resolution on my 4k screen
[18:24] <sarnold> bancroft: tango_uniform_xr's close -- systemd doesn't use bash to execute things in Exec* lines, it parses the command line itself and directly executes things, so shell tools like redirection and pipes and so on don't work
[18:26] <bancroft> sarnold: so I have no choice, bash script or else
[18:26] <lotuspsychje> nshire: nvidia-smi to check your driver version loaded, ubuntu-drivers list to see your available drivers
[18:27] <sarnold> bancroft: or configure the systemd unit file via StandardError= to discard the output
[18:27] <sarnold> bancroft: check out systemd.exec(5)
[18:27] <tomreyn> nshire: i think you can downgrade to the focal GA kernel, which should continue to be maintained, if https://ubuntu.com/about/release-cycle#ubuntu-kernel-release-cycle is correct
[18:27] <tomreyn> that one should also work with nvidia
[18:27] <lotuspsychje> nshire: usualy ubuntu seeks your proper resolution to use, we see some users benefit scaling options
[18:29] <tomreyn> nshire: ...but i guess -oem and -hwe kernels should also support nvidia proprietary drivers as long as you install them as ubuntu provided packages.
[18:34] <nshire> appears I am on HEW
[18:34] <nshire> *HWE
[18:34] <nshire> linux-generic-hwe-20.04 is already the newest version (5.8.0.55.62~20.04.39).
[18:38] <tomreyn> nshire: you install those using "ubuntu-drivers"
[18:45] <nshire> *test*
[18:45] <nshire> I don't know why I didn't think of this earlier, but USB tethering is great. ahhh finally 120mbs symmetric.
[18:45] <sarnold> hah
[18:45] <nshire> makes this slightly less painful
[18:46] <nshire> I was really dying inside being capped at 500k
[18:57] <nshire_> huh. despite what the website says, the RTL8125B drivers do work with kernel 5.8. I just had to re-run the installer
[18:57] <nshire_> that was painful.
[19:10] <bundtcake> nshire: welcome back, how are those network drivers handling? You doing any other tweaks?
[19:11] <nshire> works great now. the site says it only supports kernel 5.6, but I'm on 5.8 and it works fine after rerunning the installer
[19:11] <nshire> Client: HexChat 2.14.3 • OS: Ubuntu "focal" 20.04 • CPU: AMD Ryzen 7 3800X 8-Core Processor (2.19GHz) • Memory: Physical: 30.6 GiB Total (27.7 GiB Free) Swap: 2.0 GiB Total (2.0 GiB Free) • Storage: 3.2 TB / 5.0 TB (1.8 TB Free) • VGA: NVIDIA Corporation AT-2500TX/ACPI @ Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge • Uptime: 20m 8s
[19:12] <nshire> hmm that video adapter doesn't look right...
[19:13] <bundtcake> nshire: drop me a pastebin of your specs or bootlog and I will give it a looksy. I got nvidia on my laptop.
[19:14] <nshire> is there a terminal command for that?
[19:14] <bundtcake> nshire: sudo dmesg > dump.txt
[19:16] <nshire> running an rtx 3060
[19:16] <bundtcake> nshire You can also use a couple flags like dmesg -l warn or crit/emerg. Journalctl has some fancier logs for checking your system service daemons
[19:17] <nshire> hmmm kernel taint messages from nvidia
[19:17] <bundtcake> nshire: that is standard means its proprietary
[19:18] <nshire> oh
[19:18] <nshire> https://paste.ubuntu.com/p/qYhyKMctWs/
[19:19] <nshire> doesn't look like anything is really wrong in there
[19:19] <bundtcake> nshire: make sure you check /etc/modprobe.d/ to see if any of your hardware or drivers have been blacklisted. I ran into a problem with that previously.
[19:20] <bundtcake> ah crap I need an ubuntu one account for that
[19:22] <nshire> I don't think I see anything important in blacklist.conf
[19:22] <nshire> https://paste.ubuntu.com/p/8wDX45vfBd/
[19:22] <nshire> are these default entries across all systems or were they automatically set for mine?
[19:24] <bundtcake> nshire: those look like the default. the surrounding config files would be for custom changes.
[19:24] <nshire> "# ugly and loud noise, getting on everyone's nerves; this should be done by a
[19:24] <nshire> # nice pulseaudio bing (Ubuntu: #77010)
[19:24] <nshire> blacklist pcspkr
[19:24] <nshire> "
[19:25] <nshire> sorry forgot about linebreaks
[19:27] <bundtcake> nshire: yeah I sometimes enable that just so I can use the classic beep command. I wonder if you can play midi chiptunes off the motherboard. I would make my system boot up sounding like an ice cream truck.
[19:28] <tomreyn> nshire: sudo update-pciids    may help with getting a more correct hardware detection
[19:28] <tomreyn> well, display names rather
[19:30] <nshire> I imagine that needs a system reboot to work properly.. brb
[19:31] <nshire> Client: HexChat 2.14.3 • OS: Ubuntu "focal" 20.04 • CPU: AMD Ryzen 7 3800X 8-Core Processor (2.19GHz) • Memory: Physical: 30.6 GiB Total (29.3 GiB Free) Swap: 2.0 GiB Total (2.0 GiB Free) • Storage: 3.2 TB / 5.0 TB (1.8 TB Free) • VGA: NVIDIA Corporation GA106 [GeForce RTX 3060] @ Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge • Uptime: 47s
[19:31] <nshire> cool! thanks
[19:32] <bundtcake> nshire: why you keep pasting that in, is it your chat client?
[19:32] <nshire> yeah its a function of hexchat
[19:32] <nshire> *plugin
[19:32] <nshire> https://github.com/hexchat/hexchat/blob/master/plugins/sysinfo/sysinfo.c
[19:33] <bundtcake> nshire: I just run irssi, has great plugin support if you are into it.
[19:34] <bundtcake> nshire: don't you even fake that you just did a 1 sec reboot.
[19:35] <bundtcake> nshire: did you reload the kernel in some manner?
[19:35] <nshire> full reboot
[19:35] <nshire> I'm assuming it said client timeout?
[19:35] <bundtcake> yeah
[19:36] <nshire> I don't know if hexchat interprets the acpi shutdown signal properly/at all
[19:36] <bundtcake> I don't get reboots that fast even when cloud computing on VPS
[19:36] <tomreyn> s/second/minute/
[19:36] <nshire> so it doesn't have time to send the shutdown signal, it just gets killed and then the connection times out
[19:36] <bundtcake> yeah it must have hanged
[19:37] <nshire> I have about a 7 second boot time to windows, ubuntu is longer since I need to mash f12 and select the right drive
[19:38] <bundtcake> nshire: I sometimes run irssi over tmux on my server and ssh into it. I tried setting it up to send me a notification if someone calls my name out.
[19:39] <bundtcake> there is probably a smaller irc proxy/daemon I could use and keep irssi on my native system.
[19:39] <nshire> I had a python script that searched my logs for mentions and pinged my phone
[19:40] <nshire> hexchat dings, flashes the window, and gives a notification popup
[19:56] <Ologn> After upgrading to hirsute, I am seeing more artifacts with my cursor.  I move it somewhere and a full or partial version of it can lag behind.
[19:57] <Ologn> It's hard to capture in a print screen screenshot, as screenshot does not show a cursor at all.
[20:00] <nshire> Ologn, the "screenshot" utility that is preinstalled has the ability to capture cursor, and you can set a time delay to have your cursor in the screenspace
[20:02] <bundtcake> Anyone got an opinion on congestion control algorithms? I see the default is bbr2 now, very interesting.
[20:25] <VMGuy234> I pressed A, S, Up and Right at the same time during GRUB
[20:25] <VMGuy234> Would that do anything? It bootedinto Ubuntu
[20:25] <VMGuy234> Which is default
[20:26] <VMGuy234> also theselected option
[21:47] <GEttR> i just upgraded from 18 LTS to 20 LTS, system has perl 5.30 installed, HexChat2.14.3-3 is trying and failing to load libperl.so.5.26 for the perl plugin. worked fine on 18 LTS. i've tried completely removed and reinstalled HexChat. no luck - anyone have any suggestions?
[21:51] <tebruno99> GEttR: maybe try removing hextchat-perl
[21:51] <tebruno99> hexchat-perl
[21:54] <GEttR> ive removed and reinstalled that as well and it shows up to date in dpkg-query   hexchat-perl:amd64	2.14.3-3
[21:57] <oerheks> rename the ~/.config/hexchat folder
[21:58] <GEttR> rename, then restart hexchat?
[22:03] <tomreyn> GEttR: do you have an outdated perl.so in ~/.config/hexchat/addons ?
[22:04] <GEttR> no luck oerheks
[22:24] <tomreyn> GEttR: /join #hexchat - they should know where it looks for addons / plugins. one of those locations will have the old perl module.
[22:25] <Alabalistic> out of scope but quassel irc is great,
[22:25] <GEttR> tomreyn - thanks im sat in there too
[22:26] <GEttR> Alabalistic - does it have perl scripting by any chance?
[22:28] <Alabalistic> no idea where to check it
[22:28] <GEttR> no worries. ill look it up
[22:37] <luisereb1i> 0xf86b808405f5e10082520894f7fe578c81788a551e6c3efa54501f463ce26af7880de0b6b3a76400008026a0a8d1d37b06c4eed8d4e705da3041a3cb97f5eb385ba66935992b00164fa8506fa024823ffda3cc412262a154d9c2153b81cf3428f7255dd6b9206fe187de8a9220
[22:37] <luisereb1i> (apologies, pasted something in my buffer without meaning to!)
[22:38] <Alabalistic> did you just leak your bitcoin wallet
[22:41] <luisereb1i> haha! if only i were so unfortunate... it's an encoded string that i'm guessing has been kept in my tmux buffer. i think i'm going to have to unbind that key to paste, since i seem to have mixed it up with the copy key a few times.