[00:03] <genii> blahboybaz: does the command:  grep $(whoami) /etc/passwd        ..produce a result, or does it say  grep: /etc/passwd: No such file or directory
[00:03] <blahboybaz> leftyfb: 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] <blahboybaz> on 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] <blahboybaz> whoami    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] <blahboybaz> Now I have to go I have a meeting in 25 minutes but I will come back try to see if I can get help
[00:05] <blahboybaz> Actually, 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:07] <blahboybaz> Is there some way to re create my user when I'm not being able to use sudo now and not being recognized?
[00:07] <leftyfb> blahboybaz: please pastebin the following: id ; echo $USER ; groups; grep $USER /etc/passwd ; echo $USER /etc/group ; ls -ld /home/$USER
[00:08] <sarnold> blahboybaz: oh man this is a bit of a mess to clean up...
[00:08] <leftyfb> blahboybaz: worse case, you can fix whatever is wrong using the live usb
[00:09] <genii> blahboybaz: 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 root
[00:09] <blahboybaz> leftyfb: https://pastebin.com/bjM5ef19
[00:10] <leftyfb> blahboybaz: 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 user
[00:10] <genii> Guys, GRUB can boot to runlevel 1 without requiring a password, no need to liveusb and mount things etc
[00:11] <blahboybaz> leftyfb: 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] <blahboybaz> The way to access the installed system's filesystem I mean
[00:11]  * genii wanders back to watching hockey 
[00:12] <leftyfb> blahboybaz: you can also try single user mode as genii suggested
[00:12] <blahboybaz> genii: Sorry I didn't see that until now it was pointed out to me
[00:13] <blahboybaz> leftyfb: genii: how would I do that ?
[00:13] <leftyfb> blahboybaz: https://www.linuxtechi.com/boot-ubuntu-20-04-rescue-emergency-mode/
[00:13] <blahboybaz> are there any instruction online or something?
[00:13] <blahboybaz> ahh
[00:13] <genii> Also https://www.debuntu.org/how-to-change-boot-runlevel-with-grub2/
[00:16] <blahboybaz> genii: appreciate that
[00:17] <genii> Then you use the usermod command with -a to append and -g to add the user to at least the sudo and adm groups
[00:32] <genii> Actually that should have been uppercase G
[00:33] <genii> Hopefully they return at some point for either further instruction or to tell us they managed to figure it out
[00:35] <sgen> So I have confirmed that most of (108199771327 of 108213730474 bytes) my huge /var/syslog is from the FIFO SCHED_ERROR.
[00:36] <sgen> Im doing a grep -v to find all the lines that arent FIFO SCHED_ERROR
[00:37] <sgen> See whats up with that.
[00:37] <sgen> Can I just truncate --size=0 syslog if I need to clean it up or is there a better way?
[00:38] <sarnold> I think that'llwork
[00:38] <sarnold> check also the .0, .1, .2.gz etc kinds of files
[00:48] <sgen> Check out how? Take a look or remove the .n files that are too large due to discord / sched_error entries?
[00:50] <sarnold> sgen: 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 there
[00:56] <sgen> ok cool ty
[00:56] <sgen> And with one truncate my usage on / has gone down 40%
[00:56] <sgen> lol
[00:57] <sarnold> lol
[01:03] <sgen> And after cleaning up the rest Im down to 5% usage on /
[01:03] <sgen> It was all log spam
[01:05] <sgen> tyvm I will be keeping an eye on these logs ...
[01:05] <sarnold> nice, happy computing :)
[01:09] <kevinnn> hi 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:17] <kevinnn> is anyone there?
[01:18] <sarnold> yeah
[01:19] <kevinnn> do you know why when I use gnome-session to start my UI I am missing a few UI elements?
[01:20] <sarnold> sorry, I don't know much about gnome
[01:20] <kevinnn> darn
[01:20] <sarnold> I thought I heard they killed desktop icons but I've seen screenshots with desktop icons
[01:20] <sarnold> so I don't know what to expect :)
[02:09] <kryten> sarnold: That's because the default Ubuntu session uses an extension to replicate the previous functionality.
[02:29] <iconoclasthero> so 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] <iconoclasthero> how 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] <iconoclasthero> ubuntu 20.04.  I'm on gnome flashback.  geforce gtx 650 ti boost on nvidia 460
[04:30] <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:31] <Salatwurzel_> like, make firefox invisible so it always defaults to spotify
[06:08] <zetheroo1> I 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:09] <zetheroo1> I 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:10] <zetheroo1> I am stressing the CPU with WinFF and it starts fast at ~60fps, but then drops very quickly to ~5fps
[06:58] <ducasse> zetheroo1: you can create a systemd sevice to set the governor on boot
[07:05] <zetheroo1> ducasse: I found this ...  https://github.com/erpalma/throttled
[07:06] <zetheroo1> ducasse: 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:09] <ducasse> zetheroo1: if you create a service to set it, that service needs to be started
[07:12] <zetheroo1> ducasse: ok, well according to this output the current gov is "performance" https://paste.ubuntu.com/p/vCJWKQfXvm/
[07:13] <zetheroo1> so testing now again with WinFF
[07:16] <zetheroo1> https://ibb.co/MG7qvZm
[07:16] <zetheroo1> fan not even kicking in ...
[07:17] <zetheroo1> Fan just started now ... CPU temp ~64C ... CPU usage ~93%
[07:18] <zetheroo1> WinFF 7.7fps and falling
[07:18] <zetheroo1> cpu MHz ~1900
[07:18] <zetheroo1> and falling ..
[07:19] <zetheroo1> CPU temp not going higher than 64C
[07:21] <zetheroo1> To 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,yama
[07:21] <zetheroo1> Is that placed into /etc/defaults/grub?
[07:22] <ducasse> probably, i don't know
[07:41] <overclucker> if you are just testing, you can press 'e' at the grub prompt to edit the entry temporarily
[07:49] <zetheroo> Does anyone know how to solve this problem? No matter what, I cannot get the CPU to operate above ~64C
[07:53] <zetheroo> I'm going to try in Windows and see what performance I get there
[08:17] <vasilakisfil> hi I am trying to update libc6 to version 2.30 but not sure how. I am running 18.04 but not sure how
[08:24] <zetheroo1> back from testing in Windows ... with PassMark the CPU temp exceeds 80C very easily and the MHz hold between 2500 - 3200.
[08:24] <zetheroo1> So Ubuntu is essentially robbing me of a good third or more of my CPU performance
[08:26] <zetheroo1> This is a Thinkpad P14s with an Intel i7 CPU, and it's performance is worse than my T440p was with Ubuntu 18.04
[08:32] <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:33] <ThinkT510> what's wrong with dd?
[08:33] <zetheroo1>  viktor_: clonezilla works fine for this
[08:40] <viktor_> zetheroo1: thanks. i'll just make a partition on the new one, and clone the old one onto it.
[08:41] <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:48] <zetheroo1> What in Ubuntu 20.04 is responsible for throttling the CPU according to it's temp?
[09:16] <zetheroo1> This is just silly ... can barely get the CPUs above 60C https://ibb.co/LQ15trX
[09:42] <lotuspsychje> zetheroo1: lets have a look at your dmesg please?
[09:52] <arther181> Hello Everyone!  Anyone knows how can I add binaries to initramfs?
[09:53] <isapgswell> arther181 add module_name to etc / initramfs-tools / modules
[09:53] <isapgswell> arther181 and update-initramfs
[10:00] <arther181> I have a static xz. I want to add it in /usr/bin to initramfs.
[10:07] <Seveas> arther181: see the section named HOOK SCRIPTS in man initramfs-tools, Specifically the subsection called Including binaries
[10:12] <arther181> okay Seveas
[10:12] <Seveas> zetheroo1: thermald
[10:14] <Seveas> zetheroo1: also check /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor -- set it to performance instead of powersave to start cooking your cpu :)
[10:21] <zetheroo1> https://paste.ubuntu.com/p/VbXF3jJPBJ/  lotuspsychje:
[10:21] <zetheroo1>  Seveas: I have been using it on Performance - makes no difference
[10:22] <zetheroo1>  Seveas: you can see the Governor setting in the screenshot as well ;)
[10:24] <lotuspsychje> zetheroo1: could you try comparing this with secureboot disabled please? secureboot enabled can influence your hardware in some cases
[10:28] <zetheroo1>  lotuspsychje: so disable Secure Boot in the BIOS?
[10:28] <lotuspsychje> yes
[10:29] <zetheroo1>  lotuspsychje: are you sure that this won't break my boot?
[10:29] <zetheroo1> (I have Windows10/Ubuntu dual boot)
[10:30] <lotuspsychje> zetheroo1: changing can influence things yeah, make backups before testing things
[10:31] <zetheroo1> Ok, 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 - 3200
[10:37] <zetheroo1> this is exactly what I'm afraid of happening if I disable SB https://askubuntu.com/questions/1178488/ubuntu-cant-boot-with-secure-boot-disabled
[10:43] <zetheroo> ok, rebooted with Secure Boot disabled
[10:43] <adam_> hello, looking for assistance with setting up machine with 20.04.2
[10:46] <zetheroo>  lotuspsychje: CPUs are now reaching 95C
[10:49] <zetheroo> ah but this is probably because throttled (https://github.com/erpalma/throttled) can now run with SB disabled
[10:50] <zetheroo> yep https://paste.ubuntu.com/p/9hWWbQy5jN/
[10:52] <adam_> hello, I am attempting to fix sound, brightness and egpu on my iMac 2017 - can anyone assist me?
[10:56] <zetheroo> With throttled (service lenovo_fix) stopped, and gov on Powersave, CPU temp max ~50C MHz ~1000
[10:57] <zetheroo> gov on Performance ... no difference
[10:58] <pagios> hello 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:59] <zetheroo> With service lenovo_fix running, gov on Powersave, CPU temp max ~95C MHz ~3500
[11:01] <zetheroo> gov on Performance ... no difference
[11:02] <zetheroo> So without this lenovo_fix service running the laptop is massively under-performing
[11:59] <BluesKaj> 'Morning folks
[11:59] <ace_me> I see netstat -plnt
[11:59] <ace_me> tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1128/master
[11:59] <ace_me> But I want to know who is 1128/master
[11:59] <ace_me> or what means
[12:00] <ace_me> 1128 is the PID ?
[12:04] <cws> The column header tells you as much.
[12:04] <cws> "PID/Program Name"
[12:04] <ace_me> :) true
[12:04] <ace_me> thx
[12:29] <zetheroo1>  BluesKaj: good afternoon ;)
[12:32] <BluesKaj> hi zetheroo1
[12:37] <zetheroo1>  BluesKaj: have you had any run-ins with the problem of thermal throttling of the CPU being too eager?
[12:39] <lemur> In 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] <BluesKaj> zetheroo1, not that I'm aware of, my system cpu cooling tower heatsinks seem to do the job without any thermal problems
[12:40] <zetheroo1>  BluesKaj: I have the problem that my CPU is throttled way too early ... barely ~60C and it's being throttled
[12:40] <zetheroo1> only "solution" so far https://github.com/erpalma/throttled
[12:43] <BluesKaj> zetheroo1, suggest you ask in ##hardware chat
[12:45] <faLUKE> hello. What can I use for playing blu-rays on 20.10 ?
[12:47] <wyoung> faLUKE: A blu-ray app
[12:50] <BluesKaj> most media players can handle blurays nowadays
[12:51] <faLUKE> BluesKaj: 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-lts
[12:52] <liowenex> What's a blueray?
[12:52] <liowenex> Like a stingray?
[12:52] <BluesKaj> HD dvd
[12:52] <liowenex> Is it a new species?
[12:52] <liowenex> Lol kidding, sorry, carry on! :D
[12:53] <BluesKaj> faLUKE, try mplayer or smplayer
[12:53] <liowenex> faLUKE: Is it possible that the Blueray is using some kind of protection software to prevent playback?
[12:54] <liowenex> You could spin up Handbrake and take a look if *MPlayer doesn't work
[12:54] <faLUKE> liowenex: it is a commercial blu ray
[12:54] <faLUKE> BluesKaj: doesn't work with mplayer and smplayer too
[12:56] <Maik> faLUKE: vlc?
[12:56] <BluesKaj> faLUKE, you ever been able play blurays previous to this one ?
[12:58] <Maik> BluesKaj: you probably also need some extra libs and codecs to play Blu Ray on Ubuntu, just like with dvd's?
[12:59] <BluesKaj> Maik, I'm wondering if his player can even handle blurays
[13:00] <BluesKaj> by player I mean device
[13:00] <Maik> i got that and yeah, depends
[13:00] <faLUKE> BluesKaj: it is the first time I try to play br on this machine
[13:01] <liowenex> Maybe you just need graphics drivers
[13:01] <Maik> faLUKE: as BluesKaj wonders, can your cd/dvd-rom device handle blu ray?
[13:02] <rory> faLUKE, did you get any errors when installing those packages mentioned on the AskUbuntu question?
[13:02] <rory> faLUKE, 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:03] <faLUKE> Maik: yes, I use an usb blu-ray reader which I already tested on another machine
[13:03] <Maik> liowenex: that's just a pointless reply....
[13:03] <rory> faLUKE, you might also need to install the package: ubuntu-restricted-extras
[13:03] <Maik> BluesKaj: so the player does support blu ray ^^
[13:03] <faLUKE> rory: https://paste.ubuntu.com/p/RkyvKSBkxc/
[13:04] <faLUKE> rory: let's try
[13:10] <faLUKE> rory: just installed ubuntu-restricted-extras, did not solve... :-(
[13:12] <Maik> faLUKE: https://www.howtogeek.com/240487/how-to-play-dvds-and-blu-rays-on-linux/
[13:12] <BluesKaj> think restricted-extras is dvd only
[13:12] <Maik> BluesKaj: no
[13:13] <Maik> to play even dvd's you need another lib
[13:13] <Maik> libdvdcss iirc
[13:13] <lotuspsychje> !dvd
[13:13] <Maik> lotuspsychje: also something for blu ray?
[13:14] <lotuspsychje> not sure, never test BR on ubuntu myself
[13:14] <lotuspsychje> perhaps oerheks1 ^
[13:15] <faLUKE> Maik: this is generic and doesn't solve my problem
[13:15] <Maik> faLUKE: sudo apt-get install vlc libaacs0 libbluray-bdj libbluray1
[13:16] <faLUKE> Maik: already tried,see my link before
[13:16] <Maik> ok, then i can not help any further
[13:16] <faLUKE> nm
[13:18] <BluesKaj> Maik, what about libbluray2 ?
[13:18] <faLUKE> BluesKaj: I installed libbluray2
[13:19] <faLUKE> I can hear audio on smplayer, but no video. On vlc I can't see/hear anything
[13:35] <BluesKaj> faLUKE, 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/
[14:24] <Guest_21> hello everyone, can  any guide me with installing ubuntu on a dell inspiron 14 laptop?
[14:25] <wyoung> You got delled
[14:25] <Guest_21> i sure did lol
[14:26] <Guest_21> been trying since past 3 hours with no luck
[14:27] <Guest_21> the problem is, the usb stick doesn't get detected at all
[14:28] <Guest_21> What I've tried so far with no luck:
[14:28] <Guest_21> created bootable using startup disk creator (changed bios setting to UEFI mode as well as legacy mode)
[14:28] <Guest_21> created bootable using etcher
[14:28] <Guest_21> nothing works
[14:38] <Maik> wyoung: instead of replying nonsense try to help in a constructive manner. Thanks in advance.
[14:38] <Maik> :)
[14:39] <wyoung> Maik: Instead of saying someone said nonsence, try to help in a constructive manner.  Thanks in advance,  Weird ASCII smiley emoji.
[14:40] <Maik> if you want to clown around #ubuntu-offtopic might be the best place for you to hang around.
[14:42] <wyoung> Maik: Thank you, I will visit.  ALthough I was actually being serious, no clowning involved.
[14:43] <Maik> i can't see anything serious in your two replies to be hones
[14:43] <Maik> too bad Guest_21 left, if he returns: https://askubuntu.com/questions/1204648/install-ubuntu-on-dell-inspiron-14-7490
[14:45] <wyoung> Maik: 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 thing
[14:46] <lotuspsychje> !discuss
[15:13] <ace_me> sudo apt remove sendmail but netstat -tlpn still show 25 and 587 XXX_PID/sendmail: MTA:
[15:13] <ace_me> why please ?
[15:15] <th0r> ace_me, have you tried rebooting?
[15:16] <ace_me> sure... I try now https://gist.github.com/adamstac/7441659
[15:32] <zzzzz> hey 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 requests
[15:33] <zzzzz> i tried connecting through a different isp no help, my hosts file is clean, both firefox and chrome show the same behaviour
[15:34] <zzzzz> services blocked: amplitude.com, reamaze,
[15:35] <zzzzz> the problem is i use these services for support and statistical data of my website...
[15:36] <ledeni> zzzzz try disable ipv6 setting for your network connection and see how is going
[15:36] <zzzzz> how do i do that?
[15:37] <ledeni> zzzzz using ubuntu - default DE
[15:53] <mbeierl> zzzzz, it should be as simple as sudo sysctl net.ipv6.conf.all.disable_ipv6=1 for a quick test
[15:53] <mbeierl> and sudo sysctl net.ipv6.conf.all.disable_ipv6=0 to put it back
[15:53] <mbeierl> zzzzz, but maybe just "sysctl net.ipv6.conf.all.disable_ipv6" by itself first to see what it is currently set to
[16:11] <zzzzz> i'll try it thanks guys
[16:27] <GreyArea> Hello, 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:32] <Maik> GreyArea: downloaded through the ubuntu repo's or from their website?
[16:33] <GreyArea> Maik: it would be a ubuntu repo install
[16:35] <Maik> what's the issue?
[16:39] <GreyArea> Just 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:40] <GreyArea> Wasn't sure if someone would say 'hey, just delete this cache folder - we see it all the time" :)
[16:41] <Maik> GreyArea: what if you try the version that's in the Ubuntu repo, not the snap version...
[16:43] <GreyArea> hmm, I get "No apt package "discord", but there is a snap with that name."
[16:44] <Maik> doh, my bad... confused it with another package. Sorry
[16:45] <GreyArea> Ah, you have to wget it and shizzle, prolly why I went for the snap.  No wukkas, ta
[16:45] <Maik> GreyArea: maybe download the deb file from their site and try that?
[16:45] <GreyArea> Yeah, might do - cheers man
[16:45] <Maik> no problem, i hope that one works
[17:00] <rleonid> Hi everyone! Can I get some help on a wireless network problem? :)
[17:00] <GreyArea> rleonid: Don't ask to ask, just ask :)
[17:01] <rleonid> I 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] <rleonid> lspci:
[17:01] <rleonid> https://paste.ubuntu.com/p/kV3jX527v8/
[17:02] <rleonid> this is a /var/log/syslog actually
[17:02] <rleonid> lspci is 03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4352 802.11ac Wireless Network Adapter (rev 03)
[17:04] <rleonid> I 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] <rleonid> source https://askubuntu.com/questions/191836/wpa-supplicants-connection-issues
[17:08] <Metamorphosis> Hello everyone. I am a Kubuntu user but at this moment I have a yum related question. Where can I ask it?
[17:08] <Metamorphosis> I am noob
[17:09] <rleonid> Metamorphosis: yum is a RedHat/centos utility
[17:10] <Metamorphosis> rleonid Yes I am on RHEL. Where can I ask my question?
[17:10] <GreyArea> Metamorphosis: Isn't YUM more a fedora/centos/rhel too, you can ask but might be better in one of those chaneles.
[17:10] <sarnold> kryten: re: extension for icons, aha! thanks :)
[17:10] <Metamorphosis> I am aware of dnf history in Fedora.
[17:11] <rleonid> GreyArea: any ideas on my question? :)
[17:11] <Metamorphosis> Thank you guys
[17:12] <GreyArea> rleonid: Sorry dude, I'm just a punter - if someone knowledgeable can answer I'm sure they will, otherwise it's forums & the like.
[17:15] <Maik> Metamorphosis: ask in #fedora perhaps
[17:16] <Maik> yum has been replaced by dnf by the way
[17:16] <Maik> also
[17:16] <Maik> !discuss
[17:22] <fakuve> Hi guys , anyone inhere
[17:22] <compdoc> who wants to know?
[17:23] <fakuve> familiarised with `netplan`
[17:23] <fakuve> (I pressed Enter lol)
[17:23] <compdoc> yes
[17:23] <fakuve> I have severe issues to change AP with it
[17:23] <fakuve> When usign NetworkManager as renderer
[17:23] <compdoc> you added a new ap?
[17:24] <fakuve> so first off I had so many issues to even start 1 AP
[17:24] <fakuve> but after setting it up
[17: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:25] <fakuve> Basically even If I change the .yaml
[17:25] <fakuve> and I generate a newone `sudo netplan --debug generate` `sudo netplan --debug apply`
[17:26] <fakuve> Eventhough the Debug information , is telling me the device `wlp58s0 adding wifi AP 'VCRoom065'
[17:26] <fakuve> it does connect to the previousone
[17:27] <fakuve> I have tried `sudo systemctl start wpa_supplicant` , then shutdown the computer and start again , generate , apply
[17:28] <compdoc> is there only one .yaml in the folder?
[17:28] <fakuve> and seems that `netplan` when renderer: NetworkManager is buggy
[17:28] <fakuve> yes
[17:28] <fakuve> /etc/netplan/00-installer-config.yaml
[17:28] <compdoc> can you post your working .yaml on https://pastebin.com or similar site?
[17:29] <fakuve> It looks like though, that when using renderer: networkd , it kind of works better
[17:30] <fakuve> https://termbin.com/p7sg
[17:31] <fakuve> The yaml should be correct
[17:31] <fakuve> I think the issue is in between services , I got `networkd` and `NetworkManager` installed
[17:31] <compdoc> i think if youre going to customise .yaml  you need to use networkd
[17:31] <compdoc> otherwise NetworkManager will manage
[17:32] <fakuve> I don't understand what you are saying
[17:32] <compdoc> when I need to set netowrking up manually, like for a server, I remove network manager
[17:32] <fakuve> Doesn't `netplan` was suppose to work with both `networkd` and `NetworkManager` ?
[17:32] <rleonid> hello again,  looking some help on wireless disconnects (appear each 20-30 minutes) https://paste.ubuntu.com/p/kV3jX527v8/
[17:33] <fakuve> compdoc: but I wanted to use NetworkManager
[17:33] <fakuve> Cos there are features I can not use with networkd , such as interface bonding
[17:34] <compdoc> I thought you were trying to change the ap, by changing your .yaml file
[17:34] <fakuve> compdoc: I have changed it
[17:34] <fakuve> but it does still initiate the previous AP
[17:35] <fakuve> I think there is an actual bug on `netplan`
[17:36] <rleonid> ok, 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:40] <fakuve> rleonid: yes you can
[17:41] <fakuve> then you would need to operate with networkd
[17:46] <rleonid> fakuve: I think I can operate it, even with rc.local but dont want to stuck in a situation without network :D
[17:46] <rleonid> hard to debug what's happening, syslog is barely helping me with that
[17:47] <fakuve> `sudo systemctl status systemd-networkd`
[17:47] <fakuve> `sudo systemctl status wpa_supplicant`
[17:47] <rleonid> inactive right now
[17:47] <fakuve> then you need to activate them if you deactivate `NetworkManager`
[17:47] <rleonid> woah, nice, thanks
[17:47] <rleonid> wpa_supplicant[971]: bgscan simple: Failed to enable signal strength monitoring
[17:48] <rleonid> but this is probably not the case, it happened only once in log
[17:48] <fakuve> idk exactly on thatone
[17:48] <rleonid> at least I can google on it
[17:49] <fakuve> I like to do `sudo journalctl | grep <device-to-watch>`
[17:49] <fakuve> it will group all the logs on there for the device you want to check
[17:49] <rleonid> sudo 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 wlp3s0
[17:49] <rleonid> thats what i was trying to achieve :D
[17:51] <fakuve> lol
[17:51] <fakuve> thats a lot to watch :D
[17:51] <Arrowmaster> I 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-data
[17:52] <rleonid> fakuve: ok thanks, I will give a try disabling wpa_supplicant and setting up manually
[18:09] <taleinat> Hi, 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:11] <Sven_vB> hi! 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:13] <Sven_vB> I'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_vB> err, "uuidgen --random"
[18:14] <Sven_vB> my bionic doesn't have a "uuid" command
[18:14] <sarnold> Sven_vB: https://sources.debian.org/src/ossp-uuid/1.6.2-1.5/uuid_cli.c/#L114
[18:15] <Sven_vB> sarnold, thanks. then I guess "r" is for "raw", not "random" there
[18:15] <Sven_vB> because uuid -r prints seemingly garbage characters
[18:15] <sarnold> yeah, that's my expectation
[18:16] <sarnold> Sven_vB: try cat /proc/sys/kernel/random/uuid ?
[18:17] <Sven_vB> oh nice!
[18:17] <Sven_vB> thanks!
[18:17] <Sven_vB> I wonder why then uuidgen was dropped from util-linux
[18:20] <Sven_vB> seems 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_vB> but then I couldn't have learned about that neat /proc path. :D
[18:22] <Helenah> Hi hi
[18:23] <Helenah> I 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:24] <Helenah> 20.4 Focal
[18:24] <sarnold> Helenah: double check all the wires
[18:24] <Helenah> sarnold, This has happened on two identical thin clients.
[18:25] <Helenah> Exact same hardware
[18:27] <sarnold> Helenah: are there any messages in the logs that look related / different from usual?
[18:28] <taleinat> Hey, 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:29] <sarnold> taleinat: is there anything in the logs on either the guest or the server that indicate why it's not working?
[18:30] <taleinat> Which logs should I be checking?
[18:30] <taleinat> sarnold: Which logs should I be checking?
[18:30] <sarnold> taleinat: I don't know, you haven't said what program you're using on either side :)
[18:30] <sarnold> taleinat: journalctl isn't a bad starting point but whatever programs you're using may have their own logs
[18:31] <taleinat> Server: 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.en
[18:31] <taleinat> Client: I tried several, including Remmina and MacOS's built-in client.
[18:32] <taleinat> sarnold: Hmm, I guess I'll go look where Vino puts its logs...
[18:33] <Helenah> sarnold, All see in dmesg are input entries to do with the paths to the sound card inputs
[18:33] <sarnold> Helenah: that's probably for the best but I was hoping for an error message of some sort ;(
[18:37] <Helenah> I see "Disabling timer-base scheduling because running inside a VM." but I don't think that's the issue.
[18:40] <Helenah> sarnold, 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:43] <sarnold> Helenah: I see a few messages via journalctl --user-unit pulseaudio
[18:45] <Helenah> sarnold, 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] <sarnold> heh, well, so much for help from pulse in tracking it down :(
[18:49] <Sparkee> hi, do you guys know how can I become root with a user if sudo isn't an option?
[18:49] <Sparkee> su doesn't work "su: Permission denied"
[18:50] <DArqueBishop> Sparkee: if you don't have sudo access nor the root password, then no.
[18:50] <Sparkee> DArqueBishop: I have the root password but the root isn't allow to ssh to the server
[18:51] <DArqueBishop> If you use su, the root password is what it prompts for.
[18:51] <Sparkee> the thing is that it doesn't even prompt for the password
[18:51] <matsaman> Sparkee: remote server?
[18:51] <Sparkee> matsaman: remote server, yes
[18:52] <Sparkee> $ su
[18:52] <Sparkee> su: Permission denied
[18:52] <Sparkee> then I get back to shell, no further questions
[18:52] <Sparkee> I wonder if there is a group like "wheel" on FreeBSD
[18:52] <matsaman> Sparkee: how'd you get the root password without sudo?
[18:52] <Sparkee> and only members of THAT group are allowed to run "su"
[18:52] <Sparkee> matsaman: sudo is restricted for LDAP
[18:53] <matsaman> ew
[18:53] <matsaman> I 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] <matsaman> there _shouldn't_ be a way for you to become root
[18:53] <Sparkee> here is the thing:
[18:53] <matsaman> but you could like, look for a priv escalation exploit
[18:54] <Sparkee> root ssh is disabled due to security, no one wants ssh root having enabled
[18:54] <sarnold> Sparkee: you could try runuser and setpriv
[18:54] <Sparkee> sudo LDAP commands are restricted, you can't do sudo bash etc. again because of security
[18:54] <matsaman> I don't know, having remoteable users with root/sudo access and terrible passwords isn't much better than having remotable root with a good password
[18:54] <Sparkee> sarnold: can you give me an example?
[18:55] <Sparkee> matsaman: right, but there is no root ssh, that's the policy
[18:55] <matsaman> mmm
[18:55] <matsaman> well, I think what I already said is likely the case
[18:55] <matsaman> there should be now way for you to do this, but it's possible there's a privilege escalation you could crack out
[18:56] <matsaman> what you should probably do is contact someone who _can_ become root, and have them fix your perms
[18:56] <Sparkee> this is a new server I'm setting up
[18:56] <matsaman> you're setting it up
[18:56] <matsaman> well you should have root access, then
[18:56] <matsaman> contact support
[18:56] <Sparkee> I am support :)
[18:56] <matsaman> well you should be more competent =)
[18:56] <Sparkee> but I am NEW to Ubuntu, I have experience with CentOS, FreeBSD,
[18:56] <matsaman> so you can reprovision the entire OS?
[18:56] <matsaman> okay okay
[18:56] <hggdh> matsaman: you are not helping
[18:57] <matsaman> hggdh: you aren't
[18:57] <matsaman> Sparkee: so you need it to have this user with root/sudo access by default when installed?
[18:57] <Sparkee> matsaman: I need this user to be able to do "su", that's it
[18:57] <hggdh> Sparkee: I would start by looking at the permissions of the 'su' program (probably under /usr/bin/su)
[18:58] <matsaman> I believe Ubuntu does indeed use the 'sudo' group for this
[18:58] <Sparkee> 'sudo' group, ok, I know on CentOS/FreeBSD this is 'wheel' group
[18:58] <matsaman> Sparkee: yeah there are a few different approaches across the Unix world
[18:59] <Sparkee> hmm, the user is already member of wheel
[18:59] <matsaman> Sparkee: 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 it
[18:59] <Sparkee> hggdh: -rwsr-xr-x 1 root root 67816 Jul 21  2020 /usr/bin/su
[18:59] <Sparkee> matsaman: ohhhhh
[18:59] <matsaman> Sparkee: 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)
[19:00] <sarnold> Sparkee: if you're really stuck, you may need to reboot into rescue mode and fix up whatever is keeping you from using sudo
[19:00] <Sparkee> sudo is a way, however IF LDAP fails THIS user could be used as a backup user
[19:00] <Sparkee> sudo is also through LDAP
[19:07] <Sparkee> thank you guys!!
[19:24] <matsaman> gj
[20:31] <magic_ninja> does 4.21 have the 5.11 kernel?
[20:35] <matsaman> magic_ninja: huh?
[20:43] <Aavar> 21.04?
[20:45] <magic_ninja> yea
[20:45] <matsaman> oh, that makes sense =)
[20:45] <matsaman> magic_ninja: if it doesn't, you can always give it the 5.11 kernel
[20:46] <magic_ninja> No, I asked if it had that kernel yet. Someone in another channel answered. It does.
[20:46] <Maik> magic_ninja: already answered that in #kubuntu
[20:46] <Maik> also it's best not to cross post
[20:46] <magic_ninja> i saw
[20:46] <Maik> :)
[20:46] <matsaman> magic_ninja: yes, if it doesn't have the kernel, you can always give it that kernel
[20:47] <magic_ninja> I cross-post all the time
[20:47] <matsaman> most cross-posters do
[20:47] <matsaman> still shouldn't =)
[20:47] <Maik> !guidlines
[20:47] <magic_ninja> forgot your 'e'
[20:47] <Maik> heh
[20:47] <Maik> yea
[20:47] <magic_ninja> I'm still going to though :)
[20:47] <Maik> don't
[20:48] <magic_ninja> it isn't that big of a deal
[20:49] <magic_ninja> been around here for like 20 years. for certain questions it isn't an issue.
[20:49] <Habbie> magic_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 place
[20:49] <magic_ninja> Habbie, of course, that I do do, as I did here.
[20:50] <Habbie> magic_ninja, seemed a bit late to me
[20:50] <magic_ninja> Habbie, happened soon as I got back to my computer
[20:50] <Maik> magic_ninja: so? i've been around for 13 years... it doesn't mean anything
[20:51] <magic_ninja> anyway, I'm not interested in discussing this further. Thank you for the answer.
[20:51] <Maik> ok and agreed, me neither
[20:52] <Habbie> magic_ninja, of course you're not interested, most people are not interested in hearing how they're rude :)
[20:53] <Maik>  it's better to let it be i guess :)
[20:53] <Habbie> i will now :)
[20:53] <magic_ninja> Habbie, 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] <Ublx> hello, is there a tool for analyzing downloaded logfiles locally with a graphic output?
[20:54] <sarnold> Ublx: I think a lot of the products sold for this are called "SIEM" things https://en.wikipedia.org/wiki/Security_information_and_event_management
[20:59] <rory> Ublx, about a million. Logalyze is lightweight. Graylog is powerful.
[20:59] <rory> Ublx, Splunk is expensive. ELK is great but a pain to configure.
[21:04] <Ublx> thank you very much sarnold and rory. that's a good starting point!
[21:22] <Ublx> Greylog seems to be my choice for the start.
[21:45] <timetocode> hi 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:47] <sarnold> ewwwwww
[21:48] <rory> timetocode, change the permission on that directory so it is no longer world-writiable. e.g. : chmod 744 /home/neuron/miniconda3/bin
[21:48] <rory> timetocode, or else remove it from $PATH
[21:50] <rory> If 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 future
[21:54] <sarnold> timetocode: 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 \) -ls
[21:54] <rory> just play whack-a-mole with them as they come up
[21:54] <rory> nice one-liner though sarnold
[21:56] <timetocode> thanks
[21:56] <sarnold> rory: 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 still
[22:04] <f_ayx> Hi channel, noticed that my device is no longer going to lock screen after the defined time has elapsed, where do I look to fix this
[22:07] <kevinnn> hi all, for some reason snd-loopback isn't working on my fresh ubuntu20.04 install
[22:07] <kevinnn> I am seeing the following error in alsamixer
[22:07] <kevinnn> This sound device does not have any controls.
[22:07] <kevinnn> any advice would be greatly appreciated
[22:10] <sarnold> f_ayx: hopefully helpful https://wiki.ubuntu.com/DebuggingScreenLocking#Debugging_procedure
[22:10] <sarnold> f_ayx: someone ran through those examples on https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1600622
[22:13] <f_ayx> sarnold: ta
[22:29] <tasuki> Maybe 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:31] <sarnold> tasuki: pam_environment should mostly work, which services are you seeing that aren't picking that up:?
[22:31] <sarnold> tasuki: are you sure that whatever services you're running are going through PAM when starting?
[22:42] <tasuki> sarnold, 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:47] <sarnold> tasuki: and are you logging out and logging in again after editing ~/.pam_environment?
[22:53] <tasuki> yes! I've had this same ~/.pam_environment for ages and it's just being ignored
[22:54] <tasuki> also I'm logging in and out about all the time now to test things :D
[22:55] <tasuki> fwiw this is a fresh 20.04 install, no upgrades with things that got stuck
[22:55] <sarnold> so, 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:56] <tasuki> no idea, but restarts don't make my system pick up ~/.pam_environment either
[22:57] <tasuki> or perhaps it does get picked up and is overridden by "Language and Region"
[23:03] <sarnold> tasuki: 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 variables
[23:03] <sarnold> tasuki: it feels a bit silly to go that far but maybe that's where it's got to go :/
[23:03] <tasuki> sarnold you about lost me here, I've no idea what any of this means!
[23:04] <sarnold> tasuki: 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:07] <tasuki> haha np, thank you for your help anyway!
[23:08] <tasuki> do you have any articles or a starter about using ~/.xsession to manage my x session? I suppose it replaces GDM or something?
[23:13] <sarnold> tasuki: 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] <tasuki> thank you!
[23:20] <timetocode> okay 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:23] <timetocode> hmm actually maybe this is largely intrinsic to how WSL works, the problem is more than these ruby gems keep complaining
[23:26] <sarnold> yeah windows stuff is funny, unix permissions don't map onto it well, and vice versa
[23:55] <VMGuy23> hopefully i wont be asking for help here in a while, my problem is sorted