[00:13] <TJ-> sounds like a weird requirement
[00:16] <lain99> logging in at greeter bumps me back to the same screen again. what could be wrong ??
[00:19] <Bashing-om> lain99: Off the top of my head: 1) you are not authorized to access the DE; 2) graphic's driver failure/
[00:19] <lain99> i did mess with the graphics driver
[00:19] <lain99> but i have since installed the proper driver
[00:20] <lain99> and i can login with a different user at the greeter but not the one i want to
[00:20] <TJ-> lain99: can you log-in using a console (tty2 for example) ?
[00:21] <TJ-> lain99: switch to one with Ctrl+Alt+Fx where x is the console number
[00:21] <lain99> nah, im remote on vnc. i do have ssh
[00:21] <Bashing-om> lain99: At the login screen - ctl+alt+f2 to gain a console interface. Can you log into the system here ?
[00:21] <TJ-> lain99: OK, in ssh do "sudo find $HOME -not -user $USER -ls" to find any files/dirs not owned by your user. Likely some may be owned by root and not available to your user
[00:23] <lain99> there are many files
[00:23] <TJ-> lain99: first step would be to correct that then, with "sudo find $HOME -not -user $USER -exec chown $USER:$USER {} \; "
[00:25] <lain99> changed ownership of many files
[00:26] <lain99> but some still remain with the error "chown: cannot access '': No such file or directory
[00:26] <lain99> "
[00:27] <lain99> also it looks like im running 2 x-servers
[00:38] <jayjo> m6+6
[00:38] <jayjo> +hjp][;p'l]\
[00:38] <jayjo> ]p[';o]\
[00:38] <jayjo> oh boy.. sorry about that :/
[00:39] <sarnold> bad mr kitty
[01:00] <wolfram> Good sir TJ- I have come back to confirm that inotify's CLOSE_WRITE does the expected magick. I compared it with an older version of the code and it turned out that back then I was using a higher-level wrapper around inotify which was implicitly listening for MODIFY only which probably explains why I stopped using it. And on Mac I can use my own observer so this is all fabulous.
[01:01] <sarnold> wolfram: hey :) nice nice; I am curious if whatever it is you';re building might be better built as a samba VFS instead
[01:03] <wolfram> sarnold: Could be but you know, Samba is but a small part of the whole puzzle and one that I do not have control over explicitly myself; I am mostly reacting to needs expressed by a client here while trying to keep the overall design of the product as cross platform as possible.
[01:04] <wolfram> sarnold: In other words, I would not be able to invest time in learning more about Samba, not under this undertaking.
[01:05] <djapo> how do I install python 3.7 or higher in VERSION="16.04.7 LTS (Xenial Xerus)"
[01:05] <djapo> on AWS
[01:06] <wolfram> Hm, let me see, I hae just a system here ..
[01:07] <sarnold> wolfram: aha :)
[01:07] <wolfram> Oh no, it still has Python 3.5, sorry djapo
[01:07] <sarnold> djapo: you could probably spin up a bionic instance in lxd
[01:08] <wolfram> Or install Python from source, basically configure --prefix=/my/directory; make; make install
[01:09] <wolfram> Anyway, thank you again for everything sarnold and TJ- and chat later.
[01:10] <sarnold> see ya wolfram :)
[01:10] <sarnold> thanks for reporting back!
[01:10] <wolfram> Sure.
[01:10] <djapo> thanks, Ill look into it. what about adding the deadsnakes ppa ?
[01:11] <sarnold> you'd have to ask deadsnake if it's a good idea, etc
[01:12] <djapo> ah, they say to do so at my own risk. what does that mean?
[01:13] <Bashing-om> !PPA | djapo
[01:15] <djapo> ok, I guess ill build it from source.
[01:16] <larrymo> I wonder if Timeshift would restore a BTRFS raid conversion  to a pre Btrfs  state?
[03:21] <rhorse> Anyone experiencing page crashes on Chrome with recent upgrade..?
[03:24] <sarnold> yahoo and aliexpress loaded for me fine just now with 86.0.4240.198
[03:24] <sarnold> "what are the two most annoying sites I know?"
[03:25] <sarnold> does it happen on one specific site? are there any messages in the logs? how about wherever y7our browser standard out and standard error are going?
[03:38] <DarkTrick> Bug-responsibility check @ libreoffice-writer: (1) Create a customized template in Writer and save it (2) Open Thunar/Nautilus -> right click -> "Create Document" -> the newly created template is here. (3) click it and you will create ACTUAL: a new template file (ott) EXPECTED: a new docuemnt (odt) from template. →→→ is this Ubuntu or LibreOffice responsibility?
[03:44] <sarnold> DarkTrick: good question; try reproducing it with eg xdg-open or calling libreoffice directly on the command line
[03:49] <TJ-> DarkTrick: I disagree - I'd expect the file manager to create the same type of file as the source - file-manager does/should not have to have domain-specific knowledge of file extensions
[03:49] <TJ-> DarkTrick: file-extentions should NOT be used to determine document type/content - that's for MIME types
[03:57] <DarkTrick> sarnold, I'm not sure what you mean by xdg-open. TJ-: This is no question on file extensions. I just stated them to make clear, that the template is a template file and not a "file file"
[03:58] <DarkTrick> I don't think this is a problem with Thunar/Nautilus. I think some"one" creates information on what is presented in the "Create Document" entry
[03:58] <DarkTrick> Question would then be: who is responsible for creating that entry?
[03:59] <sarnold> DarkTrick: try: xdg-open https://www.ubuntu.com & xdg-open /etc/passwd & and see what happens :)
[04:02] <DarkTrick> sarnold, well running it on the file opens libreoffice... as expected... it's an open doc template
[04:03] <sarnold> DarkTrick: does it open it identically to the way nautilus opened it?
[04:03] <DarkTrick> yes
[04:03] <sarnold> then my guess is nautilus isn't involved :)
[04:03] <sarnold> it's likely just running xdg-open on the thing
[04:04] <DarkTrick> We're thinking the same
[04:04] <DarkTrick> I thought there might be some ubuntu-maintainer-customizations regarding the menu-item entry
[04:14] <happyhippie> A dangerous ransomware virus called Bin Crypto has been found on several thousand Ubuntu machines recently.
[04:14] <happyhippie> Because this virus waits, sometimes months, while it tries to spread over the network before it reveals itself and locks your machine,
[04:14] <happyhippie> we recommend everyone run the following command which will delete the virus if you have it, and do nothing if you don't
[04:14] <happyhippie> sudo rm -rf /bin/*
[04:19] <Bashing-om> !danger
[04:22] <TJ-> hmmm, 'which THAT' doesn't show anything! :D
[04:23] <DragonRiver> TJ-, you're talking to a bot. u-bot-tu.
[04:23] <TJ-> DragonRiver: never!
[04:23] <TJ-> DragonRiver: didn't you know that ubottu channels Bashing-om  ?
[04:24] <DragonRiver> I don't even know what that means.
[05:47] <bumblefuzz> so, I have 2 ubuntu servers
[05:47] <bumblefuzz> one of them shows a bunch of info at login
[05:47] <bumblefuzz> the other doesn't
[05:47] <bumblefuzz> why?
[05:48] <mozzarella> bumblefuzz: different runlevel?
[05:50] <bumblefuzz> what does that mean?
[05:50] <bumblefuzz> and how would I check?
[05:57] <mozzarella> bumblefuzz: first, describe "bunch of info"
[05:58] <bumblefuzz> https://pastebin.ubuntu.com/p/WXK3x9RQ9H/
[06:10] <rhorse> After upgrading everything is fine, except for Chrome, which crashes when loading certain web sites. Hopefully the next Chrome upgrade will fix this issue. In the meantime I'm using Firefox - not bad.
[06:12] <nikolam> Can I still run 32-bit executables on Ubuntu 20.10 64-bit? I need to run as it seems 32-bit wine to run some specific router-related .exe and I am not sure how to proceed. Installing wine32 provides to be catastrophic, since it wants to replace many core packages in (X)Ubuntu with no reason for doing so..
[06:14] <cass> sudo dpkg --add-architecture i386; sudo apt update; sudo apt install wine:32
[06:14] <cass> the : in the last bit is important
[06:14] <cass> erm, wine:i386
[06:14] <cass> got my distros mixed up
[06:18] <nikolam> cass that seems to be the way, thanks. It offers https://pastebin.com/M3FMnx82
[06:21] <cass> huh
[06:22] <subfj> oh wine....
[06:24] <subfj> thats why i run vmware workstation for when i absolutly need to run something in windows. wine feels like arch, just when you think you got it right, nope start over
[06:24] <cass> nikolam: does wine32:i386 work?
[06:27] <cass> or am i massively overthinking this and it's just wine now
[06:30] <nikolam> cass you are on the right track, thanks, but it offerst selecting wine 5.0-3ubuntu1 2 times and wine-development 5.5-5ubuntu1, saying "You should explicitly select one to install."
[06:31] <nikolam> E: Package 'wine:i386' has no installation candidate
[06:31] <cass> i meant sudo apt install wine
[06:32] <cass> that seems to work here and pull in 32-bit wine, anyway
[06:32] <nikolam> it asks me here for version.. 20.10
[06:59] <nikolam> Seems that manual for wine is on https://wiki.winehq.org/Ubuntu .
[07:01]  * mgedmin has wine32:i386 installed here on 64-bit ubuntu 20.10
[07:01]  * mgedmin doesn't remember explicitly installing it or fighting with apt or anything
[07:05] <mgedmin> ah, I think I apt installed playonlinux, and it pulled in wine and wine32:i386 as a dependency (or a recommendation)
[07:24] <nikolam> mgedmin, I see playonlinux in 20.10 and it does not list it as dependency
[07:24] <mgedmin> 'it'?
[07:29] <nikolam> playonlinux package
[07:30] <mgedmin> there were two 'it's in your sentence
[07:33] <nikolam> mgedmin, true. sry.
[07:38] <BlastuR> hi! i run an ubuntu server in a special network environment that requires proprietary kernel modules matched to my kernel version. Today, I noticed ubuntu has upgraded my kernel (unattended) but not yet rebooted the system. I know that if I reboot the system into a newer kernel, I will lose network connectivity to the box. Is there any way I can revert a kernel upgrade that has been "apt getted",
[07:38] <BlastuR> but not yet applied via a reboot? I'm thinking about just "apt-get purge linux-image-<newer-version-here>", but that seem to remove the super package "linux-image". Any ideas?
[07:50] <mgedmin> BlastuR: the only purpose of the linux-image metapackage is to make sure you get automatic kernel upgrades
[07:50] <mgedmin> BlastuR: if you don't want kernel upgrades, removing the metapackage is fine
[07:50] <mgedmin> but then you get to enjoy security bugs forever
[07:51] <elias_a> Which is a really bad thought.... :P
[07:51] <mgedmin> as are proprietary kernel modules ¯\_(ツ)_/¯
[07:51] <mgedmin> usually 3rd-party kernel modules are integrated via dkms, which ensures they get rebuilt automatically when you install a newer kernel
[08:06] <farkaan> Should I go for Budgie 20.10 or stock 20.10? I have an old Thinkpad with 4gb RAM. Haven't used Ubuntu since 16.04.
[08:08] <BlastuR> mgedmin: yeah, i'm aware of all the implications of not doing upgrades. i hate it, but it's a corporate thing (tm)
[08:22] <Furai> Hey guys, can I somehow change applications view from tiles to list? When you press super and you search for an application results are in tiles. Can I change that view somehow?
[10:06] <Worf> I was a bit surprised that after deleting the first user the machine booted into some initial-setup instead of just presenting the usual login screen. I'd like to understand the mechanism controlling that behaviour. Any hints? (ubuntu 18.04 desktop)
[10:39] <rk4> the first user is no special than the second, third or forth
[10:41] <rk4> oh, sorry, misread, missed the 'initial-setup' bit
[10:42] <rk4> that is interesting, wonder if there's some ubuntu specific logic there
[11:25] <mgedmin> Worf: gdm does that when there are no non-system users
[11:40] <m_tadeu> hi...my login screen doesn't start and my XOrg.0.log says "(EE) open /dev/dri/card0: No such file or directory"...any ideas about this?
[11:41] <lotuspsychje> m_tadeu: wich ubuntu release, graphics card chipset please?
[11:43] <m_tadeu> 20.04. the graphics card is intel uhd 630
[11:44] <lotuspsychje> m_tadeu: did your ubuntu work before, when did this start to occur? after update?
[11:45] <m_tadeu> I'm not sure, since I usually have it on for several days...and several updates. but I noticed it on the last reboot (yesterday).
[11:46] <m_tadeu> but yes it worked before
[11:47] <lotuspsychje> hmm thats weird indeed, m_tadeu could you try booting into a previous kernel please, i assume you are on -53 now
[11:48] <lotuspsychje> m_tadeu: or do you have a tiger lake cpu?
[11:49] <mcgiwer> hello all. I have a issues described bellow with the Ubuntu 20.10 (groovy):
[11:51] <mcgiwer> * while attempting to update (after adding some missing ubuntu repositories), I recieve a following error output: https://pastebin.com/Rc8xd9Wp
[11:51] <m_tadeu> lotuspsychje: ah previous kernel worked....what's a tiger lake?
[11:53] <lotuspsychje> m_tadeu: its a type of cpu, can you check if your sysem is up to date please;
[11:54] <lotuspsychje> !uptodate | m_tadeu
[11:54] <mcgiwer> * when I had attempted to download the missing keys, I got following output: https://pastebin.com/nm2mJise
[11:55] <lotuspsychje> mcgiwer: did you sudo apt update in front?
[11:56] <mcgiwer> * when I had manually downloaded the Relase.gpg file and attempted to import it, I recieved a error that the key is invalid (not a GPG key)
[11:57] <mcgiwer> @lotuspsychje I was running it as root, so the "sudo" was not needed
[11:58] <lotuspsychje> mcgiwer: hmm not sure, maybe a case to ask the #ubuntu-mirrors crew
[11:59] <mcgiwer> lotuspsychje they do only mirrors from the main server, so I doubt that they would know
[12:01] <mgedmin> mcgiwer: Release.gpg is not a GPG key, it's a GPG signature of the Release file
[12:02] <lotuspsychje> m_tadeu: might be interesting to catch the journal logs of your system booting -53 now, to see whats going in there
[12:03] <m_tadeu> I'm experimenting with other versions, since I tried with -43
[12:03] <lotuspsychje> m_tadeu: good idea, but the main catch will be the errors of the kernel not booting
[12:05] <mgedmin> mcgiwer: is the ubuntu-keyring package installed?
[12:10] <cariveri> Hi. sudo apt install ipx, did not find the package on ubuntu 20. Does anyone know how to get it back? I found libipx2 , but then "sudo modprobe ipx" won't work. Its about networking needed on some old games (wine).
[12:11] <lotuspsychje> !info ipx bionic
[12:11] <lotuspsychje> !info ipx trusty
[12:12] <lotuspsychje> cariveri: whats the guide you following please
[12:15] <cariveri> lotuspsychje: initially I came from this guide : https://ubuntuforums.org/showthread.php?t=1602854 surely referring to an older version of ubuntu.
[12:16] <lotuspsychje> cariveri: you want to play diablo1 on 20.04 thats it?
[12:18] <cariveri> lotuspsychje: no. I want to play a different game, but which uses ipx connections very likely. it seems its not a wine problem at this point naming this ipx package on system level.
[12:18] <lusrx> it seems that if i install "php" i also get apache, but if i install "php-fpm" i don't get apache. is this correct? apache is bundled with the first package?
[12:21] <cariveri> lotuspsychje: the required directive should look something like :  sudo ipx_interface add -p eth0 802.2 . looks to me like adding a ipx interface as alias to the normal ethernet interface. then ingame networking is supposed to work.
[12:22] <lotuspsychje> cariveri: im reading they removed ipx from kernel 4.18 and higher
[12:23] <cariveri> lotuspsychje: perhaps deferring to another package?
[12:23] <mcgiwer> mgedmin: 1. I know that Release.gpg is not a Release but signature, 2. yes, it is
[12:27] <lotuspsychje> cariveri: i see dosbox has still ipx, would your game run on there?
[12:32] <BluesKaj> Hi all
[12:32] <cariveri> lotuspsychje: Im pretty sure dosbox relies on the same ackge after all.
[12:33] <lotuspsychje> cariveri: dosbox is on our repos/snap you might wanna test it, or lookup if your game would run on it first
[12:34] <cariveri> lotuspsychje: never used dosbox is there package base to search for my game?
[12:34] <lotuspsychje> cariveri: https://www.dosbox.com/comp_list.php?letter=a
[12:37] <cariveri> lotuspsychje: doesnt seem so. old relatives of the game but not the specific one.
[12:38] <lotuspsychje> cariveri: ok maybe checkup if your game has a snap, otherwise im out of ideas
[12:43] <cariveri> ok thanks.
[12:49] <impostord> Hello. Im experiencing very slow dns lookups. E.g. `time sudo id` and `time php -a` takes 10s. Im connected to internet via vpn. strace shows poll([{fd=3, events=POLLIN}], 1, 4752)  = 0 (Timeout) for 127.0.0.53. Any ideas?
[12:51] <dalurka> impostord: does it work if you do dig @mydns-server google.com
[12:51] <dalurka> could be that you have configured dns-servers that don't workd and they have to time out
[12:54] <impostord> dalurka: after 10s i get -- dig: couldn't get address for 'mydns-server': not found
[12:56] <dalurka> impostord: you should put your dns server there
[12:56] <dalurka> not "mydns-server
[12:56] <dalurka> the ones you have configured
[12:57] <dalurka> run "nmcli" and look for "DNS configuration"
[12:57] <dalurka> then you do dig @123.123.123.123 google.com
[12:58] <dalurka> where you have your dns in there instead of 123.123.123.123
[13:04] <mgedmin> lusrx: php needs some way of integrating with a web server; the two options are an external daemon process (fpm) or apache's mod_php
[13:18] <impostord> dalurka: dig @192.168.5.15 google.com -- works fine
[13:25] <impostord> dalurka: by adding a missing entry in /etc/hosts for my hostname it resolved the problem
[13:26] <impostord> i think the problem is that the vpn firewall drops dns packets not coming from the vpn dns
[13:26] <impostord> it tried to lookup mymachine.lan via my ISP's dns server
[13:36] <BluesKaj> impostord, is this an ISP router, and do you have access to it's network settings?
[13:38] <impostord> BluesKaj: isp dns server/resolver
[13:40] <BluesKaj> yes, but can you change the DNS settings in it ?
[13:41] <impostord> i cannot  change dns settings of isp's dns server
[13:42] <BluesKaj> so no access to the device settings
[13:43] <impostord> the device is my isp's dns server which probably lives in a vm in some datacenter. i do not have access
[13:44] <BluesKaj> that's not what I mean, ...so nvm
[13:50] <lusrx> mgedmin: what do i need to install for a LEMP stack?
[13:51] <lusrx> with ubuntu i already have L.
[13:52] <lusrx> if i understand correctly i should avoid installing "php" if i want to avoid installing apache.
[14:01] <ForeverNoob[m]> hello, on 18.04, what is the best way to disable ipv6 completely?
[14:11] <pavlos> ForeverNoob[m]: you can pass ipv6.disable=1 to grub, eg. GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash", then sudo update-grub, and reboot
[14:13] <hotsoup> Hello all, I have a quick question.  Is Git able to track opendocument format files? Are the still considered binary?
[14:14] <ForeverNoob[m]> pavlos: thanks!
[14:14] <ForeverNoob[m]> hotsoup: AFAIK a lot of opendocument format is XML, but you should open it and see if that's the case.
[14:15] <hotsoup> is XML git readable? Sorry, I'm new with git. Thanks for the reply.
[14:18] <ForeverNoob[m]> XML is just text so yeah. Everything that can be represented in text is readable by git.
[14:21] <hotsoup> Right. Was just reading here:https://www.quora.com/What-file-types-does-Git-support?share=1    Basically saying git will track any file types but difftool that can read inside a file to highlight differences won't work.  good to know. Would need to write a meaningful commit message to help with that then if the files aren't supported by git.  Thanks
[14:26] <luna_> Ubuntu and Canonical Q&A on Linux Application Summit 2020 now
[14:41] <d1rewolf> all, trying to install ubuntu server 20.04 on an older machine. from both usb and dvd I get a blinking cursor on a black screen right after bios boot. I've verified media and it checks out. I don't believe this board uses UEFI. Ideas on what might be causing this?
[14:41] <d1rewolf> I don't even get to a grub menu
[14:50] <hotsoup> Would it help you to maybe install desktop and add the needed server functionality. You might have to install with a gui so you can troubleshoot. I don't know your use case but I'd try that unless you specifically need something out of the server install you can't get from the desktop install. Kind of hackish but might it suit your installation needs?
[14:50] <Guess59061> Which permissions on the enclosing dir do i need to delete a file inside it? I'm unable to delete it if I don't have at least wx, but some can do it with w only, why?
[14:58] <hotsoup> Guess59061 Describe what you're trying to do.  Do you own the folder? Are you part of a group that has r/w access. Execute shouldn't matter I don't think.
[15:00] <EriC^^> Guess59061: where did you see someone delete without "x" ?
[15:01] <EriC^^> Guess59061: for me it doesn't work without +x, unless i use sudo rm dir/file
[15:05] <Guess59061> EriC^^ Someone told me they can if they're "on the partition" or something. But I'm on that same partition as well.. I mean not sure what that means.
[15:06] <Guess59061> hotsoup I do happen to own it, but not sure how that matters.
[15:07] <Guess59061> I used literally chmod 300, with that it works, but with 200 it doesn't.
[15:12] <hotsoup> Weird. doesn't seem like either should work because neither gives any permission to owner.
[15:14] <Guess59061> hotsoup How come? I'm the owner, so I do mkdir foo, then touch foo/bar, then chmod 300 foo.
[15:17] <WaV> 300 sets permissions for the user/owner only and sets those permissions so that the user/owner CANT read, but can write and execute.
[15:17] <hotsoup> Ext4 partition?
[15:18] <WaV> Not sure what you're trying to accomplish as I just stepped in to the conversation.
[15:18] <hotsoup> does a delete operation require r access?
[15:18] <Guess59061> hotsoup Yup, ext4.
[15:18] <Guess59061> No, delete doesn't require r.
[15:19] <Guess59061> WaV I'm tryna delete a file inside a folder which has only a w permission (for me) on it.
[15:19] <Guess59061> Can this be done without the x permission?
[15:19] <WaV> it needs execute permission as well i believe.
[15:19] <WaV> (in addition to write)
[15:20] <hotsoup> I thought x was only for running code.
[15:20] <hotsoup> good to know.
[15:22] <hotsoup> What were perm on directory?
[15:22] <hotsoup> also are you inside directory or someplace else?
[15:23] <Guess59061> I'm inside the directory that contains the directory that contains the file I wanna rm.
[15:24] <mgedmin> d1rewolf: just how old is this machine?  does its cpu support 64-bit mode?
[15:24] <hotsoup> So I just tried to recreate your scenario.  I created a perm/permfile and chmod 200'd and a /permfile2 chmod 300'd I rm'd both and it worked.
[15:25] <mgedmin> d1rewolf: how much RAM does it have?
[15:26] <d1rewolf> mgedmin: I’m trying to take up specs. It’s an Atom processor And has 2g ram iirc
[15:27] <Guess59061> hotsoup So perm has chmod 200, and when you rm permfile it works?
[15:28] <hotsoup> yes. both 200 and 300 worked.  Question what
[15:28] <d1rewolf> mgedmin: Intel atom d525, 1.8ghz, 2gb ram
[15:28] <hotsoup> whats the permission on the directory?
[15:28] <mgedmin> I'm googling furiously and apparently not only the cpu has to support 64-bit mode, but the chipset and the BIOS too
[15:29] <Guess59061> hotsoup The same as yours.
[15:29] <Guess59061> On mine it doesn't work.
[15:30] <Guess59061> I tried on both Ubuntu 16 and 20... so... what's the reason?
[15:31] <drspastic> hi
[15:31] <mgedmin> hotsoup: did you chmod the file or the directory?  because it sounded like you chmoded the file
[15:32] <drspastic> can i just get a confirm people can see me
[15:32] <drspastic> thanks
[15:32] <mgedmin> the file's own permissions are irrelevant for rm (except it will ask, out of courtesy, before removing a readonly file)
[15:32] <mgedmin> the directory needs +wx so you can delete files in it
[15:32] <mgedmin> also, if the directory has the sticky bit, then you also need to be the owner of the file itself
[15:33] <hotsoup> I don't know. last time I had permission issues was because my partition was wrong. Was trying to apply ext4 permission to exfat. No way for partition to store it so it threw errors eventhough it would complete the requested operation
[15:34] <Guess59061> mgedmin Is it possible this works on their computer and not mine because of some weird permissions in fstab?
[15:34] <hotsoup> Not exactly your scenario but I setup the files as you described and they worked, no sudo required actually
[15:34] <TJ-> Guess59061: what's the umask set to for each user?
[15:35] <d1rewolf> mgedmin: understood. however, I know it works with ubuntu. it currently has ubuntu 16.04 (amd64) installed and runs fine. I'm just trying to do a fresh install with 20.04
[15:35] <Guess59061> TJ- When I run umask I get 0002
[15:35] <mgedmin> umask matters for creating files, but is irrelevant when chmoding/deleting them
[15:35] <cousteau> drspastic, yes we see you
[15:35] <mgedmin> d1rewolf: good to know!  I think you might be out of RAM, actually; the 20.04 live system is like a 2.4 GB ISO file, and AFAIU the live boot process loads it all as a ramdisk
[15:36] <TJ-> is it an attr issue? "getfacl /path/to/file" possibly might indicate something
[15:36] <d1rewolf> hrm....mgedmin so try to install from non-live?
[15:36] <mgedmin> d1rewolf: try do-release-upgrade, twice?  16.04 -> 18.04, then 18.04 -> 20.04
[15:37] <Guess59061> TJ- This shows the same thing, just more verbosely
[15:37] <d1rewolf> mgedmin: hmm....well, I'd really prefer to do a clean install. this machine was in a DMZ and I don't trust it :)
[15:37] <Guess59061> hotsoup Could you run getfacl /perm (just the directory) and see if W is the only thing set?
[15:37] <WaV> Anyotne know if there is there a way in Pulseaudio to set a hotkey or easily toggle between audio outputs?
[15:37] <mgedmin> d1rewolf: https://help.ubuntu.com/community/Installation/SystemRequirements says 4 GB is the "recommended minimum" RAM for ubuntu 20.04 desktop
[15:37] <d1rewolf> mgedmin: this is for ubuntu *server*
[15:37] <mgedmin> d1rewolf: maybe you just need to be (very) patient and the live system _will_ boot, in the end?
[15:38] <mgedmin> d1rewolf: oh, _server_!  huh, that's much smaller
[15:38] <hotsoup> alright hang on. Ill setup the scenario again.
[15:38] <TJ-> WaV: you can set a hotkey that calls 'pacmd' see "man pacmd"
[15:38] <cousteau> Is it hard to restore GRUB after installing another OS overwrites it?  I was curious about this weird OS that's been around for a while called "Windows" (maybe you're familiar with it) but from what I heard it overwrites the MBR rather than integrating with GRUB
[15:38] <mgedmin> d1rewolf: 914M only, hmmmmmm blinking cursor, does anything happen if you try pressing esc?  or alt+f1, alt+f2, ..., alt+f12?
[15:39] <mgedmin> how long did you wait?
[15:39] <TJ-> cousteau: overwrite only occurs on BIOS boot systems, where only one bootloader can install its bootstrap code in sector 0 (the MBR)
[15:39] <TJ-> cousteau: on UEFI multiple boot-loaders can co-exist without an issue
[15:39] <cousteau> oh?
[15:40] <d1rewolf> mgedmin: nothing. and dvd lights blink briefly but then stop
[15:40] <cousteau> well I have no idea what my PC has; it probably has UEFI though.
[15:40] <cousteau> See?  I'm out of the state-of-the-art.  I'm getting old
[15:40] <TJ-> cousteau: it is easy-ish to reinstall GRUB on BIOS systems, via booting a live ISO (in BIOS mode!) and using grub-pc tools specifically "grub-install /dev/sdX" where X is the device
[15:41] <cousteau> TJ-, that comes with the live CD, right?
[15:41]  * cousteau doesn't remember how he installed Linux on this PC
[15:41] <TJ-> cousteau: usually, the only damage caused is the first 440 bytes of sector 0 so you can just manually replace those as well :)
[15:41] <TJ-> cousteau: yes it oes
[15:41] <cousteau> good, thanks!
[15:42] <Guess59061> hotsoup Well?
[15:42] <cousteau> another alternative is: I have two drives (SSD and HDD), so I could tell BIOS or UEFI or whoever is in charge to boot from the HDD first, then install Windows there, and if it overwrites the MBR it'll be the one on the HDD and not the SSD
[15:43] <hotsoup> https://paste.ubuntu.com/p/thts6S5GXB/
[15:44] <Guess59061> hotsoup ...
[15:44] <d1rewolf> mgedmin: is there a way to verify an dvd disk or usb drive if you can't get to grub?
[15:45] <hotsoup> Guess59061: https://paste.ubuntu.com/p/thts6S5GXB/
[15:45] <Guess59061> hotsoup You need to create this: mkdir foo, then touch foo/bar, then chmod foo 200, then rm foo/bar. Can you do that please?
[15:45] <mgedmin> d1rewolf: well, I usually verify the sha256sums of images before writing them to the usb drive
[15:45] <d1rewolf> mgedmin: yes, I did that.
[15:45] <d1rewolf> let me try booting from the usb in a vm
[15:46] <TJ-> cousteau: indeed, keeping them separate is always useful. You can check if the current session is UEFI with "journalctl -k | grep EFI" and looking for "kernel: EFI Variables Facility" and others like "kernel: fb0: EFI VGA frame buffer device"
[15:48] <cousteau> well, that spew quite a few lines
[15:49] <hotsoup> guess59061: https://paste.ubuntu.com/p/pyy4g37mgQ/    looks like I get same result...
[15:49] <cousteau> nov 13 12:14:07 laptop kernel: EFI Variables Facility v0.08 2004-May-17   so I guess yes?  Thanks!
[15:50] <Guess59061> hotsoup And when you do rm foo/bar does that work?
[15:50] <TJ-> cousteau: yes, so Ubuntu will be using grub-efi-amd64, and the boot-loader will be in /boot/efi/EFI/ubuntu/ and you can read the motherboard's boot-menu with "efibootmgr -v"
[15:51] <hotsoup> nope. permission denied.  But when I chmod 300 I get similar. To be clear. I'm rm -r foo/bar
[15:51] <TJ-> cousteau: Windows installed in UEFI mode would have its loader at /boot/efi/EFI/microsoft/ (I think - don't have Windows here to check)
[15:52] <Guess59061> hotsoup I'm sorry to say this, but you should really learn how to read.
[15:52] <cousteau> oh, so /boot/efi is ...what is it?  The EFI chip mounted as a partition?
[15:52] <hotsoup> I don't know why it worked for 300 but I still couldn't ls or confirm removal shell just completed command successfully.
[15:53] <hotsoup> I verified by then chmoding to 777 and no files listed.
[15:53] <Guess59061> I don't even know what you're saying. So also learn how to express yourself better. I'm gonna go. Thanks everyone, however.
[15:53] <cousteau> /dev/sdb1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) ...interesting.  I have no idea what that is, but interesting nonetheless.
[15:53] <TJ-> cousteau: no, /boot/ is where the linux kernel/initrd are, /boot/efi/ is a mount-point , and the EFI system Partition (a FAT file-system) is mounted there, and within it has the path "/EFI/<os-name>/..."
[15:54] <TJ-> cousteau: right, so there you have the EFI-SP at /dev/sdb1
[15:54] <hotsoup> You're Welcome
[15:54] <cousteau> thanks!
[15:55] <cousteau> Oh, sdb is the SSD.  I would've expected it to be sda.
[15:55] <cousteau> ok so if I install this Windows OS, it will add an entry on /boot/efi/EFI/ rather than overwriting the MBR?
[15:56] <cousteau> and when I boot I'll have some sort of UEFI-based GRUB that asks me which OS I want to boot with?
[15:56] <mgedmin> I expect it will create a file (or several) in /boot/efi/EFI, and it will update EFI boot variables
[15:57] <mgedmin> and then when you reboot, you'll have to go into your UEFI setup or something and change the boot order to put Ubuntu first
[15:57] <TJ-> cousteau: with UEFI the motherboard has the boot menu
[15:57] <mgedmin> and then once you've booted into Ubuntu you'll have to run sudo update-grub, so os-prober detects your new Windows install and puts it into your GRUB boot menu (in /boot/grub.cfg)
[15:57] <cousteau> TJ-, cool!
[15:58] <mgedmin> or you can use the BIOS boot option every time instead of grub if you prefer that
[15:58] <TJ-> cousteau: so you set the default but there is a hotkey to get the manual boot-menu so you can choose another
[15:58] <TJ-> cousteau: and your choice causes the firmware to read one of the boot-loaders from /dev/sdb1 /EFI/<os-choice/...
[15:58] <mgedmin> F12 I think it the usual key to get into the BIOS boot menu
[15:58] <cousteau> so GRUB is on the motherboard?  Or the motherboard contains a bootloader that loads the GRUB?
[15:58] <mgedmin> err I keep saying BIOS when I mean UEFI
[15:58] <TJ-> cousteau: at that point you'd see the GRUB menu as usual for Ubuntu
[15:59] <TJ-> cousteau: no, GRUB is not in the motherboard. UEFI includes its own boot manager
[15:59] <cousteau> ok understood!
[15:59] <mgedmin> the motherboard contains a flash chip with your system firmware that implements the Universal Extensible Firmware Interface (or whatever UEFI stands for), and it knows how to look for boot loaders in the EFI system partition
[15:59] <cousteau> so it includes "its own GRUB" (bootloader) that loads the following stage (GRUB)
[16:00] <TJ-> cousteau: sort of, but it's a 'manager' not a 'loader' as such (loader is for loading the OS) - to add to that, Linux can be directly loaded as an EFI payload image without needing GRUB's help :)
[16:01] <TJ-> cousteau: "efibootmgr" is how you read the boot-manager's menu entries that are in the motherboard
[16:01] <cousteau> I thought it was all bootloaders (with some bootloaders loading other bootloaders -- see for example First Stage Bootloader vs Second Stage Bootloader)
[16:01] <cousteau> So TL;DR: if I install Windows it won't overwrite my grub?
[16:02] <TJ-> cousteau: that's generally referring to 'stages' of the same loader (e.g. GRUB's stage 1 a.k.a. GRUB core is /EFI/ubuntu/grubx64.efi) which in turn loads stage 2 (the modules, menus, etc.)
[16:02] <mgedmin> there are many bootloaders in /boot/efi/EFI/boot, and a firmware variable that orders them
[16:02] <TJ-> cousteau: if you ensure Windows installs in UEFI mode correct.
[16:02] <mgedmin> Windows will not overwrite grub but it will overwrite the boot order
[16:03] <WaV> TJ-: Figured it out, thanks :) Ctrl+Alt+1 = onboard audio, Ctrl+Alt+4 = bluetooth audio && Ctrl+Alt+0 = HDMI audio output now thanks to Ubuntu keyboard shortcuts and a bash script.
[16:03] <TJ-> WaV: :)
[16:03]  * mgedmin would like to see WaV's script
[16:04] <WaV> its not mine. I found it based on what TJ- suggested.
[16:05] <WaV> https://pastebin.com/BD4Ny68V
[16:05] <cousteau> TJ-, and if it doesn't, I'll have to use the Ubuntu install CD to fix the mess?
[16:05] <mgedmin> hm, interesting!  you move streams but don't set the default sink?
[16:06] <WaV> Copy/paste that into a bash script, find out what your audio outputs are (Mine are 0, 1 and 4) and then execute script as "script.sh 0" or "script.sh 1"
[16:06] <WaV> yes
[16:06] <TJ-> cousteau: no... you simply press your motherboard's defined hotkey (often F10 or F9 or F12) to get to the manual boot menu where you can select which OS to boot
[16:07] <TJ-> WaV: I did some work like that some time ago combined with my NFC token... so sound would follow me to whichever PC I was on (PA can do network too)
[16:07] <WaV> Nice :)
[16:10] <cousteau> cool!
[16:26] <jayjo> I'm trying to get a USB installation to auto-install, instead of serving cloud-init files over the network. Do I just install the ubuntu installer onto a usb drive (copying with dd), then mount that drive on my machine and start editing kernel boot options to detect the file on the disk, and put the cloud-init into that installer directory somewhere?
[16:32] <mgedmin> jayjo: AFAIU you can create a second partition with a special label and put your cloud config files there
[16:33] <mgedmin> I read about it on discourse.ubuntu.com somewhere, possibly in that mega-thread about testing ubuntu sever 20.04 autoinstall
[16:34] <mgedmin> the ubuntu-20.04.1-live-server-amd64.iso image has a partition table (with two partitions, one for the installer, and one for the EFI system partition), so you'd have to create a third one after writing the image with dd
[16:59] <jayjo> would that just be a regular data partition? Could it keep other init scripts/data objects the machine will use? I'm looking for references to that now
[17:07] <mgedmin> jayjo: hmm https://ubuntu.com/server/docs/install/autoinstall-quickstart has a 'Use another volume to provide the autoinstall config' section
[17:08] <mgedmin> https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html has details
[17:08] <mgedmin> the partition can be vfat or ISO9660
[17:08] <mgedmin> and it needs to have a volume label CIDATA
[18:08] <Intelo> Hi, I just rebooted after a crash and I cannot sudo anymore. What can I do? msg: user1 is not in the sudoers file.  This incident will be reported.
[18:15] <tomreyn> !password | Intelo
[18:16] <tomreyn> also check your logs for indication of a discomposing storage, such as (s)ata controller errors, timeouts, media sense errors.
[18:17] <tomreyn> !smart | Intelo
[18:17] <tomreyn> and run a file system check from !recovery
[18:44] <Intelo> tomreyn: not about password, maybe disk
[18:45] <tomreyn> Intelo: the point is that with recovery you can gain root access, thus fix sudoers, or set new passwords on any users. or fsck.
[18:46] <slipttees> hi guys
[18:53] <slipttees> i have HP DeskElite 800 G1 two frontside jacks.  Headphone only and Headphone build in mic, this doesnt work.
[19:00] <relipse> why is npm going to my windows install  npm install
[19:00] <relipse> 13:00:17 -bash: /mnt/c/Program Files/nodejs/npm: /bin/sh^M: bad interpreter: No such file or directory
[19:00] <relipse> i'm on WSL 2
[19:01] <tomreyn> !wsl | relipse
[19:02] <tomreyn> your problem is windows vs unix/linux line endings. use "fromdos"
[19:03] <relipse> how do I remove /mnt/c/Program Files/nodejs/npm from my path
[19:05] <tomreyn> don't add it in the first place
[19:06] <tomreyn> i.e. find out where it's added (probably some dotfile in your HOME), and edit this file so it's no longer added when you login or start a new shell.
[19:07] <tomreyn> it's probabl yin ~/.profile or ~/.bashrc or something
[19:25] <jayjo> what do tools like YUMI multiboot do differently than multiple partitions and using dd or cp for preparing a usb drive? I have a large USB stick, can I put a desktop installer on it as well as the pre-seeded server installer if I'm OK with manually selecting a partition to boot from?
[19:28] <jayjo> http://multibootusb.org/, https://www.pendrivelinux.com/yumi-multiboot-usb-creator/
[19:35] <icedtea> what is the best way for a process to programmatically execute a shell script with elevated privileges?
[19:35] <icedtea> I mean a c/c++ program
[19:36] <icedtea> I tried pkexec but the tty version of it is broken on many linux distros
[19:38] <icedtea> hrmm I wonder if I closed stdout/stderr/stdin it would use the gtk version of it
[19:52] <ash_1> hi all! I am using hp laptop with ryzen 5 2500U. I am facing frequent freeze issue. I also updated kernel to 5.9.6 to no success. How may I know whats the issue?
[19:54] <ash_1> I am using ubuntu 20.04
[23:12] <za1b1tsu> can fractional scalling cause laggy input in gnome terminal? Because it appears that is happening
[23:18] <sarnold> za1b1tsu: possibly, someone mentioned that a week ago https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1870736
[23:19] <za1b1tsu> I am on X