[00:10] <bryguypgh> I can't get lightdm to start. Using the radeon driver, tried to install amdgpu drivers but they were terrible so I reverted.
[00:10] <bryguypgh> Now it segfaults at x startup
[00:11] <bryguypgh> but the weird thing is it worked at first after amd uninstall; I think it failed after first reboot
[00:11] <TheFatherMind> I like to clone my system with clonezilla before fucking with it.
[00:12] <bryguypgh> xorg log is unhelpful, it segfaults after RADEON(0) Setitn gscreen physical size
[00:13] <bryguypgh> there's another issue though, I can't uninstall libvulkan1
[00:16] <Nyle> ubuntu takes 300+ MB of ram on boot.
[00:16] <Nyle> That's no good.
[00:17] <humpled> would you like it to use more?
[00:17] <Nyle> no. less
[00:17] <humpled> don't you have enough?
[00:17] <Nyle> Nope. Just 1GB
[00:17] <humpled> me too
[00:17] <humpled> but i use xfce desktop
[00:17] <Nyle> oh this is a vps
[00:17] <Nyle> 18 lts
[00:18] <Nyle> my desktop is 10 year old core 2 quad and 8gb ddr2
[00:18] <humpled> really just console it's 300MB?
[00:18] <Nyle> Well, it's got nginx, serving up one static site, and php running (barely used)
[00:18] <Bashing-om> bryguypgh: Can you boot to the login screen and activate a virtual terminal ( ctl+alt+F2) ?
[00:18] <bryguypgh> yes
[00:19] <Nyle> I started with the smallest vps, if in case I need to scale up, I can increase it.
[00:19] <Nyle> Now I'm trying to move an exim4 server from rackspace to digital ocean
[00:19] <Nyle> I've got all the configs backed up, user maildirs backed up
[00:20] <Nyle> Going from 16 lts to 18 lts while moving email servers
[00:20] <humpled> eep
[00:20] <Nyle> Yup.
[00:20] <Nyle> Just talked to rackspace API and extracted 30 domains in bind9 format
[00:20] <Nyle> Trying to figure out cloudflare api to I can import them there
[00:20] <bryguypgh> I tried xinit from there. I get a message about LLVM failing to compile a shader, then a backtrace  (xorg libpthread libc.so radeonsi_dri.so) and Fatal Server Error: Caught signal 6
[00:20] <Bashing-om> bryguypgh: Great - pastebinplease ' /var/log/gpu-manager.log | nc termbin.com 9999 ; sudo lshw -C display | nc termbin.com 9999 '.
[00:21] <Nyle> I think 300mg for nginx/one static site, mysql, etc. is not bad.
[00:21] <Nyle> I see a lot of processes from lxcfs. I wonder what is that
[00:21] <Nyle> htop shows a lot of mysql proceses I wonder why
[00:22] <Nyle> it's rarely in use. In fact it's only installed there, it's not even in active use.
[00:22] <Nyle> I was planning on using it late
[00:27] <bryguypgh> termbin.com/9e08r termbin.com/htp5
[00:31] <Bashing-om> bryguypgh: So far looks good - but, "
[00:32] <Bashing-om> Number of connected outputs for /dev/dri/card0: 2". What results when the external display is disconnected ?
[00:32] <Enj0y> hello
[00:32] <bryguypgh> i mean, i have two monitors so thats expected
[00:33] <bryguypgh> you want me to disconnect one or both? I tried turning off one earlier an dgot the same results
[00:34] <Enj0y> anyone ever heard about a problem with video and audio playback, when using HDMI audio as output ?
[00:35] <Bashing-om> bryguypgh: My point is the driver not knowing to drive 2 monitors - reduce to simplest terms. Also anything from ' lsmod | grep amdgpu ' ?
[00:38] <bryguypgh> nothing in lsmod | grep amdgpu but there was a few boots ago; i did an rmmod and added modprobe.blacklist=amdgpu to /etc/default/grub kernel command line and it hasn't come back
[00:39] <bryguypgh> I also deleted all the vulkan packages (that's what led me to install amdgpu in the first place)
[00:40] <bryguypgh> i did manage to remove libvulkan1 after removing kio and its dependencies
[00:46] <Enj0y> I guess no one knows :/
[00:47] <Bashing-om> bryguypgh: did you ' sudo apt purge mesa-vulkan-drivers vulkaninfo vulkan-utils ' ?
[00:47] <bryguypgh54> i did apt-get remove on them
[00:49] <bryguypgh54> should I reinstall then purge perhaps?
[00:51] <Bashing-om> bryguypgh54: Let's "look" at what autoremove reveals - ' sudo apt -s --purge autoremove '. where 's' is to (s)imulate but do not do.
[00:52] <bryguypgh54> 0
[01:08] <Bashing-om> bray90820: Away for a spell - I will return in about 30 minutes.
[01:11] <bray90820> Wrong ping but ok
[01:13] <tomreyn> looks like bryguypgh54 timed out there.
[01:14] <tomreyn> Enj0y: it's so unspecific, i doubt that's going to work out. :-/
[01:15] <Enj0y> tomreyn, I can be more specific then; when using HDMI as my audio output, video and audio are played faster than they should (sounds like chipmunks
[01:16] <tomreyn> Enj0y: i haven't heard of it, but did you search launchpad, yet?
[01:16] <Enj0y> if mid-video I switch to a USB headset, video then plays at normal speed and audio sounds normal, if I switch it back to HDMI then it's sped up again.. it's doing that on every distros, any kernel...
[01:17] <Enj0y> I've searched everything :)
[01:17] <tomreyn> any distro, any (linux) kernel, does it happen with other OS?
[01:17] <Enj0y> on Windows it's working fine, it only happens on linux
[01:20] <tomreyn> maybe something codec related, do you get any possibly related errors or warnings in a temrinal where you started the playback application, or in another terminal where you run "journalctl -f" before playing it back and keep that open until after playback?
[01:20] <Enj0y> I've tried messing around with pulseaudio, grub (arguments), it's doing the same on both Xorg and Wayland
[01:21] <frib> How can I get gcc 4.3 on ubuntu? Is there a repository with it?
[01:22] <tomreyn> probably too old
[01:22] <frib> 4.8 is in the standard repository
[01:22] <tomreyn> the oldest you can get is 4.7 on xenial
[01:23] <Enj0y> tomreyn, no errors
[01:23] <tomreyn> why do you need such an old version?
[01:23] <tomreyn> frib: ^
[01:23] <frib> well I really just want to compile the earliest versions of bitcoin
[01:23] <frib> but it throws all kinds of errors
[01:24] <tomreyn> Enj0y: hmm, maybe during audio device / monitor initialization when the system starts up (journalctl -b)
[01:26] <Enj0y> tomreyn, looking at it right now, is there anything that should be obvious if there was something wrong ?
[01:27] <tomreyn> Enj0y: maybe if you just look for errors:   journalctl -n3 -b
[01:27] <tomreyn> Enj0y: maybe if you just look for errors:   journalctl -p3 -b
[01:27] <tomreyn> sorry, p, not n
[01:28] <tomreyn> replace 3 by 4 to include warnings, too
[01:32] <Enj0y> ah
[01:32] <Enj0y> Sep 27 19:03:09 localhost.localdomain gnome-shell[2081]: Failed to CRTC gamma: drmModeCrtcSetGamma on CRTC 47 failed: Permission denied
[01:33] <Enj0y> that's the only thing related to audio/video during boot
[01:36] <tomreyn> that's not it, though. so nothing during udev or pulseaudio or display initialization?
[01:36] <Enj0y> nope
[01:37] <tomreyn> then i'm out of ideas.
[01:37] <Enj0y> thanks for trying :) I've been searching for weeks now and I still have no idea
[01:53] <Casper26> Casper26
[01:54] <tomreyn> tomreyn
[03:05] <doug16k> does "mounting with ordered data mode" mean full journalling or just metadata journalling?
[03:06] <doug16k> "[    4.707018] EXT4-fs (nvme0n1p2): mounted filesystem with ordered data mode. Opts: (null)"
[03:08] <doug16k> sounds like full journalling but that would be unexpected, since I don't say anything like that in fstab. does it just do full journal because it is nvme?
[03:11] <doug16k> ah I see now, confusing terminology. "journal data mode" means data journalling, "data" means metadata journalling, "writeback" means no journalling. right? :(
[04:47] <Exuma> im trying to use ubuntu on google cloud, and eth0 is missing, does anyone know what that might be from
[04:48] <immu> hi
[04:48] <immu> have i joined the offical ubuntu support channel
[04:48] <immu> EriC^^,  hi
[04:48] <EoflaOE> immu: This is official, so ask your question here
[04:49] <immu> was just confirming thanks
[04:49] <immu> EoflaOE,
[04:49] <TheFatherMind> LOL *that* was his question.
[04:50] <c|oneman> Please fill out the short survey at the end of the call
[04:50] <EoflaOE> immu: You are welcome.
[04:51] <Bashing-om> Exuma: "eth0" is old identifier - what release is this? try 'ls -l /sys/class/net/' to see the network name.
[04:52] <Exuma> Bashing-om : ens4 and lo
[04:52] <Exuma> I am using google lcoud, and trying to set up a dante socks5 proxy so i can connect to an SFTP server
[04:52] <Exuma> i cant even get dante to connect, all the tutorials just say "eth0" but i dont ever see that
[04:52] <Exuma> i see "nic0" in google cloud but its not listed in ifconfig. i also assigned a static IP address
[04:53] <Exuma> not connect, i just mean the server wont start because it can't find eth0
[04:57] <Bashing-om> Exuma: As you can see there is no eth0. Point to the corrrect interface name - be aware that "ens4" doesnotalsolookrighttome---mine is "enp0s8".
[04:57] <Exuma> Bashing-om .. silly me. I just pointed it to "ens4" and the server booted. Thanks, i should have guessed that
[04:59] <Bashing-om> Exuma: :D - Things change .
[05:00] <Exuma> Bashing-om ok one more question -- im not sure if you know much about dante but if i run netstat -nlpt it says its listening on "10.x.x.x" should i make it 0.0.0.0 instead?
[05:00] <Exuma> tcp        0      0 10.142.0.2:1080         0.0.0.0:*               LISTEN      3860/danted
[05:02] <Bashing-om> Exuma: the 10.x.x.x. is your LAN address. And nope know nothing of setting up Dante.
[05:02] <Exuma> ok thanks Bashing-om
[05:03] <Bashing-om> Exuma: Be aware the local loop is no longer 0.0.0.0 .
[05:03] <Exuma> haha
[05:04] <Exuma> Bashing-om ok one last question. I need to open porn 1080 I believe, to allow the socks5 server to be reached from otuside world. how might i do that?
[05:08] <doug16k> s/porn/port/   ftfy
[05:12] <eraserpencil> Would anyone know how i could manage multiple monitors without  Window Manager?
[05:12] <eraserpencil> I mean without a display manager*
[05:13] <Bashing-om> Exuma: can not advise on opening that port. You will do well to read these docs ->
[05:14] <Bashing-om> !netplan | Exuma
[05:14] <eraserpencil> I did a minimal install and installed I3wm where I3 starts only after i do a 'startx'. Xrandr --listmonitors does now show my external monitor, only the screen my laptop has.
[05:28] <jeanchris> I'm so glad I just got an old thinkpad and put Ubuntu on it. Reminds me of the olden days when I was a Linux addict...
[05:29] <EoflaOE> jeanchris: Any problems?
[05:29] <jeanchris> not really. sorry is this a support only channel?
[05:30] <EoflaOE> jeanchris: This channel is only for support. Discussion go to #ubuntu-discuss.
[05:30] <jeanchris> Ok
[05:31] <EriC^^> hi immu
[05:53] <natmal> So I'm using Apache 2.4 on Ubuntu 18.04 LTS, and I'm looking to override the default settings in mods-available/ssl.conf. I have other settings configured in a custom config in conf-available (which is enabled), but it seems that config is loaded prior to any of the module configs, so the defaults effectively override my overrides.
[05:53] <natmal> Is the proper approach to modify ssl.conf directly?
[05:56] <TheFatherMind> Yeah I think this is easy for you.
[05:56] <TheFatherMind> First of all.. you are in the wrong room for this question.
[05:57] <lotuspsychje> TheFatherMind: apache is a supported official package in ubuntu
[05:57] <TheFatherMind> However... the answer is easy.  You symlink them into the available folder right?  They read them in numeric then alphabetical order.  So just make sure it reads the override one after.  Name it something starting with a "t" or greater in the alphabet or rename the symlink for the ssl.conf to 0-ssl.conf
[05:57] <TheFatherMind> Fair enough.  (:
[05:59] <natmal> I felt my question was Ubuntu-specific (Debian-specific?), because it has to do with the specifics of the directory layout and the default configuration. I've been using Gentoo for more than a decade for this sort of thing, which doesn't use conf-*, mods-*, sites-
[05:59] <natmal> *, etc.
[05:59] <TheFatherMind> natmal turns out I was wrong about that.  Sorry.
[06:00] <natmal> What I'm not understanding is why, if my overrides are in conf-*, and the defaults are in mods-*, and apache2.conf loads mods-* before conf-*, that my overrides seem to be getting ignored.
[06:00] <TheFatherMind> Anyhow my solution should still work for you.  Give it a shot.
[06:00] <TheFatherMind> Hmmmm I see what you mean.
[06:01] <natmal> Running "apachectl -t -D DUMP_INCLUDES" is showing my config file loading after the defaults from mods-*.
[06:02] <TheFatherMind> I have not used Apache in a while.  try putting your settings in the mods folder before the ssl file and see if that changes it?
[06:03] <TheFatherMind> So there is no settings file for ssl in the conf folder?
[06:03] <TheFatherMind> Did you try grepping the folders to be sure?
[06:04] <natmal> There's an ssl.conf (establishes default settings) and an ssl.load (loads the module) in mods-*.
[06:05] <TheFatherMind> Well.. if I were you... I would try loading a conf before it to see what happens.  and if that STILL does not have the desired affect I would edit the ssl.conf file and remark out whatever was pissing me off.  But that may not be the correct path to follow.  I will shut up now.
[06:09] <natmal> Okay, just me being stupid. I was looking at the wrong VM. :3 Thank you for trying to help.
[06:10] <hans_> is the phpmyadmin package covered by the security team?
[06:19] <TheFatherMind> LOL I love it when magical mysteries get solved.
[06:20] <TheFatherMind> natmal I have made the same mistake.
[06:25] <Mikjaer> I am having a weird issue with osd_cat ... i have two apperently similair installs in virtualbox, and in one of them the command works in the other it doesn't, and by not working i mean that it runs, show nothing on the screen, and then waits for a couple of seconds, flashes the screens and exists the command, as would be normal behaviour if it had worked. I've checked for missing dotfiles and packages, ri
[06:25] <Mikjaer> ght now im reading an strace to try to figure out what is going wrong, does this sound familiar to anybody?
[06:37] <tiox> No gksu in Ubuntu means no numix-folders to modify the Numix theme since it requires gksu. Is there a fake-gksu I can install which uses gvfs backend or some other means using sudo as fake gksu for packages requiring gksu in this instance?
[07:33] <pabed> how should  I reset password ubuntu 18.04 password , when I booted from  ubuntu-18.04.1.0-live-server-amd64.iso it goes for installing an it doesn't appear recovery mode
[07:39] <ducasse> pabed: you can start it in recovery mode from the grub menu
[07:40] <EriC^> pabed: start the normal ubuntu in recovery mode as mentioned, (grub > advanced > recovery) then press on start networking, then "drop to root shell" and once you get a prompt type "passwd <your username>" and set it
[07:48] <pabed> ducasse, EriC^: thanks alot I had to use SHIF for entering recovery mode
[07:51] <ducasse> pabed: so now you're all set?
[07:54] <pabed> ducasse: yes , I took a root access in the grub mode and then I changed the user's password with " passwd user "
[07:55] <ducasse> pabed: good to hear, have a nice day :)
[07:55] <pabed> ducasse: you too
[07:55] <hans_> 18.04's postfixadmin package defaults to $database_type="mysql"; in /usr/share/postfixadmin/config.inc.php , but 18.04 ships with PHP 7.2, and the "mysql" database driver doesn't work with PHP versions above 5.6, the 7.X compatible database driver is called "mysqli" - since 18.04 doesn't use php 5.6, the default should be the php7-compatible "mysqli", not "mysql"
[07:56] <ducasse> hans_: you should probably report that in a bug, there's little we can do
[08:25] <hans_> ducasse, doned, https://bugs.launchpad.net/ubuntu/+source/postfixadmin/+bug/1845771
[09:11] <cluelessperson> caffeine, which is supposed to keep ubuntu unlocked, doesn't seem to work at all
[09:15] <hans_> cluelessperson, maybe you're just not using enough caffeine?
[09:19] <cluelessperson> hans_, I tried running it 100 times
[09:19] <hans_> with 100 beans?
[09:31] <Regor> i am getting error on mpd +ncmpcpp  setup  .   please help .
[09:32] <Regor> using ubuntu bionic  i am getting error  :**  ncmpcpp .  connection refused  .  No active MPD connection
[09:32] <Regor> http://paste.debian.net/1103098/
[09:49] <nikolam> why LAN adapters enp3s0, enp4s0 on "ASUS P5W DH deluxe" motherboard (Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 20)), does not come up after standby?
[10:00] <omarek> Hi, I have no sound in a game(Snakebird) in Ubuntu 18.04 (Bionic Beaver). Sound otherwise works on the system.
[10:00] <bobbyperu> hi, does anyone know how to config ubuntu server networking when running on macos virtualbox?  im trying to get the ubuntu to connect to the internet, and the macos to connect to the ubuntu on a fixed ip, but cant get it to work.
[10:00] <omarek> ldd Snakebird.x86 doesn't list any missing libraries, although I had to install a couple :i386 packages to make it work.
[10:00] <export> bobbyperu: sounds like an issue with the VM software
[10:01] <omarek> Pavucontrol doesn't show any muted volume bars etc, I checked it out pretty thoroughly.
[10:01] <bobbyperu> export: its probably me to be honest.  i think both virtualbox and ubuntu are working correctly
[10:01] <omarek> Snakebird runs with sound in Debian 10, I have two systems in my house.
[10:02] <omarek> Any tips restoring the sound in 18.04?
[10:03] <export> bobbyperu: i've seen some super strange stuff happen with virtualbox's network settings usually more with qemu but i'd look into it just to be sure.
[10:03] <hans_> omarek, know what game engine it's using?
[10:06] <omarek> hans_: quick googling tells me Unity 4
[10:08] <omarek> The game doesn't print any error messages or anything suspicious when running.
[10:09] <omarek> I'm running the version from Humble Bundle Store, not Steam.
[10:12] <hans_> where can i find apache2 mod_php in 18.04?
[10:13] <hans_> nvm found it, libapache2-mod-php
[10:18] <omarek> How do I debug when I have no sounds in one application (game) only?
[10:25] <nikolam> omarek, I had problem with no sound recognized in Skype the other day. It resolved with restart or shutdown/on . If game is proprietary (closed source), maybe to ask for game producers for manual and/or sound settings, or reboot
[10:27] <nikolam> bobbyperu, As I understand this is question for #vbox channel. As I understand your host os os MacOS and guest is Ubunut, so it's more Host/VBox related.
[10:28] <nikolam> Incidently, I use Ubuntu as host OS and ubuntu server as guest OS now, I made networking by giving to it 2 virtual NIC, one to get internet over NAT and another to use bridged networking and then assigned fixed IP in local LAN range during ubuntu install and it works.
[10:38] <omarek> I just solved it.
[10:38] <omarek> To fix sound in Snakebird, I also had to install libpulse0:i386
[10:39] <omarek> There was no error message or any hint that it might be needed other than 1) Linux typically uses pulseaudio these days 2) the game is 32bit.
[11:29] <BluesKaj> Howdy folks
[11:30] <parak0vsky> look friends
[11:31] <parak0vsky> am using this method in my setup to do what needs to be done, but something in the system keep reverting control state back, am looking for a permanent solution http://xahlee.info/linux/linux_capslock_do_home_key.html
[11:43] <irgendwer4711> hi, at linux boot cryptswap asks for a password, how to avoid that?
[11:47] <ioria> irgendwer4711, do you have home folder encrypted ?
[11:47] <irgendwer4711> ioria: yes, ext4, but its another disk
[11:48] <ioria> irgendwer4711, 16.04 ?
[11:48] <irgendwer4711> no, 19.04. I had this before working on my other computer.
[11:48] <ioria> irgendwer4711, mmm,  try sudo apt install --reinstall ecryptfs-utils    and  sudo update-grub ... see if it fixes it
[11:48] <irgendwer4711> its not ecryptfs
[11:49] <ioria> and what ?
[11:49] <irgendwer4711> ext4
[11:49] <ioria> ext4 is a fs
[11:49] <irgendwer4711> yes and it has encryption
[11:50] <irgendwer4711> more faster then ecryptfs, I had on my old computer
[11:51] <ioria> irgendwer4711, i lost something ....  what kind of encryption (i mean what package) are you using ?
[11:51] <irgendwer4711> fscrypt
[11:51] <ioria> irgendwer4711,  ok, try install --reinstall that  and run sudo update-grub
[11:52] <irgendwer4711> are you sure, thats related?? cryptswap is something with devicemapper
[11:53] <ioria> irgendwer4711,  https://askubuntu.com/questions/1010891/system-keeps-asking-for-cryptswap-password
[11:53] <irgendwer4711> thats not related
[11:54] <ioria> ok
[11:54] <irgendwer4711> not this my home
[11:54] <irgendwer4711> but surprisely that ecryptfs-utils is install.
[11:54] <irgendwer4711> *ed
[11:55] <irgendwer4711> should be a mistake, I transferred package list from old computer
[12:01] <irgendwer4711> I rebuild grub and initrd, so I do a check now...
[12:05] <irgendwer4711> ioria: didnt help :-(
[12:06] <ioria> irgendwer4711,  check sudo blkid  and /etc/crypttab  they should match
[12:07] <irgendwer4711> ioria: I already checked
[12:10] <irgendwer4711> btw I used cryptswap0 instead of cryptswap1 like on my old computer.
[12:10] <ioria> irgendwer4711,  in /etc/crypttab  it's in use the UUID or the /dev/disk/by-id/ link for the swap ?
[12:10] <irgendwer4711> uuid
[12:11] <cryogenng> Can anyone help me build an installer with a custom kernel? I can't figure the process out at all
[12:11] <ioria> irgendwer4711,  you can try with the  /dev/disk/by-id/ link
[12:11] <irgendwer4711> cryogenng: what is an installer for a kernel?
[12:12] <cryogenng> irgendwer4711: an ubuntu installer, with a kernel built from source I've modified
[12:13] <irgendwer4711> ioria: I think there is something other wrong. cryptswap should generate its own key
[12:14] <irgendwer4711> cryogenng: Ubuntuo has already tools for that
[12:14] <cryogenng> irgendwer4711: can you please point me in the right direction?
[12:15] <irgendwer4711> cryogenng: make bindeb-pkg. and there is a parameter too, for not building a source package
[12:16] <irgendwer4711> oh wait bindeb-pkg is alreay without source
[12:18] <irgendwer4711> cryogenng: or you could go the older way with make-kpkg
[12:18] <irgendwer4711> both will give you a deb package
[12:18] <cryogenng> irgendwer4711: I'm sorry, I might not be understanding, but how does that help me?  I have a .deb for the kernel already, but what I don't know how to do it install (from an iso) with that kernel - essentially the problem is that my hardware requires a change in the kernel to see the disk controller
[12:19] <irgendwer4711> ahh, a rescue mission
[12:19] <irgendwer4711> boot with CD or net. copy debs on the target disk, make a chroot and install.
[12:20] <irgendwer4711> why dont you have a distro kernel left?
[12:20] <cryogenng> to be clear, the system is blank at the moment, I want to put ubuntu on it from scratch
[12:22] <irgendwer4711> then you would like to use debootstrap
[12:26] <cryogenng> that looks indeed like what i need, so I can do something like install a base system to a usb or something, install my kernel to that system, and then debootstrap from there to the hard disk once it's recognised?
[12:27] <irgendwer4711> maybe. you can install direct on your disk
[12:27] <irgendwer4711> what ever you are trying to do....
[13:03] <jarnos> Why is adding repositories by add-apt-repository so slow currently?
[13:04] <jarnos> Oh "Error: retrieving gpg key timed out."
[13:04] <jarnos> But it used to work at least in previous LTS release.
[13:05] <eraserpencil> Hi! How would I go about managing external monitors without a Display Manager?
[13:06] <eraserpencil> I'm on a minimal install where i run 'startx' to start I3wm on my laptop. xrandr --listmonitors only detects the screen of my laptop
[13:28] <flog> I wrote a script that controls my laptop screen backlight. the problem is that the script writes to a file owned by root. How do I add an exclusion to allow to run the script without sudo?
[13:29] <eraserpencil> visudo
[13:29] <flog> I've tried reading up on /etc/sudoers but I cant get it to work.
[13:30] <flog> shouldnt <user> ALL=NOPASSWD:/path/to/script just work?
[13:31] <eraserpencil> https://www.maketecheasier.com/edit-sudoers-file-linux/
[13:32] <al2o3-cr> flog: username ALL = (root) NOPASSWD: /path/to/your/program
[13:34] <flog> al2o3-cr: tried but no change still not allowed to execute without root
[13:35] <eraserpencil> did you place your edit at the last line of the file?
[13:36] <flog> Not at the very end no, but before #includedir /etc/sudoers.d
[13:36] <al2o3-cr> flog: yeah, make sure it written after everything else.
[13:36] <al2o3-cr> sudo uses the last entry
[13:37] <flog> Do i need to to tell sudo to re-read the config or something?
[13:39] <eraserpencil> i dont recall so.
[13:39] <flog> Hm.
[13:39] <al2o3-cr> no, there is no need, sudo checks it everytime.
[13:39] <eraserpencil> you're sure it's the last line of your visudo file?
[13:40] <flog> Now it is at the bottom.
[13:40] <flog> However maybe the problem is something else.
[13:40] <flog> The script is owned by root and writes to a file owned by root.
[13:40] <flog> Can execute the script now but it semes to fail when writing to the file.
[13:41] <flog> doesnt the sudo privs propagate through the script?
[13:41] <eraserpencil> oh I read it wrongly.
[13:41] <flog> I've only add what al2o3-cr suggested.
[13:42] <eraserpencil> this script of yours edits a file owned by root?
[13:42] <al2o3-cr> flog: is your script executable?
[13:42] <flog> my script is executable
[13:43] <flog> yes, the script edits a file owned by root
[13:43] <al2o3-cr> this should be working then.
[13:43] <al2o3-cr> hmm....
[13:44] <eraserpencil> you may wanna try adding that file to visudo
[13:45] <bryguypgh> I'm using the default drivers for my radeon and it only detects one display (mirrored on two screens), how can I make it see the second display properly? Do I need different drivers?
[13:46] <eraserpencil> there's a better way of doing it, but i'm not 100 % certain yet
[13:46] <flog> eraserpencil: script still fail
[13:46] <flog> on the line that writes to the file
[13:47] <amosbird> hi, when will ubuntu use glibc 2.29
[13:48] <eraserpencil> bryguypgh: did you try the Displays program? or you could tell me what xrandr --listmonitors show
[13:49] <bryguypgh> yes diplays only shows one display. List monitors says monitors 1 (0: +default ...)
[13:49] <bryguypgh> it worked fine before I uninstalled and reinstalled xorg
[13:49] <bryguypgh> i had a problem with amdgpu drivers and X wouldn't start so I nuked it and started over
[13:49] <flog> eraserpencil: hm already put the script in /usr/local/bin which seems to be in Defaults secure_path already.
[13:50] <flog> not sure if that could cause a conflict
[13:50] <deadbit> Would you guys recommend using eMacs over VIM?
[13:50] <bryguypgh> now it seems to work but just detects one display
[13:50] <deadbit> I'm much more familiar with VIM than emacs but i have heard it's making a huge market change for ubuntu scripting.
[13:50] <eraserpencil> bryguypgh: thats beyond me. someone with better skills might help
[13:51] <deadbit> bryguypgh: what's the problem?
[13:51] <deadbit> also, does anyone in here use emacs?
[13:52] <dbugger> Does anyone know how to solve problems with artifacts in the screen? https://askubuntu.com/questions/1177226/artifacts-when-returning-from-suspend
[13:52] <eraserpencil> flog: It's a bash script? I believe it's the line where it edits the file owned by root that is tripping everything for you
[13:52] <flog> eraserpencil: it is a bash script and yes it is failing at that line.
[13:52] <bryguypgh11> browser crashed there for a sec in case you replied
[13:53] <bryguypgh11> might have missed
[13:54] <flog> eraserpencil: still fail
[13:55] <eraserpencil> would you wanna share the script?
[13:55] <flog> Sure thing
[13:55] <bryguypgh11> it looks like I'm using llvmpipe according to glxinfo
[13:55] <bryguypgh11> dont know how to enable radeon
[13:57] <deadbit> bryguypgh11: are you trying to invoke the driver for mutli display support?
[13:57] <bryguypgh11> yes but also the llvm driver is slow
[13:59] <flog> eraserpencil: https://paste.ubuntu.com/p/95px6XszVq/
[14:00] <deadbit> bryguypgh11: what do you mean by slow?
[14:00] <deadbit> I want to better understand what the behaviour is.
[14:01] <bryguypgh11> scrolling nad moving windows is choppy, because I appear to have no hardware acceleration
[14:02] <bryguypgh11> I disabled the fglrx drivers in the "additional drivers" section a bit ago in an effort to solve the dual monitor issue
[14:02] <bryguypgh11> they aren't there to re-enable any more
[14:02] <bryguypgh11> I just want whatever the current "blessed" radeon driver is for my card but all the guides say it should be enabled by default
[14:02] <bryguypgh11> lsmod doesn't show amdgpu or radeon
[14:04] <bryguypgh11> what I don't understand is pretty basic; how does X figure out what driver to use in the first place?
[14:05] <amosbird> hi, how can I decompress a package built with dpkg-deb -Z none  ?
[14:06] <bryguypgh11> I used to expect it in an xorg config file years ago but that seems to have been superseded
[14:06] <bryguypgh11> (and an X config file before xorg)
[14:09] <eraserpencil> flog: would you like to give this a try? https://unix.stackexchange.com/questions/37875/how-to-add-a-line-to-a-file-which-has-only-root-write-permission-and-to-continue
[14:10] <deadbit> does x turn it all over to systemd now
[14:10] <al2o3-cr> flog: we can try a different way if you like?
[14:10] <flog> sure
[14:11] <deadbit> bryguypgh11: lspci | grep vga turns up what?
[14:11] <al2o3-cr> delete the entry you put in /etc/sudoers
[14:11] <deadbit> find /dev -group video
[14:11] <deadbit> glxinfo | grep -i vendor
[14:12] <bryguypgh11> VGA compatible controller: AMD INc. Bonaire XTX [Radeon R7 260x/360]
[14:12] <deadbit> so it detects it.
[14:12] <bryguypgh11> yes
[14:12] <flog> al2o3-cr:done
[14:13] <bryguypgh11> it sees the card but will only load the llvm renderer, don't know how to get it to load radeon or amdgpu
[14:13] <deadbit> bryguypgh11: ls /etc/x11/xorg.conf
[14:13] <al2o3-cr> flog: sudo chown root:root path/to/your/script.sh
[14:13] <deadbit> and grep LoadModule /var/log/Xorg.0.log
[14:13] <bryguypgh11> there's no xorg.conf htere
[14:13] <flog> al2o3-cr: its already owned by root
[14:14] <bryguypgh11> the logs shows a list of several and radeon is the third one
[14:14] <al2o3-cr> ok, then: sudo chmod 4775 path/to/your/script.sh
[14:15] <bryguypgh11> in the log there is this: open /dev/dri/card0: no such file or directory
[14:15] <flog> al2o3-cr: still wont work.
[14:15] <bryguypgh11> falling back to old probe method for modesetting
[14:16] <deadbit> huh... so basically we just have to append the correct driver.conf
[14:16] <al2o3-cr> flog: restart the shell and try again.
[14:16] <flog> just a new terminal should be fine right?
[14:17] <al2o3-cr> sure
[14:17] <flog> Script still fails at editing the file
[14:17] <al2o3-cr> flog: the file is definitely owned by root?
[14:17] <bryguypgh11> going to try reinstalling the radeon driver package
[14:18] <flog> both the script and the file its editing yes
[14:18] <al2o3-cr> something is not right here.
[14:24] <al2o3-cr> flog: change lines echoing values to; echo val | tee -a /sys/class/backlight/intel_backlight/brightnes
[14:24] <flog> al2o3-cr: but not intel though :)
[14:25] <al2o3-cr> no 8) i was test mine :P
[14:25] <flog> got to go, but ill try later. Thank for your help.
[14:25] <al2o3-cr> ok np
[14:33] <WinterNight> Hello. Are Ubuntu still spying? I want install Ubuntu Desktop for my clients. https://www.gnu.org/philosophy/ubuntu-spyware.html
[14:46] <tomreyn> WinterNight: calling this "spying" is a bit of an opinion, i'd say. we could discuss this more in #ubuntu-discuss or in private, if you like - it doesn't really fit here.
[14:50] <MannyLNJ> I am getting ready to install Ubuntu 19.04 on my second drive. I have Windows installed on my first drive and Windows put it's reserved partiton on the second disk. Is there anything I need to look out for?
[14:52] <tomreyn> don't overwrite the windowzy stuff if you want to keep it working. ;)
[14:52] <tomreyn> are you booting in uefi or legacy bios / csm mode?
[14:52] <tomreyn> make sure those systems boot the same way.
[14:52] <MannyLNJ> tomreyn, I wasn't planning on that but I know I have to do manual partitioning because the second drive can't be reformatted. I am using UEFI
[14:53] <tomreyn> with uefi, ubuntu will always use the first efi system partition it finds, not what you choose / setup in the installer.
[14:54] <MannyLNJ> tomreyn, I don't see any partitons marked EFI in disk manager so then I have to assume I am incorrect and am in Legacy Bios mode
[14:55] <tomreyn> first make sure oyu know how windows is installed then, and then install ubuntu the same way
[14:55] <tomreyn> i think windows can be migrated to uefi booting also somehow, maybe consider that, too. but thats more something for ##windows
[14:56] <MannyLNJ> tomreyn, /sda1 is one full NTFS partition /sdb1 is showing as  607MB  NTFS partition then sdb2 is a 194MB ExFAT that shows as unknown then /sdb2 is my 406MB Free Space so this leads me to think I am using legacy.
[14:58] <MannyLNJ> But I am going to boot into windows and check I will be back
[15:02] <amosbird> Hello, any ubuntu docker that has systemd?
[15:04] <amosbird> https://hub.docker.com/r/jrei/systemd-ubuntu
[15:05] <tomreyn> your question is unclear to me. ubuntu uses systemd, so when you use docker on ubuntu, you use docker with systemd.
[15:06] <amosbird> tomreyn: I mean the ubuntu docker image
[15:06] <amosbird> guest
[15:06] <amosbird> not host
[15:06] <tomreyn> i see, i'm not into docker images.
[15:12] <Sven_vB> amosbird, it might well be that you have to install systemd your own.
[15:12] <Sven_vB> amosbird, you could be the first to publish such a docker image then.
[15:13] <Sven_vB> what would you use that systemd for, btw? maybe docker has other mechanisms that can do it.
[15:21] <amosbird> for testing systemd units
[15:22] <mgedmin> lxd might be easier for that maybe?
[15:22] <mgedmin> docker is for application containers, not system containers
[15:26] <Tesagk> W: GPG Error: http://repo.mongodb.org/apt/ubuntu xenial/mongodb-or/3.4 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BC711F9BA15703C6
[15:26] <Tesagk> Does that mean that it didn't do the initial bit for installing mongodb?
[15:27] <tomreyn> it means that you did not setup this third party apt repository properly, yet. i.e. you have not imported their repository signing key
[15:28] <Tesagk> Weird, that was the first command I did.
[15:33] <tomreyn> Tesagk: be sure not to run this on an internet connected system
[15:33] <Tesagk> https://pastebin.com/ASjMBSfr
[15:33] <Tesagk> It's a virtual machine in VMWare, it is connected to the internet through bridging though.
[15:34] <tomreyn> the software you'd install from this repository was last updated Thu, 19 Dec 2013 00:41:46 -0500
[15:35] <tomreyn> and obviously i would not want to trust this dsigning key.
[15:35] <tomreyn> but we don't rrally support third party repositories here anyways
[15:36] <Tesagk> The link I'm using doesn
[15:36] <Tesagk> 't
[15:36] <Tesagk> seem to have a date, which is problematic.
[15:57] <mmkumr> I have already installed gtk 3.0 but whenever I am running make command it is showing error "termite.cc:32:10: fatal error: gtk/gtk.h: No such file or directory". I can also checkout my Makefile:- https://pastebin.com/ZyVPNMCJ.
[16:24] <Tesagk> If a software instruction asks you to check a log file, the contents should show up in nano, right?
[16:25] <Tesagk> nvm, answer is yes. I needed to run with sudo.
[16:36] <Tesagk> How do I jump to the root directory? cd ~ seems to bring me to a random place between root and my html folder.
[16:37] <EriC^> Tesagk: cd /
[16:39] <Tesagk> EriC^ Thank you
[16:47] <__raven_> how to get hardware functions to work on a md99480 tablet computer with ubuntu 19.04
[16:55] <jink> Does 18.04 LTS provide support for apache httpd with tls1.3 somehow?
[16:56] <jink> (I know I can add ppa:ondrej, but I'd rather not depend on things I don't know or trust per se.)
[16:59] <eelstrebor> my wifi card is wpa3 capable but even with the latest firmware from git.kernel.org the wpa3 wap is greyed out on the laptop network manager - is there another source for firmware for wifi cards (intel ac9260)?
[16:59] <jink> Tesagk: You should probably use a PAGER, rather than an EDITOR to view log files (less, more).  ~ is your home directory, so "cd ~" takes you home (it's not random at all, luckily).
[17:01] <Tesagk> jink: By random I mean I don't remember setting it as home, so I'm not sure why it selects that specific location.
[17:02] <Tesagk> Is there a good default PAGER software in Ubuntu to use?
[17:02] <TvL2386> jink: ssl.conf:	#   Available values: all, SSLv3, TLSv1, TLSv1.1, TLSv1.2
[17:03] <jink> TvL2386: Yes, I know.  A recent version of apache httpd with openssl 1.1.1c supports 1.3.  I was hoping it was properly backported.
[17:03] <jink> Tesagk: I tend to use "less".
[17:04] <TvL2386> jink: yeah I guess it's not really easy without relying on that ppa for example
[17:04] <TvL2386> jink: as an alternative, I'd investigate the possibility to just use a simple docker container with the feature you need?
[17:05] <robertparkerx> How do I checkk to see if a file exist in command line
[17:06] <TvL2386> robertparkerx: test -e /var/log/syslog
[17:06] <jink> TvL2386: Worth looking in to.
[17:06] <robertparkerx> What if it doesn't return anything
[17:07] <robertparkerx> It doesn't exist?
[17:07] <TvL2386> robertparkerx: you must evaluate the exitstatus
[17:07] <Elliria> If you know the file name, you can replace filename in this to find it: locate "filename"
[17:07] <TvL2386> robertparkerx: test -e /var/log/syslog && echo yeah || echo "I'm sad"
[17:07] <Elliria> That will work for partial searches, too. For instance, if you know it's about apples, but don't remember the title, you can do locate "apples" to find all files with apples in their name.
[17:08] <TvL2386> Elliria: That would return all matches, not what he asked. Also depends on the freshness of the locate db
[17:09] <Elliria> Okay.
[17:09] <TvL2386> robertparkerx: why do you want to check? What problem do you want to solve?
[17:10] <robertparkerx> well the server is returning 404 but I have rsync from the old env
[17:10] <robertparkerx> Sorry the server is returning 404 for images but I have rsync them from the old env
[17:10] <TvL2386> robertparkerx: so: You have copied files somewhere and the webserver can't find the resource you are requesting
[17:10] <robertparkerx> Yes
[17:10] <TvL2386> robertparkerx: and the problem is: why!?
[17:10] <Tesagk> jjink: ??
[17:11] <robertparkerx> Yes
[17:11] <TvL2386> robertparkerx: you should check if the documentroot is set correctly. Is the webserver (apache/nginx/...) looking in the right directory?
[17:12] <__raven_> how to make backlight controll working on a md99480 tablet computer with ubuntu 19.04?
[17:12] <TvL2386> robertparkerx: you probably know where you rsynced the data to, so you know where the webserver should serve it from, also check the /var/log/WeBsErver/*log files
[17:12] <jink> Tesagk: less /var/log/syslog
[17:14] <TvL2386> Tesagk: `cd ~` does not change to a random directory, it changes to your homedir
[17:14] <Tesagk> TvL2386: You may not have been keeping up. I'm not sure how it selected the homedir that it did.
[17:14] <Tesagk> That's what I meant by "random"
[17:14] <TvL2386> ah ok, sorry :)
[17:15] <TvL2386> echo $HOME
[17:15] <TvL2386> oops
[17:15] <Tesagk> jjink: So I see syslog in there, but how do I use it?
[17:15] <jink> man less
[17:15] <TvL2386> Tesagk: I think `~` expands to $HOME. So you could check why your $HOME is wrong or has what it has :)
[17:16] <jink> But it's "q" to quit, ">" to scroll to the end of file, "space" for next page, "b" for previous page.
[17:16] <Tesagk> So: "less filename"
[17:16] <Tesagk> ?
[17:16] <jink> Yes.
[17:17] <jink> getent passwd `whoami` # should display the homedir as well
[17:18] <Tesagk> jjink: Thank you
[17:18] <TvL2386> jink: yeah but $HOME could be set to something else than what's listed in /etc/passwd
[17:19] <TvL2386> jink: your command is the same as `grep jink /etc/passwd`
[17:19] <ioria> env | grep -i home
[17:19] <TvL2386> echo $HOME
[17:20] <Tesagk> So cd ~ is taking me to: /home/tesagk/
[17:20] <Tesagk> Which has the dd directory in it
[17:20] <Tesagk> Er, dd file?
[17:21] <TvL2386> Tesagk: yeah true (no idea about `dd` directories :P)
[17:21] <Tesagk> It's not a directory.
[17:21] <Tesagk> But it takes me to /home/tesagk/ rather than /home/
[17:21] <TvL2386> Tesagk: home is the parent directory for all user homedirs
[17:22] <TvL2386> Tesagk: my homedir /home/tvl2386, your homedir /home/tesagk, chads homedir: /home/chad
[17:22] <ioria> Tesagk, why do you want to cd in /home ?
[17:22] <Tesagk> Isn't that the point of cd ~ ??
[17:22] <TvL2386> I need to rewind and see if a question was stated about what needs to be accomplished I guess :)
[17:22] <uRock> /home/tesagk/ is your home
[17:23] <TvL2386> Tesagk: no that is not the point
[17:23] <TvL2386> Tesagk: /home is static, cd ~ is not
[17:23] <TvL2386> why introduce something cool when you just want to `cd /home`
[17:23] <lotuspsychje> lets focus on actual ubuntu issues?
[17:23] <Tesagk> TvL2386 gotcha
[17:23] <lotuspsychje> linux commands in #bash or ##linux
[17:23] <TvL2386> lotuspsychje: you are right
[17:24] <rud0lf> ~ sweet ~
[17:24] <rud0lf> :)
[17:24] <rfm> join /#ubuntu-server
[17:26] <jink> TvL2386: I know, but you should use the tools provided, rather than think of your own things.  I think getent supports other passwd databases, too.
[17:28] <super_koza> Hi! I have the dumb and can't for the love of god open ports on my PC. Could someone give me a hand please?
[17:29] <super_koza> I have ufw and I have enabled lets say port 123. When I do `ufw status` I can see this.
[17:30] <lotuspsychje> !firewall | super_koza
[17:30] <lotuspsychje> super_koza: see also the #netfilter channel
[17:31] <super_koza> Also, I have opened the ports on the routers.
[17:31] <super_koza> So it must be working...
[17:31] <Sven_vB> super_koza, also what makes you think you couldn't open the ports? maybe the problem is somewhere else
[17:32] <super_koza> Let's encrypt couldn't get the certificate. I have checked the logs and they suggested the ports.
[17:32] <super_koza> I have also used some of those online port checking tools and they all showed that the ports are closed.
[17:32] <super_koza> What is weird is that I have opened another port earlier and it works.
[17:33] <jink> Your provider blocks 80 and 443.
[17:33] <super_koza> I think I have done everything the same way. I have tried rebooting the routers and the PC, but it didn't help.
[17:33] <TvL2386> jink: yeah I agree, but I don't like that your command uses the plain output of `whoami`. Because I can create a user like this: `useradd -s /bin/bash '$user'` and that would not work with your command. I also think that you overcomplicate what can be done with `echo $HOME`
[17:33] <Sven_vB> yeah might be annoyance tactics to get you to subscribe to a "business" plan
[17:34] <super_koza> I have tried opening port 123 for that reason and it didn't work as well...
[17:34] <Sven_vB> do ports above 1024 work?
[17:35] <jink> TvL2386: Fair enough, but environment variables can be overwritten, too.  Then again, I'm not sure what cd ~ uses.  Does it use $HOME or your actual home?
[17:35] <super_koza> Sven_vB, let me check...
[17:35] <Sven_vB> I guess when you use "cd ~" it's the shell that replaces ~. if you want $HOME, you can just run cd without args.
[17:35] <TvL2386> jink: tested, it uses $HOME: export HOME=/tmp ; cd $HOME ; pwd
[17:36] <Sven_vB> err, "run" isn't the right word
[17:36] <Sven_vB> TvL2386, well if you put $HOME there what else would you expect. :)
[17:37] <Sven_vB> as long as there are no spaces and shell meta chars involved of course
[17:37] <jink> TvL2386: 👍
[17:37] <TvL2386> Sven_vB: you're right, replace it with ~ and it's also /tmp after the export
[17:37] <super_koza> Sven_vB, no port 2222 also doesn't work.
[17:38] <Sven_vB> still the question remains why you want a ~ there
[17:38] <super_koza> What would be the best way to post images here?
[17:38] <Sven_vB> super_koza, a link to a plain image file
[17:38] <jink> super_koza: I'm assuming you're on Magenta and they claim to not block any ports.
[17:38] <TvL2386> jink, Sven_vB: export HOME=/tmp ; cd ~ ; pwd     => you are in /tmp now
[17:38] <Sven_vB> TvL2386, yeah still no reason for the ~
[17:38] <super_koza> No, the PC is somewhere else...
[17:39] <super_koza> It is not at the same location where I am at...
[17:39] <TvL2386> yep. You don't need it unless you want to cd ~/Documents
[17:39] <jink> super_koza: Does that provider block ports?
[17:39] <TvL2386> now I'm gonna shutup about bash, I don't want to be kicked
[17:39] <jink> :D
[17:39] <super_koza> No, I had it working before reconfiguring everything and starting from scratch.
[17:39] <Sven_vB> TvL2386, but do read the bash faq. :D
[17:40] <TvL2386> Sven_vB: thanks for the advice, but I haven't read anything I didn't know :)
[17:40] <jink> super_koza: Is anything running on 2222 / 123 / 80 / 443 ?
[17:41] <TvL2386> Sven_vB: I always use ~ because I like it. I know it's not necessary (missed that question)
[17:41] <super_koza> ssh is running on some other port
[17:41] <Sven_vB> super_koza, use netcat as your test server, maximum logging, then test to connect with another max-verbose netcat step by step going outward from localhost to some VPS on the webs
[17:41] <Sven_vB> TvL2386, ok then
[17:42] <Sven_vB> super_koza, if it's a firewall issue, other computers on your LAN should have the same problems if your rules aren't specific about IP ranged.
[17:43] <Sven_vB> *ranges
[17:43] <TvL2386> super_koza: If you are sure you forwarded correctly to your host, you can always dump traffic to that port on your host to see if packets actually arrive
[17:43] <super_koza> Ok, how do I do that?
[17:43] <Sven_vB> indeed that would be even better
[17:43] <TvL2386> super_koza: glad you ask
[17:44] <TvL2386> super_koza: on your host, assume the NIC is eth0: sudo tcpdump -i eth0 -nn port 80 or port 443
[17:44] <robertparkerx> TvL2386, I did test -e "filename.jpg" and I did not get a response
[17:44] <TvL2386> any packets arriving are printed in your terminal
[17:44] <robertparkerx> If I type the same thing and it doesn't exist I get the same
[17:44] <super_koza> ok, so from the server
[17:44] <super_koza> just a sec
[17:45] <Sven_vB> robertparkerx, put "; echo rv=$?" behind it. or just use ls
[17:45] <robertparkerx> I can't just use ls
[17:45] <robertparkerx> It's huge!
[17:45] <TvL2386> robertparkerx: test -e .... does not output anything. It tests existance and exits with exitcode 0 or 1
[17:45] <TvL2386> robertparkerx: so as I stated: you need to evaluate that exitstatus.
[17:45] <Sven_vB> robertparkerx, nah. even busybox has a ls. ls -l filename.jpg
[17:46] <TvL2386> robertparkerx: that's why I showed you: test -e /var/log/syslog && echo yeah || echo "I'm sad"
[17:46] <Sven_vB> would be insane to make a linux and omit ls because it's too big
[17:46] <TvL2386> robertparkerx: as an alternative, you can also `stat /var/log/syslog`
[17:46] <TvL2386> prints nice info about that file, also an error if it does not exist
[17:47] <super_koza> TvL2386: Great! It works indeed!
[17:47] <robertparkerx> Sven_vB, Okay ls -l "filename.jpg" gave me a response
[17:47] <super_koza> So it must be something wrong with ufw...
[17:47] <robertparkerx> No such file name or directive
[17:47] <TvL2386> super_koza: nice, yes, OR
[17:47] <TvL2386> super_koza: there might be nothing listening on that port
[17:48] <Sven_vB> robertparkerx, "directory" probably ;)
[17:48] <TvL2386> super_koza: check with: `sudo ss -ltnp | egrep ':80|:443'`
[17:48] <robertparkerx> Yes that is what I meant
[17:48] <robertparkerx> Sorry
[17:49] <super_koza> I checked the port 80 and it didn't work with tcpdump
[17:49] <super_koza> all other ports worked
[17:49] <TvL2386> super_koza: ok so traffic to port 80 didn't show up?
[17:49] <Sven_vB> "work" as in packets do arrive?
[17:50] <Sven_vB> btw if it's just about Let's encrypt, you might use DNS verification instead of webserver verification.
[17:50] <super_koza> Hmmm
[17:50] <super_koza> This is strange...
[17:50] <Sven_vB> you'd have to put a special TXT record at _acme-challenge.whatever.your.domain.is
[17:51] <super_koza> Just a second...
[17:51] <super_koza> Let me doublecheck what I did here.
[17:51] <super_koza> Now when I do port checking I see that 443 is open
[17:51] <super_koza> but I changed nothing.
[17:51] <TvL2386> *eating popcorn* can't stand the suspense
[17:51] <Sven_vB> did you happen to reset router settings? some home routers default to putting their admin interface on :80 even for outsiders
[17:51] <robertparkerx> Yeah I'm pretty sure the files don't exist and rsync failed
[17:52] <Sven_vB> robertparkerx, run rsync more verbosely then you'll see
[17:52] <TvL2386> robertparkerx: ^--
[17:52] <TvL2386> and confirm it completes without error -_-
[17:53] <TvL2386> that should have been step 1 :)
[17:53] <super_koza> These are the ports open in ufw: 80, 8080, 443, 123, 2222 and my custom ssh port
[17:54] <super_koza> when I do ufw status, they are allowed
[17:54] <super_koza> This is good.
[17:54] <TvL2386> super_koza: I'm a bit lost... to which ports do you actually see packets arriving?
[17:54] <TvL2386> super_koza: and also: what's wrong?
[17:56] <super_koza> I see packets on ports 8080, 443, 123, 2222 and my custom port
[17:56] <super_koza> port check tool say that only ports 443 and my custom ssh port are open
[17:56] <TvL2386> port check tool may not check all ports?
[17:57] <Sven_vB> try whether packets arrive when you change the target port of your router's forwarding rule for :80 incoming
[17:57] <Sven_vB> maybe it just has a problem with :80 inside
[17:57] <TvL2386> super_koza: don't you have a linux host somewhere on the net from where you can test yourself?
[17:57] <Sven_vB> could be as dumb as someone forgetting a flag in a netfilter rule
[17:58] <Sven_vB> I can test outside view for you if you like
[17:58] <TvL2386> super_koza: Sven_vB: When some tool says a port is open, it says something about end-to-end connectivity. Which is fine when everything works. Since we are troubleshooting, I would focus on 1 port at a time
[17:59] <TvL2386> super_koza: Sven_vB and use an external host, like Sven_vB. He can telnet your port 80. You can check to see if packets arrive at your host with tcpdump
[17:59] <TvL2386> super_koza: Sven_vB then you at least know the port-forward for port 80 is working and you have to focus on ufw or the service running
[18:00] <hussam> Does "guided - use entire disk and set up encrypted lvm" allow me to choose a large swap partition for hibernation? or does it hardcode one?
[18:02] <super_koza> In the local network where the server is I have only Windows machines running
[18:02] <super_koza> But that should be fine for Telnet
[18:02] <TvL2386> super_koza: you can even use your browser to send packets
[18:02] <TvL2386> super_koza: just type http://192.168.0.5:2222/
[18:02] <Sven_vB> super_koza, you could boot one of them with an Ubuntu live USB also. but telnet, or netcat/socat for windows, should be enough.
[18:02] <TvL2386> and it will send tcp packets to your 192.168.0.5 port 2222
[18:02] <Sven_vB> actually even a browser should do.
[18:03] <tomreyn> hussam: Ubuntu >= 18.04 defaults to a swap file on your root file system ("/"). I'm not sure about 16.04, and you didn't specify the version you're asking about.
[18:03] <TvL2386> you can then confirm packets arrive and are sent back
[18:03] <hussam> tomreyn: I am installing 18.04
[18:03] <tomreyn> hussam: so then you have your answer already ;)
[18:04] <hussam> tomreyn: so hibernation will not work?
[18:04] <super_koza> Sven_vB: I am accessing the device remotely. No way to try live USB or something. But nevermind that...
[18:04] <tomreyn> hussam: oh also hibernation is broken with encryption, i think
[18:04] <TvL2386> super_koza: if you are remote, you don't need an external tool. You are the tool :)
[18:05] <tomreyn> hussam: that's if you don't setup a swap partition manually at least. maybe just with uefi booting, i don't recall the details.
[18:05] <hussam> tomreyn: it doesn't have to if swap parition is used and it is not encrypted and I boot with resume=/dev/sda2 (where sda2 is the swap partition).
[18:06] <hussam> root can still be encrypted if it is decrypted from initramfs image.
[18:06] <tomreyn> hussam: so you'll need to do manual partitoning then to ensure you'll have a swap partition which is slightly larger than the size of your installed RAM.
[18:06] <hussam> tomreyn: sure but I was hoping to still be able to use disk encryption.
[18:07] <Sven_vB> TvL2386, "remotely" doesn't necessarily mean via internet or even TCP :)
[18:07] <Sven_vB> or IP
[18:07] <tomreyn> hussam: if you have a parition (non file) backed swap / resume device then i think hibernation can still work even when / is encrypted
[18:07] <tomreyn> hussam: can't guarantee it, though, you should just try.
[18:08] <super_koza> Ok, from a PC in local network I have tried accessing via web browser as suggested
[18:08] <super_koza> All ports except 123 were working
[18:08] <super_koza> xD
[18:09] <hussam> tomreyn: exactly so is there a way to edit the "guided" options to add a swap partition?
[18:09] <super_koza> But it works when I try the port check tool
[18:09] <super_koza> Should I disable ufw for now?
[18:10] <lotuspsychje> super_koza: please dont use this channel to describe every step you take, focus on actual ubuntu questions instead
[18:11] <tomreyn> hussam: no, you'll need to do it manually
[18:11] <hussam> manual doesn't allow encryption.
[18:12] <hussam> ok, I'll do without encryption then.
[18:12] <tomreyn> hmm, are you certain of that?
[18:12] <hussam> yes.
[18:12] <tomreyn> ok, sorry then, i wasn't aware. you could use the server installers, though
[18:12] <ioria> hussam, yes it does, but it's not intuitive as 'guided'
[18:13] <hussam> ioria: is there a documentation guide I can follow? perhaps I missed something then.
[18:13] <ioria> hussam, you create a /boot partition, anf the format root with Luks
[18:20] <fuze> How can I fix this? http://termbin.com/c14h
[18:21] <lotuspsychje> lol
[18:21] <fuze> lotuspsychje: Please startx is failing i need help
[18:22] <hussam> ioria: so I manually run cryptsetup /cryptsetup open and then start the installer?
[18:23] <ioria> hussam, nope
[18:23] <TvL2386> fuze: that is not a problem that needs to be solved
[18:23] <TvL2386> fuze: you are trying to install all kernels you can find
[18:23] <fuze> TvL2386: ohh. ok I just want to reinstall the ones I have
[18:24] <TvL2386> fuze: don't know why you want to reinstall them, but yes
[18:24] <TvL2386> fuze: this is what you have: `dpkg --list | grep linux-image-`
[18:24] <fuze> TvL2386: I think I broke them. What is the command to reinstall the ones I have?
[18:25] <TvL2386> fuze: so just replace linux-image-* with the ones you actually have I suppose
[18:25] <rud0lf> hello... i've installed v4l2loopback and then removed it when no longer needed, but now at boot i get several ugly messages [ FAIL ] Failed to find module 'v4l2loopback'
[18:25] <rud0lf> where is the config entry resposible for attempt to load this module so i can remove it?
[18:26] <rud0lf> just for clean and nice boot experience :)
[18:26] <TvL2386> fuze: short line: apt-get install --reinstall $(dpkg --list | grep linux-image- | grep ^ii | awk '{ print $2 }')
[18:26] <tomreyn> reinstalling kernel images is not a way to 'make startx work' though
[18:26] <TvL2386> ^--- agreed
[18:26] <fuze> TvL2386: Is this normal output or do I have too many? Im running kubuntu 18.04  http://termbin.com/z5m6
[18:27] <TvL2386> fuze: that's normal
[18:28] <fuze> tomreyn: worth a shot i guess
[18:28] <tomreyn> fuze: i disagree
[18:29] <TvL2386> fuze: I also disagree
[18:29] <fuze> Could make things worse?
[18:29] <tomreyn> rud0lf: apt search v4l2loopback     << does this list that any are installed?
[18:29] <TvL2386> fuze: yes, I'd be very hesitant reinstalling the current kernel... what happens if it fails? Will your system still boot?
[18:30] <rud0lf> it does tomreyn
[18:30] <fuze> fortunately it didnt change my issue at all
[18:30] <fuze> worse or better
[18:30] <rud0lf> v4l2loopback-source and -utils
[18:30] <tomreyn> rud0lf: so, i guess you may want to purge those?
[18:30] <fuze> http://termbin.com/gg0t
[18:30] <rud0lf> tomreyn: thanks, i'll see if that helped
[18:31] <tomreyn> rud0lf: maybe you still have configs of v4l2loopback-dkms as well, so maybe purge that as well
[18:31] <fuze> http://termbin.com/8kbh
[18:31] <fuze> some logs^
[18:32] <tomreyn> rud0lf: so that's    sudo apt purge v4l2loopback-dkms v4l2loopback-utils v4l2loopback-source     and i'll be back later. good luck.
[18:32] <fuze> Is this fixable without a reinstall?
[18:34] <rud0lf> i did sudo apt purge v4l2loopback-*
[18:34] <rud0lf> the problem still persists
[18:34] <rud0lf> nvm, it's not a big deal
[18:35] <TvL2386> rud0lf: you installed that package, maybe dependencies got installed as well and are still present I don't know... I'd check: apt-get autoremove
[18:37] <amosbird> hi, how can i debug this error https://la.wentropy.com/sEgQ
[18:38] <TvL2386> amosbird: what ubuntu version?
[18:38] <TvL2386> amosbird: short answer is probably: fix the package
[18:38] <amosbird> TvL2386: I mean, how can I debug it
[18:38] <lotuspsychje> amosbird: where did you find that package?
[18:39] <amosbird> it's built by myself
[18:39] <lotuspsychje> amosbird: we dont support own compiles here
[18:39] <lotuspsychje> amosbird: we reccomend to use the official packages from the ubuntu repos instead
[18:40] <amosbird> lotuspsychje: where can I ask questions about debuging apt install packages?
[18:40] <amosbird> specifically postinst script
[18:40] <lotuspsychje> amosbird: i think ##linux might take your question
[18:42] <dbugger> Does anyone know why artifacts and noise can happen in the screen?
[18:42] <lotuspsychje> !details | dbugger
[18:43] <TvL2386> dbugger: faulty connectors, bad cables, broken screen, broken graphics card, ...
[18:45] <dbugger> lotuspsychje, TvL2386 I am seeing images like this: https://i.stack.imgur.com/Fayqw.png
[18:45] <dbugger> Specially when I return from a suspend state
[18:45] <dbugger> but not exclusively
[18:50] <Walex> dbugger: not clear what's the problem with that image, but anyhow a better channel is ##hardware
[18:56] <super_koza> Ok, I believe that all ports except 80 is open. However the ISP shouldn't be blocking any ports. The issue was that I didn't have any listeners on the other ports, so they appeared as closed. Any idea what could be going on with port 80?
[19:00] <lotuspsychje> super_koza: #netfilter
[19:06] <dbugger> Walex, if you see inside the circles, the image looks like noise
[19:55] <flog> al2o3-cr: you still here?
[20:02] <berz3rk> hey
[20:02] <berz3rk> i want to use dd to restore a partition, but the image is larger then the partition. how can I use dd so it uses the partition size as max and doesnt write more?
[20:03] <berz3rk> i dont even know what happens when there is more then the partition size
[20:05] <tomreyn> berz3rk: when there's more than can be written, dd would experience i/o failues and quit
[20:06] <TvL2386> berz3rk: uhm.... You will be missing what could not be written and will probably result in a corrupted partition. At least you'll be missing data
[20:06] <berz3rk> its a bit tricky
[20:06] <berz3rk> its a hidden partition on the nintendo switch, it emulates an mmc and stuff, not so simple, so i have to do that stuff with dd instead of partition tools
[20:07] <berz3rk> tomreyn: there probably can be more written, but it will be on another partition, you know? will dd overwrite the next partition?
[20:08] <berz3rk> i think my best bet is to make the partition a lil bigger
[20:08] <berz3rk> restore then shrink down
[20:08] <tomreyn> i don't think so, but won't guearantee it either.
[20:08] <tomreyn> ... insreponse to "will dd overwrite the next partition"
[20:09] <TvL2386> berz3rk: if you use `dd if=myddfile of=/dev/sdx3` it will not go into sdx4
[20:09] <berz3rk> TvL2386: what will happen with the stuff that doesnt fit
[20:10] <TvL2386> berz3rk: is not written
[20:10] <berz3rk> but is it a problem
[20:10] <berz3rk> hm
[20:10] <TvL2386> probably
[20:10] <flog> Does anyone know what the default desktop environment uses to control backlight?
[20:10] <TvL2386> bigger partition, smaller dd is fine, the other way around probably not
[20:10] <TvL2386> depends on what you will be missing
[20:10] <TvL2386> and who knows what you will be missing
[20:11] <TvL2386> berz3rk: not sure what's on the dd image, but you may also look into mounting the dd file and copy stuff if that suits your case
[20:11] <berz3rk> i dont know if i can mount that thing
[20:11] <TvL2386> me neither, but with `losetup` you can probably mount it on a loopback device
[20:11] <TvL2386> and then mount it somewhere
[20:12] <TvL2386> "*create a loopback device" I meant
[20:12] <berz3rk> its 31 gb big
[20:12] <berz3rk> but fdisk says it has 150 gb
[20:12] <berz3rk> :x
[20:12] <TvL2386> no
[20:12] <TvL2386> berz3rk: the disk was 150GB, but the contents 31GB I think
[20:13] <berz3rk> when i restore, is that an issue
[20:13] <TvL2386> fdisk does not take thin provisioning and such into account
[20:13] <berz3rk> i got to a point in the past that my whole haddrive was broken
[20:13] <berz3rk> but i wanted to save information i knew the offset kind of from
[20:13] <berz3rk> so i saved it into an img file
[20:13] <TvL2386> if I were you: I would look into mounting the dd file and then inspecting what and how much is on there
[20:14] <TvL2386> then again: I have no idea why you are doing what you're doing :)
[20:14] <fuze> is there an easy command to take a list of all the files/folders in one directory, and remove files/folders with the same name in another directory?is there an easy command to take a list of all the files/folders in one directory, and remove files/folders with the same name in another directory?
[20:14] <fuze> oops pasted twice
[20:14] <TvL2386> easy command: no
[20:14] <fuze> i mean like a single command
[20:14] <berz3rk> TvL2386: so if fdisk reports the image is 150gb big, but in fact its 31 gb and the partition is 29 gb, it will write that 29 prob and then error out? what about that 150gb info
[20:14] <TvL2386> fuze: no
[20:15] <fuze> I can't pipe ls into rm or something like that?
[20:15] <TvL2386> fuze: that's not a single command
[20:15] <fuze> like a one liner
[20:16] <TvL2386> berz3rk: the only reason I can think of that dd file is 31GB, is that it's either: compressed or sparse
[20:16] <TvL2386> berz3rk: it will want to really write 150GB
[20:16] <TvL2386> those were two reasons though :)
[20:17] <TvL2386> fuze: why being focused on easy, single, oneliner...
[20:17] <TvL2386> the answer will either be yes or no
[20:17] <TvL2386> and that's not constructive right :)
[20:17] <fuze> I don't care what you call it i just want something i can enter into terminal to do it automatically
[20:18] <fuze> ls ~/dir | xargs rm -r while in the desired directory to rm isnt working
[20:18] <TvL2386> fuze: I'd say the answer is "no". Because you'll have to hack all kinds of things into bash. Take spaces into account and such... I think it will be a mess...
[20:19] <berz3rk> it thinks its 150 gb because originaly it was and i used some dd command to stop at dumping
[20:19] <berz3rk> then it wrote wrong meta info
[20:19] <fuze> TvL2386: ls -1 provides a vertical list
[20:19] <TvL2386> fuze: I would write a simple (ruby/python) script to accomplish what you want
[20:20] <TvL2386> fuze: I'd use `find`
[20:20] <fuze> TvL2386: actually i think that command works with ls -1
[20:20] <fuze> yes it worked
[20:20] <tomreyn> fuze: don't parse ls output. use find -print0, and read the man page on this option.
[20:20] <fuze> ls -1 ~/dir | xargs rm -r
[20:20] <fuze> does the job
[20:21] <TvL2386> fuze: ah check, I missed the "one directory". I was assuming lots of files / subfolders....
[20:21] <fuze> its ok, thanks for the whitespace advice
[20:21] <TvL2386> fuze: then I'd use something like `find -maxdepth 1`
[20:21] <berz3rk> can i just ctrl + c in the right moment when dd writes
[20:21] <berz3rk> lol
[20:22] <TvL2386> fuze: you're welcome
[20:22] <TvL2386> berz3rk: yes
[20:22] <berz3rk> but it can be corrupted :P?
[20:22] <berz3rk> y sry for my questions
[20:22] <TvL2386> berz3rk: you can always press ctrl+c, there's never a right moment though when you abort a dd
[20:22] <berz3rk> like i said im dealing with hidden partitions
[20:23] <TvL2386> berz3rk: if you abort a dd, you will be missing data and the result will probably be sadness
[20:25] <doug16k> berz3rk, the dd argument you mention is probably 'count'
[20:25] <TvL2386> berz3rk: you have a dd file. What's the source? A 150GB harddrive? What's on it? Why do you want to dd it? What's your endgoal. I might be able to tell you other interesting stuff that will work awesomely (is that a word)?
[20:25] <doug16k> TvL2386, it's a word
[20:26] <TvL2386> ?
[20:26] <berz3rk> ah it wrote to limit and ended
[20:26] <berz3rk> nice
[20:26] <berz3rk> no error i try it out no
[20:26] <berz3rk> now
[20:26] <TvL2386> doug16k: what do you mean?
[20:29] <TvL2386> oh lol
[20:29] <TvL2386> thx doug16k
[20:38] <doug16k> dd if=... of=... bs=1048576 count=150000    copies 150GiB
[20:38] <doug16k> or just 1MB for bs
[20:38] <doug16k> 1M
[20:40] <doug16k> you can seek (to change the start place in the output file) or skip (to change the start place in the input file). by default it truncates the output file at the last byte written, but you can add conversion option (notrunc) to the oconv
[20:42] <doug16k> normally seek and skip are in bs (block size) units, but you can add options seek_bytes skip_bytes to make them be interpreted as byte offsets
[20:42] <oer> && sync is preferrable
[20:45] <TvL2386> it seems to me berz3rk is trying to copy a partition from a dd file to a partition. If that's true, there are easier ways to get there. If he only wants access to the contents, there are also easier ways
[20:45] <doug16k> yes I agree
[20:45] <berz3rk> but its a hidden partition
[20:46] <doug16k> sometimes I answer XY looking questions because sometimes they really want the answer for Y :)
[20:46] <TvL2386> :)
[20:46] <berz3rk> i dont know what i want
[20:46] <berz3rk> lol
[20:46] <TvL2386> hidden partitions don't exist. A partition exists or not, but is not hidden. (as far as I know)
[20:47] <TvL2386> you have a dd file, not a hidden partition
[20:47] <berz3rk> ofc it can be hidden
[20:47] <TvL2386> I think you mistake umount with hidden
[20:47] <berz3rk> there can be "unallocated space" but in reality there can be data
[20:47] <berz3rk> you can write data to a harddrive and all partition tools have no idea that something is actualy there
[20:47] <oer> files can be hidden, partitions not
[20:47] <TvL2386> hidden files?
[20:47] <berz3rk> you can write data into unallocated space
[20:47] <oer> hmm, this goes FUD.
[20:49] <TvL2386> berz3rk: yes you can... That would suck though imho... How would you know where the data is then?
[20:49] <berz3rk> if you write it somewhere
[20:49] <berz3rk> lol
[20:49] <berz3rk> you can mount it
[20:49] <oer> this goes beyound ubuntu support
[20:49] <berz3rk> with offsets
[20:49] <TvL2386> yeah but you need to know exactly where... argh... sounds like voodoo...
[20:49] <oer> !ot
[20:49] <doug16k> you can write into unallocated space? you can stab your leg with a pencil too. question is, why would you do that?
[20:49] <TvL2386> oer: yes
[20:49] <TvL2386> lol
[20:49] <berz3rk> i think this is ubuntu support
[20:49] <berz3rk> lol kidding
[20:50] <berz3rk> so windows 10 doesnt know i run ubuntu
[20:50] <woenx> Hey, one question. I have a laptop, and when I'm home, I use a bluetooth keyboard with it. The thing is, the bluetooth keyboard has a different layout, so I have to change it manually every time and sometimes it's annoying. Is there any way to automatically assign a layout to each keyboard? (USA for the one in the laptop, Spanish for the bluetooth one)
[20:52] <oer> maybe blueman detects layout better than the standard tool
[20:52] <doug16k> berz3rk, did windows installer blow away all your linux partitions / destroyed your partition table? there is a tool that fixes that
[20:52] <oer> !info blueman
[20:53] <berz3rk> doug16k: too complicated for this channel lol
[20:53] <berz3rk> https://www.reddit.com/r/SwitchHacks/comments/c7s30w/nintendo_switch_homebrew_from_stock_to_emummc_cfw/
[20:54] <oer> berz3rk, please join #ubuntu-offtopic for that
[20:58] <kenperkins> having a heck of a time figuring out why my local systemd-resolved seems to keep caching incorrect dns records for static host mapping of local resources
[20:58] <kenperkins> is there a systemd-resolved channel?
[20:59] <kenperkins> if not, anyone have a tip where the right place for that would be?
[20:59] <oer> how did you made that static map, netplan?
[20:59] <kenperkins> static map is done on my router
[21:00] <kenperkins> if i dig @router or dig@pihole, i always get the right address, but if I dig using localhost (systemd-resolved) i get back the address that would come from external dns
[21:00] <kenperkins> i.e. localhost->pihole->router->8.8.8.8
[21:01] <TvL2386> kenperkins: does `systemd-resolve --status` give you any clues?
[21:02] <kenperkins> looks ok ish, although I'm new to systemd-resolved, no dns servers set in global, I see my pihole dns set as dns for my active interface
[21:03] <kenperkins> /etc/resolv.conf only has the loopback entry
[21:03] <kenperkins> i turned up to debug logging for systemd-resolved
[21:03] <TvL2386> kenperkins: yeah that sounds normal to me, but I'm also not really an expert on that topic
[21:04] <tomreyn> there is --flush-caches
[21:08] <oer> how about proper setp of your pihole ? see DnsMasq Fix: http://www.ubuntuboss.com/how-to-install-pihole-on-ubuntu-18-04/
[21:09] <cocof> ubuntu is a neat distro.
[21:09] <oer> thanks, you are a neat user
[21:10] <TvL2386> i agree!
[21:10] <kenperkins> @oer I'm running pihole on a separate raspberry pi
[21:12] <oer> still your /etc/systemd/resolved.conf should have  DNSStubListener=yes to DNSStubListener=no .. what guide did you follow?
[21:13] <oer> after that; sudo systemctl reload-or-restart systemd-resolved and then sudo systemctl reload-or-restart dnsmasq # and voila
[21:14] <TvL2386> maybe I missed something, but kenperkins has a ubuntu machine, that is using his pihole as dns server. His pihole returns correct responses, however, a weird entry got cached right?
[21:15] <TvL2386> I'm trying to understand the setup and the problem
[21:15] <cocof> is iredmail script a pretty good idea when it comes to installing mail server?
[21:15] <oer> pihole -r could fix some things, not sure what part of his setup messes up, and did pihole work before?
[21:16] <cocof> seems like a neat sh that installs multiple things at once.
[21:17] <oer> cocof, basicly a mailserver needs a lot of work to setup, and maintain. never used/read about iredmail, do you trust the author?
[21:18] <cocof> oer  I can read sh before running it.
[21:19] <TvL2386> I just downloaded the bz2 file... the shell script includes tons of variables and other shell scripts...
[21:19] <kenperkins> @oer sorry, been trying to figure out wtf is going on. My pihole predates me switching to ubuntu. using ubuntu as a desktop experience is new, I've been on OSX for 9 years
[21:19] <TvL2386> first thing I thought: if this breaks and my email is on there................ lots of sadness
[21:20] <kenperkins> I don't *think* my pihole is wrong, but tbh, dns is a pain to debug
[21:20] <TvL2386> kenperkins: congratulations on the upgrade
[21:20] <kenperkins> TvL2386: years of using shit docker for mac through a vm has chapped me significantly
[21:20] <TvL2386> kenperkins: you should confirm your pihole is correct
[21:20] <kenperkins> it's so fucking wonderful running it natively
[21:20] <TvL2386> haha :)
[21:21] <TvL2386> kenperkins: I would flush the dns cache and try to see if you can reproduce the issue
[21:22] <TvL2386> kenperkins: and if you can, you must find out where it comes from
[21:22] <kenperkins> yea, I'm trying to narrow down the repro
[21:22] <cocof> oer:  well mail server is installed and then it only needs dkim and few more bits :)
[21:23] <kenperkins> confirm that `dig @1.2.3.4 some.record.com` will go directly to that nameserver and bypass anything local
[21:23] <TvL2386> kenperkins: that's normal. You ask 1.2.3.4 for some.record.com and it answers
[21:24] <TvL2386> kenperkins: what were you expecting? :)
[21:25] <kenperkins> just making sure I correctly understood the `@` directive in dig
[21:25] <TvL2386> kenperkins: ah... ok... @ directs the query to that host
[21:25] <TvL2386> dig www.google.com @8.8.8.8
[21:26] <kenperkins> ok, I have a suspicion, I think it's to do with IPv6 and IPv4 records
[21:26] <TvL2386> the plot thickens
[21:27] <kenperkins> that's it :D not ubuntu for sure
[21:27] <kenperkins> doesn't mean I'm not a dummy however
[21:33] <kenperkins> ok, so apparently you can add static host mapping for AAAA records to IPv4, I didn't know this, and by doing so, it solved the issue when it would cache the result of the AAAA lookup (which went to the public address for my router) rather than the internal ipv4 static mappings
[21:33] <kenperkins> TIL!
[21:33] <kenperkins> (at least in ubiquiti routers)
[21:34] <kenperkins> i wonder if my MBP had IPv6 disabled, thus hiding this situation
[21:53] <TvL2386> kenperkins: what do you mean by "static host mapping for AAAA records to IPv4"?
[21:54] <TvL2386> kenperkins: do you mean you enter an ipv4 address in an AAAA record?
[21:55] <ryuo> TvL2386: there's an ipv6 feature that can map ipv4 addresses to or from the IPv6 address space.
[21:55] <ryuo> maybe that's related.
[21:55] <TvL2386> hmmm yeah maybe...
[21:55] <kenperkins> @TvL2386 so my static mapping was effectively  "internal.mydomain.com: 10.10.0.30"
[21:56] <kenperkins> but you can also add a second record of inet "::ffff:10.10.0.30"
[21:56] <kenperkins> and then lookups for A or AAAA both resolve to the same IPv4 address
[21:57] <TvL2386> mkay, I've never looked into that :)
[21:57] <TvL2386> cool :)
[21:57] <kenperkins> previously, I didn't have an AAAA for the internal record, so it routed to public internet which was the outside address of my router, and was wrong :)
[21:57] <Karny> Is there a specific channel for Xubuntu or rather wifi card issues?
[21:57] <kenperkins> today i learned :D
[21:57] <TvL2386> me too :D
[21:57] <kenperkins> ryuo: almost certainly that
[21:57] <tomreyn> !xubuntu | Karny
[21:58] <cocof> if I want to use 2 mail servers,  both listed in mx, should I list one I prefer to use for receiving emails with higher priority?
[21:58] <tomreyn> Karny: for general *ubuntu questions you can also ask here, though
[21:58] <TvL2386> cocof: yes, and that means lower value
[21:58] <cocof> i plan to use separate mail servers for transnational and marketing
[21:58] <cocof> transactional
[21:58] <Karny> Great, Im in Xubuntu channel
[21:59] <cocof> ok seems simple.
[21:59] <TvL2386> cocof: the lower priority (higher value) is normally some mailrelay cache for if the higher priority is unavailable or something
[21:59] <ryuo> cocof: https://en.wikipedia.org/wiki/MX_record
[21:59] <cocof> yes
[21:59] <cocof> will use Postfix SMTP server
[22:00] <kenperkins> ok so as a new to ubuntu desktop user (mac and windows) anyone have any must read guides/tips on window management, etc
[22:00] <tomreyn> cocof: /join #ubuntu-server
[22:00] <ryuo> kenperkins: anything you read will largely be based on a specific DE. there's some conventions but it varies with the environment.
[22:01] <TvL2386> kenperkins: I don't, only thing I can say that I'm addicted to the old gnome style... bar on the top, one on the bottom. No stacking of icons. And try `terminator` for having split consoles in a single window.
[22:01] <kenperkins> so, 1904 is gnome right? I'm just using the builtin right now
[22:01] <ryuo> kenperkins: namely in the form of default keybindings... the mouse should generally behave the same.
[22:01] <ducasse> kenperkins: tips on what?
[22:02] <kenperkins> it seems like the keybindings are more like windows for the most part than mac (which is great), home, end, etc
[22:02] <ryuo> kenperkins: 19.04? depends on which flavor you get. the standard ubuntu uses a GNOME derivative. there's a gnome flavor that's closer to upstream GNOME.
[22:03] <oer> install gnome-teak-tool
[22:03] <oer> !info gnome-teak-tool
[22:03] <oer> !info gnome-tweak-tool
[22:04] <ryuo> kenperkins: though i don't know who uses regular ubuntu these days. most people i know use other flavors or 3rd party derivatives.
[22:05] <TvL2386> my colleagues use normal ubuntu, but hey: I've gotten them away from Windows 10... They are still learning :D
[22:06] <TvL2386> 2 colleagues not to exaggerate
[22:07] <kenperkins> ryuo: well I'm not going to go crazy my first foray into linux on the desktop
[22:08] <kenperkins> mostly, I wanted to evaluate it before springing for a work laptop
[22:09] <ryuo> kenperkins: well, i wouldn't call standard ubuntu to be a good example of your typical environment. it's heavily customized GNOME. use a flavor if you want something closer to what you might find OOB with a DE.
[22:09] <ryuo> kenperkins: but whichever you wish to try.
[22:10] <kenperkins> oh well :D I'm enjoying it, how's that
[22:12] <TvL2386> that's a good start!
[22:33] <Claudio> hello
[22:33] <Claudio> I have a small problem with Wifi Connection
[22:33] <Claudio> Who are here?4
[22:34] <Bashing-om> !details | Claudio
[22:35] <Claudio> Bashing-om, hello :) i got beelink gt3 mini-pc
[22:36] <Claudio> and i have installed on Ubuntu mate
[22:36] <Claudio> I don't see Wifi Module
[22:37] <tomreyn> Claudio: can you run this in a temrinal window and post the url returned?     lspci -knn | grep -EA3 '(Network|Ethernet) controller' | nc termbin.com 9999
[22:37] <doug16k> is AMD 5700XT GPU well supported in ubuntu?
[22:37] <tomreyn> it provides info on your network devices
[22:38] <Claudio> tomreyn, just a moment :) i need to use 2 different PC
[22:38] <tomreyn> Claudio: does it have no internet connection at all then currently?
[22:39] <Bashing-om> doug16k: Yes and no - you will want the latest kernel and see: https://ubuntuforums.org/showthread.php?t=2425799 .
[22:41] <Claudio> tomreyn, correct. I try to connect Ethernet from this PC to Beelink GT3 but i don't have any connection
[22:41] <doug16k> Bashing-om, thanks
[22:41] <Claudio> tomreyn, in everycase, i have only: Gigabit Ethernet Controller
[22:41] <tomreyn> doug16k: the 19.10 beta may actually work out of the box
[22:42] <Claudio> Its possible Ubuntu-Mate its not compatible with this Mini-PC
[22:42] <tomreyn> Claudio: hmm then your wireless was apparently not detected.
[22:43] <Claudio> tomreyn, correct, but there was on Windows OS
[22:44] <tomreyn> Claudio: meaning?
[22:45] <Claudio> tomreyn,
[22:45] <Claudio> I tried to install Ubuntu
[22:45] <Claudio> But I think its not a good Distro
[22:46] <tomreyn> i see
[22:46] <tomreyn> so these devices seem to have an AMPAK AP6255 wireless controller with a BCM43455 chipset
[22:47] <tomreyn> !b43
[22:48] <tomreyn> Claudio: ^
[22:49] <Claudio> tomreyn, infact i try to follow this -->
[22:49] <Claudio> https://askubuntu.com/questions/1003350/bcm43455-pcie-wireless-adapter-not-recognised:
[22:50] <tomreyn> this could work if oyu have the driver already installed
[22:51] <doug16k> how far back in AMD gpus does one have to go to get "just works in 18.04 LTS"? RX 580?
[22:51] <ns5> "apt-get install" stopped prompting me for "y/n", why?  and how to get it back?
[22:52] <doug16k> I'm at kernel 5.0.0-30-generic
[22:54] <tomreyn> doug16k: anything below navi i'd say.
[22:55] <Bashing-om> doug16k: RX 580 had support as far back as 16.04: https://help.ubuntu.com/community/RadeonDriver .
[23:09] <SoItBegins> I’m trying to install Wine i386 and apt wants to remove ubuntu-desktop. What’s up with THAT?
[23:11] <CarlFK> SoItBegins: there is something in ubuntu-desktop that isn't compatible - im guessing it wants to remove a few things
[23:11] <SoItBegins> Yeah, but isn’t ubuntu-desktop, y’know… my file manager?
[23:12] <ryuo> no...
[23:12] <CarlFK> no - removing ubuntu-desktop alone won't do anything - it is a "meta package" that just has dependencies on all the things, like file manager
[23:13] <ryuo> it's a meta package that draws in every package that's part of that "group" of packages.
[23:13] <SoItBegins> Oh. So if I go ahead with this (it also wants to remove ubuntu-desktop-minimal and xorg) it won’t harm my computer?
[23:13] <ryuo> that sounds invasive...
[23:13] <SoItBegins> You noticed?
[23:13] <SoItBegins> I think what’s going on is that Wine depends on the 32-bit version of itself, so to install it you have to switch 32-bit arches on.
[23:14] <SoItBegins> And it’s installing a small crapton of 32-bit libraries along with wine...
[23:14] <CarlFK> xorg might be disruptive
[23:15] <oer> interesting, did you see the wine wiki ?
[23:16] <SoItBegins> That’s where I got the install instructions from.
[23:19] <oer> sudo dpkg --add-architecture i386 # and run apt dist-upgrade
[23:21] <SoItBegins> oer: What’s that supposed to do for me?
[23:21] <SoItBegins> I mean, WineHQ had me do the first half to add 32 bit architectures but
[23:22] <SoItBegins> [sigh] I’m just gonna do it and...
[23:23] <SoItBegins> well, if my computer breaks after, we have a nice cautionary tale to tell the wineHQ people.
[23:23] <oer> https://wiki.winehq.org/Ubuntu
[23:23] <SoItBegins> Yeah, that
[23:23] <SoItBegins> ’s the page I was following.
[23:24] <SoItBegins> They didn’t say anything about the install removing xorg tho :O
[23:24] <SoItBegins> maybe I’ll reinstall it after this is over.
[23:25] <SoItBegins> Reinstalled it. Juuuust in case.