[01:34] <trohrt> hello
[01:35] <trohrt> I am trying to setup a ubuntu server install on LUKS + BTRFS
[01:35] <trohrt> here is the script I wrote to setup and partition my hard drive http://ix.io/2DmO
[01:36] <trohrt> from what I am reading the ubuntu desktop installer "ubiquity" is a GUI that can see unencrypted LUKS devices when attempting to install ubuntu
[01:36] <trohrt> I cannot see the containers using the CLI ubuntu server installer for 20.04
[01:36] <trohrt> Would anybody be willing to assist me with this?
[01:42] <trohrt> is there a way to install a base system to a mountpoint using a cli command?
[01:42] <trohrt> similar to "pacstrap" on Arch Linux
[01:46] <summonner> bol, https://github.com/libratbag/piper/   the libratbagd might be your fix
[01:48] <ntborusa> hello all!
[01:53] <dmoerner> I used snap to install nextcloud. Recently, if I run snap start nextcloud, it times out saying it has exceeded the maximum runtime of 1m. How can I increase the maximum runtime or get more verbose information on this problem? snap start has no --verbose flag
[01:55] <dmoerner> Ah, I figured out the problem
[01:56] <trohrt> omg debootstrap exists
[01:57] <trohrt> i have not used ubuntu in damn near 4 years outside of work and we don't use much more than the standard installer + our post-install scripts :P
[02:13] <axilaris> hi, i need some help, my ubuntu web server is suddenly out of space
[02:13] <axilaris> i tried to rm some files. but i still see its full
[02:14] <axilaris> is there like a recycle bin like windows that i need to clear to free diskspace in ubuntu
[02:17] <Toadisattva> yes
[02:17] <Toadisattva> should be a trash icon on the desktop
[02:17] <Toadisattva> or in your file manager at least
[02:27] <jadax> hi I'm on Ubuntu 20.4, trying to get THE LINUX COMPATIBLE wifi brostrend ac1200 dongle, I installed rtl8812au driver, loaded it but my wifi usb card just doesn't show up as network device
[02:27] <jadax> lsusb lists it but that's about it
[02:38] <YWH_1>  In the package repository what does a dummy package mean and do?
[04:04] <jadax> is there a way to calibrate old TV connected over HDMI->composite adapter? I'm talking about adjusting screen boundaries
[04:23] <Hash> I deleted a mysql db using mysql cli client
[04:23] <Hash> any chance to undelete that db storage file from the disk/filesystem?
[04:50] <siwica> How can I save the systemd logs to multiple locations simultaneously?
[04:53] <Diamondcite> Open multiple terminal windows and connect via SSH?
[07:32] <Wh0amI_> olá
[07:34] <Wh0amI_> ai
[07:34] <Wh0amI_> dfcdf
[07:34] <Wh0amI_> d
[07:34] <Wh0amI_> fd
[07:34] <Wh0amI_> fd
[07:34] <Wh0amI_> f
[07:34] <Wh0amI_> dfd
[07:34] <Wh0amI_> f
[07:34] <Wh0amI_> d
[07:34] <Wh0amI_> d
[07:34] <Wh0amI_> f
[07:34] <Wh0amI_> d
[07:34] <Wh0amI_> fd
[07:34] <Wh0amI_> f
[07:34] <Wh0amI_> df
[07:34] <Wh0amI_> d
[07:34] <lotuspsychje> !ops | Wh0amI_ bad news
[07:34] <Wh0amI_> fd
[07:34] <Wh0amI_> fd
[07:34] <Wh0amI_> f
[07:34] <Wh0amI_> df
[07:35] <dax> Wh0amI_/nsi
[07:35] <dax> oop
[10:29] <havv> hi, all my network interfaces are down and I can't connect, what should I check? I have dual boot with windows on this machine and it works there
[10:34] <futurile> havv: has it ever worked? or are you installing for the first time?
[10:34] <rk4> `ip l` is a good start
[10:35] <havv> futurile, it did, I just booted it today and something's messed up, didn't see any errors in `systemctl status NetworkManager` or `dmesg`
[10:40] <futurile> OK, so you know it can work - something changed then. Check you haven't disabled wifi somehow - right click the networks icon (if you're using that) and try disabling/enabling.
[10:40] <futurile> there's also the wifi command, and as rk4 said check the try ip l to see the status
[10:46] <havv> everything is down, I tried `ip link set dev up`, but nothing happens
[10:46] <tomreyn> havv: what kind of network interfaces? ethernet? wireless?
[10:46] <tomreyn> did they come up on ubuntu previously?
[10:46] <havv> tomreyn, both and yes
[10:47] <tomreyn> are they still listed in lspci?
[10:47] <havv> they are, yes
[10:47] <tomreyn> (or lsusb if external / dongles)
[10:47] <tomreyn> does rfkill list the wireless one as blocked?
[10:48] <havv> I checked, everything is unblocked, but now I remembered that on thursday I ran a VM with libvirt and I did not use the default NAT option for networking, maybe it's got something to do with it
[10:50] <tomreyn> hmm, i think this should only be relevant if you chose to configure passthrough of the ethernet interface. or you have other leftover configurations from this experiment which prevent use of those interfaces on the host system now.
[10:51] <tomreyn> is this a desktop? which ubuntu version? or a different flavour?
[10:53] <bol> summonner: Thanks, I'll check it out!
[10:53] <havv> tomreyn, this is a laptop, plain ubuntu 20.04
[10:54] <tomreyn> havv: https://www.windowscentral.com/how-disable-windows-10-fast-startup
[10:54] <havv> I have dual boot with windows 8
[10:54] <tomreyn> it applies there, too, i think
[10:54] <tomreyn> you want this for dual-booting windows with anything else
[10:56] <tomreyn> yes, windows 8 also has fast startup. but windows support would be at ##windows
[10:57] <havv> I checked, it was disabled
[10:58] <tomreyn> so when you're back in ubuntu check what    nmcli d    and    nmcli c    says
[10:58] <tomreyn> does it list both interfaces, are both in state connected?
[11:09] <havv> ok, it's back now after I changed to VM network back to NAT from macvtap
[11:19] <futurile> havv: congrats!
[11:20]  * futurile remembers why he keeps copious notes when messing with stuff - nearly always some change you did a couple of days ago and forgot about
[11:59] <Coraxyn> Morning
[11:59] <lotuspsychje> welcome Coraxyn what can we do for you today?
[11:59] <Coraxyn> Running vanilla Ubuntu on 4k monitor.  Is it possible to increase size of title bar - font and icons?
[12:00] <Coraxyn> Lotus :)
[12:10] <Coraxyn> Exploding Cat
[12:10] <Coraxyn> :|
[12:13] <futurile> Coraxyn: you probably want fractional scaling - but I've never used it - https://www.omgubuntu.co.uk/2020/04/ubuntu-20-04-fractional-scaling-support-setting
[12:16] <saxin> In Ubuntu 20.04 i got the wireless working after following some steps on Github. RTL8812au. In Ubuntu 12.10 with the 5.8 kernel it no longer works. Is there any guide I can follow to get it up and running on the 5.8 kernel?
[12:29] <jeremy31> saxin: what github?
[12:29] <jeremy31> I hope you had a typo and you are using 20.10 with the 5.8
[12:45] <BluesKaj> Hi all
[12:45] <luna_> hey
[13:47] <ufk> if i have many files in a directory, ls -1 foo/_b_* may result with a big list of arguments.. is there some kind of a regex search in ls so i can do ^_b_.*$ something like that ?
[13:47] <mgedmin> you can ls -1|grep '^_b_.*$'
[13:48] <mgedmin> (the .*$ part is unnecessary; |grep ^_b_ would suffice
[13:48] <mgedmin> )
[13:48] <gordonjcp> mornign
[13:49] <gordonjcp> this is more of a generic Linux or even X question, but is there a way to lock the screen without it being able to accept a password, until you send an unlock command?
[13:49] <gordonjcp> or indeed, lock the screen but with a different password to the currently logged-in user?
[13:51] <NetBilly> Hello #ubuntu. I need help with my new intel nuc10i7fnh. Are there fixes for Sound and multi-HDMI output?
[13:52] <lotuspsychje> NetBilly: did you firmware update your nuc to latest?
[13:52] <NetBilly> I run this to fix sound "pacmd set-card-profile alsa_card.pci-0000_00_1f.3 output:analog-stereo+input:analog-stereo" but it seems to default back to wrong port, so I have to run it multiple times.
[13:52] <NetBilly> I updated firmware yes.
[13:53] <lotuspsychje> NetBilly: wich ubuntu release/kernel are you running please?
[13:53] <NetBilly> Linux Mint 20 - 5.4.0-52-generic
[13:54] <lotuspsychje> NetBilly: oh, mint has its own support channel, please visit;
[13:54] <lotuspsychje> !mint
[13:54] <NetBilly> thanks.
[13:55] <lotuspsychje> gordonjcp: there used to be the package 'sux' that let you run things from current user on another user, but its depraced, not sure whats a current workaround these days
[13:59] <Owl-City> can anyone look at this https://bugs.launchpad.net/ubuntu/+source/libfprint/+bug/1879247
[14:00] <lotuspsychje> Owl-City: seems like devs are busy on it
[14:01] <lotuspsychje> Owl-City: did you tr other ubuntu releases and/or kernels yet?
[14:02] <Owl-City> lotuspsychje it works with ubuntu 18.04 with kernel 4.15 and stopped working after I upgraded to 20.04
[14:03] <lotuspsychje> Owl-City: are you the creator of this bug?
[14:04] <Owl-City> no, I am looking for a solution or a hack to make the fingerprint work for this specific model, so far I found nothing
[14:05] <lotuspsychje> Owl-City: fingerprint support improved on ubuntu 20.10, an idea to test?
[14:06] <Owl-City> Ubuntu came as OEM os with my dell device but it's sad they don't provide any Support either
[14:06] <Owl-City> lotuspsychje yes sure
[14:06] <lotuspsychje> Owl-City: also, if you are affected by this bug, please mention a new comment this worked on kernel 4.15 on 18.04, can be useful for the devs
[14:07] <Owl-City> will do, thank you for your time :)
[14:08] <tomreyn> https://gitlab.freedesktop.org/libfprint/libfprint/-/issues/196
[14:08] <lotuspsychje> ouch
[14:36] <gordonjcp> lotuspsychje: hiya
[14:36] <gordonjcp> lotuspsychje: I wonder if that would do it
[14:37] <gordonjcp> lotuspsychje: for the avoidance of the XY problem, I want to be able to lock and unlock a screen "remotely" with maybe (not critical) the option to unlock it as an "admin" user
[14:44] <tomreyn> gordonjcp: to lock: dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock
[14:45] <tomreyn> i assume you can't unlock remotely.
[14:55] <tomreyn> gordonjcp: you rather seem to be looking for something along the lines of a kios mode though https://help.gnome.org/admin/system-admin-guide/stable/lockdown-single-app-mode.html.en
[14:57] <lotuspsychje> thats a good idea
[14:57] <gordonjcp> tomreyn: boom
[14:58] <gordonjcp> tomreyn: I knew someone would know
[14:58] <gordonjcp> tomreyn: no, it's not kiosk mode, I just need to lock a desktop
[15:05] <mgedmin> lock the screen then change the user's password ;)
[15:10] <gordonjcp> aha
[15:10] <gordonjcp> mate desktop, mate-screensaver-command has --lock and --unlock
[15:13] <trohrt> Would anybody here know if it were possible to enable an NFS file share to use Active Directory authentication on Ubuntu 20.04? I'd hope so but I'm not finding a whole lot with my google fu. Ubuntu server is joined to domain with realmd (using sssd backend and not winbind)
[15:14] <trohrt> I had a lot of issues with winbind, got it semi-functional, debut still had issues with credential caching and such. I moved to sssd but then I find out smb shares are not compatible with sssd :(
[15:17] <gordonjcp> trohrt: "not compatible with SSD" how exactly?
[15:17] <mgedmin> sssd != SSD
[15:17] <gordonjcp> ah, glasses on Gordon
[15:17] <trohrt> gordonjcp: https://sssd.io/
[15:17] <trohrt> :P
[15:18] <trohrt> from what i have to understand it has to do with SID mapping between domain users/groups + unix thru winbind OR sssd
[15:19] <trohrt> I am currently reading https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/windows_integration_guide/smb-sssd in an effort to find something helpful to my situation. people do this sort of stuff all the time in production i just don't know what pieces to use :P
[15:26] <TJ-> trohrt: you'll need to use Kerberos; NFS >> Kerberos >> Active Directory. This may help: https://fedoramagazine.org/secure-nfs-home-directories-kerberos/
[15:27] <trohrt> TJ-: i think that's exactly what i was looking for. thank you very much, i'll let you know how it goes. I was about to leave the domain and try going back to winbind *shudders*
[15:27] <trohrt> hopefully this allows me to share my media across my lan securely with AD auth
[15:28] <TJ-> trohrt: in case you're not aware; it is VITAL to keep all the system's clocks closely in sync so don't skip the NTP
[15:30] <trohrt> TJ-: on my arch linux client that I have authenticating with AD I have /etc/ntp.conf set to point to my domain controller - if i do that on Ubuntu that should take care of that right?
[15:31] <trohrt> with ntpd
[15:31] <TJ-> trohrt: yes
[15:31] <TJ-> trohrt: required because Kerberos relies on timestamping
[15:32] <trohrt> it is done. thanks for the reminder, that would have been frustrating as heck :P
[15:36] <trohrt> TJ-: kernel reports TIME_ERROR: 0x2041: Clock Unsynchronized
[15:36] <trohrt> i have my DC set as only server in /etc/ntp.conf
[15:41] <TJ-> trohrt: that's telling you the clock is currently not synced ... soon after starting it should gain sync. you'd get the same messages using "ntptime"
[15:42] <trohrt> did a dpkg-reconfigure tzdata. ntpdate -d HOSTNAME.domain.local resolves my domain controller manually
[15:43] <trohrt> should be good enough? Lol thanks again
[15:47] <blueeagle> Wow. Haven't been on here for a while. :) I'm trying to install roundcube on a server that has nginx installed already. However the package wants to install apache2 for some reason. Is there a way to apt-install it without having it put apache2 on my box? (other than manually installing it)
[15:48] <mgedmin> blueeagle: pass --no-install-recommends to apt
[15:49] <blueeagle> mgedmin: Still wants to install apache2
[15:49] <mgedmin> how does one expose php stuff from nginx?  with php-fpm maybe?
[15:50] <mgedmin> blueeagle: hm, the maybe some other transitive dependency pulls in apache2; try sudo apt install roundcube apache2-
[15:50] <mgedmin> it'll either do it, or tell you why it needs apache2
[15:50] <mgedmin> roundcube (in groovy) Recommends: apache2 | lighttpd | spawn-fcgi | php-fpm | httpd-cgi
[15:50] <mgedmin> err, roundcube-core
[15:51] <mgedmin> ah, it also Depends: libapache2-mod-php | php, so if you don't currently have 'php' installed, it'll try to pull in apache2
[15:52] <mgedmin> php (in groovy) depends on php7.4 which Depends: libapache2-mod-php7.4 | php7.4-fpm
[15:52] <mgedmin> so basically install php-fpm first and then roundcube shouldn't need apache2 any more
[15:54] <blueeagle> mgedmin: roundcube-core depends on libapache2-mod-php | php which I interpret as either libapache2-mod-php or php.
[15:55] <mgedmin> yes, and apt always installs the leftmost part of any alternative if none of them are already present
[15:55] <blueeagle> mgedmin: this seems to work> sudo apt-get --no-install-recommends install roundcube libapache2-mod-php- apache2-bin-
[15:55] <blueeagle> mgedmin: but will it leave roundcube in a "broken" state?
[15:55] <mgedmin> no, apt doesn't let you do that
[15:56] <mgedmin> did it install php-fpm?
[15:57] <blueeagle> mgedmin: php-fpm is already installed through tiny-cp
[15:58] <mgedmin> hm, then I don't really understand why apt was trying to pull in apache2...
[15:58] <mgedmin> ah, was the php package installed?
[15:59] <blueeagle> mgedmin: roundcube-core seems to depend on it?
[15:59] <blueeagle> I do not know.
[16:00] <mgedmin> because that was the other alternative dependency that could've pulled in apache
[16:00] <mgedmin> roundcube-core Depends: libapache2-mod-php | php, apt picks the leftmost one if neither is installed
[16:01] <mgedmin> (and then libapache2-mod-php depends on apache2 itself)
[16:01] <blueeagle> Hmm.. Well, php-fpm is installed. At least php --version yelds the version string.
[16:02] <ioria> blueeagle, you can always  download Roundcube from Github
[16:04] <blueeagle> ioria: I think you missed the first part of the conversation.
[16:04] <ioria> blueeagle, you want RC with nginx and not apache
[16:05] <blueeagle> ioria: the last bit of the orignal post was (without installing it manually)
[16:05] <ioria> oh, sorry
[16:05] <blueeagle> ioria: I know that I can install it manually, but I wan to communicate this to others without explaining how to install and configure this from scratch. :)
[16:06] <ioria> ok
[16:06]  * mgedmin doesn't really understand why people prefer nginx to apache2
[16:09] <blueeagle> mgedmin: This is more about learnign something new. :)
[16:14] <trohrt> mgedmin: i agree. though i have had some make the argument nginx gets better performance overall - not sure how accurate that is really, i never notice a difference lol
[16:15] <TJ-> I suspect most of the nginx vs apache arguments are from before apache + php could support event-based workers
[16:22] <blueeagle> TJ-: I am not sure that I agree. It is more like the bsd vs gnu/linux argument. Both can do the same thing, but in different ways.
[16:25] <TJ-> prior to Apache 2.4 its event model wasn't considered stable; whereas from the start nginx is designed to be event-driven; There was a time when the resouresources and performance of apache lagged behind nginx - often due to sites also requiring backward compatibility and use of PHP extensions that weren't stable with the event MPM
[16:27] <trohrt> TJ-: that makes a lot of sense when you think about the environment I work in... i don't have much more than amatuer-intermediate experience with this sort of thing and most of what i'm referencing right now is from what my coworkers have said to me about it. they have lots of webservers running on docker hosts between our 2 main offices. i'm just a "desktop services engineer" at the moment they
[16:27] <trohrt> don't let me code or manage anything linux heavily
[16:46] <cariveri> Hi. Some of my .desktop files wont offer the option of allowing execution. eventhough +x on the file. ubuntu 20 by upgrade from 18. Can anyone help?
[16:47] <mgedmin> desktop files are not meant to be executed
[16:47] <mgedmin> they're meant to be placed in ~/.local/share/applications/ where gnome-shell finds them and lets you e.g. pin them to the dock, or find them by typeahead search, or in the app grid
[16:48] <ioria> blueeagle,   apt-get install -s roundcube-pgsql roundcube nginx php php7.2-fpm   (on bionic, 7.4 if focal) does not install apache
[16:48]  * mgedmin doesn't remember how ~/Desktop/ icons work, maybe those are .desktop files too
[16:49] <mgedmin> ioria: would it work with an unversioned php-fpm (for distro version independence)?
[16:49] <ioria> mgedmin, idk
[16:50]  * mgedmin can't test because he already has apache2 installed
[16:50]  * mgedmin is too lazy to spin up a docker
[16:50] <blueeagle> ioria: Thank you. However all I appeared to need was libapache2-mod-php- apache2-bin-
[16:51] <ioria> i see
[16:51] <blueeagle> I use tiny-cp to set up mariadb and php-fpm, so now I am getting to grips with wild card subdomains to make webmail.* point to roundcube. :)
[16:52] <blueeagle> I did write this up when I was working on this for 20.04, but that was derailed by Covid, so here's to trying again.
[16:53] <cariveri> mgedmin: I used to use .desktop fiels as shortcut for, say, wine applications. afer the upgrade it stopped working. now I moved one to ~/.local/.share/applications but is not found in the dash/app grid.
[16:54] <mgedmin> no . in share
[16:55] <blueeagle> cariveri: Seems like that change came in 19.04 where .desktop-files stopped working. Some say that there should be an option to right-click the file and "Allow launching".
[16:56] <cariveri> blueeagle: yes but at the specific .desktop it wont show up. another did just fine.
[16:56] <cariveri> mgedmin: yes, share
[16:56] <EriC^^> cariveri: can you pastebin a sample of one that isn't working?
[16:56] <EriC^^> cat /path/to/file | nc termbin.com 9999
[16:58] <mgedmin> gnme-software is terrible in ubuntu
[16:58] <mgedmin> *gnome
[17:03] <RougeR> heya anyone able to help me t/shoot a DNS issue with ubuntu --> pfsense
[17:06] <cariveri> EriC^^: https://termbin.com/p3td
[17:07] <jeffrey_f> I was playing with the nvidia settings and now I'm getting gliching.  How do I default those settings?
[17:08] <blueeagle> mgedmin: Roundcube is loading fine. THank you for your help. Also thank you for your effort ioria.
[17:08] <mgedmin> o/
[17:09] <EriC^^> cariveri: all wine ones dont work?
[17:10] <cariveri> EriC^^: no, another worked fine.
[17:11] <EriC^^> cariveri: can you post the other one?
[17:11] <mgedmin> the Terminal=true looks a bit strange
[17:12] <cariveri> mgedmin: without does change.
[17:12] <giaco> ubuntu + external 4k monitor = bad
[17:13] <mgedmin> giaco: wayland or xorg?
[17:14] <cariveri> EriC^^: right now, non of the .desktop files work as they should. but at least another wine one allows the option to in the context menu.
[17:14] <EriC^^> cariveri: can you pastebin that file that works?
[17:14] <jeffrey_f> How do I revert NVidia settings to default?
[17:15] <giaco> mgedmin: xorg
[17:16] <mgedmin> giaco: wayland is supposedly better for HiDPI; especially if you want different scales on different monitors
[17:17] <EriC^^> cariveri: odd, for me that file you pasted has an allow executing, and if i chmod +x it, it changes name
[17:17] <giaco> mgedmin: yes, exactly
[17:17] <giaco> mgedmin: how to switch to wayland?
[17:18] <mgedmin> of course wayland has its own share of problems, e.g. currently chromium (and all other snap apps) don't work in ubuntu groovy unless you install libmutter from groovy-proposed
[17:18] <mgedmin> and don't let me start on nvidia
[17:18] <EriC^^> cariveri: i wonder why it likes some .desktop files but not other though, maybe the location they are in is the problem?
[17:18] <mgedmin> giaco: in the gdm login screen, after you enter your username and press enter, there's little cog icon in the bottom right that lets you choose "Ubuntu on Wayland" as your session
[17:18] <mgedmin> this choice is remembered on next login for the same user
[17:19] <giaco> mgedmin: on xorg scale must be equal on every monitor. Fractional scaling works but it introduces an horrible lag and gives a general bad feedback
[17:19] <mgedmin> it's my understanding that 4K monitors don't need fractional scaling, a 2x scale is more appropriate there?
[17:19] <giaco> mgedmin: thanks. I am already using nouveau drivers instead of nvidia ones, and the latter doesn't work with fractional scaling
[17:20] <mgedmin> my condolences on having nvidia hardware
[17:20] <giaco> mgedmin: sure but with xorg if you select 200% it goes 200% on all monitor, including the laptop one that is 1080p
[17:21] <EriC^^> giaco: ar eyou using --output ?
[17:21] <EriC^^> *are you
[17:21] <giaco> I'd be more than happy to stay on xorg + 200% on 4k and 100% on laptop monitor, but it seems that fractional scaling must be enabled for that
[17:21] <mgedmin> wait, fractional scaling allows independent scaling of each output on xorg?  neat!
[17:22] <giaco> EriC^^: I've been trying fiddling manually with xrandr, but I had no more success than with ubuntu's monitor settings or arandr tool
[17:22] <phox_> Hi! Could somebody help me double check that I'm ordering the right type of internal memory for my laptop? I have put the output from the program "dmidecode" in a pastebin, and would like like to know if it would make sense for me to buy a 4 or 8 gb internal memory stick. https://pastebin.com/W830EQEe
[17:22] <giaco> mgedmin: yes, on 20.04 you can enable flactional scaling and get different scales on different monitors on xorg
[17:22] <mgedmin> lol snap-store is also terrible
[17:23] <mgedmin> shows me a fake lxd snap update that 'snap refresh --list' doesn't see, spins the spinner forever with no progress when I attempt ro refresh the updates
[17:23] <mgedmin> giaco: cool!  shame it's slow
[17:23] <mgedmin> giaco: let us know how it goes with wayland!
[17:23] <mgedmin> (does wayland even work on nvidia?)
[17:23] <giaco> mgedmin: it is usable, if you don't mind that slow feedback feeling
[17:24] <giaco> mgedmin: I'm going to switch now. Let's see what happens
[17:25] <mgedmin> phox_: it says you currently have one 4 GB DDR4 SODIMM in one slot, and the other slot is empty -- is that right?  do you have 4 gigs total?
[17:26] <mgedmin> phox_: usually it's better to install the same SODIMMs in both slots, that way you get speedups from using them in dual-channel mode
[17:26] <cariveri> mgedmin: yes , weird. I have to get back to it later. thankas so far.
[17:26] <Saumax> good morning everyone
[17:26] <phox_> mgedmin, yes i have 4gb. i was unsure if that was the only slot or if i had two. It just looked to me like one slot was called "0" and the other one "2" so i was confused.
[17:27] <phox_> mgedmin, what do you mean by the same SODIMMs? should i upgrade both slots rather than to put 8gb ram in the free slot?
[17:27] <mgedmin> phox_: I meant same-size SODIMMs
[17:27] <Saumax> little question, is there any relative fast way to change all "ubuntu" pharses in ISO files or all packages using this string should be reconfigured separately?
[17:28] <mgedmin> phox_: but actually let me google/wikipedia, the thing about dual-channel might be outdated information
[17:28] <mgedmin> yeah, https://en.wikipedia.org/wiki/Multi-channel_memory_architecture#Dual-channel_architecture says this is still applicable to DDR4
[17:29] <giaco> mgedmin: ok, I'm on wayland now. Surprise surprise, I can get 100% and 200% on different monitors without enabling fractional scaling!
[17:29] <mgedmin> wayland ftw!
[17:29] <giaco> mgedmin: general feeling is good!
[17:30] <giaco> mgedmin: problem is, which problems should I expect?
[17:30] <mgedmin> hope you didn't plan to share your desktop because that doesn't work in wayland currently
[17:30] <phox_> mgedmin, thanks for looking into it. I'm not really a hardware guy so im not sure what you are referring to :P What is the pracctical implications of this? That it's better to have 4+4gb RAM rather than 4+8gb..?
[17:30] <giaco> so far I've been opening most apps and the only problem I've encoutered is terminal that says "Couldn't find synaptics properties. No synaptics driver loaded?"
[17:31] <mgedmin> phox_: well, you get faster memory bandwidth that way, but having more memory overall may be better thant faster memory bandwidth!
[17:31] <mgedmin> ideally get 2x8 GB or even 2x16 GB -- dmidecode said your motherboard supports up to 32 GB
[17:31] <futurile> Saumax: you probably want to give more context to what you're trying to do. Normally, "find a list of files and change the names" is the sort of thing that 'find' and 'xargs' are used for.
[17:32] <mgedmin> giaco: yes, wayland uses libinput rather than synaptics; gnome-control-center can handle that and you can use
[17:32] <mgedmin> hmm, maybe you can't use xinput
[17:32] <mgedmin> synclient has been deprecated for _years_ now
[17:33] <mgedmin> no, I think xinput should still work, via Xwayland
[17:33] <mgedmin> dunno, the settings available in gnome-control-center were sufficient for me
[17:34] <giaco> mgedmin: I also see that scaling is fake ... I have selected 100% on 1080p and 200% on 4k, gnome's settings are scaled, but firefox on 4k is still at 100% so everything is small. So scaling is a lie
[17:34] <giaco> the title bar, the button, everything is smaller
[17:35] <Saumax> futurile solely changing string is not problem by itself but this approach render unwanted consequences like broken packages and configs, my question is: is there safe method to change en masses file names containing "ubuntu" to "test"
[17:35] <mgedmin> giaco: scaling works well when applications are native wayland; firefox still uses xwayland by default
[17:35] <mgedmin> I've forced my firefox to use wayland by exporting MOZ_ENABLE_WAYLAND=1 in my .profile
[17:35] <mgedmin> so far I haven't noticed any problems
[17:36] <mgedmin> (there was briefly a time around firefox 71 where I had problems from forcing Wayland, but that was fixed in 72)
[17:36] <giaco> mgedmin: thanks!
[17:37] <futurile> Saumax: yeah, that's what I thought you might be asking. It's not to do with the 'files' on the disk, there's metadata in each package that has to be changed. There's ways to make a package and put a temporary name in it: edit the package source and add a temporary name.
[17:38] <mgedmin> I briefly played with fractional scaling on this laptop (1080p internal screen at 160 dpi + ultrawide 34" 1080p external at like 75 dpi), and gnome-web was the browser that handled things best, being a native wayland app
[17:38] <mgedmin> sharp text and everything
[17:38] <futurile> Saumax: you still won't be able to install your 'test' package into a place where you already have the 'ubuntu' one though. They'll be trying to put files in the same location.
[17:38] <mgedmin> had to stop using it after a while because slack didn't work and youtube couldn't change playback speed
[17:39] <mgedmin> in the end I gave up on fractional scaling and got used to the tiny text on this 13" 1080p screen
[17:40] <Saumax> futurile that what i thought, how about configuration files for example? like directories (usr/share/linuxmint/locale/) and so on?
[17:42] <futurile> Saumax: same problem, you can't install to a location that another package (the 'ubuntu' named one) without causing problems. It sounds like you need to look at the 'Debian or Ubuntu developer' set-ups - which show you how to create a chroot (and you can do things like bind mounts to test if your new package is working)
[17:43] <giaco> mgedmin: well firefox works nicely with that environment variable
[17:44] <futurile> Saumax: so you change metadata in the source package (ie change name to '-test'), then you use a chroot to do a test install, and then you can use bind-mounts or mess with your path to test it locally.
[17:45] <Saumax> quite a bit packages to plow through
[17:46] <mgedmin> giaco: if you use any snap-ified apps (e.g. chromium) and plan to upgrade to 20.10, maybe wait a few days for https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1897224 to be uploaded
[17:47] <giaco> mgedmin: I tend to avoid snap and also I tend to stay on LTS
[17:47] <Saumax> futurile if it comes to chroot i know how to use it, already created custom iso with some changes (additional apps / configs and so on)
[17:47] <mgedmin> but then chromium doesn't use wayland so scaling would not work right anyway
[17:47] <giaco> mgedmin: but you've just solved my home setup and I owe you one
[17:47] <mgedmin> just you asked for possible problems and I pointed this one out
[17:47] <futurile> Saumax: cool - well hope I helped
[17:47] <Saumax> oh surely you helped, now i must think what i can do with it
[17:47] <mgedmin> also I'm glad to hear that noveau is now capable enough to drive a 4K monitor at acceptable speeds
[17:48] <giaco> mgedmin: I can live with some apps not scaling properly. As long as firefox, terminal and telegram are scaled OK, I've covered 90% of daily usage
[17:48] <Saumax> to tell truth i wanted to create test distro just for sake of learning it
[17:48] <giaco> mgedmin: yes 4k@60Hz very smooth
[17:49] <futurile> Saumax: yeah, lots of people have created 'spins', might be some decent docs around about it
[17:49] <Saumax> and im starting to think if its not better to create one from bare minimum instead of basing on other distro
[17:50] <giaco> mgedmin: well, actually the laptop uses Optimus technology and is a muxless model, so primary card is intel and part of the rendering might be delegated to nvidia. Actually not sure if I'm on intel or nvidia for desktop rendering now
[17:50] <mgedmin> gnome-control-center -> Details -> Graphics
[17:52] <giaco> mgedmin: it says intel
[17:52] <mgedmin> I've never had a laptop with Optimus, but my understanding is that everything uses intel by default, unless the .desktop file has PrefersNonDefaultGPU=true, or you right-click and select the menu item to launch using optimus
[17:52] <mgedmin> I don't know if noveau supports optimus tbh
[17:52] <giaco> mgedmin: I can control per-app which gpu to use with DRI_PRIME=0 or 1
[17:53] <giaco> 0 is intel, 1 is nvidia
[17:53] <Saumax> futurile if you know some proper docs about custom distros then i would be more than happy to see them, meanwhile ill look for some myself
[17:53] <giaco> and it works: "DRI_PRIME=1 glxinfo | grep "OpenGL vendor string"" returns nouveau
[17:53] <mgedmin> oh cool!
[17:54] <giaco> also DRI_PRIME=1 MOZ_ENABLE_WAYLAND=1 firefox seems to work
[17:54] <giaco> but not sure how to test
[17:55] <EriC^^> Saumax: you probably want to head over to the linuxmint support channel and ask there for docs if you're using linux mint, in any case maybe you find this helpful too https://wiki.ubuntu.com/DerivativeDistroHowto
[17:55] <EriC^^> !linuxmint | Saumax
[17:56] <Saumax> ubottu EriC^^ oh don't get me wrong, i tested several ones, ubuntu, mint, fedora, arch - im not sticked to single one, just pasted directory from mint just because im running it on vm currently
[17:56] <EriC^^> Saumax: ah i see
[18:05] <giaco> mgedmin: I was benchmarking webgl on "DRI_PRIME=1 MOZ_ENABLE_WAYLAND=1 firefox" and kernel didn't like it  BUG: kernel NULL pointer dereference, address: 0000000000000008
[18:05] <giaco> immediatly after "nouveau 0000:01:00.0: Enabling HDA controller"
[18:06] <giaco> need to reboot
[18:07] <mgedmin> well that's fun
[18:08] <mgedmin> if you report that bug, it has a slight chance of getting fixed before the next LTS
[18:09] <phox_> mgedmin, i went ahead and ordered 2x8gb DDR4 SODIMM memory, thanks for the help =)
[18:25] <abbix> Hello
[18:26] <abbix>  /close
[18:58] <giaco> mgedmin: I find the font rendering much better in wayland
[18:59] <giaco> mgedmin: and performances are way better. Browser scrolling is much smoother than Xorg
[19:03] <mgedmin> nice!  wayland is supposed to be The Future!
[19:03] <mgedmin> of linux graphics
[19:04] <mgedmin> I am surprised tho that wayland has any effect on font rendering
[19:12] <sruli> i have an issue with apt update / install, it cant connect (tries ipv4 then ipv6) i can ping the ns and the ip without an issue i ran tcpdump on my firewall and when running apt it does not hit my fw, googled for the past few hours tried many solutions including disable ipv6
[19:13] <mgedmin> sruli: could it be that your apt is using a proxy, which is not reachable?
[19:13] <sruli> i never configured a proxy and did not find any proxies in my apt.conf.d files, not sure where else to llok
[19:14] <mgedmin> hm, maybe try running tcpdump on your machine
[19:14] <sruli> i tried i only see outbound packets no respoinses, but for ping the packets are fine
[19:21] <jwash> hi guys, how do i connect through a serial cable? i have a very old device which needs service via serial cable
[19:32] <bushmaster_> Hello, I am trying to install Java 14, JDK 14 SE in my Ubuntu 18.04.5 LTS
[19:33] <bushmaster_> it keeps saying E: Unable to locate package oracle-java14-installer
[19:33] <bushmaster_> can anyone help please
[19:33] <TJ-> sruli: can a web-browser, curl, or wget, access the same URLs that apt fails on?
[19:34] <sruli> hey TJ- its headless but i can ping it and can wget ubuntu.com
[19:36] <TJ-> sruli: try the exact URL to the package with wget. Use "apt-get -o Debug::Acquire::http=true {update|install pkg}" to get the exact URLs
[19:36] <TJ-> sruli: or, if using a https repo Debug::Acquire::https=true
[19:41] <sruli> TJ-: those are timing out too, but wget http://security.ubuntu.com/ubuntu/pool/main/i/ipset/ipset_6.34-1_amd64.deb does not work on that machine
[19:43] <sruli> TJ-: it gets stuck here "Connecting to security.ubuntu.com (security.ubuntu.com)|91.189.91.39|:80" but pinging the ip or ns works
[19:51] <tomreyn> sruli: in the tcpdump, do you see syn, syn/ack, ack?
[19:52] <tomreyn> sruli: is the virtualization you're using there properly forwarding packets?
[19:52] <tomreyn> jwash: you need to configure serial console support on the system to run one first of all.
[19:52] <TJ-> sruli: so, firewall rules blocking TCP
[19:54] <sruli> tomreyn: i dont see syn/ack mesages
[19:54] <TJ-> !info docker.io groovy
[19:55] <sruli> tomreyn: TJ-: the rest of traffic is working fine, i was able to wget some random files from different sites without an issue so its not a firewall issue
[19:56] <sruli> TJ-: INPUT/OUTPUT/FORWARD are all ACCEPT with no added rules
[19:57] <sruli> this works fine too wget https://releases.ubuntu.com/20.04.1/ubuntu-20.04.1-desktop-amd64.iso
[19:57] <tomreyn> could be different packet sizes, need for proxy-arp or the like
[19:57] <jwash> tomyren, ty
[19:58] <tomreyn> which virtualization is this, what's running on the host, which firewalls are in use where, how is networking setup, which ubuntu releases are being used where, default kernels for these releases?
[19:58] <tomreyn> sruli: ^
[19:59] <tomreyn> jwash: does it help, though?
[19:59] <jwash> tomyren: like this https://help.ubuntu.com/community/SerialConsoleHowto
[19:59] <jwash> i need to create the /etc/init/ttyS0.conf right
[20:00] <sruli> tomreyn: host if 18.04 GUI, kvm (libvirt) guest is 18.04 headless, all iptables rules are default (did not add any)
[20:00] <tomreyn> jwash: which ubuntu release is this? the documentation you found is probably outdated, except for the grub part
[20:00] <jwash> 20.04
[20:01] <sruli> tomreyn: the network on the guest is libvirt's NAT kernel is 4.15.0-54-generic, and on the host 4.15.0-112-generic
[20:02] <jwash> http://www.hastebin.net/kiwuvidyji.yaml
[20:02] <TJ-> sruli: are you doing the tcpdump in the guest, on the host, or both? also, which image was used to install the guest? There was a similar issue to this with default LXC/LXD container images some time ago where all by limited apt operations were blocked
[20:03] <tomreyn> jwash: add console=ttyS0 or console=ttyUSB0 to /etc/default/grub's GRUB_CMDLINE_LINUX and update-grub
[20:05] <tomreyn> GRUB_CMDLINE_LINUX="console=tty1 console=ttyS0,115200"
[20:05] <sruli> TJ-: i did a dump on host/guest and on the router, on the router i did not see any hits when running apt commands. the install image was ubuntu-18.04-live-server.iso (i see i also have images 18.04.{1,2} so it might have been one of those i have no way to know
[20:05] <jwash> tomyren like this: http://www.hastebin.net/idutitabyg.vala
[20:05] <sruli> TJ-: sorry postfix of -amd64 on those images
[20:06] <tomreyn> jwash: see the 'Modified /etc/default/grub' here: https://blog.wataash.com/ubuntu_console/
[20:06] <tomreyn> jwash: hastebin is broken, please use https://paste.ubuntu.com or termbin.com
[20:07] <TJ-> sruli: OK so likely not the LXD issue I mentioned. in which case it if the host sees the packets being routed out towards the router but the router doesn't receive them, there's either a firewall rule on the router, or a routing issue on the host
[20:08] <sruli> TJ-: there is a firewall on the router, but it allows apt commands from my host and all other traffic from the gusts, no clue how to find what might be blocking this
[20:08] <tomreyn> jwash: notbly, you don't need to configure a getty, systemd should automatically spawn one when it detects those grub lines
[20:08] <TJ-> sruli: can the host do a wget that the guest fails on?
[20:08] <TJ-> if so, the problem is in those 2
[20:09] <sruli> TJ-: yes the host works fine
[20:10] <TJ-> OK, so then the issue is most like the host then
[20:10] <TJ-> sruli: what does "sudo iptables -t nat -nvL FORWARD" and/or "sudo ip6tables -t nat -nvL FORWARD" report?
[20:10] <TJ-> sruli: my bet is there's a broken/missing libvirt chain and/or rule
[20:11] <TJ-> sruli: ignore that, wrong commands
[20:11] <sruli> TJ-: "iptables: No chain/target/match by that name." i got no FORWARD chain in my nat table
[20:11] <TJ-> sruli: what does "sudo iptables -t nat -nvL " and/or "sudo ip6tables -t nat -nvL" report?
[20:11] <jwash> tomyren: https://paste.ubuntu.com/p/rKDBmm8qcw/
[20:13] <sruli> TJ-: https://termbin.com/bdrs the ip6 tables has no rules just ACCEPT chains
[20:13] <tomreyn> jwash: "I'm trying to recover password as instructed on page 13"?
[20:14] <jwash> yes https://download.schneider-electric.com/files?p_File_Name=ASTE-6Z6K56_R0_EN.pdf&p_Doc_Ref=SPD_ASTE-6Z6K56_EN&p_enDocType=User%20guide
[20:14] <jwash> for my apc ap7900
[20:16] <tomreyn> jwash: so you'r enot actually trying to access the ubuntu system with a serial console, but to use the ubuntu system to connect to the serial console provided by the "apc ap7900"?
[20:16] <jwash> correct
[20:17] <tomreyn> jwash: glad you'Re pointing this out. :)
[20:17] <jwash> sorry
[20:17] <tomreyn> no need to make any changes to grub then
[20:17] <tomreyn> undo those
[20:17] <jwash> ok
[20:17] <jwash> will change back
[20:18] <TJ-> sruli: looks like those DNAT rules are responsible; usually libvirt creates its own chains
[20:18] <jwash> fixed
[20:18] <tomreyn> jwash: also remove /etc/init/ttyS0.conf if you created it
[20:18] <jwash> removed
[20:18] <tomreyn> jwash: so you've got a classic rs-232 to rs-232 port direct connection?
[20:18] <tomreyn> or via usb, and on which end?
[20:19] <jwash> serial to serial
[20:19] <jwash> one end is a true serial, other is a phone type connector
[20:19] <sruli> TJ-: those dnat rules are to access one of the VM's its added by a hook when the vm starts.
[20:19] <tomreyn> RJ-25?
[20:20] <sruli> TJ-: i will shut down that VM which should clear those rules and try from another VM
[20:20] <TJ-> sruli: "tcp dpt:80 to:192.168.122.98:80" will likely be the culprit
[20:21] <tomreyn> jwash: do you have the original cable that cam with the device?
[20:21] <jwash> rj-12
[20:21] <jwash> i think the one i have is the original
[20:22] <sruli> TJ-: I NEED TO SCREAM ;-)
[20:22] <TJ-> jwash: I had to make up a longer cable for one of those recently, RJ12 (6p6c)
[20:22] <tomreyn> jwash: so just install minicom, configure the port, and connect
[20:22] <tomreyn> configuration is: 9600 bps, 8 data bits, no parity, 1 stop bit, and no flow control,
[20:23] <TJ-> jwash: doen't the PDU have Ethernet ?
[20:23] <jwash> https://paste.ubuntu.com/p/VngmzyDf47/
[20:23] <jwash> it does
[20:24] <TJ-> jwash: you need to reset the password then?
[20:24] <jwash> but I can't find the connection port for ethernet
[20:24] <jwash> yes
[20:24] <jwash> i've held down the reset button for 15 secs
[20:24] <sruli> TJ-: what can I do about "tcp dpt:80 to:192.168.122.98:80" i kinda need that rule
[20:24] <jwash> but it seems like it isn't restarting
[20:24] <tomreyn> jwash: it's /dev/ttyS0 (upper case S)
[20:25] <sruli> TJ-: this issue is with the source 80 or dst 80?
[20:25] <TJ-> sruli: limit it to a specific interface that doesn't clash
[20:26] <jwash> bingo
[20:27] <jwash> i had to do /dev/ttyS0
[20:27] <jwash> thanks for looking at this with me
[20:27] <tomreyn> you're welcome
[20:27] <jwash> cool, i have  login console, now for the reset
[20:29] <jwash> nice, worked perfectly
[20:32] <sruli> TJ-:  i did not need this rule "tcp dpt:80 to:192.168.122.98:80", removed it all is working fine
[20:32] <sruli> TJ-: tomreyn: many thanks
[20:33] <tomreyn> you're welcome
[20:50] <sruli> TJ-: was nice hearing from you.. it's been a while
[21:20] <samdragon> hello, I'm having wifi issues on ubuntu 20.04 and I'm not sure how to debug. I have tried a number of things like updating the system, installing backport-iwlwifi-dkms, uninstalling that package, installing the intel wifi driver from their website, disabling the N band, disabling power saving mode. but the issue persists where after sustained wifi usage the conneciton will degrade and I'll get a bunch of errors in the dmesg
[21:20] <samdragon> output.
[21:21] <EriC^^> samdragon: what error msgs?
[21:21] <EriC^^> !paste | samdragon
[21:24] <boredguy> hello
[21:25] <boredguy> I just noticed the icon for the app launcher on ubuntu budgie is missing in the top panel.
[21:25] <boredguy> Any idea how to get it back? I can't launch any apps without it.
[21:26] <samdragon> Eric: https://paste.ubuntu.com/p/Gmc7h9DyS4/
[21:34] <samdragon> I see two different MAC addresses in the dmesg logs, it times out to the first one, lets say MAC_ADDR_ABC and then auths successfully against the second one. but when I run `arp -n` I see the MAC_ADDR_ABC listed
[21:34] <EriC^^> samdragon: try using these settings https://bbs.archlinux.org/viewtopic.php?pid=1918191#p1918191
[21:35] <EriC^^> also somebody mentioned when not using 5ghz they have no issues, maybe also worth a try
[21:36] <jeremy31> samdragon: How are you disabling power management?
[21:39] <samdragon> I have a file /etc/modprobe.d/iwlwifi-3options.conf : https://paste.ubuntu.com/p/ts4N24XJPp/
[21:40] <samdragon> i'd prefer to use the 5g band because I live in an apt and have heard 5g is better for less congestion in crowded places
[21:40] <EriC^^> samdragon: i think there's a typo there, im guessing it's supposed to be 0? 11n_disable=8
[21:41] <jeremy31> 11n_disable=8 enables aggressive TX
[21:41] <EriC^^> samdragon: shouldn't it be "1" though to disable ?
[21:41] <EriC^^> oh
[21:41] <samdragon> so I can add those other opts to that conf file. how can I verify that file is getting read tho?
[21:42] <samdragon> yea I had seen both 8 and 1, and when I looked at the actual settings in use (by reading some file in /sys I believe) it was already set to 1, so I'm overriding it to 8 in the modprove conf file
[21:43] <jeremy31> samdragon: in terminal>  grep [[:alnum:]] /sys/module/iwlwifi/parameters/*
[21:44] <EriC^^> samdragon: yeah you can add the other options, i guess you can use /sys to see if they're loaded
[21:44] <jeremy31> samdragon: what does this command show>  cat /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
[21:45] <samdragon> params and NM conf : https://paste.ubuntu.com/p/fQ2WDFkGk5/
[21:47] <jeremy31> samdragon: Is this one of intels 9200 series?
[21:48] <samdragon> its an AX1650i https://paste.ubuntu.com/p/fjqwBWN3NJ/
[21:48] <samdragon> killer wifi bro
[21:48] <samdragon> lol
[21:49] <samdragon> the intel driver is keying off this part tho I think: 201NGW
[21:50] <samdragon> https://www.intel.com/content/www/us/en/support/articles/000005511/network-and-i-o/wireless.html
[21:50] <jeremy31> samdragon: see https://askubuntu.com/a/1046682/300665 and run the first group of commands, 7 of them to install the latest Intel backports, then reboot
[21:50] <TJ-> samdragon: no, the alias matches the device ID - "lspci -nn -d ::280" the last bit between [ and ]
[21:54] <samdragon> those instructions for building the latest backports locally, I've never run them but is that the same as installing backport-iwlwifi-dkms?
[21:54] <jeremy31> samdragon: backport-iwlwifi-dkms is likely an older version
[21:56] <samdragon> ok I'll try installing the latest from that git repo
[21:56] <samdragon> for my curiosity, how do you know that the dev id that you need for the lspci command is 280?
[21:57] <jeremy31> samdragon: If you have the same issue after installing those, use the email address on "modinfo iwlwifi | grep author" and contact Intel devs
[21:57] <TJ-> samdragon: that's the class ID for wireless network devices
[21:58] <jeremy31> Intel actually uses the main and subsystem IDs as they have too many products
[22:05] <samdragon> ok thanks!
[22:44] <Begetable> can someone help me change directory to a usb drive i plugged in? i can't figure that out
[23:19] <circuitbone> Begetable:  Did you `cd /media` ?
[23:19] <Begetable> circuitbone, got it. thanks for the reply!
[23:19] <circuitbone> np m8
[23:19] <Begetable> :)