/srv/irclogs.ubuntu.com/2021/04/07/#ubuntu.txt

geniiblahboybaz: does the command:  grep $(whoami) /etc/passwd        ..produce a result, or does it say  grep: /etc/passwd: No such file or directory00:03
blahboybazleftyfb: I installed on the new laptop using a usb stick / installer. Encrypted disk and with lvm (options). Everything was working fire. I encountered a problem for which the solution I needed was to re-create my home directory (I had used rsync to copy files from my old computer to this new one and it brought in stuff I did not want). This would have been fine since I had nothing to lose (data wise)00:03
blahboybazon the new machine - I just wanted it to go back to a home directory that was like it was after a fresh install. (In hind sight I may have had something to lose - nvm? other wierd things that install to home directory?).  So anyway I heard to run sudo userdel -f <username> && sudo useradd -m <username>   and so I did (replaced <username> with my username, of course). Now I'm not showing up with $00:03
blahboybazwhoami    I get     whoami: cannot find name for user ID 1000    I'm scared that someting got really effed up; and, with an encrypted disk, I'll have to completely reinstall the o/s  (and all those hours of work installing applications and moving over bookmaarks and stuff).00:03
blahboybazNow I have to go I have a meeting in 25 minutes but I will come back try to see if I can get help00:03
blahboybazActually, I don't know if I can leave the computer without forever getting locked out. As soon as I close the lid and it times out I'll be prompted to login (maybe not even that though if it borked)00:05
blahboybazIs there some way to re create my user when I'm not being able to use sudo now and not being recognized?00:07
leftyfbblahboybaz: please pastebin the following: id ; echo $USER ; groups; grep $USER /etc/passwd ; echo $USER /etc/group ; ls -ld /home/$USER00:07
sarnoldblahboybaz: oh man this is a bit of a mess to clean up...00:08
leftyfbblahboybaz: worse case, you can fix whatever is wrong using the live usb00:08
geniiblahboybaz: Since when you added the user in you did not put it in an admin/wheel group you need to append the numeral 1 to the grub loading line to boot iinto single usermade and issue the proper commands from there as root00:09
blahboybazleftyfb: https://pastebin.com/bjM5ef1900:09
leftyfbblahboybaz: oh, I missed the part where you actually deleted your user. You'll need to boot to a live usb, chroot into your install as recreate the user00:10
geniiGuys, GRUB can boot to runlevel 1 without requiring a password, no need to liveusb and mount things etc00:10
blahboybazleftyfb: Can the installer I used do that?  It can be run live?  And, are there a requirement to chroot and mount my system filesystem or something like that?00:11
blahboybazThe way to access the installed system's filesystem I mean00:11
* genii wanders back to watching hockey 00:11
leftyfbblahboybaz: you can also try single user mode as genii suggested00:12
blahboybazgenii: Sorry I didn't see that until now it was pointed out to me00:12
blahboybazleftyfb: genii: how would I do that ?00:13
leftyfbblahboybaz: https://www.linuxtechi.com/boot-ubuntu-20-04-rescue-emergency-mode/00:13
blahboybazare there any instruction online or something?00:13
blahboybazahh00:13
geniiAlso https://www.debuntu.org/how-to-change-boot-runlevel-with-grub2/00:13
blahboybazgenii: appreciate that00:16
geniiThen you use the usermod command with -a to append and -g to add the user to at least the sudo and adm groups00:17
geniiActually that should have been uppercase G00:32
geniiHopefully they return at some point for either further instruction or to tell us they managed to figure it out00:33
sgenSo I have confirmed that most of (108199771327 of 108213730474 bytes) my huge /var/syslog is from the FIFO SCHED_ERROR.00:35
sgenIm doing a grep -v to find all the lines that arent FIFO SCHED_ERROR00:36
sgenSee whats up with that.00:37
sgenCan I just truncate --size=0 syslog if I need to clean it up or is there a better way?00:37
sarnoldI think that'llwork00:38
sarnoldcheck also the .0, .1, .2.gz etc kinds of files00:38
sgenCheck out how? Take a look or remove the .n files that are too large due to discord / sched_error entries?00:48
sarnoldsgen: I was thinking a ls -l --sort=size /var/log | head kind of thing, make sure you're not overlooking other huge files sitting right there00:50
sgenok cool ty00:56
sgenAnd with one truncate my usage on / has gone down 40%00:56
sgenlol00:56
sarnoldlol00:57
sgenAnd after cleaning up the rest Im down to 5% usage on /01:03
sgenIt was all log spam01:03
sgentyvm I will be keeping an eye on these logs ...01:05
sarnoldnice, happy computing :)01:05
kevinnnhi all, I am using gnome-session to start my GUI session. I noticed that the dock that usually pops up on the left side of the screen is gone and there are no icons on my desktop. Does anyone know how to get those things back?01:09
kevinnnis anyone there?01:17
sarnoldyeah01:18
kevinnndo you know why when I use gnome-session to start my UI I am missing a few UI elements?01:19
sarnoldsorry, I don't know much about gnome01:20
kevinnndarn01:20
sarnoldI thought I heard they killed desktop icons but I've seen screenshots with desktop icons01:20
sarnoldso I don't know what to expect :)01:20
=== zbenjamin_ is now known as zbenjamin
krytensarnold: That's because the default Ubuntu session uses an extension to replicate the previous functionality.02:09
iconoclastheroso i have 4 monitors and one of them (#3) is portrait right.  unfortunately, when the lock screen comes up, it comes up in normal landscape on the portrait monitor.02:29
iconoclastherohow can i make it so that either a) the lock scree in not 90 degrees off or b) it's on my main monitor (i.e., the one that has the title bar and comes up as #2)?02:29
iconoclastheroubuntu 20.04.  I'm on gnome flashback.  geforce gtx 650 ti boost on nvidia 46002:29
=== seednode72 is now known as seednode7
Salatwurzel_Hello, is there a way to make my function keys (play/pause, next track etc) completely ignore a specific application (firefox), regardless if there is media playing or not?04:30
Salatwurzel_like, make firefox invisible so it always defaults to spotify04:31
zetheroo1I am struggling to find out why it seems that my laptop (Thinkpad P14s) CPU (Intel® Core™ i7-10510U) is being throttled without it reaching anything close to 90C.06:08
zetheroo1I installed cpupower-gui and it shows the Governer as being set to Powersave, but when I change it to Performance it doesn't make any difference. And after a reboot it's back to Powersave.06:09
zetheroo1I am stressing the CPU with WinFF and it starts fast at ~60fps, but then drops very quickly to ~5fps06:10
ducassezetheroo1: you can create a systemd sevice to set the governor on boot06:58
=== PowerTower_121 is now known as PowerTower_120
zetheroo1ducasse: I found this ...  https://github.com/erpalma/throttled07:05
zetheroo1ducasse: about the governor settings - if I change it in the current session, should the changes be applied without a reboot, or is this something which is only applied after rebooting the system?07:06
ducassezetheroo1: if you create a service to set it, that service needs to be started07:09
zetheroo1ducasse: ok, well according to this output the current gov is "performance" https://paste.ubuntu.com/p/vCJWKQfXvm/07:12
zetheroo1so testing now again with WinFF07:13
zetheroo1https://ibb.co/MG7qvZm07:16
zetheroo1fan not even kicking in ...07:16
zetheroo1Fan just started now ... CPU temp ~64C ... CPU usage ~93%07:17
zetheroo1WinFF 7.7fps and falling07:18
zetheroo1cpu MHz ~190007:18
zetheroo1and falling ..07:18
zetheroo1CPU temp not going higher than 64C07:19
zetheroo1To get this 'throttled' solution working I need to disable LSM. The one part I am not sure of is where to add this as a Kernel Parameter: lsm=capability,yama07:21
zetheroo1Is that placed into /etc/defaults/grub?07:21
ducasseprobably, i don't know07:22
=== jrg_ is now known as jrg
overcluckerif you are just testing, you can press 'e' at the grub prompt to edit the entry temporarily07:41
zetherooDoes anyone know how to solve this problem? No matter what, I cannot get the CPU to operate above ~64C07:49
zetherooI'm going to try in Windows and see what performance I get there07:53
=== ace_me1 is now known as ace_me
vasilakisfilhi I am trying to update libc6 to version 2.30 but not sure how. I am running 18.04 but not sure how08:17
zetheroo1back from testing in Windows ... with PassMark the CPU temp exceeds 80C very easily and the MHz hold between 2500 - 3200.08:24
zetheroo1So Ubuntu is essentially robbing me of a good third or more of my CPU performance08:24
zetheroo1This is a Thinkpad P14s with an Intel i7 CPU, and it's performance is worse than my T440p was with Ubuntu 18.0408:26
viktor_What's the best (easiest) way to transfer my whole system from an old SSD to a new one the same computer? clonezilla? please don't say dd...08:32
ThinkT510what's wrong with dd?08:33
zetheroo1 viktor_: clonezilla works fine for this08:33
viktor_zetheroo1: thanks. i'll just make a partition on the new one, and clone the old one onto it.08:40
viktor_ThinkT510: i don't suppose there's anything /wrong/ with it. but the syntax is a little difficult for someone who doesn't know what there doing very well. and the potential for f* ups very high.08:41
zetheroo1What in Ubuntu 20.04 is responsible for throttling the CPU according to it's temp?08:48
=== ShaRose_ is now known as ShaRose
zetheroo1This is just silly ... can barely get the CPUs above 60C https://ibb.co/LQ15trX09:16
lotuspsychjezetheroo1: lets have a look at your dmesg please?09:42
arther181Hello Everyone!  Anyone knows how can I add binaries to initramfs?09:52
isapgswellarther181 add module_name to etc / initramfs-tools / modules09:53
isapgswellarther181 and update-initramfs09:53
arther181I have a static xz. I want to add it in /usr/bin to initramfs.10:00
Seveasarther181: see the section named HOOK SCRIPTS in man initramfs-tools, Specifically the subsection called Including binaries10:07
arther181okay Seveas10:12
Seveaszetheroo1: thermald10:12
Seveaszetheroo1: also check /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor -- set it to performance instead of powersave to start cooking your cpu :)10:14
zetheroo1https://paste.ubuntu.com/p/VbXF3jJPBJ/  lotuspsychje:10:21
zetheroo1 Seveas: I have been using it on Performance - makes no difference10:21
zetheroo1 Seveas: you can see the Governor setting in the screenshot as well ;)10:22
lotuspsychjezetheroo1: could you try comparing this with secureboot disabled please? secureboot enabled can influence your hardware in some cases10:24
zetheroo1 lotuspsychje: so disable Secure Boot in the BIOS?10:28
lotuspsychjeyes10:28
zetheroo1 lotuspsychje: are you sure that this won't break my boot?10:29
zetheroo1(I have Windows10/Ubuntu dual boot)10:29
lotuspsychjezetheroo1: changing can influence things yeah, make backups before testing things10:30
zetheroo1Ok, but wouldn't Secure Boot also impact Windows? I tested with PassMark in Windows and the CPU temp went easily to 80C with Mhz of 2500 - 320010:31
zetheroo1this is exactly what I'm afraid of happening if I disable SB https://askubuntu.com/questions/1178488/ubuntu-cant-boot-with-secure-boot-disabled10:37
=== mIk3_09 is now known as mIk3_08
zetheroook, rebooted with Secure Boot disabled10:43
adam_hello, looking for assistance with setting up machine with 20.04.210:43
zetheroo lotuspsychje: CPUs are now reaching 95C10:46
zetherooah but this is probably because throttled (https://github.com/erpalma/throttled) can now run with SB disabled10:49
zetherooyep https://paste.ubuntu.com/p/9hWWbQy5jN/10:50
adam_hello, I am attempting to fix sound, brightness and egpu on my iMac 2017 - can anyone assist me?10:52
zetherooWith throttled (service lenovo_fix) stopped, and gov on Powersave, CPU temp max ~50C MHz ~100010:56
zetheroogov on Performance ... no difference10:57
pagioshello i am trying to cast from my desktop to my lg tv which has android/apple airplay built in, i can cast from iphone/android byt casting from chrome on desktop i get devices not found. i am using my phone hotspot as the network any idea?10:58
zetherooWith service lenovo_fix running, gov on Powersave, CPU temp max ~95C MHz ~350010:59
zetheroogov on Performance ... no difference11:01
=== ace_me1 is now known as ace_me
zetherooSo without this lenovo_fix service running the laptop is massively under-performing11:02
BluesKaj'Morning folks11:59
ace_meI see netstat -plnt11:59
ace_metcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1128/master11:59
ace_meBut I want to know who is 1128/master11:59
ace_meor what means11:59
ace_me1128 is the PID ?12:00
cwsThe column header tells you as much.12:04
cws"PID/Program Name"12:04
ace_me:) true12:04
ace_methx12:04
=== Tessel__ is now known as V1A
zetheroo1 BluesKaj: good afternoon ;)12:29
BluesKajhi zetheroo112:32
zetheroo1 BluesKaj: have you had any run-ins with the problem of thermal throttling of the CPU being too eager?12:37
lemurIn macOS, you can set permissions for things like camera, microphone or screensharing (etc) per-app. Is this also possible in Ubuntu (or KDE, for that matter)? I was not able to find these settings...12:39
BluesKajzetheroo1, not that I'm aware of, my system cpu cooling tower heatsinks seem to do the job without any thermal problems12:39
zetheroo1 BluesKaj: I have the problem that my CPU is throttled way too early ... barely ~60C and it's being throttled12:40
zetheroo1only "solution" so far https://github.com/erpalma/throttled12:40
BluesKajzetheroo1, suggest you ask in ##hardware chat12:43
faLUKEhello. What can I use for playing blu-rays on 20.10 ?12:45
wyoungfaLUKE: A blu-ray app12:47
BluesKajmost media players can handle blurays nowadays12:50
faLUKEBluesKaj: I tried vlc but got: "No valid processing key found in AACS config file.".  I followed this https://askubuntu.com/questions/1258745/how-to-play-blu-ray-mkv-files-on-ubuntu-20-04-lts12:51
liowenexWhat's a blueray?12:52
liowenexLike a stingray?12:52
BluesKajHD dvd12:52
liowenexIs it a new species?12:52
liowenexLol kidding, sorry, carry on! :D12:52
BluesKajfaLUKE, try mplayer or smplayer12:53
liowenexfaLUKE: Is it possible that the Blueray is using some kind of protection software to prevent playback?12:53
liowenexYou could spin up Handbrake and take a look if *MPlayer doesn't work12:54
faLUKEliowenex: it is a commercial blu ray12:54
faLUKEBluesKaj: doesn't work with mplayer and smplayer too12:54
MaikfaLUKE: vlc?12:56
BluesKajfaLUKE, you ever been able play blurays previous to this one ?12:56
MaikBluesKaj: you probably also need some extra libs and codecs to play Blu Ray on Ubuntu, just like with dvd's?12:58
BluesKajMaik, I'm wondering if his player can even handle blurays12:59
BluesKajby player I mean device13:00
Maiki got that and yeah, depends13:00
faLUKEBluesKaj: it is the first time I try to play br on this machine13:00
liowenexMaybe you just need graphics drivers13:01
MaikfaLUKE: as BluesKaj wonders, can your cd/dvd-rom device handle blu ray?13:01
roryfaLUKE, did you get any errors when installing those packages mentioned on the AskUbuntu question?13:02
roryfaLUKE, can you share here the output of the following command, which should give 1 line describing your DVD drive: dmesg | egrep -i --color 'cdrom|dvd|cd/rw|writer'13:02
faLUKEMaik: yes, I use an usb blu-ray reader which I already tested on another machine13:03
Maikliowenex: that's just a pointless reply....13:03
roryfaLUKE, you might also need to install the package: ubuntu-restricted-extras13:03
MaikBluesKaj: so the player does support blu ray ^^13:03
faLUKErory: https://paste.ubuntu.com/p/RkyvKSBkxc/13:03
faLUKErory: let's try13:04
faLUKErory: just installed ubuntu-restricted-extras, did not solve... :-(13:10
MaikfaLUKE: https://www.howtogeek.com/240487/how-to-play-dvds-and-blu-rays-on-linux/13:12
BluesKajthink restricted-extras is dvd only13:12
MaikBluesKaj: no13:12
Maikto play even dvd's you need another lib13:13
Maiklibdvdcss iirc13:13
lotuspsychje!dvd13:13
ubottuUbuntu's default installation and repositories do not include packages needed to play commercial DVDs for legal reasons. For information on adding them, see https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs | For information on the legalities involved, see the "DVD" section of https://help.ubuntu.com/community/FreeFormats13:13
Maiklotuspsychje: also something for blu ray?13:13
lotuspsychjenot sure, never test BR on ubuntu myself13:14
lotuspsychjeperhaps oerheks1 ^13:14
faLUKEMaik: this is generic and doesn't solve my problem13:15
MaikfaLUKE: sudo apt-get install vlc libaacs0 libbluray-bdj libbluray113:15
faLUKEMaik: already tried,see my link before13:16
Maikok, then i can not help any further13:16
faLUKEnm13:16
BluesKajMaik, what about libbluray2 ?13:18
faLUKEBluesKaj: I installed libbluray213:18
faLUKEI can hear audio on smplayer, but no video. On vlc I can't see/hear anything13:19
=== liowenex is now known as retroispresto
=== retroispresto is now known as stevendale
BluesKajfaLUKE, i think the earlier suggestion about handbrake might be the way to go. You can rip it to your hard drive if all else fails. https://livingthelinuxlifestyle.wordpress.com/2019/05/02/how-to-rip-dvds-and-blu-ray-discs-to-your-hard-drive-using-handbrake-in-linux/13:35
Guest_21hello everyone, can  any guide me with installing ubuntu on a dell inspiron 14 laptop?14:24
wyoungYou got delled14:25
Guest_21i sure did lol14:25
Guest_21been trying since past 3 hours with no luck14:26
Guest_21the problem is, the usb stick doesn't get detected at all14:27
Guest_21What I've tried so far with no luck:14:28
Guest_21created bootable using startup disk creator (changed bios setting to UEFI mode as well as legacy mode)14:28
Guest_21created bootable using etcher14:28
Guest_21nothing works14:28
Maikwyoung: instead of replying nonsense try to help in a constructive manner. Thanks in advance.14:38
Maik:)14:38
wyoungMaik: Instead of saying someone said nonsence, try to help in a constructive manner.  Thanks in advance,  Weird ASCII smiley emoji.14:39
Maikif you want to clown around #ubuntu-offtopic might be the best place for you to hang around.14:40
wyoungMaik: Thank you, I will visit.  ALthough I was actually being serious, no clowning involved.14:42
Maiki can't see anything serious in your two replies to be hones14:43
Maiktoo bad Guest_21 left, if he returns: https://askubuntu.com/questions/1204648/install-ubuntu-on-dell-inspiron-14-749014:43
wyoungMaik: That is trolling, telling anyone Dells are useful and they can do anything with them.  My pro tip is to not buy them in the first place.  I have had many issues with them including ram compatibilty, even SSD compatiblity, that is why "you got delled" is a thing14:45
lotuspsychje!discuss14:46
ubottuWant to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!14:46
ace_mesudo apt remove sendmail but netstat -tlpn still show 25 and 587 XXX_PID/sendmail: MTA:15:13
ace_mewhy please ?15:13
th0race_me, have you tried rebooting?15:15
ace_mesure... I try now https://gist.github.com/adamstac/744165915:16
zzzzzhey guys i have a weird issue where i can't go to very specific websites on ubuntu no matter the browser, the thing in common for all websites is that they are web tracker services / support services, i suspect i have some kind of ad blocker installed or some dns thing that is blocking those requests15:32
zzzzzi tried connecting through a different isp no help, my hosts file is clean, both firefox and chrome show the same behaviour15:33
zzzzzservices blocked: amplitude.com, reamaze,15:34
zzzzzthe problem is i use these services for support and statistical data of my website...15:35
ledenizzzzz try disable ipv6 setting for your network connection and see how is going15:36
zzzzzhow do i do that?15:36
ledenizzzzz using ubuntu - default DE15:37
mbeierlzzzzz, it should be as simple as sudo sysctl net.ipv6.conf.all.disable_ipv6=1 for a quick test15:53
mbeierland sudo sysctl net.ipv6.conf.all.disable_ipv6=0 to put it back15:53
mbeierlzzzzz, but maybe just "sysctl net.ipv6.conf.all.disable_ipv6" by itself first to see what it is currently set to15:53
=== ace_me^^ is now known as ace_me
zzzzzi'll try it thanks guys16:11
GreyAreaHello, I seem to have an issue with the latest Discord app on Ubuntu 20.04, does anyone have any tips/knowledge of any cache folders etc?  Thanks.16:27
MaikGreyArea: downloaded through the ubuntu repo's or from their website?16:32
GreyAreaMaik: it would be a ubuntu repo install16:33
Maikwhat's the issue?16:35
GreyAreaJust sits there with the little robot head spinning.  I did a snap remove and snap install, same issue - maybe I need to report to discord.16:39
GreyAreaWasn't sure if someone would say 'hey, just delete this cache folder - we see it all the time" :)16:40
MaikGreyArea: what if you try the version that's in the Ubuntu repo, not the snap version...16:41
GreyAreahmm, I get "No apt package "discord", but there is a snap with that name."16:43
Maikdoh, my bad... confused it with another package. Sorry16:44
GreyAreaAh, you have to wget it and shizzle, prolly why I went for the snap.  No wukkas, ta16:45
MaikGreyArea: maybe download the deb file from their site and try that?16:45
GreyAreaYeah, might do - cheers man16:45
Maikno problem, i hope that one works16:45
rleonidHi everyone! Can I get some help on a wireless network problem? :)17:00
GreyArearleonid: Don't ask to ask, just ask :)17:00
rleonidI am having troubles on my wireless connection, I have drops each 20-30 minutes, looks like it is trying to reconnect or dropping by some external reason (I didn't have that before)17:01
rleonidlspci:17:01
rleonidhttps://paste.ubuntu.com/p/kV3jX527v8/17:01
rleonidthis is a /var/log/syslog actually17:02
rleonidlspci is 03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4352 802.11ac Wireless Network Adapter (rev 03)17:02
rleonidI have found some solutions to remove gnome-network-manager and setup /etc/wpa_supplicant.conf but looks like I dont have network-manager-gnome...17:04
rleonidsource https://askubuntu.com/questions/191836/wpa-supplicants-connection-issues17:04
MetamorphosisHello everyone. I am a Kubuntu user but at this moment I have a yum related question. Where can I ask it?17:08
MetamorphosisI am noob17:08
rleonidMetamorphosis: yum is a RedHat/centos utility17:09
Metamorphosisrleonid Yes I am on RHEL. Where can I ask my question?17:10
GreyAreaMetamorphosis: Isn't YUM more a fedora/centos/rhel too, you can ask but might be better in one of those chaneles.17:10
sarnoldkryten: re: extension for icons, aha! thanks :)17:10
MetamorphosisI am aware of dnf history in Fedora.17:10
rleonidGreyArea: any ideas on my question? :)17:11
MetamorphosisThank you guys17:11
GreyArearleonid: Sorry dude, I'm just a punter - if someone knowledgeable can answer I'm sure they will, otherwise it's forums & the like.17:12
MaikMetamorphosis: ask in #fedora perhaps17:15
Maikyum has been replaced by dnf by the way17:16
Maikalso17:16
Maik!discuss17:16
ubottuWant to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!17:16
fakuveHi guys , anyone inhere17:22
compdocwho wants to know?17:22
fakuvefamiliarised with `netplan`17:23
fakuve(I pressed Enter lol)17:23
compdocyes17:23
fakuveI have severe issues to change AP with it17:23
fakuveWhen usign NetworkManager as renderer17:23
compdocyou added a new ap?17:23
fakuveso first off I had so many issues to even start 1 AP17:24
fakuvebut after setting it up17:24
fakuve(had to follow this solution https://askubuntu.com/questions/1291424/failed-to-start-netplan-wpa-wlan0-sevice-unit-netplan-wpa-wlan0-service-not-fou )17:24
fakuveBasically even If I change the .yaml17:25
fakuveand I generate a newone `sudo netplan --debug generate` `sudo netplan --debug apply`17:25
fakuveEventhough the Debug information , is telling me the device `wlp58s0 adding wifi AP 'VCRoom065'17:26
fakuveit does connect to the previousone17:26
fakuveI have tried `sudo systemctl start wpa_supplicant` , then shutdown the computer and start again , generate , apply17:27
compdocis there only one .yaml in the folder?17:28
fakuveand seems that `netplan` when renderer: NetworkManager is buggy17:28
fakuveyes17:28
fakuve/etc/netplan/00-installer-config.yaml17:28
compdoccan you post your working .yaml on https://pastebin.com or similar site?17:28
fakuveIt looks like though, that when using renderer: networkd , it kind of works better17:29
fakuvehttps://termbin.com/p7sg17:30
fakuveThe yaml should be correct17:31
fakuveI think the issue is in between services , I got `networkd` and `NetworkManager` installed17:31
compdoci think if youre going to customise .yaml  you need to use networkd17:31
compdocotherwise NetworkManager will manage17:31
fakuveI don't understand what you are saying17:32
compdocwhen I need to set netowrking up manually, like for a server, I remove network manager17:32
fakuveDoesn't `netplan` was suppose to work with both `networkd` and `NetworkManager` ?17:32
rleonidhello again,  looking some help on wireless disconnects (appear each 20-30 minutes) https://paste.ubuntu.com/p/kV3jX527v8/17:32
fakuvecompdoc: but I wanted to use NetworkManager17:33
fakuveCos there are features I can not use with networkd , such as interface bonding17:33
compdocI thought you were trying to change the ap, by changing your .yaml file17:34
fakuvecompdoc: I have changed it17:34
fakuvebut it does still initiate the previous AP17:34
fakuveI think there is an actual bug on `netplan`17:35
rleonidok, I will change a topic a little bit: to set up a wpa_supplicant as a manual connection, what needs to be removed to disable network manager? Can I just systemctl disable it?17:36
fakuverleonid: yes you can17:40
fakuvethen you would need to operate with networkd17:41
rleonidfakuve: I think I can operate it, even with rc.local but dont want to stuck in a situation without network :D17:46
rleonidhard to debug what's happening, syslog is barely helping me with that17:46
fakuve`sudo systemctl status systemd-networkd`17:47
fakuve`sudo systemctl status wpa_supplicant`17:47
rleonidinactive right now17:47
fakuvethen you need to activate them if you deactivate `NetworkManager`17:47
rleonidwoah, nice, thanks17:47
rleonidwpa_supplicant[971]: bgscan simple: Failed to enable signal strength monitoring17:47
rleonidbut this is probably not the case, it happened only once in log17:48
fakuveidk exactly on thatone17:48
rleonidat least I can google on it17:48
fakuveI like to do `sudo journalctl | grep <device-to-watch>`17:49
fakuveit will group all the logs on there for the device you want to check17:49
rleonidsudo cat /var/log/syslog | grep --invert-match skypeforlinux | grep --invert-match teams-insiders | grep --invert-match docker | grep wpa_supplicant | grep -B 10 -A 10 wlp3s017:49
rleonidthats what i was trying to achieve :D17:49
fakuvelol17:51
fakuvethats a lot to watch :D17:51
ArrowmasterI have imported the 20.04 cloud image ovf into vmware but I've been unable to get the additional settings to work, it wont take the password I specify or the encoded user-data17:51
rleonidfakuve: ok thanks, I will give a try disabling wpa_supplicant and setting up manually17:52
=== blackest_mamba_ is now known as blackest_mamba
taleinatHi, I'd like some help figuring out why I can't get screen sharing working. I had installed Ubuntu 19.10 and never managed to get it working. Upgrading to 20.04 didn't help.18:09
Sven_vBhi! http://manpages.ubuntu.com/manpages/focal/en/man1/uuid.1.html mentions a -r option but doesn't explain it. where can I read about it?18:11
Sven_vBI'm trying to find a focal replacement for bionic's "uuid --random", which back then was provided by package "util-linux". I found http://manpages.ubuntu.com/manpages/focal/en/man1/uuidgen.1.html but the package description of "uuid-runtime" sounds like it will install a daemon, that sounds a bit over-complicated just for generating random UUIDs.18:13
Sven_vBerr, "uuidgen --random"18:13
Sven_vBmy bionic doesn't have a "uuid" command18:14
sarnoldSven_vB: https://sources.debian.org/src/ossp-uuid/1.6.2-1.5/uuid_cli.c/#L11418:14
Sven_vBsarnold, thanks. then I guess "r" is for "raw", not "random" there18:15
Sven_vBbecause uuid -r prints seemingly garbage characters18:15
sarnoldyeah, that's my expectation18:15
sarnoldSven_vB: try cat /proc/sys/kernel/random/uuid ?18:16
Sven_vBoh nice!18:17
Sven_vBthanks!18:17
Sven_vBI wonder why then uuidgen was dropped from util-linux18:17
Sven_vBseems I only searched the uuid man page for "--random", not "random". else I could have already found that "random" is the same as "version 4", i.e. I can just use "uuid -v 4".18:20
Sven_vBbut then I couldn't have learned about that neat /proc path. :D18:20
HelenahHi hi18:22
HelenahI used to be able to get audio but now I can't, according to pavucontrol and alsamixer the volume controls aren't turned down or muted and the correct sound card is being used. Also, with the slider controls of pavucontrol, I can see there is audio reaching the device but I don't hear it. How do I debug this problem further please?18:23
Helenah20.4 Focal18:24
sarnoldHelenah: double check all the wires18:24
Helenahsarnold, This has happened on two identical thin clients.18:24
HelenahExact same hardware18:25
sarnoldHelenah: are there any messages in the logs that look related / different from usual?18:27
taleinatHey, can someone help me figure out why screen sharing is refusing to work on a machine I have? Originally installed 19.10, upgrading to 20.04 didn't help.18:28
sarnoldtaleinat: is there anything in the logs on either the guest or the server that indicate why it's not working?18:29
taleinatWhich logs should I be checking?18:30
taleinatsarnold: Which logs should I be checking?18:30
sarnoldtaleinat: I don't know, you haven't said what program you're using on either side :)18:30
sarnoldtaleinat: journalctl isn't a bad starting point but whatever programs you're using may have their own logs18:30
taleinatServer: Ubuntu's built-in screen sharing under the "sharing" settings, e.g. as described on https://help.ubuntu.com/stable/ubuntu-help/sharing-desktop.html.en18:31
taleinatClient: I tried several, including Remmina and MacOS's built-in client.18:31
taleinatsarnold: Hmm, I guess I'll go look where Vino puts its logs...18:32
Helenahsarnold, All see in dmesg are input entries to do with the paths to the sound card inputs18:33
sarnoldHelenah: that's probably for the best but I was hoping for an error message of some sort ;(18:33
HelenahI see "Disabling timer-base scheduling because running inside a VM." but I don't think that's the issue.18:37
Helenahsarnold, How do I look for errors to do with pulseaudio, alsa or whatever? I've read for pulseaudio they should be stored in /tmp but are not.18:40
sarnoldHelenah: I see a few messages via journalctl --user-unit pulseaudio18:43
Helenahsarnold, It says "-- Logs begin at Wed 2021-04-07 17:57:54 UTC, end at Wed 2021-04-07 18:43:27 UTC. --\n-- No entries --".18:45
sarnoldheh, well, so much for help from pulse in tracking it down :(18:45
Sparkeehi, do you guys know how can I become root with a user if sudo isn't an option?18:49
Sparkeesu doesn't work "su: Permission denied"18:49
DArqueBishopSparkee: if you don't have sudo access nor the root password, then no.18:50
SparkeeDArqueBishop: I have the root password but the root isn't allow to ssh to the server18:50
DArqueBishopIf you use su, the root password is what it prompts for.18:51
Sparkeethe thing is that it doesn't even prompt for the password18:51
matsamanSparkee: remote server?18:51
Sparkeematsaman: remote server, yes18:51
Sparkee$ su18:52
Sparkeesu: Permission denied18:52
Sparkeethen I get back to shell, no further questions18:52
SparkeeI wonder if there is a group like "wheel" on FreeBSD18:52
matsamanSparkee: how'd you get the root password without sudo?18:52
Sparkeeand only members of THAT group are allowed to run "su"18:52
Sparkeematsaman: sudo is restricted for LDAP18:52
matsamanew18:53
matsamanI mean, if you don't have sudo access, and you can't use 'su', and you can't remote in as root, and you can't do anything but remote in, then...18:53
matsamanthere _shouldn't_ be a way for you to become root18:53
Sparkeehere is the thing:18:53
matsamanbut you could like, look for a priv escalation exploit18:53
Sparkeeroot ssh is disabled due to security, no one wants ssh root having enabled18:54
sarnoldSparkee: you could try runuser and setpriv18:54
Sparkeesudo LDAP commands are restricted, you can't do sudo bash etc. again because of security18:54
matsamanI don't know, having remoteable users with root/sudo access and terrible passwords isn't much better than having remotable root with a good password18:54
Sparkeesarnold: can you give me an example?18:54
Sparkeematsaman: right, but there is no root ssh, that's the policy18:55
matsamanmmm18:55
matsamanwell, I think what I already said is likely the case18:55
matsamanthere should be now way for you to do this, but it's possible there's a privilege escalation you could crack out18:55
matsamanwhat you should probably do is contact someone who _can_ become root, and have them fix your perms18:56
Sparkeethis is a new server I'm setting up18:56
matsamanyou're setting it up18:56
matsamanwell you should have root access, then18:56
matsamancontact support18:56
SparkeeI am support :)18:56
matsamanwell you should be more competent =)18:56
Sparkeebut I am NEW to Ubuntu, I have experience with CentOS, FreeBSD,18:56
matsamanso you can reprovision the entire OS?18:56
matsamanokay okay18:56
hggdhmatsaman: you are not helping18:56
matsamanhggdh: you aren't18:57
matsamanSparkee: so you need it to have this user with root/sudo access by default when installed?18:57
Sparkeematsaman: I need this user to be able to do "su", that's it18:57
hggdhSparkee: I would start by looking at the permissions of the 'su' program (probably under /usr/bin/su)18:57
matsamanI believe Ubuntu does indeed use the 'sudo' group for this18:58
Sparkee'sudo' group, ok, I know on CentOS/FreeBSD this is 'wheel' group18:58
matsamanSparkee: yeah there are a few different approaches across the Unix world18:58
Sparkeehmm, the user is already member of wheel18:59
matsamanSparkee: the root user, by default, in Ubuntu, IIRC, is not meant to be used, so it doesn't even have an ordinary password to use to become it18:59
Sparkeehggdh: -rwsr-xr-x 1 root root 67816 Jul 21  2020 /usr/bin/su18:59
Sparkeematsaman: ohhhhh18:59
matsamanSparkee: so either go the 'sudo' group route, or give root a password, and make sure su can be used (su might be the 'wheel' group)18:59
sarnoldSparkee: if you're really stuck, you may need to reboot into rescue mode and fix up whatever is keeping you from using sudo19:00
Sparkeesudo is a way, however IF LDAP fails THIS user could be used as a backup user19:00
Sparkeesudo is also through LDAP19:00
Sparkeethank you guys!!19:07
matsamangj19:24
=== denningsrogue64 is now known as denningsrogue6
=== argusBR is now known as offsa
magic_ninjadoes 4.21 have the 5.11 kernel?20:31
matsamanmagic_ninja: huh?20:35
Aavar21.04?20:43
magic_ninjayea20:45
matsamanoh, that makes sense =)20:45
matsamanmagic_ninja: if it doesn't, you can always give it the 5.11 kernel20:45
magic_ninjaNo, I asked if it had that kernel yet. Someone in another channel answered. It does.20:46
Maikmagic_ninja: already answered that in #kubuntu20:46
Maikalso it's best not to cross post20:46
magic_ninjai saw20:46
Maik:)20:46
matsamanmagic_ninja: yes, if it doesn't have the kernel, you can always give it that kernel20:46
magic_ninjaI cross-post all the time20:47
matsamanmost cross-posters do20:47
matsamanstill shouldn't =)20:47
Maik!guidlines20:47
magic_ninjaforgot your 'e'20:47
Maikheh20:47
Maikyea20:47
magic_ninjaI'm still going to though :)20:47
Maikdon't20:47
magic_ninjait isn't that big of a deal20:48
magic_ninjabeen around here for like 20 years. for certain questions it isn't an issue.20:49
Habbiemagic_ninja, please don't, it wastes everybody's time - or if you do, at least be clear about it and mention in the other place if you get help in one place20:49
magic_ninjaHabbie, of course, that I do do, as I did here.20:49
Habbiemagic_ninja, seemed a bit late to me20:50
magic_ninjaHabbie, happened soon as I got back to my computer20:50
Maikmagic_ninja: so? i've been around for 13 years... it doesn't mean anything20:50
magic_ninjaanyway, I'm not interested in discussing this further. Thank you for the answer.20:51
Maikok and agreed, me neither20:51
Habbiemagic_ninja, of course you're not interested, most people are not interested in hearing how they're rude :)20:52
Maik it's better to let it be i guess :)20:53
Habbiei will now :)20:53
magic_ninjaHabbie, yes it is, because it isn't going to change anything, it is a waste of time, and it is a pointless discussion.20:53
Ublxhello, is there a tool for analyzing downloaded logfiles locally with a graphic output?20:53
sarnoldUblx: I think a lot of the products sold for this are called "SIEM" things https://en.wikipedia.org/wiki/Security_information_and_event_management20:54
roryUblx, about a million. Logalyze is lightweight. Graylog is powerful.20:59
roryUblx, Splunk is expensive. ELK is great but a pain to configure.20:59
Ublxthank you very much sarnold and rory. that's a good starting point!21:04
UblxGreylog seems to be my choice for the start.21:22
=== stevendale is now known as Liowenex
timetocodehi i'm trying to run tmuxinator, and I get and error about  Insecure world writable dir /home/neuron/miniconda3/bin in PATH, mode 040777; how can i fix this?21:45
sarnoldewwwwww21:47
rorytimetocode, change the permission on that directory so it is no longer world-writiable. e.g. : chmod 744 /home/neuron/miniconda3/bin21:48
rorytimetocode, or else remove it from $PATH21:48
roryIf I have to add binaries in strange locations to my $PATH I prefer to create a symlink to it in /usr/local/bin rather than adding new directories to the $PATH , you could consider this to avoid such things in future21:50
sarnoldtimetocode: if you've got one *one* of these chances are very good you've got a lot more errors, too. I suggest looking for them. Here's a find command that might help find things: find ~ \( -perm /001 -a -perm /002 \) -a \( -type d,f \) -ls21:54
roryjust play whack-a-mole with them as they come up21:54
rorynice one-liner though sarnold21:54
timetocodethanks21:56
sarnoldrory: the best part is it pointed out some files on my own system that were world-writable. it's not a big deal, single-user system, and they're just movies, but still21:56
f_ayxHi channel, noticed that my device is no longer going to lock screen after the defined time has elapsed, where do I look to fix this22:04
kevinnnhi all, for some reason snd-loopback isn't working on my fresh ubuntu20.04 install22:07
kevinnnI am seeing the following error in alsamixer22:07
kevinnnThis sound device does not have any controls.22:07
kevinnnany advice would be greatly appreciated22:07
sarnoldf_ayx: hopefully helpful https://wiki.ubuntu.com/DebuggingScreenLocking#Debugging_procedure22:10
sarnoldf_ayx: someone ran through those examples on https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/160062222:10
ubottuLaunchpad bug 1600622 in gnome-session (Ubuntu) "Screen doesn't lock or go to sleep when certain Chrome tabs are open" [Low,Confirmed]22:10
f_ayxsarnold: ta22:13
tasukiMaybe more a Gnome question: On stock Ubuntu 20.04, how do I set environment variables so they're visible by... the desktop environment? My `~/.pam_environment` appears to be ignored. Whatever I set in my shell rc is only available in the shell. There's Settings > Language and Region, but that's real barebones: there's just "Language" and "Formats" fields... what about all the other stuff?22:29
sarnoldtasuki: pam_environment should mostly work, which services are you seeing that aren't picking that up:?22:31
sarnoldtasuki: are you sure that whatever services you're running are going through PAM when starting?22:31
=== MalkbabY_ is now known as MalkbabY
tasukisarnold, any terminal I run, `env | grep LC` shows everything as `en_DK.UTF-8` (I've set English as my Language and Denmark as Formats under "Language and Region", so it's definitely coming from there, wherever that gets saved I don't know (nothing in dconf!).22:42
sarnoldtasuki: and are you logging out and logging in again after editing ~/.pam_environment?22:47
=== JakeSays_ is now known as JakeSays
tasukiyes! I've had this same ~/.pam_environment for ages and it's just being ignored22:53
tasukialso I'm logging in and out about all the time now to test things :D22:54
tasukifwiw this is a fresh 20.04 install, no upgrades with things that got stuck22:55
sarnoldso, the one thing that I'm very unsure about.. if your user account is set to linger, will the systemd user service that runs your user services (inlcuding, I think the gnome terminals) restart when you log out and log in? or does it just stay running?22:55
tasukino idea, but restarts don't make my system pick up ~/.pam_environment either22:56
tasukior perhaps it does get picked up and is overridden by "Language and Region"22:57
sarnoldtasuki: okay so the next guess is getting a bit gross.. systemd.special(7) near the end describes graphical-session-pre.target as a target for services that want to export environment variables23:03
sarnoldtasuki: it feels a bit silly to go that far but maybe that's where it's got to go :/23:03
tasukisarnold you about lost me here, I've no idea what any of this means!23:03
sarnoldtasuki: yeah, sorry :( I haven't actually done this stuff myself. my own startup is just an ~/.xsession file, it's so much easier than all this magic. sigh.23:04
tasukihaha np, thank you for your help anyway!23:07
tasukido you have any articles or a starter about using ~/.xsession to manage my x session? I suppose it replaces GDM or something?23:08
sarnoldtasuki: yeah, it probably does; I use xdm, though I suspect many? most? of the display mangers could cope; here's my ~/.xsession https://paste.ubuntu.com/p/Yp5rRX7GtT/23:13
tasukithank you!23:13
timetocodeokay i chased down some of my 'Insecure world writable dir' issues, until I got one that was a bit scary: warning: Insecure world writable dir /mnt/c in PATH, mode 040777 ;; this is in windows subsystem for linux, and that's the c drive for windows - so im guessing i sh ouldnt change its permissions (or maybe its fine) and that i need to instead do something with PATH ...?23:20
timetocodehmm actually maybe this is largely intrinsic to how WSL works, the problem is more than these ruby gems keep complaining23:23
sarnoldyeah windows stuff is funny, unix permissions don't map onto it well, and vice versa23:26
VMGuy23hopefully i wont be asking for help here in a while, my problem is sorted23:55

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