/srv/irclogs.ubuntu.com/2021/06/15/#ubuntu.txt

bobmight5743audiocat 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
audiocatbobmight5743, the module is called instapy00:00
audiocatits installed in the venv. when i open up ipython i can import it just fine00:00
bobmight5743audiocat you're probably going to have to look further up the stacktrace00:01
bobmight5743if you're 100% sure you're in the venv00:01
audiocatls00:02
audiocatbobmight5743, looks like the venv isn't being activated00:03
audiocatthis is my code: source /home/gsb/venv/bin/activate && /usr/bin/python3 /home/gsb/socialbot.py00:03
audiocatbobmight5743,00:03
audiocatbobmight5743, hello?00:09
bobmight5743audiocat as recommended above have you checked the #!/bin/python at the top of the file/00:09
audiocatbobmight5743, yes00:10
audiocatstill not working00:10
audiocatadded #! /usr/bin/python300:10
bobmight5743dunno, have you tried is as not a one-liner?00:10
audiocatbobmight5743, how would i do that00:11
bobmight5743activating venv00:11
audiocatbobmight5743, i meant syntax-wise00:11
bobmight5743um let me remember, like `source bin/activate` is off the top of my head00:12
bobmight5743this should dump you in the venv00:12
audiocatbobmight5743, i know that part00:12
bobmight5743in your case ` source /home/gsb/venv/bin/activate` or something about maybe00:12
audiocatyou said make it "not a one-liner"00:12
audiocatbobmight5743, what would i replace "&&" with00:12
audiocatthats what makes it a one-liner00:12
bobmight5743nothing, once in venv shell then: `python ./socialbot.py`00:13
sarnoldaudiocat: oh, this is probably another case where replacing the complicated line with a shell script would be a benfit00:13
sarnoldaudiocat: my guess...00:13
sarnold$ dash -c 'source ~/.bashrc'00:13
sarnolddash: 1: source: not found00:13
sarnoldaudiocat: perhaps cron is using dash to execute these, and dash doesn't support bash's 'source' alias, it only supports .00:13
bobmight5743honestly I'd use docker00:14
audiocatsarnold, you make these suggestions and then you arent around to help debug00:14
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 btw00:15
sarnoldaudiocat: aye, I've got a job to do :)00:15
audiocatsarnold, i followed your advice and am getting a new eerror00:15
audiocatcan anyone help? https://stackoverflow.com/questions/67978568/activate-venv-and-run-python-script-from-shell-script00:31
=== MTeck is now known as MTecknology
bobmight5743haha, I grew up on the same street as Wim. We both had different names then. He's totally right of course.01:01
pakcjoHi 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:16
audiocatbobmight5743, why might my script work locally (i can run it without a 429 error) but not on my digital ocean server? https://prnt.sc/15g0wet01:27
=== M4he is now known as mahe
Alabalisticaudiocat: dependencies02:27
audiocatAlabalistic, i got everything working02:27
sarnold\o/02:27
Alabalisticgreat02:28
=== dude is now known as bundtcake
bundtcakeMy 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:05
bundtcakeI hear a pop from monitor as its sound is max yet something has it muted.03:07
bundtcakewhy is all my hardware blacklisted!? ;_; ubuntu come on now amdgpu and amd64-microcode why man03:16
oerhekspulseaudio -k && sudo alsa force-reload # might fix weird connection issues03:23
SamianI did sudo -i to become root. how do I go back to being a user?03:44
Bashing-omSamian: type ' exit ' .03:45
Samianthanks03:46
Bashing-omSamian: :D We are here to help.03:46
bittinmorning04:07
GinaloHi. 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
GinaloWhat steps should I do first when diagnosing this?04:19
=== Agent is now known as ClownPrince
=== ClownPrince is now known as Agent
=== jiqiren2345 is now known as jiqiren
=== ircuser-1 is now known as chasmo77
=== chasmo77 is now known as ircuser-1
=== war is now known as Guest9519
isapgswellis that a way to run gnome-shell standalone and network offline???06:07
=== LarsErik1 is now known as LarsErikP
olleHm, why is default php package in 20 lts still php 7.4.3? Not 7.4.7?06:35
geirhapackages are normally never upgraded; only security patches and bug fixes are applied06:51
geirhasome packages have excemptions to the rule, but I don't think php is one of them06:53
ollehm hm06:56
geirha!sru06:56
ubottuStable Release Update information is at https://wiki.ubuntu.com/StableReleaseUpdates06:56
=== mIk3_0857 is now known as mIk3_Q
=== mIk3_Q is now known as mIk3_08
=== jakobbg1 is now known as jakobbg
shachafSome 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:57
mgedminI would try systemctl --user mask redshift.service08:59
shachafI see, that makes it impossible to enable.08:59
shachafBut why is disable not sufficient? What keeps running it?09:00
mgedmindisable stops the service from autostarting, if some other service depends on redshift, starting that other service will start redshift too09:01
mgedminor if something like gnome-session explicitly tries to start redshift09:01
eraserpencilHi! 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 password09: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:04
mgedminlooking at the .service and .desktop files in the redshift package I see nothing that would cause a disabled service to be automatically started :/09:05
mgedmineraserpencil: have you checked journalctl?09:06
eraserpencili see the failed attempts09:07
eraserpencilnot too sure what to look out for09:10
mgedminkeyboard problems?  wrong layout, dropped/duplicated keys?09:22
mgedmindo you get auth failures if you copy and paste the password into the sudo prompt?09:22
mgedminI'm not sure what else to check -- /etc/sudoers?  /etc/pam.d/sudo?09:22
eraserpenciloh!09:23
eraserpencilcopy paste works09:23
eraserpencili'm not sure.. in the prompt for password when using the `passwd` command, i could get pass it.09:24
eraserpencilif i were to log out, I would never be able to log back in (by typing)... copy-pasting: untried.09:24
=== denningsrogue9 is now known as denningsrogue
=== jaffach1ef is now known as jaffachief
eraserpencilhow am i to debug the copy-paste issue?09:42
llutzeraserpencil: compare the pasted with the typed password. Check keyboard mapping etc. then09:45
TheBigKcheck 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 problems09:46
eraserpencilthanks! that was it09:48
eraserpencilwhat could have changed it?09:48
eraserpencilactually, that didnt help. the file changed, but i still cant key in my passwd09:52
mgedminif /etc/shadow had wrong permissions, pasting the right password into sudo wouldn't allow you to log in09:53
mgedminif you saw wrong permissions, maybe there's some runaway background process that changes them back and forth?09:53
shachafmgedmin: Aha. Is there an easy way to see why the service was starting?09:55
mgedminjournalctl maybe?09:56
shachafIs the graph of service dependencies tricky to query, or dynamic, or something?09:56
shachafOh, systemctl list-dependencies09:57
shachafI don't see anything that depends on it.09:57
shachafWell, hopefully masking it will be an OK workaround.09:57
eraserpencilok, 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:57
eraserpencilmgedmin: that sounds dangerous.09:58
=== multi8_ is now known as multi8
=== zbenjamin_ is now known as zbenjamin
webchat7Hi. Can someone help me out with Ubuntu 20 cloud-init based unattended server installation?11:27
mgedminwebchat7: I have a feeling people in #ubuntu-server migtht be more familiar with this use case11:28
* mgedmin wonders if there's a #ubuntu-cloud?11:28
webchat7Wasn't sure if I want to go to a team channel11:29
webchat7Unattended 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:31
timothypHi, if I want to prepare an installation of ubuntu completely customize it and then create an ISO from it, what are my options?11:32
=== GLaDER33 is now known as GLaDER3
=== GLaDER3 is now known as GLaDER
=== Ursinha is now known as Jorjao
=== Jorjao is now known as jorjao
=== jorjao is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursula
=== Ursula is now known as Ursinha_
=== Ursinha_ is now known as Ursula_
=== Ursula_ is now known as Ursinha
=== rud0lf is now known as test
=== test is now known as rud0lf
=== jpe__ is now known as sharperguy
Guest30.12:00
=== uc50ic4more is now known as uc50_ic4more
=== uc50_ic4more is now known as uc50ic4more
=== kinggoddard18239 is now known as goddard
eraserpencilI've discovered that only one shell is ever allowed sudo access at any one time12:15
mgedminyour system is haunted, eraserpencil12:16
eraserpencilit's reproducible to a certain extent that I know all the VMs I create will eventually run into it.12:19
tango_uniform_xri'm not sure i understand your issue too well eraserpencil12:22
Walexeraserpencil: does 'su' work?12:22
Walexeraserpencil: also check: 'ls -ld $HOME $HOME/.sudo_as_admin_successful' there might be some issue there.12:24
eraserpencilwalex: su works only in the shell that still could access "sudo" permissions? if that makes any sense12:24
=== marlinc_ is now known as marlinc
Alabalisticeraserpencil: what is the problem looks interesting-12:26
tango_uniform_xrtimothyp try debootstrap or mmdebstrap12:27
tango_uniform_xri've never heard of any issue like this, it sounds bizarre to me12:27
eraserpenciltango_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 back12:28
eraserpencilin. 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:28
eraserpencilwalex: 644 permissions, user/group is me12:30
mgedminfwiw ~/.sudo_as_admin_successful is the old location; nowadays sudo uses /var/lib/sudo/lectured/12:31
mgedminI think?12:31
BluesKajHi all12:33
mgedminalso, why would /etc/shadow being mode 600 break sudo?  sudo is suid root, it should be able to read /etc/shadow12:35
Alabalisticeraserpencil:  is it possibe that you copy the salted hashed password in /etc/shadow and it's not working any more12:35
eraserpencili dont know any of the things im working on touches /etc/shadow, but it dosent explain why only one shell has sudo permissions12:37
eraserpencilby 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 things12:39
Alabalisticeraserpencil: 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.html12:40
tango_uniform_xreraserpencil is there anything you use or install that you suspect might mess with pam or sudo, su, shadow etc12:40
eraserpencilAlabalistic: OOH! no I don't. Thanks for that. New to VMware.12:41
mgedmin15 minutes sounds suspiciously like the sudo tty ticket timeout12:41
westorhow the hell i can set my custom vhost ?12:41
eraserpencilmgedmin: Yea, I had that suspicion, leading me to test out the one-shell thing.12:45
eraserpenciltango_uniform_xr: Not really. I'm messing around with docker, networking, nothing that should affect sudo.12:46
=== prxq_ is now known as prxq
tango_uniform_xrah, i have no experience with VMware12:46
eraserpencilit should be a linux thing no?12:47
mgedmineraserpencil: I'd be tempted to strace the failing sudo process12:47
eraserpencilI 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:48
eraserpencilHow would I do that?12:49
mgedminhmm indeed how12:49
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 logs12:50
ograeraserpencil, "sudo -k" ... resets the timer ...12:55
=== shored1 is now known as shored
StephenLynxhey, 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
StephenLynxany idea?13:27
lotuspsychjeStephenLynx: can you pastebin; sudo lshw -C network please13:28
StephenLynxpastebin.com/9R3t6t6N lotuspsychje13:30
StephenLynxbtw, secureboot is disabled.13:31
lotuspsychjeStephenLynx: wich ubuntu release and kernel version are you on please13:32
StephenLynxkernel 5.8.0.-55-generic for the kernel, 20.04 for the ubuntu version, lotuspsychje13:35
StephenLynx20.04.2 lts to be more specific.13:35
StephenLynxalso 5.8.0-55-generic, I put one extra dot there.13:35
lotuspsychje!info linux-generic-hwe-20.0413:37
ubottulinux-generic-hwe-20.04 (5.11.0.18.19, hirsute): Complete Generic Linux kernel and headers. In component main, is optional. Built by linux-meta. Size 2 kB / 18 kB. (Only available for amd64, armhf, arm64, powerpc, ppc64el, s390x.)13:37
StephenLynx5.11? so my kernel version is outdated?13:38
ELFrederichI 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
lotuspsychjeStephenLynx: not sure how you got on 5.8, im on 5.4 kernel here for 20.0413:38
StephenLynxi just did a regular install.13:39
lotuspsychjeStephenLynx: ah ok, new iso's might result into 5.813:39
tomreyn!info linux-generic-hwe-20.04 focal13:39
ubottulinux-generic-hwe-20.04 (5.8.0.55.62~20.04.39, focal): Complete Generic Linux kernel and headers. In component main, is optional. Built by linux-meta-hwe-5.8. Size 2 kB / 19 kB. (Only available for amd64, armhf, arm64, powerpc, ppc64el, s390x.)13:39
lotuspsychjeah tnx tomreyn13:39
lotuspsychjejeremy31: you got a git for this one ^ ?13:40
ELFrederich$ cat /etc/apt/sources.list.d/sublime-text.list13:40
ELFrederichdeb https://download.sublimetext.com/ apt/stable/13:40
ELFrederichIs 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:40
StephenLynxis 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
StephenLynxis not your*13:41
lotuspsychjeStephenLynx: realtek chipsets are known to be kernel version itchy, hence why some models might need a git driver test13:41
StephenLynxright.13:41
lotuspsychjeand jeremy31 is our realtek wizard :p13:42
StephenLynxwill you guys need something from me or is this a case of "wait until a patch with support is pushed"?13:42
tomreynStephenLynx: 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
tomreynon paste.ubuntu.com13:43
StephenLynxthat was a GUI pop up.13:43
StephenLynxfrom the driver thing.13:43
StephenLynxi can screenshot it13:44
StephenLynxor I can look for the logs if there is any.13:44
tomreyni see. you should be able to reproduce it it using the "ubuntu-drivers" command13:44
StephenLynxok, give me a moment.13:44
StephenLynxthis is on a separate machine, so things take a while13:44
tomreynor on the gui with a screenshot (works, too) if it doesn't work withthe command13:45
StephenLynxi figure i should run it with sudo?13:45
tomreynyes i think you'll need to13:45
tomreynstart with    sudo ubuntu-drivers list13:45
tomreynthen    sudo ubuntu-drivers devices13:46
tomreynthen   sudo ubuntu-drivers install13:46
StephenLynxinstall something or just install? i tried using install with the item from list and it said no drivers found.13:47
tomreynStephenLynx: "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
StephenLynxnah, there is only one13:48
StephenLynxno drivers found for installation.13:49
StephenLynxeven though list and devices listed things.13:49
tomreynStephenLynx: what did they list, though?13:49
StephenLynxa moment13:49
StephenLynxpastebin.com/Q0aRyeFa13:51
StephenLynxtomreyn,13:51
tomreynStephenLynx: okay, now:   lspci -knns 0000:02:00.013:53
StephenLynxpastebin.com/wsCLMSwy tomreyn13:55
tomreynso 10EC:C821 is the device vendor and product id, it's an RTL8821CE chipset. the driver source is installed but the driver is not loaded13:56
StephenLynxi remember asking for drivers to be installed when I installed the system.13:57
StephenLynxand the driver on the GUI says is a free driver.13:57
StephenLynxi also did disable secureboot and reinstalled the system.13:58
tomreynare you able to reproduce the inital erro rmessage?13:58
tomreyn<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:58
StephenLynxhuh, the guy says its now loaded. let me try removing the usb wifi adapter.13:59
StephenLynxthe gui*13:59
StephenLynxand  reboot13:59
StephenLynxnm-applet said there was no adapters when i removed the usb one. so ill reboot and try again.14:00
StephenLynxnow it's working. :|14:03
StephenLynxtomreyn, any other info I can give you?14:03
=== nagybogo is now known as etherington
tomreynStephenLynx: if it's working, then i guess it's fine? come back when there are more problems with it, i'd say.14:04
StephenLynxok, ty for the help.14:04
tomreynthere 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:04
StephenLynxthing is, when it showed that, the radiobutton changed to "not use this driver"14:05
tomreynStephenLynx: see whether it's stable, do a speedtest through it etc14:05
StephenLynxi did a ping on 8.8.8.814:05
StephenLynxand it was fine14:05
StephenLynxnow i already shut it down.14:05
tomreynaha, so it actually built the driver then, but usb mode switch failed or something14:05
tomreynStephenLynx: 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:09
tomreynit'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*built14:10
StephenLynxyeah, Im familiar with drivers like those. on my other ubuntu machine I had that for my gpu driver.14:10
tomreynthis is actually quite common with usb wireless dongles14:10
tomreynyes, it's similar for nvidia proprietary drivers.14:11
alzghI'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:12
vantOlá14:17
vantGostaria de pôr as janelas gelatinosas . Tenho o ubunutu 20.04 .14:18
alzghinstalar caixa virtual14:20
vant_What is the channel ubuntu PT-PT and PT-BR .14:20
tomreynalzgh: i haven't tried it, but this might work: https://github.com/arnon-weinberg/session14:20
vant_Olá '14:20
beothornhttps://help.ubuntu.com/community/CompositeManager#Compiz14:20
tomreyn!pt | vant_14:20
ubottuvant_: Por favor, use #ubuntu-br para ajuda em português. Para entrar no canal por favor faça "/join #ubuntu-br" sem as aspas. Para a comunidade local portuguêsa, use #ubuntu-pt. Obrigada.14:20
alzghthanks tomreyn14:21
=== h1pot is now known as BeneditoSalvador
BeneditoSalvadorOnce 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:26
ograBeneditoSalvador, you can do that since ages already ...14:27
ograBeneditoSalvador, 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" ... done14:28
ograoh my14:28
* ogra curses hexchats emoji plugin14:29
BeneditoSalvadordoes it still get mounted at boot time like the others snaps even if the hdd is not connected?14:29
ograit does get installed like an snap from the store14:30
rbasakAre 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
ograso the snap file ends up in /var/lib/snapd/snaps ... and gets mounted to /snap14:30
BeneditoSalvadorrbasak: the second option yes14:33
tomreynalzgh: 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:33
ograBeneditoSalvador, you'D just move /var/lib/snapd to the external disk and (bind)mount it from there ...14:34
BeneditoSalvadorogra: thanks, i might try that14:36
ograi think we have some forum threads about that at forum.snapcraft.io as well ... with more details14:36
BeneditoSalvadori will try this method because my pc case is really tiny and i'm running out of space14:39
BeneditoSalvadorcan you link me one of this related threads? i was searching for it earlier but didn't find anything14:39
ograBeneditoSalvador, i fear my emoji plugin will mess it up ... but here it is:14:45
ograBeneditoSalvador, https://forum.snapcraft.io/t/how-to-place-your-snaps-elsewhere-than-var-lib-snapd/747214:45
ograhah !14:46
ogra(didnt mess it up)14:46
mekhamiI 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:48
tomreynmekhami: ubuntu or pop os?14:52
mekhamitomreyn: ubuntu 20.04.14:53
leftyfbmekhami: cat /etc/os-release | nc termbin.com 999914:54
mekhamiwhat part of 'ubuntu 20.04' do you not believe?14:54
mekhami20.04.2 LTS14:55
tomreynhave you verified it's not the cables?14:55
mekhamiyes.14:55
tomreynhow?14:55
mekhamiby using a cable that i know works? jesus christ what is going on today14:55
mekhamido you all think i'm a moron14:55
mekhamitry assuming the other person is not a moron14:56
wezmekhami: 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
wezmekhami: so don't take offense :)14:57
tomreynyes, don't take it personal, please, we just don't know you.14:57
mekhamiokay but when i answer something definitively, let's just not assume i don't know what i'm talking about.14:58
tomreynthat's "you" as in "your experience"14:58
wezmekhami: With a network issue you start at cables and physical things then work your way up to firewalls, sockets and OS nauancies14:58
weznauances14:58
mekhamiif i said 'i think it's ubuntu 20.04' then, great reason to double check.14:58
=== snhardin__ is now known as snhardin
tomreynmekhami: can you show the full xrandr output, as well as the x initialization from journalctl -b, so we can make progress?14:59
tomreynon paste.ubuntu.com, please14:59
mekhamii'll come back to this in a few minutes have a work meeting.15:01
jhutchinsWHy did #ubuntu not just move to OFTC?15:06
Mekaneck!ot | jhutchins15:07
ubottujhutchins: #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!15:07
=== eliocamp7 is now known as eliocamp
=== ventic^ is now known as ventic
* jhutchins remembers why he doesn't run ubuntu.15:30
=== fonet_ is now known as Lantizia
mekhamitomreyn: 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:31
mekhamitomreyn: i have tried two different docks; a 'startech' dock and a dell d600015:32
mekhamitomreyn: 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:32
mekhamiit seems this thing really just doesn't like displaylink stuff15:36
tomreynmekhami: 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:38
tomreynmekhami: also firmware updates (laptop bios/ec, but also the docks)15:39
WereSquirrelHey, 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 LTS15:49
WereSquirrelI feel like I notice it more often with game-type windows15:51
tomreynWereSquirrel: wireless mouse? IMO that's usually a side effect of short signal interruptions around the time you click on something.15:54
WereSquirrelEverything 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 either15:58
ioriaWereSquirrel, did you change the default dock position ?16:06
=== gr33n7007h is now known as Guest9185
=== gr33n7001 is now known as gr33n7007h
mekhamiokay 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
mekhamiis there a similar configuration option for lightdm? what am i actually supposed to be changing16:07
mekhamii'm pretty sure i'm conflating desktop environment and window manager and all these things in a way that i don't understand16:07
ioriamekhami, recent ubuntu releases are very well integrated with gdm, but not with lightdm16:09
mekhamifigures. i couldn't get i3 to work with gdm.16:12
WereSquirrelI don't believe I've made any modifications to the dock, no16:17
=== dewwii_ is now known as deww
SwahiliWhere to find instructions on how to setup clang-11 in ubuntu?16:37
oerheksllvm site gives repo info https://apt.llvm.org/16:48
oerheksbionic/groovy/hirsute16:48
Swahilioerheks: thanks!16:58
bundtcakeI 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:12
tomreynget-edid, of the read-edid tools, to retrieve and interpret monitor specifications using the VESA VBE DDC protocol?17:14
bundtcakeAt one point lza tools got removed and I was getting emergency initramfs warnings17:15
bundtcaketomreyn yes17:15
tomreynwhat would that know about the root user?17:15
tomreynhardly the right tool for the job17:15
bundtcaketomreyn: it has to run as root to detect things17:15
tomreynright, it uses real-mode calls, that's why17:16
bundtcaketomreyn: probably more their fault I get it, but still I've been bleeding system tools and having key hardware blacklisted17:17
tomreyni'd say look through the patches ubuntu applies and see what could cause the problems you're seeing17:19
tomreyncould be apparmor related17:19
bundtcaketomreyn: its not the patches but the apt system17:19
bundtcakeI 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 hardware17:20
tomreyni 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
bundtcakeremoving tools*17:20
iam8upi'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 host17:20
bundtcaketomreyn: I'm supporting ubuntu kernels here too testing upstream patches before release17:21
iam8upkind of a proxy but really just a dstnat port forward functionally speaking17:21
tomreyniam8up: if you just need it for testing, ssh -L / -R17:21
iam8uptomreyn, must be permanent and persist17:22
bundtcaketomreyn: but how many users are testing these things if they have to jump through hoops getting flak like this. thermald, microcode, lza tools, blacklisted drivers17:22
tomreyniam8up: proxy then17:22
iam8upit's for a third party application17:22
iam8uptomreyn, so i can't do it with iptables?  i'd have to use nginx or something?17:22
bundtcakeiam8up: is it the gateway device or is there an intermediary one?17:23
iam8upbundtcake, ubuntu machine?  it's just a standalone server, there is a router in between but the IP address requests will hit sits on ubuntu17:24
tomreyniam8up: 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:24
bundtcakeiam8up: formally you would want to implement a vlan with the router, possibly put the server into a DMZ.17:25
iam8updoesn't iptables do nat and such?  most of my networking is done with mikrotik17:25
iam8upbundtcake, what would a vlan/dmz have to do with this?17:25
bundtcakebundtcake: well you want the webserver machine exposed to the Internet right?17:25
iam8upit already is, it has the public address17:25
iam8upthere's another application, on a different proprietary machine,  with a private address...i want the public of ubuntu to dstnat to the private17:26
bundtcakeiam8up: but you want it to escape the dmz so then vlan it access to that other machine exclusively17:26
iam8upthere is no dmz or vlan here17:27
bundtcakeiam8up: I know that is why I said formally that is the procedure used.17:27
iam8upbasically 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 proprietary17:28
bundtcakeiam8up: yeah pretty sure you will have to configure your router to do that.17:30
tomreynor make it a router17:31
tomreynnat + port forwarding17:31
bundtcaketomreyn: he says its not the gateway though.17:31
tomreynit could still nat17:31
tomreynit'll have toi be a separate network then, though17:32
nshireis this the officially supported ubuntu chat now?17:32
lotuspsychje!chat17:32
ubottu#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!17:32
iam8upoh that would make sense you'd need a local IP to reach that private....that's probably not the way to go17:33
nshirerefer to previous question17:33
bundtcakelotuspsychje: that proves nothing, ubottu stalks me in my dreams even.17:33
iam8upnginx as a load balancing tcp gateway would be the tool since it's not a local address17:33
nshireso 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
tomreynnshire: use a hwe kernel17:34
tomreyn!hwe | nshire17:34
ubottunshire: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack17:34
ravageThe 20.04 HWE kernel is 5.817:35
bundtcakeiam8up: you are load balancing the webserver as a secondary gateway? Is this a pihole thing?17:35
ravageIf you need 5.9 you have to build your own or experiment with the mainline kernel packages17:36
cokehow far back do drivers for the new intel igpus go?17:36
cokei have a Maschine that has to stay on 18.04 that i want to put a new i5 into17:36
cokeand use the gpu to hw accelerate17:36
mbeierlnshire, official is a broad word, but yes, this is were most people have come instead of the previous network17:36
bundtcakenshire: does the manufacturer put out a driver? Can you backport a driver from a newer ubuntu release?17:36
iam8upbundtcake, no there's no HTTP or web server, it's a proprietary application (fiber OLT if you know what that is)17:37
nshireits a RTL8125B 2.5g ethernet controller btw17:37
iam8upnginx can act as a tcp load balancer/relay from what i'm reading17:37
nshireI am using a crippled bluetooth tethering setup at about 500kbps right now so I can't google things myself like I would like17:37
iam8upnshire, https://askubuntu.com/questions/1259947/cant-get-rtl8125b-working-on-20-0417:38
bundtcakenshire: 500kbps is more than enough, try a text mode browser like links17:38
bundtcakenshire: lynx, w3m all good too17:38
iam8upnshire, https://www.realtek.com/en/directly-download?downloadid=c4676ea8d1adc3c6f28a4ae2c3e2787a for linux kernel up to 5.617:38
iam8upget the tarball, open it, sudo autorun.sh17:39
nshirehaha oh no I have to wait for them to email me the link17:40
tomreynnshire: 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:40
nshire^ 10k clients, what?17:41
lotuspsychjenshire: did you affect an existing bug or file a new one yet?17:44
nshireI'm not sure what you mean lotuspsychje17:44
nshireI switched motherboards and the new network card isn't supported17:45
lotuspsychjeso something doesnt work by default on ubuntu, it could be abug17:45
iorianshire, what about installing 21.04 ?17:45
lotuspsychjemeaning you are part of the community and can help making the devs aware about it17:45
nshirelotuspsychje, there are drivers included in a new kernel version, but that kernel isn't yet supported by LTS17:46
lotuspsychjea reason more to affect the bug17:47
nshireI 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
tomreynnshire: you missed the message it outputs there17:47
tomreynMachine 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:48
lotuspsychjenshire: can you see if this is you please? bug #191655817:49
ubottuBug 1916558 in linux-firmware (Ubuntu Focal) "Possible missing firmware /lib/firmware/rtl_nic/rtl8125b-2.fw for module r8169" [High, Fix Released] https://launchpad.net/bugs/191655817:49
tomreynthis looks like a follow-up problem17:52
tomreynbut it suggests trying the oem-kernel on focal17:52
tomreynwhich is something nshire could do17:52
nshireI finally did get the proper drivers from realtek, thanks tomreyn17:53
nshirebefore I try installing those, maybe I should try the oem kernel first?17:54
tomreynso you got the 1gbps driver from https://rtitwww.realtek.com/rtdrivers/cn/nic1/r8168-8.049.01.tar.bz2 ?17:54
tomreynthe oem kernel should work fine with this hardware. it may break with other hardware17:55
nshire2.5g. I don't have a link to it anymore since they send one-time-use links17:55
tomreynit's the "we make vendors happy and make ubuntu hardware certifications happen" kernel17:56
nshirethat sounds.. stable?17:56
tomreyni have no first hand experience, give it a try.17:56
tomreynalternatively, there's also !mainline17:57
nshiremainline being the very latest kernel version?17:58
nshiremaybe I should minimize my potential issues and just use the realtek driver. I'll do that.17:59
nshire_tomreyn, I just went with the realtek driver. works now. thanks18:02
tomreynhttps://rtitwww.realtek.com/rtdrivers/cn/nic1/r8125-9.005.06.tar.bz2 also exists, apparently they just haven't linked it properly18:08
nshireUHHHHH18:11
tomreyn<tomreyn> https://rtitwww.realtek.com/rtdrivers/cn/nic1/r8125-9.005.06.tar.bz2 also exists, apparently they just haven't linked it properly18:11
nshirewell the good news is I fixed my drivers so it downloaded everything at 1gpbs18:12
nshirethe bad news is it updated itself to the 5.8 kernel18:12
nshireand now the driver I just downloaded appears to be unsupported18:12
* nshire facepalms18:12
iam8uptomreyn, bundtcake FYI the nginx tcp proxy solution is super simple, easy, and perfect18:13
iam8upiptables was a bad idea but that comes from my networking brain18:13
bancroftcan 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/VUNA18:13
richarthello. I love Ubuntu.18:14
tomreyniam8up: glad you worked it out. :)18:14
tomreynhi richart18:14
iam8upyep appreciate the help!18:15
richarthi tomreyn. I'm from Peru. And you?18:15
tango_uniform_xrbancroft 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 instead18:15
tomreynrichart: i'm not! :) this is really a *support* channel, though. there are also social channels, such as #ubuntu-offtopic18:15
richartok.18:16
richarti'm testing xchat.18:16
nshireI think xchat was deprecated a decade ago, switch to hexchat18:17
nshireI believe there are a lot of exploits known for xchat18:18
bancrofttango_uniform_xr: ahh the great escape, I'll look into that thanks18:18
tango_uniform_xrbancroft yeah escaping in systemd can be annoying, i usually just put stuff in shell scripts and have the ExecStart look at that instead :D18:18
nshireyes richart your client is over a decade old. highly suggest upgrading to something else18:19
nshiredoes anyone know what nvidia's kernel support is like for their newer drivers?18:20
nshiremy new kernel has me stuck at a tiny resolution on my 4k screen18:20
sarnoldbancroft: 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 work18:24
bancroftsarnold: so I have no choice, bash script or else18:26
lotuspsychjenshire: nvidia-smi to check your driver version loaded, ubuntu-drivers list to see your available drivers18:26
sarnoldbancroft: or configure the systemd unit file via StandardError= to discard the output18:27
sarnoldbancroft: check out systemd.exec(5)18:27
tomreynnshire: 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 correct18:27
tomreynthat one should also work with nvidia18:27
lotuspsychjenshire: usualy ubuntu seeks your proper resolution to use, we see some users benefit scaling options18:27
tomreynnshire: ...but i guess -oem and -hwe kernels should also support nvidia proprietary drivers as long as you install them as ubuntu provided packages.18:29
nshireappears I am on HEW18:34
nshire*HWE18:34
nshirelinux-generic-hwe-20.04 is already the newest version (5.8.0.55.62~20.04.39).18:34
tomreynnshire: you install those using "ubuntu-drivers"18:38
nshire*test*18:45
nshireI don't know why I didn't think of this earlier, but USB tethering is great. ahhh finally 120mbs symmetric.18:45
sarnoldhah18:45
nshiremakes this slightly less painful18:45
nshireI was really dying inside being capped at 500k18:46
nshire_huh. despite what the website says, the RTL8125B drivers do work with kernel 5.8. I just had to re-run the installer18:57
=== halves_ is now known as halves
nshire_that was painful.18:57
=== nshire_ is now known as nshire
bundtcakenshire: welcome back, how are those network drivers handling? You doing any other tweaks?19:10
nshireworks great now. the site says it only supports kernel 5.6, but I'm on 5.8 and it works fine after rerunning the installer19:11
nshireClient: 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 8s19:11
nshirehmm that video adapter doesn't look right...19:12
bundtcakenshire: drop me a pastebin of your specs or bootlog and I will give it a looksy. I got nvidia on my laptop.19:13
nshireis there a terminal command for that?19:14
bundtcakenshire: sudo dmesg > dump.txt19:14
nshirerunning an rtx 306019:16
bundtcakenshire You can also use a couple flags like dmesg -l warn or crit/emerg. Journalctl has some fancier logs for checking your system service daemons19:16
nshirehmmm kernel taint messages from nvidia19:17
bundtcakenshire: that is standard means its proprietary19:17
nshireoh19:18
nshirehttps://paste.ubuntu.com/p/qYhyKMctWs/19:18
nshiredoesn't look like anything is really wrong in there19:19
bundtcakenshire: 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:19
bundtcakeah crap I need an ubuntu one account for that19:20
nshireI don't think I see anything important in blacklist.conf19:22
nshirehttps://paste.ubuntu.com/p/8wDX45vfBd/19:22
nshireare these default entries across all systems or were they automatically set for mine?19:22
bundtcakenshire: 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 a19:24
nshire# nice pulseaudio bing (Ubuntu: #77010)19:24
nshireblacklist pcspkr19:24
nshire"19:24
ubottuLaunchpad bug 77010 in One Hundred Papercuts "Overuse of system beep without volume control" [High, Fix Released] https://launchpad.net/bugs/7701019:24
nshiresorry forgot about linebreaks19:25
bundtcakenshire: 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:27
tomreynnshire: sudo update-pciids    may help with getting a more correct hardware detection19:28
tomreynwell, display names rather19:28
nshireI imagine that needs a system reboot to work properly.. brb19:30
nshireClient: 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: 47s19:31
nshirecool! thanks19:31
bundtcakenshire: why you keep pasting that in, is it your chat client?19:32
nshireyeah its a function of hexchat19:32
nshire*plugin19:32
nshirehttps://github.com/hexchat/hexchat/blob/master/plugins/sysinfo/sysinfo.c19:32
bundtcakenshire: I just run irssi, has great plugin support if you are into it.19:33
bundtcakenshire: don't you even fake that you just did a 1 sec reboot.19:34
bundtcakenshire: did you reload the kernel in some manner?19:35
nshirefull reboot19:35
nshireI'm assuming it said client timeout?19:35
bundtcakeyeah19:35
nshireI don't know if hexchat interprets the acpi shutdown signal properly/at all19:36
bundtcakeI don't get reboots that fast even when cloud computing on VPS19:36
tomreyns/second/minute/19:36
nshireso it doesn't have time to send the shutdown signal, it just gets killed and then the connection times out19:36
bundtcakeyeah it must have hanged19:36
nshireI have about a 7 second boot time to windows, ubuntu is longer since I need to mash f12 and select the right drive19:37
bundtcakenshire: 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:38
bundtcakethere is probably a smaller irc proxy/daemon I could use and keep irssi on my native system.19:39
nshireI had a python script that searched my logs for mentions and pinged my phone19:39
nshirehexchat dings, flashes the window, and gives a notification popup19:40
OlognAfter 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:56
OlognIt's hard to capture in a print screen screenshot, as screenshot does not show a cursor at all.19:57
nshireOlogn, 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 screenspace20:00
bundtcakeAnyone got an opinion on congestion control algorithms? I see the default is bbr2 now, very interesting.20:02
=== m0nkey_ is now known as DavieDavieDave
=== DavieDavieDave is now known as m0nkey_
VMGuy234I pressed A, S, Up and Right at the same time during GRUB20:25
VMGuy234Would that do anything? It bootedinto Ubuntu20:25
VMGuy234Which is default20:25
VMGuy234also theselected option20:26
=== Kill-Animals is now known as kill-anirnals
=== kill-anirnals is now known as Kill-Animals
GEttRi 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:47
tebruno99GEttR: maybe try removing hextchat-perl21:51
tebruno99hexchat-perl21:51
GEttRive removed and reinstalled that as well and it shows up to date in dpkg-query   hexchat-perl:amd642.14.3-321:54
oerheksrename the ~/.config/hexchat folder21:57
GEttRrename, then restart hexchat?21:58
tomreynGEttR: do you have an outdated perl.so in ~/.config/hexchat/addons ?22:03
GEttRno luck oerheks22:04
tomreynGEttR: /join #hexchat - they should know where it looks for addons / plugins. one of those locations will have the old perl module.22:24
Alabalisticout of scope but quassel irc is great,22:25
GEttRtomreyn - thanks im sat in there too22:25
GEttRAlabalistic - does it have perl scripting by any chance?22:26
Alabalisticno idea where to check it22:28
GEttRno worries. ill look it up22:28
luisereb1i0xf86b808405f5e10082520894f7fe578c81788a551e6c3efa54501f463ce26af7880de0b6b3a76400008026a0a8d1d37b06c4eed8d4e705da3041a3cb97f5eb385ba66935992b00164fa8506fa024823ffda3cc412262a154d9c2153b81cf3428f7255dd6b9206fe187de8a922022:37
luisereb1i(apologies, pasted something in my buffer without meaning to!)22:37
Alabalisticdid you just leak your bitcoin wallet22:38
luisereb1ihaha! 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.22:41

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