[07:57] <slingamn> i'm trying to make a small refactor to apport, specifically the github client: https://github.com/canonical/apport/blob/main/apport/crashdb_impl/github.py
[07:57] <slingamn> but i'm getting a 404 from https://github.com/login/device/code
[07:58] <slingamn> the documentation still mentions this URL: https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps#step-1-app-requests-the-device-and-user-verification-codes-from-github
[08:01] <Fallen> Ooh very cool! Thank you for setting up the bot!


[00:32] <spinull> its mounting the share as root
[00:33] <spinull> instead of with the user provided in the mount command
[00:41] <spinull> nvm, looks like just adding option "noperm" to the command is a fix
[01:10] <Emil> Hi
[01:12] <Emil> Does anyone know if the ubuntu images for raspberry pi 4 work out of the box with hardware video decoding support?
[01:14] <sarnold> Emil: probably yes, though go with 21.04, not 20.04. 20.04 was missing some stuff for rpi4 things, I can't recall what
[01:15] <sarnold> Emil: the 21.04 release notes mention accelerated wayland as a possibility, so it might even be that there's two supported accelerated desktops https://discourse.ubuntu.com/t/hirsute-hippo-release-notes/19221
[02:02] <C0nundrum15> How do i get / to not be busy so i can run a fsck on it
[02:04] <tomreyn> C0nundrum15: you can do so from recovery
[02:04] <tomreyn> !recovery | C0nundrum15
[02:04] <C0nundrum15> i can boot into normal mode
[02:04] <C0nundrum15> there are just disk errors
[02:04] <C0nundrum15> is there a faster / easier way that recovery mode ?
[02:05] <C0nundrum15> sudo touch /forcefsck
[02:05] <C0nundrum15> doesn't seem to do anything in 18.04 either
[02:06] <JanC> what disk errors?
[02:07] <JanC> you can't fix _disk_ errors with fsck
[02:07] <JanC> that only fixes _file system_ errors
[02:07] <tomreyn> *tries to
[02:07] <sarnold> :)
[02:07] <JanC> well, yeah
[02:08] <tomreyn> in case of a broken disk it's more likely to make things worse
[02:08] <JanC> in fact it might make things worse if there are actual disk errors
[02:08] <tomreyn> :)
[02:08] <JanC>  :)
[02:10] <JanC> probably best to check SMART data first
[02:11] <tomreyn> C0nundrum15: ^
[02:11] <tomreyn> !smart
[02:11] <C0nundrum15> I know fsck will fix it. i just ran out of space
[02:14] <JanC> then use recovery mode or boot from an Ubuntu live disk/CD & run fsck from there
[02:16] <JanC> (I think the live images don't auto-mount filesystems, but if they do you can always unmount them)
[02:31] <leftyfb> C0nundrum: do be clear,no, there is no "faster / easier" way than running an fsck on a filesystem properly. You should do it while it's unmounted
[02:32] <C0nundrum32> dam
[02:32] <C0nundrum32> i made things worse lol
[02:32] <C0nundrum32> i edited my fstab to make it ro and that allowed me to run fsck and fix the erorrs
[02:32] <sarnold> oh my
[02:32] <C0nundrum32> but now , i can't edit fstab back
[02:33] <C0nundrum32> = (
[02:33] <leftyfb> C0nundrum32: use a live cd/usb like you were told originally
[02:33] <sarnold> at this point you ought to reboot
[02:33] <C0nundrum32> I went into recover mode
[02:33] <C0nundrum32> and choose drop to root
[02:33] <C0nundrum32> and tried to edit it, but its read only
[02:33] <leftyfb> C0nundrum32: use a live cd/usb
[02:34] <C0nundrum32> Ah i thought i did, i guess i just booted to the on disk grub
[02:35] <C0nundrum32> so just clicked try ubuntu
[02:36] <leftyfb> C0nundrum32: btw, mounting the filesystem ro is still mounting the filesystem. Running fsck on that is also not going to work. So regardless, you till need to run fsck on it
[03:22] <C0nundrum36> SO i booted the life cd
[03:22] <C0nundrum36> [11:21:06 PM] <C0nundrum36> WHen i run fsck on /dev/sda1 i get. Superblock invalid, bad magic number in super-block etc
[03:22] <C0nundrum36> [11:21:44 PM] ← bsd4me has left (Quit: leaving)
[03:23] <C0nundrum36> Its a Gpt partition configured with the normal linux install. with the ubuntu--vg-ubuntu-lv on sda3
[03:23] <C0nundrum36> What am i suppose to do now ?
[03:24] <C0nundrum36> If i try to mount sda3 i get unknown filesystem type 'LVM2_member'.
[03:27] <leftyfb> C0nundrum36: https://www.cyberciti.biz/faq/linux-mount-an-lvm-volume-partition-command/
[03:41] <Firefishe> When doing:  $ source $HOME/.bashrc, I get the following from standard output:  https://paste.ubuntu.com/p/48c8j2kdWV/
[03:42] <Firefishe> Here is a paste of my .bashrc file:  https://paste.ubuntu.com/p/kDkBkHRDkM/
[03:47] <Bashing-om> Firefishe: Missplaced quote mark line 31:  it existsLL=/bin/sh lesspipe)" ; move the quaote mark to make is as: "$(SHEmkdir ~/.kde/env" - is what I see.
[03:47] <mybalzitch> yep
[03:48] <Firefishe> --checking--
[03:55] <Firefishe> Bashing-om, mybalzitch:  Here is my resaved .bashrc.  I'm still getting the error when I do source.  it's gotta be somethin' simple I'm missing.  https://paste.ubuntu.com/p/T8Mq2BVtpq/
[03:59] <Firefishe> rebooting
[04:02] <Firefishe> Bashing-om, mybalzitch:  Had some fluff to get rid of.
[04:02] <Bashing-om> Firefishe: Ya still have that quote mark at the end of line 31 :(
[04:02] <Firefishe> Bashing-om: So get rid of the one quote mark?
[04:02] <Firefishe> Just the one?
[04:03] <Firefishe> Bashing-om: All right.  Done.
[04:04] <Bashing-om> Firefishe: should make no differnece there as it is a comment. but is kust out of place and makes no sense to exist.
[04:04] <Bashing-om> kust/just*
[04:08] <Firefishe> Bashing-om: I get that, but now the output has changed. When I launch bash, I get this:  https://paste.ubuntu.com/p/P6cGhbssVn/  --  And the modified .bashrc:  https://paste.ubuntu.com/p/JRbSzsvv4F/
[04:09] <Bashing-om> Firefishe: While looking ^ - what is the expression "SHEmkdir ~/.kde/env" ?
[04:09] <Joel> ubuntu 20, Wifi lost connection, sitting at a prompt asking me to re-enter the password. Though I have the password saved, and it didn't change. I entered the password, still didn't connect. I then had to select the wireless network again, and then it connected. I have it selected as priorty 0 for auto connect. Any recommendations on what I can read to help me set it so it never stops trying to reconnect? I especially don't get why it asks for a password reprompt.
[04:11] <Firefishe> Bashing-om: It may be from what I was doing before.  I was going through some instructions to build amarok from git source (from the current tree), and there were some $PATH variables I had placed at the end of the .bashrc file, then ran that source command.  Well, after looking around a bit, I realized that these instructions might be dated.
[04:11] <Firefishe> So I deleted them from the end of .bashrc, then ran the source command again.
[04:11] <Firefishe> Bashing-om: That's when all this started.
[04:12] <sdolan> 1
[04:18] <Bashing-om> Firefishe: Original line 31:  && eval "$(SHELL=/bin/sh lesspipe)" -- note there is a closing ) mark for the expresiion.
[04:21] <Firefishe> Bashing-om: That did  it!  I got rid of the ending part, however that got in there.  Going to leave .bashrc alone.  Thank you for the assistance, I appreciate it! :-)
[04:23] <Bashing-om> Firefishe: quite welcome - let this be a lession to always make a backup first of an edited file :)
[04:24] <Firefishe> Bashing-om: Duh, and Gloom, Despair, and Agony on Me! LOL  I should have, and I forgot that basic rule.  I need to get back into the code mode again.  So much lost, so many brain cells fried.
[04:25] <Firefishe> Bashing-om: I-Am-Not-Twenty-Anymore.
[04:25] <Firefishe> I shall repeat that muitiple times. ;)
[04:26] <Bashing-om> LOL - yeah - I can relate ! Firefishe
[04:27] <Firefishe> Bashing-om: Well, nothing like real world editing and error making to get one back on the correct logic track for doing this type of thing.
[04:27] <Firefishe> Bashing-om: And again, I do appreciate the help,.
[04:27] <Firefishe> Nice to know that IRC is still here and relevant!k
[04:28] <Bashing-om> Firefishe: Also in this case our developers covered for us as there does exist a backup of the file in /etc/skel/ :)
[04:29] <Firefishe> Bashing-om: Ahhhhh.  Nice to know that.
[04:30] <Bashing-om> I be done for this session - laters all \o
[04:30] <Firefishe> Laters, Bashing-om.  Be Well.
[04:31] <Bashing-om> Firefishe: Thanks - Poof
[04:40] <C0nundrum36> Hey
[04:41] <C0nundrum36> So i booted a live cd and ran fsck but i ubuntu still warns me about errors on the lvm volume. Want else can i try ?
[04:45] <Quetzalcoatl> Hi there! I have this problem: I bought a dell laptop with ubuntu 18.04 lts preinstalled. After a couple of days I decided to upgrade to 20.04 lts. After couple of days, I can't connect to my wifi.
[04:48] <Quetzalcoatl> I tried using hotspot and it is working. After that I decided to use the wired connection to connect to the network/internet. Last week my wired connection decided to stop working. The only thing that I did before this happend was to update the system
[04:48] <Quetzalcoatl> Any ideas on what should I do ?
[04:49] <Quetzalcoatl> I did a manual configuration of the wired card but nothing happend.
[04:50] <Quetzalcoatl> Do you think that a fresh install will solve my problems?
[04:50] <lotuspsychje> Quetzalcoatl: its possible the upgrade resulted you to 5.11 kernel (uname -a ) and that it doesnt like your wifi chipset, check your dmesg for deeper investigation
[04:54] <Quetzalcoatl> I sent the laptop to a computer service and they tested the wifi and wired cards with a live ubuntu. The result: the wifi card connected instantly to their wifi network but the wired card did not
[04:55] <Quetzalcoatl> lotuspsychje: i will take a look to logs
[04:56] <lotuspsychje> Quetzalcoatl: could you check your current kernel plz?
[04:56] <Quetzalcoatl> I cant right now because the laptop is not with me right now.
[04:57] <Quetzalcoatl> I assume that the kernel is
[04:57] <Quetzalcoatl> 5.4.0-88
[04:58] <Quetzalcoatl> because I use the official kernel provided by canonical
[04:58] <lotuspsychje> Quetzalcoatl: best to come back for support, when you have the machine nearby so volunteers can live support you
[04:59] <Quetzalcoatl> yeah
[05:57] <famubu> Hi. I was trying to install emacs packages from within emacs on ubuntu but got certificate errors. `gnutls-cli elpa.gnu.org` shows the same thing (output: https://bpa.st/UN7Q) but I can access elpa.gnu.org on browser. Does anyone know how this can be fixed?
[06:08] <weq> anyone able to help me understand why this is happening? https://imgur.com/a/zICSna3
[06:09] <weq> the echo is done by a setup script.
[06:18] <rfm> weq. why *what* is happening?  (imgur sure seems like the wrong tool for presenting this...)  echo's showing the contents of the quoted string from #! to sed -e, then the backquoted quote, then the quoted string starting with s/,
[06:19] <klausfiend> rfm: you may want to check out https://termbin.com/ for copy-pasta of terminal stuff
[06:20] <rfm> weq ^
[06:20] <weq> the bois over at #linux suggested it might needed more escaping since it might be seen as an escape sequence. Trying to redeploy now to test.
[06:20] <klausfiend> also, if you're just looking for the hostname without the FQDN, try $(hostname -s)
[06:20] <klausfiend> (that should print the hostname up to but not including anything after the first dot)
[06:21] <weq> I was just baffeled by the notion of something I'd assume would be a string literal would be processed.
[06:21] <klausfiend> alternatively you could also try bash shell expansions to extract the goo you want
[06:21] <weq> It is an sed expression that takes parts of the name and appends the rest and it "works" when I paste the entire echo block like `echo crap > file` but not when it all being executed via a setup script.
[06:21] <jushur> the pre ' tells me that is not a string, it is a list as a string ...
[06:22] <weq> then it replaced \1 with a nifty square.
[06:22] <klausfiend> it might also be a non-printing (e.g., non-ASCII) character that sed is mangling because sed is kinda dumb sometimes
[06:22] <weq> well \\1 worked as expected compared to \1. so ty regardless.
[06:22] <jushur> ever used fish shell? if you did you would know why this is so.
[06:23] <weq> I'm a pwsh dude, and not a regular bash scripter so nope.
[06:25] <klausfiend> weq: what exactly are you trying to do?
[06:26] <weq> it works as expected now, but it is a setup script that makes indepented certs with certbot.
[06:26] <weq> so I take parts of the hostname and append our domain to get the FQDN so I can make the letsencrypt challenge.
[06:27] <klausfiend> which parts of the hostname?
[06:27] <weq> I have a bunch of demo environments that we spin up all as their independent sites. So terraform + ubuntu + docker + letsencrypt + our applications = full demo site
[06:28] <weq> srt-demo-11 => demo-11.domain.com
[06:28] <klausfiend> like, do you have a generic pattern for hostnames
[06:28] <weq> domain=$(cat /etc/hostname | sed -e 's/srt-\(.*\)/\\1.scanreach.com/')
[06:28] <weq> is what I ended up with.
[06:28] <klausfiend> is the domain name a known quantity ?
[06:28] <weq> the terraform keeps track of that.
[06:28] <klausfiend> and is the "srt-" a guaranteed component of your demo instances?
[06:29] <weq> yupp part of the terraform.
[06:30] <klausfiend> why not just do something like this instead:
[06:30] <klausfiend> hostname=$(uname -n | sed -i 's/^srt-//')
[06:30] <klausfiend> domain=${hostname}.${mydomain}
[06:30] <klausfiend> ?
[06:30] <weq> no need now as it works.
[06:31] <weq> but yeah that would do the trick as well I recon.
[06:31] <geirha> the proper solution is to not use echo
[06:35] <weq> this is making a script on the host that gets used later as well so not really an option for this.
[06:50] <geirha> echo isn't the only way to output a string
[06:53] <weq> cba to implement other methods now, but please do explain your preferred method of solving this when deploying vms in azure without having to resort to extra secrets.
[06:54] <bob_x2> how can i read motd message and exit from ssh in one command ?
[06:55] <klausfiend> add an RC file that does that and calls `exit 0` at the end
[06:55] <nr0q_radio> or if it's just a one-off thing
[06:55] <nr0q_radio> ssh user@server "exit"
[06:56] <klausfiend> ^^ or that
[06:56] <bob_x2> nr0q_radio: that does not work
[06:56] <bob_x2> it just exists without motd message
[06:56] <bob_x2> *exits
[06:57] <nr0q_radio> like you screen is clearing when you exit the SSH session?
[06:58] <geirha> weq: heredoc or printf would give consistent behavior, unlike echo
[06:58] <klausfiend> so there's a mechanism to suppress printing the MOTD if you've already signed in once
[06:58] <klausfiend> nr0q_radio: are you sure that's not messing with your expectations? ^^
[07:00] <bob_x2> nr0q_radio: yes it just do not mess motd output with the command output. which is understandable , sometimes you need to run comannd on ssh host and get the output. cutting off motd each time would be a problem
[07:01] <osse> ssh server cat /etc/motd
[07:01] <osse> or is that cheating
[07:01] <bob_x2> osse: my ubuntu does not have that file. but still prints the status of the host when im logging inh
[07:02] <nr0q_radio> maybe ssh user@server "cat /etc/motd"
[07:02] <bob_x2> i do not have /etc/motd
[07:02] <nr0q_radio> ahh, what is generating your motd?
[07:04] <bob_x2> nr0q_radio: yeah thats interesting
[07:04] <bob_x2> im new to ubuntu
[07:04] <klausfiend> MOTD is autogenerated typically
[07:04] <dn___> I have an issue with snap - I see `135  Done    today at 04:16 UTC      today at 04:16 UTC      Switch "lxd" snap to cohort "+"` several times in the snap changes log; this breaks lxd - and it happens again and again - anyone got an idea/hint what to google?
[07:05] <osse> on my system it seems to be some sort of PAM magic
[07:05] <bob_x2> checking systemwide bashrc and /etc/profile
[07:06] <klausfiend> on our standard systems, MOTD is created via files in /etc/update-motd.d
[07:07] <bob_x2> klausfiend: thanks. i even found the file that generated a section of motd that i need
[07:07] <nr0q_radio> on most of my systems it's a file in one of a few places, depending on if it's Debian, CentOS, RHEL8 or FreeBSD
[07:20] <bob_x2> klausfiend: and how it's handled ? does systemd start these files ?
[07:21] <klausfiend> bob_x2: that i honestly can't remember, but i think whatever the de facto init system is responsible for executing those scriptlets
[07:21] <bob_x2> ok will ask on linux
[07:35] <osse> hah!  echo exit | ssh server
[07:54] <mdecker> Hello, how can I automate the setup of multiple PC workstations with Ubuntu Desktop 20.04?
[07:54] <mdecker> Can I use kickstart?
[07:55] <mdecker>  I have prepared ks.cfg file and re-imaged the ubuntu-desktop iso and I see in boot cmd, that ks= and ksdevice= options were used, but I still get the interactive graphical interface. Am I on the right track?
[08:03] <dn___> What does `Switch "lxd" snap to cohort "+"` in the `snap changes` mean?
[08:03] <dn___> It seems to break my LXD cluster...
[08:10] <swensson> Anyone here know how to brute force diffie-hellman-group14-sha1 ? Maybe somehow with hydra?
[08:12] <lotuspsychje> swensson: while pentesting tools are on the ubuntu repos, we dont really support brute forcing here
[08:14] <swensson> Any suggestion where I can find this information? Google seems to be no help towards bruteforcing the dh14
[08:15] <lotuspsychje> swensson: checkout the hydra manpage?
[08:16] <swensson> Seems to be unable find any related info
[08:29] <klausfiend> mdecker: https://ubuntu.com/server/docs/install/autoinstall-quickstart
[08:29] <mdecker> does this also apply to ubuntu desktop or only for unbuntu-server?
[08:29] <klausfiend> both
[08:30] <klausfiend> different options, etc. but yes
[08:46] <no_gravity> Funny, when I type "ubuntu i" into google, the first suggestion is "ubuntu install docker". Is docker the most popular application on Ubuntu now?
[08:47] <dtomato> well, ubuntu is run on quite a number of servers, and servers tend to run a bunch of containers these days...
[08:48] <no_gravity> Yes, that might be the reason. Which would tell us that more people use Ubuntu on servers than on the desktop.
[08:50] <lotuspsychje> !discuss | no_gravity
[08:53] <no_gravity> Looking at the results, it seems most people install docker not via the Ubuntu repos but add a docker repo to their sources.
[08:53] <no_gravity> What do you guys think of this?
[08:57] <mdecker> klausfiend: where can I find the options possible for ubuntu desktop?
[08:58] <geirha> no_gravity: And installing docker isn't trivial on ubuntu, because the "obvious" attempt with   apt install docker   will install some window manager docker thing, so naturally people jump on google to find they need the docker.io package instead
[08:59] <no_gravity> geirha: I see. But it seems what they find instead is lots of articles how to install docker-ce via download.docker.com
[09:01] <dn___> What does `Switch "lxd" snap to cohort "+"` in the `snap changes` mean? - I'm a bit desperate here, since it just kills the cluster over and over and I have no clue what this is
[09:01] <geirha> *shrug* I guess they want bleeding edge. I just use the docker.io package. It's one of the few packages with SRU-exception, so it actually gets upgraded once in a while
[09:02] <no_gravity> geirha: sru-exception means it gets new features, not only bug fixes?
[09:02] <geirha> Yes. https://wiki.ubuntu.com/StableReleaseUpdates#Docker.io_group
[09:03] <no_gravity> I see.
[09:04] <no_gravity> Is docker.io the package that only installs the runtime or will it bring unnecessary stuff on top of it?
[09:07] <dn___> is there any snap/ubuntu server irc channel?
[09:07] <lotuspsychje> !snap
[09:07] <lotuspsychje> !ubuntucore
[09:07] <lotuspsychje> dn^
[09:08] <geirha> no_gravity: It installs bash-completion stuff for the docker command which I find unnecessary, but otherwise it more or less just installs dockerd and the docker command to control it with. Don't know what other unnecessary stuff you are referring to
[09:08] <dn___> thank youy
[09:09] <no_gravity> geirha: I see. Thanks.
[09:13] <no_gravity> Since I don't know much about Ubuntu: Are Ubuntu released based on certain Debian releases? Like can you look up which Debian Ubuntu 20.04 is based on?
[09:20] <lotuspsychje> !debian | no_gravity
[09:20] <KBar> no_gravity you can look at the file
[09:21] <KBar> /etc/debian_version
[09:21] <KBar> for your current version of Ubuntu
[09:21] <no_gravity> KBar: Cool, thanks!
[09:21] <KBar> np
[09:24] <no_gravity> Strange, in the list view of Nautilus on Ubuntu, there seems to be no way to create a folder.
[09:24] <no_gravity> New file I mean.
[09:25] <no_gravity> Neither is there one in the grid view.
[09:25] <lotuspsychje> no_gravity: you can create new files in /home/templates
[09:26] <no_gravity> lotuspsychje: Fine, but I want to create one in /some/funky/folder/ :)
[09:26] <lotuspsychje> no_gravity: alternate you can ctrl +l and do admin tasks with admin:/// in nautilus
[09:27] <no_gravity> Oh, its a rights issue? Lets see ...
[09:28] <no_gravity> Hmm.. I chowned the folder to me and hit F5 in nautilus. Still no "create file".
[09:29] <no_gravity> The same when I run nautilus as root.
[09:29] <lotuspsychje> create in templates and drag into funky?
[09:29] <no_gravity> Well that is not how I would like to live my life :)
[09:31] <KBar> IIRC gnome got rid of "New Document/File" context menu item a year or two ago.
[09:32] <KBar> they're putting all eggs in one basket, i.e. activities overview
[09:32] <no_gravity> KBar: How would that overview let the user create an empty file in /some/funky/folder/?
[09:32] <KBar> it wont. but you first choose an app
[09:32] <KBar> then create files/documents from there
[09:33] <KBar> to create an empty file, open terminal, cd /whatever/path, then "> my_file_name"
[09:34] <no_gravity> KBar: That is very cumbersome when you already have a nautilus window open at /some/funky/folder/ and want to create a file.
[09:34] <lotuspsychje> life is not that hard https://www.linuxuprising.com/2018/04/ubuntu-1804-add-new-document-nautilus.html
[09:34] <KBar> then
[09:34] <KBar> just open the folder in terminal
[09:34] <KBar> right-click, select terminal
[09:34] <KBar> "open in terminal"
[09:35] <KBar> terminal will open with working directory set to whatever you were browsing in Nautilus
[09:36] <no_gravity> Thats one hell of a strange workflow.
[09:36] <KBar> i know, but thats gnome for you
[09:37] <KBar> "staying out of the user's way" or whatever is their motto
[09:40] <no_gravity> :)
[09:45] <KBar> strange. the action is present in the source code
[09:45] <no_gravity> KBar: Link?
[09:45] <KBar> but disabled by default
[09:46] <KBar> sure. can i pm?
[09:47] <no_gravity> KBar: You cannot post the link here?
[09:47] <no_gravity> But sure, you can pm.
[09:48] <no_gravity> KBar: Thanks
[09:48] <no_gravity> KBar: Which line?
[09:48] <no_gravity> Oh, I see
[09:51] <no_gravity> Oh! I think it might be a config option.
[09:52] <no_gravity> Yeah. If you put an empty file in ~/Templates/ the option to create files in any place is back!
[09:53] <no_gravity> Hurray!
[09:54] <no_gravity> Guess office people use this to have templates like "New Offer", "New Invoice" etc.
[09:55] <ogra> well, the proper command would be "touch $(xdg-user-dir TEMPLATES)/New.txt"
[09:55] <ogra> the templates dir can be localized ...
[09:56] <KBar> that will create a plain text file
[09:56] <ogra> xdg-user-dir TEMPLATES will return the correct path
[09:59] <jason> hello
[09:59] <KBar> hello and welcome. how can we help you?
[10:00] <no_gravity> jason: We have a lot to offer! Do you want to create an empy file?
[10:00] <jason> where can i download NFS-payback
[10:01] <KBar> This channel is for Ubuntu support, jason.
[10:01] <KBar> If that's a video game, try looking it up on Steam.
[10:03] <ogra> jason, not NFS, but there is https://snapcraft.io/liveforspeed
[10:06] <no_gravity> jason: How about an empty file instead? You can open it in a texteditor let your creativity roam freely.
[10:29] <flaf> Hi @all. Here is someone who knows “subiquity” (new installer for Ubuntu server) and can tell me if it's possible to make a full automatic and *minimal* install of Ubuntu server, especially without snapd (in clear just with openssh-server installed)? Thx for your help.
[10:31] <ogra> flaf, perhaps something to ask in #ubuntu-server ... there is https://ubuntu.com/server/docs/install/autoinstall-quickstart
[10:32] <ogra> there are also discussions around this on https://discourse.ubuntu.com/t/please-test-autoinstalls-for-20-04/15250
[10:32] <flaf> ogra: ok, good idea. I didn't know the chan #ubuntu-server. Let's go. Thx.
[10:32] <Lumpio-> But snap is the future
[10:32] <Lumpio-> Says Canonical
[10:32] <flaf> :)
[10:32] <ogra> Lumpio-, link to the quote ?
[10:32] <Lumpio-> It's heavily implied by their actions
[10:33] <ogra> it is just another package format ...
[10:34] <Lumpio-> ...it's a pretty big step away from just installing files onto your computer like .deb, .rpm, pacman, whatever
[10:34] <flaf> Lumpio-: maybe... but the principle to me is not to necessarily remove snapd (maybe I will use it), the principle is to make fully automatic and _*minimal*_ installation of Ubuntu servers. ;)
[10:34] <ogra> Lumpio-, you mean snaps do not install files ?
[10:36] <KBar> If you don't like, don't use it. Since Ubuntu is Debian-based, .deb packages will keep working.
[10:36] <Lumpio-> If you call mounting a squashfs "installing" the package files on your computer, sure
[10:36] <Lumpio-> And also sandboxing everything in some bizarre way that keeps breaking in weird and wonderful ways
[10:36] <ogra> well, this is how squashfs files work ...
[10:36] <Lumpio-> Sure
[10:37] <Lumpio-> It's a bit different from just installing files onto my filesystem like a normal package manager and starting a process
[10:37] <Lumpio-> KBar: That's the best response to any criticism :+1:
[10:37] <ogra> yes, it saves space and is more secure (completely readonal, so a hacker can not tinkler with it)
[10:37] <ogra> *readonly
[10:38] <KBar> I don't think this channel is for criticism and sarcastic remarks, sir.
[10:41] <Lumpio-> No criticism allowed sounds pretty draconian
[10:41] <ogra> well, this is a support channel ...
[10:41] <ogra> you can come to #ubuntu-discuss to discuss other matters
[10:41] <KBar> +1
[10:41] <ogra> or #ubuntu-offtopic for even more offtopic thigs 🙂
[10:41] <KBar> or discourse
[10:42] <ogra> yeah, if you like to discuss very slow 🙂
[10:43] <KBar> There are multiple channels for you to post your criticism and this is not one of them.
[11:15] <pr100> I'm trying to get a bit more space under /usr; I've used a livecd to copy to a new partition and then changed /etc/fstab; but I now get "[UNSUPP] Starting of Arbitrary Executable File Formats File System Automount Point not supported." at boot time. Is there a way to progress?
[11:19] <KBar> Programs in /bin and /sbin are actually sym-links to /usr/bin and /usr/sbin, respectively. It looks like your system cannot execute its programs.
[11:21] <KBar> You probably have to include the new path in $PATH
[11:29] <KBar> If you can, that is.
[11:29] <pr100> so something required to mount /usr is actually on /usr, because the mounting needs things under /bin or /sbin that are actually symlinks to things under /usr. If that's so then surely messing with PATH won' help?
[11:41] <pr100> most of the disk use under /usr is actually in /usr/lib; I guess I could try just moving that to a new partition instead, maybe that'll mount without problems
[11:47] <BluesKaj> Hi all
[12:21] <topoi> Hey folks. Where do I see the $DISPLAY variable of some user?
[12:24] <topoi> Ahh, of course: Ubuntu is using Wayland! :)
[12:24] <ogra> topoi, only in the latest release though
[12:27] <topoi> Is there something I need to know for transition regarding the usual VNC foo?
[12:28] <topoi> (It might be sort of offtopic, but I'll give it a try :)
[12:28] <ogra> yes, VNC wont work with wayland currently
[12:28] <topoi> Ohh!
[12:28] <topoi> That's news for me.
[12:28] <ogra> due to waylands security model ...
[12:28] <ogra> windows can not spy on other windows
[12:29] <ogra> unlike in Xorg
[12:29] <topoi> Well, I never used VNC without ssh forwarding.. : /
[12:29] <ogra> i think there is some RDP support though
[12:29] <topoi> Is it easy to transition from wayland back to xorg?
[12:30] <ogra> https://wayland.freedesktop.org/faq.html
[12:30] <ogra> there are some comments on VNC/RDP
[12:31] <ogra> so there is a builtin "remote desktop" server in gnome itself: https://wiki.gnome.org/Projects/Mutter/RemoteDesktop
[12:32] <ogra> to switch back to Xorg you just need to pick it at the login manager
[12:32] <ogra> from the little gear after you selected the user
[12:32] <topoi> Ahh, I see. Thank you, very helpful.
[12:42] <topoi> ogra: Strange. I already had gnome-remote-desktop installed and the files are there but the system including systemd seems to know nothing about it. :S
[12:44] <ogra> topoi, i think there is a setting under "sharing" in the settings app
[12:46] <topoi> ogra: I'm headless. :)
[12:47] <ogra> well, perhaps there is a dconf/gsettings option to enable it, not sure
[12:51] <topoi> I don't understand why there is /usr/lib/systemd/user/gnome-remote-desktop.service but "systemctl status gnome-remote-desktop.service" says it could not be found.
[12:51] <topoi> systemctl daemon-reload doesn't help either.
[12:52] <ogra> topoi, because it is a part of the user session
[12:52] <ogra> systemctl status --user gnome-remote-desktop.service
[12:55] <topoi> Ohh, I did not even know that existed. My apologies.
[12:56] <ogra> i fear that wont help with headless though ... it needs a graphical session per-user to be shared
[12:57] <topoi> That's good to know! :D
[13:01] <topoi> ogra: Ohh wait, there is a graphical user session, but I want to connect remote. That ain't pure headlessness, I guess?
[13:02] <ogra> topoi, well, can you access that session locally temporary ? then you could just switch on the RDP/VNC server
[13:18] <topoi> ogra: I have no physical access at the moment. It's not possible to start that remotely with root?
[13:18] <ogra> no idea
[13:20] <topoi> It was so easy with xorg. : )
[13:20] <ogra> back in the days everything was better !
[13:21]  * ogra shakes his cane
[13:28] <jason> what continent you guys at
[13:29] <leftyfb> !ot | jason
[13:37] <topoi> I didn't say, _everything_ was better.. it's sometimes just hard to adopt that fast. On debian btw. xorg seems still to be the default even in bullseye.
[13:44] <famubu> While on evil mode, going to org-agenda schedule in an `*Org Agenda*` buffer shows the current state as 'Emacs State' (<E>) as the evil state and the usual evil key bindings dont' work there. Is there a way to evil bindings there as well? What is the emacs state?
[13:45] <leftyfb> famubu: you probably want #emacs
[13:45] <leftyfb> famubu: or explain what "evil mode" and "org-agenda" are
[13:46] <famubu> Oops! Sorry.
[13:46] <famubu> I meant emacs channel.
[13:47] <devios> how do i make it so my wlp1s0 always uses specific nameservers, and the settings survive reboot?  I don't want dhcp to set my nameservers.
[13:47] <leftyfb> devios: change it in network manager
[13:48] <leftyfb> devios: what version of ubuntu?
[13:48] <beuys> Hello! In Mint, when I press ctrl+alt+right-arrow, that moves the current window to the next workspace. Is there a key combo like this in Ubuntu?
[13:48] <leftyfb> !mint | beuys
[13:49] <devios> leftyfb, 20.04
[13:49] <leftyfb> oh, sorry
[13:49] <leftyfb> beuys: you can go to the keyboard settings in order to see and change the different hotkeys in ubuntu
[13:49] <beuys> leftyfb: Ok, let me rephrase the question without mentioning Mint ...
[13:50] <beuys> Is there a key combo in Ubunut that moves the current window to the next workspace?
[13:50] <leftyfb> yes
[13:50] <leftyfb> beuys: you can go to the keyboard settings in order to see and change the different keyboard shortcuts in ubuntu
[13:51] <beuys> I found it!
[13:51] <beuys> Shift+Window-Key+Page-Down
[13:53] <devios> leftyfb, thanks.  i see how to manually set the nameservers for a specific wifi network, but how do i make it so i use specific nameservers regardless of wifi network, and make that setting survive reboots.
[13:54] <leftyfb> devios: you don't
[13:55] <beuys> devios: Have a look in /etc/resolv.conf
[13:55] <leftyfb> beuys: that file will always get overwritten
[13:56] <ogra> any answer that includes /etc/resolv.conf is nowadays in 99% of the cases the wrong answer to resolution issues
[13:57] <leftyfb> devios: I do not think there is a way to always use the same nameserver across any and all networks, while also ignoring whatever nameserver gets assigned via DHCP
[13:57] <beuys> leftyfb: Take a look at the comment in /etc/resolv.conf. It says replacing it with a static file gives you control over it.
[13:58] <leftyfb> beuys: see ogra's comment
[13:59] <leftyfb> devios: why do you think you need this ability?
[14:03] <beuys> He is a free man. He wants to chose which nameserver his computer uses.
[14:05] <leftyfb> beuys: and if they join a network that doesn't allow access to his manually configured nameserver?
[14:06] <leftyfb> some hotspots aren't going to function at all due to forcing your own nameserver, you won't even be able to get to the portal page
[14:06] <beuys> He will do what a man has to do. Decide on his own how to deal with it.
[14:06] <leftyfb> beuys: ok, you're not helping.
[14:07] <jmiahjones> devios: A somewhat fragile way involves adding the nameserver config to either head or tail in /etc/resolvconf/resolv.conf.d/. This appends the config to the generated /etc/resolv.conf. That way you don't have to control the resolv.conf file completely.
[14:07] <beuys> It is up to our man devios to decide what helps him.
[14:07] <jmiahjones> It does kick the can down the road, though. You may end up overriding systemd-resolved and have future issues. I'm not sure how to tell systemd-resolved nameserver priority.
[14:07] <leftyfb> jmiahjones: that is going to cause problems. Then they will have multiple nameservers which are being hit randomly across queries, never knowing which one is being used
[14:08] <leftyfb> jmiahjones: there is no way to set priority in resolved
[14:10] <jmiahjones> leftyfb: Doesn't it default to the first nameserver in resolv.conf? I can attest that I've had issues setting up resolvectl to listen for a specific tld because I hard-coded nameservers in head. Across many queries I never got the desired response (hence why I say this is fragile)
[14:10] <leftyfb> jmiahjones: negative
[14:31] <htalloush> Hello, I'm unable to add 1440p using xrandr via newmode, can you help me out?
[14:33] <htalloush> https://paste.ubuntu.com/p/F2jxhgH4zr/
[14:34] <ogra> htalloush, drop "Modeline" from that line and see if it helps
[14:35] <ogra> xrandr --newmode "2560x1440_144.00"  808.75 ...
[14:36] <KBar> also flags have to be capitalized I think
[14:36] <KBar> e.g. +HSync
[14:37] <KBar> in your case, try -HSync +VSync
[14:37] <beuys> htalloush: These two lines work for me:
[14:37] <beuys> xrandr --newmode "2560x1440_55.00"  283.77  2560 2736 3016 3472  1440 1441 1444 1486  -HSync +Vsync
[14:37] <beuys> xrandr --addmode HDMI-1 2560x1440_55.00
[14:38] <beuys> htalloush: Which monitor is it?
[14:38] <beuys> On a related not, does anybody know where to put these lines to make them permanent?
[14:39] <htalloush> ogra: it accepts now, but the mode itself doesn't work
[14:40] <htalloush> beuys It's the old Odyssey G7
[14:40] <beuys> htalloush: Looks like a cool piece of hardware!
[14:41] <htalloush> Thanks, Ubuntu is a nice piece of software too! hyped to make it work
[14:41] <electrostrong> beuys: I'd personally create a new script and put it in /etc/X11/Xsession.d/
[14:41] <electrostrong> beuys: example in the second answer here: https://askubuntu.com/questions/637911/how-to-run-xrandr-commands-at-startup-in-ubuntu
[14:42] <beuys> electrostrong: Interesting. Wow, there is a whole bunch of scripts in there.
[14:44] <beuys> electrostrong: I will try it like this: ln -s /my/files/set_resolution.sh /etc/X11/Xsession.d/50-my-resolution
[14:44] <beuys> Do I need to reboot to test it?
[14:46] <electrostrong> I believe you just need to restart the session manager - sudo systemctl restart display-manager
[14:46] <beuys> electrostrong: Will that kill my running applications?
[14:46] <electrostrong> it will
[14:46] <electrostrong> (if they are open in x)
[14:47] <beuys> I see. I will do a normal reboot later.
[14:47] <electrostrong> so make sure you save first if you need to do that
[14:47] <beuys> I got some long running processes running which I don't want to interrupt.
[14:49] <TortillaSandwich> anyone using Yubikey auth on desktop to log in got a sec?
[14:50] <FreeBDSM> Hi. I have a problem: `apt list --installed | grep paramiko` says I have package `python-paramiko 2.0.0-1ubuntu1.2`, however `pip3 list` doesn't list 'paramiko'.
[14:50] <FreeBDSM> is that an error? should I somehow tell apt to check package contents and fix missing files or something? how to do that?
[14:50] <leftyfb> FreeBDSM: apt != pip
[14:50] <beuys> TortillaSandwich: I don't know much about yubikey, but does using it mean that if someone hits you with a $5 wrench and takes your laptop and key they are in?
[14:50] <FreeBDSM> leftyfb: correct, but shouldn't pip list modules installed from OS packages via apt?
[14:51] <leftyfb> no
[14:51] <electrostrong> nope
[14:51] <leftyfb> FreeBDSM: pip is a package manager, just like apt
[14:51] <TortillaSandwich> beuys: no
[14:51] <FreeBDSM> leftyfb: I hoped they have some integration like the one in CentOS
[14:51] <tuskkk____> Hello! Need some help, I have a docker container with ubuntu 16. Due to the latest expiration of some root certs from let's encrypt, I would like to update the certs in the image (https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/), how do I go on about doing that?
[14:52] <leftyfb> !eol | tuskkk____
[14:52] <tuskkk____> Do I need to update openssl, or are there any other commands I can follow?
[14:52] <leftyfb> tuskkk____: Ubuntu 16.04 and 16.01 are both end of life and unsupported
[14:52] <leftyfb> sorry, 16.04 and 16.10
[14:52] <beuys> TortillaSandwich: What stops them?
[14:52] <tuskkk____> Yes, I know its end of life, and we have a plan now to remove it, but for now the broken CI needs to be up, sorry
[14:53] <TortillaSandwich> beuys: you still need a password
[14:53] <TortillaSandwich> it's 2f. Something you have, something you know
[14:53] <tuskkk____> because I tried building the same image with latest ubuntu, and its more work than I thought
[14:54] <ogra> tuskkk____, https://ubuntu.com/advantage ...
[14:54] <beuys> TortillaSandwich: Nice
[14:55] <tuskkk____> ogra: what is this?
[14:55] <ogra> tuskkk____, ESM (support extension for 16.04)
[14:55] <ogra> you can buy another 5 years that way
[14:56] <tuskkk____> I don't see how that would help me here in this case
[14:56] <beuys> TortillaSandwich: And why do you use the 2f approach? So nobody can get your pw by looking over your shoulder?
[14:56] <tuskkk____> Its a pre build docker image I am working with, I have no room for an upgrade
[14:56] <TortillaSandwich> beuys: it's just logical to always have mfa wherever you can
[14:56] <leftyfb> tuskkk____: it's so you can purchase support for your end of life OS
[14:56] <beuys> TortillaSandwich: Well there must be a specific attack vector it prevents.
[14:56] <tuskkk____> I understand that leftyfb, and I don't think that will help here
[14:57] <ogra> tuskkk____, yell, the new ca-certificates package landed in the ESM archives ...
[14:57] <electrostrong> tuskkk____: you could check out this: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-expired-certificate/
[14:57] <ogra> *well
[14:57] <ogra> tuskkk____, with ubuntu advantage you get access to these packages ... but if you cant update your docker containers at all thats indeed not a solution
[14:58] <TortillaSandwich> beuys: secures against password being the only vulnerability. Even if someone has a right password, they can't move forward without the physical key
[14:58] <beuys> TortillaSandwich: But how would someone get the PW from your head?
[14:58] <TortillaSandwich> passwords can always be brute forced
[14:58] <TortillaSandwich> your argument could be used against any MFA
[14:58] <ogra> or spied over your shoulder 🙂
[14:58] <beuys> TortillaSandwich: That is not true.
[14:59] <TortillaSandwich> "Why use a RSA key for ssh? no one knows whats in your head"
[14:59] <TortillaSandwich> yes, it is true that any password can be brute forced
[14:59] <TortillaSandwich> it's a question of time + chance
[14:59] <leftyfb> beuys: TortillaSandwich feel free to discuss in #ubuntu-offtopic. This is no longer an Ubuntu support issue
[14:59] <TortillaSandwich> leftyfb: well, I am still having an issue with Ubuntu ignoring yubikeys after reboot
[15:00] <beuys> TortillaSandwich: Brute force 12-word wallet passwords and you are a billionaire :)
[15:00] <tuskkk____> electrostrong: it says this as well, `Ubuntu versions less than 16.04 are end of life. Manual intervention might be possible, but isn't supported.` Can someone here help me try changing it manually to see if it works?
[15:00] <gentwo> Hi, I am trying to insert text at line number 1 in a file using sed, somereason the output file encoding has been changed. made sure it's not related to locale . current locele LANG=en_US.UTF-8 ( VM-ubuntu)
[15:00] <leftyfb> TortillaSandwich: can you explain your issue in detail?
[15:00] <tuskkk____> because I have no clue how and where these certs are located/work etc
[15:01] <beuys> tuskkk____: What stopped working inside of your image?
[15:01] <tuskkk____> some go dependency, called https://gopkg.in/yaml.v2
[15:01] <tuskkk____> beuys: ^
[15:01] <leftyfb> tuskkk____: try #linux or purchase extended support
[15:01] <tuskkk____> ok, thanks
[15:01] <beuys> tuskkk____: What is the error message?
[15:01] <TortillaSandwich> leftyfb: sure. basically after configuring a Yubikey, as per their own documentation, everyhing works so long as you're logged in for the first time after install. Once you reboot and attempt to log in utilizing pam_2f.so as an @common-auth flag, the yubikey doesn't seem to respond
[15:02] <tuskkk____> beuys: `fatal: unable to access 'https://gopkg.in/yaml.v2/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none`
[15:02] <electrostrong> tuskkk____: I don't have any further details sorry - no matter what, make a backup before you experiment!
[15:02] <TortillaSandwich> the only fix is to drop to recovery, get to root, and remove the pam_u2f.so lines from /etc/pam.d/login && gdm-password
[15:02] <tuskkk____> electrostrong: ha! yeah!
[15:03] <TortillaSandwich> the behavior is uniform across TTY or GDM login windows. The yubikey is working because if you long-press the metal plate it'll drop your hash
[15:03] <TortillaSandwich> so it's simply as if the ubuntu install is ignoring pam_u2f.so, but still hung on the requirement
[15:04] <beuys> tuskkk____: I see. I don't know. Guess you have to google your way to success.
[15:04] <leftyfb> TortillaSandwich: what version of ubuntu?
[15:04] <TortillaSandwich> leftyfb: 21.04
[15:05] <TortillaSandwich> its frustrating because as long as you remain on the machine after configuration,it's fine. TTY auth works, GDM auth works. Rebook, kaput
[15:05] <TortillaSandwich> reboot*
[15:06] <leftyfb> TortillaSandwich: looks like the software for the yubikey as well as the pam_2f.so are created and provided entirely by yubikey. Your best bet is to contact them for support
[15:07] <ogra> TortillaSandwich, where is that tutorial you followed btw ?
[15:07] <leftyfb> TortillaSandwich: their instructions might not be updated for your specific version of ubuntu and might need to be modified slightly
[15:07] <ogra> right
[15:08] <TortillaSandwich> ogra:https://support.yubico.com/hc/en-us/articles/360016649099-Ubuntu-Linux-Login-Guide-U2F
[15:09] <leftyfb>  /etc/pam.d/sudo doesn't even exist by default in ubuntu. I think their documentation isn't up to date/accurate
[15:09] <TortillaSandwich> it does
[15:09] <ogra> yeah
[15:10] <TortillaSandwich> at least, on my install it was already there. I didn't create the file
[15:10] <leftyfb> oh, my bad it does
[15:10] <ogra> comes from the sudo package
[15:10] <TortillaSandwich> the entire thing works until reboot, tahts the weird part
[15:10] <ogra> it has a troubleshooting topic at the bottom ... did you try that ?
[15:11] <TortillaSandwich> yeah but nothing gets written after reboot
[15:11] <TortillaSandwich> it's like pam_u2f just... stops existing on reboot until you log in first
[15:12] <TortillaSandwich> if I set up again and run the debug rn, it'll produce logs. everything looks good in those logs, but the second you reboot. it all breaks
[15:12] <ogra> https://support.yubico.com/hc/en-us/articles/360018695819-Ubuntu-Linux-20-Login-Guide-Challenge-Response
[15:12] <ogra> looks like there is a special guide for 20.04+
[15:12] <TortillaSandwich> hmm.. interesting, let me look
[15:13] <leftyfb> yup, there's additional steps
[15:13] <leftyfb> well, config lines anyway
[15:16] <TortillaSandwich> origintopleft: where did you find this because i felt i scoured the main guide pretty close
[15:17] <TortillaSandwich> and no fault of anyone here obviously but this additional documentation is written super poorly lol
[15:17] <leftyfb> TortillaSandwich: if I type "yubikey ubuntu 21.04" into google, it's the 3rd result
[15:25] <dablitz> good morning channel. I was wondering if there is a way I can create a recovery partition something like what winblows has. I can create a image of my current setup using something like clonezilla
[15:26] <lotuspsychje> !borg | dablitz maybe this, see also !backup
[15:27] <TortillaSandwich> ogra: alright, lets see if this works... sudo worked, so rebooting
[15:28] <jmiahjones> dablitz: Also look into lvm/btrfs/zfs snapshots.
[15:30] <leftyfb> dablitz: I created an ansible playbook to rebuild a fresh install back to the way I like it. Dumping a snapshot only applies in some use cases, not for upgrading releases or fixing a problem which might exist in a snapshot
[15:32] <jmiahjones> leftyfb: I love the idea of ansible, but it's quite a paradigm to learn for system recovery.
[15:33] <leftyfb> jmiahjones: and well worth it. Once you get started and get some of the tricks figured out, it gets kind of addicting on how to accomplish the next task
[15:34] <leftyfb> I have 15k lines of code for mine
[15:34] <leftyfb> well, that includes some custom config files that get written
[15:36] <TortillaSandwich> aha!
[15:36] <dablitz> leftyfb, ok so here is my use case. I have converted my wife, mother-in-law, father, and brother over to ubuntu. I have been inadated lately with "please help me I messed something up!" phonecalls. What I am hoping to do is redo each of their computers, create a recovery image, and when they mess something up have them restore it back, kind of like a factory reset
[15:36] <TortillaSandwich> I think I spotted the issue.
[15:36] <TortillaSandwich> my home folder is encrypted and doesn't decrypt until login, and thats where yubico is storing the keys
[15:36] <TortillaSandwich> let me look at this
[15:36] <hoppity> Is there a way to show a title on top of the ubuntu terminal with some custom text? Such as:  "REMOTE SERVER"
[15:37] <hoppity> I find myself typing stuff on the wrong terminal constantly when I have several open
[15:37] <leftyfb> TortillaSandwich: you could stick the yubico stuff outside of the encryption
[15:37] <jmiahjones> leftyfb: One of these days I'll get around to it. Like I said, I love the idea of it. Right now I'm fighting with cloud-init in my LXD containers to get them configured the way I want.
[15:37] <TortillaSandwich> leftyfb: that's what im trying rn
[15:38] <leftyfb> jmiahjones: I have several profiles to rebuild lxd containers as well, All without the use of cloud-init, in fact I remove it at the beginning
[15:39] <leftyfb> dablitz: that sounds good on paper, not so much for the end user who maybe loses files and customizations (wallpaper at the very least)
[15:40] <leftyfb> jmiahjones: hell, I've got a profile to spin up a full functional "The Spaghetti Detective" lxd container which uses all docker in the lxd container
[15:40] <lotuspsychje> dablitz: what kind of things are they able to mess up exactly?
[15:42] <leftyfb> dablitz: you might spend more time re-imaging and then overlaying all the files, apps and customizations then you would if you either fixed the problems they run into or rebuild from scratch using something like ansible or salt
[15:42] <jmiahjones> dablitz: Automated backups are key, like lotuspsychje suggested. Lvm/btrsf/zfs snapshots are still helpful for freezing the system state at the time of the backup.
[15:42] <TortillaSandwich> alright, rebooting again... brb
[15:43] <ioria> hoppity,  PS1=$PS1"\[\e]0;REMOTE SERVER\a\]"
[15:43] <jmiahjones> leftyfb: mouth-watering
[15:44] <TortillaSandwich> lol, worked
[15:45] <TortillaSandwich> well, there we go. ogra thanks for the other link, though., that was clearly a missing step and once that was added the debugging data came in and made it evident that the file couldn't be found
[15:45] <hoppity> ioria: what is PS?
[15:46] <hoppity> ioria: thank you, I found the onlien reference for PS1 it's awesome
[15:47] <ogra> TortillaSandwich, awesome !
[15:49] <dablitz> leftyfb, oh I hear you on the loss of files. One of the reasons I have each system openvpn (on boot) to my house and thier /home folder is actually on my server. As for what is messed up and how they mess things up I am still trying to figure out. It took quiet some time to link their /home folders over to my server but at least they loose nothing. as for re-imaging loose of time. I leave that on them.
[15:49] <ioria> hoppity, ok (literally  ps1 = Prompt String One")
[15:49] <hoppity> ioria: thank you very much
[15:49] <ioria> np
[15:56] <agvantibo> Hello. I'm having a trouble with the default Ubuntu icon theme (Yaru) - the back to windowed mode icon is not present. I've located the issue by switching themes via gnome-tweaks (it worked and the icon was replaced), but I really like Yaru and simply switching the theme wouldn't be a solution for me. A google search of the issue yields no sensible results. Here are pictures of what happens:
[15:57] <agvantibo>  screenshot of media player that utilizes the icon - no icon with Yaru theme: https://i.imgur.com/w47Feqp.png
[15:58] <agvantibo>  screenshot of the same player in the same condition but with the Adwaita icon theme https://i.imgur.com/V971bAl.png
[16:00] <agvantibo> Here is the system version and other stuff. My system is 100% up to date. https://i.imgur.com/rPPDUCu.png
[16:03] <agvantibo> Anyone!?
[16:05] <ioria> agvantibo, you're using adwaita  .. not yaru
[16:09] <agvantibo> ioria, I've temporarily switched to adwaita to demonstrate the icon is present there
[16:10] <agvantibo> Here, look: https://i.imgur.com/Q0H3MT0.png
[16:10] <agvantibo> I've switched back to yaru.
[16:11] <nunya> Is there a way to preserve settings when switching desktop environments. Let's say I have Gnome and Wayland installed. I have a laptop with an external monitor. I have the external display as only monitor. When I switch from Gnome to Wayland and go back to Gnome my monitors are mirrored instead of just one monitor. Any way to preserve monitor settings in each environment?
[16:12] <nunya> I have Googled and didn't find any results.
[16:15] <agvantibo> nunya, Wayland and Gnome relate like an engine and a car. You don't switch from a car to an engine and vice versa. What's the other DE you are using? Or are you using Gnome with both X and Wayland? How do you switch between the two options?
[16:17] <agvantibo> And may I ask why do you even bother yourself switching to and fro? Are you a developer that tests apps to work with different configurations?
[16:18] <nunya> agvantibo: I switch environments via logout>login via lightdm>drop menu net to password field.
[16:19] <nunya> agvantibo: Seeing if games play better iun different environments.
[16:21] <agvantibo> Should be no perceivable difference really.
[16:22] <agvantibo> When it comes to fullscreen games, the windowing system doesn't really do much.
[16:23] <nunya>  agvantibo: I have one that lags and freezes and I'm trying to find a way short of installing proprietary graphics drivers or replacing HD with SSD.
[16:23] <agvantibo> Unfortunately, I have to go ImmediatelY, so I could not help you rn.
[16:24] <tomreyn> nunya: how is this related to HDD (?) vs SSD?
[16:25] <tomreyn> what you're saying about graphics drivers sounds like you may have an nvidia GPU? running with nouveau?
[16:26] <nunya> tomreyn: Swap memory using HD. SSD is faster.
[16:26] <tomreyn> so this system is short of memory?
[16:26] <agvantibo> Yes, windowing sys' and swapping don't co-relate.
[16:27] <nunya> tomreyn: when I check System Info it says I have Intel Graphics Card
[16:27] <agvantibo> That means you DEFINITELY aren't getting any advantage using wayland or X
[16:28] <agvantibo> IMHO Wayland is a bit buggier, and X is a bit bulkier.
[16:29] <nunya> agvantibo: Any way to keep from having freezes in game play with Ubuntu and Cinnamon other than changing graphics card or drivers?
[16:29] <tomreyn> nunya: i'd just focus on making things work well on either Xorg ("Gnome") if you're on Ubuntu < 21.04, or Wayland ("Gnome on Wayland") if you're on Ubuntu >= 21.04
[16:30] <tomreyn> Oh, Cinnamon? So not default Ubuntu. You'll probably want to stick to Xorg with either Ubuntu release for now, then.
[16:31] <nunya> tomreyn:Ok. The game taht is the problem doesn't work well in any environment. Any suggestions?
[16:32] <tomreyn> review log files, identify related error messages, search the web for those error messages (recent bug reports, similar Ubuntu versions, Kernel versions) to determine the root cause and possible workarounds.
[16:33] <tomreyn> that's the general approach to solving problems
[16:33] <CTtechie_>  /CHANNEL ADD -auto #Podnutz LiberaChat
[16:34] <CTtechie_> ugggg  ...freakin noob moce
[16:35] <tomreyn> nunya: if anything but this very game works well graphics-wise, then see if you can get logs from this very game first of all, and (maybe) report it to the developers.
[16:40] <leftyfb> CTtechie: please /part until you are done setting up and testing your client
[16:40] <CTtechie> leftyfb...I'm done sorry about that.
[16:41] <CTtechie> Moving over from Freenode
[16:42] <AryaK> Hi, I cannot install any ppas on my ubuntu server 20.04.3  LTS LXC container.
[16:42] <leftyfb> AryaK: got some error messages you can pastebin?
[16:42] <tomreyn> what's the command you're running? is there an error message?
[16:43] <AryaK> one sec
[16:43] <AryaK> uploading to pastebin
[16:44] <AryaK> https://pastebin.com/ip3h9E2N
[16:44] <AryaK> this is the log
[16:44] <AryaK> I try to enable quassel ppa
[16:44] <AryaK> this is the same thing that happens for all ppas.
[16:44] <tomreyn> according to this output, no
[16:45] <leftyfb> AryaK: that PPA does not support 20.04
[16:45] <leftyfb> AryaK: show another error if you've got one
[16:46] <tomreyn> the "any series" drop-down on https://launchpad.net/~mamarley/+archive/ubuntu/quassel lists the Ubuntu releases supported by this PPA
[16:46] <tomreyn> or their codenames rather than actual version numbers. Ubuntu 20.04 LTS "focal" is not listed.
[16:47] <AryaK> https://pastebin.com/ZALjJt2u same thing happens with alacritty ppa
[16:48] <tomreyn> no, this just repeats the error message since the quassel PPA is still configured and still broken
[16:48] <leftyfb> AryaK: there i no error message for the aslatter PPA
[16:48] <AryaK> oh ok
[16:48] <leftyfb> AryaK: remove the quassel PPA
[16:48] <AryaK> I havent used ubuntu in a long time. Apt skills are pretty rusty nowadays lol
[16:50] <AryaK> It worked
[16:50] <AryaK> where do i check a ppa's compatibility with ubuntu 20.04
[16:51] <tomreyn> see above, i explained
[16:51] <leftyfb> AryaK: on the PPA launchpad page as tomreyn pointed out to you above
[16:54] <AryaK> ig i will get the beta version that supports 20.04
[17:07] <ice9> guys please I need the md5 checksum of the 5.11.0-37-generic kernel and initrd please asap
[17:15] <lotuspsychje> ice9: what are you trying to do?
[17:15] <ice9> lotuspsychje, just need to know that info to compare something, can you help please?
[17:17] <genii> There will not be a set MD5 sum for initrd since it's created by update-grub locally after the kernel is installed
[17:18] <ice9> yeah but at least the kernel
[17:46] <devios> jmiahjones, beuys, leftyfb, ogra: thx
[19:03] <khushant> help
[19:04] <khushant> can ubuntu run in 2gb ram
[19:05] <khushant> hello
[19:07] <toddc> khushant: yes but not recommeded I have done on a small server not with a desktop
[19:08] <khushant> is there any linux distro for 2gb ram
[19:08] <khushant> and can run ms teams
[19:08] <khushant> for kids online class
[19:09] <Kel> khushant: there are variants for low-memory machines. LinuxLite might be a reasonable choice, based on Ubuntu. According to itsfoss.com Lite requires as little as 1gb ram.
[19:09] <toddc> not many distros are tested with ms teams that I know of but chrome and puppy linux would be my top distros to check for 2 GB
[19:10] <Kel> Your questions may be more well suited to #linux though as we tend to be specific to Ubuntu's core offerings here.
[19:10] <Kel> Teams also runs really well in Firefox or Chrome, so there's that.
[19:11] <toddc> khushant: while it may be possible 2gb will make it very limited usability
[19:12] <khushant> linux lite will be fine ?
[19:13] <Kel> khushant: it may be - claims it doesn't need very high specs.
[19:13] <Kel> https://en.wikipedia.org/wiki/Linux_Lite#Minimum_Recommended_Specifications%5B8%5D
[19:20] <jmiahjones> khushant: Similar specs for Xubuntu: https://xubuntu.org/requirements/. Seems they're over on #xubuntu
[19:23] <finch2021> hi everybody
[20:12] <goddard> does ubuntu have any app that can control the brightness on OLEDs?
[20:13] <goddard> https://extensions.gnome.org/extension/1625/soft-brightness/
[20:13] <goddard> this is the only thing that works
[20:15] <goddard> thank goodness this extensions exists
[20:16] <goddard> because i was going blind looking at my display
[20:16] <goddard> some OLED screens are so bright
[20:16] <tomreyn> what does xrandr list this screen as?
[20:17] <tomreyn> i mean which connector does it say it's connected to?
[20:18] <eruditehermit> hey, I have a question regarding multi monitor support. When I plug in an extra monitor and try to rearrange the monitor and/or change the DPI settings to 200% I get a popup that asks whether I want to keep or revert the changes. If I keep the changes, they never stick. If I hit revert, sometimes it keeps the changes. It's really weird. Any ideas?
[20:20] <tomreyn> your ubuntu release, graphical desktop / window manager, active graphics driver are?
[20:21] <eruditehermit> Ubuntu 21.04, intel GPU, gnome shell.
[20:21] <tomreyn> so that's gnome on wayland, i assume?
[20:21] <eruditehermit> Using wayland yes
[20:22] <tomreyn> hmm, i don't know about this one. but have you looked for bug reports on this, yet?
[20:23] <eruditehermit> tomreyn, yeah, I'm not able to find the right sequence of words to google to find a solution
[20:24] <eruditehermit> I've tried things like: ubuntu 21.04 multi monitor settings not saving. First result talks about nvidia
[20:25] <tomreyn> do you have configuration files in your $HOME which your user can't update?   find $HOME \( \! -uid $(id -u) \) -o \( \! -gid $(id -g) \)
[20:27] <eruditehermit> prints out a bunch of stuff in Trash folder
[20:27] <tomreyn> maybe there's something related at https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon
[20:29] <eruditehermit> ~/.cache/dconf and ~/.gvfs
[20:29] <eruditehermit> is .gvfs significant
[20:29] <tomreyn> also try this: run   journalctl -f    in a terminal window, keep it running; try to apply the change again; hit ctrl-c on the terminal window and review what was printed there the moment you tried to apply the change
[20:30] <tomreyn> both ~/.cache/dconf and ~/.gvfs might be relevant. the former you can safely delete, because it's just a cached file
[20:32] <eruditehermit> tomreyn, https://pastebin.pl/view/2c09a365
[20:32] <eruditehermit> can I remove .gvfs and logout/login and it'll recreate it?
[20:34] <tomreyn> hmm i got pastebin.pl blocked here since it is supposedly a malware / phishing domain
[20:34] <sarnold> probably no worse than any other pastebin site
[20:34] <tomreyn> probably
[20:34] <Kel> the debian pastebin is pretty nice - if basic as heck.
[20:35] <Kel> http://paste.debian.net - just for another alternative.
[20:35] <alkisg> .gvfs was a holding point for mounts; if it's just a directory and you can remove it with `rmdir .gvfs`, then yes, but don't `rm -rf` it
[20:36] <alkisg> (it since moved to /run/user/1010/gvfs)
[20:36] <eruditehermit> http://paste.debian.net/1214535/
[20:37] <eruditehermit> hmm, so sorry, I have a meeting for 30mins, will be back to check on suggestions then. I appreciate you all helping me
[20:40] <tomreyn> i don't see anything on the log that looks directly related. *maybe* the "[drm]" lines are.
[20:45] <tomreyn> eruditehermit: see whether this is still broken when you disable the ding@rasters extension and logout and login again.
[20:49] <tomreyn> oh "ding" is probably short for "desktop-icons-ng" (debian package gnome-shell-extension-desktop-icons-ng).
[20:54] <arooni_team_b> has anyone noticed on 20.04 that the latest version of brave c r a w l s when you're typing on the url bar quickly?
[20:57] <Kel> arooni_team_b: that happens to me in Vivaldi sometimes. Does the same happen in Chrome-actual and/or Firefox (just to test in something non-chromium)?
[21:14] <onion3000> hey y'all got a question about drivers/possibly kernel, is this the right place for that?
[22:11] <eruditehermit> tomreyn, going to logout and login again. Just disabled the extension
[22:20] <eruditehermit> tomreyn, same behaviour. I uninstalled the desktop-icons extension
[22:20] <eruditehermit> it's funny because if I hit revert, it sometimes saves the settings for a little while
[22:21] <eruditehermit> until I launch some application like slack
[22:29] <merpnderp> How do I open up port 22 and sushi?
[22:29] <merpnderp> sshd
[22:29] <merpnderp> I searched for a firewall app and nothing showed up
[22:29] <eruditehermit_> merpnderp, have you tried on your router?
[22:30] <merpnderp> eruditehermit_: I'm inside the network
[22:30] <danielssan> merpnderp: ufw should be installed by default
[22:30] <merpnderp>  /etc/ssh_config.d is empty. Does Ubuntu not come with sshd by default?
[22:31] <eruditehermit_> merpnderp, you have to install sshd
[22:31] <merpnderp> danielssan: does it have a UI?
[22:31] <merpnderp> eruditehermit_: okay, thakns
[22:31] <eruditehermit_> merpnderp, openssh-server
[22:31] <danielssan> merpnderp: you can install gufw
[22:31] <merpnderp> I do that with apt, right?
[22:31] <danielssan> yes
[22:32] <eruditehermit_> merpnderp, sudo apt install openssh-server
[22:32] <merpnderp> thanks again. Been a really long time since I've ran linux
[22:32] <merpnderp> Trying to set up ssh key logins
[22:32] <onion3000> hey I recently installed ubuntu on a dell laptop and have been running into the issue that the audio output device is only listed as dummy output, anybody know what I might try to solve this?
[22:33] <onion3000> I've tried adding snd-hca-intel.dmic_detect=0 to grub and it doesn't seem to do anything
[22:33] <merpnderp> Uncommenting publickeyencryption means you can only log in with keys, right?
[22:33] <danielssan> merpnderp: no you would also need to disable PasswordAuthentication
[22:34] <onion3000> same with snd-intel-dspcfg.dsp_driver=1
[22:34] <danielssan> but make sure first that the key works ;)
[22:34] <merpnderp> danielssan: sweet, that defaults to commented out
[22:34] <merpnderp> oh no, it defaults to no
[22:34] <merpnderp> I mean yes
[22:34] <merpnderp> SO I need to set it to no
[22:34] <danielssan> yes
[22:35] <merpnderp> chmod 755 on my pub key?
[22:35] <danielssan> no
[22:35] <danielssan> 600 merpnderp
[22:36] <eruditehermit_> it'll yell at you if it's anything other than 600
[22:36] <merpnderp> danielssan: thank!
[22:36] <merpnderp> So the firewall defaults to turned off?
[22:37] <danielssan> merpnderp: yes, so you can add rules before turning it on
[22:37] <danielssan> (optherwise you would lock yourself out)
[22:41] <merpnderp> well that socks. I just tired to ssh in and got prompted for my password
[22:42] <merpnderp> I must not have turned that off in sshd
[22:42] <danielssan> merpnderp: did you already copy over your public key/
[22:42] <danielssan> ?
[22:43] <merpnderp> yes
[22:43] <merpnderp> and changed it to 600
[22:43] <merpnderp> sshd_config has PasswordAuthentication no
[22:43] <danielssan> huh? so did you use ssh-copy-id or something else?
[22:43] <merpnderp> maybe I need to restart the service
[22:43] <danielssan> merpnderp: yes
[22:43] <merpnderp> I used a usb drive
[22:44] <danielssan> merpnderp: sudo systemctl restart sshd.service
[22:44] <merpnderp> Hmm, well now I'm getting permission denied.
[22:44] <danielssan> merpnderp: where?
[22:44] <merpnderp> From my ssh client
[22:45] <danielssan> so what did you do for copying your public key?
[22:45] <merpnderp> the .pub is only rw by the user
[22:45] <danielssan> oh, so you literally copied your .pub to .ssh?
[22:45] <merpnderp> I'm doing `ssh -I ~/.ssh/privkey myname@ip`
[22:45] <merpnderp> danielssan: yep
[22:45] <merpnderp> :D
[22:46] <danielssan> merpnderp: your key would be needed in ~/.ssh/authorized_keys
[22:46] <merpnderp> DOH
[22:46] <merpnderp> Thanks
[22:46] <merpnderp> Forgot
[22:46] <danielssan> with a permission of 644
[22:46] <merpnderp> wow, I have forgotten everything. tahnks
[22:47] <danielssan> merpnderp eh that's normal that you forget stuff if you don't use it on a regular basis
[22:47] <merpnderp> OMG OMG OMG, I'm in. I'm so excited!!!!
[22:47] <merpnderp> I'm so pumped. So rather dev on this linux machine.
[22:48] <merpnderp> Besides it being like 10x more powerful than my laptop
[22:50] <merpnderp> danielssan: lol, I'm so excited. Thanks again
[22:50] <danielssan> merpnderp: np :) hf
[22:57] <mactron> Hi
[23:20] <merpnderp> Do you have to use sudo with nvm? I'm doing nvm install node and getting a permission error in a .cache directory in my user's path
[23:21] <sarnold> merpnderp: I suggest using namei -l on the path to that .cache directory (or whatever path is throwing the permission error)
[23:21] <sarnold> you'll probably find that a directory has the wrong owner or permissions, perhaps from accidentally using sudo previously when it shouldn't have been used
[23:22] <merpnderp> It's RWX to everyone
[23:22] <merpnderp> and owned and group of my user
[23:23] <sarnold> and all directories above it?
[23:24] <merpnderp> yes
[23:25] <merpnderp> It's ~/.nvm/.cache/bin
[23:26] <merpnderp> Maybe I should try with su
[23:26] <sarnold> leaving it world-writable is inviting problems if that's actually a multi-user machine
[23:27] <merpnderp> Oh, it isn't world writable
[23:27] <merpnderp> That's the only one
[23:27] <merpnderp> which nvm returns nothing, but I can type `nvm` and execute it
[23:28] <merpnderp> lol, I just want to install node latest