[00:01] <bray90820> Swam: Just like you would if it was installed
[00:51] <en1gma> i have windows 10 64bit installed on a single drive (SSD) with its default partition layout when you install windows 10. i have ubuntu 16.04.2 LTS on a usb stick and am thinking about installing on same SSD drive for a dual boot configuration. will i lose any data when i do this install? i domt know of drive is setup as GPT or MBR. does it matter?
[00:53] <Jordan_U> en1gma: 1: Always have backups of any important data, even if you aren't planning to do something like repartitioning and installing a second OS.
[00:53] <oerheks> if you don't have a backup of your data, it is not important.
[00:54] <oerheks> both gpt and mbr are supported.
[00:54] <Bashing-om> en1gma: How the drive is set up do matter . Ya want ton install ubuntu in the same mode as Win10 . OEM install of Wind10 is a EFI (GPT) install .
[00:54] <kk4ewt> en1gma, and use windows to resize the windows partitions
[00:56] <en1gma> i can resize in windows 10 disk manager i think but then do i use gparted from live usb then reboot and do ubuntu installer?
[00:57] <Jordan_U> kk4ewt: en1gma: I actually disagree with using Windows to resize the windows partitions. I think that ntfsresize (the tool used by Ubuntu's installer) is just as reliable at resizing ntfs as Windows' disk manager if both are used properly. I think there is less chance of user error when allowing Ubuntu's installer to handle partitioning.
[00:58] <Jordan_U> en1gma: The Ubuntu installer can handle resizing your Windows installation.
[01:02] <xpkill23> hi serach vhost
[01:08] <en1gma> im not worried about the resizing...nice try. i been talking about the gpt and mbr.
[01:09] <en1gma> i installed windows 10 64 bit on single ssd. bios settings = secure boot on for uefi and and bios = off
[01:10] <en1gma> what do i need to look for when using ubuntu 16.04 amd64 live installer
[01:10] <en1gma> when partitioning comes up.
[01:10] <en1gma> btw i resize in windows 10 and then use gparted quite often with no ill effects.
[01:11] <oerheks> i would let windows make the free space, and let ubuntu handle partitioning & bootloader
[01:11] <en1gma> what does ubuntu do when it comes across a windows 10 installation? does it know to continue with gpt?
[01:22] <Jordan_U> en1gma: Ubuntu's installer never changes the type of partition table (unless you tell it to whipe the whole drive) and would choose GPT for a UEFI based install anyway.
[01:29] <en1gma> Jordan_U good info to know there. thanks
[01:29] <Jordan_U> en1gma: You're welcome.
[01:37] <leftyfb> ok, I got one. Ubuntu 14.04.5. I'm running a container with a bridge interface so it's public facing. Every few days or so it just loaded all network connectivity. The only way to restore is to reboot the host completely. Shutting down the container, restarting lxcfs, nor restarting networking on the host resolves it.
[01:55] <rntz> hi. I have some lvm volumes I'd like to mount, but they're not appearing in /dev, either as /dev/<vgname>/<lvname>, or in /dev/mapper. googling brings up mostly irrelevant stuff. anybody got any clue how to figure out what's wrong?
[01:56] <rntz> I also tried `systemctl start lvm2`, but it says lvm2 is masked?
[02:00] <rntz> nvm, figured it out
[02:12] <ColdIce> Hi, I'm running a ipsec tunnel from router a to b-server (Ubuntu). On b-network, I can ping internal network on A-network. So IP-sec is working fine. But! I have another interface attached to the ubuntu server that is private network. Trying to route packets through the ubuntu server to A-network, but it's not working.
[02:13] <ColdIce> So the client is another linux-distro, static route is configured towards the ubuntu server, but not working. Any network help please?
[02:15] <kenrin> ##networking
[02:17] <ColdIce> thx
[03:00] <kythx> hello all
[03:12] <BillTsui>  Hi
[03:12] <BillTsui> !How to fix these? http://paste.ubuntu.com/24861390/
[03:13] <Ben64> !mint | BillTsui
[03:13] <kythx> how is everbody
[03:16] <BillTsui> ubottu: I know it. But the same error happened on Ubuntu 16.04.02.I installed Ubuntu 16.04.02 first,these errors occured when I used 'sudo apt-get update'
[03:16] <Ben64> BillTsui: but you're not on ubuntu, so you need to go to the proper channel for support
[03:29] <deadc0rps> hello, i'm just tying weechat
[03:29] <deadc0rps> is aybody reading this?
[03:30] <Bashing-om> deadc0rps: I read ya . good to go :)
[03:31] <deadc0rps> thanks!
[03:38] <Shaan> anyone in here have any experience with overclocking nvidia cards on Linux?
[03:41] <kk4ewt> never needed to
[03:42] <Ben64> Shaan: usually best to ask your actual question
[03:55] <Shaan> Hi guys i havea gtx 1070 running ubuntu 16.04 LTS i would like to overclock it can anyone point me in the right direction
[03:57] <berglh> finally getting network lt2p vpn client working in ubuntu, if you want to do this easily, click the "this bug affects you" on xenial backports issue https://bugs.launchpad.net/xenial-backports/+bug/1697934
[04:02] <sirru5h> !seen psycowarrior
[04:34] <rajivmars> hi. i am using ubuntu 16.04. i have set the display brightness according to my preference, but wheever i plugged my laptop to power source the brightness is automatically increse. why is this happening?
[04:42] <YankDownUnder> Ah...nevermind.
[04:45] <Legendre> Need help connecting raspi zero to ubuntu / mint via USB. For some reason the machine will not assign the correct handle to the raspi.. it doesn't show up as usb0, but some odd numeric string.
[04:46] <Legendre> Ive seen some info on this, but the solutions don't work for me. Seems like a different, more fundamental issue.
[04:46] <Legendre> and yes this is a Mint machine, but I see the exact same bugs in *buntu - so might as well be.
[04:47] <lotuspsychje> !mint | Legendre
[04:47] <Legendre> gotcha lotuspsychje
[04:48] <Legendre> But fwiw, it does seem to be a base-wide issue.. if you haven't heard of it yet, you might.
[04:48] <lotuspsychje> Legendre: you can install ubuntu if you like, see if you have the same symptons and ask here then
[04:49] <Legendre> lotuspsychje: thanks, yeah. I ran Xubuntu for around 8-9 years.. it's a fine series.
[04:49] <Legendre> still have it on several machines, for that matter.
[04:51] <Legendre> again, my point is that a search reveals that there are at least as many *buntu users with this experience as mint users. Which is kind of odd, as I'd think that buntu would have a way larger aggregate share. Anyway, cheers!
[04:51] <kythx> hello all
[04:51] <Legendre> hey kythx
[04:51] <kythx> how are you?
[04:52] <Legendre> just fine, thanks. Your dangself?
[04:52] <kythx> fine
[04:52] <Legendre> So I was just griping about an issue I'm having in Mint. What are you doing here?
[04:53] <kythx> just looking around
[04:53] <kythx> just got done fixing someones windows computer
[04:53] <kythx> also kali linux and ubuntu are my favorite OS types
[04:53] <lotuspsychje> keep it ontopic guys
[04:53] <Legendre> Not much going on, really. Just you, me and lotuspsychje
[04:54] <Legendre> never heard of kali. Do you use straight-up ubuntu, or xubuntu etc?
[04:54] <lotuspsychje> Legendre: on freenode we have seperate channels for seperate maters/Os
[04:54] <lotuspsychje> !ot | Legendre
[04:55] <Legendre> lotuspsychje: Yeah, I know. Been on this net for like 18? yrs.
[04:55] <Legendre> I'll keep it tight, ok?
[04:59] <kythx> kali is a Debian based OS with pen testing tools its a reborn on backtrack
[05:00] <kythx> of not on
[05:02] <lotuspsychje> kythx: plz use the #ubuntu-offtopic channel
[05:02] <lotuspsychje> kythx: the #ubuntu channel is only for problems and issues regarding ubuntu
[05:03] <kythx> ok sorry
[05:03] <kythx> i was giving a response to his question about kali
[05:15] <iopq> I had a problem with starcraft in in 17.04, I made a clean install to check and the issue was there. I made a clean install of 16.04 and it works fine: https://bugs.winehq.org/show_bug.cgi?id=43011
[05:16] <iopq> does anyone know how to downgrade to 16.04 safely without accidentally my home folder?
[05:18] <ikonia> you can't downgrade
[05:18] <ikonia> you need to install 16.04
[05:18] <hateball> Why? You can just keep multiple wine versions using eg Lutris
[05:18] <hateball> Seems less troublesome than reinstalling the entire OS
[05:20] <iopq> because it doesn't work with the same version of Wine
[05:20] <iopq> I am using 2.10 staging on both
[05:20] <iopq> when I boot into 16.04 it has a delay
[05:20] <iopq> *doesn't have the delay
[05:20] <iopq> right now I booted into 17.04 and it has the delay on 2.10 staging
[05:23] <psychoticwarrior> whats up ppl
[05:56] <psychoticwarrior> hey
[05:56] <Easyrider> hey :)
[05:58] <vadi> Is it possible to use GCC 5 on Ubuntu 14.04?
[05:59] <voltbit> am I the only one having problems with firefox 54? many sites dont load
[06:01] <auser_> hey guys, i have two servers identical, one of them is always using all cpu cores and the other only use one : http://i.imgur.com/CHTYqRo.png
[06:02] <auser_> how can i control that? i also want to force the other server to use all cpu cores, can someone tell me what do i need to do ?
[06:32] <laceyaney> Created a minimal xubuntu desktop from the ubuntu netinstall iso on a standard 2009 macbook. Laptop does not resume / awake / turn on the screen when the lid has been closed. Does anyne know how I can fix ths ??
[06:35] <YankDownUnder> laceyaney, Is it safe to assume you've already asked in #xubuntu?
[06:35] <laceylaney> Yes I did and I even posted on the macbook area of ubuntuforums...
[06:36] <laceylaney> Been trying to work this out for weeks...
[06:36] <YankDownUnder> laceylaney, Cool bananas...just asking...
[06:37] <YankDownUnder> laceylaney, And (as I'm looking at my MBP) - you've hit the "power" button - and the same, ya?
[06:37] <laceylaney> Whenever I re-open the lid after I have closed it the screen sta~ys black and hitting the power button does nothing.
[06:38] <laceylaney> To get the laptop to work again I need to force power off by holding in the power button for seconds...
[06:38] <YankDownUnder> laceylaney, Fair enough - asking "just so's I know"...
[06:38] <laceylaney> Totally understand :-)
[06:38] <YankDownUnder> laceylaney, yeah - well, doing that's kinda pointless, ya reckon, eh...
[06:38] <YankDownUnder> Doesn't resolve the issue at hand.
[06:39] <laceylaney> Yea it kind of is...
[06:39] <YankDownUnder> laceylaney, What ver of Ubu? (16.04 or 17.04?)
[06:39] <ThePortWhisperer> hello
[06:39] <ThePortWhisperer> i rekked my box by doing a sudo mv $ENV_VAR/etc/passwd where the var was not set
[06:39] <laceylaney> All I want is to be able to close the lid and resume whenever I open it again. I'm using 16.04 fully updated...
[06:40] <ThePortWhisperer> anyone know how i can boot from this live CD and restore my /etc/passwd file? i am here now https://snag.gy/n6xtdo.jpg
[06:40] <YankDownUnder> laceylaney, Coolbeans...16.04 at least is "supported" - as it were...
[06:40] <YankDownUnder> laceylaney, And you've like double/triple checked the "energy" settings - the power settings and display settings and all that lovely jazz in the XFce control centre, yersh?
[06:41] <Easyrider> laceylaney I see a lot of complaints about that problem in the forums.  I am running 16.04 on a desktop and suspend does the same thing.  You have to power cycle the box to get it to come back.
[06:41] <laceylaney> Yes I have indeed :-)
[06:41] <laceylaney> ~Ahhhh right ok, thanks for the heads up :-)
[06:42] <sirru5h> !whowas psycowarrior
[06:42] <YankDownUnder> If all this is being "squacked" about in the forums - is there a primary issue - like is it the way the kernel handles the suspend/resume, or is it graphics, or is it the power daemon...? I'll assume it's not "desktop/window manager" related...
[06:43] <laceylaney> It can't be desktop related I don't think because this has happen to me before on, openbox, i3 or even lxde only installs...
[06:44] <YankDownUnder> laceylaney, Yersh...reckoned as much...but still asked "just cuz"
[06:44] <laceylaney> Why not lol
[06:44] <Easyrider> It acts like a bug to me.  I've not seen any credible solutions posted.
[06:44] <YankDownUnder> laceylaney, When you do open the lid back up...and it's obviously BLACK...have you tried doing a CTRL+ALT+F1 to see if tty1 is accessible?
[06:45] <laceylaney> Yep I've tried many different things and that was one of them...
[06:45] <YankDownUnder> Easyrider, Small nuclear weapons are the answer. Kinda...not a clean answer...but an answer nonetheless...
[06:45] <YankDownUnder> laceylaney, Thought so...still...gonna ask...
[06:46] <YankDownUnder> And if you actually choose "hibernate" or "suspend" when you're logging off/locking - it does the exact same thing?
[06:48] <laceylaney> well with hibernate it does the same thing only it drains part of the battery while doing so.
[06:48] <laceylaney> Suspend just does the same as when closing the lid.~..
[06:48] <laceylaney> with hibernate it is as if the batter does not fully power down...
[06:49] <YankDownUnder> laceylaney, Yersh...
[06:49] <YankDownUnder> laceylaney, And the amount of RAM you've got is equal to your swap size, yersh?
[06:49] <laceylaney> Yes indeedy
[06:50] <YankDownUnder> laceylaney, ...and can't blame M$ for this...(dang...dang...dang)
[06:50] <laceylaney> I just wish I could in some way...
[06:50] <YankDownUnder> laceylaney, I'm actually taking a dig through kernel parameters...cuz my curiosity is piqued...
[06:51] <laceylaney> Though in this day and age I hate apple just as much now lol. Ohhh amazing. Thank you very much :-)
[06:52] <YankDownUnder> laceylaney, I'm reading this right now: https://askubuntu.com/questions/768136/how-can-i-hibernate-on-ubuntu-16-04
[06:53] <laceylaney> I'll have a read myself now too :-)
[07:03] <laceylaney> Have you found anything of use ??
[07:05] <Kaixxl> indeed!
[07:19] <Freddish> Hmm 17.04 is such a slow version to be honest. On my pc its very slow. Strange.
[07:22] <Kaixxl> Freddish think I'll miss unity. I rather liked it.
[07:24] <laceylaney> Once ubuntu has fully made the switch to gnome you'll be able to uninstall it and  install unity instead
[07:24] <laceylaney> Unity is still going to be developed I think...
[07:26] <ikonia> unity will be a community project
[07:26] <Kaixxl> Yeah, but there'll be more complications by default. I'll see if i can get used to gnome.
[07:27] <iopq> I'm installing 16.04 instead of 17.04, is there any way to automatically install the software I have installed right now in the new version
[07:32] <laceylaney> Guys I have to run right now. Will be back on asap. Thanks for the help so far :-)
[07:34] <Kaixxl> iopq bash scripting?
[07:35] <iopq> Kaixxl, I was wondering if there was a non-annoying method
[07:35] <makr>  someone to do the bash scripting
[07:35] <makr> *pay
[07:36] <Kaixxl> iopq xD well dism is worse!
[07:37] <Kaixxl> but yeah.
[07:38] <OlofL> I need GUI text editor that can do rectangular select and edit. Equivelant to notepad++ alt+select. Suggestions?
[07:41] <ikonia> iopq: there are ways to build package manigests
[07:41] <ikonia> iopq: the problem you've got is sometimes package names change between version/dependencies change between versions, or packages get obsoleted
[07:41] <ikonia> manifests I meant
[07:42] <ikonia> !apt-mirror
[07:44] <iopq> I want starcraft to work so now I'm at the zoo shaving a yak
[07:44] <ikonia> what ?
[07:44] <iopq> so starcraft menus have a bug in ubuntu 17.04, but work perfectly in 16.04 - same Wine version (staging 2.10)
[07:45] <iopq> I tested this with clean installs
[07:46] <iopq> to install Ubuntu 16.04 on my SSD, I'd have to back up my home folder, but it's too large to fit on my HD because my HD has 3 partitions and there's a whole Bitcoin chain stored on the SSD
[07:46] <iopq> to back up my Bitcoin to use an SPV wallet I need to use software to extract my private keys
[07:46] <iopq> that software requires Qt
[07:46] <iopq> so I'm installing Qt in order for starcraft to work
[07:47] <iopq> oh and openJDK too, so that my SPV wallet runs and can import it
[07:48] <iopq> only so I can format this partition and install an earlier Ubuntu a few minutes later
[07:53] <o1e9> iopq: you may try Aptik, it may do the job for you
[07:56] <iopq> o1e9, thanks, I'll take a look at it
[08:36] <hosas> I need help: vlc not playing, while Totem is leaking memory whenever I tired playing a particular1080p  mkv file (I used to play other mkv without any issues although they are mainly 480p and 720p) ...oh it played without any problem on windows
[08:39] <hateball> hosas: do the different mkvs contain video with the same codec?
[08:40] <hosas> hateball: I don't think so, I never checked
[08:44] <Ben64> mkv is a container, anything can be inside it
[08:51] <hosas> Ben64: I know that
[08:52] <Kaixxl> hmm, i prefer mpv
[08:53] <hosas> hateball: I used mkvinfo to check the codec id: I found non for this particular file but, as I said earlier windows could play it
[08:54] <Ben64> hosas: try playing with mplayer/mplayer2/mpv and pastebin the output
[08:54] <hosas> Ben64: ok
[08:57] <hosas> Ben64: all went well with mplayer :)...But I don't understand why vlc couldn't handle it
[08:58] <Ben64> because vlc is not good
[08:58] <Kaixxl> also terrible visual quality.
[08:58] <hosas> Ben64: hahahaha...come'on really?
[08:58] <Ben64> really.
[08:58] <Ben64> i'm baffled that so many people apparently like it
[09:00] <hosas> Ben64: vlc has been saving since I was a kid....do you know why this same file is causing memory leakage in Totem (I played but eventually freezes the system..when no memory left)?
[09:01] <Ben64> idk, totem isn't good either
[09:02] <hosas> Ben64: ok thanks...noted
[09:15] <j4ckcom> i can use ubuntu desktop as server?
[09:17] <j4ckcom> No one is here?
[09:17] <iopq> nope
[09:18] <j4ckcom> nope :(
[09:18] <j4ckcom> then i must use ubuntu server?
[09:18] <j4ckcom> iopq: ?
[09:18] <geodb27> There is nothing to forgive you to use ubuntu desktop version as a server. What do you want to serve ?
[09:19] <geodb27> The fact is that if you do so, you might expose your desktop (i.e. the apps you use and so on as a user) to the computers you serve.
[09:20] <j4ckcom> https://www.digitalocean.com/community/tutorials/how-to-connect-to-your-droplet-with-ssh geodb27
[09:21] <geodb27> Yeah, and ?
[09:21] <j4ckcom> so i must use ubuntu server?
[09:22] <Ben64> j4ckcom: no
[09:22] <geodb27> Why the hell ? you can install ssh server on any linux machine, be it a destkop, server, ubuntu or whatever version you have.
[09:22] <Ben64> would help to know what you're trying to accomplish though
[09:23] <j4ckcom> Ben64: i just studying linux command
[09:23] <j4ckcom> :)
[09:23] <Ben64> would make sense to not have a desktop then
[09:25] <geodb27> Since you are under ubuntu, you can also try all you want in a lxd container. It should be as simple as : sudo apt-get install lxd && sudo lxd create ubuntu: lxc1 && lxc start lxc1 && lxc exec lxc1 -- /bin/bash --login in a terminal.
[09:25] <geodb27> From then on, you are in a container where you can do whatever you want without risking anything to break your desktop.
[09:28] <anchnk> hey sorry this question must have been asked several times but can't find a proper answer. I am trying to change the lightdm background on LTS 16.04. Any ideas which file I should edit for that ?
[09:29] <iopq> how do I show the menu of a program? It's missing for me
[09:31] <ikonia> iopq: the menu of "a program" ?
[09:31] <iopq> any program, I have no menus
[09:31] <ikonia> "no menus" what does that mean
[09:31] <ikonia> can you give an example
[09:32] <iopq> like File...
[09:32] <iopq> I just have nothing
[09:32] <iopq> or Help
[09:32] <geodb27> Try Alt+F
[09:32] <ikonia> iopq: you mean the window boarder drop down menus
[09:33] <ikonia> like file/edit/view/search that sort of thing
[09:33] <iopq> oh I found the setting
[09:33] <iopq> it's in appearance > behavior
[09:43] <rheo> hey, i cant mount a cifs drive.
[09:43] <rheo> tim@docker:/$ sudo modprobe cifs
[09:43] <rheo> modprobe: FATAL: Module cifs not found in directory /lib/modules/4.4.0-79-generic
[09:43] <rheo> tim@docker:/$
[09:43] <rheo> any idea what to do? im an amateur
[09:44] <ikonia> "docker" is the key there
[09:45] <rheo> the hostname?
[09:47] <ikonia> is this a docker container ?
[09:47] <rheo> no a docker host
[09:48] <rheo> no containers running at present
[09:49] <ikonia> so you're missing the module then
[09:49] <ikonia> I suspect it will be provided by the client package
[09:50] <ikonia> although I'm dissapointed it's not standard if thats the case
[09:50] <ikonia> what version of ubuntu is this ?
[09:51] <rheo> 16.10
[09:51] <sebsebseb> hi
[09:51] <ikonia> standard kernel ?
[09:51] <rheo> not sure, how to check?
[09:52] <dalto> uname -r
[09:52] <rheo> 4.4.0-79-generic
[09:53] <ikonia> I don't know if thats standard for 16.10
[09:53] <ikonia> I don't have a 16.10 box to hand here
[09:53] <rheo> could i switch to std one?
[09:54] <dalto> ikonia: apologies for the jump-in
[09:54] <ikonia> is that not a standard one ?
[09:54] <ikonia> dalto: not at all, get stuck in
[09:54] <ikonia> thats what the channel is there fore
[09:54] <ikonia> for even
[09:55] <dalto> :)
[09:55] <rheo> this fault started after a hard shutdown
[09:55] <ikonia> I suspect that has nothing to do with it
[09:56] <ikonia> I suspect you have the kernel updated and the update only took place after the reboot
[09:56] <BobKorn> now the standard 16.10 kernel is
[09:56] <BobKorn> 4.8.0-54
[10:02] <ikonia> 4.8 really ?
[10:03] <rheo> installing now
[10:03] <rheo> will report back
[10:03] <ikonia> installing what ?
[10:04] <rheo> 4.8.0-54
[10:04] <ikonia> hang on
[10:04] <ikonia> where did your other kernel come from
[10:04] <rheo> no ide
[10:04] <rheo> idea *
[10:04] <ikonia> then how are you installing 4.8.0-54
[10:05] <rheo> http://www.wikihow.com/Update-Ubuntu-Kernel
[10:05] <ikonia> you're adding a PPA ?
[10:05] <rheo> yeh
[10:05] <ikonia> what are you doing - that PPA is not the current supported kernel
[10:05] <ikonia> why are you doing that
[10:05] <rheo> trying to solve the cifs prob.
[10:06] <ikonia> no
[10:06] <ikonia> that is not the answer
[10:06] <rheo> didn work
[10:06] <ikonia> you're on your own - you're just doing random things
[10:06] <ikonia> no logic behind it at all
[10:06] <rheo> thanks anyway. will try again after
[10:06] <bizolos> Hi. I'm under Ubuntu 12.04 on a server and I can't find the xml module for libapache2-mod-php5
[10:06] <bizolos> PHP Fatal error:  Class 'DOMDocument' not found. Seems everywhere I can install php-xml or php-dom or php5.6-xml, but I can find none of these packages. Any idea?
[10:07] <dalto> cant help - I missed the crux?
[10:07] <ikonia> bizolos: what do you mean, "everywhere you can install them but you can't find them"
[10:07] <ikonia> how are you installing them if you can't find them
[10:08] <Ben64> 12.04 hasn't been supported for a couple months too
[10:09] <ikonia> thats a good point
[10:10] <BluesKaj> Hey folks
[10:10] <Kaixxl> Oi
[10:10] <bizolos> I mean everyone says to install these packages but I can't install them
[10:10] <bizolos> Yep, I have to change my version but right now I can't. I'll have to do it quickly, but I can't right now
[10:11] <Ben64> 12.04 is not safe to run
[10:11] <bhoejte> Does anyone here know how to create a delay after successful authentication (pam)?
[10:11] <bhoejte> All I can find is about minimizing or extending delays after authentication failures.
[10:12] <dalto> bizolos: have you installed the DOM extension?
[10:14] <sirru5h> Howdy Everyone
[10:15] <bizolos> dalto, https://gist.github.com/anonymous/9d39e486f6d5a7aa6cd1dbddc8b55d85
[10:18] <dalto> sudo apt-get install php5-dom according to https://stackoverflow.com/questions/14395239/class-domdocument-not-found - would that give ideas? I aint got a clue here and am relly just Dr. Googling
[10:20] <GWM> Hi I have a question about SMB under Kubuntu (In a virtualbox VM) my fstab doesn't auto mount what I set in it, the file manager says "permission denied: no match for", but it of course works excellent if I do sudo mount -a, an example of my fstab would be as such; //192.168.1.84/New/  /media/smbshare-shiva/New/  cifs  username=guest,password=,uid=1000,iocharset=utf8,users  0  0
[10:20] <dalto> hasPHP7 solve for Ubuntu there also but sure about the non support deal with 12.04 TBH
[10:20] <dalto> *not sure I mean
[10:21] <dalto> gotta roll
[10:23] <bhoejte> does it mount manually?
[10:23] <GWM> Yes, if I use sudo mount -a it works
[10:23] <GWM> I googled it and it  said I should have users in the fstab line if I want all users to be able to mount it
[10:24] <hateball> GWM: then it sounds like the network isnt ready
[10:24] <GWM> Yes the network is setup to auto connect to a VPN on this specific network
[10:24] <GWM> Can I setup a delay?
[10:24] <bhoejte> that just allows users in the "users" group to mount.
[10:25] <GWM> well I kinda assume my user is there, but let me check /etc/group
[10:25] <hateball> GWM: if it is the network (we dont know that) I'd suggest using https://help.ubuntu.com/community/Autofs
[10:25] <hateball> then it will perform the mount when you try to access the share
[10:25] <bhoejte> just issue "id", then you can see which groups your user is part of.
[10:26] <GWM> huh I don't have a users group
[10:26] <GWM> sudo groupadd users?
[10:27] <GWM> already exists huh
[10:27] <bhoejte> Just looked at the man page (and my own crontabs). In mine it just states "user", not "users".
[10:27] <bhoejte> sorry... fstabs
[10:28] <GWM> I saw both in examples
[10:28] <GWM> when user didn't work I took users
[10:28] <GWM> when that didn't work I went here
[10:28] <GWM> (after more googling)
[10:29] <bhoejte> I would say, like hateball, that the network might not be ready at mount time.
[10:30] <bhoejte> especially as you can mount it manually.
[10:30] <GWM> I guess I don't mind setting up autofs, but if fstab could delay it would work as well
[10:31] <GWM> hardware (host and guest) is installed on a 960 evo nvme disk, might be too much for the poor wifi card in this laptop
[10:31] <GWM> or the auto join of a vpn
[10:34] <bhoejte> I think that does take a few seconds to set up...
[10:34] <GWM> Maybe I can use noauto
[10:34] <GWM> I'll try that first
[10:35] <bhoejte> Then it won't mount at boot time, but you can then add a little boot script to the end of the boot sequence. Of course depending on which init system you use.
[10:35] <GWM> I think default is systemd?
[10:35] <bhoejte> In newer ubuntu, yes. Don't have much experience with that yet.
[10:35] <obinoob> #owncloud
[10:36] <bhoejte> But, I think they've implemented a backwards compatible layer as well.
[10:36] <GWM> sysvinit fanatical? :D
[10:36] <bhoejte> Nope. I use both, just haven't gotten as familiar with systemd as I am with SystemV
[10:37] <GWM> This gif is either verboten or posted too often; http://i0.kym-cdn.com/photos/images/original/000/925/966/8d2.gif
[10:38] <obinoob> hi I'm having a hard time configuring davfs2 getting /sbin/mount.davfs:/etc/davfs2/davfs2.conf:36: unknown option it seems as soon as I uncoment secrets option in davfs2.conf bam!
[10:39] <bhoejte> Heh... I've seen that gif before. And must admit that I'm not a huge fan of systemd. That being said, there are some features i REALLY like in it.
[10:39] <GWM> Hmmmm how do I edit my boot sequence under systemd then, and add mount -a too the end
[10:40] <GWM> questions questions, google, my oracle, whisper me your secrets
[10:40] <bhoejte> See, that's what I mean about not being all up on systemd. For me it'll be trial and error, but maybe they have a "last" keyword to the unit files somewhere.
[10:40] <GWM> oh a simple systemd script and put it after target.network maybe?
[10:41] <obinoob> anyone on davsf2 ?
[10:41] <bhoejte> unless your vpn is a separate target.
[10:41] <GWM> now where does kubuntu want systemd scripts
[10:41] <obinoob> *davfs2
[10:41] <bhoejte> obinoob: sorry, never used it.
[10:41] <GWM> network-manager with openvpn plugin, let's find out
[10:42] <obinoob> bhoejte: thats fine ;) anyone else?
[10:42] <bhoejte> Now THAT i've seen just yesterday (unit file placement)... Just a moment.
[10:43] <bhoejte> Cr.p... That was SuSE, but they have it in /etc/systemd/system
[10:44] <bhoejte> That is, that's where they store their unit files.
[10:45] <GWM> uh, bhoejte, stupid question, but where is the actual mount command?
[10:45] <GWM> sbin? bin? /usr/bin?
[10:45] <bhoejte> in /bin/mount
[10:45] <GWM> I can find a mount.cifs in sbin
[10:46] <bhoejte> In a shell, do an "which mount", that will tell you what command it executes.
[10:46] <bhoejte> It calls the individual mount executables that's used for each filesystem.
[10:47] <bhoejte> You could call the mount.cifs directly instead.
[10:47] <GWM> Mkay
[10:48] <GWM> I wonder if this'll work; https://pastebin.com/Se33Ngc6
[10:48] <GWM> too stupid?
[10:49] <bhoejte> It might, and no, You're not too stupid, at least not from what I've seen. :-)
[10:49] <obinoob> is the davsf2 package broken for server 16.04 ?
[10:49] <GWM> I meant the script, not myself :D
[10:49] <GWM> Alright let's give it a spin, do I need to enable the service or will systemd pick it up
[10:50] <GWM> by itself?
[10:50] <GWM> sudo systemctl enable mount-smb.service?
[10:50] <bhoejte> I usually do ExecStart and ExecStop to execute start/stop scripts with unit files.
[10:50] <GWM> unit file?
[10:51] <GWM> what would I use as my ExecStop paramater?
[10:51] <GWM> The same thing again?
[10:52] <GWM> [Service]
[10:52] <GWM> ExecStart=/bin/mount -a
[10:52] <GWM> ExecStop=/bin/mount -a
[10:52] <bhoejte> I call a wrapper script, then do the command in there.
[10:52] <bhoejte> But it might work.
[10:52] <bhoejte> Something like:
[10:52] <bhoejte> ExecStart=/app/KMD_SCRIPTS/bin/wildfly_startup.sh ExecStop=/app/KMD_SCRIPTS/bin/wildfly_shutdown.sh
[10:53] <GWM> Alright
[10:53] <GWM> I'll give it a whirl, time to reboot
[10:56] <Legendre> could someone give me a brief description of how the gpio pins are accessed?
[10:57] <GWM> Right. The next time I should maybe pay attention if I write sudo reboot into the VM or the host
[10:57] <GWM> maybe.
[10:57] <Legendre> Are they abstracted to a /dev/ or .. something else?
[10:57] <Legendre> in this case, it's a zero
[10:58] <Legendre> can they be addressed from basic useland?
[10:58] <GWM> bhoejte, journalctl says mount error(101): Network is unreachable
[10:58] <Legendre> you know, poke / peek? =)
[10:59] <GWM> As is maybe expected
[10:59] <bhoejte> The the network is not accessible at the time...
[10:59] <bhoejte> Does the vpn have a target name?
[10:59] <GWM> Nah I didn't find any, it's network-manager that handles it
[10:59]  * Legendre notes he's typing in the wrong channel. Arrgh.
[10:59] <bhoejte> and your cifs mount is through vpn, correct?
[10:59] <GWM> actually no
[11:00] <GWM> but it might be in the future
[11:00] <GWM> so might as well fix it now
[11:00] <GWM> might = probably, 99% likely
[11:00] <bhoejte> still, the network is obviously not ready.
[11:00] <GWM> I mean, if I could just add a 10 second delay it would all be moot
[11:01] <GWM> !
[11:01] <GWM> I'll make it auto restart
[11:02] <GWM> until it succeeds
[11:02] <bhoejte> Just found a page describing running something last in systemd: https://www.mauras.ch/systemd-run-it-last.html
[11:02] <bhoejte> Looks a bit complicated.
[11:03] <Ichimusai> That's because systemd really prefers to run stuff in parallell if even remotely possible,
[11:03] <Ichimusai> bhoejte: Can't you tell systemd what the service depends on to have it started at the appropriate time?
[11:04] <bhoejte> Hmm... You could change your service type for the command to "Type=idle". At least according to: https://superuser.com/questions/544399/how-do-you-make-a-systemd-service-as-the-last-service-on-boot
[11:04] <Ichimusai> bhoejte: (Although I must confess I have things that are started in a cron like fashion 5 min after system boot :-D )
[11:05] <GWM> hold my beer I'm going in, need to reboot for new kernel on host anyway
[11:05] <bhoejte> Yes, but GWM has a problem with a command obviously starting prematurely, even though having set it to start AFTER the target.
[11:06] <bhoejte> Anyway, I think I can repeat my question without being called a spammer...
[11:06] <bhoejte> Does anyone know how to create a delay after successful authentication?
[11:10] <GWM> Well neither idle nor restart worked
[11:10] <GWM> dammit
[11:11] <bhoejte> still not working i take it.
[11:12] <GWM> It's striking like a french union
[11:12] <GWM> I mean it works great if I restart the service I made
[11:12] <bhoejte> Heh... Just read it as a french onion... Lot's of layers to get through.
[11:13] <GWM> Though I found this; https://btux1984.wordpress.com/2015/10/15/start-a-service-after-openvpn-connection-has-been-established-using-systemd/
[11:13] <GWM> now to find out what kind of vpn it setups, if it's even a tun adapter
[11:14] <GWM> ip a says tun0
[11:14] <GWM> well hello
[11:15] <GWM> *rubs hands together and laughs maniacally* I'm sure this will be aaaaallll riiiight
[11:15] <bhoejte> so that would be sys-devices-virtual-net-tun0.device
[11:15] <GWM> Though it'll only work with a VPN now
[11:15] <GWM> if I move to say my home network, it'll fail
[11:15] <GWM> but then again
[11:15] <GWM> maybe fstab will pick up the slack then
[11:16] <laceylaney> Back again ^^
[11:16] <bhoejte> This is annoying. Why aren't things just easy.
[11:16] <GWM> fudge it, also, I should maybe install hexchat on the host and not guest
[11:17] <GWM> less msgs to nickserv identifying...
[11:22] <bhoejte> Seems the fstab is converted to mount units now, not read directly. That means, that each mount should have a separate service if i'm reading that correct.
[11:23] <GWM> bhoejte, *ARGH* It continues to vext me!
[11:23] <bhoejte> https://unix.stackexchange.com/questions/236953/fsck-script-location/236968#236968
[11:23] <GWM> systemd isn't even honoring my restarts
[11:25] <bhoejte> And that's where i'm less happy with systemd. The debugging of the startup has become massively more complex. Oh well... Once it works it works well.
[11:33] <GWM> Got it now, thanks bhoejte!
[11:33] <GWM> Gotta run now though
[11:33] <bhoejte> Okay... Hope you get your problem fixed: I just found this: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1515446
[11:33] <bhoejte> might help
[12:01] <imadz713> hello
[12:01] <imadz713> i need help
[12:02] <sebsebseb> imadz713: hi
[12:02] <sebsebseb> with what ?
[12:02] <imadz713> i want to update my ubuntu version from 16.04 lts
[12:02] <imadz713> to 17.04
[12:03] <sebsebseb> why you want to upgrade?
[12:03] <imadz713> why not
[12:03] <imadz713> !!
[12:03] <sebsebseb> well 16.04 is a long term support
[12:03] <sebsebseb> 17.04 isn't
[12:03] <cfhowlett> because you'll only have 9 months of life, imadz713
[12:03] <sebsebseb> 17.10 won't be lts as well
[12:03] <imadz713> ah ok
[12:04] <sebsebseb> imadz713: you can upgrade, but
[12:04] <imadz713> nvm
[12:04] <sebsebseb> yes less support on
[12:04] <sebsebseb> non lts
[12:04] <Kaixxl> when will ubuntu ltsb with gnome come? any eta
[12:04] <imadz713> ty
[12:04] <sebsebseb> Kaixxl: sure
[12:04] <cfhowlett> 18.04 Kaixxl
[12:04] <sebsebseb> Kaixxl: 18.04
[12:04] <Kaixxl> ok, thanks
[12:04] <sebsebseb> Kaixxl: 17.10 with GNOME first by default
[12:04] <sebsebseb> followed by 18.04 LTS with it by default
[12:04] <imadz713> i m tryied do-realise upgragde -d
[12:04] <sebsebseb> !upgrade
[12:04] <sebsebseb> !lts
[12:04] <imadz713> it doesn't get the last update
[12:05] <sebsebseb> imadz713: you would have to upgrade through 16.10 as well
[12:05] <sebsebseb> imadz713: can't go directly from 16.04 to 17.04
[12:05] <cfhowlett> course not.  it's looking for the next LTS upgrade imadz713
[12:05] <Kaixxl> I'll wait for 18.04 then
[12:05] <sebsebseb> imadz713: by default its set to look only for next lts as well
[12:05] <sebsebseb> but can change that
[12:05] <imadz713> how ?
[12:06] <sebsebseb> imadz713: theres a option in the graphical thing
[12:06] <sebsebseb> cfhowlett: ^^^^^^^^^6
[12:06] <imadz713> i don't have graphic
[12:06] <imadz713> :(
[12:06] <sebsebseb> imadz713: theres the update manager program i think
[12:07] <sebsebseb> try t o search for softwae updater
[12:07] <sebsebseb> in the unity dash
[12:07] <sebsebseb> or something
[12:07] <imadz713> ok, ty for your time
[12:07] <sebsebseb> imadz713: its just a swtich opton
[12:08] <imadz713> ty so mush
[12:12] <fadavi> whats work of "wpa_supplicant" service?
[12:19] <g33bz> hello
[12:19] <sebsebseb> g33bz: hi
[12:20] <g33bz> how goes it today
[12:20] <sebsebseb> g33bz: OK you
[12:20] <rajivmars> hi. i am using ubuntu 16.04. i have set the display brightness according to my preference, but wheever i plugged my laptop to power source the brightness is automatically increse. why is this happening?
[12:24] <g33bz> not too bad but its still early lol
[12:24] <scottjl> probably some power saving feature in your bios. dims the screen on battery
[12:24] <zas> Hey, is there a packaged kernel >= 4.10 with aufs and cpu cgroups for 16.04 available somewhere ? I have new servers using AMD Ryzen CPUs, that apparently needs recent kernels, and aufs is required for our docker setup. It happens http://kernel.ubuntu.com/~kernel-ppa/mainline/ recent kernels have no AUFS support (stock 4.8 has it, but i had stability issues with amd cpus, so i want to try with more recent kernel).
[12:27] <g33bz> so i am having an issue connecting my phone to Ubuntu 16.04.  It used to work but stopped for some reason but it lets me charge the phone just not transfer pics or files or anything.  Any ideas?
[12:28] <psychoticwarrior> whats up
[12:28] <rajivmars> scottjl: but this is not happeming when i m using other linux os like fedora or opensuse.
[12:33] <rajivmars> i was just working on my laptop connecting it to power source. now when i disconnect the powers source, the brightness is suddenly up. anybody please help me figure it out.
[12:33] <scottjl> rajivmars: dimming in battery is a pretty common power saving feature. if other linux os' aren't doing it'd say they aren't supporting your laptop as well. anyway first place i'd check is if that is a feature in your bios.
[12:36] <rajivmars> sottjl: but why it is happening though i set the brightness to my limits?
[12:40] <g33bz> the phone thinks the pc is a mac i get a pop up on the phone that says android file transfer or samsung smart switch must be installed on Mac OS X devices
[12:40] <rajivmars> scottjl: also i have not opted for dim screen option.
[12:50] <moongazer> I just compiled the linux kernel from souce
[12:50] <moongazer> *source
[12:50] <moongazer> HOw do I install it?
[12:58] <psychoticwarrior> hey
[13:00] <codecutter> Permission denied (publickey). on Step 6 - https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-16-04#step-six-—-test-log-in
[13:00] <codecutter> do i need to reload anything after step 4 (option 2)? https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-16-04#step-four-—-add-public-key-authentication-(recommended)
[13:00] <psychoticwarrior> sudo ssh -l root <ip>
[13:02] <codecutter> what does that do?
[13:02] <psychoticwarrior> sudo ssh -l <user> <ip>
[13:02] <psychoticwarrior> it logs in the user to your ssh server
[13:02] <codecutter> oh
[13:03] <psychoticwarrior> try it out
[13:03] <psychoticwarrior> cd /etc/ssh/ssh_config
[13:03] <psychoticwarrior> edit that ^ and /etc/ssh/sshd_config
[13:05] <codecutter> first command gives The authenticity of host 'ip (ip)' can't be established.
[13:05] <psychoticwarrior> type ifconfig
[13:05] <psychoticwarrior> what interface are you using
[13:06] <codecutter> i see 2 - eth0 and lo
[13:07] <psychoticwarrior> ok is the ip address of eth0
[13:07] <psychoticwarrior> what is
[13:08] <codecutter> 46.101.8.65
[13:08] <psychoticwarrior> ssh -l <user> 46.101.8.65
[13:08] <codecutter> that what i typed earlier
[13:08] <codecutter> let me doit again
[13:09] <psychoticwarrior> try /etc/init.d/ssh start
[13:09] <codecutter> Permission denied (publickey).
[13:09] <psychoticwarrior> huh
[13:09] <psychoticwarrior> weird
[13:09] <psychoticwarrior> sudo /etc/init.d/ssh start
[13:10] <psychoticwarrior> what is your current user
[13:10] <codecutter> [ ok ] Starting ssh (via systemctl): ssh.service.
[13:10] <DArqueBishop> codecutter: what are the permissions of your .ssh folder and your .ssh/authorized_keys file?
[13:11] <psychoticwarrior> chmod 700 ~/.ssh
[13:11] <codecutter> i did all that in step 4
[13:12] <codecutter> -rw------- 1 root root 419 Jun 15 12:07 .ssh/authorized_keys
[13:19] <codecutter> anything else?
[13:19] <codecutter> i should check?
[13:20] <\9> try ssh -v
[13:20] <\9> it may print some useful information
[13:20] <codecutter> as root?
[13:20] <\9> no, as the client
[13:20] <\9> put -v as a switch to the login command
[13:20] <\9> and ssh will print verbose details
[13:20] <codecutter> i can connect as root
[13:21] <\9> yes but use it with the command that fails
[13:21] <\9> maybe the -v will print the reason why it fails
[13:21] <codecutter> debug1: key_load_public: No such file or directory
[13:22] <psychoticwarrior> yes you can but ssh_config needs to be updated
[13:22] <codecutter> debug1: identity file /Users/foo/.ssh/id_rsa type -1
[13:24] <Haris> hello all
[13:24] <codecutter> psychoticwarrior: why do you say that?
[13:26] <psychoticwarrior> cause if you edit it a certain way it wont allow root access
[13:26] <psychoticwarrior> or you can edit it so that root is allowed
[13:26] <codecutter> i get root access
[13:27] <psychoticwarrior> good
[13:27] <codecutter> its the user 'foo' thats the problem
[13:29] <codecutter> psychoticwarrior: ssh_config https://pastebin.com/RFQwYeQm
[13:30] <psychoticwarrior> ok you can use port 22 or change it
[13:31] <psychoticwarrior> paste sshd_config
[13:32] <codecutter> if port was the issue then it should fail for root, no?
[13:32] <psychoticwarrior> no it wouldnt matter
[13:33] <Shaan> this is BS
[13:33] <Shaan> my friend installed 6 1070s in his rig and getting 204 MH
[13:33] <Shaan> 34MH per card wtf
[13:33] <Shaan> on winblows
[13:33] <codecutter> https://pastebin.com/scXXNJzD
[13:33] <psychoticwarrior> yes you can log into server using root
[13:34] <bhoejte> Does anyone know how to create a delay after successful authentication (pam)?
[13:34] <codecutter> so do i uncomment the #port line
[13:34] <codecutter> ?
[13:34] <psychoticwarrior> yes
[13:35] <en1gma> does anyone know if you can use that screen broadcast feature of nvidia while in ubuntu amd64
[13:35] <Haris> Is this ubuntu acting strange or other distros' ? I have a separate chain in iptables/filter for SSH. Its checking ssh related traffic. It has the rule ----> iptables -I SSH 3 -p tcp -m tcp --dport 22 -j LOG <---- On centos, this rule is not catching traffic from my current ssh session. but on ubuntu, it is. and logging it. Is thsi ubuntu acting wierd or other distros' ?
[13:36] <bhoejte> depends on the rest of the chain. -I is insert as the 3rd rule
[13:36] <codecutter> do i need to reload anyting after editing ssh_config?
[13:36] <leftyfb> codecutter: yes, ssh
[13:37] <psychoticwarrior> yes
[13:37] <psychoticwarrior> type /etc/init.d/ssh restart
[13:37] <psychoticwarrior> or start
[13:37] <codecutter> Still not luck
[13:37] <codecutter> Permission denied (publickey)
[13:38] <leftyfb> codecutter: sudo service ssh restart. Or if you're on a modern release. sudo systemctl restart ssh
[13:38] <g33bz> is foo an actual user on your system codecutter?
[13:39] <bhoejte> and, are the keys set up correctly?
[13:39] <codecutter> yes, created it on step 4 (option 2)  - https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-16-04#step-four-—-add-public-key-authentication-(recommended)
[13:40] <bhoejte> Didn't see the start of the thread, but do you limit SSH use to specific groups/users?
[13:41] <codecutter> did not touch anything other than whats on that tutorial
[13:41] <bhoejte> Link please
[13:41] <bhoejte> Sorry... Just saw it
[13:42] <codecutter> step 6 is where it fails
[13:42] <codecutter> step 4 (option 2) is the configuration i made
[13:43] <bhoejte> You have access to the "foo" user on the target host? I would expect so, as you just created it.
[13:44] <codecutter> i can do su - foo as root
[13:44] <bhoejte> Look at the content of the *.pub key you want to install, and the content of ~foo/.ssh/authorized_keys
[13:45] <bhoejte> Each line in authorized_keys should match the public key of the private key you are using for logins.
[13:46] <codecutter> ~foo/.ssh/authorized_keys contains the public key
[13:46] <codecutter> not private
[13:46] <bhoejte> Good.
[13:46] <bhoejte> No whitespace at the start of the line?
[13:46] <codecutter> hmm
[13:46] <codecutter> let me check
[13:47] <bhoejte> I wouldn't expect there to be, if you used ssh-copy-id to do the key install.
[13:49] <codecutter> it starts with 'ssh-rsa AA'
[13:49] <codecutter> thats whitespace
[13:49] <bhoejte> Looks good, then.
[13:50] <codecutter> thats only whitespace, i should say :)
[13:50] <bhoejte> It's not ' ssh-rsa AA', which is a common error when adding things manually. At least in my experience.
[13:50] <codecutter> no
[13:51] <bhoejte> does foo have a ssh key-pair?
[13:51] <codecutter> it has project and project.pub
[13:51] <codecutter> if that what you mean
[13:52] <bhoejte> Yes. What i was going for was simplifying a bit, and trying to get foo to log in with ssh to foo.
[13:52] <bhoejte> Which just means, that if there isn't a default key, then that should be possible:
[13:52] <bhoejte> Login as foo (or shift to it)
[13:53] <bhoejte> cd .ssh
[13:53] <bhoejte> ssh-keygen
[13:53] <bhoejte> cat id_rsa.pub >> authorized_keys
[13:53] <bhoejte> ssh foo@localhost
[13:53] <codecutter> ssh foo@46.101.8.65 -> Permission denied (publickey).
[13:53] <codecutter> what does that d0?
[13:54] <bhoejte> Create new default key for user foo (ssh-keygen)
[13:54] <codecutter> but i already have one
[13:54] <bhoejte> Add the pub part of the key to "authorized_keys", which should allow you to log in with foo locally.
[13:55] <bhoejte> That's project and project.pub, right?
[13:55] <jink> That's what ssh-copy-id is for.  You normally shouldn't do that yourself.
[13:55] <codecutter> .ssh/authorized_keys -> .ssh/authorized_keys.pub ?
[13:55] <bhoejte> Alternately, add project.pub to authorized_keys, then use that key to try to log in:
[13:56] <bhoejte> ssh -oIdentityFile=~/.ssh/project localhost
[13:56] <bhoejte> as the user foo
[13:56] <codecutter>  project and project.pub, yes
[13:57] <codecutter> then?
[13:58] <codecutter> ssh -oIdentityFile=~/.ssh/project localhost <-- after this?
[13:58] <bhoejte> if that works, then we know that SSH works on the server for the foo user, and can concentrate on why it doesn't from outside.
[13:58] <codecutter> does not work
[13:58] <codecutter> let me redo step4
[13:58] <codecutter> i'll come back later
[13:58] <bhoejte> Ok, and the project.pub file can now be found in authorized_keys, correct?
[13:59] <codecutter> yes
[14:00] <bhoejte> Then it looks like we have another problem. Maybe SSH is locked to specific groups of users.
[14:00] <codecutter> will you be around later?
[14:01] <codecutter> i have to go away for a few minutes
[14:01] <codecutter> bl
[14:01] <bhoejte> Not much longer. I'm just having a lull at work right now.
[14:02] <DirtyCajun> so, NFS mount. If a single mount and moving files within that mount then there is no loss in speed over the lan. But 2 mounts that go to the same server would require the information to pass from mount a to mount be causing lan slowdown correct?
[14:03] <bhoejte> Using the server where the 2 mounts are on for both incoming and outgoing trafic, yes.
[14:04] <bhoejte> This is why doing moves on the NAS itself may sometimes be significantly faster than moving through the mount points. On the NAS it's the same filesystem and is "just" a move, not a copy/delete operation.
[14:04] <bhoejte> or on the server as the case may be.
[14:05] <DirtyCajun> bhoejte, so, i was thinking, to get around it... you mount the parent folder of the 2 mounts and then symlink the mount points
[14:05] <DirtyCajun> bhoejte, thoughts?
[14:05] <bhoejte> That would work. Export the parent folder, and then mount that instead.
[14:06] <DirtyCajun> awesome!
[14:06] <bhoejte> whops... Symlink the mount points?
[14:07] <DirtyCajun> bhoejte, e.g. /parent/folder1  /parent/folder2   mount /parent as /parent  and symlink folder1 and folder2 as /folder1 /folder2.  then you can move files from folder1 to folder 2 with no loss of lan speed
[14:07] <bhoejte> If you're trying to symlink into an NFS server, then I don't know that that would actually be seen as the same filesystem. It should, though. Otherwise, just copy directly in the mount point itself.
[14:08] <bhoejte> That is, instead of "mv /folder1/file /folder2/file" use "mv /mount/folder1/file /mount/folder2/file"
[14:10] <DirtyCajun> bhoejte, right. and thats the easy way. I have written a lot of scripts that reference it as /parent/folder1 etc so i am trying to find a solution that doesnt require me to completely rewrite my script
[14:11] <bhoejte> Sounds like a good goal. :-)
[14:13] <Bergcube> I run Ubuntu 17.04 on a laptop with VLC 2.2.4 from the respositories. I have run into a problem: When I try to play WEBM files VLC shows the first frame of the clip, the time bar advances, but the video remains frozen. The problem is consistent on all webm files, and a check with the Totem player shows that the clips does indeed have motion.
[14:14] <bhoejte> Just tried your setup with a 1GiB file, and it was moved instantaneously, also through symlinks, so yes, it should work.
[14:15] <jaydemir> anyone know of a good program to record audio into an MP3 directly from the PC itself?
[14:16] <bhoejte> Does anyone know how to create a delay after successful authentication (pam)?
[14:18] <bhoejte> oh well... arecord piped through to lame might be a solution to that.
[14:18] <SchrodingersScat> he's gone, it's over
[14:19] <bhoejte> saw it... That's what the "oh well" was for.
[14:21] <bhoejte> Same as with my own question. Doesn't look like I'm having any luck, so i'll have to stick with pam_script and a "sleep 1" for now.
[14:49] <DirtyCajun> bhuddah, nup didnt work because nfs cannot traverse the subdirectories of different filesystems
[15:01] <en1gma> how am i supposed to dual boot ubuntu amd64 with my already installed windows 10 64bit to an ssd if the maximum number of Primary Paeritions = 4
[15:02] <en1gma> when i use fdisk -l /dev/sda it list 4 primary partitions before i ever even get to resizing, formatting ext4 and adding a swap file? that would be 6
[15:06] <DJones> en1gma: If its an old MBR partioning scheme, you can have 3 primary partitions + 1 extended partition with multiple partitions inside the last one, if its EFI, that can support up to 128 partitions
[15:07] <DJones> en1gma: My sda is gpt  and has 8 partitions
[15:08] <DirtyCajun> en1gma, also... as of ubuntu 17.04 swap is now a file and no longer a partition by default. which is great.
[15:08] <en1gma> https://pastebin.ca/3832576  i think i have efi system. cant wait for next stable release
[15:10] <DJones> en1gma: Thats pretty similar to mine, both say gpt, only difference is disk size and I/O size
[15:10] <en1gma> think i gonna resize /dev/sda4 and make 36GB ext4 and 4GB swap. after that completes ill reboot with ubuntu live amd64 and run installer. will it automatically find the ext4 and swap i created?
[15:10] <DJones> en1gma: https://pastebin.ca/3832578  <--- THis is mine
[15:11] <en1gma> ok cool at least it can for sure do more than 4 primary. was starting to get worried
[15:36] <phelix> I am not sure whats going on. But my startx is freezing almost daily now. Its driving me insane. I can still ssh to my machine and all seems to be working. But the desktop does nothing except the mouse cursor moves. Anyone have any ideas how I can try and figure out what is happening?
[15:40] <gummipunkt> hey guys. wired problem: my wifi connection is broken from time to time. i am 8 meters away from the router and ubuntu says: "quality good" 2 of 3. 54 mbps. sometimes my connection brokes up. 30sec up to 1 minute reconnection time, after that i have an ping up to 3000ms, one or two minutes later: ping 1 or 2ms
[15:40] <gummipunkt> ubuntu 17.04
[15:40] <gummipunkt> are there any things i can try
[15:41] <gummipunkt> rtt min/avg/max/mdev = 1.402/25.180/184.997/39.039 ms
[15:42] <beefjoe> is it possible to use direct ac power on my laptop instead of charging the battery ?
[15:44] <HMP> Hi. Everytime I start Ubuntu, to get my wifi working I need to "Connect to a hidden wifi" and then choose my connection
[15:45] <HMP> using an Anewish AC600 which i dont think is the most friendly with ubuntu
[15:57] <Dunga> I had untold wifi issues on my laptop once. Turned out replacing the wifi card for $10 was all that I needed to do
[16:10] <en1gma> how do i disable "ssh server" from auto starting?
[16:11] <en1gma> ubuntu amd64
[16:13] <ioria> en1gma, what version  ?
[16:17] <linerror> systemctl disable sshd
[16:28] <RBoreal_Frippery> A good amount of years ago I had huge pains to get multiple video cards working in ubuntu, I am wondering if anything has improved. Basically, I have a laptop with two outputs, but I would like to drive three displays. It will be desktop work, nothing intensive, so I have taken note that there are USB3.0 'graphics cards' available for sale. How well is it supported to offload one monitor to the second graphics card?
[16:30] <bytesaber> are the various suggestions here worthy?   Is there a more goto approach today?   Or do I just accept the future and leave it alone?        https://askubuntu.com/questions/767786/changing-network-interfaces-name-ubuntu-16-04
[16:31] <bytesaber> interface naming issue
[16:31] <bytesaber> all my scripts don't script now
[16:31] <bekks> bytesaber: So change your scripts to the new interface name?
[16:32] <bytesaber> i could.  but it may chance again
[16:32] <bytesaber> change
[16:32] <bytesaber> seems i need to script it, with some interaction from the user i guess.
[16:32] <bekks> They wont, because they have a persistent naming scheme now.
[16:33] <bytesaber> That's actually my issue.
[16:33] <bytesaber> When i swap a nic, attach it to the same switch.  It's not a replacement.  It gets renamed yet again.
[16:35] <bekks> bytesaber: Add this line: GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0" to your grub2 configuration, regenerate the grub config, and reboot. Then you will get your "old" naming scheme.
[16:37] <bytesaber> ok.  I saw that example too.  Mainly just asking if the group does anything like this or just goes leaves it all alone.
[16:38] <fadavi> how can i solve "PCIe Bus Error"?
[16:40] <fadavi> `$ journalctl | grep pcieport` => http://paste.ubuntu.com/24865565/
[16:46] <ioria> fadavi, apart from the log spam, you 're experiencing other issues ?
[16:46] <fadavi> ioria: i've several issues with my laptop.
[16:47] <ioria> fadavi, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521173
[16:47] <a1exas> what's the easiset way to download youtube video in ubuntu
[16:47] <TheOnlyBouncer> a1exas, youtube-dl
[16:48] <TheOnlyBouncer> Good day, i seem to have several inode issues on my system, initially i thought it was a hardware issue, but when running a other operating system, i don't have these issues. Sometimes it loses journal and needs to clean inode's, locking the system up and having to reboot
[16:49] <TheOnlyBouncer> it happens more and more the last couple of days now, not sure how to fix this
[16:49] <TheOnlyBouncer> could re-writing the ext4 filesystem fix this?
[16:49] <TheOnlyBouncer> running 17.04 btw
[16:50] <fadavi> ioria: thanks.
[16:50] <ioria> fadavi, you're welcome
[16:52] <ioria> TheOnlyBouncer, youo can check your inodes with df -Hi
[16:53] <TheOnlyBouncer> ioria, but how should that fix my issue of something corrupting it
[16:54] <ioria> TheOnlyBouncer, first you need to know it the root cause is there
[16:54] <ioria> *if
[16:54] <TheOnlyBouncer> ok, so what am i looking for
[16:55] <ioria> TheOnlyBouncer, for corrupted fs, you use fsck
[16:55] <TheOnlyBouncer> i have runned fsck a couple of times, nothing wrong there
[16:56] <Southern_Gentlem> TheOnlyBouncer, and the other OS is ?
[16:56] <TheOnlyBouncer> Southern_Gentlem, i am dualbooting with Windows 10 on the same SSD, and have tried FreeBSD real quick, which does not seem to have that issue as well
[16:58] <TheOnlyBouncer> after some inode errors i do get "EXT4-FS error ext4_find_entry:1463: inode #524289: comm politd: reading directory lblock 0 as error
[16:58] <TheOnlyBouncer> ocasionally
[16:58] <TheOnlyBouncer> after locking up the system
[17:01] <TheOnlyBouncer> ioria, https://hastebin.com/iyedahoyop.erl this is the output from df btw
[17:11] <TheOnlyBouncer> Southern_Gentlem, the corruption is weird, sometimes it happens instantly, sometimes after hours...
[17:11] <TheOnlyBouncer> i wonder if it is related to EXT4 or it could be kernel related (quite new hardware)
[17:14] <BlackVenom> Good evening folks
[17:14] <linerror> TheOnlyBouncer, sata ssd?
[17:14] <ioria> TheOnlyBouncer, using ssd, right ?
[17:15] <BlackVenom> After i've run apt-get upgrade, is there a way to see if the system requires a restart without logging out and back in?
[17:16] <TheOnlyBouncer> linerror, ioria hmm not sure if it is sata or not, its M2 in any case
[17:17] <ioria> TheOnlyBouncer, ' i am dualbooting with Windows 10 on the same SSD'
[17:17] <TheOnlyBouncer> yups, split partitions
[17:17] <ioria> TheOnlyBouncer,  uname -r ?
[17:18] <TheOnlyBouncer> 4.10.0-22-generic
[17:18] <compdoc> how big is the ssd?
[17:18] <TheOnlyBouncer> compdoc, 128GB
[17:18] <ioria> TheOnlyBouncer, there was a bug, but has been fixed recently
[17:18] <compdoc> not very big
[17:18] <TheOnlyBouncer> noops, have a 1TB platter next to it (laptop)
[17:19] <TheOnlyBouncer> ioria, ah related to this issue?
[17:19] <TheOnlyBouncer> i could try a recent kernel, hoping that the nvidia driver has support for it already...
[17:19] <ioria> TheOnlyBouncer, i guess, checking ....
[17:20] <TheOnlyBouncer> thanks
[17:21] <ioria> TheOnlyBouncer,  samsung ssd  on dell laptop ?
[17:23] <compdoc> I recently had a samsung ssd being to fail. showed reallocated 'sectors' in smart. be sure to keep an eye on them, and any drive you use
[17:25] <TheOnlyBouncer> ioria, Asus ROG laptop actually, ssd is SanDisk
[17:25] <ioria> TheOnlyBouncer,  no idea, then
[17:25] <TheOnlyBouncer> Skylake system
[17:26] <ioria> TheOnlyBouncer,  i'd suggest a sudo apt update && sudo apt full-upgrade
[17:26] <TheOnlyBouncer> i always dist-upgrade
[17:27] <TheOnlyBouncer> yeah no new updates since this morning
[17:27] <pauljw> that was for apt-get, apt is full-upgrade, TheOnlyBouncer
[17:27] <TheOnlyBouncer> a makes sense
[17:27] <TheOnlyBouncer> but yeah i keep my systems quite up to date
[17:28] <TheOnlyBouncer> i guess trying a new kernel and alternatively a different filesystem might be the only things i can try then
[17:28] <TheOnlyBouncer> since it is a quite new system i am almost sure it is ACPI related, like always
[17:29] <ioria> TheOnlyBouncer, maybe
[17:31] <TheOnlyBouncer> will try a daily, though i am almost sure nvidia dkms will not build for it....
[17:36] <beefjoe> is it possible to use direct ac power on my laptop instead of charging the battery ?
[17:36] <TheOnlyBouncer> beefjoe, that depends on how the hardware is designed, not something software can change to my knowledge
[17:37] <Li> Can anyone explain to me what is reason of /var/cache/apt/archives/ existance?
[17:38] <TheOnlyBouncer> Li, being able to reconfigure or reinstall packages without having to redownload them
[17:39] <TheOnlyBouncer> hmm ffs, seems 4.12 does not work on Nvidia's latest driver....
[17:39] <Li> I found 26 debs in a year old installed ubuntu in cotrast to 224 debs in a brand new installation of the same 16.04 release
[17:40] <Li> I supposed the elder copy should contain more debs than the newely istalled one
[17:40] <TheOnlyBouncer> Li, you can use apt-get clean to remove the archives if you want
[17:40] <TheOnlyBouncer> not perse
[17:40] <Li> ok
[17:40] <fadavi> how can i solve this boot error? "hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info()." (from `$ dmesg` output)
[17:40] <Li> then maybe that is what I did in somepoint wihtout knowing it
[17:43] <peyam> hi
[17:44] <strive> Hi.
[17:44] <peyam> Does anyone know how to install intellij Ide using PPA? I got this sudo add-apt-repository ppa:mmk2410/intellij-idea-community but terminal says ~mmk2410 does not exist
[17:44] <monsterjamp> Hello
[17:45] <monsterjamp> I recently clean installed KDE neon and my R9 390 gets detected as a R9 290.
[17:46] <monsterjamp> I don't think it's a kernel issue and I've tried 2 different kernel versions.
[17:47] <TheOnlyBouncer> ioria, will tinker a bit, thanks for the help in any case :)
[17:52] <QwertyDragon> peyam #idea-users might have an answer
[17:52] <peyam> it is an ubuntu issue. I cant add any repo in terminal QwertyDragon
[17:52] <beefjoe> My internet connection lags or just times out even when I try to do a speedtest I get the download speed, but on the upload speed test it times out with no result. my connection works fine on another windows laptop an all smartphones
[17:57] <Li> Is it possible grab deb installed on another HDD of the same release and install them on the current working one?
[17:58] <cristian_c> yeah
[17:58] <cristian_c> maybe /var/lib/aot, but I don't remember very well
[17:58] <cristian_c> *apt
[18:00] <sevaho1> Goodmorning, does anyone here have a Lenovo thinkpad x1 carbon
[18:00] <sevaho1> ?
[18:01] <sevaho1> I'm having issues with the touchpad, it aint working :/
[18:03] <strive> sevaho1: Have you tried looking it up on google? I see quite a few links, but what generation is your laptop?
[18:03] <sevaho1> The newest gen 5 got it today
[18:04] <strive> https://certification.ubuntu.com/hardware/201702-25372/
[18:04] <sevaho1> I can(t find anything on google, this laptop supposed to be the best Linux laptop according to some sites but my touchpad is not working
[18:06] <Southern_Gentlem> sevaho1,  what desktop environment
[18:07] <sevaho1> gnome
[18:07] <Southern_Gentlem> grab another live iso of another DE and see if it works there if so then its your touchpad isnt support by libinput but works fine with the synapic driver
[18:08] <Southern_Gentlem> others here can help you troubleshoot that in gnome
[18:08] <OneM_Industries> So, I'm on 14.04, and I can't seem to access system settings from the top menu or the launcher.
[18:08] <sevaho1> ok ill try that
[18:10] <OneM_Industries> The reason why I'm asking is, I just installed a new video card, and the display seems to be set to some tiny resolution.
[18:10] <Southern_Gentlem> OneM_Industries, gnome?
[18:10] <OneM_Industries> Unity.
[18:10] <Southern_Gentlem> samething
[18:10] <OneM_Industries> Ah, ok.
[18:10] <Southern_Gentlem> pressthe wondows key and type settings
[18:11] <Southern_Gentlem> enter and setting should come up
[18:11] <OneM_Industries> It doesn't.
[18:11] <OneM_Industries> Hasn't in a few months, actually.
[18:11] <wafflejock> ? they aren't literally the same thing fyi but same way to get there typically think southern meant
[18:12] <OneM_Industries> Something a couple of months back broke all the included applications, system settings included.
[18:15] <wafflejock> OneM_Industries, some possible options here to get the packages reinstalled that include the settings panels https://askubuntu.com/questions/466720/system-settings-icons-missing-in-14-04/468235
[18:17] <OneM_Industries> Ah, got it.
[18:18] <Li> How to grab installed packages on HDD of the same release and install them on the current working ubuntu?
[18:25] <nealshire> how would I go about extending sda1? sda2 is in the way
[18:25] <nealshire> I'm booted into a live image and the option to extend sda2 is still greyed out for some reason
[18:26] <OneM_Industries> wafflejock: So, installed the control panel, and switched to the Nvidia driver over the xorg one, and now the highest option I have is 1680 x 1050.
[18:26] <OneM_Industries> Any ideas?
[18:29] <oerheks> nealshire, show us the output of sudo fdisk -l # so we can tell
[18:32] <nealshire> gonna take me a while, can't figure out how to get my cipboard info out of my vm
[18:34] <nealshire> pastebin.com/gspTF6XB
[18:34] <nealshire> @oerheks,
[18:36] <oerheks> nealshire,  oh, sda2 is an extended partition with sda5 in it.
[18:36] <oerheks> unless you want less swap, i would not touch this config, just build a proper new one?
[18:37] <nealshire> I have very little space left on sda1, I really need to expand it though http://i.imgur.com/VOP9z0e.png
[18:38] <nealshire> can I just recreate sda2 and sda5?
[18:39] <nealshire> or would it be better to just reinstall everything
[18:39] <oerheks> nealshire, as this is a vm, don't bother, build a fresh one
[18:40] <Speed_> can i ask about kdenlive here?
[18:40] <akik> nealshire: if you want to enlarge sda1, it's also possible. a bit difficult though
[18:41] <damarusama> I want to give access to /var/www/ to one of my user so that I can rsync or scp to that folder automatically
[18:41] <akik> nealshire: it involves editing the partition table, deleting sda1 and enlarging it, keeping the starting sector the same
[18:41] <damarusama> I am not too sure how to go about this
[18:41] <damarusama> /var/wwww/ is now root/root I think adding my user to the root group might not be a wise choice
[18:42] <oerheks> damarusama, standard solution is to add your user to www-data
[18:43] <damarusama> oerheks: thanks
[18:45] <leftyfb> is it possible to use apt-get to get the source of a package from trusty if I'm running xenial? Do I have to add the trusty repo for the package before it'll find it?
[18:46] <ioria> leftyfb, right, and i'd temporary disable the xenial source
[18:46] <ioria> leftyfb, if enabled
[18:46] <oerheks> i would not apt-get in such case, use wget
[18:46] <ioria> oerheks, he need the source patched i guess
[18:46] <ioria> *s
[18:52] <fadavi> hello there.
[18:53] <wtheaker> how can I programmatically disable "Send occasional system information to Canonical"
[18:55] <fadavi> i cant mount USB flash drives, using nautilus. instead, i got this error after clicking on the partition: 'Unable to access "4.2 GB Volume" Not authorized to perform operation' how can i solve this issue?
[18:57] <akik> fadavi: what file system does it have?
[18:57] <oerheks> wtheaker, systemsettings> security & privacy > last tab : diagnostics
[18:57] <wtheaker> oerheks: thanks but I'm trying to script it
[18:58] <wtheaker> found it! /etc/whoopsie
[18:58] <fadavi> akik: FAT32. i think this issue is not filesystem related. i can mount that using `$ sudo mount /dev/sdc1 /mnt/foo`
[18:59] <wtheaker> love too dig through source code on launchpad to figure out how to disabling phoning home to canonical :/
[19:02] <oerheks> wtheaker, i think you might want to search with dconf too
[19:08] <Speed_> i cant import anny video clips to kdenlive
[19:08] <Speed_> all of my clips i try to import are invalid
[19:16] <jonascj> Hi all. On a machine running 16.04 I've installed an Asus PCE-AC51 wireless pci-e card. The card is listed as a network device by 'lspci' and 'ip link' lists a new wl0whatever device.
[19:17] <jonascj> but network manager does not show any wireless networks being found (my laptop and phone shows a 2.4GHz and 5Ghz network).
[19:18] <jonascj> I've found some forum posts saying you actually need to install the kernel module (driver) provided by asus, but since it is already recognized as a network device isn't the kernel module already there and loaded?
[19:18] <akik> jonascj: you can check if you computer sees any ssids: sudo iwlist wl0whatever scan
[19:19] <akik> your computer
[19:20] <akik> jonascj: also check dmesg for error regarding your wireless device
[19:25] <jonascj> akik: right, on it!
[19:25] <akik> jonascj: if the kernel module is loaded for the device, then the device is recognized
[19:25] <akik> jonascj: you can check with "sudo lshw -c network"
[19:26] <fadavi> when i try to mount a USB flash drive using udisks, these error will be produced: `$ udisksctl mount -b /dev/sdc1` _output_: Error mounting /dev/sdc1: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorized: Not authorized to perform operation
[19:27] <fadavi> why? how can i fix it?
[19:27] <akik> fadavi: try with sudo before the command
[19:28] <jonascj> fadavi: otherwise it is likely some polkit misconfiguration. At least "udisk2 polkit not authorized" are some keywords for ya!
[19:28] <fadavi> akik: i wanna mount flash drive without `sudo` using `udisksctl`
[19:28] <akik> fadavi: although you said earlier the using sudo mount worked
[19:29] <fadavi> akik: yes.
[19:29] <fadavi> `$ sudo mount /dev/sdc1 /mnt/foo` => works!
[19:29] <fadavi> `$ udisksctl mount -b /dev/sdc1` => ... Not authorized to perform operation
[19:30] <fadavi> jonascj: can you guide me to fix it?
[19:30] <jonascj> fadavi: nope, a good search engine and keywords like "udiskctl polkit not authorized" will likely get you far. I assume you have some linux knowledge since you want to use udiskctl and not just whatever ships with ubuntu
[19:31] <jonascj> polkit as ahttps://github.com/coldfix/udiskie/wiki/Permissions
[19:32] <jonascj> * https://github.com/coldfix/udiskie/wiki/Permissions
[19:34] <fadavi> jonascj: thanks for link.. its seems thats usefull.
[19:34] <fadavi> * useful
[19:34] <akik> is polkit something new completely different from the traditional permission model?
[19:34] <jonascj> akik: lshw, ip link, lspci says the wireless card is there, but "iwlist iface scan" says "iface does not support scanning: network is down"
[19:35] <akik> jonascj: have you tried a google search with your wireless chip and linux?
[19:36] <jonascj> akik: according to wikipedia it has been in ubuntu since version 8. It governs many permission things like are you allowed to mount, are you allowed to reboot, talk to certain processes etc.
[19:36] <jonascj> akik: yes, they talk about the driver from asus, I might try that now
[19:38] <arln> When using the default install's full disk encryption option, Ubuntu boots and prompts the user for a password before unlocking the disk.
[19:38] <Jordan_U> fadavi: Please post the output of "groups".
[19:38] <arln> Is there a way for Ubuntu to reference a file instead?
[19:38] <arln> As in, don't prompt me for a password, check for a file on, say /media/usb?
[19:38] <arln> Or better yet, prompt for BOTH a password and a key file?
[19:39] <fadavi> Jordan_U: output => 'mohamad adm cdrom sudo dip www-data plugdev lpadmin sambashare vboxusers'
[19:40] <jonascj> fadavi: the config I linked you assumes youa re a member of the "storage" group
[19:41] <jonascj> just like being member of "lpadmin" allows you to configure printers
[19:41] <akik> arln: you can have a file to open the encryption but i don't think other devices are mounted at that time, expect for /boot
[19:42] <akik> arln: cryptsetup luksAddKey
[19:42] <arln> I've used /etc/crypttab for non '/' partitions. Was wondering if it was possible for root.
[19:42] <fadavi> jonascj: `$ sudo adduser $USER storage` => 'adduser: The group `storage' does not exist.'
[19:42] <fadavi> so... creating storage group and adding my user to that group is enough?
[19:44] <jonascj> fadavi: assuming it was a polkit issue and that you've followed the instructions I linked (which I haven't read, but sounds like they setup what you are after)
[19:46] <fadavi> jonascj: aha.. yeah i followed that. now, i've added my user to storage group, too. im going to reboot... 'v'
[19:53] <fadavi> jonascj: nothing happened :(
[19:53] <fadavi> `$ groups` => 'mohamad adm cdrom sudo dip www-data plugdev lpadmin sambashare vboxusers storage'
[19:53] <fadavi> `# ls /etc/polkit-1/localauthority/50-local.d` => '10-udisks.pkla'
[19:55] <jonascj> fadavi: like I said, I don't know much about polkit, but your issue just sounded like a configuration issue of that sort. Long before going into some specific "solution" like the one I linked I would of course have researched "ubuntu 16 udiskctl not authorized", likely someone has had the exact same issue earlier, and it might not be polkit after all
[19:56] <fadavi> jonascj: thanks again. i'll do more search to solve it. your advices was so helpful
[19:58] <CarlFK> what can I pass the kernel to tell it text only, and not even any fancy text.  just 80x25.
[19:58] <frontrowalex> Hey folks, quick question, I configured sshd to disable password based logins, and I created a new user to ssh into the box as, with no password (the password is a ! in /etc/shadow). When I try to ssh in as that user, I'm told the user is locked out. So far I've been able to unlock it by setting a random password in there, but it seems unnecessary
[19:59] <frontrowalex> can I unlock that new user without setting a password?
[20:00] <oerheks> frontrowalex, normally passwordless ssh access means you need to create ssh-keys
[20:00] <akik> frontrowalex: use "sudo passwd -u username" to unlock it
[20:00] <frontrowalex> oerheks: yessir, have those set up
[20:01] <pylearner> I need to have rc.local active other than creating the file and making it executable is there anything else i need to do
[20:01] <Bashing-om> CarlFK: Have you tried passing the boot parameter ' text ' - (remove quiet splash ) ?
[20:01] <akik> CarlFK: you can start with video=640x480 as a new kernel parameter
[20:02] <CarlFK> akik: won't that flip into vga 640x480?
[20:02] <CarlFK> Bashing-om: trying text now...
[20:02] <akik> CarlFK: i've given up trying to get the plain console back. the mode is changed also during initrd
[20:02] <frontrowalex> akik: I remember reading somewhere that command might allow people to become that user since it's now passwordless. I might have misread that though.
[20:03] <akik> frontrowalex: the ! is a sign of the locked password
[20:03] <frontrowalex> Also is there any way to create a user that's immediately unlocked (and has no password) after useradd or is that just how it has to work?
[20:04] <akik> frontrowalex: you can see account status with "sudo passwd -S username". it shows L if it's locked
[20:05] <Mortvert> Hello.
[20:06] <CarlFK> Bashing-om: text no good. I see it say something like "trying to enable frame buffer" and then the screen goes blank
[20:06] <CarlFK> found it!!! fb=false
[20:07] <akik> CarlFK: really?
[20:07] <CarlFK> akik: yep
[20:07] <Bashing-om> CarlFK: Ouch ! .. Does not seem right ... what release ?, and I will reboot to test .
[20:07] <akik> CarlFK: thank you
[20:09] <CarlFK> Bashing-om: sec and I will have all the details on github
[20:09] <Mortvert> I kinda need help creating a bootable windows 7 installer USB stick. I've got iso and I'm running on ubuntu livecd right now
[20:09] <Mortvert> Trying to follow http://www.webupd8.org/2010/10/create-bootable-windows-7-usb-drive.html but chmod +x on unetbootin doesn't work
[20:11] <akik> CarlFK: on my machine the virtual console becomes bigger than the actual screen, i.e. in an editor i don't see the whole file
[20:11] <debouncer> You may want to use Universal USB Installer
[20:11] <frontrowalex> akik: thanks, that helps
[20:11] <annihilator03> its funny im having some withdraws from windows because of one or two games because streaming through steam is a bit of an issue sometimes but other than that i actually dont do anywhere as much on my computer as i did on windows
[20:11] <annihilator03> which is a good thing
[20:12] <frib> what should I do if I deleted my EFI boot partition?
[20:12] <scottjl> after you kick yourself?
[20:12] <debouncer> Mortvert: https://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/
[20:13] <frib> scottjl, do you know how to restore it?
[20:13] <frontrowalex> I'm consulting the documentation for /etc/shadow and it looks like with ! in the password field the user should still be able to log in through ssh, same with *, is that correct?
[20:13] <scottjl> i don't do efi. sorry
[20:13] <Mortvert> debouncer,  that's an exe. I'm on ubuntu livecd right now
[20:14] <akik> Mortvert: you can follow this guide to do it: https://atkdinosaurus.wordpress.com/2016/07/20/how-to-create-a-bootable-windows-7-usb-stick-in-linux/
[20:14] <debouncer> Mortvert: Did you try Startup Disk Creator?
[20:15] <oerheks> Molthere is no linux tool for windows7, use an other windows to do that
[20:15] <oerheks> or manually see akik
[20:16] <crised> Can I run ubuntu server from USB pen drive? Is it recommended? (FreeNAS does a similar thing)
[20:17] <oerheks> crised, yes you *can*. (i would like to see it with 20 users ..)
[20:17] <crised> oerheks: it's just for home use
[20:17] <kenrin> You do know freenas is completely different from ubuntu server right?
[20:18] <crised> kenrin: I'm changing from FreeNas since I found it a little too complicated
[20:18] <oerheks> crised, if you have up to 5 users, you'll be fine, depending on hardware i guess.
[20:21] <kenrin> Whatever you want I guess.  Just that usb random writes are garbage and will likely block writes on your software raid array too
[20:23] <CarlFK> Bashing-om: akik:  https://github.com/CarlFK/video-stack-deploy/blob/usbstick/scripts/mk_usb_installer.sh#L57-L60    ~/video-stack-deploy/scripts$ ./mk_usb_installer.sh sdb
[20:23] <CarlFK>   
[20:23] <CarlFK> that shows what installer I am using and the script that wget/dd/tweek the append...
[20:24] <CarlFK> https://github.com/CarlFK/video-stack-deploy/blob/usbstick/scripts/test_thumb.sh  tests it.  (running all this stuff now,  takes about 10 min, so if i botched it... I should discover it 30 seconds before you
[20:32] <peyam> Hi, anybody can please help me install intellij idea using ppa. Every ppa I use returns a "Error: user blabla does not exist"
[20:32] <akik> CarlFK: i was able to fix the virtual console size with "fbset -g 640 480 640 480 32" followed by xterm package's "resize"
[20:35] <CarlFK> peyam: I can help a little if you give me  a PPA URL
[20:35] <CarlFK> akik: im missing context or something.  i am running the installer in qemu vm.  is that what you are doing?
[20:36] <peyam> CarlFK, I reinstalled the certificates. and it did add the ppa but now it gives an error in installation
[20:37] <peyam> CarlFK, sudo apt-add-repository ppa:mmk2410/intellij-idea
[20:42] <akik> CarlFK: no, i'm using an acer laptop
[20:43] <CarlFK> akik: crazy.  I am using an acer laptop to run qemu on
[20:52] <frib> Hi. I am trying to restore my EFI partition (accidentally deleted) with boot-repair. Boot-repair tells me to create a an EFI partition with boot, which I did, but then is unable to recognize the partition. How do I fix this? thanks!
[20:58] <akik> frib: did you set its partition type code as ef00 ?
[20:58] <akik> frib: (i don't know how to restore it, though)
[20:59] <frib> akik, i tried using the hex code in fdisk (much longer than ef00) and it showed up as "EFI"
[20:59] <frib> do I need to explicitly use this ef00 type?
[20:59] <akik> frib: i think you should use gdisk, not fdisk
[20:59] <frib> akik, ok, how do I set code as ef00 though?
[21:00] <akik> frib: under Code column you should see EF00
[21:00] <frib> akik, ok I did it
[21:00] <frib> ill try boot-repair again now
[21:01] <akik> frib: in gdisk "t       change a partition's type code"
[21:01] <frib> akik, yes I did it
[21:01] <frib> akik, but boot repair still doesn't recognize this partition
[21:01] <frib>    1            2048          411647   200.0 MiB   EF00
[21:02] <akik> frib: sorry i don't know how to restore it. somebody else can probably help
[21:02] <akik> maybe grub-install would work(?)
[21:02] <frib> akik, thanks anyway
[21:02] <frib> akik, but would grub-install restore the EFI files and everything?
[21:03] <akik> frib: no idea
[21:06] <frib> akik, actually I think mounting the EFI partition and running grub-install was all that was necessary
[21:06] <frib> akik, I will try to reboot now
[21:06] <akik> frib: is your efi partition empty?
[21:06] <akik> frib: before grub-install?
[21:06] <frib> akik, I deleted it by accident
[21:06] <frib> so yea
[21:06] <frib> akik, i created a new one and added its UUID to fstab
[21:07] <frib> mounted it, ran grub-install, and the EFI files appear there
[21:07] <akik> frib: ok this is all new to me
[21:07] <frib> akik, gona try and reboot, cross fingers~!
[21:08] <frib> akik, worked perfectly!
[21:08] <akik> frib: nice
[21:08] <frib> strange this information is so hard to come by in #ubuntu
[21:09] <akik> frib: so it wasn't that hard. just that i've never done it :)
[21:09] <frib> it happened to me once before and I ended up reinstalling
[21:09] <frib> because nobody could tell me how to fix it
[21:09] <akik> frib: so only update the uuid for /boot/efi in fstab and grub-install /dev/sda ?
[21:09] <akik> or /dev/sda1 ?
[21:10] <frib> well I had the advantage of not turning off my computer after deleting my EFI partition in gparted
[21:10] <frib> so I was still booted in my OS
[21:10] <frib> all I had to do was create a new FAT32 partition with boot/esp flags
[21:11] <frib> since it gets a new UUID you have to update /etc/fstab to mount the new UUID to /boot/EFI
[21:11] <frib> once you do that, run sudo mount -a to mount all
[21:11] <akik> frib: which device did you use with grub-install?
[21:11] <frib> then just run sudo grub-install /dev/sdx
[21:14] <wryfi> hi, i'm running 14.04 and trying to set the nofile ulimit on an upstart job
[21:15] <wryfi> as soon as i add the line 'limit nofile N N' to the upstart config
[21:15] <wryfi> i get "Unknown job" when i try to start/stop/etc
[21:15] <wryfi> regardless of what value of N i use
[21:16] <wryfi> does upstart in 14.04 not support the limit stanza?
[21:20] <Asor> How do I figure out who develops a specific printer driver. I assumed Zebra maintained the "zebra epl2 label printer driver" but that is not the case.
[21:23] <crised> Need help to restore a USB pendrive, I think it's partioning it's wrong
[21:24] <crised> gpart doesn't recognize all the partitions, it smentions unknown
[21:25] <crised> The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
[21:26] <Kythx> Maybe a miss type in the description of it
[21:27] <crised> Kythx: ok... How to fix it? there is no usable data inside it
[21:28] <Kythx> Have you tried formatting a driver
[21:28] <Kythx> The I mean
[21:28] <crised> Kythx: yes several times, I'm trying https://askubuntu.com/a/781236/127130
[21:29] <akik> crised: if you get weird errors, it could be a sign of a failing usb stick
[21:29] <Kythx> What are you trying to do
[21:29] <Kythx> Just correct the error?
[21:31] <Kythx> If so do you have the dir of the driver if you do cd you driver dir goes hear then nano and the file if Ubuntu add sudo at the beginning of the command I don't know why you need the sudo command to save in Ubuntu
[21:31] <crised> Kythx: make a ubuntu bootable drive
[21:31] <Kythx> If not use locate and the driver name
[21:31] <Kythx> I have one
[21:32] <Kythx> Ubuntu one and kali Linux disk
[21:32] <Kythx> Going to install parrot OS on a another DVD
[21:34] <Kythx> Can you use nano to edit the file or is it read only format?
[21:35] <akik> Kythx: he's having a problem with his usb stick, can't read/write
[21:35] <Kythx> Oh ok
[21:35] <Kythx> I thought he wanted to edit the text to read the right bytes
[21:49] <isene> When my laptop (Dell XPS-15, Ubuntu 17.04) wakes up from suspend, the clock runs from where it left off upon suspend until I get network connection so that it corrects itself via ntp. Seems the hwclock doesn't do anything. How to fix?
[22:19] <xebra> hi, about secure boot and third party drivers (i.e. Nvidia driver). Ubuntu asks to disable secure boot when installing them. It seems secure boot must remain disabled if you want to use them. Ok, but the problem is: what if I have a dual boot with Windows? Ubuntu + Nvidia driver = secure boot off. Secure boot off = windows won't work anymore?
[22:19] <akik> xebra: i'm booting the laptop with grubx64.efi and don't need to disable the secure boot. i've been wondering about it too
[22:20] <akik> xebra: i just say no to the question about disabling secure boot
[22:21] <akik> # mokutil --sb-state
[22:21] <akik> SecureBoot enabled
[22:21] <xebra> akik, but do you have third party drivers installed? I'm afraid ubuntu won't install anything like that if I don't disable secure boot. I'm not actually sure I *need* third party drivers, but I'm not sure how Nividia and other things will work otherwise
[22:21] <akik> xebra: yes, nvidia
[22:22] <xebra> akik, what ubuntu version? I heard this changed in 16.04. If you have 15, then maybe it works anyway
[22:22] <akik> xebra: this is 14.04
[22:23] <xebra> akik, oh, then that's why it works for you
[22:26] <akik> xebra: i had to add grubx64.efi through my laptop's bios to the boot list
[22:55] <Wicaeed> Are there any docs on what system GID's/UID's to use if I don't want to overlap with existing services?
[23:31] <Oderus> hi! been trying to change my tray icons for errors but having no luck. if anyone can assist i started a thread https://www.kubuntuforums.net/showthread.php?t=71995