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