[00:15] <deltab> eelstrebor: are you using the double-colon syntax, or running rsync as a daemon?
[00:22] <belden> why do I keep getting the "RTNETLINK answers: Operation not permitted" output when trying to enable my Wireless interface? tried running it as root but keeps getting the same error.
[00:22] <Katronix> hi all, is it okay if I ask Ubuntu Server question here?
[00:22] <Bashing-om> Katronix: Ask away :)
[00:22] <sarnold> Katronix: sure, but there's also an #ubuntu-server that may or may not be more responsive
[00:23] <Katronix> Is it possible to have both php 7 and php 5.5 installed on the same server? only reason I ask is there is an app I want to start using written in php 5.5 and want to see how much I like it before I start upgrading it to 7
[00:27] <ryuo> Katronix: probably, but that's not supported by the default PHP. you'd probably need to use another build.
[00:28] <sarnold> Katronix: if you stick entirely to the canonical-supported stuff, that might be running bionic for the 7.2 and using lxd to run trusty for the 5.5; since that's out of regular support, you'd probably also want to get ubuntu advantage to get support for it
[00:29] <sarnold> Katronix: ondrej sury's got some php builds in his ppa but iirc he replaces system openssl in the process. you'd need to ask for any help in his community of users..
[00:31] <Katronix> okay the server is running 16.04 currently I suppose I could just install php 5.5 on it?
[00:31] <ryuo> Katronix: or 5.6?
[00:32] <Katronix> I suppose I could try it with 5.6, the install app wants 5.5 (its several years old)
[00:37] <Bashing-om> !info php7 xenial
[00:38] <Bashing-om> !info php7.0 xenial
[00:39] <tomreyn> there's no more php5 support other than via ESM
[00:42] <wondows> Damn this Win/Command + P shortcut to change the display mode is just terrible
[00:42] <wondows> I sometimes press it accidentally and it messes up my monitors
[00:42] <wondows> useless
[00:44] <OerHeks> Don't change it.. or change it
[00:45] <sarnold> Katronix: btw https://ubuntu.com/esm
[00:45] <wondows> Super+P cant find that in Keyboard Shortcuts -_______-
[00:46] <wondows> Just Why?
[00:51] <leftyfb> wondows: https://askubuntu.com/a/1038869  # first result on google for "ubuntu super+p"
[00:54] <dqx> hi. does anyone understand why when building a custom kernel `make deb-pkg` always cleans everything before packing? this is _so_ time consuming. am I doing something wrong?
[00:55] <pragmaticenigma> dqx: You might want to start with asking in a channel suited to kernel development or ubuntu development
[00:55] <wondows> leftyfb thanks, and wow, that's complicated
[00:56] <pragmaticenigma> dqx: Try #ubuntu-devel or #ubuntu-kernel
[00:56] <dqx> thanks a lot
[01:13] <SoItBegins> My HD had to be replaced because it was failing, so the computer shop cloned it.
[01:13] <SoItBegins> The Windows-based clone tool warned that the cloning process might mess up the bootloader.
[01:14] <SoItBegins> What do I do to repair a possibly-broken bootloader once I get the comp back?
[01:14] <OerHeks> boot a live iso, and follow instructions from the grub factoid
[01:14] <OerHeks> ( to reinstall grub
[01:14] <OerHeks> !grub
[01:14] <SoItBegins> ‘k. Thank you!
[01:43] <anibic> I heard of a portal which allows all linux distro to be tested through a web browser . can anyone help me with the link ?
[01:44] <anibic> I read the news in my chrome news feed but has forgotten it since
[01:45] <sarnold> anibic: I think this was it, but it appears to be suffering a bit of load :) https://distrotest.net/
[01:53] <anibic> But it says service unavailable
[01:53] <sarnold> exactly
[01:57] <teward> anibic: it's overloaded, and therefore the service is unavailable at the moment
[01:57] <teward> anibic: that's what "Service Unavailable" and sarnold's "suffering a bit of load" comment were for ;)
[01:57] <sarnold> evening teward :)
[01:58] <anibic> It's up again. plz check.
[02:02] <Gallomimia_> if i was a log-file for psensor, where would i hide/
[02:02] <sarnold> apt-cache show psensor ?
[02:03] <Gallomimia_> er, it's in ~/.psensor
[02:03] <Gallomimia_> but how do i read it :/
[02:05] <Gallomimia_> actually it's not that hard
[02:05] <Gallomimia_> just a bunch of CSV's starting with a timestamp and the values of each sensor
[02:05] <Gallomimia_> bad things. 80C and 530rpm on the cpu. whhhy??
[02:06] <Gallomimia_> thats double plus ungood
[02:07] <sarnold> cpus shouldn't spin
[02:08] <Gallomimia_> the fan on it should, and a heck of a lot faster than that if it's at 80C
[02:13] <OerHeks> is 80' C abnormal for your CPU?
[02:46] <Thr0r> Hi! Is the built-in Linux firewall supposed to be set to "inactive" as default after a std Linux install? ..any distro?
[02:47] <sarnold> Thr0r: yeah, a firewall is something an admin needs to configure; if you want a friendly frontend, I suggest ufw
[02:47] <leftyfb> Thr0r: For Ubuntu, yes
[02:48] <Gerowen> So I seem to have accidentally flipped my screen upside down and there's no "orientation" option in the display settings.  Any idea how to fix it?
[02:49] <Gerowen> I had exited a fullscreen DOSBox app and it screwed with my resolution and couldn't see to fix it, so I just rebooted.  Now I'm at 1080p again, upside down.
[02:49] <Thr0r> sarnold: Oh  - ok. It should maybe be informed after install? I was sure I was running with an active FW up until now... Just started it
[02:49] <OerHeks> install gufw, and you can enable rules in systemsettings
[02:51] <Thr0r> OerHeks: Ok .. I will. I was using ufw in console but if there is a GUI I will use that. Not sure if any rules are active as standard when I start it really
[02:53] <OerHeks> sudo ufw default deny incoming / sudo ufw default allow outgoing /sudo ufw allow ssh / sudo ufw logging on
[02:56] <Thr0r> OerHeks: Thanks - done.
[03:03] <Gerowen> So if anybody else manages to rotate their screen and can't find a gui option to correct it, xrandr -o normal will fix it.
[03:08] <Thr0r> OerHeks: I can't find the Firewall settings in System settings.. I am on Kubuntu 19,04
[03:13] <Thr0r> OerHeks: ok - it starts from console
[03:18] <deltab> Gerowen: thanks
[04:50] <toxictype>  I downloaded the official WIndows ISO. HOw do I make an installer USB? Nothing worked so far.
[04:51] <lotuspsychje> toxictype: there's a woeusb snap if you like
[04:51] <dax> ubottu: winusb
[04:51] <toxictype> I MEAN
[04:51] <toxictype> I COULD
[04:51] <toxictype> USE A VIRTUAL MACHINE
[04:51] <toxictype> BUT LIKE CAN IT EVEN DO PHYSICAL USB?
[04:59] <inascime> hi, i'm trying to set shortcuts with keys PgDN and PgUp but when i press those keys to set the shortcut nothing happens, anyone knows whats up with that?
[05:00] <lotuspsychje> inascime: maybe try super + pgup/pgdown currently set for workspace switching
[05:01] <inascime> i wanted to use it for volume control
[05:01] <inascime> hmm
[05:01] <lotuspsychje> inascime: dont your laptop already have volume control with Fn+ F keys?
[05:01] <inascime> is there no way to set it without the super?
[05:01] <inascime> im not on a laptop, i have desktop with a 80% keyboard
[05:02] <inascime> tkl
[05:02] <inascime> it doesn't have media keys
[05:02] <lotuspsychje> ok
[06:12] <SoItBegins> I am installing a wireless antenna on my computer. The driver is on the manufacturer (TP-Link)’s website...
[06:13] <SoItBegins> but it’s rated for Linux Kernel versions 2.6.18 to 4.4.3 [The driver has a publishing date of May ’18 so that may have been the most recent kernel version at the time, I’m not sure].
[06:13] <SoItBegins> Disco Dingo has kernel 5. If I install this driver, am I likely to cause any sort of trouble?
[06:18] <ikanobori> Try it :)
[06:19] <guiverc> SoItBegins, 18.04 (2018-April release) uses 4.15 kernel so 4.4 (16.04's kernel of 2016-April) couldn't have been the latest - I'd say try it too
[06:19] <SoItBegins> guiverc: Try the driver, you mean?
[06:20] <guiverc> Antenna implies to me screw out of card, add new one which wouldn't need a driver change I'd think, but yeah I'd try kernel driver/module  (4.4 was a 2016-Jan kernel)
[06:29] <SoItBegins> Sounds good.
[07:24] <chieta> is this the right channel to ask about the Ubuntu Canonical Windows Subsystem Linux here?
[07:32] <geirha> !wsl
[07:33] <MrSassyPants> Latest kernel update seemingly removed the ability to access my samsung phone's files, any info on this?
[07:52] <chieta> thanks for pointing #ubuntu-on-windows, geirha
[08:09] <airwind> Hello, I have a PC with 2 HDDs. One is for OS, other is empty and I'd like to use it for backup.
[08:09] <airwind> What linux program do you recommend for periodic packups of a certain data folder?
[08:09] <airwind> I'd like to make incremental backups meaning that only files that have changed are backed up. Bonus, if it also saves history so I can access earlier file versions.
[08:14] <tomreyn> airwind: if you're copying data from one hdd to another on the same computer that's not considered 'backup'.
[08:17] <tomreyn> the proper backup is remote (from where the data is primarily processed / in motion / used), encrypted, incremental. proven restorable, and not remotely deletable.
[08:20] <lotuspsychje> !backup | airwind for real backup
[08:28] <tomreyn> borgbackup and restic (if it doesn't explode) are fine, duplicity is slow but can be ok if not much data.
[08:28] <vlt> airwind: I use rdiff-backup (but don't know other tools).
[09:04] <SoItBegins> Does Ubuntu Disco use the Unity desktop?
[09:09] <yvyz_> SoItBegins: No, Default desktop is Gnome
[09:10] <SoItBegins> OK, sweet. I knew there was a privacy setting you had to set if you were using Unity, so that’s good to know.
[09:22] <airwind> another question. I noticed that some recent ubuntu flavors are using disk encryption with grub2 LUKS module (meaning /boot is also encrypted).
[09:23] <airwind> Does this support different keyboard layouts or is it US only?
[09:41] <yvyz> Disc encryption is not automatic. As for Grub2 phase 1 keyboard layouts and LUKS/2, you can change the keyboard layout.
[09:41] <yvyz> The grub configuration would be mostly the same for any other distro when you intend on an encrypted /boot
[09:45] <Woodpecker> Best diff tool available on ubuntu?
[09:46] <lotuspsychje> Woodpecker: we usually dont take polls here, try apt-cache search keyword, or software centre
[09:53] <Woodpecker> lotuspsychje: yeah, but there are a million.
[09:53] <yvyz> Welcome to linux
[09:53] <lotuspsychje> Woodpecker: feel free to ask reccomends in #ubuntu-offtopic or #ubuntu-discuss
[09:53] <Woodpecker> k
[09:55] <airwind> yvyz: Back in the days there was a tutorial (Pavel Kogan) how to manually encrypt the disk including /boot, and you had to use grub's luks module to decrypt and read initramfs
[09:56] <airwind> but the system was limited to US keyboard layout only. In order to change it you supposedly had to use a grub2 module named at_keyboard
[09:56] <airwind> I tried it out, and it ended up ignoring all my keyboard input
[09:57] <airwind> this was like 2 years ago, but today seeing that the ubuntu installers adopted this encryption technique as the default I am assuming there has been some development to warrant this change
[10:01] <yvyz> I am unaware of an auto installer that provides encrypted /boot
[10:04] <airwind> there are live installers that ask you to encrypt the disk during partitioning, yes? I know for a fact that Lubuntu has one, not sure about others, but they probably have them too.
[10:06] <Cheez> yeah the ubuntu installer offers full disk encryption as an option during installation
[10:06] <Cheez> and is done using LUKS
[10:07] <yvyz> Yes
[10:07] <yvyz> But you specifically mention encrypted /boot
[10:08] <airwind> luks + encrypted /boot + grub2 luks module
[10:09] <yvyz> All four of my machines are running LVM on LUKS2
[10:09] <yvyz> 1 with encrypted boot
[10:11] <airwind> if you're using encrypted /boot then your password prompt will look like this: https://i.imgur.com/c2vLutm.png
[10:11] <yvyz> Generally, you encrypt your rootfs separately from your boot.
[10:12] <EriC^^> airwind: to add /boot to the encrypted luks isnt hard fwiw
[10:12] <yvyz> But he wanted to know if phase 1 would support a different language than en_US
[10:12] <airwind> I wasn't saying it was.
[10:12] <airwind> ^^
[10:13] <EriC^^> yeah just putting that out there in case it's helpful
[10:13] <yvyz> I don't know of an auto installer that provides encrypted boot. only encrypted rootfs...
[10:13] <EriC^^> hence, the fwiw
[10:13] <yvyz> But I understand that auto installers are not how to solve your problem
[10:13] <airwind> hmm, I'll do some test installations and observe what structure is generated by the installer
[10:13] <yvyz> But apparently I am here to learn
[10:14] <yvyz> After you install, check /etc/default/grub for GRUB_ENABLE_CRYPTODISK=y
[10:15] <yvyz> Which is the flag notifying GRUB to boot from an encrypted volume
[10:15] <airwind> well... auto installers are a problem when certain features aren't available; normally I had to pause during installation, launcha shell and modify some stuff in mid-installation to get the exact layout I wanted.
[10:15] <airwind> yvyz: yes, GRUB_ENABLE_CRYPTODISK is set in my config
[10:15] <yvyz> Grub2 decrypt boot volume, which gets mapper cryptlvm volume information, which thend decrypts the rootfs, which then is then booted in phase2
[10:16] <yvyz> Great, and that was from an auto installer?
[10:17] <yvyz> Some sources say that Grub2 only supports US in phase1. I have seen that differ. But this isn't an ubuntu issue anyhow. This would be Grub
[10:17] <airwind> it would technically be whatever grub2 package is in the linux repo and the config files it contains
[10:18] <airwind> if grub2 supports something that the installation script doesn't utilize then it's not grub to blame
[10:19] <yvyz> You are the expert.
[10:19] <yvyz> I find it amazing the linux repository contains grub.
[10:21] <yvyz> Maybe it changed? I have been on arch for some time now
[10:21] <yvyz> besides my servers at least
[10:38] <supermag> Hello, I have a CI with a subscribed card in it. The system is Conax. Is there anyway I can spot if the card is updating properly ? I have not used it for a long time.
[10:56] <Enissay> Hi, will "rm -R folder1 folder2 ..." work ? to delete multiple folders in one command
[10:56] <Uqbar> Enissay: yes.
[10:58] <Enissay> Uqbar: Thx
[11:01] <BluesKaj> Hey folks
[11:05] <Ryvius> Hello, I need to install mesa-vulkan-drivers-18.2.8-0ubuntu0~18.04.2.i386 but apt doesn't find anything with that name, how do I install it?
[11:08] <EriC^^> Ryvius: maybe it's this package?
[11:09] <EriC^^> !info mesa-vulkan-drivers bionic | Ryvius
[11:09] <Ryvius> Looks like I got it, thanks
[11:22] <someone235> Hi, I'm installing Xubuntu, and I have the option "Encrypt the new Ubuntu installation for security", but I can choose it only if I choose "Erase disk and install Xubuntu". How can I encrypt the partition if I don't choose "Erase disk and install Xubuntu"?
[11:23] <blackflow> someone235: manually
[11:24] <someone235> blackflow, you mean, after installation?
[11:24] <blackflow> someone235: no, manual partitioning
[11:25] <someone235> blackflow, so how can I encrypt a partition with manual partitioning?
[11:28] <blackflow> someone235: the installer should have the manual partitioning option, where you choose "Use As", encryption for the partition you want to encrypt, and then when it creates the encrypted device you continue using it for / with fs of your choice
[12:27] <sappheiros> falkon is freezing, or has frozen. how do i terminate it?
[12:28] <sappheiros> from within terminal, i mean. this time i was able to right-click close it from task bar
[12:28] <sappheiros> but last night even that right-click did not respond
[12:39] <sappheiros> is there an ubuntu alternative to Google Drive/Documents? Google Documents freezes my lubuntu 18.10 32-bit Dell D620
[12:42] <dr4ken> folks, which is the oldest available by default kernel in 18.04?
[12:43] <dr4ken> and how can i install it?
[12:45] <EriC^^> dr4ken: try 'apt-cache search linux-image' and see what you get
[12:45] <EriC^^> sudo apt-get install <package here   to install it
[12:46] <dr4ken> EriC^^, thanks
[12:46] <EriC^^> np
[12:47] <dr4ken> EriC^^, also, by any chance have you fixed issues with wireless cards in ubuntu?
[12:47] <dr4ken> i have a wireless usb device that for some reason works wonders in my xubuntu 16.04 upgraded to 18.04 (kernel 4.15)
[12:47] <EriC^^> not much, feel free to explain the problem here and if someone knows they might give some input
[12:47] <dr4ken> but it doesnt work in any chance in another machine with ubuntu 18.04 clean install with 4.18 kernel
[12:48] <EriC^^> dr4ken: aha, i think you can use 4.15 in 18.04
[12:48] <EriC^^> !info linux-image-generic bionic
[12:49] <dr4ken> EriC^^, yeah hope so it works, im installing it rght now
[12:49] <EriC^^> dr4ken: 4.15 is default in bionic, i think 4.18 is the HWE package
[12:49] <EriC^^> cool
[12:50] <EriC^^> dr4ken: make sure you boot into it from grub's advanced options menu, cause by default it'll still boot the newest kernel
[12:50] <dr4ken> yeah, i will use grub-cuztomizer to modify the grub wait time
[12:50] <EriC^^> dr4ken: you could hold shift when the pc starts to get grub too if you want
[12:51] <dr4ken> EriC^^, the thing is, i had to use HWE because look like the driver im looking for was removed from mainline in 4.18 and moved to another little package
[12:55] <woenx> Hi. I installed a package from source (exiv2), which is a requirement for compiling another software. apparently, that other software uses PKGConfig to detect whether exiv2 has been installed, but it doesn't seem to be working correctly. How can I make sure PKGConfig is correctly detecting that package?
[12:59] <Uqbar> woenx: are you sure it doesn't require libexiv2 instead?
[13:05] <dr4ken> folks, if a driver fails to compile in my ubuntu 18.04, which is my other best bet?
[13:10] <pragmaticenigma> dr4ken: To ask your question in a development channel. Compiling is not supported here. Try #ubuntu-devel
[13:10] <dr4ken> pragmaticenigma, even if im not developing it? its a driver that builds at install time
[13:12] <woenx> Uqbar: yes, it asks for libexiv2, but I thought it would be compiled with exiv2
[13:12] <woenx> I can't find libexiv2 in github
[13:12] <pragmaticenigma> dr4ken: This channel is for support existing as provided applications, drivers, configurations of Ubuntu. That is to say, the volunteers focus on supporting what is documented in release notes, and on https://help.ubuntu.com/ ...
[13:14] <pragmaticenigma> woenx: It appears that you should find the forum that specializes in the application that you are trying to compile, they are going to be your best resource for getting help on missing dependencies.
[13:14] <woenx> I see
[13:14] <Uqbar> woenx: apt search libexiv and then install the one you need
[13:14] <woenx> Yep, but the version in the repositories is outdated
[13:15] <pragmaticenigma> woenx: What application are you trying to compile? Is it not already provided in the software repos?
[13:15] <woenx> My specific question was about PKGConfig
[13:15] <woenx> pragmaticenigma: exiv2 and libexiv2. The version in the repositories is 0.25, but I need 0.26 or higher (ideally 0.27)
[13:16] <pragmaticenigma> woenx: That is not what I asked, I'm asking what your end goal is
[13:16] <woenx> to compile digikam from source in ubuntu 18.04.2
[13:16] <pragmaticenigma> woenx: What is wrong with digikam as it is already provided in the software repos?
[13:17] <woenx> It's very outdated. Also, I have to test some new features in the code for the beta version, so I'd need to compile it regularly.
[13:17] <pragmaticenigma> !latest | woenx
[13:18] <woenx> Anyway, I created a virtual machine (in virtualbox), so I can have an Ubuntu 18.04 clean install just for compiling that software
[13:18] <pragmaticenigma> woenx: If you want help in building the application from source, please find their forums and groups. They are better suited for helping you. As I mentioned earlier, this channel is focused on Ubuntu as it it officially support and provided through the official distribution channels.
[13:18] <woenx> Ok
[13:19] <woenx> but my initial question was if you knew if PKGConfig was also a working feature in ubuntu (I was suggested that this may be the issue)
[13:21] <pragmaticenigma> woenx: The versions of those packages are going to be the versions required by other applications in the repos. That is to say, if you're trying to compile bleeding edge, it is very likely the supporting libraries that are provided in the repo will not match the requirements of application you are attempting to compile from source
[13:21] <woenx> Yes, I understand, but in this case, I'm trying to compile both the main application and its dependencies (libexiv2 and opencv, basically)
[13:22] <woenx> And maybe, if I am successfull, I could generate up to date .deb packages of these programs so I can easily install them in other computers
[13:23] <pragmaticenigma> All of that is considered off topic here, which is why I am encouraging you to seek out the correct forums for this topic. You might have some luck asking in #ubuntu-app-devel
[13:23] <woenx> yes, i will
[13:24] <woenx> I already asked in the app forum... and they were not very ubuntu-friendly, that's why I thought of asking here
[13:24] <woenx> but thanks anyway :)
[13:38] <traubisoda> hi everyone
[13:38] <za1b1tsu> Does anyone else experiencing issues with lynx? Not loading pages
[13:39] <pragmaticenigma> za1b1tsu: What site are you trying to access?
[13:39] <traubisoda> I'm out of free space on a server, so I looked for large logs, and I stupidly rm-d /var/log/btmp, and it didn't free up any space. I checked with lsof and there is no process holding that file. Is there any way to free up the space without restarting the server?
[13:43] <blackflow> traubisoda: first you need to figure out what's hogging all the space. `ncdu` can help
[13:45] <za1b1tsu> pragmaticenigma, https://pastebin.com/raw/dtkRf4gD
[13:54] <traubisoda> blackflow thanks for the tip, but I don't have it installed and I don't think I can get it with 0 free space :')
[14:06] <pragmaticenigma> za1b1tsu: I'm not having any difficulty using lynx on Ubuntu 18.04.2 ... Perhaps purge and reinstall lynx, a config file might have become corrupted
[14:33] <dr4ken> folks, i have an usb wireless nic that does works wonders in the _live_ ubuntu 16.04, but it is rk-kill "hard-block" in the installed instance
[14:33] <lotuspsychje> dr4ken: wich chipset is that?
[14:34] <jeremy31> dr4ken: try reset BIOS to defaults
[14:34] <dr4ken> lotuspsychje, mt7601
[14:34] <dr4ken> jeremy31, BIOS? what could e th ecause in BIOS?
[14:34] <jeremy31> dr4ken: weird things happen
[14:36] <jeremy31> dr4ken: a hard block shouldn't be possible without a switch
[14:36] <dr4ken> jeremy31, it does havea switch, but i had the same issue in the previously installed 18.04
[14:36] <dr4ken> even once the switch was "unblocked"
[14:37] <jeremy31> dr4ken:  does it also have internal wifi?
[14:38] <lotuspsychje> dr4ken: try that bios reset jeremy31 suggested and come back after reboot
[14:38] <dr4ken> jeremy31, yeah, and it was always blocke
[14:38] <dr4ken> lotuspsychje, ok, give me a few minutes, while i end up the initial apt update
[14:44] <jeremy31> dr4ken: if the internal is removed, the switch position will be ignored
[14:44] <jeremy31> Have to go
[14:44] <rodybig> Is there a way to log percentage of CPU utilization caused only due to the networking stack?
[14:49] <dr4ken> jeremy31, thanks, but i _cannot_ remove the internal one due desires from the owner
[14:49] <dr4ken> it is not my machine
[14:49] <dr4ken> jeremy31, see you later
[14:49] <blackflow> rodybig: doesn't ring a bell, but I guess if it would be possible, then it'd be through a kthread listed in ps/top. However, you can monitor interrupts and see how NIC interrupts relate to others (/proc/interrupts)
[14:55] <TJ-> rodybig: could you use the packet counts as an analogue? If so see tools like "sar" and "vnstat"
[15:01] <rodybig> TJ- What do you mean? Can you explain?
[15:02] <TJ-> rodybig: without inserting kprobes into the various kernel functions that handle network tasks there's no way to do what you want. But, if you measure the package throughput and plot that against CPU usage, you can get an analogue indication how much the network throughput affects the overall CPU usage
[15:03] <TJ-> rodybig: if you design a measurement rig so the only load will be network throughput, you can determine that without other factors intefering
[15:15] <iffraff> hi, I have a makefile that has a couple of processes that take a while. then it run a process that requires sudo, so the ux is run make command and the wait a long time and then notice that you need to enter password.  Is there a way to propt for password in the beginning?
[15:16] <TJ-> iffraff: you could add a sudoers rule with NOPASSWD for the user and binary to be executed
[15:19] <iffraff> TJ-:  thanks, um, I'm not entirely sure what you mean though :)  I guess I don't know how to add a sudoers rule or what I would add it to.
[15:20] <sam155> hi
[15:23] <sam15588> ha
[15:23] <TJ-> iffraff: here's an example from my systems. In this I have a series of Cmnd_Alias definitions that describe specific commands the alias relates to. Then, for my user "tj" I have a NOPASSWD rule that includes the list of aliases. This means my user can call, e.g, "sudo apt ..." without needing to type a password
[15:23] <TJ-> iffraff: see https://paste.ubuntu.com/p/8PMT8bnjNj/
[15:25] <iffraff> thank you I will read that.  the task that requires sudo is deleting a directory that the user doesn't have rights to.  I think it might actually require password.
[15:26] <iffraff> oh wait  think I understand
[15:28] <iffraff> you make a sudo call at the top and then make the other commands NOPASSWORD.  but would that work with rm -rf?
[15:28] <Groar> hi
[15:29] <TJ-> iffraff: you can limit the command if it is static to avoid misuse, e.g. "Cmnd_Alias RM = /bin/rm -rf /path/to/dir" -- you can be specific as to the arguments to the program, don't just have to list the command name
[15:29] <Groar> how can I increase the resolution of tty_(number) terminals?
[15:30] <iffraff> TJ-: ah I was wondering where rm lived :)  ok I'll give this a try thank you
[15:30] <TJ-> Groar: you mean the video display width x height of physical consoles?
[15:30] <Groar> yeah
[15:30] <TJ-> iffraff: if you ever wonder do "which <command>" - it'll search PATH and tell you
[15:33] <Gosset> Hi all, what are the best practices for Upgrading from one version to the next one? Thanks
[15:34] <sam155> best linux channel?
[15:36] <TJ-> Gosset: read the release notes *first* to learn about any gotchyas that may affect the install
[15:36] <Gosset> I've read keeping /home separate from / is a good practice, but when upgrading to a new version things might get strange
[15:36] <leftyfb> Gosset: backups, remove all PPA's and the packages installed from them and have good backups. Also have multiple backups.
[15:36] <Gosset> humm
[15:37] <TJ-> Gosset: upgrading doesn't affect /home/ - what you seem to be referring to is *replacing* the installed OS with a nother
[15:37] <Gosset> of course I backup everything
[15:37] <Gosset> but it's at /home where are all the config files, isn't it?
[15:37] <leftyfb> I don't recommend just dumping /home back onto an install of a newer release. Restore from backups as needed and make sure things work for each setting/application
[15:38] <Gosset> if I upgrade to a new version, those configurations might conflict?
[15:38] <other_rick> hi, I need automatically execute a script from a squashfs image in order to update 20 or more machines, I tried to do that using the rc.local but nothing happens, someone has another approach?
[15:39] <Sven_vB> hi! on xenial, I enabled dpmsQuickOff and set dpmsOff to 0:00:02 (2 seconds?) and xscreensaver actually turns off my screen backlight when it starts. however, sometimes after a short moment it reactivates the screen to show some yellow text, even though I disabled overlayStderr and verbose. also when the password dialog closes due to timeout, the screen will stay active and show yellow text. how to fix?
[15:39] <Gosset> thanks TJ-
[15:40] <Gosset> So I am to install Ubuntu on a 1TB SSD + 4TB HDD, what partition table scheme do you recommend
[15:40] <TJ-> Gosset: configuration stored in user's home is never touched; only the system config files
[15:41] <Gosset> ok
[15:42] <leftyfb> Gosset: I recommend keeping things simple, preferably some redundancy and having backups
[15:42] <Gosset> so TJ- I assume you've been attached to a separate /home partition for years?
[15:42] <Gosset> thanks leftyfb
[15:42] <Gosset> you only upgrade Ubuntu versions?
[15:42] <iffraff> TJ-:  hello  I need a bit more help.  so seems like you are cat-ing a file that specifies some command.  In my /etc/sudoers.d  there is only a read me.  secondly, is line 1 and 2 actually one line of bash?  plus more if you are still there :)
[15:42] <TJ-> Gosset: it makes no difference for standard do-release-upgrade from one release to another; /home/ isn't affected
[15:43] <Gosset> because you upgrade the /
[15:43] <TJ-> iffraff: you need to *create* the file(s) containing the entries and put the file in /etc/sudoers.d/  -- you don't need separate files, can use one. I just split mine up for ease of use since I have a LOT of them
[15:43] <Gosset> I've been reading and watching some youtube videos about this and I don't understand quite well
[15:44] <TJ-> Gosset: package upgrades never touch anything in /home/ because packages are not stored, nor put their system-wide configuration, in that directory.
[15:44] <leftyfb> Gosset: running the do-release-upgrade does not modify your partitions at all. It only upgrades packages and some configs
[15:45] <leftyfb> TJ-: sort of (snaps) ;)
[15:45] <Gosset> I said *upgrade the / to simplify
[15:45] <leftyfb> Gosset: upgrading does not modify your partitions
[15:45] <TJ-> leftyfb: snaps change things in $HOME (aside from their own image) ?
[15:46] <leftyfb> TJ-: I think so, though I don't know 100%
[15:46] <TJ-> leftyfb: ouch... if so, another reason to avoid snaps
[15:47] <leftyfb> TJ-: there's a "current" link to the latest version in the same directory in ~/snap/<application>/. I assume when upgrading to a newer version, that gets modified. Pretty benign, but a change non-the-less
[15:48] <Gosset> then, may I ask what do you do when upgrading from 16:04 to 18:04 i.e.
[15:48] <Gosset> just a single command?
[15:48] <TJ-> leftyfb: thanks for telling me
[15:48] <TJ-> Gosset: yes, as I said, "do-release-upgrade"
[15:48] <leftyfb> Gosset: desktop or server?
[15:48] <Gosset> but after 4 o 5 versions, the system is still stable?
[15:49] <Gosset> desktop
[15:49] <leftyfb> Gosset: there's a GUI to accomplish the same thing
[15:49] <Gosset> I've been on 12.04 for 6 years..
[15:49] <Gosset> it's time to upgrade but..
[15:49] <TJ-> Gosset: a few weeks ago I d-r-u-ed from 12.04 to 18.04
[15:49] <leftyfb> 12.04 was EOL'd 2 years ago
[15:49] <Gosset> I know
[15:49] <leftyfb> TJ-: gross
[15:49] <TJ-> Gosset: as in 12.04 > 14.04 > 16.04 >18.04
[15:50] <TJ-> Gosset: i just had to take time and care to ensure service configuration file customisations and changes in syntax didn't cause issues
[15:50] <Gosset> amazed
[15:50] <Gosset> I think I'm going to do a clean install
[15:50] <TJ-> leftyfb: it was easy! the hard part is I've got to move that i386 18.04 to amd64 in-situ
[15:51] <leftyfb> Gosset: that is how I always do it. It's nice and refreshing
[15:51] <TJ-> Gosset: for most desktop installs there's little to worry about for system service configuration. But on servers there's often a lot
[15:52] <Gosset> I know, I use Ubuntu just for non serious things
[15:52] <Gosset> nothing professional
[15:52] <Gosset> leftyfb I agree
[15:53] <Gosset> back when I used only Windows, I reinstalled the OS quite often
[15:53] <Gosset> but it's because Ubuntu is so customazible that I wanted to keep all those tweaks
[15:53] <Gosset> [sorry for my spanglish btw]
[15:56] <iffraff> TJ-: ok so in the pastebin you sent is the second line what you put in the new file in sudoers.d?  or do you put the command you are trying to execute?
[15:57] <TJ-> iffraff: maybe I should remove the cat commands to make it clearer
[15:59] <iffraff> actually I stopped being lame and googled it :) so thank you for the lead!  however, this would require all users of the makefile to have the sudoer.d file in there system. this will be used by the whole team, I'm not sure if that's going to work
[15:59] <TJ-> iffraff: https://paste.ubuntu.com/p/rn5mnTCMGy/
[16:00] <TJ-> iffraff: whatever you do you'll need to change config on every system
[16:00] <iffraff> ug.  well thank you, and thanks for the updated pastebin
[16:00] <TJ-> iffraff: the only other option is to be able to repeatedly call "sudo --reset-timestamp" whilst the long-running process is running
[16:03] <iffraff> ah, so it's not the case that the sudo times out for the particular console, it's that there's a good chance that the console has not yet had sudo password entered.  I was hoping just to prompt for that step at the begining so when the first couple processes are done the user wont be prompted again.  they are not really that long running just annoying to have to watch
[16:08] <TJ-> iffraff: oh, I thought you meant the sudo timer was timing out
[16:08] <TJ-> iffraff: in which case have the user issue a sudo somethingo-or-other harmless command at the start
[16:08] <TJ-> iffraff: this doesn't help if you're doing automation of course, which is where NOPASSWD comes in
[16:10] <iffraff> ah, cool so what would a "harmless" sudo command be? I imagine there must be something pretty simple. like maybe the reset-timestamp you mentioned
[16:12] <TJ-> iffraff: "sudo echo hello" :)
[16:15] <iffraff> oh, you just make any call with sudo.  duh.  :) thanks.
[16:16] <rfm> iffraff, all this sudo stuff sure seems like a rathole to me... wouldn't it be easier just to set the permissions on the shared directory so all the users can write it?
[16:18] <iffraff> yes, that would make sense. but it's actually a volume that docker creates via a shared directory.  but the solution is super easy as you point out. I just don't want to have to look up 10 minuets later to see it's still waiting for a password and has tons of work left to do.
[16:18] <iffraff> so thank you!@
[16:18] <iffraff> I mean thank you!
[16:31] <b1ack0p> unregged?
[16:42] <SuperLag> Running 19.04 - trying to do updates, and it's hanging on snapd stuff. Is this a known issue? I posted a screenshot. https://imgur.com/gallery/XJ6Bk9N
[16:43] <SuperLag> It's been in that same spot for almost an hour.
[16:46] <iffraff> Hello, I am extremely vexed by having notifications occurring in all different places of my workspace, some in the browser, some it slack, I get some via ubuntu but not all and the ubuntu notifications suck and have no custimization.  Is there any app or plug in that can aggregate these nicely ?
[16:47] <lotuspsychje> iffraff: there are some settings in dconf-editor about notifications, but not really to group them
[16:48] <za1b1tsu> anyone experiencing this with lynx:  https://pastebin.com/raw/dtkRf4gD
[16:49] <ryuo> iffraff: za1b1tsu no.
[16:49] <ryuo> err
[16:49] <ryuo> za1b1tsu: no
[16:49] <iffraff> lotuspsychje:  so I mean I'm pretty sure that ubuntu gets all the notifications. it must expose them via some api, what sort of language or app would one need to build to plug that in?
[16:50] <Uqbar> za1b1tsu: probably some cloudflare voodoo
[16:51] <Uqbar> potentially having to do with behaviour observed from your IP address
[16:53] <za1b1tsu> *scratches head*, guess w3m for me
[16:54] <ryuo> za1b1tsu: or you could just disable browser notifications.
[16:56] <za1b1tsu> ryuo, I don't get it
[16:57] <ryuo> za1b1tsu: i've only seen browser notifications show up if you've agreed to allow a website to send them.
[17:00] <za1b1tsu> and that crashes lynx?
[17:07] <woenx> Btw, the link to the Packaging Guide in this website https://help.ubuntu.com/community/CheckInstall is broken. Can it be fixed?
[17:07] <woenx> it should point to http://packaging.ubuntu.com/html/
[17:09] <deadrom> hola
[17:09] <woenx> hola
[17:09] <Sven_vB> is there a way to give multiple valid PAM passwords to a user? I'm trying to hack physlock in a way that allows several users to unlock the screen.
[17:10] <lordcirth> Sven_vB, surely there is a better way?
[17:11] <TJ-> Sven_vB: could you use a group password?
[17:11] <lordcirth> ... I didn't know those existed. That's cool.
[17:13] <Sven_vB> TJ-, nope, it only accepts one username. also that's only in the version that xenial's apt accepts. the feature seems to have vanished from master, or Ubuntu uses a fork.
[17:16] <Sven_vB> maybe I can use vlock instead, as I don't need power saving (except dpms)
[17:24] <TJ-> Sven_vB: the only way I can think would be to use pam_mysql with a db backend that has multiple user records and checks all of them before returning success/failure to PAM
[17:24] <Sven_vB> TJ-, thanks! I might try that if vlock doesn't work.
[17:35] <davidfetter_work> hi
[17:35] <davidfetter_work> i just built some upgrade .deb packages locally. how do I use them to do the upgrade?
[17:35] <davidfetter_work> <-- Ubuntu n00b
[17:36] <lordcirth> davidfetter_work, dpkg -i <filenames>
[17:36] <davidfetter_work> lordcirth: and that'll just do the upgrade, not install a 2nd version?
[17:36] <davidfetter_work> sorry for the dumb questions
[17:36] <lordcirth> davidfetter_work, if the package name is the same
[17:36] <davidfetter_work> k
[17:37] <TJ-> *and* the package installs to the same paths
[17:50] <davidfetter_work> worked beautifully. thanks, lordcirth and TJ :)
[17:50] <davidfetter_work> TJ-*
[17:51] <deadrom> I'd like to run scripts/commands when resuming the machine from a suspend, where is the place for that?
[17:52] <TJ-> deadrom: /etc/pm/sleep.d/
[18:05] <pavlos> deadrom: it happens I wrote an article, https://www.azloco.org/2019/04/06/systemd-suspend-resume-script/
[18:09] <Sven_vB> how do I decide whether I want to install grub onto sda or sda1?
[18:10] <Sven_vB> sda has GPT and partition 1 is 16 MB of fat16 that I reserved for grub
[18:10] <Sven_vB> but with msdos partition table disks, I usually install it onto the disk itself, nor?
[18:19] <EriC^^> Sven_vB: that's correct
[18:20] <EriC^^> Sven_vB: it boils down to whether you want to boot via uefi or legacy
[18:21] <Sven_vB> I'm gonna try uefi then
[18:21] <akik> Sven_vB: i've used this on a uefi system: grub-install --efi-directory=/boot/efi --boot-directory=/boot --target=x86_64-efi
[18:22] <Sven_vB> should I create the efi directory first?
[18:22] <EriC^^> Sven_vB: you'll need to add the efi partition to fstab and mount it first
[18:22] <EriC^^> (under /boot/efi)
[18:23] <Sven_vB> does /boot have to be on the same disk as /boot/efi?
[18:23] <EriC^^> no
[18:23] <Sven_vB> ok so I just mount sda1 into /boot/efi right?
[18:23] <Sven_vB> why would I need it in fstab?
[18:24] <EriC^^> this is my fstab line 'UUID=0A87-44C2  /boot/efi       vfat    umask=0077      0       1'
[18:24] <EriC^^> Sven_vB: cause it's a partition of the system and in the future grub will want to update the files there etc with package updates
[18:25] <Sven_vB> oh ic
[18:26] <EriC^^> are you doing this from a chroot?
[18:27] <Sven_vB> nope, from an regular Ubuntu (not livecd) that resides on a USB thumb drive, together with the super GRUB disk.
[18:27] <Sven_vB> basicall I want the disk to boot one of my USB Ubuntus. however, they'd probably interfere with each other, so I changed plans and will try to install the supergrub onto the disk first.
[18:31] <Sven_vB> how do I tell gparted I want to specify the partition size in sectors?
[18:32] <lordcirth> Sven_vB, why do you need to?
[18:33] <Sven_vB> lordcirth, I want to copy the supergrub partitions as verbatim as possible
[18:34] <Sven_vB> actually I'd prefer to make hfs+ support work and then copy all the files, but that seems to be advanced.
[18:34] <Sven_vB> just installing hfsutils and stuff didn't seem to be enough
[18:35] <lordcirth> Sven_vB, you might have to use 'parted' then
[18:41] <lotuspsychje> SuperLag: did you just filed that snapd bug?
[18:43] <Sven_vB> I'll try gdisk then
[18:45] <Sven_vB> lordcirth, oh sorry, saw that too late. but if gdisk can't do it I'll try parted. :
[18:45] <Sven_vB> :)
[18:45] <lordcirth> Sven_vB, whatever CLI tool you like, yeah
[19:00] <SuperLag> lotuspsychje: I didn't file any bug, but I was wondering if there was one already, or that it was a known issue.
[19:00] <Sven_vB> gparted is so strange. it can't check my 1 MB fat16 partition, while fsck.fat can.
[19:01] <SuperLag> lotuspsychje: going on 3 hours and the update process is still hung at that same spot
[19:01] <lotuspsychje> SuperLag: i found just this: https://bugs.launchpad.net/bugs/1834361
[19:02] <SuperLag> lotuspsychje: that looks like it might be Italian. Definitely not me. :D
[19:02] <lotuspsychje> SuperLag: on 18.04 i also tested, also had similar error as yours, but mine finished updates with sucess
[19:05] <lotuspsychje> SuperLag: can you try closing other software as much as possible
[19:06] <teward> SuperLag: my computer probably outclasses lotuspsychje as well but it passed without issues, same warnings, but not a critfail it just took some time
[19:10] <lotuspsychje> SuperLag: can you try the workaround in the bug description: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1776622
[19:12] <bittin> Updated from Ubuntu 19.10 Alpha to Beta now
[19:13] <lotuspsychje> no crosspost bittin
[19:13] <bittin> lotuspsychje: sorry
[19:14] <leftyfb> !ubuntu+1 | bittin
[19:24] <ianliu> I've issued "sudo update-grub", and the output says: "Found Arch Linux on /dev/sda4", but there is no Arch Linux entry in the /boot/grub/grub.cfg file. Am I doing something wrong?
[19:25] <EriC^^> ianliu: type grep menuentry /boot/grub/grub.cfg
[19:25] <EriC^^> ianliu: where are you running this command from? a live usb?
[19:27] <ianliu> EriC^^ I'm running this command from my Ubuntu installation. The ubuntu is installed on /dev/sdb3, and the Arch Linux is on /dev/sda4
[19:27] <EriC^^> aha
[19:28] <EriC^^> what's the output of the grep cmd
[19:28] <EriC^^> !paste
[19:29] <ianliu> EriC^^ https://paste.ubuntu.com/p/CBtPsNnXZ3/
[19:30] <EriC^^> ianliu: type "ls -l /etc/grub.d"
[19:30] <ianliu> EriC^^ https://paste.ubuntu.com/p/ycgmDC795h/
[19:31] <ianliu> EriC^^ and this is the output of update-grub: https://paste.ubuntu.com/p/PPyjVSMXFf/
[19:32] <EriC^^> ianliu: this is pretty odd, try "sudo grub-mkconfig | nc termbin.com 9999" and paste the link please
[19:33] <Guest_94> Hi, I've tried to encrypt my home directory a few times using ecryptfs, while migrating from an second sudo account, an error that turns up saying home directory cannot be found. What am I doing wrong?
[19:34] <ianliu> EriC^^ https://paste.ubuntu.com/p/SCZTmpDF9v/
[19:34] <ianliu> EriC^^ this termbin.com is not responding to me
[19:35] <EriC^^> np
[19:35] <EriC^^> ianliu: please upload "cat /etc/default/grub"
[19:36] <ianliu> EriC^^ https://paste.ubuntu.com/p/8Hvftfqvw8/
[19:36] <EriC^^> ianliu: hmm, maybe it's cause arch is installed in legacy mode it's not picking it up?
[19:37] <EriC^^> i think that's it
[19:37] <EriC^^> ianliu: type 'sudo parted -ls' to confirm
[19:37] <ianliu> EriC^^ I installed arch linux without installing any bootloader, just the kernel. I was hoping ubuntu would create the EFI entry inside the EFI partition. Is this correct?
[19:38] <EriC^^> ianliu: it doesn't really need an efi entry, the efi entry just boots ubuntu's grub
[19:38] <ianliu> EriC^^ https://paste.ubuntu.com/p/ttVwRGFpty/
[19:38] <EriC^^> i think it doesn't technically need arch to be installed in efi mode, i mean it's just going to boot the kernel and whatnot, not like windows which it needs to match the mode for it to work
[19:38] <EriC^^> so hold that thought on the uefi/legacy issue
[19:40] <EriC^^> i think if it finds a kernel it should just add it, os-prober is even mentioning it, why it's not ending up in the config it's compiling is weird
[19:40] <EriC^^> ianliu: does 'sudo os-prober' give any more info?
[19:41] <ianliu> EriC^^ https://paste.ubuntu.com/p/YXTdVh7ZJ9/
[19:42] <EriC^^> ianliu: let's take a quick peak at the contents of /boot there
[19:43] <EriC^^> ianliu: sudo mount /dev/sda4 /mnt && sudo -ls /mnt/boot | nc termbin.com 9999
[19:43] <EriC^^> sorry
[19:43] <EriC^^> ianliu: sudo mount /dev/sda4 /mnt && sudo ls -l /mnt/boot | nc termbin.com 9999
[19:44] <ianliu> EriC^^ https://paste.ubuntu.com/p/Z26w6vmTSN/
[19:48] <ianliu> EriC^^ maybe I can add an entry manually? Don't know exactly how to do this, though
[19:48] <EriC^^> yeah you could
[19:49] <ianliu> EriC^^ I know that I shouldn't edit /boot/grub/grub.cfg directly, so how can I permanently add an entry?
[19:50] <EriC^^> ianliu: you have to add it to /etc/grub.d/40_custom
[19:50] <ianliu> EriC^^ thanks, I will try that
[19:50] <EriC^^> ianliu: are you sure you pasted sudo grub-mkconfig 's contents earlier? or grub-mkconfig -o /something ?
[19:51] <EriC^^> actually it doesnt matter much nevermind, it would have just shown where it found arch linux but i guess would be just empty after it
[19:51] <ianliu> EriC^^ yes, I've pasted the content of "sudo grub-mkconfig | tee /tmp/foo"
[19:51] <Scottbert> Does anyone know how to share folders from ubuntu? It doesn't seem to be working
[19:52] <ianliu> EriC^^ the grub-mkconfig seems to show the os-prober output on stderr, thats why /tmp/foo didn't have the " Found Arch Linux" I guess
[19:52] <EriC^^> ah
[19:52] <Scottbert> And as much as it drives me up the wall that Ubuntu doesn't think this functionality is important (what the heck do Canonical's customers do?), I know complaining is useless, I just want to know, how to make it work
[19:54] <lordcirth> Scottbert, how are you trying to do it?
[19:54] <Scottbert> Well, right click in dolphin and using the share tab doesn't work (changes are never saved). Editing smb.conf doesn't work. gtk-samba config tool seems to sort of work but when I actually open a folder remotely nothing happens
[19:55] <lordcirth> Scottbert, what OS do you need to share it to?
[19:55] <Scottbert> Windows 10
[19:56] <lordcirth> Scottbert, well, Win10 can mount NFSv3
[19:56] <lordcirth> (Surprisingly) so that's an option if need be
[19:57] <Scottbert> lordcirth: Is that why ubuntu doesn't support samba sharing anymore? Hmm... but the share tab doesn't configure NFSv3...
[19:58] <lordcirth> SMB should work. I personally haven't used it much, though.
[19:59] <Scottbert> lordcirth:I can access samba shares on other computers just fine. Ubuntu doesn't seem able to create its own shares
[20:00] <akem> Scottbert, You can try with command line, like: net usershare add -l Music /media/Music/ some_comment Everyone:R guest_ok=y
[20:01] <akem> Replacing the path and Music by whatever you wanna share.
[20:01] <tomreyn> i would think that for ubuntu to be able to create its own shares, you'll need to manually configure the file sharing service. https://help.ubuntu.com/lts/serverguide/samba-fileserver.html
[20:07] <lordcirth> akem, isn't 'net' a Windows command? He has a Windows client, not server
[20:08] <Scottbert> akem: Is that for samba? How do I make it only accessible to a specific user but read and write access?
[20:08] <akem> lordcirth, when you have samba installed you also have the command on Ubuntu.
[20:08] <lordcirth> Ah ok
[20:09] <akem> Scottbert, Did the command i pasted worked for you? I would suggest first try to see if it works without access control.
[20:10] <Scottbert> akem: net usershare info is complaining about invalid parameters. How do I unf*ck my samba config back to normal before trying this method to add shares?
[20:12] <akem> For a single user RW you need first to add the user with: sudo smbpasswd -a username, then you change the "Everyone:R" to "username:F" in the first command i pasted.
[20:13] <akem> Scottbert, i don't know how to set the config to default if you already changed things...maybe just uninstall/reinstall Samba.
[20:14] <Scottbert> although, I notice gtk-config had the same complaint... I wonder if the default install on ubuntu is messed up
[20:15] <akem> Scottbert, just try it out, ignore thoses messages just to see.
[20:15] <akem> I have some error messages here too, but everything works.
[20:15] <tomreyn> purge + reinstall or, less convoluted, install --reinstall --force-confnew --force-confmiss
[20:16] <akem> Well not errors but info messages.
[20:18] <b1ack0p> hi. i guess 18.04 default desktop is xorg right?
[20:19] <b1ack0p> when i do echo $XDG_SESSION_TYPE , it returns with x11
[20:19] <Scottbert> Had a backup config, now testing
[20:20] <tomreyn> b1ack0p: ubuntu 18.04 comes with gnome / gnome-shell and defaults to Xorg
[20:20] <b1ack0p> so x11 means xorg right?
[20:21] <tomreyn> yes
[20:21] <b1ack0p> so which one is better?
[20:21] <Scottbert> akem: Works on localhost, checking if windows can see it
[20:21] <b1ack0p> wayland or xorg
[20:21] <tomreyn> blackflow: "depends"
[20:21] <tomreyn> eer b1ack0p
[20:22] <b1ack0p> which one is preferrable?
[20:22] <b1ack0p> suggested?
[20:22] <Bashing-om> b1ack0p: Excercise each and see which you prefer, I find Wayland faster and smoother on my old system.
[20:22] <blackflow> tomreyn: I concur :)
[20:22] <b1ack0p> i am not so familiar ..
[20:23] <b1ack0p> blackflow: u or me should change nick i guess :p
[20:23] <b1ack0p> 2 blacks causing trouble here lol
[20:23] <b1ack0p> btw i am not black it is just nick :p
[20:25] <blackflow> b1ack0p: whoever registered last should change :)
[20:25] <tomreyn> blackflow: sorry for waking you up there ;)
[20:25] <blackflow> tomreyn: np ;)
[20:25] <Scottbert> akem: I can browse files, but when I try to actually open one, explorer hangs
[20:26] <b1ack0p> lol
[20:26] <b1ack0p> well i will try wayland maybe tomorrow..
[20:27] <tomreyn> is there a problem you're trying to solve this way?
[20:28] <deadmund> How do I figure out what the job is that is causing "a stop job is runing for Session c3 for user ..."  ???
[20:28] <Scottbert> akem: Opening a tiny jpg worked, but trying to open or copy anything multiple megabytes in size just... does nothing.
[20:28] <b1ack0p> tomreyn: me?
[20:29] <tomreyn> b1ack0p: yes
[20:29] <b1ack0p> tomreyn: no problem. just trying to understand what s xorg and wayland. learning
[20:29] <tomreyn> i see
[20:29] <Scottbert> akem: Similar behavior on linux, actually, even though it's THIS MACHINE. Accessing files through samba just... doesn'tr
[20:30] <deadrom> TJ-: uh.. ok, so I use the existing ones as templates, up the number and go for thaw|resume, right..?
[20:31] <akem> Scottbert, sounds like a networks issue at first, i would try to ping or disconnect/reconnect, but if it does in loopback on the host not sure...never had this sort of issue.
[20:32] <b1ack0p> while watching 720p videos on youtube it freezes. is it because of ubuntu intel drivers or my pc?
[20:33] <b1ack0p> i cant imagine 1080p at all
[20:33] <b1ack0p> video freezes but not sound on 720p
[20:33] <deadrom> b1ack0p: what gpu?
[20:33] <akem> I have samba shares on my main Ubuntu machine that i use from Ubuntu/Win 7 and 10 and Android and i never had trouble, i just define the share from command line i didn't try to configure it etc.
[20:34] <akem> Streaming music/movies etc.
[20:35] <b1ack0p> deadrom: intel gma
[20:36] <deadrom> b1ack0p: xorg is just the graphical subsystem, wayland is another. on top of that you can have any window manager or full blown desktop environment you like, there's plenty to choose. ubuntu's standard is xorg, which is X.org's implementation of the X11 protocol. X has been around for many years, some while ago it was not xorg but xfree86, long story, and now Wayland tried to become the new thing for quite a while and while you can run X apps
[20:37] <deadrom> on Wayland, too, it seems people prefer to stick to what they got. first time here I actually hear someone using it.
[20:37] <deadrom> b1ack0p: what does lspci | grep VGA say?
[20:42] <deadrom> b1ack0p: anyway, what I'm up to: how old is this? did you pull an old t60 laptop from the attic or is it recent? 10 year old laptop will struggle. a recent intel cpu should not. plenty of power for video.
[20:42] <deadrom> gotta run
[20:43] <Scottbert> akem: process_usershare_file: stat of /var/lib/samba/usershares/j failed. No such file or directory
[20:44] <Scottbert> akem: That name matches a share I tried to create earlier with other methods... but I reset smb.conf, so how does it know it ever existed? And why does it care if it does when the remote user is browsing ANOTHER SHARE?
[20:44] <Scottbert> maybe I need to restart the samba service...
[20:45] <akem> Scottbert, try: net usershare delete j
[20:45] <akem> If the name is "j"
[20:46] <akem> Looks like it was not really reseted, or it stayed there anyway.
[20:48] <Scottbert> akem: Restarted smbd, works fine now. So... how do I make a share that requires user+pass auth? And the user, if it won't use linux users. I can google this, but there have been so many conflicting things and yours was the first that worked
[20:49] <akem> Scottbert, add your user to samba with: sudo smbpasswd -a username
[20:49] <akem> It should ask for a password.
[20:51] <akem> then later add your share, something like:  net usershare add -l Music /media/Music/ some_comment username:F guest_ok=y
[20:51] <akem> F is for Full access, so read/write.
[20:51] <Scottbert> Just did that. Testing now
[20:53] <Scottbert> akem: That worked! Now I just need to get VPN access, and I'll fin ally hjave all the functionality windows 10 had before microsoft broke VPNs
[20:53] <akem> Scottbert, Great ;)
[20:57] <Scottbert> akem: and it LOOKS like it's creating the files in /var/lib/samba/usershares so these will persist through reboot
[20:58] <Scottbert> akem: Any tips re: making this computer also a VPN server? I tried poptop but it just said it couldn't connect.
[20:59] <akem> Scottbert, I don't know i just use VPN as a client with openvpn.
[21:02]  * ChristopherJames Rolls a 6 sided dice and gets 6
[21:12] <Scottbert> pptpd is not listening on any ports, anyone know how to fix this?
[21:14] <sarnold> Scottbert: the usual steps are to look if the program is a daemon that starts on boot or something that's started out of inetd or xinetd or similar
[21:14] <sarnold> Scottbert: if it's a daemon, then it's probably got a configuration file in /etc
[21:15] <Scottbert> NM I read ltups wrong. Still no idea why it's not accepting connections. Wonder if I can find logs...
[21:15] <sarnold> Scottbert: if it's started on demand when needed, then it may or may not have a configuration file, but the listening would be configured in systemd socket files, or inetd, or xinetd, or whatever
[21:19] <Scottbert> pptpd has logwtmp enabled but it's not logging to var/log/messages
[21:21] <sarnold> logwtmp feels like /var/log/wtmp -- so w and last work
[21:32] <Scottbert> ubuntu doesn't have a built-in firewall that could be blocking the PPTP port, does it?
[21:39] <mloza> hello, how can I make drive drive letter persistent across reboot ?
[21:40] <tomreyn> mloza: a "drive letter", are you sure #ubuntu os where you wanted to go?
[21:40] <guntbert> mloza: drive letter? there is no such thing in Ubuntu
[21:40] <mloza> yeah I mean /dev/sda, /dev/sdb so on
[21:40] <tomreyn> use file system UUIDs instead.
[21:40] <mloza> I have multiple disk in a single server consisting of SSDs and NVMe
[21:41] <mloza> I have UUID set in /etc/fstab
[21:41] <mloza> but it breaks my configuration management
[21:41] <mloza> I wanted to keep the drives persistent
[21:41] <guntbert> mloza: in that case replace them with UUIDS in /etc/fstab
[21:42] <mloza> guntbert: I have it UUID but sometimes but it breaks the SCM that I use
[21:42] <mloza> guntbert: I have it UUID but it breaks the SCM that I use *
[21:43] <guntbert> mloza: sorry, I am about to quit - bedtime :-)
[21:45] <tomreyn> this osunds like you should reconfigure your configuration management, or SCM, to use UUIDs / UUID based device paths.
[21:47] <b1ack0p> oh i missed deadrom /
[21:47] <tomreyn> this may also help: /dev/disk/by-id/
[21:48] <tomreyn> mloza: ^
[21:48] <tomreyn> see also the other /dev/disk/by-*
[22:00] <courrier> On 18.04 I wrote a Python daemon started by SystemD by multi-user.target. That script plays sound, which works very well as soon as a session is opened. When no user is logged in on Ubuntu though, no sound can be heared although the sound control in the login screen is maximum. Any idea to fix this?
[22:21] <leonardus> firefox 0day patch in ubuntu repos yet?
[22:22] <sarnold> leonardus: https://usn.ubuntu.com/4032-1/
[22:30] <leonardus> sarnold: fantastic thank you
[22:30] <sarnold> leonardus: you're welcome :) have fun
[22:56] <akem_> I have an issue with thumbnails of ebooks in Nemo, pdf files and so on, Nautilus correctly creates the thumbnail preview of the files but Nemo put always the same icon instead and not the tumbnails, any idea with this?
[23:11] <akem_> https://pastebin.com/gzTnFyhf i got this sort of errors about apparmor?? i tried purging reinstalling evince but no go, nautilus can create the thumbs without problems so i don't understand.
[23:12] <sarnold> akem_: could you file a bug for that? ubuntu-bug evince should do the job
[23:13] <OerHeks> cbr: Unrecognized image file format
[23:16] <akem_> I found that it's only over smb, on local storage it works but over smb(even in loopback smb) i got theses strange apparmor errors.
[23:17] <akem_> OerHeks, it writes the same for pdf, but in local mode it does create the thumbnails and don't complain.
[23:18] <akem_> sarnold, i'm not sure i should, because it works in nautilus even over smb.
[23:18] <OerHeks> oh oke, so nautilius + local storage works, just no ton smb..
[23:18] <OerHeks> c/not on
[23:18] <OerHeks> that is network wise explainable
[23:18] <akem_> Nautilus works in local and smb but Nemo works only in local.
[23:19] <akem_> But i prefer to use Nemo :/
[23:24] <akem_> I will try to remove apparmor to see.
[23:28] <akem> There is evince thumbnailer listed in apparmor enforce mode.
[23:41] <akem> Removing apparmor fixed the issue, but in fact i think it's the /usr/bin/evince-thumbnailer apparmor profile (it's listed as enforced in the apparmor status) which should be adjusted somehow. Don't know much about apparmor tho...
[23:43] <akem> What is strange is that Nautilus can do it even with that.
[23:46] <akem> I don't know where to report bug for Nemo...
[23:52] <akem> I guess on github.
[23:54] <sarnold> akem: 'ubuntu-bug evince'