=== phaisedArray is now known as phaise [00:16] will there be 21 lts? [00:17] !22.04 | linsux [00:17] linsux: Ubuntu 22.04 (Jammy Jellyfish) will be the 36th release of Ubuntu, scheduled for release April 2022 (https://ubottu.com/y/jj). Join #ubuntu-next for support and questions. [00:17] that will be LTS [00:17] next year? [00:17] maybe buy a new calendar === goddard_ is now known as goddard [00:51] well i tried libre office and it just stalled. -- I tried it 2 days ago and found it has no business card template. [00:54] yes it does [00:54] open libre office, just press on templates, not using the dropdown [00:56] I did. But I will redo. (re today, forcestop, restart, worked fine) [00:56] I saw something listed as a business card template but it wasnt) [00:56] I will try again. [00:57] but I killed chrome in between libre-try1 and libre-try2 [00:58] oerheks, after using xubuntu DE only once, then going back to Ubuntu-DE, I have icons all over the desktop. WHat happened? What controls this oerheks ? [00:59] librea office is awesome [01:00] between libreoffice and google docs, i haven't missed redmond office for more than 5 years [01:00] does anyone know of a bluetooth dongle that will make my old ubuntu dell work with bluetooth speakers or earbuds? [01:02] all dongles i bought from amazon worked with ubuntu out of the box [01:02] the last one i bought was by a brand called tp link [01:02] bluetooth 5 [01:03] maybe xubuntu did put icons there, and hide it. [01:04] i see no option in settings nor gnome-tweaks [01:04] different devices and software support different bluetooth profiles -- not all devices support all profiles, pulseaudio supports some profiles but not all, the pipewire tool that's going to replace pulseaudio at some point in the future apparently supports more profiles, or more useful profiles, etc.. [01:05] you might get half-functoinality out of a device, eg get lower-resolution headphone audio but not headset, or not higher-resolution audio, etc [01:06] it's usually pretty hard to find out which protocols devices use, can support, what profiles the software can run, etc. you can try to figure it out, but it might just be easier to buy one or two or three and plan to return the ones that don't work for you [01:20] I dont have enough chops or devices to test everything and it isnt outside of normal expectations to have community know of one that actually works. shheeesh. [01:21] ednash thanks. (I bought one from amazon that said it worked with linux but forgot to read the comments, sarnold) [01:22] ednash, the first tplink on ama. NOTE: UB500 is not compatible with Mac, Linux, TV, or Windows 8. UB500 is for PC use only so PS4/Xbox controllers could be used on PC, and is not to be used directly on Xbox/PS4. Two UB500 cannot pair with each other. [01:23] the other one ednash Kind reminder: UB400 is not compatible with Mac, Linux, TV. UB400 is for PC use only so PS4/Xbox controllers could be used on PC, and is not to be used directly on Xbox/PS4. Two UB400 cannot pair with each other.' [01:23] smh [02:03] How's it going? === M4he is now known as mahe [02:22] Anyone online? [02:26] !ask | JoeBlow67 [02:26] JoeBlow67: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience === Joe is now known as Guest6761 === Guest6761 is now known as JoeBlow67 [02:33] I'm sorry. I'm just here to learn more about Ubuntu from knowledgeable people. [02:35] JoeBlow67: Welcome to lurk - one *can* learn a lot here just watching what gets resolved. [03:06] JoeBlow67: I don't know what kind of traffic they get, but there's an #ubuntu-discuss that has more general conversations about ubuntu. === scjosh9 is now known as scjosh === davef2 is now known as davef === JeremyD is now known as SleePy === genii-core is now known as genii === rongx is now known as rxy === Norkle_ is now known as Norkle === carwash is now known as jwash === ledeni_ is now known as ledeni [04:03] How would a website know if you date or time your computer is set to is off? [04:04] Why would I not be able to connect to an onion site? I am seeing that it could be because of my time or timezone being off but this does not make sense to me [04:04] Can anyone help me understand? [04:13] you need a web browser that understands onion sites [04:14] yukiup: I have tor browser [04:14] look up a custom firefox [04:14] :/ idk [04:15] It goes through a process of connecting to tor every time I fire it up but if I try to visit any .onion site it errors [04:16] maybe the site is down? [04:16] oh, any... [04:16] theres lotsa info your browser passes, including your time zone/etc [04:17] check out https://coveryourtracks.eff.org/ for some info on it [04:18] lotta times secure connections wont work if time is set wrong.... apt for example... android does it to me too, it wont connect ot the wifi if the time is set wrong, bu tit cant update the time automatically unless it connects. [04:41] blahboybaz: Although websites can query system time via js, you can't connect to tor if your time is off. Used ntp client to synchonize time before connecting to tor. === Forza_ is now known as Forza === ravage_ is now known as ravage [05:06] phaise: Thanks for explaining [05:10] exit [05:10] woops === polymorp- is now known as polymorphic [05:51] A compliment: oerheks and 2 others (name fog) mentioning your tp link device gave me search terms. Yay. Result (no product name): Bluetooth Adapter for PC, BT 5.0 EDR Nano USB Dongle, Fast Transfer, Bluetooth Headphones Headset Speakers Keyboard Mouse, Win 8/10, Linux: 2.6.32 - 5.3 (Fedora & Ubuntu only), BT-8500 === Starmina_ is now known as Starmina === jclsn73 is now known as jclsn [07:20] anyone know which UUID should I put in /etc/crypttab? [07:20] nvme0n1p3_crypt UUID=f5ab1bcc-09e7-4f5c-a819-621fe4b95276 none luks,discard [07:21] this UUID is outdated and not sure which one is should point to [07:21] luckily my older kernel still boots cause it was updated by initframs correctly [07:21] the latest one fails === sonOfRa_ is now known as sonOfRa === synapt is now known as nate [08:18] ubuntu [08:19] scortal: ubuntu to you too [08:19] :D [08:22] ubuntu trying to install appsec server again. [08:22] difficult. [08:29] Which channel is the correct channel to ask how to fix bugs about rsyslogd, logrotated package related bugs? [08:30] I made a bug report, and post at askubuntu about what is the preferred to fix this type of issues -> https://askubuntu.com/questions/1398046/what-is-the-correct-way-to-fix-rsyslogd-logrotated-bugs-in-packages [09:02] ubuntu rocks. === irc is now known as amoros [09:51] 44 [09:52] salut vincent [09:52] oe mon gars [09:52] WEWEEEEEEEEEE [09:52] est ce que tu vas bien ? [09:52] si tu vas bien ,jvai bien [09:53] toujours === elinfo is now known as yanis [09:53] uuu [09:53] 4444 === i0e is now known as Guest4520 [09:57] adieux [09:57] pauvre llorllale [09:59] coucou === elinfo is now known as harena [10:01] test [10:03] elinfo, can you please do your testing in another channel ? [10:04] (unless you have an actual ubuntu support question) [10:04] test test [10:04] one two [10:04] three for [10:04] five six! seven or eight? [10:04] scortal, you too ... stop spamming the channel please [10:05] ....... [10:05] any etra xhhacbbaneslabout? [10:05] yes [10:22] scortal: sup === michaelni_ is now known as michaelni [11:28] is ubuntu suitable for corporate environment? [11:30] yes. [11:31] But just as any operating system you need to handle your environment. But is your applications ready for ubuntu is a better question, and if your users are ready? [12:09] I'm upgrading my docker images from focal to impish and I'm seeing the mongo-tools package doesn't exist anymore [12:09] how can I figure out what happened to it? [12:15] today i upgraded to kernel 5.13.37 and nvidia 510; after reboot i'm noticing continuous loud fan without any load at all [12:49] ice9 check if you are using the igpu [12:50] webchat68, i was always using it before the upgrade and didn't have this issue [12:50] @ice9 === ageahea is now known as westor [13:00] Hi all [13:11] Is this iptables good? https://pastebin.com/jJETQeEK [13:13] webchat68 https://pastebin.com/Zz3LP8HU [13:24] i need to get libtirpc.so.1 installed in ubuntu 20.04.. unfortunately i can only find libtripc.so.3.0.0. [13:25] !find libtirpc [13:25] Found: libtirpc-common, libtirpc-dev, libtirpc3 [13:25] libtirpc3 is what you want, i guess [13:25] !info libtirpc3 [13:25] libtirpc3 (1.3.2-2, impish): transport-independent RPC library. In component main, is required. Built by libtirpc. Size 80 kB / 215 kB [13:26] .so.1 and .so.3.0.0. are file within that package === XV9 is now known as XV8 [13:30] can't find it in my [13:30] /lib/x86_64-linux-gnu/libtirpc.so.3.0.0 [13:30] that's all i find [13:31] that is the version provided, what software needs any old version? [13:31] !info libtirpc3 focal [13:31] libtirpc3 (1.2.5-1, focal): transport-independent RPC library. In component main, is optional. Built by libtirpc. Size 76 kB / 221 kB [13:42] oerheks: connect:direct by ibm [13:42] piece of crap software [13:45] please keep the language friendly in the support channel zamba [14:01] What tools are there that will show things like the WiFi channel, signal strength, frequency band? [14:03] jhutchins: wavemon perhaps? [14:03] just notice ls -l / showing bin|lib|lib32|lib64|libx32|sbin are now all linked to usr/bin|lib|lib32|libx32|sbin, why is that, surprise to me [14:04] yolo: https://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge/ [14:06] yo [14:08] lotuspsychje: Yeah, that looks good. [14:09] welcome jhutchins [14:09] leftyfb: thanks! it's embarrasing that I just noticed this seachange today. so one of the point is to have /usr be read-only, then where will my own installation go? /usr/local seems out, all go to /opt? [14:09] yes all scripts nowadays are still default to /usr/local for installation [14:10] s/yes/yet/ [14:10] yolo: /usr/ is not set to read-only by default [14:12] leftyfb: the merged usr does imply a goal of that though, and I like that, except I now don't know where a new 'default' install path shall be [14:12] ubuntu did the merge in 20.04, for 18.04 it's still split, debian 9 is split, not sure about the newest [14:12] yolo: you can still put your custom binaries in /usr/local/bin if you like [14:14] hello. I am using Ubuntu 20.04 and was curious where I should be putting xinput lines for persistent all user mappings [14:14] i know, but I do like the idea to make /usr kind of read-only, and install add-ons elsewhere, maybe just go /opt all the way from now on [14:14] yolo: it's your system, put them wherever you like [14:15] then the distro shall put /opt/local/{bin,sbin,man,etc} into PATH by default. I hope FHS3+ can add that: /opt/local/ to replace /usr/local [14:16] anyways it's off-topic === tchupie is now known as beaver === dillinger is now known as chaology [14:57] "replace"? /opt is for programs outside of package management; /local is for sysadmins; both should be supported [14:58] How do I create a firewall rule for all ports? [14:58] webchat68: 0.0.0.0/0 [14:58] don't specify a port [15:01] leftyfb so `iptables -A INPUT -s 0.0.0.0/0 -m state --state NEW -j ACCEPT`? [15:01] webchat68: what's the point of that rule? [15:02] It is a CIS compliance: "Ensure iptables firewall rules exist for all open ports". I'm using `ss -4tuln` to determine open ports [15:02] webchat68: that rule is just opening everything [15:02] And `iptables -A INPUT -p --dport -m state --state NEW -j ACCEPT` to create the rules [15:03] leftyfb Oh, wait. I meant `iptables -A INPUT -s 0.0.0.0/0 -m state --state NEW -j DROP` [15:04] webchat68: you know what rule does the same thing? -A INPUT -j DROP [15:04] leftyfb The issue I found is that at some points there are open ports without a firewall rule [15:05] webchat68: put -A INPUT -j DROP at the end [15:06] leftyfb I set DROP as the default policy. So then I don't need to create rules for open ports? [15:06] leftyfb this is what my iptables look like: https://pastebin.com/Zz3LP8HU [15:07] webchat68: sudo iptables -S | nc termbin.com 9999 [15:07] webchat68: -A INPUT -j DROP should always be at the end [15:07] that will block anything not specified before it [15:09] leftyfb https://termbin.com/aats [15:10] leftyfb You mean -A INPUT -j DROP as the last command? [15:11] correct. Though you do have DROP as default, so it might not be needed. I've never done it that way but I probably should :) [15:11] webchat68: these are all things you can easily test [15:12] Why the heck the default iptables is massive? [15:13] And looks like a lot more globbed [15:13] webchat68: uh, looking at your rules, you have default to DROP, but then you add tcp and udp rules to open it all back up .... why? [15:13] well, you open up ESTABLISHED [15:14] leftyfb I'm just following the CIS recommendations. I can refer the PDF file if it is allowed to paste URLs here [15:14] webchat68: I think you need to reach out to them for clarification. Or try #security [15:14] leftyfb The setup is for this: Ensure iptables loopback traffic is configured, outbound and established connections are configured, and default deny firewall policy. [15:15] technically opening up ESTABLISHED shouldn't do anything, especially on a reboot. But I see no reason for them if you don't have any rules for NEW [15:16] I'm not expert on this though. I could be missing the reasoning [15:16] leftyfb rationale from the paper: "If rules are not in place for new outbound, and established connections all packets will be dropped by the default policy preventing network usage." [15:17] webchat68: outbound I get. And yes, blocking all inbound network usage is the whole point, is it not? [15:17] Yes, it is [15:18] then I fail to understand the point behind opening up all inbound ESTABLISHED traffic. If there's no rules to allow for NEW inbound traffic, then there's no reason to allow ESTABLISHED, since there should be none [15:19] webchat68: try askin in #security, there should be people much smarter people than me on this topic [15:21] leftyfb I see your point. But strangely it works in my system [15:21] I mean, I have internet connection etc [15:21] though I didn't test ssh [15:23] webchat68: works != correct :) [15:24] I can't get 22.04 to install with today's build - It's hanging while "unpacking firefox" and in the log it says it is unable to contact the snap store, followed by some (unrelated?) zsysd stuff. I confirmed internet connectivity and DNS are working in a terminal [15:24] Anyone have any ideas? === RikMills__ is now known as RikMills [15:25] !next [15:25] Jammy Jellyfish is the codename for Ubuntu 22.04. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality. [15:25] asantoni, report in #ubuntu-next please, or better file a bug report? [15:26] OK thanks [15:27] leftyfb I've just noticed that there is also a rule to allow new inbound traffic for ssh [15:28] so the established rule makes sense [15:29] I just didn't add that rule for now === martums597 is now known as martums59 [15:46] Who's feeling confident about permission rules? [15:47] !ask | BASHitup [15:47] BASHitup: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [15:47] This is an Ubuntu problem - in part because Ubuntu doesn't allow full root - so then I couldn't go into root to fix my corrupted permissions. Yet, on the other hand, this is a problem that could plague any power user. [15:47] OK, dad. By [15:47] *Bye [15:48] ... I was leading up to the queston but getting a feel as to whether anyone is qualified to answer it. Why does every exchange on here have to be some issue where the mod tries to dictate fine nuances of conversatin. [15:49] *? [15:50] BASHitup, what do you mean with 'Ubuntu doesn't allow full root' [15:50] ? === pah is now known as pa [15:51] OK, there is su, for instance. There is also sudo, sudo -i and sudo -s [15:51] Sudo - su [15:51] ubuntu recommends sudo -i # for a root session [15:51] Ubuntu doesn't come with a root user. You have to install it. Technically, if you sudo, that's super user does ... or super user in place of [15:51] It's not full root [15:51] yes it is, with the correct environment [15:52] It's the highest root privildge for the system user but on CentOS and other distros, you create a root account during the install [15:52] And this is all relevant [15:52] BASHitup: ubuntu comes with a root user. Logging in directly is just disabled. Set the password for the user and you can login as root (not recommended ) [15:52] You can create a root account if you want under ubuntu, and its irrelevant. [15:52] just add a password for root [15:52] Yeah, so you try to "su -" without a root account on Ubuntu, dude. [15:52] then you can login as root [15:52] It won't work [15:52] BASHitup, give an example where sudo -i is *not* correct? [15:52] the root account is always created in ubuntu. The password is just disabled [15:52] but you really have no need to do that [15:52] You sudo - i or sudo su and that's not the same [15:52] .. [15:52] But yeah, sudo -i is best. [15:53] The effect is the same but if you corrupt your file system, you can't always fix it as the default user [15:53] Actually, sudo -s is best but it's not worth an argument [15:53] Anyway, I used an old weechat config as my setup got corrupt [15:53] At one point, I ran sudo chown -R [15:53] BASHitup: sudo -i, sudo su all log you in a FULL Root. The exact same situation as sudo su or logging as root with a password. The only difference is carrying over some ENVARS [15:53] So weechat would only run in root for some reason [15:54] I couldn't start it as a normal user in Ubuntu [15:54] I'm trying to figure out what I did. There is root user running commands then sudo - root as system user. At some point I corrupted the entire OS and had to restore using Clonezilla [15:55] weechat would only run in root for some reason ... dagerous [15:55] c/dangerous [15:55] do not irc as root [15:55] https://phoenixnap.com/kb/sudo-vs-su-differences [15:55] BASHitup: what is you ubuntu support question exactly? So far you have only mentioned some poor decisions and falsehoods [15:55] i think you ran random commands as root, no way of telling what happened. [15:56] su is an older but more fully-featured command included in all Linux distributions. It is the traditional way to switch to the root account. [15:56] Linux discourages working as root as it may cause unwanted system-wide changes and suggests using sudo instead. For this reason, all Ubuntu-based releases are sudo-only, meaning the root account is not active by default. [15:56] BASHitup: sudo -i is better in general than -s, as $HOME and other environment variables aren't set with -s, potential for problems especially if one runs anything related to $HOME configs like a gui program [15:56] While installing an Ubuntu OS, you create a user automatically labeled as part of the sudoers group. However, there is no root account setup. To enable the root user, you need to activate it manually. [15:56] On the other hand, other Linux distributions, such as Fedora, create a root and user account upon y [15:56] yy [15:56] just fyi, not trying to argue [15:56] So, I didn't want to spam this but someone wants to challenge me when I spend hours reading about root privledges [15:56] !paste | BASHitup [15:56] BASHitup: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [15:56] BASHitup, and on Fedora, you run weechat as root too ? [15:56] You shouldn't be running anything as root, really [15:56] Unless you have to [15:57] like so there's sudo mv -r or sudo cp -r [15:57] But just using root for everything is a bad bad slippery slope [15:57] or sudo update -y && sudo upgrade -y [15:57] *sudo apt ... [15:57] i think this is a wild non-support story [15:58] I think anything that the mods don't wanna hear arbirarily becomes that. But I'll find support for this in another channel - maybe the programmers. They'll discuss anything. [15:59] I must say, I'm sure someone new to Linux and Ubuntu could learn from a discussion on root. [15:59] But that would be crazy talk. Let them learn the hard way, eh? [16:01] BASHitup: you are right on both accounts. mods don't want to here non-support topics in the support channel. That's what -offtopic and -discuss are for. And yes, I agree, I think many people would benefit from a discussion about root. Those discussions should take place in -offtopic or -discuss [16:04] K, so to settle this so I don't annoy the mods - and the users. How are system commands that obliterate systems, which require support, not falling into support topics. [16:04] So this doesn't keep happening and I cna go with the flow [16:05] yes, reinstall and use sudo -i [16:05] I spent 5 hours restoring from a clone. At one point, I needed support [16:05] Never mind, haha [16:05] Well, thanks for not eighty-sixing me? [16:05] Carry on, brothers. [16:06] And I wouldn't use sudo -i because that's the highest root priviledge on Ubuntu [16:06] But anyway ... [16:06] BASHitup: if you need support with something you have broken, feel free to ask for help as you need it. Not after you have wiped it and started over. We can't do forensics on something that doesn't exist anymore [16:06] And you couldn't do forensics anyway since my stuff is encrypted with LUKS on LVM2 [16:06] BASHitup: root = root there is no low and high root privileges [16:06] So you can't forensically analyze cryptographic features [16:07] Home » SysAdmin » The Difference Between sudo and su Explained [16:07] Introduction [16:07] The sudo and su commands belong to the group of commands every Linux user comes across. Because they are similar in syntax and have overlapping functions, many new users are unsure when to use one over the other. [16:07] In this tutorial, learn all about the difference between su and sudo. [16:07] The difference between sudo and su explained. [16:07] sudo vs su [16:08] BASHitup: I want you to understand, sudo -i, sudo -s, sudo su and loggin directly in as root, all of them login as root. The only difference is what ENVARS you copy over to use in shell commands and scripting. You have the exact same permissions with all of them [16:08] sudo [command] [16:08] Before the system executes the command, it asks for the password of the current user. [16:08] Bear in mind that the sudo option can only be used by users who belong to the sudoers group. [16:08] Adding a User to the Sudoers Group [16:08] stop [16:08] For a user to execute a command that requires the sudo prefix, it has to be part of the sudoers group. [16:08] To add a user to the sudoers group, run the following command (as root or an account that already has sudo privileges): [16:09] oh, no copy paste from an other channel or page, thanks [16:09] BASHitup: please stop pasting multiple lines here [16:09] the paste even dispute my comment [16:10] doesn't* [16:41] test [16:43] test failed [17:06] today i upgraded to kernel 5.13.37 and nvidia 510; after reboot i'm noticing continuous loud fan without any load at all === veegee_ is now known as veegee [17:43] GPU temp maybe? [17:59] what command can I use to see check if a command works, but not to execute any changes? [18:05] gneeriiloeepdeer: what command? [18:05] no such tool exists [18:06] some commands offer dry-run options, but that's very rare [18:06] I see [18:07] Hey folks, am I understanding correctly that from 22.04 (maybe 21.10?) onwards, Canonical will not be providing a security-supported browser as a deb? [18:08] !discuss | Odd_Bloke [18:08] Odd_Bloke: 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! [18:10] Thanks, but I'm trying to understand Ubuntu's security support situation, I don't think that qualifies as a discussion or as off-topic. [18:11] Odd_Bloke: we try to divide real user issues with discussions in the support channel [18:11] Odd_Bloke: Ubuntu 20.04 and 21.10 both have Firefox in the deb repository. [18:12] Odd_Bloke: if you'd like to discuss future releases, try #ubuntu-next [18:12] leftyfb: Ack, thanks! [18:13] Also: lol at the idea that not wanting to use snapd is not a real user issue; but that certainly _is_ a discussion. === Gallomimia- is now known as Gallomimia [19:18] after installing a kernel update using apt-get, i should A: restart the computer immediately, because: ____ B: continue using the computer as if nothing happened because nothing is affected besides initramfs. [19:20] you could inspect the USN to see if you care about any of those fixes [19:22] no, i think it's important to install the updates as they arrive, usually. [19:22] and i should probably inspect some patch notes at any rate [19:23] Hello everyone, ubuntu 20.04.4 won't see my Xiaomi Earbuds 2 on my laptop (I want to watch netflix yes) :P [19:23] Evening! If i upgrade to 22.04 from 21.10 , will my applications still be installed after the upgrade? [19:23] Installing restricted extras will help ? [19:23] i'm just more or less concerned about whether a kernel update is going to touch headers or ways that the GPU drivers interact with it, causing perhaps a system hang when running a game [19:25] I'm referring to ubuntu-restricted-extras [19:26] Yes gnask. [19:26] @enigma9o7[m], thx mate! [19:26] Very rarely is a major application removed between versions. [19:26] Ocassionally something is deprecated or something, so it is possible. [19:27] Awesome, ill give it a go, i got some backups, thanks alot [19:27] Hello By accident I just deleted my unique useraccount on my xubuntu system. I have a live usb and I am trying to recreate a user in the file /etc/passwd. But what should I enter in the file [19:27] Gallomimia, if a new kernel causes you issues, you can select the old one from grub menu and boot into it, and remove the new one. [19:27] So, easy answer is, just try. [19:30] piscvau: no need to re-post here, you got replies in #xubuntu [19:30] enigma9o7[m], just trying to know if a system hang is related to the update-without-reboot or not [19:32] gnask, backups are always recommended! i personally do not recommend an upgrade between releases, and prefer to do clean installs where possible. but your backup will help to get out of any jams that might arise so don't worry. [19:34] hello, i'm looking for help using ubuntu WSL and having problem running a docker inside ubuntu [19:36] Anyone has a good url with tutorials and documentation about ubuntu WSL (windows subsystem linux) ? [19:37] !ubuwin | Guest60 [19:37] Guest60: Windows 10 and newer have a feature called "Windows Subsystem for Linux", which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide [19:37] https://code.visualstudio.com/blogs/2020/03/02/docker-in-wsl2 has some guide on hooking it up with vs code, maybe it's also useful for not-vs-code use? [19:38] hello ubottu, I have already have installed ubuntu WSL and it's running. 2nd I have installed Docker for windows and enabled integration of Docker inside Ubuntu, so I'm able to directly use docker. [19:39] ubottu and sarnoid: thanks for your answers [19:41] If I only has native Windows 10 what is the best way to run docker containers ? WSL and Docker for Windows are not the same ? [19:42] Guest60: https://docs.docker.com/desktop/windows/wsl/ [19:42] Anyone can explain me what is the difference between WSL and Docker for Windows when using docker containers ? [19:42] Guest60: sadly there's not a whole lot of wsl-oriented folks on irc, at least not that I know of.. maybe try the discourse? https://discourse.ubuntu.com/c/wsl2/27 [19:42] Probably, but unlikely anyone will. [19:44] thanks arnold === diskin_ is now known as diskin [19:45] I will try to find more informations, thanks folks here in the channel, have a great time :) [19:45] you too, good luck :) [20:02] hi. my ubuntu is broken. nvidia or something. cant even boot. flashing cursor. i get past hdd decryption but thats about it. please help me [20:03] ive rebooted it like 10x [20:04] have you tried any of the 'rescue kernels' in the grub menu? [20:04] not sure how to get to the grub menu [20:04] try holding down left shift when booting, I think that does it [20:04] ok let me try [20:05] grub menu working... [20:06] should i select advanced options? [20:07] heh I never actually see grub, I'm not sure where it is.. [20:07] yes, advanced [20:07] 'rescue system' or something like that, old kernel versions [20:07] then kernel name here (recovery) [20:08] ok eric. im at prompt: unlock disk or whatever. this might work. 1 sec [20:08] ty [20:09] ...recovery menu...? [20:09] choose to continue and boot up, it should use failsafe graphics [20:09] repair broken packages perhaps? [20:10] oh. "resume normal boot"? [20:10] yup [20:10] ok... [20:11] cursors gone this time. :) [20:11] black screen.... [20:11] are you reaching the login screen at all? [20:12] not yet [20:12] hdd lights flashing [20:12] i think its still angry [20:13] another hard reset and hold shift perhaps and update software [20:13] did you recently name call it, or kick it? [20:13] screw it. here we go. will report back lolol [20:14] name what [20:14] less pronouns please sir [20:14] dont hard reset, press ctrl+alt+del to reboot, or prntscrn+alt+ type s,u,b slowly [20:15] just hard rebooted. at grub menu after shift... [20:16] what's the back story, did you install a new nvidia driver recently? [20:16] recovery mode #1... [20:16] i did [20:16] a few months ago [20:16] might have gotten updated a few weeks ago [20:18] it does seem video driver related [20:18] yeah [20:18] even from this recovery menu i can barely scroll around. but.... [20:18] you could try to drop to root shell in the menu, first enable networking though [20:19] no but first i wanna try repair broken packages. u might be right tho [20:19] then maybe run 'apt-get -f install' and 'dpkg --configure -a' [20:19] gimme a sec [20:20] oo that made the gui better [20:20] okok ill listen... [20:22] ok root shell... [20:23] got root... [20:23] try 'apt-get -f install' [20:26] ohhhh i think im out of disk space [20:26] thanks `df -h` [20:26] that's always unhappy [20:27] 'ncdu' is a nice package to figure out where the space is being used [20:28] Space and time, the two constants for 'what the hell' behaviour [20:28] Guest43: Is the drive partitioned? [20:28] yes [20:28] im getting: [20:29] Eric^ ncdu looks sweet, writing that one down. [20:29] E: You don't have enough free space in /var/cache/apt/archives [20:30] ?? [20:30] this must be some kind of disk space issue [20:31] you can try sudo apt-get autoclean -- that will delete a bunch of old packages from that directory. it's sometimes enough to get you through some trouble [20:31] ok [20:32] still getting the same apt error from before after autoclean [20:32] dang. then you'll need to find things to delete. [20:33] try apt-get clean [20:33] today i upgraded to kernel 5.13.37 and nvidia 510; after reboot i'm noticing continuous loud fan without any load at all [20:33] it removes all debs [20:34] rhrf: :) [20:34] that didnt change my file space [20:34] df -h still says i habe 5gb on / [20:34] have* [20:35] Guest43: type "df -h | nc termbin.com 9999" and type the last part of the link it gives you here [20:35] it was bitching about /var/ wasnt it? [20:35] e.g termbin.com/stuff [20:35] ok 1 sec [20:36] https://termbin.com/8vfo [20:37] Guest43: ok, type "sudo du -shx /* | sort -h | nc termbin.com 9999" [20:38] holy...ok... [20:38] just need the last 4 letters from the termbin link no need to type it all out [20:38] wow, sort -h [20:38] sarnold: we lazy here :D [20:39] this is some weird stuff but i know most of those commands lol... [20:39] error [20:40] cannot acces /proc/whatever...4 lines like that [20:40] yeah that's normal, let it run a bit [20:40] do u need the full error? [20:40] the program exited [20:40] terminated [20:41] hmm, try again, it should give a termbin link [20:41] or run it without the | nc termbin part [20:41] ohhhh wait it spit out a link... [20:42] https://termbin.com/wnrc [20:42] or do du -shx /!(proc) | .... [20:43] var looks kind of big [20:43] hmm seems legit [20:43] Guest43, sudo du -sh /var/log/journal/ [20:43] Guest43: sudo du -sh /var/* | nc termbin.com 9999 [20:44] oh gosh one at a time. im on a phone [20:44] https://termbin [20:45] https://termbin.com/wdrn [20:45] brb [20:47] Guest43: that's the same url from url, not the new one [20:49] sry 1 sec. rent check [20:50] ok im gonna try iorias command... [20:50] 3.9G [20:51] not too bad [20:51] try sudo du -sh /var/* | nc termbin.com 9999 [20:51] https://termbin.com/a9oq [20:52] Guest43, sudo journalctl --vacuum-time=1h [20:52] wow that's a lot of logs [20:52] http://termbin/76md [20:53] whats that do ioria [20:53] reports right? [20:53] Guest43, free journal [20:53] that'll throw away most of your journal entries, reducing you down to probably closer to one gig of journal used [20:53] ohok [20:53] it's probably not enough on its own but it's something [20:53] Guest43: sudo du -sh /var/log/* | nc termbin.com 9999 [20:53] running.. [20:54] Guest43, consider also remove swap file ... [20:54] ok. vacuumed [20:55] how large was the swap file? [20:55] I missed that [20:55] how bout i just reboot now and see if it just works [20:55] he doesnt have any [20:55] Guest43: one sec [20:55] test ALL THE THINGS [20:55] okok [20:56] Guest43, sudo du -sh /swapfile [20:56] Guest43: what's the space looking like right now, "sudo du -sh /var/log" [20:56] error no such file [20:57] ok [20:57] 15G [20:57] still huge [20:57] Guest43: sudo du -sh /var/log/* | nc termbin.com 9999 [20:57] Guest43, i'am afraid you can only remove manually some stuff [20:58] brb. need to refill vape or i will freak out even worse... [20:58] there's a run-away log somewhere [20:59] back [20:59] xD [20:59] i have 7gb free on / [21:00] it was like 5 before [21:00] Guest43, apt should work now [21:00] yeah [21:00] 260M on /boot/ [21:00] Guest43: there's some log that's going loose, probably some error msg that is repeating, best to see what's going on in /var/log and get to the root of the problem [21:01] Guest43: sudo du -sh /var/log/* | nc termbin.com 9999 [21:01] true [21:01] 1 sec [21:02] btw u guys are the best. thanks for ur help and patience... [21:02] no problem [21:02] https://termbin.com/spa0 [21:03] 15G /var/log/syslog.1 [21:03] wow [21:03] yep [21:03] kill the pig, bash her in [21:03] thats not necessary [21:03] before doing so, see what the error is that's repeating [21:04] i will kill it with vim rn if i have to [21:04] something like tail -100 /var/log/syslog.1 [21:04] yea [21:05] hold on. im.just gonna kill it with fire... [21:05] what [21:05] :D [21:06] boom [21:07] `rm -rf /var/log/syslog.1` baby [21:07] did you run tail -100 /var/.... ? [21:07] done [21:07] im rebooting lolol [21:09] you first needed to reconfigure [21:09] 20.04 btw [21:09] it appears to be booting [21:09] yep. it worked [21:09] ok [21:09] now reconfigure :þ [21:09] yea moral of the story...logs dont matter [21:10] Guest43: once it boots, take a look at "tail -f /var/log/syslog" hopefully it's repeating still so it doesnt happen later and eat up the space [21:10] iona i kinda dont wanna mess with it now [21:10] ill remember for next time. [21:10] i hear you,but you need to know if some pkgs are broken [21:10] but you didnt fix it, you literally put scotch tape on a leaking pipe, itll explode soon again [21:10] just get root and kill var syslog [21:11] .1 with fire or nooks [21:11] yeah, that ^ [21:11] ok lemme rerun apt and report back... [21:12] yeah [21:17] upgrading... [21:19] Ummm eric I dont think you understand the word literally. You mean figuratively. [21:20] updates complete. thanks again for ur help guys. frickin var log syslog.1 the whole damn time lololol [21:20] hey guys, im planning to copy my installed ubuntu from my hdd to a usb stick and make it bootable. my question: will it be read/writeable? so if i install programs on that booted usb, will they remain? [21:21] Dr-007, there's no reason it wouldn't be writable [21:21] nice [21:22] also, is there an option / feauture / program that i can run so i can temporarily remove the usb while ubuntu has been loaded? [21:23] like, i make an extra nfs partition on the usb. have it booted up and mounted that partition via fstab. but a colleague wants to give me a file. so i give it to him. the ntfs partition gets recognized on his windows machine. adds the file. i re-insert the usb and the system resumes [21:24] using a separate usb drive or a network solution is going to be much easier than this [21:24] true [21:25] enigma9o7[m]: yeah, i meant literally figuratively [21:25] :P [21:25] artistic license [21:28] heya! [21:33] invisiblek, im unsure how to set up the EFI partition by hand. do you have any recommendations? [21:33] could i just copy the efi partition of the usb live installation stick? [21:33] im pretty sure some parameters should be changed [21:33] like what kernel to load and such [21:34] Dr-007: just chroot into the usb install and install grub from there, you want to use the --removable flag so it installs the efi files where it can boot on any pc you plug it into that supports efi [21:35] EriC^, very nice [21:35] obviously you have to make an efi partition(just a 300mb fat32 with ef00 as the gpt partition type code), and add it to fstab [21:35] that's so awesome [21:36] honestly if i were you, i would also install grub-pc, and a bios-boot partition so i can boot on any pc, legacy/uefi [21:36] bios-boot is just 1mb [21:37] i will look into it, thanks [21:37] no problem [21:39] about the other question, i dont think you could remove the usb, it might be doable with a live usb type, with the kernel parameter "toram" supposedly it loads everything into the ram when the pc boots [21:39] but i think that's only for live usb [21:39] ok, invisiblek was right tho. its overkill [21:39] i could as easily use a second usb thumb drive [21:40] yeah for sure [22:31] why can't i find the night light (blue light filter) when using unity desktop? ubuntu 20.04.4 [22:33] eelstrebor, i believe i've used something called redshift in the past [22:33] (unsure if ubuntu is supposed to have something built in i guess) [22:54] hmm... at least kubuntu does :/ [22:54] I think I remember gnome also having it, but I've not used it in some time [22:55] does searching for "Night Light" not find it? [22:55] https://vitux.com/how-to-activate-night-light-on-ubuntu-desktop/ [22:56] !info redshift-gtk [22:56] redshift-gtk (1.12-4.2ubuntu1, impish): Adjusts the color temperature of your screen -- GUI. In component universe, is extra. Built by redshift. Size 324 kB / 773 kB [23:17] HOW CAN [23:17] i make bootable usb on Arch, can't find on internet [23:17] arch retards always hide the information [23:19] cc0a3hr: isn't it enough to dd the image onto a usb stick? [23:19] how to dd it? [23:19] ubuntu images are made for that specifically I think [23:19] They are, yep. [23:20] well actually im installing Debian [23:20] better Ubuntu [23:21] dd if=path/to/iso of=/dev/deviceofyourusbthingie status=progress bs=1M [23:21] or something similar [23:22] you could also try that balena etcher thing [23:22] or any of the other countless tools [23:26] thx