[00:06] <psychoticwarrior> whats up pp
[00:06] <psychoticwarrior> ppl
[00:24] <shadow98> https://pastebin.com/uzWBXtnu
[00:29] <oerheks> what does which g++say? Obviously there is no working c++ compiler on the system.
[00:29] <oerheks> sudo apt-get update && sudo apt-get install build-essential
[00:29] <oerheks> and perhaps apt-get install g++
[00:34] <L00P3X> GoodNight Ubuntu ^^..  someone knows why I kann't resolve this dependencies? https://pastebin.com/Qjgv8jDm
[00:46] <malkauns> L00P3X: tried "apt-get -f install" ?
[00:49] <shadow98> ignores = ( {
[00:49] <shadow98>    level = "JOINS PARTS QUITS";
[00:49] <shadow98>    network = "your chatnet name";
[00:49] <shadow98> OPPS
[01:01] <edwinksl> ?
[01:03] <L00P3X> malkauns, yes i tried.. even to reboot..
[01:05] <L00P3X> and tryed to install it manuali at once.. but they are installed :\.. maybe on a wrong version? but no others on the repos
[01:07] <L00P3X> sudo apt search libatkmm.. libatkmm-1.6-1v5/zesty,now 2.24.2-2 i386 [installed]
[01:09] <Bashing-om> L00P3X: Looks to be a trusty package : https://packages.ubuntu.com/search?searchon=contents&keywords=libatkmm-1.6&mode=filename&suite=trusty&arch=any .
[01:12] <L00P3X> Bashing-om, it is.. i used to add kxstudio repos and wanted to install the meta-audio pachages.. but some dependencies comes broken for me
[01:13] <L00P3X> and made a pastebin out https://pastebin.com/Qjgv8jDm
[01:14] <shadow98> https://pastebin.com/fWeGDHru got a little farther by installing g++
[01:15] <oerheks> L00P3X, funny, Depends: libsigc++-2.0-0c2a (>= 2.0.2) but it is not installable >> ubuntu gives 2.4 +   https://launchpad.net/libsigc++
[01:16] <oerheks> you might better seek help in #kxstudio
[01:21] <L00P3X> I asked some hour ago but could be a little bit late tonight :\ .. will maybe ask tomorrow again.. thank you guis.. but how this should be caused someone know?
[01:22] <oerheks> L00P3X, ask the ppa maintainer?
[01:27] <L00P3X> oerheks, will give it a try tomorrow..
[01:28] <L00P3X> someone who now would play a match of chess? ^^ https://lichess.org/hHdkhqIa
[01:29] <Redrield> Not sure what's going on
[01:30] <Redrield> I've removed all lines exporting JAVA_HOME from my bashrc, .profile, /etc/environment, and /etc/profile
[01:30] <Redrield> And it's still getting exported by something
[01:30] <Redrield> With the wrong value
[01:30] <Redrield> Like I can put the right value in any one of those files, and source it
[01:30] <Redrield> And I'll have the right value
[01:30] <Redrield> But as soon as I start a new session, the value I inputted is completely ignored
[01:39] <L00P3X> i going to leave.. see ya.. thank you..
[01:42] <glitsj16> Redrield: have you tried searching through your filesystem yet for the wrong value?
[01:44] <Redrield> glitsj16: I've looked through all the places I know variables can be exported
[01:44] <Redrield> /etc/profile, /etc/profile.d scripts, /etc/environment, ~/.profile, and ~/.bashrc
[01:44] <kenrin> Why don't you enable debug and just search the log to see where it comes from
[01:45] <glitsj16> Redrield: /etc/bash.bashrc as well i assume?
[01:47] <Redrield> Yeah, nothing in any of them
[01:49] <kenrin> Probably under pam or login.defs or something in the manager
[02:11] <Oderus> hi. desperately trying to backup a dvd but each time i try it says k3b needs transcode installed. I have it installed but still get the message. any ideas?
[02:30] <vfw> Oderus: transcode is installed?
[02:31] <vfw> Oderus: Run k3b from terminal, maybe you'll see the point of failure.
[02:31] <vfw> apt-cache policy transcode
[02:41] <Oderus> vfw: thanks for the reply. https://paste.ubuntu.com/24960645/ for the output of apt-cache policy transcode.
[02:43] <Oderus> vfw: also here https://paste.ubuntu.com/24960651/ for k3b output. I don't honestly see where it goes wrong here.
[02:45] <oerheks> Oderus, did you install libdvd-pkg too ?
[02:45] <oerheks> else it won' t decrypt i guess
[02:46] <Oderus> oerheks: as a matter of fact that is not currently installed, let me do that quick. thanks.
[02:47] <oerheks> for 16.04 and up that is, but looking at your kernel you are
[02:47] <Oderus> oerheks: yes 17.04
[02:51] <Oderus> oerheks: same error  after installing that :)
[02:51] <oerheks> did you restart k3b?
[02:52] <Oderus> yes
[02:57] <oerheks> Oderus, then i have no clue what to look for :-(
[02:57] <Oderus> oerheks: no worries thanks for taking a peek :)
[03:00] <k_sze[work]> Odd, there is a `/bin/login -f` for the default ubuntu user. It respawns if I kill it with SIGTERM.
[03:00] <k_sze[work]> Does anybody know where that might come from and what it is for?
[03:00] <Oderus> maybe a reboot will help.
[03:01] <sary> Oderus: are these packages install ( libk3b6-extracodecs lame flac )! The message might be a bug, Next time it comes up, tick the box, not to ask again, and that will be the last you see of it.
[03:24] <sirru5h> Howdy Everyone
[03:33] <k_sze[work]> Given that Ubuntu is based on Debian, are deb packages built for Debian supposed to *just work* on Ubuntu?
[03:34] <k_sze[work]> e.g. Ubuntu 14.04 is based on jessie/sid, so are deb packages built for Debian Jessie supposed to just work on Ubuntu 14.04?
[03:34] <oerheks> k_sze[work], not all of them, some are specially build for ubuntu
[03:35] <oerheks> so don't mix distros, thse packages should be available in ubuntu too
[03:36] <Bashing-om> k_sze[work]: The reverse is also true: https://wiki.debian.org/DontBreakDebian <- Advice For New Users On Not Breaking Their Debian System  .
[03:37] <sirru5h> what oerheks said I know that I have run into a few packages here and there that didn't work or were buggy to say the least
[03:37] <oerheks> as last resort, build them yourself?
[03:38] <sirru5h> That's an option, also I've had issues with Alien
[04:13] <goppo> is there a simple way to ensure a command executes again if it exits?
[04:14] <goppo> i'm hoping to run ffmpeg constantly for streaming a CCTV, but it may quit every now and then when the cam goes down
[04:14] <blkadder> If something exits, it is for a reason.
[04:15] <goppo> blkadder, yeah, but is there a simple way to ensure it runs again?
[04:15] <goppo> some sort of always-on service?
[04:15] <blkadder> Yes, figure out why it is exiting and avoid that condition.
[04:16] <goppo> blkadder, my cam just hiccups every few days or so
[04:16] <sirru5h> hmm why not make a script to check every say 2 min if it is running and if it's not you can use cron to restart the service?
[04:16] <blkadder> So at that frequency it is trivial to restart.
[04:16] <goppo> but no one is going to be around checking
[04:16] <blkadder> As sirru5h says that is what cron jobs are for.
[04:17] <goppo> sirru5h, why use cron to restart the service?
[04:17] <goppo> oh, you mean use cron to execute the script?
[04:18] <blkadder> goppo, You use a cron job to check if it is running and if not, restart.
[04:19] <sirru5h> sorry I was away but yeah just like blkadder explained
[04:20] <goppo> ok. but is there some sort of clever daemon that 'recovers' the process immediately?
[04:20] <goppo> like, how do webservers restart itself after it crashes?
[04:20] <oerheks> goppo, see this example http://www.akamaras.com/linux/linux-script-to-check-if-a-service-is-running-and-start-it-if-its-stopped/
[04:22] <goppo> oerheks, thanks
[04:37] <goppo> but if i create a service with 'Restart=onfailure', will it restart every time it exits?
[04:44] <goppo> it looks like it does
[04:50] <sirru5h> back goppo is it working?
[04:55] <Kartikay> Hi guys! Has anyone here successfully dual booted Win10 with Ubuntu?
[04:58] <oerheks> Kartikay, i am sure some do, with help of the uefi manual
[04:58] <oerheks> !uefi
[05:06] <goppo> sirru5h, i've set it up as a systemd unit with the Restart option set
[05:06] <goppo> sirru5h, seems to work fine. so i won't need a cronjob
[05:07] <goppo> but i have an issue. i have %m in my command, but %m is a special variable
[05:07] <goppo> is there a way to to escape %m?
[05:10] <goppo> oh, i've sorted it out now
[05:10] <sirru5h> goppo, are ya using ZSH?
[05:10] <goppo> sirru5h, yeah
[05:11] <sirru5h> okay thought so
[05:11] <goppo> sirru5h, how come?
[05:11] <sirru5h> So how did ya fix it
[05:11] <sirru5h> it was just a guess
[05:11] <Kartikay> Hey guys, has anyone successfully dual booted windows 10 and ubuntu?
[05:11] <goppo> according to https://www.freedesktop.org/software/systemd/man/systemd.unit.html there's a whole bunch of specifiers
[05:12] <goppo> and my command clashes with at least two: %m for month and %H for hour
[05:12] <goppo> but the specifiers actually mean machine ID and host name
[05:12] <goppo> i just had to use %%m and %%H instead
[05:14] <Kartikay> I already have 8 partitions on my disk . . If i install ubuntu . . Will it work properly?
[05:14] <sirru5h> dysnc it appears
[05:14] <oerheks> Kartikay, 8 partitions sounds it is on GPT, so yes, it will
[05:14] <sirru5h> goppo,  yeah the %m is like gethostname
[05:15] <Kartikay> Should I try to dual boot it then?
[05:15] <Kartikay> Its a big risk
[05:16] <Kartikay> Will ubuntu's installer be able to configure the bootloader automatically?
[05:17] <Kartikay> Or will i need to change some settings related to UEFI?
[05:17] <Kartikay> Right now i have disabled UEFi
[05:54] <Guido1> Hello everyone, there was an option to remove emty folders within a folder. What was the comand for that?
[05:56] <oerheks> when you are in the path: find . -empty -type d -delete
[05:56] <oerheks> easy to find, no?
[05:56] <geirha> might want to include -depth as well
[05:58] <oerheks> geirha +1, an empty folder in a folder does not make it empty indeed
[06:01] <geirha> And if it's just one level, rmdir ./*/ will suffice; it will remove the empty dirs, and write an error about any non-empty ones
[06:02] <oerheks> hmm nice trick
[06:09] <Guido1> oerheks: looks like it worked. Thanks :)
[06:49] <Blankspace> Hi
[06:50] <Blankspace> Can anyone help me with this
[06:50] <Blankspace> https://pasteboard.co/26gfL4fFw.jpg
[06:56] <capella> This guy filled up his hard rive and got that ... comment #10 https://ubuntuforums.org/showthread.php?t=1751574
[07:08] <u1n00b_> hi i have a problem adding a node to MAAS
[07:09] <u1n00b_> can somebody help me?
[07:10] <sary> if you state the issue you'll have a beter chance..
[07:11] <oerheks> u1n00b_, if you find no answer here, #ubuntu-server or #maas would be an appropriate place to reask
[07:11] <oerheks> sary +1, that too
[07:12] <sary> Blankspace: did this occur in a current installed , a fresh install , or after an upgrade! Are you using the 32 bit or the 64 bit version? And how much RAM? which ubuntu version?
[07:13] <u1n00b_> thanks
[07:15] <u1n00b_> fresh install on Virtualbox MAAS installed ok, 2 nic-s 1 host only - for PXE boot the node , 1 bridged
[07:15] <u1n00b_> the node boot up fine but at the and at login it says: Can not apply stage final, no datasource found
[07:17] <u1n00b_> picure: http://imgur.com/a/JMKzB
[07:20] <PixelKitty> hello everyone C: I'm using a Wii U Pro controller via Bluetooth. It works PERFECTLY out of the box but there's a catch, the face buttons are mapped in the Nintendo way (A is on the right instead of down, etc). I was wondering if there's any way to remap these buttons to mimic an XBOX 360 controller. Thanks in advance 💜
[07:31] <Blankspace> Scary it occured after an upgrade
[07:31] <Blankspace> Sary*
[07:32] <Blankspace> I am using 32 version
[07:32] <Blankspace> 4 gb ram
[07:32] <Blankspace> But I have dual boot
[07:32] <Blankspace> So I have both windows n ubuntu
[07:33] <sirru5h> Blankspace, this is regarding the pic above correct?
[07:33] <Blankspace> Yes
[07:33] <Blankspace> Sirru5h
[07:33] <swensson> Can someone convert this to ubuntu please "pw useradd ftpuser -g ftpgroup -d /dev/null -s /etc"
[07:33] <Blankspace> Sary I have ubuntu with linux 3.13.0-88
[07:34] <Blankspace> -generic
[07:34] <Blankspace> Version
[07:34] <Blankspace> On updation
[07:34] <Blankspace> To which I couldn't boot
[07:34] <sirru5h> I'm looking right now
[07:34] <Blankspace> It starts showing kernel panic
[07:34] <Blankspace> Ok sirru5h
[07:34] <sirru5h> dual boot and not a VM correct?
[07:34] <akik> swensson: look into useradd command
[07:34] <Blankspace> Yes
[07:35] <Blankspace> Not vm
[07:35] <sirru5h> what are else are you booting with it windows?
[07:35] <sary> Blankspace: can you get to recovery/rescue mode from the grub menu!
[07:36] <sirru5h> yup grub issue
[07:36] <Blankspace> Yup on recovery mode
[07:36] <Blankspace> It shows this
[07:37] <Tadassssss> Hey, #ubuntu, does anyone know here how to close a vim file that is opened but not saved yet? Opened a few of these and cannot find a way to close https://paste.pound-python.org/show/BSiRCXfdB6a4dddnU9NQ/
[07:37] <Blankspace> https://pasteboard.co/26HgiI0Bc.jpg
[07:38] <Blankspace> But I can boot to my earlier version
[07:38] <Blankspace> With linux 3.13.0-32
[07:39] <Blankspace> Using advance option for ubuntu
[07:39] <Blankspace> In grub
[07:39] <Blankspace> So how can I resolve the grub issue
[07:39] <alkisg> Boot into the older version, and put your grub.cfg to pastebin...
[07:40] <alkisg> And also the output of `sudo parted -l; sudo lsblk --fs`
[07:41] <sary> so do it, then run: sudo apt-get update && sudo apt-get -f dist-upgrade
[07:41] <Blankspace> I ran sudo apt-get update
[07:42] <Blankspace> Where would I get grub.cfg
[07:42] <alkisg> In /boot/grub/grub.cfg
[07:43] <sary> also, follow alkisg.. the /boot dir might be full so if it is, space on boot by deleting previous version kernels.
[07:44] <sary> Make*space/
[07:44] <Tadassssss> "bin/gunicorn_start3" E212: Can't open file for writing why cannot I save the VIM file? what is wrong :((
[07:44] <Blankspace> On running
[07:45] <Blankspace> Sudo apt-get -f dist-upgrade
[07:45] <Blankspace> It shows
[07:45] <Blankspace> E:dpkg was interrupted
[07:46] <alkisg> Put the whole output to pastebin, not just that one line
[07:46] <alkisg> So that we also see *why* it was interrupted
[07:46] <Blankspace> You must manually run sudo dpkg --configure -a
[07:46] <alkisg> Go to http://paste.ubuntu.com and copy all the lines there
[07:46] <alkisg> !pastebin
[07:47] <Blankspace> Pastebin
[07:47] <Blankspace> Result
[07:47] <Blankspace> Or grub
[07:47] <Blankspace> .cfg
[07:47] <alkisg> !enter
[07:47] <Blankspace> Or both
[07:47] <alkisg> Both
[07:47] <Blankspace> Ok
[07:51] <Blankspace> Paste.ubuntu.com/24961939
[07:53] <alkisg> Blankspace: and the output of `sudo dpkg --configure -a` ?
[07:53] <Blankspace> I didn't run it yet
[07:54] <Blankspace> I just ran it
[07:57] <Blankspace> I don't know what it did
[07:57] <Blankspace> What was that command for?
[07:57] <sirru5h> it fixes broken packages
[07:57] <ararob> does ls command list file size in bits or bytes?
[07:57] <Blankspace> Hopefully it won't interrupt booting to my other  os?
[07:58] <Blankspace> To windows
[07:58] <sirru5h> mm ls -l
[07:58] <sirru5h> that will show you size of files as well
[07:59] <sirru5h> Blankspace, grub has gotten much better on being more friendly with multiple OS's
[07:59] <Blankspace> Now what do I do
[08:00] <alkisg> Blankspace: did you see any errors when you ran that command? If yes, put them to pastebin
[08:00] <Blankspace> Do I boot back to my default ubuntu n check if problem reaolved
[08:00] <alkisg> If not, try `sudo apt-get dist-upgrade` again, and if that works too, then try rebooting
[08:01] <Blankspace> I just ran upgrade
[08:01] <Blankspace> No error except something related to java
[08:01] <alkisg> I was asking if the `dpkg --configure -a` command showed any errors
[08:02] <Blankspace> Not many
[08:02] <alkisg> Use pastebin
[08:02] <alkisg> Don't just say " I saw some errors but not many"
[08:02] <alkisg> That doesn't help us at all
[08:03] <sary> sorry, i got query from soemone.
[08:05] <Blankspace> So many line of result
[08:05] <alkisg> You select them, then right click and copy, then go to paste.ubuntu.com and right click and paste
[08:10] <Blankspace> It is updating
[08:10] <Blankspace> Can't copy now
[08:11] <Blankspace> It gets stopped
[08:11] <glitsj16> !pastebinit
[08:12] <alkisg> Let it finish
[08:12] <Blankspace> Only 9percent
[08:12] <Blankspace> Finished
[08:13] <Blankspace> I ran dist-upgrade
[08:14] <Blankspace> Could it be due to memory partition
[08:14] <Blankspace> Less space for ubuntu
[08:14] <Blankspace> N more for windows
[08:15] <Blankspace> Like in dual boot is ram also distributed?
[08:15] <Blankspace> Actually someone else did the partition thing.do I don't know how n aha
[08:15] <alkisg> It might have been because you were updating and then you stopped it without letting it finish properly
[08:15] <Blankspace> What memory was distributed to each os
[08:16] <Blankspace> Is there something like concept of ram distribution?
[08:17] <alkisg> On dual boot, no
[08:17] <Blankspace> Ok.just harddisk
[08:17] <Blankspace> I don't know
[08:17] <Blankspace> Both a
[08:19] <Blankspace> So both is have 4 gb ram?
[08:20] <Blankspace> Os*
[08:20] <Blankspace> If I have 4 gb ram in my system
[08:20] <Blankspace> And did dual partition
[08:20] <Blankspace> I mean dual boot partition.
[08:36] <Tadassssss> is it ok if i dont have an error log /gunicorn-error.log in my system?
[08:38] <sary> Blankspace: No, because you're not using it up all together! The fact that only one operating system will run in a dual-boot setup, hardware resources like CPU and memory is not shared on both Operating Systems, therefore making the operating system currently running use the maximum hardware specification. as for the harddisk, unless the partition run out of free space which eventually can be fixed by
[08:38] <sary> removing some files.
[08:40] <Tadassssss> I will not have an error log, I think it's ok
[08:40] <Tadassssss> who watches them anyways lol
[08:41] <sary> logs are usually stoed in /var/log/gunicorn .
[08:42] <sary> logs come in handy when it's time to debug/troubleshooting an issue!
[08:43] <Tadassssss> sary, do you know how could I delete files created with VIM?
[08:45] <geirha> Tadassssss: What do you mean? There's nothing to distinguish files created by vim from files created by other processes...
[08:45] <sary> it's just a text file Tadassssss
[08:46] <oerheks> rm /path/to/file
[08:47] <sary> if you mean the command line .. rm abc.txt
[08:48] <sary> with that example you need to be in the dir that has that file, or better do what oerheks cm.
[08:49] <Tadassssss> Yeah I know, but it says that file does not exist :( but terminal says it is open
[08:51] <sary> what!..
[08:52] <Tadassssss> it's ok, got it figured out :D
[08:52] <Tadassssss> sorry total newb in ubuntu
[08:52] <Tadassssss> it looks so messed up for me after 17yrs with windows
[08:52] <sary> it's cool. np :)
[08:53] <sary> I don't bleem ya, you'll get fimiliar give it time.
[08:54] <Tadassssss> hope so, rly need to learn this server stuff asap
[08:55] <Tadassssss> hope so, rly need to learn this server stuff asap
[08:55] <Tadassssss> oops sry
[08:55] <Tadassssss> FATAL     Exited too quickly (process log may have details)
[08:55] <Tadassssss> what could be the issue?
[08:55] <Tadassssss> dont have logs
[08:55] <Tadassssss> I'm trying to deploy Django
[08:58] <v2zz> hi! i've 3 luks partitions, but when i boot ( i don't change anything in settings on each boot), i sometimes get asked for password of 1 partition, sometims - for 3 partitions, sometimes it asks for password for commented in fstab and crypttab 4th partition. what should i do - reinstall ubuntu becase it completely broken?
[08:58] <swensson> Anyone here familliar with pure-ftp? I need to set different privileges to different users
[09:00] <Blankspace> I am currently upgrading my ubuntu.how do I know if there is enough memory for upgradation
[09:00] <Ben64> how much do you have
[09:00] <hateball> Blankspace: "df -h"
[09:00] <Blankspace> Thanks sary.
[09:00] <v2zz> Blankspace  After this operation, 64,4 MB of additional disk space will be used.
[09:00] <v2zz> Do you want to continue? [Y/n] y
[09:00] <Blankspace> Yes it said 274
[09:01] <Blankspace> Mb
[09:01] <v2zz> Blankspace and anyway, it should be atomic, in case of space lack it will break
[09:01] <sary> Tadassssss: is that error given by supervisor!
[09:02] <Blankspace> I have 52 gb volume
[09:02] <Blankspace> And then two new volumes
[09:02] <Tadassssss> sary, yes, when I run command sudo supervisorctl status urban-train I get this fatal exited too quickly
[09:03] <Blankspace> Which shows file of windows harddrive
[09:03] <Blankspace> 52 gb is my c drive in ubuntu?
[09:04] <oerheks> Blankspace, how do *we* tell??
[09:04] <v2zz> i've removed evolution completely, anobody googled a good  clock for upper right corner of screen?
[09:05] <oerheks> if your ubuntu filesystem is full, run this : sudo apt autoremove # this will clean out some old kernels and old packages
[09:05] <v2zz> Blankspace	can't you just look how much free space you have on / partition in system monitor?
[09:05] <sary> Tadassssss: in the supervisor conf file, #command=php .. is --daemon in there!
[09:07] <Tadassssss> sary, no, but do I need it? my conf file looks like this: https://paste.pound-python.org/show/26oQrRwbCNEnBo1I40W9/
[09:07] <Tadassssss> where should I put the daemon?
[09:07] <Blankspace> Ok oerheks
[09:08] <Tadassssss> added the --daemon after command=/path/to/command still the same exited too quickly
[09:10] <Tadassssss> hmm when I do mkdir logs
[09:10] <Tadassssss> it says logs exist
[09:10] <Tadassssss> but when I look at it in filezilla
[09:10] <Tadassssss> there is no logs folder
[09:11] <Tadassssss> oh wait
[09:11] <Tadassssss> there is
[09:12] <sary> Tadassssss: don't mind --daemon option m it seems that gunicorn doesn't deamonize itself.
[09:13] <Tadassssss> maybe I need to chmod u+x bin/gunicorn.conf?
[09:14] <sary> Tadassssss: whats in your Gunicorn config!
[09:14] <sary> well, did you read the Gunicorn docs.
[09:14] <Tadassssss> sary, no, sir, I am just doing step by step https://simpleisbetterthancomplex.com/tutorial/2016/10/14/how-to-deploy-to-digital-ocean.html
[09:15] <sary> OK.
[09:15] <Tadassssss> my config https://paste.pound-python.org/show/aHWnnqRbijj90ELDXFAv/
[09:15] <v2zz> is it possible to install ubuntu 17 on top of 16 without eracing /home partion data?
[09:15] <swensson> Im trying to use Pure-ftpd virtual users to control my webbserver, One for admin, one for guest and one for developers. Admin should be able to do anything in /var/www, developers should only be able to update files and guest should be able to read. Anyone got any solution for this?
[09:43] <Lachezar> 3.16.43-2+deb8u2 and 4.9.30-2+deb9u2, but I'm on Ubuntu's 4.10.0-24-generic.
[09:43] <Lachezar> Hey all. I got bit but what seems to be a kernel bug: Java programs crash with SIGSEGV. However the bug seems to have been fixed in 3.16.43-2+deb8u2 and 4.9.30-2+deb9u2, but I'm on Ubuntu's 4.10.0-24-generic.
[09:44] <Lachezar> I just upgraded yesterday. What can I do other than rolling back to the previous kernel with GRUB?
[09:53] <royal_screwup21> how do I check if a job is currently running in the background? I'm running a mongodb database with the command "mongod" but I'm having glitches with and I just want to know for sure it actually is running as it should.
[09:55] <oerheks> pgrep mongod -or- service mongod status
[09:55] <Johnson1977> Hi
[09:56] <Johnson1977> I installed ubuntu 17
[09:56] <Johnson1977> and after restart
[09:56] <Johnson1977> nothing works anymore
[09:56] <Johnson1977> I had steam running just fine
[09:56] <Johnson1977> Now, nothing, cannot launch anything
[09:56] <Johnson1977> If I click system settings,  freeze
[09:57] <Johnson1977> Is MINT more stable than this?
[09:57] <Johnson1977> some serious BS. fresh installation, 1 application, and dead OS, srsly
[10:00] <matyy> It doesn't boot anymore?
[10:00] <matyy> Did you perhaps install graphic drivers?
[10:04] <Johnson1977> anyone?
[10:05] <Tadassssss> Does anybody know wtf is going on? 3 hours on this vim bin/gunicorn_start opening to edit this, I enter my commands, then I try to save with :x and get this: "bin/gunicorn_start" E212: Can't open file for writing
[10:05] <minimec> Johnson1977: We would need a little bit more information. 'Nothing works' I not enough... ;) Do you get a graphical interface for example?
[10:06] <Johnson1977> No
[10:06] <Johnson1977> When I open steam, i get prompted the login
[10:06] <Johnson1977> After the login, its 'dead'
[10:06] <Johnson1977> No new popup, no new window
[10:06] <Johnson1977> and for system settings, it just freezes
[10:06] <Johnson1977> mouse moves, but cant do anything
[10:08] <anddam> what's the expected timeline for python 3.6 in LTS?
[10:08] <minimec> Johnson1977: Well... If you get the steam login screen, you do have a graphical interface... right? Can you open a terminal? It would be interesting for us to see the boot log of your computer...
[10:08] <anddam> well, I don't even know if that's going to happen, is it?
[10:09] <minimec> Johnson1977: In a terminal... 'sudo apt install pastebinit', then 'journalctl -b | pastebinit'. Then paste the link you get here in the #channel
[10:09] <Johnson1977> http://paste.ubuntu.com/24962565/
[10:11] <Johnson1977> back to windows... srsly, had same problems with debian
[10:11] <Tadassssss> yeah dude, windows definitely > linux
[10:11] <Tadassssss> need to spend 3 hours
[10:11] <Tadassssss> to fix a problem on linux
[10:11] <Tadassssss> ffs
[10:12] <Johnson1977> unbelievable
[10:12] <minimec> Johnson1977: Ok. Looks that you have a nvidia GPU right?
[10:12] <Johnson1977> Debian, cant even install from usb stick
[10:12] <Johnson1977> yes
[10:13] <minimec> Johnson1977: So I recommend to enable the nvidia driver in 'additional drivers' in the settings.
[10:13] <oerheks> NVIDIA GP107 = 1050 ?
[10:14] <Johnson1977> ok i did that
[10:14] <Johnson1977> lets see
[10:14] <Johnson1977> its applying changes
[10:14] <Johnson1977> did the same for the cpu
[10:15] <Johnson1977> everything was working fine before
[10:15] <Johnson1977> really
[10:16] <minimec> Johnson1977: That's ok. So once you enabled the additional drivers, do a reboot. You will probably have much better GPU performance, even though it may have 'worked before' too... ;)
[10:17] <Johnson1977> lets see
[10:17] <Johnson1977> I hope so
[10:17] <Johnson1977> i really put hopes on ubuntu
[10:17] <Johnson1977> wanted to move away from windoze
[10:18] <minimec> Johnson1977: That is a good decision if you ask me... ;)
[10:18] <Johnson1977> but i need stuff to work!
[10:18] <cesdo> Hello! What is main log file in Ubuntu?
[10:18] <Johnson1977> not spend 50% debugging, and 50% working
[10:19] <minimec> Johnson1977: We all understand that...
[10:19] <cesdo> such as /var/log/messages in Fedora
[10:20] <alkisg> cesdo: maybe /var/log/syslog... although now with systemd/journalling, it's under debate...
[10:20] <hateball> cesdo: ubuntu uses systemd, so you want to use journalctl
[10:20] <Tadassssss> Could anybody check what am I doing wrong? trying to deploy a django application on my server, doing this and getting an unseen error https://paste.pound-python.org/show/xrAatkEYm7W4jBI7va64/
[10:20] <minimec> cesdo: That doesn't exist anymore, not even in fedora. With systemd you have a tool called journalctl.
[10:20] <hateball> cesdo: also some stuff log to /var/log/dmesg or syslog etc as well
[10:21] <cesdo> thanks
[10:23] <_cc> Tadassssss: i think it might be fixable by chmod a+x on the gunicorn_start
[10:24] <Tadassssss> _cc, still the same....
[10:24] <Tadassssss> I will try doing all over
[10:24] <Tadassssss> on a fresh server
[10:25] <rexwin_> how to check whether squid is installed?
[10:25] <_cc> Tadassssss: pretty sure you're just missing an execute flag from the file, did you check what rights the file has the script is trying to execute?
[10:26] <Tadassssss> _cc, chmod u+x bin/gunicorn_start and then I did a+x, still the same
[10:26] <hateball> rexwin_: apt policy squid
[10:26] <_cc> what's the current working directory?
[10:27] <_cc> i mean you're doing that command, but it's relative to the directory you're in
[10:27] <_cc> try with full path
[10:27] <Tadassssss> _cc, I dont really know that I'm in ~$
[10:27] <Tadassssss> noob in ubuntu
[10:28] <_cc> pwd
[10:28] <Tadassssss> home/urban
[10:28] <_cc> does it still have the same error in the log files?
[10:28] <Tadassssss> yes
[10:29] <sary> Lachezar: So you think the same bug is in 4.10.0-24-generic! Did you find a similar bug rebort on launchpad! You could debug/troubleshooting  https://wiki.ubuntu.com/DebuggingProcedures and fill a report to launchpad.
[10:31] <sary> Lachezar: you might wanna report this to the kernel team in #ubuntu-kernel.
[10:32] <_cc> Tadassssss: posted you a private message
[10:32] <Tadassssss> I see, _cc one sec
[10:42] <glitsj16> Tadassssss: why are you using pip to install gunicorn and not the repo package?
[10:42] <rexwin_> is there any way to cache youtube videos so that I can watch them even when offline?
[10:43] <Ben64> youtube-dl
[10:43] <minimec> rexwin_: 'sudo apt install youtube-dl'. You can then download the video in the terminal...
[10:43] <_cc> glitsj16: i think the problem is in the script, line 8. of the paste
[10:44] <rexwin_> I havebeen using that. but want a direct solution like caching
[10:44] <_cc> looks like it's not the root directory of whatever is that he's trying to execute
[10:45] <ztane> apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=27902 comm="ipp" capability=12  capname="net_admin"
[10:45] <glitsj16> _cc: i think Tadassssss' issues start at line 1 :)
[10:45] <ztane> no wonder I need to wait for my prints for so long.
[10:45] <_cc> :)
[10:45] <Ben64> rexwin_: it is a direct solution
[10:45] <Ben64> you want to be able to watch videos offline, that downloads them so you can do so
[10:45] <Tadassssss> glitsj16, https://simpleisbetterthancomplex.com/tutorial/2016/10/14/how-to-deploy-to-digital-ocean.html I am just reading from this
[10:47] <Tadassssss> glitsj16, how do I install gunicorn with the repo package?
[10:47] <Tadassssss> sudo apt-get install gunicorn
[10:48] <Tadassssss> yes?
[10:48] <glitsj16> Tadassssss: so you're doing this on a VPS? I'm going over the link you gave
[10:48] <Tadassssss> glitsj16, yes on digitalocean vps if that makes any difference
[10:49] <codecutter> sudo systemctl restart tomcat -agentlib:jdwp=transport=dt_socket,address=62587,suspend=n,server=y
[10:49] <codecutter> systemctl: invalid option -- 'g'
[10:49] <ztane> indeed, wat... is going on with my cups/apparmor ^
[10:50] <ztane> (trying samba printing)
[10:50] <glitsj16> Tadassssss: okay, it sets up a python virtualenv, where exactly are you in the instructions? Don't install anything yet, it might be legitamely using pip, i'll have to read the whole thing before i can be sure
[10:50] <Tadassssss> glitsj16, I'm stuck at sudo supervisorctl status urban-train
[10:50] <Tadassssss> getting error  BACKOFF   Exited too quickly (process log may have details)
[10:50] <ztane> Tadassssss: you need to read the logs...
[10:50] <glitsj16> Tadassssss: thanks, I'll go over it quickly
[10:50] <ztane> where the server output is going
[10:51] <ztane> it is of no use for anyone else to read that
[10:51] <Tadassssss> ztane, logs say ENOEXEC supervisor: child process was not spawned
[10:51] <Tadassssss> google has no answer on that...
[10:51] <ztane> stdout_logfile=/home/urban/logs/gunicorn-error.log
[10:51] <Tadassssss> yes
[10:52] <ztane> Tadassssss: wrong filename, the executable wasn't executable (need to have chmod +x)
[10:52] <ztane> (or #!shebang)
[10:52] <Tadassssss> ztane, you mean my config file?
[10:53] <ztane> no, the command: command=/home/urban/bin/gunicorn_start
[10:53] <ztane> does that start with #!/bin/bash
[10:53] <codecutter> anyone?
[10:53] <Tadassssss> ztane,  no it doesn't, adding that
[10:53] <ztane> ...
[10:54] <_cc> :---D
[10:54] <Tadassssss> sorry, total newb, tuts dont provide that
[10:54] <_cc> he had it in the pastebin link!
[10:54] <ztane> Tadassssss: they do provide
[10:54] <_cc> codecutter: are you missing a dash after the "tomcat "
[10:54] <Tadassssss> ztane, it was provided on the gunicorn_start file but the config file was without the shebang
[10:54] <ztane> no the config file doesn't need a shebang
[10:55] <Tadassssss> oh, so then It was good before..
[10:55] <ztane> then, try to run the actual command from command line, what do you get?
[10:55] <ztane> i.e. /home/urban/bin/gunicorn_start
[10:56] <Tadassssss> ztane, I get OSError: [Errno 1] Operation not permitted: '/home/urban/run/gunicorn.sock'
[10:56] <Tadassssss> if I just paste in the command
[10:57] <ztane> hmm ok so it does run, and there is something else...
[10:57] <Tadassssss> idk it is just insane, I spent 12 hrs yesterday setting up VNC, today it seems I will be spending 12 hrs to set up django
[10:58] <ztane> it then might be that you still have an old config in supervisor, try supervisorctl reload
[10:58] <_cc> I think he just spawned a fresh server
[10:58] <ztane> vnc? who uses vnc
[10:58] <Tadassssss> I needed it to check one thing
[10:58] <Tadassssss> [Errno 13] Permission denied: file: /usr/lib/python2.7/socket.py line: 228
[10:58] <hateball> That's what SSH is for :)
[10:58] <Tadassssss> the reload worked before
[10:58] <Tadassssss> getting this error
[10:58] <Tadassssss> hateball, yes but vnc helped me understand a few things about the ssh
[10:58] <ztane> sudo make me sandwich ;)
[10:59] <Tadassssss> whatever
[10:59] <Tadassssss> I guess I wont have django
[10:59] <Tadassssss> ty guys
[10:59] <_cc> Tadassssss: he was implying you forgot to use "sudo" while trying to "supervisorctl reload"
[11:00] <ztane> Tadassssss: https://xkcd.com/149/
[11:00] <Tadassssss> :/
[11:01] <_cc> so: sudo supervisorctl reload
[11:01] <Tadassssss> I did, doesnt work
[11:01] <Tadassssss> same thing
[11:01] <Tadassssss> getting exited too quickly
[11:01] <Tadassssss> linux admins must be making real bank
[11:02] <Tadassssss> because this stuff
[11:02] <Tadassssss> is something next level
[11:02] <Tadassssss> alien technology
[11:02] <ztane> Tadassssss: also, there is #django - if you have more django-specific problems
[11:03] <Tadassssss> I know all that stuff, just never owned my own server, now I have this cool idea and rly need my own server, but cannot start django
[11:03] <ztane> Tadassssss: so now, please view the log file /home/urban/logs/gunicorn-error.log
[11:03] <ztane> or what did you call it
[11:04] <Tadassssss> ENOEXEC
[11:04] <Tadassssss> supervisor: child process was not spawned
[11:04] <Tadassssss> supervisor: couldn't exec /home/kigbot/bin/gunicorn_start: ENOEXEC
[11:04] <Tadassssss> supervisor: child process was not spawned
[11:04] <Tadassssss> supervisor: couldn't exec /home/kigbot/bin/gunicorn_start: ENOEXEC
[11:04] <Tadassssss> supervisor: child process was not spawned
[11:04] <Tadassssss> supervisor: couldn't exec /home/kigbot/bin/gunicorn_start: ENOEXEC
[11:04] <glitsj16> Tadassssss: start afresh, using the actual digitalocean documentation instead --> https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-14-04 .. i already found the domain name of what you are/were following 'fishy'.. simple never was better than complex if your deploying django
[11:06] <ztane> Tadassssss: ENOEXEC should really mean that the #!shebang line is not correct
[11:07] <ztane> ENOEXEC: An executable is not in a recognized format, is for the wrong architecture, or has some other format error that means it cannot be executed. (from man execve)
[11:07] <Tadassssss> I am trying a fresh install
[11:07] <ztane> are you sure there is no empty line *before* the #!/bin/bash
[11:07] <Tadassssss> hopefully it works
[11:07] <ztane> it really needs to be on top
[11:08] <Tadassssss> ok, the file is empty now, i dont know why
[11:08] <ztane> it explains a lot...
[11:08] <Tadassssss> I will just try a new fresh install
[11:08] <ztane> no need for any fresh install, just rewrite that one file.
[11:11] <BluesKaj> Hiyas all
[11:11] <ztane> now
[11:11] <ztane> how to disable apparmor for cupsd
[11:11] <ztane> can't use samba for some reason if enabled :(
[11:12] <ztane> it used to work
[11:24] <glitsj16> ztane: I guess a true 'fix' would be trying to find out why samba is getting troubled, but in the mean time you can look at https://help.ubuntu.com/community/AppArmor#Disable_one_profile
[11:26] <ztane> glitsj16: yeah will try that...
[11:33] <fuser> The "Scale for menu and title bars" in Display settings keeps getting reset when the screen turns black from inactivity.
[11:33] <fuser> Always goes back to 1
[11:34] <oerheks> fuser, read about it, https://ubuntuforums.org/showthread.php?t=2358444 ... file a bugreport ?
[11:39] <Tadassssss> ok, so I managed to install django correctly. Nginx problem now :D getting 502 gateway http://128.199.51.14/ Using this tutorial: did everything exactly like this https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-14-04
[11:45] <Tadassssss> anybody knows what I could be doing wrong?
[11:48] <Tadassssss> it seems like it just doesnt redirect to port 8000, because if I go ip:8000 it just works
[11:48] <Tadassssss> when django is on
[11:48] <Tadassssss> so I guess its nginx problem
[11:48] <Tadassssss> why tf all these tutorials must have something hidden so an user has to spend hours figuring out
[11:49] <scottjl> because their situation != your situation
[11:49] <Tadassssss> true
[11:49] <Ben64> you can't expect servers to be 'push button, receive bacon'
[11:49] <scottjl> damn i wish they were!
[11:49] <Tadassssss> i wish it was like that
[11:49] <Ben64> that will get your server turned into a mail relay
[11:50] <scottjl> i need bacon
[11:50] <Tadassssss> i just want my nginx to work :(
[11:50] <Ben64> it does
[11:50] <Tadassssss> 502 gateway to disappear then
[11:51] <Ben64> look at the logs
[11:51] <Tadassssss> Ben64, it says proxy_pass http://unix:/home/kigbot/myproject/myproject.sock; so my file has to be here with the .sock
[11:51] <Tadassssss> but it isnt here
[11:52] <Ben64> then you didn't set it up properly
[11:54] <ikonia> why would a socket file be in someones home directory ?
[11:55] <Tadassssss> ikonia, well the tutorial is providing that
[11:55] <Tadassssss> ikonia, https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-14-04
[11:55] <ikonia> Tadassssss: are you using a ditial ocean droplet ?
[11:55] <Tadassssss> yes
[11:55] <Tadassssss> been reinstalling this django
[11:55] <Tadassssss> for like 6 times
[11:55] <ikonia> Tadassssss: therefore their support team should be able to support their guide on their build
[11:55] <Tadassssss> managed to make it work
[11:55] <Tadassssss> really?
[11:55] <Tadassssss> ok, will try
[11:57] <ikonia> that guide looks terrible
[11:57] <ikonia> using a python script in a home directory to launch a service
[11:57] <ikonia> then a sloppy ngnix config to proxy it
[11:58] <Tadassssss> ikonia, please help with the nginx part :( im dieing here, 6hours trying to launch a django app
[11:58] <ikonia> it's not startign up
[11:58] <ikonia> so the socket file is not being created
[11:59] <ikonia> I've never seen a config put the socket file in the home directory
[11:59] <Tadassssss> how should I create it?
[12:00] <Tadassssss> are you saying it cannot put it there?
[12:00] <ikonia> you can put it where you want
[12:00] <Tadassssss> so it doesnt really matter, and security is not an issue, this app will be used only by me
[12:00] <scottjl> if nginx doesn't have permissions to access your home directory it's not going to create a socket file there, and i agree with ikonia, that's just kind of odd to put it there.
[12:01] <ikonia> I'd question the proxy_pass
[12:01] <scottjl> does nginx even have access to write to your home?
[12:01] <Tadassssss> I dont really know
[12:01] <Tadassssss> how do I check it
[12:01] <scottjl> ls -ald ~
[12:02] <scottjl> what's the perms?
[12:02] <scottjl> and what use/group is nginx running as?
[12:02] <Tadassssss> drwx------ 28 kigbot kigbot 4096 Jun 27 11:11 /home/kigbot
[12:02] <scottjl> unless nginx is running as kigbot/kigbot it can't write to your home dir
[12:02] <scottjl> ps -ef | grep nginx
[12:03] <Tadassssss> gives me this: https://paste.pound-python.org/show/H7tUBs7b7246QJ6nSRzL/
[12:03] <scottjl> yeah. that's running as www-data
[12:03] <scottjl> so it's never going to create a socket file in your home directory
[12:04] <scottjl> unless you chmod 0666 ~kigbot which i would NEVER recommend
[12:04] <Tadassssss> I will do it
[12:04] <Tadassssss> for now
[12:04] <Tadassssss> because as I said it's only me who is using this
[12:04] <scottjl> are there other users on this box?
[12:04] <Tadassssss> nope
[12:04] <scottjl> very bad security
[12:04] <scottjl> but you can try it to see if you can get whatever you're doing even working
[12:04] <scottjl> but i would fix that config so it writes the socket file to /tmp
[12:04] <Tadassssss> still the same
[12:05] <Tadassssss> bad gateway
[12:05] <scottjl> you'll need to restart nginx
[12:05] <Tadassssss> did it
[12:07] <scottjl> dump your sites-available/myproject file?
[12:07] <Tadassssss> then it means the problem isn't in the nginx right?
[12:07] <scottjl> no. dump a copy to pastebin so i can see it
[12:07] <Tadassssss> I cant search the files now after chmod 0666
[12:07] <scottjl> not sure where your problem is
[12:08] <Tadassssss> my user directory is empty now
[12:08] <scottjl> oh sorry. 0777 ~
[12:08] <scottjl> chmod 0777 ~
[12:08] <scottjl> it's early. i need more tea
[12:10] <Tadassssss> dont know where this sites-available is
[12:10] <scottjl> should be in /etc/nginx/sites-available. didn't you follow that tutorial ?
[12:10] <Tadassssss> I just copy and paste everything because doing for Xth time
[12:11] <scottjl> well that's a big mistake
[12:11] <scottjl> you need to edit things custom to your system
[12:11] <Tadassssss> I do those
[12:11] <Tadassssss> ok I found it
[12:11] <Tadassssss> https://paste.pound-python.org/show/kugD7tZXluMfwkTicWh2/
[12:12] <Lachezar> sary: Sry, was away on lunch, posted on #ubuntu-kernel, looking for similar bugs on Launchpad.
[12:12] <scottjl> chmod 0777 ~kigbot and restart nginx
[12:12] <scottjl> see if it is working now
[12:12] <Tadassssss> still bad gateway
[12:12] <Tadassssss> so I guess the problem is somewhere else
[12:13] <Lachezar> sary: Seems this one applies: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1700010
[12:14] <scottjl> Tadassssss: do a find on the tutorial page for "bad gateway" apparently there is an instruction that isn't right (missing a dot) and someone posted a fix to it
[12:14] <scottjl> Tadassssss: the post by "slow999" is the one i'm referencing
[12:14] <scottjl> Tadassssss: there is also one by "jellingwood"
[12:17] <Tadassssss> who is the author?
[12:17] <Tadassssss> Cannot find
[12:18] <zetheroo> one of my Ubuntu boxes is mailing this and I don't know what's causing the mysqladmin error: https://pastebin.ubuntu.com/24962955/
[12:25] <fl00fykittry> when i log in by hand i get the if i don't give mysql a -p
[12:31] <ikonia> fl00fykittry: ?
[12:33] <fl00fykittry> typing 'mysql' gets me the using password: no line from the cron
[12:33] <fl00fykittry> 'mysql -p' gets me using password:yes but no access and then 'sudo !!' gets me in
[12:33] <ikonia> fl00fykittry: right ?
[12:33] <fl00fykittry> was thinking maybe this aligns w the cron issue
[12:33] <ikonia> fl00fykittry: that is the correct behaviour if I understand what you are doing
[12:33] <ikonia> no
[12:34] <ikonia> cron is a different thing
[12:34] <ikonia> this is to do with your mysql user HBAC
[12:42] <zetheroo> so it seems that there is this file which came from somewhere which is causing the errors /etc/logrotate.d/mysql-server
[12:42] <zetheroo> anyone have an idea where that file comes from?
[12:43] <zetheroo> The first line doesn't sound at all amateurish ... "I put everything in one block and added sharedscripts ...." 😲
[12:45] <htafdresgi> how do I setup events to go off when the power cord is plugged in and taken out?
[12:45] <htafdresgi> I want to start boinc-client when the laptop has power connected, and turned off when it is taken out
[12:46] <Muimi> when i type my ubuntu password in, I see about 6 lines of code on a black screen and then am returned to the login screen.
[12:47] <geirha> zetheroo: dpkg -S /etc/logrotate.d/mysql-server
[12:47] <zetheroo> mariadb-server-10.0: /etc/logrotate.d/mysql-server
[12:53] <oerheks> htafdresgi, maybe this page is any help? https://askubuntu.com/questions/590727/how-can-i-run-a-script-when-the-power-supply-is-plugged-in-or-out
[12:55] <htafdresgi> oerheks: awesome thanks
[12:55] <Muimi> can anyone help with that?
[12:55] <Muimi> it's like a huge problem for me. :/
[12:59] <sary> Muimi: this seems to be caused by the login manager.
[13:00] <Muimi> yeah but it just ranodmly happened and i cant stop it
[13:02] <Muimi> It's like it just broke for  no reason.  I didn't update or anything
[13:04] <Muimi_> Yeah I tried again
[13:04] <Muimi_> same thiing
[13:04] <Muimi_> it's so annyoing.  I don't know why it's doing that
[13:05] <Dunga> Muimi, can you drop to CLI by pressing ctrl + alt + F1, i think
[13:05] <sary> Which ubuntu version! do you happen to know the login manager in use .. you might only need to reconfigure the login manager with dpkg .
[13:05] <Muimi_> what do you want me to do in termainal?
[13:06] <oerheks> sounds like an old issue, https://askubuntu.com/questions/436925/ownership-of-xauthority-transferred-to-root >> you might want to check the owner of ~/.Xauthority
[13:06] <oerheks> Muimi_, ^^
[13:06] <Dunga> You can inspect logs with dmessg to see what happened
[13:07] <Dunga> You can also uninstall things depending on the actual error message that you are getting
[13:07] <Muimi_> dmessg is an unknown program
[13:07] <Muimi_> as a guest session ican't uninstall anything
[13:07] <oerheks> ctrl alt F1, login, remove ~/.Xauthority , logout,  hit ctrl alt F7, login
[13:08] <Dunga> spello - dmesg
[13:08] <Muimi_> is that going to fix the login?
[13:08] <Muimi_> remove ~/.Xauthority
[13:09] <oerheks> Muimi_, if xauthority is changes, yes, that give this login loop
[13:09] <oerheks> you can check it with "ls -la "
[13:09] <Muimi_> audit_printk_skb: 585 callbacks suppressed [ 1505.588473] audit: type=1400 audit(1498568765.080:8617): apparmor="DENIED" operation="open" profile="/usr/lib/lightdm/lightdm-guest-session" name="/proc/1/cmdline" pid=4423 comm="parcellite" requested_mask="r" denied_mask="r" fsuid=998 ouid=0
[13:11] <Muimi_> ii got like a billion messages like that in dmesg
[13:17] <Dunga> I cant say for certain whats causing the issue. Seems to me like resetting and reinstalling lightdm might be the way to go
[13:23] <sary> Muimi_:  what Dunga said, or installing gdm and sudo dpkg-reconfigure gdm .
[13:28] <oerheks> huh? ubuntu uses lightdm, and installing gdm sounds not like a fix to me .. how about checking ~/.Xauthority??
[13:32] <Dunga> oerheks: that could do. I would start off by renaming Xauthority at this stage
[13:33] <sary> Yes Lightdm is the default, and users can install GDM,MDM, KDM, Slim and reconfigure with dpkg , if the other login manager fails too that means there is something wrong with GPU driver.
[13:34] <sary> What if Xauthority doesn't exist!
[13:36] <oerheks> it does, see the . before the filename = hidden
[13:36] <oerheks> therefore, ls -la # will show all files and permissions
[13:37] <Dunga> Muimi has gone quiete.
[13:38] <codecutter> sudo ufw allow 62587/tcp
[13:38] <codecutter> netstat -lnp | grep 62587
[13:39] <codecutter> tcp        0      0 0.0.0.0:62587           0.0.0.0:*               LISTEN      -
[13:39] <codecutter> it seems the port is still closed?
[13:40] <sary> Well,  doesn't exist for my user , does it exist on on theirs though!
[13:41] <codecutter> anyone?
[13:42] <sary> Muimi_: #See " Help, I can't see my Desktop! " in https://wiki.ubuntu.com/LightDM
[13:44] <sary> and as it's state it there , from the virtual terminal update the system , sudo apt-get update && sudo apt-get dist-upgrade .
[13:48] <codecutter> i'm sure my thing is trivial
[13:48] <codecutter> can someone take a quick look?
[13:59] <emes> I just installed ubuntu on a thinkpad X1 carbon, dual booting with windows, but the ubuntu bootloader doesn't come up. I tried boot-repair and the URL it gives me for the pastebin is just "http://paste2.org"...
[14:04] <emes> Ok, here's the output from boot-info: https://paste2.org/dY9evn08
[14:09] <emes> I think boot-repair may be getting confused because my live usb shows up as /dev/sda and my real drive is /dev/nvme0n1
[14:14] <Dunga> codecutter: You need a packet initiator to send packets to the port. Open 2 tabs in your terminal. In Tab1 start listening to your port ($ sudo netcat -vl 62587). In Tab2 send packets to port ($ sudo netcat -v 0.0.0.0 62587). Go back to Tab1 to see if your packets are  being rejected/accepted
[14:30] <Muimi> remove ~/.Xauthority
[14:30] <Muimi> "remove not a known command"
[14:31] <hateball> Muimi: it's "rm"
[14:31] <hateball> Muimi: but do "ls -l ~/.Xauthority" first
[14:32] <Muimi> ls -l ~/.Xauthority
[14:32] <Muimi> rm ~/.Xauthority
[14:32] <Muimi> just like that?
[14:32] <hateball> Muimi: maybe you ran a GUI app with sudo so the permissions got screwy, you can fix that by "sudo chown $USER:$USER ~/.Xauthority"
[14:32] <hateball> Muimi: ls -ls ~/.Xauthority will show if root:root owns the file rather than your user
[14:33] <Muimi> this probably all happened because i wanted to use wechat on ubuntu
[14:33] <Muimi> basically the only reason I don't want to stay in ubuntu all day every day is becuase no wechat
[14:33] <Muimi> but when I tried to install it, all this random bs happened
[14:33] <Muimi> ls -ls or ls -l?
[14:34] <hateball> Muimi: either works
[14:34] <hateball> I just typoed an extra s
[14:34] <Muimi> sudo chown $USER:$USER ~/.Xauthority is literally $USER or should I use $Myusername
[14:35] <Muimi> You know Lois Lane from the tv series?  DO you think she's missing a chromosome?
[14:35] <hateball> Muimi: $USER is a variable that is your name
[14:35] <Muimi> k
[14:35] <hateball> but if your name is burt, you can use burt:burt if you like
[14:36] <Muimi> brb
[14:36] <Muimi> I have to remember all this
[14:36] <Muimi> chown isn't an english word, you know?
[14:38] <thewillo> How do I disable x from starting on Ubuntu 14.04?
[14:38] <thewillo> Like, I want to have it installed but don't want it to start on boot
[14:39] <edwinksl> thewillo: https://askubuntu.com/q/16371/15003
[14:39] <hateball> thewillo: disable lightdm or gdm or whatever you use from starting
[14:46] <jhutchins_wk> Muimi: change owner.
[15:04] <EvilRoey> hello
[15:04] <EvilRoey> I keep getting this error (even on 17.04): https://stackoverflow.com/questions/25138596/zssh-cant-start-and-shows-out-of-ptys-when-start which is apparently this error: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769366, which has not been closed yet.  They say that a recompile works though.  How do I apt-get compile this?
[15:06] <Tadassssss> I want to thank everyone who contributed in helping me set up a django server today. After spending 8 hours in debugging and pulling my hair out I finally figured out the answer. I had '}' in a wrong place :)
[15:06] <scottjl> typos suck
[15:07] <Tadassssss> indeed
[15:09] <k_sze> Is Ubuntu getting this microcode fix any time soon? https://lists.debian.org/debian-devel/2017/06/msg00308.html
[15:10] <genii> k_sze: If Debian gets it, we'll get it
[15:10] <k_sze> I see that artful seems to have the same intel-microcode package, but the other releases don't yet.
[15:10] <k_sze> https://packages.ubuntu.com/search?suite=all&section=all&arch=any&keywords=intel-microcode&searchon=names
[15:11] <k_sze> In fact, I'm kinda surprised that Trusty seems to have such an old version of intel-microcode.
[15:11] <tMH> hello everyone
[15:11] <k_sze> Aren't microcode fixes kind of a big deal that should be available to LTS releases?
[15:11] <tMH> I see sometimes that folders and files with spaces in their names has '' around their names, like this: drwxrwxr-x   2 tmh  tmh     4096 2017-06-27 16:03 'test folder'/
[15:12] <tMH> someone tell me, how can I get rid of those '' ?
[15:12] <tMH> thanks in advance!
[15:12] <tMH> ls is from coreutils 8.27
[15:13] <akik> tMH: maybe it's an alias? try \ls -al
[15:13] <Dave114> anything in Chrome (Google's packaged version) that isn't in Chromium these days?
[15:13] <genii> k_sze: Sometimes it's not possible to backport microcode updates because they rely on specific features of a later kernel
[15:14] <k_sze> genii: oh...
[15:14] <tMH> ~>unalias ls; ls
[15:14] <tMH> 'test folder'
[15:14] <tMH> akik - didn't help much:/
[15:15] <tMH> ls -la gives the same 'test folder'
[15:15] <akik> tMH: with that \ too ?
[15:15] <tMH> akik - I use tcsh:) ok, lemme try
[15:15] <tMH> akik - yes, the same ''
[15:15] <tMH> lemme run bash and try again
[15:15] <tMH> akik - same with bash - \ls -la
[15:15] <tMH> 'test folder'
[15:16] <tMH> ok, I'll ask ppl on #debian, which's closer to my system..
[15:16] <akik> tMH: sorry out of ideas
[15:16] <scottjl> Dave114: flash support i believe.
[15:17] <tMH> or, I should try #gnu instead.
[15:17] <tMH> it's their "ls" at all:))
[15:17] <tMH> akik - thanks anyway!:)
[15:17] <tMH> l8rz all, be well
[15:21] <Dave114> scottjl, there is a flash plugin mentioned as probably installed by default if selecting 3rd party package for 17.04 (https://help.ubuntu.com/stable/ubuntu-help/net-install-flash.html)
[15:22] <Dave114> scottjl, for chromium that is
[15:22] <scottjl> yes. but chrome has it built in, chromium doesn't. that's a difference.
[15:24] <hateball> PNaCL is only in Chrome as well
[15:24] <hateball> used in e.g the new google earth
[15:25] <ash_workz> bluetooth randomly wont enable :(
[15:26] <ash_workz> I wish there were tooltips or something when something is disabled to give you an idea of *why* said thing is disabled
[15:30] <EvilRoey> I get this error in the "debuild" step: https://pastebin.com/8SQTSFq7
[15:30] <EvilRoey> trying to build a package
[16:00] <rfmon> Getting kernel panic on my newly built PC, when trying to boot from my Ubuntu Server USB. Any Ideas?
[16:01] <ikonia> depends how/why it panics
[16:01] <ikonia> you normally get a clue from the last few lines, but often you'll need the full dump
[16:01] <alkisg> And it depends on how you made the stick; it might be bad software writing the grub/syslinux configuration there
[16:01] <rfmon> Hmm. It starts with "Firmware Bug" related to AMD-Vi IOAPIC[17] and IVRS table.
[16:01] <ikonia> I didn't notice it was booting from a stick
[16:02] <rfmon> I tried using dd and unetbootin. :)
[16:03] <Lerz> hi
[16:07] <nacc> EvilRoey: why are you building a package that is in Ubuntu?
[16:09] <EvilRoey> nacc: because the zssh package has had this showstopper problem for the past year that prevents it from working
[16:09] <EvilRoey> nacc: and apparently this is fixed by doing a source code recompilation of the package
[16:09] <EvilRoey> it's a library mismatch in the binary distribution
[16:09] <nacc> EvilRoey: just a source code recompilation? no patching?
[16:09] <ikonia> that seems unlikley
[16:09] <EvilRoey> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769366
[16:09] <EvilRoey> no patching.
[16:09] <EvilRoey> at all.
[16:09] <EvilRoey> it just works
[16:10] <EvilRoey> this is frustrating that no one fixes it.
[16:10] <nacc> EvilRoey: that's a debian bug
[16:10] <nacc> EvilRoey: where is the ubuntu bug?
[16:10] <nacc> EvilRoey: it's been rebuilt in Y, Z and A
[16:11] <EvilRoey> nacc: hmm, I mean considering how I'm on 17.04 and it wasn't fixed
[16:11] <EvilRoey> https://stackoverflow.com/questions/25138596/zssh-cant-start-and-shows-out-of-ptys-when-start
[16:11] <EvilRoey> that's another thread about this
[16:11] <nacc> EvilRoey: where is the ubuntu bug?
[16:11] <nacc> EvilRoey: SO is not an ubuntu bug.
[16:11] <EvilRoey> YET I had it on all the machiens where I had deployed 17.04.
[16:11] <EvilRoey> three so far
[16:12] <nacc> EvilRoey: no bugs in ubuntu for zssh
[16:12] <EvilRoey> haha ok
[16:12] <EvilRoey> keep believing that.
[16:12] <nacc> EvilRoey: https://bugs.launchpad.net/ubuntu/+source/zssh
[16:13] <nacc> EvilRoey: it's not a matter of belief. it's a matter of fact.
[16:13] <nacc> EvilRoey: I don't use debuild (I use sbuild or dpkg-buildpackage in a lxd), but it appears debuild is giving you permission issues.
[16:14] <leftyfb> EvilRoey: The miscommunication seems to be, there has been no bug files against the package in Ubuntu. Only in Debian. nacc isn't saying the "bug" in the software doesn't exist. nacc is telling you, nobody has filed a bug in ubuntu so it will be less likely to be fixed anytime soon.
[16:14] <nacc> leftyfb: thanks for rephrasing, that is accurate. When I say "where is the ubuntu bug?" I mean where is the bug filed against zssh in Ubuntu.
[16:15] <EvilRoey> nacc: it's fine, I built with sudo and it compiled fine
[16:15] <ikonia> you don't build with sudo
[16:15] <nacc> EvilRoey: uh, you don't need to build a binary package with sudo
[16:15] <leftyfb> EvilRoey: The takeaway being, if you are interested in getting it fixed in ubuntu, you could help out and file a bug.
[16:15] <EvilRoey> leftyfb: ok, thank you for the clarification
[16:15] <EvilRoey> leftyfb: sure
[16:15] <nacc> EvilRoey: and doing so, means something is wrong
[16:15] <EvilRoey> thanks
[16:15] <ikonia> if you need sudo to build - you have a problem and will probably introduce a security problem
[16:17] <EvilRoey> ikonia: didn't know that, thanks
[16:52] <Scoop7> Ok I can't believe, but does w3m or does it not supports utf-8 characters???
[16:54] <alkisg> Sure it does
[16:55] <tfitts> I'm wondering if anyone can recommend an easy to setup through the command line ftp daemon  that will let me setup email addresses as the login
[16:55] <tfitts> is vsftpd pretty much the standard?
[16:56] <nacc> tfitts: why do you want ftp?
[16:57] <tfitts> we have a vendor sending daily inventory feeds and need to provide an ftp for them to upload to.  They don't do scp or sftp unfortunately
[16:57] <tfitts> I don't really want it per se
[16:57] <rgb-one> Any of you know of a solution for creating a formatted document (document with custom styles) with fillable forms? I am using LibreOffice forms but it one issue I am having is whenever I try to add a form to a page header LibreOffice crashes and no form is added.
[17:00] <Johnson1977> Thank you to guy that helped me earlier
[17:00] <Johnson1977> Works much bettern ow
[17:02] <tyzoid> Hey, so I have a vps running Ubuntu, and it seems to crash a few seconds after it boots
[17:03] <tyzoid> This is following a update/upgrade via apt-get
[17:03] <tyzoid> Any ideas for how to diagnose it?
[17:03]  * linux_user says Hello all…I am having an issue with GNOME that I am sure some mega expert here will be able to resolve! I am running Ubuntu GNOME (16.04), and get a particular looking interface when I login. Yet, when I run VNC (I have an xstartup I can post via pastebin) the GUI menu looks different. I am sure its what the xstartup is firing up but some help would be most greatly appreciated! Does someone have an xstartup that 
[17:03]  * linux_user fires up the normal GNOME environment seen when you login to the GUI via the console?
[17:04] <linux_user> https://pastebin.com/GzEhYbNb
[17:04] <linux_user> I tried getting rid of the “gnome-classic” but it made no difference and I am not an Xpert :)
[17:08] <alkisg> linux_user: login with your script and run env | sort > ~/environment.1. Then login normally with gdm and run env | sort > ~/environment.2. Then compare those environments and put the missing ones in your startup script, e.g. XDG_CURRENT_DESKTOP.
[17:10] <linux_user> ok, lets say I am away from my console right now (only have SSH access), how can I get the relavent environment.1 info via an SSH session?
[17:11] <tyzoid> It looks like I can connect via ssh very briefly before the server goes down again
[17:12] <tyzoid> so I can pull a log from it - just not sure which one might reveal info
[17:13] <thewillo> linux_user, you know you can do x forwarding with ssh right?
[17:13] <red-001> test
[17:13] <thewillo> It will run on the server and render on your screen
[17:13] <tyzoid> red-001: Message received
[17:13] <thewillo> ssh -XYC user@server.com
[17:14] <linux_user> yes, but that gives me my whole GNOME desktop?
[17:14] <tyzoid> You'll need an X session running
[17:14] <tyzoid> ah, nvm, you already have that
[17:14] <linux_user> I am logged in at home on the workstation and trying gain remote access to my desktop
[17:14] <linux_user> that will do that?
[17:14] <linux_user> let me see my entire current desktop or open a new one?
[17:14] <thewillo> linux_user, no, it just executes commmands that you run, and if they have a GUI component it shows up on your screen instead of the server
[17:14] <linux_user> oh
[17:14] <thewillo> If you want the whole desktop use vnc over ssh tunneling
[17:14] <red-001> I wanted to see what this /amsg is
[17:15] <thewillo> you don't need to ssh tunnel it, but it's not encrypted so it's better if you do
[17:15] <tyzoid> linux_user: You should check your /etc/lightdm/lightdm.conf file, you probably have a different greeter for the remote seat
[17:15] <linux_user> well, the issue is my desktop is not the same as I get when I login directly from the console
[17:15] <tyzoid> or different session
[17:15] <linux_user> there is no greeter
[17:15] <thewillo> Oh, I can't help you with that specific question
[17:15] <linux_user> did you check out my pastebin?
[17:15] <linux_user> https://pastebin.com/GzEhYbNb
[17:15] <thewillo> hope what I said helps a little
[17:16] <tyzoid> ah, I didn't see that
[17:16] <linux_user> this is what is being fired off when I start a remote session via VNC (which does work)
[17:16] <linux_user> I figured not, that’s why I reposted it for you to take a look at! :) Thank you too!
[17:16] <thewillo> you should connect the vnc server to your main displa
[17:17] <thewillo> how are you creating the vnc server session?
[17:17] <linux_user> I connect via my Mac using vnc://ip
[17:17] <thewillo> no the computer hosting the desktop you want access to
[17:17] <thewillo> how are you making vnc connect to the x session?
[17:18] <thewillo> and running vnc on that computer
[17:18] <linux_user> not sure how to answer that
[17:18] <linux_user> I used an ansible script to install vncserver
[17:18] <linux_user> and its runx Xvnc4
[17:18] <linux_user> runx=runs
[17:18] <linux_user> not sure how to answer your question really, as I don’t know what you are trying to find out from me
[17:18] <thewillo> I use x11vnc, and the command to plug into display 0 is x11vnc -display :0
[17:18] <thewillo> display zero is usually your main display
[17:19] <linux_user> ok
[17:19] <thewillo> the program you're using may be creating it's on x session for you to connect to
[17:19] <thewillo> *own
[17:19] <thewillo> but x11vnc shuts down when you disconnect, so you'll have to make a script to keep restarting it if you want it running all the time
[17:20] <thewillo> and then create a service for the script to run at the end of the boot sequence
[17:20] <thewillo> I forget how to create a service with systemd
[17:21] <thewillo> it's not that hard but there's no way you can remember how to do it without a reference guide because you have to make config files manually unless there's a tool I don't know about
[17:21] <linux_user> oh
[17:21] <ioria> thewillo, https://help.ubuntu.com/community/VNC/Servers#Have_x11vnc_start_automatically_via_systemd_in_any_environment_.28Vivid.2B-.29
[17:21] <thewillo> ioria, cool thanks for the googling:D
[17:21] <thewillo> I'm not sure why I didn't google and give him a link
[17:21] <thewillo> lol
[17:21] <tyzoid> On my desktop, I have lightdm start up x11vnc
[17:22] <ioria> thewillo, np
[17:22] <tyzoid> but that's because I use the multiseat features of lightdm
[17:22] <thewillo> yeah with linux there's almost always multiple ways to do something
[17:22] <tyzoid> Anyway, anyone have any ideas for the rebooting issue?
[17:22] <thewillo> what's the issue tyzoid?
[17:23] <tyzoid> I've got a vps running 14.04, and when I boot it, it turns off within a few seconds
[17:23] <tyzoid> Having trouble diagnosing why
[17:23] <tyzoid> and I can't seem to find a relavant logfile
[17:23] <thewillo> tyzoid, do you have a managment console to help you fix it?
[17:23] <tyzoid> Kind of...
[17:23] <tyzoid> I can boot it
[17:23] <tyzoid> and I have about 8 seconds of ssh
[17:23] <tyzoid> so I can pull a logfile
[17:23] <tyzoid> but that's about it
[17:23] <thewillo> that's not a management console
[17:24] <tyzoid> the management console only helps when the server is online
[17:24] <tyzoid> otherwise, it's just boot/reboot
[17:24] <tyzoid> but I'm not sure what logfile to pull
[17:24] <thewillo> sing up to digital ocean, use the promo code DROPLET10 to get $10 free, and spin up a $5 or $10 vps, and then look at the management interface and see all the tools you'd have to fix this
[17:25] <tyzoid> That doesn't really help get this one online
[17:25] <thewillo> if you actually do it, let me know before and I'll get you a referral link that benefits me
[17:25] <linux_user> this was the methodology I used to install it:
[17:25] <linux_user> https://rbgeek.wordpress.com/2015/03/18/installing-the-vnc-server-on-ubuntu-using-ansible/
[17:25] <tyzoid> The issue started when I did an update and rebooted
[17:25] <thewillo> tyzoid, yeah but many VPS offer stuff like that, so I'm trying to help the future you not the right now you
[17:25] <tyzoid> fair enough
[17:26] <thewillo> digital ocean is the only lower cost VPS provider that offers something like that which doesn't cost $30 a month to have because it's a commercial software with licensing fees
[17:26] <thewillo> and you get your first $10 free with no commitment
[17:27] <thewillo> also, they charge by the hour so if you need someone short term you don't have to pay for a month. You can make a vps, use it to do something, then delete it
[17:28] <thewillo> I was doing that for a while, but google cloud is cheaper
[17:28] <tyzoid> thewillo: Any idea for what logfile I could try to pull
[17:28] <thewillo> tyzoid, no because I don't know where ubuntu keeps logs
[17:28] <Speed_> how can i get lib3ds-1.so.3 ?
[17:29] <Speed_> im missing the library
[17:29] <thewillo> I'm not a normal ubuntu user, I use arch mainly, but I use ubuntu for my development platform because it's the intended distro for all the tools I use
[17:29] <tyzoid> thewillo: Same, which is why I'm having trouble with this :/
[17:30] <Speed_> or at least i think im missing it
[17:30] <Speed_> there was an arroro loading it
[17:30] <Speed_> error*
[17:31] <thewillo> Speed_ have you tried compiling the library yourself?
[17:31] <Speed_> no, i dont know where to get it from
[17:32] <Speed_> or how to compile it
[17:32] <ducasse> Speed_: it should be in lib3ds-1-3
[17:32] <TenukiBen> I am trying to open keepassx but seeing this error in my logs: `keepassx.desktop[9591]: ICE default IO error handler doing an exit(), pid = 9591, errno = 0`
[17:32] <TenukiBen> googling around, the recommendation is to delete my .ICEauthority file.  What does that do?
[17:32] <Speed_> it says no sutch file or directory
[17:33] <ash_workz> I dunno where to ask this really but I have psql using less and it formats if I scroll left but it doesn't initially... is there a way to have less format the screen initially so that rows dont wrap to the next line?
[17:33] <ducasse> Speed_: make sure the package is properly installed
[17:33] <thewillo> Speed_, what version of ubuntu are you on?
[17:33] <Speed_> 16.04
[17:33] <Speed_> im trying to run binvox
[17:36] <thewillo> https://launchpad.net/ubuntu/+source/lib3ds/1.3.0-8
[17:37] <thewillo> click lib3ds-1-3 under the binary packages built by this source section, and then download the .deb for your system architecture and install with "dpkg -f filename.deb"
[17:37] <thewillo> that should give you what you need
[17:37] <ducasse> why not just use apt?
[17:37] <thewillo> ducasse, I assumed he tried that already
[17:38] <ducasse> Speed_: did you try (re)installing the package with apt?
[17:38] <thewillo> also, do fix any missing dependencies after you manually install it, you should run "sudo apt-get install -f" to check for and get them
[17:39] <Speed_> i didnt install it with apt, its just a linux executable
[17:39] <ducasse> Speed_: i'm talking about lib3ds-1-3
[17:39] <thewillo> binary linux packages should be staticly linked or their docs should have a list of dependencies
[17:39] <Speed_> no
[17:39] <Speed_> ill try that
[17:42] <Speed_> ok, it still says no file or directory
[17:43] <ducasse> Speed_: what does?
[17:45] <Speed_> binvox
[17:46] <Speed_> https://paste.ee/p/x5I90
[17:46] <ducasse> Speed_: tthat's another library now.
[17:46] <nacc> Speed_: that's a different lib.
[17:46] <Speed_> oh
[17:47] <nacc> Speed_: from freeglut3 i believe
[17:47] <Speed_> should i install that?
[17:47] <nacc> Speed_: if you want that library, I think so
[17:48] <Speed_> Thnak you it worked!
[17:50] <tyzoid> ducasse: Would you have any idea about the server stopping after boot?
[17:52] <ducasse> tyzoid: check the logs for messages
[17:54] <tyzoid> ducasse: Which logs?
[17:54] <tyzoid> last -x doesn't report a shutdown event
[17:54] <tyzoid> and I'm not sure what other logs might have relevant data
[17:54] <ducasse> tyzoid: start with syslog and kern.log, i guess
[17:55] <donalsd> I have 3 Linux OSes in my system right now, in 3 partitions. And each of them have one swap-4GB. So 3 swaps, do I really need those 3 swaps?
[17:56] <donalsd> Or is it fine with 1?
[17:57] <bilb_ono> a .pem file is different than id_rsa and id_rsa.pub right? which is different from a .key file?
[17:57] <compdoc> if the swap partition was seperate, you might be able to share it, but dont know that thatcauses issues
[17:58] <blkadder> bilb_ono Yes
[17:58] <donalsd> compdoc: three different swap partitions
[17:58] <bilb_ono> blkadder: how do I generate .pem files? and .key files? not ssh-keygen then right?
[17:59] <donalsd> How do I show a paste from my terminal?
[17:59] <blkadder> bilb_ono, Probably openssl
[18:00] <akik> donalsd: just define the same uuid for the swap partition in each of your linux instances
[18:00] <donalsd> akik: Does having 3 swaps help in anyway?
[18:00] <blkadder> bilb_ono, It might be helpful if you describe what you are trying to accomplish and for what.
[18:00] <akik> donalsd: no
[18:01] <donalsd> akik: So I am just removing those swaps, an 8 GB swap is enough I guess?
[18:01] <bilb_ono> blkadder: I can ssh into my computer at home from my current computer on a different network
[18:01] <akik> donalsd: probably don't need that much swap
[18:01] <bilb_ono> I want to be able to run a jupyter notebook at home and access it on my browser here
[18:01] <tyzoid> hmm
[18:01] <tyzoid> I finally got it to start
[18:01] <tyzoid> somehow
[18:02] <blkadder> bilb_ono, That is just done via ssh/ssh-keygen/etc.
[18:02] <blkadder> If you want passwordless login
[18:02] <donalsd> akik: I got an 8 GB RAM, read somewhere that it's wise to use a Swap=RAM
[18:02] <tyzoid> thanks for the help ducasse: The logs revealed a large backlog of postfix mail trying to be sent on boot
[18:02] <tyzoid> I cleared that queue, and it seems to work now
[18:02] <bilb_ono> blkadder: are you sure? here  http://jupyter-notebook.readthedocs.io/en/latest/public_server.html it refers to .pem files
[18:02] <bilb_ono> maybe those are for extra security
[18:03] <akik> donalsd: you don't want your system to start swapping that much
[18:03] <blkadder> https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2
[18:03] <bilb_ono> blkadder: I think the issue is on the jupyter notebook. I can already log in via ssh
[18:03] <donalsd> akik: Alright, I will be turning those swaps to good use. An SSD swap is a better idea I guess?
[18:04] <blkadder> bilb_ono, Those instructions are related to securing web traffic.
[18:04] <blkadder> Which would involve certificates, pem files, etc.
[18:04] <blkadder> You don't need that for just ssh.
[18:07] <donalsd> I have an 120 GB SSD and I am only using 50 GB of it as a root partition, how do I merge the rest of it in it?
[18:08] <alkisg> Boot from a live cd and resize with gparted
[18:09] <donalsd> alkisg: I don't lose my data though, I guess?  xD
[18:09] <alkisg> Yes, resize doesn't erase your data
[18:10] <donalsd> alkisg: and does merging the swap with another partition on an HDD on the same computer with GParted cause any trouble?
[18:10] <DJones> donalsd: You need to use a livecd to modify existing partitions, but make sure you have a backup of anything crucial, changing partitions isn't without risk
[18:11] <donalsd> DJones: Removing the swaps have data loss risks?
[18:11] <blkadder> If you screw it up.
[18:12] <scottjl> donalsd: on a live system? yes. on a shut down system? no. but could cause difficulties if you're out of ram
[18:12] <ducasse> donalsd: if you want to merge partitions on two different drives you need something like lvm or zfs
[18:12] <alkisg> donalsd: if you resize the swap, its uuid will be preserved => no trouble. If you reformat as swap, you get a new uuid => then you need to update /etc/fstab
[18:12] <alkisg> ducasse: I believe he was talking about swap+the other partition on the same drive...
[18:13] <ducasse> alkisg: he first said ssd then hdd, so i wondered...
[18:14] <donalsd_> ducasse: I went offline, could you type your earlier message? I can't see them
[18:14] <ducasse> donalsd: if you want to merge partitions on two different drives you need something like lvm or zfs
[18:14] <donalsd_> ducasse: I have both HDD and SSDs in my computer.
[18:14] <donalsd_> ducasse: No, I will be mergin the HDD partitions with other HDD partitions
[18:14] <alkisg> donalsd_, yeah the question there was if swap+other partition were both on the HDD
[18:15] <alkisg> Right
[18:15] <donalsd_> I have a swap on the SSD, which I am keeping, I will be merging the swaps on HDDs with other partitions in the HDD.
[18:16] <alkisg> OK, just delete swap and then grow the other partitions
[18:41] <anomalyfox> ls
[18:55] <redvic> hope some here can help, did not find any on google
[18:55] <redvic> firefox and chrome both refuse to open localhost:631 i can not open cups all it says is its not encrypted or secure
[18:56] <rfleming> Greetings!
[18:57] <rfleming> How does one eliminate their DNS cache on 16.04?
[18:57] <rfleming> I've made some A record changes, but my machine still is pointing to the old address
[18:58] <red-001> nano > vim
[18:58] <SuperSeriousCat> What is nano?
[18:58] <badet0s> si unit ?
[18:58] <nacc> rfleming: does 16.04 use systemd-resolve?
[18:59] <rfleming> yeah
[18:59] <nacc> rfleming: maybe `sudo systemd-resolve --flush-caches` ?
[18:59] <rfleming> i've tried reloading resolved
[18:59] <nacc> red-001: not exactly ontopic for this channel.
[18:59] <SuperSeriousCat> Got dnsmasq installed?
[18:59] <nacc> SuperSeriousCat: a text editor
[18:59]  * rfleming facepalms
[18:59] <rfleming> nacc: ta!
[19:00] <rfleming> some days you're the bug... other days you're the windshield.
[19:00] <nacc> rfleming: yw, did it work? I know some people have reported some issues with it, in the past
[19:00] <nacc> rfleming: with systemd-resolve's caching, that is
[19:00] <rfleming> nacc: compared to windows, it's a breeze...
[19:00] <nacc> rfleming: :)
[19:00] <rfleming> nacc: it's just that I've been messing with A records, so what worked doesn't :)
[19:22] <linux_user> ok
[19:22] <linux_user> I have done a lot of reading on gnome and vnc
[19:23] <linux_user> here is what I wish to accomplish:
[19:23] <linux_user> I’d like to use VNC to connect to my workstation and get access either to the running “:0” display that is already logged into on my workstation, or, be able to login and if someone were sitting at my workstation they’d see it occurring as if I were right there doing it. Any ideas? I am running Ubuntu GNOME 16.04
[19:24] <linux_user> either to=to
[19:24] <Ben64> use the screen sharing remote desktop or whatever it's called that's built in
[19:25] <alkisg> I don't think any of the known tools gives access to the display manager screen, i.e. gdm, except for epoptes
[19:26] <alkisg> I'm using ssh + reverse vnc + epoptes' "export-display" to accomplish just that
[19:27] <linux_user> Ben64: can you be a bit more specific as to what you mean?
[19:28] <Ben64> it's in the preferences or system admin section of the menu, it uses vino, super easy to hit the buttons and have it run
[19:28] <linux_user> well, its not super easy for me as I have no clue what you are talking about
[19:28] <Ben64> try looking for it
[19:29] <linux_user> I am not at my system right now, does it require me to be there to set it up? If so, then I understand but can’t do it now.
[19:29] <linux_user> or is there a command line variant I can run via SSH to set it up?
[19:29] <Ben64> easiest to do it while you're there
[19:29] <linux_user> I have SSH access
[19:29] <linux_user> oh okay
[19:30] <linux_user> what is it called, maybe I can find a how to on what you are talking about to use when I get home
[19:30] <Ben64> as i said, something along the lines of screen sharing, remote desktop
[19:30] <linux_user> ok, thanks
[19:31] <leftyfb> Ben64: "remote desktop" just uses uses vnc
[19:31] <Ben64> yep, that's the goal
[19:31] <leftyfb> linux_user: x11vnc will do what you're looking for
[19:32] <Ben64> to easily share :0 ?
[19:32] <leftyfb> yes
[19:32] <leftyfb> I use it all the time
[19:32] <leftyfb> x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth /var/run/lightdm/root/:0 -usepw
[19:33] <linux_user> leftyfb: can you provide any guidence as to where I can find a proper how to on setting it up? I have been google searching all day with all kinds of stuff and people do this but not that and none of it seems clear to me
[19:33] <leftyfb> linux_user: install it like any other package and run that line
[19:33] <linux_user> via SSH or when I am in front of the machine?
[19:33] <leftyfb> linux_user: if you want it on startup, you could make a a .desktop file and put it in ~/.config/autostart or create an upstart or systemd file
[19:34] <leftyfb> linux_user: either one will work
[19:34] <leftyfb> linux_user: https://askubuntu.com/questions/229989/how-to-setup-x11vnc-to-access-with-graphical-login-screen
[19:35] <linux_user> once sec - trying it
[19:35] <linux_user> I already had x11vnc installed
[19:35] <linux_user> I ran that line, let me try to connect to it
[19:36] <linux_user> and the survey say: 100% of the people surveyed said leftfb is the King and gets not one by two lollipops today! :)
[19:37] <linux_user> clearly it seems to have worked! :)
[19:37] <akik> !cookie | leftyfb
[19:38] <linux_user> Hey, I know the Cookie Monster personally and he said he gets at least 3 double chocolate cookies and to put some chocolate fudge on them, just to make a point.
[19:39] <linux_user> what is a .desktop file?
[19:40] <nacc> linux_user: i believe that is what describes a desktop icon
[19:40] <linux_user> ah okay
[19:40] <linux_user> I see
[19:40] <linux_user> but then that doesn’t start it up if I am not logged on yet, right?
[19:40] <akik> linux_user: and the icons in the menus
[19:40] <linux_user> if I somehow make it a service its available before I login, yes?
[19:41] <nacc> linux_user: aiui, a .desktop file is not about starting it at login time or not
[19:43] <linux_user> leftyfb: so, lets say I want something like, I boot up my system, do NOT login, but just leave…then I want to remote in and get the “:0” at the point where its prompting to login, is that possible using this methodology?
[19:43] <nacc> linux_user: but yes, a systemd service unit can be made to run at startup (rather than at login)
[19:43] <nacc> linux_user: it sounds like you want a vnc server?
[19:43] <linux_user> thats what I want I think!
[19:43] <linux_user> isn’t that what this is?
[19:43] <linux_user> I am confused
[19:44] <pedahzur> I have a six-disk RAID6 array in my backup server (backup data only, no /var, /home, etc). Since it only runs at night, I have the disks in the RAID array set to power down after inactivity.  I've noticed that when I log in to the machine (via SSH), I notice there is quite a lag, then when I look at drive power status, I see one drive is spun up.  Why is that? How can I go about tracking down what is spinning it up? This is Ubuntu 14.04
[19:44] <linux_user> so, a vnc server will let me login to “:0” remotely and also if I walk in front of the machine it will be the same as when I was remote
[19:44] <akik> linux_user: the url that leftyfb has options to start the vnc server so that you don't need to login first at the server
[19:45] <linux_user> right but it uses upstart which I think is different from systemd which is used by Ubuntu GNOME, no?
[19:45] <akik> linux_user: check out comment https://askubuntu.com/a/676978
[19:46] <leftyfb> linux_user: Ubuntu gnome has nothing to do with upstart vs systemd. Ubuntu 16.04 and I think 17.04 still support upstart scripts. But you'd be better off looking into creating a systemd script for startup
[19:46] <leftyfb> nacc: x11vnc is a vnc server btw
[19:46] <nacc> linux_user: sorry, i hadn't read the whole scrollback
[19:46] <linux_user> leftyfb: ok
[19:46] <nacc> linux_user: yes, if you want to use the same session for both vnc clients and local (meaning they see the same desktop), you'll want to use x11vnc or so
[19:47] <linux_user> ok
[19:47] <linux_user> hang on a second
[19:48] <minimec> linux_user: There is quiet an easy way to achieve that. shh in to that server and do 'sudo systemctl enable rc-local.service'. Then do 'sudo nano /etc/rc.local' and paste the line leftyfb posted before the 'exit 0' statement. <ctrl>x to save. Then do a reboot. the x11vnc line should then be executed on every boot.
[20:05] <linux_user> leftyfb: I am curious about the difference between the two commands:
[20:05] <linux_user> 1) x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth guess -rfbauth /etc/x11vnc.pass
[20:05] <linux_user> and
[20:05] <linux_user> 2) the one you gave me (the auth stuff is different)
[20:05] <linux_user> 2) x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth /var/run/lightdm/root/:0 -usepw
[20:06] <akik> linux_user: did you run the 2) command? it writes the password into your home dir
[20:06] <linux_user> well first leftyfb told me to use that (and I did), then he gave the link to the website which has a different x11vnc command in its x11vnc.service file
[20:07] <linux_user> so, should I put the original one in the x11 service file or whats the difference between them?
[20:11] <linux_user> ?
[20:11] <jeffreylevesque_> anyone here have experience enabling selinux on ubuntu?
[20:12] <akik> i'm not sure of the 2) command if you don't run it with sudo, you can't access /var/run/lightdm/root
[20:12] <akik> but if you add it to rc.local, it gets run as root
[20:13] <linux_user> something is broken now
[20:15] <linux_user> ok, got it started again now
[20:19] <linux_user> ok, quick question:
[20:19] <linux_user> is there a way for me to change the resolution for the x11vnc version vice what is on the screen
[20:20] <linux_user> so the screen looks the same as it does now but the x11vnc uses a lower resolution?
[20:28] <linux_user> leftyfb: you still there?
[20:31] <hehehe> hi
[20:32] <hehehe> does ubuntu allways cointaints latest FF?
[20:32] <hehehe> if not, its a security risk?
[20:33] <akik> linux_user: there's an option -geometry for x11vnc but in my test it just tells the client what size window it'll open. i get the smaller resolution defined on the server
[20:33] <akik> i.e. -geometry 1800x1000 open me that size window but the resolution is 1440x900 in it :(
[20:35] <nemo> hehehe: yeah
[20:36] <hehehe> nemo how I can update all packages installed from distro?
[20:36] <nemo> hehehe: pretty sure ubuntu doesn't even bother w/ Firefox ESR
[20:36] <hehehe> to their newest version
[20:36] <nemo> hehehe: sudo apt-get update / sudo apt-get upgrade
[20:36] <hehehe> ESR?
[20:36] <nemo> hehehe: https://www.mozilla.org/en-US/firefox/organizations/
[20:36] <hehehe> what is ESR?
[20:37] <nemo> hehehe: it's intended for corporations, but I guess it could make maintenance for old ubuntu versions easier - ubuntu doesn't use it AFAIK tho
[20:37] <nemo> hehehe: I just linked you
[20:37] <nacc> nemo: firefox updates to older distributions come from the security pocket (and gets copied to updates). So the same veersion is available on all releases
[20:37] <nacc> e.g., right now, they are all at 54.0
[20:37] <nemo> nacc: yeah. that was my understanding
[20:37] <hehehe> ty
[20:37] <nemo> nacc: you'd think using ESR would make things a little easier but *shrug*
[20:38] <nacc> nemo: yeah, i'm not sure on the technical details, tbh
[20:38] <hehehe> nacc mine is 43
[20:38] <hehehe> 53
[20:38] <nacc> hehehe: which version of ubuntu?
[20:38] <linux_user> Yes, well the issue is my computer at home is 27 inches and runs at a high resolution
[20:38] <hehehe> 14.04
[20:38] <linux_user> my MacBook Pro is 15” and runs at a max of 1440x900 (so 1440x780 would work for me)
[20:38] <nacc> !info firefox trusty
[20:39] <nacc> hehehe: --^ do you have -security or -updates enabled?
[20:39] <linux_user> I’d like the resolution for the remote vnc to be different from that of the desktop
[20:39] <linux_user> maybe I need a :1 instead?
[20:39] <hehehe> I dont know, how can I check?
[20:39] <nacc> hehehe: using desktop or server?
[20:39] <hehehe> desktoip
[20:39] <hehehe> desktop
[20:39] <nemo> hehehe: yeah. 14.04 is still maintained. I'm on it myself. so you must have updates disabled or something
[20:39] <hehehe> lubuntu
[20:40] <nacc> hehehe: i'm not sure on lubuntu, but on others, you can see it in the gui under 'software & updates' ->  'Updates' section
[20:40] <nemo> hehehe: Ubuntu Software Centre → Software Sources → Updates
[20:40] <nemo> jinx
[20:40] <nemo> nacc: I was doublechecking in my ubuntu 14.04 ☺
[20:41] <nemo> hehehe: you can do it from Synaptic too if you prefer
[20:41] <nacc> nemo: ah cool, thanks for confirming; i'm not sure if lubuntu exposes the same ui options?
[20:42] <hehehe> in facts its 16.04 and updated are on
[20:42] <hehehe> I just checked
[20:42] <nacc> hehehe: ...
[20:42] <hehehe> nemo yes how
[20:42] <nacc> !info firefox xenial
[20:43] <nacc> hehehe: have you updated all packages? where do you see that you are on 53.0?
[20:43] <hehehe> in FF menu
[20:43] <hehehe> about FF
[20:43] <hehehe> nacc updated how???
[20:43] <hehehe> :D
[20:43] <hehehe> thats the question how to update then via cmd
[20:43] <hehehe> they suppose to auto update
[20:44] <arooni> is there anything like habit tracking from the command line?  something 42goals.com liek?
[20:44] <arooni> like
[20:45] <nacc> hehehe: you mean enabled unattended-upgrades?
[20:46] <hehehe> yes
[20:46] <hehehe> apt-get upgrade -y ?
[20:47] <hehehe> update upgrade via croin
[20:47] <hehehe> cron
[20:47] <Scoop7> is there a way to w3m -dump www.website.com    <---- without the header and footer contents ??
[20:47] <hehehe> idea is ot upgrade packages not ubuntu version
[20:47] <hehehe> to
[20:52] <linux_user> leftyfb: still there?
[20:53] <nacc> hehehe: unattended-upgrades doesn't do release upgrades
[21:00] <hehehe> kl
[21:01] <hehehe> 54 now
[21:01] <hehehe> after apt-get upgrade -y
[21:01] <akik> linux_user: you can actually use xrandr to change the resolution once inside the x11vnc session
[21:02] <linux_user> oh
[21:02] <linux_user> how so?
[21:02] <akik> linux_user: xrandr --output LVDS-0 --scale 1.333x1.200
[21:02] <akik> linux_user: use just "xrandr" to get the display name (LVDS-0)
[21:03] <akik> linux_user: and you need to find out the scaling factor according to your setups
[21:03] <akik> i seem to have a problem with the vnc client. sometimes i lose the keyboard input
[21:03] <linux_user> how will it impact the main display though?
[21:03] <linux_user> will it change that resolution or just the remote session?
[21:05] <akik> linux_user: pretty sure it only affects the vnc
[21:05] <linux_user> and I use this command to do it: xrandr --output LVDS-0 --scale 1.333x1.200
[21:05] <akik> i got a 1920x1080 vnc window with that xrandr trick
[21:05] <akik> linux_user: you need to use xrandr to see what LVDS-0 is in your system
[21:06] <linux_user> not sure I understand
[21:06] <akik> linux_user: when you have your vnc session open, run xrandr
[21:08] <akik> linux_user: my native resolution on the server is 1440x900. so when i use --scale 1.333x1.200, i'll get a 1920x1080 resolution
[21:08] <linux_user> my native 2560x1440
[21:09] <linux_user> my mac (that I am remoting from) is 1440x900
[21:09] <hehehe> folks is there an easy way to log all connections to  extrernal IPS?
[21:09] <hehehe> this way if there is a keylogger or something it can be easily detected
[21:09] <hehehe> if list is checked against say FF history
[21:09] <hehehe> or manually
[21:10] <hehehe> as all kind of spyware needs to call hme
[21:10] <hehehe> home
[21:10] <blkadder> hehehe, The best place to do that is at your router or firewall.
[21:11] <hehehe> yep
[21:11] <blkadder> Because if your machine is infected connections may be masked.
[21:11] <hehehe> masked not masked they need to connect to an IP
[21:12] <hehehe> maybe setup firewall to ask each time extrernal IP is requested?
[21:12] <blkadder> What I mean is that connections may be masked on the machine so if you are on the machine itself you might not see them.
[21:12] <linux_user> xrandr --output HDMI-1-2 --scale 0.55x0.85
[21:12] <linux_user> X Error of failed request:  BadValue (integer parameter out of range for operation)
[21:12] <linux_user>   Major opcode of failed request:  140 (RANDR)
[21:12] <linux_user>   Minor opcode of failed request:  26 (RRSetCrtcTransform)
[21:12] <linux_user>   Value in failed request:  0x3f
[21:12] <linux_user>   Serial number of failed request:  37
[21:12] <linux_user>   Current serial number in output stream:  38
[21:12] <hehehe> also https://pastebin.com/wChj2mDu
[21:13] <hehehe> what ehat does it mean?
[21:13] <nacc> linux_user: use a pastebin in the future
[21:14] <hehehe> I did not modified it
[21:14] <nacc> hehehe: it gives you the option to view the diff
[21:14] <akik> linux_user: i also added "-geometry 1920x1080" as an option to x11vnc
[21:15] <linux_user> it doesnt work
[21:15] <linux_user> all this work and vnc is too small to read
[21:15] <linux_user> its fine, ssh will work, all this vnc stuff just too complicated to be useful
[21:15] <linux_user> its not usable
[21:16] <hehehe> nishanth thanks so + is new additions
[21:16] <linux_user> my display is 2560x1440 and there is no way to get it to readably display in 1440x900, I get it
[21:16] <linux_user> vnc is nice I guess if the resolutions match but they dont
[21:16] <akik> linux_user: don't give up. there are options that affect the resolution
[21:17] <linux_user> I tried what you said, I’ve spent hours working on it, I am just beaten down
[21:17] <linux_user> its too complicated
[21:17] <akik> linux_user: and xrandr is able to modify the resolution on-the-fly
[21:17] <linux_user> I tried the xrandr and it just complained
[21:17] <nacc> hehehe: yes, - is removals, + is additions
[21:17] <linux_user> it doesn’t work
[21:17] <linux_user> I tried your exact command
[21:17] <linux_user> that failed
[21:17] <linux_user> then I tried one that seemed to make sence for my screen, that filed
[21:17] <linux_user> failed
[21:18] <Scoop7> what www client do prefer browsing the world wide web? lynx, elinks or w3m ?
[21:18] <linux_user> I don’t have time to keep hacking at something, I just want to use it
[21:18] <linux_user> I have work to do
[21:18] <Scoop7> wide world web*
[21:18] <linux_user> by this time I could have just driven to the stupid workstation
[21:19] <linux_user> I don’t know what I did wrong, I know zero about this, just trying whatever anyone tells me and its not working
[21:19] <linux_user> I am not 18, I cannot read such microscopic print
[21:20] <linux_user> is there a way to tell xrandr to use a specific resolution maybe?
[21:21] <hehehe> nacc: ok I kept hitting enter now it says end, how do I get back to that choice dialog?
[21:21] <hehehe> ctrc -c? maybe it will terminate it? esc
[21:21] <hehehe> ecs?
[21:22] <nacc> hehehe: it will open that diff in ,iirc, either EDITOR or LESS
[21:22] <nacc> hehehe: if it's less, then just hit 'q'
[21:22] <hehehe> q did work ty
[21:23] <hehehe> and to select  new version press Y for maintainer version, right?
[21:24] <nacc> hehehe: Y will drop any changes you have locally and take the version as-shipped by the package
[21:25] <hehehe> so the + changes made by upgrading packages are called what?
[21:26] <hehehe> currently installed version is one that is pre update right?
[21:26] <hehehe> language is a bit ambigious :D
[21:26] <nacc> hehehe: ... well you had to be root to make those changes, so it's presumed you know how to administer them?
[21:27] <nacc> hehehe: I can't parse your first question
[21:27] <nacc> hehehe: currently installed version is ... the currently installed version?
[21:28] <hehehe> there is version before I run command to upgrade packages and after
[21:29] <hehehe> this dialog comes after upgrades
[21:29] <nacc> hehehe: it comes *during* upgrades
[21:29] <nacc> hehehe: not after
[21:29] <hehehe> ok during
[21:29] <hehehe> so I want to enable all the + changes
[21:29] <nacc> hehehe: but you don't want any of the - ?
[21:29] <hehehe> I do want
[21:30] <hehehe> I did review whole lot and its fine
[21:30] <nacc> hehehe: so you are ok with dropping all your local changes to that file?
[21:30] <nacc> hehehe: then take the maintainer's version
[21:30] <hehehe> what are local changes?
[21:30] <hehehe> oki cool
[21:30] <nacc> hehehe: i'm sorry, i'm really not sure what's clear
[21:30] <nacc> hehehe: let me start over
[21:31] <hehehe> in my understanding - upgraded packages change list
[21:31] <hehehe> mostly which app manage which  file ext
[21:31] <ikonia> change list ?
[21:32] <nacc> hehehe: a package X with version A provided file at path P with contents F. You modified at some point P to have contents F'. Now you are upgrading X to be version B. It still owns the file at P, but it's contents (F'') from F'. So it is asking what you want to do to resolve the differences between F' and F''.
[21:32] <nacc> hehehe: i have no idea what you just said, but it doens't sound right.
[21:36] <nacc> hehehe: upgrading packages changes the packages installed. Within a release that is typically fixing bugs.
[21:36] <nacc> hehehe: i don't know why you mentioned file extensions
[21:37] <hehehe> its too much infi dude
[21:37] <ikonia> hehehe: what is your actual problem ?
[21:37] <hehehe> none
[21:37] <hehehe> I was curious thats it
[21:37] <hehehe> what are those  packae list diff
[21:37] <hehehe> package
[21:37] <hehehe> to understand more
[21:37] <ikonia> package list diff ?
[21:37] <ikonia> what is that ?
[21:37] <nacc> hehehe: what package list diff? that's not what you were asking about
[21:37] <nacc> hehehe: you were asking about a config file change
[21:38] <hehehe> eeee
[21:38] <ikonia> eeee ?
[21:38] <hehehe> ok doe snot matter
[21:38] <hehehe> not
[21:38] <hehehe> I can read about it online
[21:39] <hehehe> https://askubuntu.com/questions/154906/which-default-list-should-i-modify-for-default-applications-and-what-are-the-dif
[21:39] <hehehe> its a list that assign def app to each type of ext
[21:39] <hehehe> so simple :D
[21:40] <ikonia> ?
[21:40] <hehehe> communication barried
[21:40] <hehehe> barrier
[21:40] <ikonia> hehehe: what is your native language ?
[21:41] <nacc> ikonia: ah, i see, hehehe was asking specifically about /etc/gnome/defaults.list
[21:41] <nacc> ikonia: not at all obvious to me
[21:41] <ikonia> nacc: what has that got to do with updates ?
[21:41] <nacc> ikonia: they had a local change to that file (and didn't know it) and were being prompted to accept the maintainer version or keep their changes
[21:42] <ikonia> nacc: ahhh, that part I didn't get
[21:42] <nacc> ikonia: yeah, neither did I -- not enough context to realize they had jumped from the prompt's meaning to the file in question
[21:47] <Mo4_xi1_ge1_Ren2> i have a toshiba satellite which doesn't have a CD nor DVD drive
[21:48] <Mo4_xi1_ge1_Ren2> i tried installing from an USB stick and it didn't let me install it
[21:48] <Mo4_xi1_ge1_Ren2> someone directed me to wubi
[21:48] <Mo4_xi1_ge1_Ren2> i tried to download wubi
[21:48] <nacc> Mo4_xi1_ge1_Ren2: i believe wubi is dead
[21:48] <Mo4_xi1_ge1_Ren2> all i have is the toshiba satellite downloading an iso file i already have
[21:48] <Mo4_xi1_ge1_Ren2> :(
[21:49] <nacc> Mo4_xi1_ge1_Ren2: when you booted from USB did you get prompted at all (e.g., by a grub menu, etc.)
[21:49] <nacc> Mo4_xi1_ge1_Ren2: is your laptop configured to boot from USB?
[21:49] <Mo4_xi1_ge1_Ren2> the USB installer booted up, but, the moment i started installation it crashed
[21:49] <Mo4_xi1_ge1_Ren2> many times!
[21:50] <Mo4_xi1_ge1_Ren2> nacc: i set it to boot from USB
[21:50] <Mo4_xi1_ge1_Ren2> the USB installer booted up, but, the moment i started installation it crashed
[21:50] <nacc> Mo4_xi1_ge1_Ren2: oh, that's different than "it didn't let me install it", to me
[21:50] <nacc> Mo4_xi1_ge1_Ren2: it did let you, it failed
[21:50] <nacc> Mo4_xi1_ge1_Ren2: what was the crash, if you know?
[21:50] <hrusti> I have installed ubuntu alongside windows 10 (UEFI). I can't run efibootmgr to select BOOT ORDER IN UEFI.  I type sudo efibootmgr in terminal but I get the message EFI variables are not supported on this system. Anyone have any idea what is going on?
[21:50] <Mo4_xi1_ge1_Ren2> reboot
[21:51] <Mo4_xi1_ge1_Ren2> (i guess)
[21:51] <Mo4_xi1_ge1_Ren2> that was many weeks ago
[21:51] <nacc> hrusti: do you have a /boot/efi directory on your system?
[21:51] <Mo4_xi1_ge1_Ren2> i surrendered
[21:51] <nacc> Mo4_xi1_ge1_Ren2: a reboot is not exactly a crash
[21:51] <nacc> Mo4_xi1_ge1_Ren2: it's hard to help without more information (or a picture or something)(
[21:52] <Mo4_xi1_ge1_Ren2> nacc, it maybe didn't reboot, it maybe just crashed
[21:52] <hrusti> nacc: no
[21:52] <Mo4_xi1_ge1_Ren2> can't remember
[21:52] <nacc> hrusti: then you didn't install ubuntu in UEFI mode (or are not booted into such an installation)
[21:52] <nacc> hrusti: it's in BIOS mode (aiui)
[21:53] <hrusti> nacc: but I chose "install ubuntu alongside windows 10"
[21:54] <Budgie^Smore> hi does anyone have a good example of a preseed late_command that modifies a file in the target filesystem?
[21:54] <nacc> hrusti: in which mode were you booted at that time?
[21:55] <hrusti> nacc: I am not sure what mode do you mean?
[21:55] <nacc> hrusti: most machines you specify wehther you are in UEFI or BIOS mode (in the BIOS itself)
[21:55] <nacc> hrusti: and/or it depends on which image you used to make your USB, I think
[21:56] <Bashing-om> hrusti: Literally running "[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS" will tell you if you're booted via UEFI.
[21:56] <nacc> Budgie^Smore: https://www.debian.org/releases/stable/i386/apbs05.html.en  ... late_command just runs whatever you say to do if you give it in 'in-target', in the target
[21:56] <nacc> Bashing-om: thanks, that was the path i was forgetting!
[21:56] <hrusti> nacc: so you are telling me that I should use UEFI mode Ubuntu image?
[21:56] <nacc> hrusti: first tell us what Bashing-om's command output
[21:56] <hrusti> bad news
[21:56] <Budgie^Smore> nacc that is what I figured but I keep getting an error with "in-target /bin/echo 'localhost ansible_connection=local' > /etc/ansible/hosts"
[21:56] <hrusti> bios
[21:57] <hrusti> what now? Should I reinstall both windows and linux?
[21:57] <nacc> Budgie^Smore: can you pastebin your preseed? what error do you get?
[21:57] <Budgie^Smore> I am also having a problem setting the hostname correctly... I keep getting "unknown<random string>"
[21:59] <Budgie^Smore> nacc I am rerunning it now since it has been a couple of days since I last tried to troubleshoot it
[22:12] <nacc> Budgie^Smore: ack, let me know if you see the problems still (which version of ubuntu are you trying to install as well)?
[22:13] <Budgie^Smore> nacc: 16.04 and I put the preseed file at http://www.teuton.org/~budgie/ubuntu/preseed/base.cfg
[22:13] <Budgie^Smore> nacc about 50% through doing the base install at the moment
[22:19] <phoenixz> Is there a known issue with Ubuntu 16.04 bash history? I saw its using history V2 and it is having a huge amount of issues for me, to the point where it has become useless..
[22:19] <phoenixz> I thought at first that it was limited to one server, and just a fluke, but now that I manage various servers, and some desktops with ubuntu 16.10, mint 18 (based off ubuntu 16 something) and all show the same behaviour, I want to think there are a number of glaring issues with bash history v2..
[22:20] <phoenixz> It also shows in the mysql command line tool as well btw
[22:20] <nacc> phoenixz: you haven't mentioned what exacty the huge issues are?
[22:21] <nacc> phoenixz: so it's very hard to know what you're describing. I don't believe there are widespread problems with bash history in 16.04, at least that I've heard of
[22:22] <phoenixz> nacc: fair enough :) I'll write them down
[22:23] <phoenixz> nacc: I've seen various times that the history file is emptied, or deleted and recreated. In any case, all history gone.. I regularly (as in, 50% of the times I use the command line history) that longer command lines get completely messed up once I call them up. Suddenly the command line is gone, and the command line from the history also is misisng the first 20 or so characters.. Nearly always when it does work when I search with the arrow keys,
[22:23] <phoenixz> I get a few characters (I think C] or something) in front of the command line
[22:23] <phoenixz> nacc: On mysql various commands just refuse to remain in history.. Some INSERT INTO will remain, others won't, and I don't know exactly what causes the difference
[22:24] <phoenixz> But I
[22:24] <nacc> phoenixz: the mysql prompt, you mean?
[22:24] <nacc> phoenixz: or do you eman runnnig `mysql ...` from the bash commandline?
[22:24] <phoenixz> nacc: sorry, yes. The mysql command line interface
[22:24] <nacc> phoenixz: that is, i would think, unrelated to the bash history
[22:24] <phoenixz> nacc: No, mysql; then in there I run queries
[22:25] <phoenixz> nacc: well, since its using the same history file format (also shows _HiStOrY_V2_ at the top) and the bugs are exactly the same, I think it is the same issue
[22:26] <nacc> phoenixz: your .bash_history file has that string at the top?
[22:26] <phoenixz> nacc: I mean, both bash and mysql command lines both have the exact same issue
[22:26] <phoenixz> nacc: correct. The .mysql_history file also has that at the top
[22:26] <nacc> phoenixz: hrm, mine does not
[22:27] <nacc> phoenixz: and i see no mention of such a special (and weird) string in the bash manpage
[22:27] <nacc> phoenixz: where is that documented?
[22:27] <nacc> phoenixz: that's a mysql history special string i think
[22:28] <nacc> phoenixz: i have not heard of any such thing as 'history v2' in bash (unless you can provide a link)
[22:28] <phoenixz> nacc: My bad, correct
[22:28] <nacc> phoenixz: so why is it in your .bash_history? I think that will lead to odd results
[22:28] <phoenixz> I'm mixing up a few things here.. Even so, point still stands that both bash and mysql command line interpreters now show the exact same bugs
[22:29] <nacc> phoenixz: are you using special characters at all
[22:29] <phoenixz> nacc: This didn't (and still doesnt) happen on any of the 14.04 I have left (just a few), but all 16.04 show this issue
[22:29] <nacc> phoenixz: well, i've never seen anything like it, and I've never heard of anything even similar, so I don't think it's a global phenomenon
[22:30] <phoenixz> nacc: Not really, and again, this never happened on 14.04.. I actually have two servers that do identical jobs, and on the mysql command line on the 14.04 all works fine, on the 16.04 the command line history is messed up with the bugs I described
[22:30] <nacc> phoenixz: you are doing htis all remotely on the servers over ssh?
[22:30] <phoenixz> nacc: I mean, executing hte exact same queries (in mysql console) or commands on bash on the two different servers (That are pretty much identical beyond the version) I have 14.04 not giving any issue, and 16.04 messing up constantly
[22:31] <phoenixz> yes
[22:31] <phoenixz> Though
[22:31] <phoenixz> yes and no
[22:31] <phoenixz> My local dev machine is mint 18.2 and it has the same issue
[22:31] <nacc> phoenixz: messing up constantly -- means reproducible and happens every time?
[22:32] <phoenixz> Since AFAIK mint 18.2 is based off 16.04 (or .10, not sure) and the bugs are the same, I can only assume something went wrong on 16.04 and forward
[22:32] <nacc> phoenixz: can you provide some pastebins that show what you mean? a working and non-working case?
[22:32] <phoenixz> Ah, and I found the same on a 17.04 machine I installed 2 days ago as well
[22:33] <phoenixz> nacc: mmm, well, since sometimes the screen is messed up (I think this happens with long commands that ought to flow to the next line)  I'm not sure if a pastebin would do this correctly.. I'll try and if that doesn't work, I guess I can make a screen shot
[22:33] <nacc> phoenixz: your history being 'wrong' should not depend on your terminal at all
[22:33] <glitsj16> phoenixz: have you posted your bash history related settings yet? personally never encountered anything out of the ordinary with it, all on 16.04 machines
[22:35] <phoenixz> nacc: What I mean is that when I browse through command line history with the arrows, when (I think) I get longer commands from the command line history, the screen gets messed up.. The command line prompt dissappears, and the cursor appears in the middle of the command line string, and when I start typing it appears to overwrite characters in the middle of that history string, but when I press enter, I get the error that the command failed
[22:35] <phoenixz> because in reality I was editing from the beginning of the string, so the cursor was misplaced
[22:36] <nacc> phoenixz: that doesn't sound like a history problem at all
[22:36] <nacc> phoenixz: that sounds like a terminal issue
[22:36] <phoenixz> nacc: Well, it is only one of the issues
[22:36] <nacc> phoenixz: it is much easier to solve problems one issue at a time
[22:36] <phoenixz> nacc: and all of these issues only pop up when I use the command line history
[22:37] <phoenixz> nacc: Oh sure, but I'm only saying that these very different issues all only show up when I use command line history, they must somehow be related
[22:37] <nacc> phoenixz: that they all appear together does not mean they are related
[22:37] <dlam> how can i display colors of a text file with ansi color things in it?   (they look like:  ^[[0;37m)
[22:38] <nacc> phoenixz: that feels like a really big jump to make
[22:38] <nacc> phoenixz: in any case, does your history go bad (although again, you haven't actually shown your hsitory to go bad yet, so it's hard to follow) -- if you don't do up/down?
[22:39] <nacc> phoenixz: or do all your issues only happen when you press up/down and your terminal gets into a bad state?
[22:39] <glitsj16> dlam: using echo -e ?
[22:40] <dlam> glitsj16 whoa that does it
[22:40] <glitsj16> dlam: that's not a mystery, echo needs that parameter to be aware of the codes
[22:40] <glitsj16> :)
[22:41] <phoenixz> argh, and another issue I just found now again.. If I type a command and halfway scroll up, check some stuff, and press arrow down, in the 14.04 versions nothing happens. In the 16.04 versions, the entiree command disappears and won't get back anymore..
[22:42] <phoenixz> nacc: Mostly when using up/down.. But again, the history itself doesn't directly go bad, its mostly the screen.. Though I've also seen a couple of times that the history file just randomly is emptied.
[22:43] <nacc> phoenixz: ok, if you are typing a command and scroll up (mouse?). 'arrow down' doesn't do anything here if i'm mid-typing a command.
[22:43] <phoenixz> nacc: I have about 60 servers, and I've been upgrading the majority of them like 8 months ago  or so over the period of a month and more and more I started running into this issue.. First thinkging it was me, a fluke, etc.. but now I have it on most servers. A few were left behind on 14.04 for a variety of reasons, and those show no issues whatsoever
[22:43] <nacc> phoenixz: a couple of times is a bit too vague to really debug
[22:43] <phoenixz> nacc: arrow down
[22:44] <Budgie^Smore> nacc so I keep getting exit code 1 from my late_command before I reboot the system
[22:44] <nacc> Budgie^Smore: you should be able to drop to a shell and debug it
[22:44] <nacc> Budgie^Smore: iirc
[22:44] <nacc> phoenixz: arrow down? you said scroll up
[22:44] <Budgie^Smore> I am rebooting to look at the installer log
[22:45] <phoenixz> nacc: okay, just tested in mysql command line.. I type some text, press arrow down, it disappears. Arrow up, and I get the previous command. What I typed is gone. If, however, I type something, press up, I get the previous command, I press down again, and the text I typed returned. If I press down AGAIN (to get into the state where previously the text disappeared) nothing happens and now it won't disappear
[22:46] <Budgie^Smore> nacc found a bug, trying again
[22:47] <phoenixz> nacc: Yes, I'm sorry if that confused, the "scroll up" was only to indicate that that is what I do to check somehting I did before, and then use the "arrow down" to have the history scroll back directly to the command I was typing
[22:47] <nacc> phoenixz: i don't know how the mysql history works (again it's totally unrelated to bash's history)
[22:47] <nacc> phoenixz: let me spin up a vm and see
[22:47] <glitsj16> phoenixz: have you tried making a terminal screenrecording yet? asciinema is in the repo's and looks made for issues like you're describing
[22:47] <nacc> phoenixz: but what you are describing isn't history, history is for commands that have been
[22:47] <nacc> *have been run
[22:47] <nacc> phoenixz: you want the history of stuff you *haven't* run?
[22:48] <phoenixz> glitsj16: I'll check asciinema
[22:48] <nacc> phoenixz: also, this might all be controlled by your .bashrc
[22:48] <nacc> phoenixz: as in you might have some odd setting there
[22:48] <glitsj16> which nobody has't seen a paste of yet
[22:52] <phoenixz> nacc: So I just did cat .bashrc to see if there was any info in there I cannot pastebin.. So I see a few things, so I try to repeat the cat to add | grep -V those things, and.. the command is not in the history.. I manually copy / paste it, and its there
[22:53] <phoenixz> nacc: just as an indication of the things I'm seeing here, not making this stuff up as I go :)
[22:53] <nacc> phoenixz: how did you try to 'repeat the cat'?
[22:53] <phoenixz> nacc: arrow up
[22:53] <Bischoop> Hi
[22:54] <nacc> phoenixz: ok, let's stop using the terminal for this. Start a new session. Run `cat .bashrc`. Then run `history | tail -1`
[22:54] <phoenixz> glitsj16: nacc: http://paste.ubuntu.com/24966901/  I only removed a few "export" commands that have customer specific keywords, which really should not cause these issues
[22:55] <phoenixz> nacc: this is on a server (over ssh) where I had that specific issue
[22:58] <Richard_Cavell> This is going to sound like a dumb question, but I wonder by using Ubuntu am I missing out on anything?  If I were to install a *nix inside a VM inside Ubuntu as host, what distro would I install to fill in the gap?
[22:58] <nacc> Richard_Cavell: that doesn't seem like a question for the support channel
[22:58] <nacc> Richard_Cavell: use whatever distro you want?
[22:58] <phoenixz> nacc: I just opened another SSH session, did cat .bashrc, then history | tail -2 (-1 would only show the history command) and it did show the cat .bashrc command
[22:58] <phoenixz> and arrow up also shows it
[22:59] <nacc> phoenixz: err, yes, sorry -2 is right
[22:59] <nacc> phoenixz: so when you reproduce the issue that up arrow does not find something in your history, see if `history` shows it
[23:04] <glitsj16> phoenixz: nothing irregular in your ~/.bashrc by the way
[23:15] <phoenixz> nacc: history shows it as well, which makes sense, since through tail it also showed.. but like I said.. This specific issue happened once and then not again
[23:17] <Budgie^Smore> nacc quick question while I am waiting for this to complete, when using echo piped to a file in the preseed file does the file have to exist or show the pipe create the file if it doesn't?
[23:27] <nacc> Budgie^Smore: i would think it would create it, but note that you might want to be explicilty invoking that in bash if you are relying on certain bheaviors
[23:27] <nacc> Budgie^Smore: as by default i think it's dash
[23:28] <Budgie^Smore> OK I have answered that question myself ... it tries to create it ... but I am getting an "sh: can't create /etc/ansible/hosts: nonexistent directory" but I am making that directory in the line before in my preseed :-/
[23:30] <nacc> Budgie^Smore: have you tried dropping to a shell?
[23:30] <Budgie^Smore> nacc I just did and I see the directory created in the /target filesystem
[23:30] <nacc> Budgie^Smore: i *think* you can run the in-target command from that shell
[23:32] <Budgie^Smore> nacc sweet that helps in debugging :)
[23:32] <nacc> Budgie^Smore: yeah that would be my suggestion at this point
[23:33] <Budgie^Smore> nacc yeah I just was getting frustrated when I last looked at the problem that my normal troubleshooting tricks dropped out of my mind
[23:48] <L00P3X> GoodNightUbuntu.. i used to add some ppa that share some application from the ubuntu repository.. but now i kann only update that packages out if this ppa.. for example.. after updating ardour over this ppa it stays out of screen in size.. can't delete it and reinstall becouse it relates to the same ppa.. thank you
[23:52] <Maynard420> OK....here goes.  I got past the "grub failed to install to /target" bug.  Got it to recognize casper/vmlinuz FINALLY (<<< which incidentally I thought should have been ....linuz.efi).  Now I install from Live usb and it simply makes another live usb onto the drive.
[23:53] <CountryfiedLinux> howdy
[23:53] <Maynard420> Sooooooo.... WTF?  I have searched forums for days now.
[23:53] <CountryfiedLinux> How come there's not a lot of laptop models that make it to the Ubuntu certification pages? Is this something I should compare when buying a laptop?
[23:53] <Maynard420> Ello Country!
[23:54] <CountryfiedLinux> *certified
[23:54] <nacc> CountryfiedLinux: because it takes time and money to certify hardware
[23:54] <Bashing-om> Maynard420: What options are you choosing to install with from the liveUSB ?
[23:55] <CountryfiedLinux> nacc, Oh ok. I thought about buying a used Thinkpad but almost none of them are on that list.
[23:55] <CountryfiedLinux> I had the impression that Intel-based was a pretty much fail-free path.
[23:55] <nacc> CountryfiedLinux: generally, thinkpads are pretty well supported (especially the older ones). At least in my experience
[23:56] <nacc> CountryfiedLinux: as long as you're not on the latest and greatest hardware, I'd say Linux will probably install on most laptops. Touchscreens, some  hardware (usb wifi adapters) may not always work out of the box
[23:56] <Maynard420> Try w/o install.  DL 3rd party and updates. Erase disk and install ubuntustudio
[23:56] <Maynard420> in short;-)
[23:56] <transhuman_> hi! have an aspire one mini desktop with built in nvidia 8200 and am running ubuntu 17.04 . Anyone know what video driver version I should be using ?
[23:57] <Maynard420> :(|)  <<< and this is my monkey
[23:58] <Maynard420> I'm trying to do it as starightforward as the install will allow.
[23:58] <Maynard420> I don't get it.  I have used this bootable usb with no issues countless times.
[23:59] <Maynard420> And I checked MD5SUMS and they're spot on.
[23:59] <Bashing-om> Maynard420: A straight ' erase disk and install ubuntustudio ' shoul suffice . What issue are you experiencing ? ( sometimes best to install updates and 3rd party stuff after the install - sometimes ) .
[23:59] <Maynard420> (Above)