/srv/irclogs.ubuntu.com/2017/06/27/#ubuntu.txt

psychoticwarriorwhats up pp00:06
psychoticwarriorppl00:06
=== nug700|2 is now known as nug700
shadow98https://pastebin.com/uzWBXtnu00:24
oerhekswhat does which g++say? Obviously there is no working c++ compiler on the system.00:29
oerhekssudo apt-get update && sudo apt-get install build-essential00:29
oerheksand perhaps apt-get install g++00:29
L00P3XGoodNight Ubuntu ^^..  someone knows why I kann't resolve this dependencies? https://pastebin.com/Qjgv8jDm00:34
malkaunsL00P3X: tried "apt-get -f install" ?00:46
shadow98ignores = ( {00:49
shadow98   level = "JOINS PARTS QUITS";00:49
shadow98   network = "your chatnet name";00:49
shadow98OPPS00:49
edwinksl?01:01
L00P3Xmalkauns, yes i tried.. even to reboot..01:03
L00P3Xand tryed to install it manuali at once.. but they are installed :\.. maybe on a wrong version? but no others on the repos01:05
L00P3Xsudo apt search libatkmm.. libatkmm-1.6-1v5/zesty,now 2.24.2-2 i386 [installed]01:07
Bashing-omL00P3X: Looks to be a trusty package : https://packages.ubuntu.com/search?searchon=contents&keywords=libatkmm-1.6&mode=filename&suite=trusty&arch=any .01:09
L00P3XBashing-om, it is.. i used to add kxstudio repos and wanted to install the meta-audio pachages.. but some dependencies comes broken for me01:12
L00P3Xand made a pastebin out https://pastebin.com/Qjgv8jDm01:13
shadow98https://pastebin.com/fWeGDHru got a little farther by installing g++01:14
oerheksL00P3X, funny, Depends: libsigc++-2.0-0c2a (>= 2.0.2) but it is not installable >> ubuntu gives 2.4 +   https://launchpad.net/libsigc++01:15
oerheksyou might better seek help in #kxstudio01:16
L00P3XI 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:21
oerheksL00P3X, ask the ppa maintainer?01:22
L00P3Xoerheks, will give it a try tomorrow..01:27
L00P3Xsomeone who now would play a match of chess? ^^ https://lichess.org/hHdkhqIa01:28
RedrieldNot sure what's going on01:29
RedrieldI've removed all lines exporting JAVA_HOME from my bashrc, .profile, /etc/environment, and /etc/profile01:30
RedrieldAnd it's still getting exported by something01:30
RedrieldWith the wrong value01:30
RedrieldLike I can put the right value in any one of those files, and source it01:30
RedrieldAnd I'll have the right value01:30
RedrieldBut as soon as I start a new session, the value I inputted is completely ignored01:30
L00P3Xi going to leave.. see ya.. thank you..01:39
glitsj16Redrield: have you tried searching through your filesystem yet for the wrong value?01:42
Redrieldglitsj16: I've looked through all the places I know variables can be exported01:44
Redrield/etc/profile, /etc/profile.d scripts, /etc/environment, ~/.profile, and ~/.bashrc01:44
kenrinWhy don't you enable debug and just search the log to see where it comes from01:44
glitsj16Redrield: /etc/bash.bashrc as well i assume?01:45
RedrieldYeah, nothing in any of them01:47
kenrinProbably under pam or login.defs or something in the manager01:49
=== Nilesh__ is now known as Nilesh
Oderushi. 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:11
=== jackNemrod_ is now known as jackNemrod
=== jacky is now known as Guest76438
=== Guest76438 is now known as aqiank
vfwOderus: transcode is installed?02:30
vfwOderus: Run k3b from terminal, maybe you'll see the point of failure.02:31
vfwapt-cache policy transcode02:31
Oderusvfw: thanks for the reply. https://paste.ubuntu.com/24960645/ for the output of apt-cache policy transcode.02:41
Oderusvfw: also here https://paste.ubuntu.com/24960651/ for k3b output. I don't honestly see where it goes wrong here.02:43
oerheksOderus, did you install libdvd-pkg too ?02:45
oerhekselse it won' t decrypt i guess02:45
Oderusoerheks: as a matter of fact that is not currently installed, let me do that quick. thanks.02:46
oerheksfor 16.04 and up that is, but looking at your kernel you are02:47
Oderusoerheks: yes 17.0402:47
Oderusoerheks: same error  after installing that :)02:51
oerheksdid you restart k3b?02:51
Oderusyes02:52
oerheksOderus, then i have no clue what to look for :-(02:57
Oderusoerheks: no worries thanks for taking a peek :)02:57
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
Oderusmaybe a reboot will help.03:00
saryOderus: 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:01
sirru5hHowdy Everyone03:24
k_sze[work]Given that Ubuntu is based on Debian, are deb packages built for Debian supposed to *just work* on Ubuntu?03:33
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
oerheksk_sze[work], not all of them, some are specially build for ubuntu03:34
oerheksso don't mix distros, thse packages should be available in ubuntu too03:35
Bashing-omk_sze[work]: The reverse is also true: https://wiki.debian.org/DontBreakDebian <- Advice For New Users On Not Breaking Their Debian System  .03:36
sirru5hwhat 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 least03:37
oerheksas last resort, build them yourself?03:37
sirru5hThat's an option, also I've had issues with Alien03:38
=== Nilesh is now known as Nilesh_
=== Nilesh_ is now known as Nilesh
goppois there a simple way to ensure a command executes again if it exits?04:13
goppoi'm hoping to run ffmpeg constantly for streaming a CCTV, but it may quit every now and then when the cam goes down04:14
blkadderIf something exits, it is for a reason.04:14
goppoblkadder, yeah, but is there a simple way to ensure it runs again?04:15
gopposome sort of always-on service?04:15
blkadderYes, figure out why it is exiting and avoid that condition.04:15
goppoblkadder, my cam just hiccups every few days or so04:16
sirru5hhmm 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
blkadderSo at that frequency it is trivial to restart.04:16
goppobut no one is going to be around checking04:16
blkadderAs sirru5h says that is what cron jobs are for.04:16
gopposirru5h, why use cron to restart the service?04:17
goppooh, you mean use cron to execute the script?04:17
blkaddergoppo, You use a cron job to check if it is running and if not, restart.04:18
sirru5hsorry I was away but yeah just like blkadder explained04:19
goppook. but is there some sort of clever daemon that 'recovers' the process immediately?04:20
goppolike, how do webservers restart itself after it crashes?04:20
oerheksgoppo, see this example http://www.akamaras.com/linux/linux-script-to-check-if-a-service-is-running-and-start-it-if-its-stopped/04:20
goppooerheks, thanks04:22
goppobut if i create a service with 'Restart=onfailure', will it restart every time it exits?04:37
goppoit looks like it does04:44
sirru5hback goppo is it working?04:50
KartikayHi guys! Has anyone here successfully dual booted Win10 with Ubuntu?04:55
oerheksKartikay, i am sure some do, with help of the uefi manual04:58
oerheks!uefi04:58
ubottuUEFI is a specification that defines a software interface between an operating system and platform firmware. It is meant as a replacement for the BIOS. For information on how to set up and install Ubuntu and its derivatives on UEFI machines please read https://help.ubuntu.com/community/UEFI04:58
gopposirru5h, i've set it up as a systemd unit with the Restart option set05:06
gopposirru5h, seems to work fine. so i won't need a cronjob05:06
goppobut i have an issue. i have %m in my command, but %m is a special variable05:07
goppois there a way to to escape %m?05:07
goppooh, i've sorted it out now05:10
sirru5hgoppo, are ya using ZSH?05:10
gopposirru5h, yeah05:10
sirru5hokay thought so05:11
gopposirru5h, how come?05:11
sirru5hSo how did ya fix it05:11
sirru5hit was just a guess05:11
KartikayHey guys, has anyone successfully dual booted windows 10 and ubuntu?05:11
goppoaccording to https://www.freedesktop.org/software/systemd/man/systemd.unit.html there's a whole bunch of specifiers05:11
goppoand my command clashes with at least two: %m for month and %H for hour05:12
goppobut the specifiers actually mean machine ID and host name05:12
goppoi just had to use %%m and %%H instead05:12
KartikayI already have 8 partitions on my disk . . If i install ubuntu . . Will it work properly?05:14
sirru5hdysnc it appears05:14
oerheksKartikay, 8 partitions sounds it is on GPT, so yes, it will05:14
sirru5hgoppo,  yeah the %m is like gethostname05:14
KartikayShould I try to dual boot it then?05:15
KartikayIts a big risk05:15
=== dskull is now known as daynaskully
KartikayWill ubuntu's installer be able to configure the bootloader automatically?05:16
KartikayOr will i need to change some settings related to UEFI?05:17
KartikayRight now i have disabled UEFi05:17
=== kevr_ is now known as kevr
=== exio is now known as exio4
=== vioan_ is now known as IonutVan_
=== JeremyD is now known as SleePy
=== dskull is now known as daynaskully
Guido1Hello everyone, there was an option to remove emty folders within a folder. What was the comand for that?05:54
oerhekswhen you are in the path: find . -empty -type d -delete05:56
oerhekseasy to find, no?05:56
geirhamight want to include -depth as well05:56
oerheksgeirha +1, an empty folder in a folder does not make it empty indeed05:58
geirhaAnd if it's just one level, rmdir ./*/ will suffice; it will remove the empty dirs, and write an error about any non-empty ones06:01
oerhekshmm nice trick06:02
Guido1oerheks: looks like it worked. Thanks :)06:09
BlankspaceHi06:49
BlankspaceCan anyone help me with this06:50
Blankspacehttps://pasteboard.co/26gfL4fFw.jpg06:50
capellaThis guy filled up his hard rive and got that ... comment #10 https://ubuntuforums.org/showthread.php?t=175157406:56
=== KindTwo is now known as KindOne
u1n00b_hi i have a problem adding a node to MAAS07:08
u1n00b_can somebody help me?07:09
=== jackNemrod_ is now known as jackNemrod
saryif you state the issue you'll have a beter chance..07:10
oerheksu1n00b_, if you find no answer here, #ubuntu-server or #maas would be an appropriate place to reask07:11
oerhekssary +1, that too07:11
saryBlankspace: 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:12
u1n00b_thanks07:13
=== jackNemrod_ is now known as jackNemrod
u1n00b_fresh install on Virtualbox MAAS installed ok, 2 nic-s 1 host only - for PXE boot the node , 1 bridged07:15
u1n00b_the node boot up fine but at the and at login it says: Can not apply stage final, no datasource found07:15
u1n00b_picure: http://imgur.com/a/JMKzB07:17
=== rumble is now known as grumble
PixelKittyhello 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:20
BlankspaceScary it occured after an upgrade07:31
BlankspaceSary*07:31
BlankspaceI am using 32 version07:32
Blankspace4 gb ram07:32
BlankspaceBut I have dual boot07:32
BlankspaceSo I have both windows n ubuntu07:32
sirru5hBlankspace, this is regarding the pic above correct?07:33
BlankspaceYes07:33
BlankspaceSirru5h07:33
swenssonCan someone convert this to ubuntu please "pw useradd ftpuser -g ftpgroup -d /dev/null -s /etc"07:33
BlankspaceSary I have ubuntu with linux 3.13.0-8807:33
Blankspace-generic07:34
BlankspaceVersion07:34
BlankspaceOn updation07:34
BlankspaceTo which I couldn't boot07:34
sirru5hI'm looking right now07:34
BlankspaceIt starts showing kernel panic07:34
BlankspaceOk sirru5h07:34
sirru5hdual boot and not a VM correct?07:34
akikswensson: look into useradd command07:34
BlankspaceYes07:34
BlankspaceNot vm07:35
sirru5hwhat are else are you booting with it windows?07:35
saryBlankspace: can you get to recovery/rescue mode from the grub menu!07:35
sirru5hyup grub issue07:36
BlankspaceYup on recovery mode07:36
BlankspaceIt shows this07:36
TadassssssHey, #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
Blankspacehttps://pasteboard.co/26HgiI0Bc.jpg07:37
BlankspaceBut I can boot to my earlier version07:38
BlankspaceWith linux 3.13.0-3207:38
BlankspaceUsing advance option for ubuntu07:39
BlankspaceIn grub07:39
BlankspaceSo how can I resolve the grub issue07:39
alkisgBoot into the older version, and put your grub.cfg to pastebin...07:39
alkisgAnd also the output of `sudo parted -l; sudo lsblk --fs`07:40
saryso do it, then run: sudo apt-get update && sudo apt-get -f dist-upgrade07:41
BlankspaceI ran sudo apt-get update07:41
BlankspaceWhere would I get grub.cfg07:42
alkisgIn /boot/grub/grub.cfg07:42
saryalso, follow alkisg.. the /boot dir might be full so if it is, space on boot by deleting previous version kernels.07:43
saryMake*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
BlankspaceOn running07:44
BlankspaceSudo apt-get -f dist-upgrade07:45
BlankspaceIt shows07:45
BlankspaceE:dpkg was interrupted07:45
alkisgPut the whole output to pastebin, not just that one line07:46
alkisgSo that we also see *why* it was interrupted07:46
BlankspaceYou must manually run sudo dpkg --configure -a07:46
alkisgGo to http://paste.ubuntu.com and copy all the lines there07:46
alkisg!pastebin07:46
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.07:46
BlankspacePastebin07:47
BlankspaceResult07:47
BlankspaceOr grub07:47
Blankspace.cfg07:47
alkisg!enter07:47
ubottuPlease try and keep as much of your info as possible on ONE line - easier to follow for everyone.07:47
BlankspaceOr both07:47
alkisgBoth07:47
BlankspaceOk07:47
BlankspacePaste.ubuntu.com/2496193907:51
alkisgBlankspace: and the output of `sudo dpkg --configure -a` ?07:53
BlankspaceI didn't run it yet07:53
BlankspaceI just ran it07:54
BlankspaceI don't know what it did07:57
BlankspaceWhat was that command for?07:57
sirru5hit fixes broken packages07:57
ararobdoes ls command list file size in bits or bytes?07:57
BlankspaceHopefully it won't interrupt booting to my other  os?07:57
BlankspaceTo windows07:58
sirru5hmm ls -l07:58
sirru5hthat will show you size of files as well07:58
sirru5hBlankspace, grub has gotten much better on being more friendly with multiple OS's07:59
BlankspaceNow what do I do07:59
alkisgBlankspace: did you see any errors when you ran that command? If yes, put them to pastebin08:00
BlankspaceDo I boot back to my default ubuntu n check if problem reaolved08:00
alkisgIf not, try `sudo apt-get dist-upgrade` again, and if that works too, then try rebooting08:00
BlankspaceI just ran upgrade08:01
BlankspaceNo error except something related to java08:01
alkisgI was asking if the `dpkg --configure -a` command showed any errors08:01
BlankspaceNot many08:02
alkisgUse pastebin08:02
alkisgDon't just say " I saw some errors but not many"08:02
alkisgThat doesn't help us at all08:02
sarysorry, i got query from soemone.08:03
BlankspaceSo many line of result08:05
alkisgYou select them, then right click and copy, then go to paste.ubuntu.com and right click and paste08:05
BlankspaceIt is updating08:10
BlankspaceCan't copy now08:10
BlankspaceIt gets stopped08:11
glitsj16!pastebinit08:11
ubottupastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit08:11
alkisgLet it finish08:12
BlankspaceOnly 9percent08:12
BlankspaceFinished08:12
BlankspaceI ran dist-upgrade08:13
BlankspaceCould it be due to memory partition08:14
BlankspaceLess space for ubuntu08:14
BlankspaceN more for windows08:14
BlankspaceLike in dual boot is ram also distributed?08:15
BlankspaceActually someone else did the partition thing.do I don't know how n aha08:15
alkisgIt might have been because you were updating and then you stopped it without letting it finish properly08:15
BlankspaceWhat memory was distributed to each os08:15
BlankspaceIs there something like concept of ram distribution?08:16
alkisgOn dual boot, no08:17
BlankspaceOk.just harddisk08:17
BlankspaceI don't know08:17
BlankspaceBoth a08:17
BlankspaceSo both is have 4 gb ram?08:19
BlankspaceOs*08:20
BlankspaceIf I have 4 gb ram in my system08:20
BlankspaceAnd did dual partition08:20
BlankspaceI mean dual boot partition.08:20
Tadassssssis it ok if i dont have an error log /gunicorn-error.log in my system?08:36
saryBlankspace: 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 by08:38
saryremoving some files.08:38
TadassssssI will not have an error log, I think it's ok08:40
Tadasssssswho watches them anyways lol08:40
sarylogs are usually stoed in /var/log/gunicorn .08:41
sarylogs come in handy when it's time to debug/troubleshooting an issue!08:42
Tadasssssssary, do you know how could I delete files created with VIM?08:43
geirhaTadassssss: What do you mean? There's nothing to distinguish files created by vim from files created by other processes...08:45
saryit's just a text file Tadassssss08:45
oerheksrm /path/to/file08:46
saryif you mean the command line .. rm abc.txt08:47
sarywith that example you need to be in the dir that has that file, or better do what oerheks cm.08:48
TadassssssYeah I know, but it says that file does not exist :( but terminal says it is open08:49
sarywhat!..08:51
Tadassssssit's ok, got it figured out :D08:52
Tadasssssssorry total newb in ubuntu08:52
Tadassssssit looks so messed up for me after 17yrs with windows08:52
saryit's cool. np :)08:52
saryI don't bleem ya, you'll get fimiliar give it time.08:53
Tadasssssshope so, rly need to learn this server stuff asap08:54
Tadasssssshope so, rly need to learn this server stuff asap08:55
Tadassssssoops sry08:55
TadassssssFATAL     Exited too quickly (process log may have details)08:55
Tadasssssswhat could be the issue?08:55
Tadassssssdont have logs08:55
TadassssssI'm trying to deploy Django08:55
v2zzhi! 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
swenssonAnyone here familliar with pure-ftp? I need to set different privileges to different users08:58
BlankspaceI am currently upgrading my ubuntu.how do I know if there is enough memory for upgradation09:00
Ben64how much do you have09:00
hateballBlankspace: "df -h"09:00
BlankspaceThanks sary.09:00
v2zzBlankspace  After this operation, 64,4 MB of additional disk space will be used.09:00
v2zzDo you want to continue? [Y/n] y09:00
BlankspaceYes it said 27409:00
BlankspaceMb09:01
v2zzBlankspace and anyway, it should be atomic, in case of space lack it will break09:01
saryTadassssss: is that error given by supervisor!09:01
BlankspaceI have 52 gb volume09:02
BlankspaceAnd then two new volumes09:02
Tadasssssssary, yes, when I run command sudo supervisorctl status urban-train I get this fatal exited too quickly09:02
BlankspaceWhich shows file of windows harddrive09:03
Blankspace52 gb is my c drive in ubuntu?09:03
oerheksBlankspace, how do *we* tell??09:04
v2zzi've removed evolution completely, anobody googled a good  clock for upper right corner of screen?09:04
oerheksif your ubuntu filesystem is full, run this : sudo apt autoremove # this will clean out some old kernels and old packages09:05
v2zzBlankspacecan't you just look how much free space you have on / partition in system monitor?09:05
=== jackNemrod_ is now known as jackNemrod
saryTadassssss: in the supervisor conf file, #command=php .. is --daemon in there!09:05
Tadasssssssary, no, but do I need it? my conf file looks like this: https://paste.pound-python.org/show/26oQrRwbCNEnBo1I40W9/09:07
Tadasssssswhere should I put the daemon?09:07
BlankspaceOk oerheks09:07
Tadassssssadded the --daemon after command=/path/to/command still the same exited too quickly09:08
Tadasssssshmm when I do mkdir logs09:10
Tadassssssit says logs exist09:10
Tadassssssbut when I look at it in filezilla09:10
Tadassssssthere is no logs folder09:10
Tadassssssoh wait09:11
Tadassssssthere is09:11
saryTadassssss: don't mind --daemon option m it seems that gunicorn doesn't deamonize itself.09:12
Tadassssssmaybe I need to chmod u+x bin/gunicorn.conf?09:13
saryTadassssss: whats in your Gunicorn config!09:14
sarywell, did you read the Gunicorn docs.09:14
Tadasssssssary, no, sir, I am just doing step by step https://simpleisbetterthancomplex.com/tutorial/2016/10/14/how-to-deploy-to-digital-ocean.html09:14
saryOK.09:15
Tadassssssmy config https://paste.pound-python.org/show/aHWnnqRbijj90ELDXFAv/09:15
v2zzis it possible to install ubuntu 17 on top of 16 without eracing /home partion data?09:15
swenssonIm 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:15
=== jackNemrod_ is now known as jackNemrod
=== Ilyas_ is now known as Ilyas
=== SQLDb is now known as SQL
=== red-001_ is now known as red-001
=== genpaku_ is now known as genpaku
=== foddo_ is now known as foddo
=== akaWolf1 is now known as akaWolf
=== basiclaser_ is now known as basiclaser
=== BuildTheRobots_ is now known as BuildTheRobots
=== JoseeAntonioR is now known as jose
=== LRX is now known as N3LRX
=== FlannelKing is now known as Flannel
Lachezar3.16.43-2+deb8u2 and 4.9.30-2+deb9u2, but I'm on Ubuntu's 4.10.0-24-generic.09:43
LachezarHey 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:43
LachezarI just upgraded yesterday. What can I do other than rolling back to the previous kernel with GRUB?09:44
=== evilmquin2 is now known as mquin
royal_screwup21how 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:53
oerhekspgrep mongod -or- service mongod status09:55
Johnson1977Hi09:55
Johnson1977I installed ubuntu 1709:56
Johnson1977and after restart09:56
Johnson1977nothing works anymore09:56
Johnson1977I had steam running just fine09:56
Johnson1977Now, nothing, cannot launch anything09:56
Johnson1977If I click system settings,  freeze09:56
Johnson1977Is MINT more stable than this?09:57
Johnson1977some serious BS. fresh installation, 1 application, and dead OS, srsly09:57
matyyIt doesn't boot anymore?10:00
matyyDid you perhaps install graphic drivers?10:00
Johnson1977anyone?10:04
TadassssssDoes 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 writing10:05
minimecJohnson1977: We would need a little bit more information. 'Nothing works' I not enough... ;) Do you get a graphical interface for example?10:05
Johnson1977No10:06
Johnson1977When I open steam, i get prompted the login10:06
Johnson1977After the login, its 'dead'10:06
Johnson1977No new popup, no new window10:06
Johnson1977and for system settings, it just freezes10:06
Johnson1977mouse moves, but cant do anything10:06
anddamwhat's the expected timeline for python 3.6 in LTS?10:08
minimecJohnson1977: 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
anddamwell, I don't even know if that's going to happen, is it?10:08
minimecJohnson1977: In a terminal... 'sudo apt install pastebinit', then 'journalctl -b | pastebinit'. Then paste the link you get here in the #channel10:09
Johnson1977http://paste.ubuntu.com/24962565/10:09
Johnson1977back to windows... srsly, had same problems with debian10:11
Tadassssssyeah dude, windows definitely > linux10:11
Tadassssssneed to spend 3 hours10:11
Tadassssssto fix a problem on linux10:11
Tadassssssffs10:11
Johnson1977unbelievable10:12
minimecJohnson1977: Ok. Looks that you have a nvidia GPU right?10:12
Johnson1977Debian, cant even install from usb stick10:12
Johnson1977yes10:12
minimecJohnson1977: So I recommend to enable the nvidia driver in 'additional drivers' in the settings.10:13
oerheksNVIDIA GP107 = 1050 ?10:13
Johnson1977ok i did that10:14
Johnson1977lets see10:14
Johnson1977its applying changes10:14
Johnson1977did the same for the cpu10:14
Johnson1977everything was working fine before10:15
Johnson1977really10:15
minimecJohnson1977: 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:16
Johnson1977lets see10:17
Johnson1977I hope so10:17
Johnson1977i really put hopes on ubuntu10:17
Johnson1977wanted to move away from windoze10:17
minimecJohnson1977: That is a good decision if you ask me... ;)10:18
Johnson1977but i need stuff to work!10:18
cesdoHello! What is main log file in Ubuntu?10:18
Johnson1977not spend 50% debugging, and 50% working10:18
minimecJohnson1977: We all understand that...10:19
cesdosuch as /var/log/messages in Fedora10:19
alkisgcesdo: maybe /var/log/syslog... although now with systemd/journalling, it's under debate...10:20
hateballcesdo: ubuntu uses systemd, so you want to use journalctl10:20
TadassssssCould 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
minimeccesdo: That doesn't exist anymore, not even in fedora. With systemd you have a tool called journalctl.10:20
hateballcesdo: also some stuff log to /var/log/dmesg or syslog etc as well10:20
cesdothanks10:21
_ccTadassssss: i think it might be fixable by chmod a+x on the gunicorn_start10:23
Tadassssss_cc, still the same....10:24
TadassssssI will try doing all over10:24
Tadasssssson a fresh server10:24
rexwin_how to check whether squid is installed?10:25
_ccTadassssss: 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:25
Tadassssss_cc, chmod u+x bin/gunicorn_start and then I did a+x, still the same10:26
hateballrexwin_: apt policy squid10:26
_ccwhat's the current working directory?10:26
_cci mean you're doing that command, but it's relative to the directory you're in10:27
_cctry with full path10:27
Tadassssss_cc, I dont really know that I'm in ~$10:27
Tadassssssnoob in ubuntu10:27
_ccpwd10:28
Tadasssssshome/urban10:28
=== KindTwo is now known as KindOne
_ccdoes it still have the same error in the log files?10:28
Tadassssssyes10:28
saryLachezar: 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:29
saryLachezar: you might wanna report this to the kernel team in #ubuntu-kernel.10:31
_ccTadassssss: posted you a private message10:32
TadassssssI see, _cc one sec10:32
glitsj16Tadassssss: 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:42
Ben64youtube-dl10:43
minimecrexwin_: 'sudo apt install youtube-dl'. You can then download the video in the terminal...10:43
_ccglitsj16: i think the problem is in the script, line 8. of the paste10:43
rexwin_I havebeen using that. but want a direct solution like caching10:44
_cclooks like it's not the root directory of whatever is that he's trying to execute10:44
ztaneapparmor="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
ztaneno wonder I need to wait for my prints for so long.10:45
_cc:)10:45
Ben64rexwin_: it is a direct solution10:45
Ben64you want to be able to watch videos offline, that downloads them so you can do so10:45
Tadassssssglitsj16, https://simpleisbetterthancomplex.com/tutorial/2016/10/14/how-to-deploy-to-digital-ocean.html I am just reading from this10:45
Tadassssssglitsj16, how do I install gunicorn with the repo package?10:47
Tadasssssssudo apt-get install gunicorn10:47
Tadassssssyes?10:48
glitsj16Tadassssss: so you're doing this on a VPS? I'm going over the link you gave10:48
Tadassssssglitsj16, yes on digitalocean vps if that makes any difference10:48
codecuttersudo systemctl restart tomcat -agentlib:jdwp=transport=dt_socket,address=62587,suspend=n,server=y10:49
codecuttersystemctl: invalid option -- 'g'10:49
ztaneindeed, wat... is going on with my cups/apparmor ^10:49
ztane(trying samba printing)10:50
glitsj16Tadassssss: 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 sure10:50
Tadassssssglitsj16, I'm stuck at sudo supervisorctl status urban-train10:50
Tadassssssgetting error  BACKOFF   Exited too quickly (process log may have details)10:50
ztaneTadassssss: you need to read the logs...10:50
glitsj16Tadassssss: thanks, I'll go over it quickly10:50
ztanewhere the server output is going10:50
ztaneit is of no use for anyone else to read that10:51
Tadassssssztane, logs say ENOEXEC supervisor: child process was not spawned10:51
Tadassssssgoogle has no answer on that...10:51
ztanestdout_logfile=/home/urban/logs/gunicorn-error.log10:51
Tadassssssyes10:51
ztaneTadassssss: wrong filename, the executable wasn't executable (need to have chmod +x)10:52
ztane(or #!shebang)10:52
Tadassssssztane, you mean my config file?10:52
ztaneno, the command: command=/home/urban/bin/gunicorn_start10:53
ztanedoes that start with #!/bin/bash10:53
codecutteranyone?10:53
Tadassssssztane,  no it doesn't, adding that10:53
ztane...10:53
_cc:---D10:54
Tadasssssssorry, total newb, tuts dont provide that10:54
_cche had it in the pastebin link!10:54
ztaneTadassssss: they do provide10:54
_cccodecutter: are you missing a dash after the "tomcat "10:54
Tadassssssztane, it was provided on the gunicorn_start file but the config file was without the shebang10:54
ztaneno the config file doesn't need a shebang10:54
Tadassssssoh, so then It was good before..10:55
ztanethen, try to run the actual command from command line, what do you get?10:55
ztanei.e. /home/urban/bin/gunicorn_start10:55
Tadassssssztane, I get OSError: [Errno 1] Operation not permitted: '/home/urban/run/gunicorn.sock'10:56
Tadassssssif I just paste in the command10:56
ztanehmm ok so it does run, and there is something else...10:57
Tadassssssidk it is just insane, I spent 12 hrs yesterday setting up VNC, today it seems I will be spending 12 hrs to set up django10:57
ztaneit then might be that you still have an old config in supervisor, try supervisorctl reload10:58
_ccI think he just spawned a fresh server10:58
ztanevnc? who uses vnc10:58
TadassssssI needed it to check one thing10:58
Tadassssss[Errno 13] Permission denied: file: /usr/lib/python2.7/socket.py line: 22810:58
hateballThat's what SSH is for :)10:58
Tadassssssthe reload worked before10:58
Tadassssssgetting this error10:58
Tadasssssshateball, yes but vnc helped me understand a few things about the ssh10:58
ztanesudo make me sandwich ;)10:58
Tadasssssswhatever10:59
TadassssssI guess I wont have django10:59
Tadassssssty guys10:59
_ccTadassssss: he was implying you forgot to use "sudo" while trying to "supervisorctl reload"10:59
ztaneTadassssss: https://xkcd.com/149/11:00
Tadassssss:/11:00
_ccso: sudo supervisorctl reload11:01
TadassssssI did, doesnt work11:01
Tadasssssssame thing11:01
Tadassssssgetting exited too quickly11:01
Tadasssssslinux admins must be making real bank11:01
Tadassssssbecause this stuff11:02
Tadassssssis something next level11:02
Tadassssssalien technology11:02
ztaneTadassssss: also, there is #django - if you have more django-specific problems11:02
TadassssssI 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 django11:03
ztaneTadassssss: so now, please view the log file /home/urban/logs/gunicorn-error.log11:03
ztaneor what did you call it11:03
TadassssssENOEXEC11:04
Tadasssssssupervisor: child process was not spawned11:04
Tadasssssssupervisor: couldn't exec /home/kigbot/bin/gunicorn_start: ENOEXEC11:04
Tadasssssssupervisor: child process was not spawned11:04
Tadasssssssupervisor: couldn't exec /home/kigbot/bin/gunicorn_start: ENOEXEC11:04
Tadasssssssupervisor: child process was not spawned11:04
Tadasssssssupervisor: couldn't exec /home/kigbot/bin/gunicorn_start: ENOEXEC11:04
glitsj16Tadassssss: 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 django11:04
ztaneTadassssss: ENOEXEC should really mean that the #!shebang line is not correct11:06
ztaneENOEXEC: 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
TadassssssI am trying a fresh install11:07
ztaneare you sure there is no empty line *before* the #!/bin/bash11:07
Tadasssssshopefully it works11:07
ztaneit really needs to be on top11:07
Tadassssssok, the file is empty now, i dont know why11:08
ztaneit explains a lot...11:08
TadassssssI will just try a new fresh install11:08
ztaneno need for any fresh install, just rewrite that one file.11:08
BluesKajHiyas all11:11
ztanenow11:11
ztanehow to disable apparmor for cupsd11:11
ztanecan't use samba for some reason if enabled :(11:11
ztaneit used to work11:12
glitsj16ztane: 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_profile11:24
ztaneglitsj16: yeah will try that...11:26
fuserThe "Scale for menu and title bars" in Display settings keeps getting reset when the screen turns black from inactivity.11:33
fuserAlways goes back to 111:33
oerheksfuser, read about it, https://ubuntuforums.org/showthread.php?t=2358444 ... file a bugreport ?11:34
Tadassssssok, 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-0411:39
Tadassssssanybody knows what I could be doing wrong?11:45
Tadassssssit seems like it just doesnt redirect to port 8000, because if I go ip:8000 it just works11:48
Tadasssssswhen django is on11:48
Tadassssssso I guess its nginx problem11:48
Tadasssssswhy tf all these tutorials must have something hidden so an user has to spend hours figuring out11:48
scottjlbecause their situation != your situation11:49
Tadasssssstrue11:49
Ben64you can't expect servers to be 'push button, receive bacon'11:49
scottjldamn i wish they were!11:49
Tadassssssi wish it was like that11:49
Ben64that will get your server turned into a mail relay11:49
scottjli need bacon11:50
Tadassssssi just want my nginx to work :(11:50
Ben64it does11:50
Tadassssss502 gateway to disappear then11:50
Ben64look at the logs11:51
TadassssssBen64, it says proxy_pass http://unix:/home/kigbot/myproject/myproject.sock; so my file has to be here with the .sock11:51
Tadassssssbut it isnt here11:51
Ben64then you didn't set it up properly11:52
ikoniawhy would a socket file be in someones home directory ?11:54
Tadassssssikonia, well the tutorial is providing that11:55
Tadassssssikonia, https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-14-0411:55
ikoniaTadassssss: are you using a ditial ocean droplet ?11:55
Tadassssssyes11:55
Tadassssssbeen reinstalling this django11:55
Tadassssssfor like 6 times11:55
ikoniaTadassssss: therefore their support team should be able to support their guide on their build11:55
Tadassssssmanaged to make it work11:55
Tadassssssreally?11:55
Tadassssssok, will try11:55
ikoniathat guide looks terrible11:57
ikoniausing a python script in a home directory to launch a service11:57
ikoniathen a sloppy ngnix config to proxy it11:57
Tadassssssikonia, please help with the nginx part :( im dieing here, 6hours trying to launch a django app11:58
ikoniait's not startign up11:58
ikoniaso the socket file is not being created11:58
ikoniaI've never seen a config put the socket file in the home directory11:59
Tadasssssshow should I create it?11:59
Tadassssssare you saying it cannot put it there?12:00
ikoniayou can put it where you want12:00
Tadassssssso it doesnt really matter, and security is not an issue, this app will be used only by me12:00
scottjlif 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:00
ikoniaI'd question the proxy_pass12:01
scottjldoes nginx even have access to write to your home?12:01
TadassssssI dont really know12:01
Tadasssssshow do I check it12:01
scottjlls -ald ~12:01
scottjlwhat's the perms?12:02
scottjland what use/group is nginx running as?12:02
Tadassssssdrwx------ 28 kigbot kigbot 4096 Jun 27 11:11 /home/kigbot12:02
=== beaver is now known as evilnewbie
scottjlunless nginx is running as kigbot/kigbot it can't write to your home dir12:02
scottjlps -ef | grep nginx12:02
Tadassssssgives me this: https://paste.pound-python.org/show/H7tUBs7b7246QJ6nSRzL/12:03
scottjlyeah. that's running as www-data12:03
scottjlso it's never going to create a socket file in your home directory12:03
scottjlunless you chmod 0666 ~kigbot which i would NEVER recommend12:04
TadassssssI will do it12:04
Tadassssssfor now12:04
Tadassssssbecause as I said it's only me who is using this12:04
scottjlare there other users on this box?12:04
Tadassssssnope12:04
scottjlvery bad security12:04
scottjlbut you can try it to see if you can get whatever you're doing even working12:04
scottjlbut i would fix that config so it writes the socket file to /tmp12:04
Tadassssssstill the same12:04
Tadassssssbad gateway12:05
scottjlyou'll need to restart nginx12:05
Tadassssssdid it12:05
scottjldump your sites-available/myproject file?12:07
Tadassssssthen it means the problem isn't in the nginx right?12:07
scottjlno. dump a copy to pastebin so i can see it12:07
TadassssssI cant search the files now after chmod 066612:07
scottjlnot sure where your problem is12:07
=== jstein_ is now known as jstein
Tadassssssmy user directory is empty now12:08
scottjloh sorry. 0777 ~12:08
scottjlchmod 0777 ~12:08
scottjlit's early. i need more tea12:08
Tadassssssdont know where this sites-available is12:10
scottjlshould be in /etc/nginx/sites-available. didn't you follow that tutorial ?12:10
TadassssssI just copy and paste everything because doing for Xth time12:10
scottjlwell that's a big mistake12:11
scottjlyou need to edit things custom to your system12:11
TadassssssI do those12:11
Tadassssssok I found it12:11
Tadasssssshttps://paste.pound-python.org/show/kugD7tZXluMfwkTicWh2/12:11
Lachezarsary: Sry, was away on lunch, posted on #ubuntu-kernel, looking for similar bugs on Launchpad.12:12
scottjlchmod 0777 ~kigbot and restart nginx12:12
scottjlsee if it is working now12:12
Tadassssssstill bad gateway12:12
Tadassssssso I guess the problem is somewhere else12:12
Lachezarsary: Seems this one applies: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/170001012:13
ubottuLaunchpad bug 1699772 in scilab (Ubuntu) "duplicate for #1700010 linux-image-4.10.0-24-generic, linux-image-4.8.0-56-generic, linux-image-4.4.0-81-generic, linux-image-3.13.0-121-generic Regression: many user-space apps crashing" [Undecided,Confirmed]12:13
scottjlTadassssss: 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 it12:14
scottjlTadassssss: the post by "slow999" is the one i'm referencing12:14
scottjlTadassssss: there is also one by "jellingwood"12:14
Tadasssssswho is the author?12:17
TadassssssCannot find12:17
zetherooone of my Ubuntu boxes is mailing this and I don't know what's causing the mysqladmin error: https://pastebin.ubuntu.com/24962955/12:18
fl00fykittrywhen i log in by hand i get the if i don't give mysql a -p12:25
ikoniafl00fykittry: ?12:31
fl00fykittrytyping 'mysql' gets me the using password: no line from the cron12:33
fl00fykittry'mysql -p' gets me using password:yes but no access and then 'sudo !!' gets me in12:33
ikoniafl00fykittry: right ?12:33
fl00fykittrywas thinking maybe this aligns w the cron issue12:33
ikoniafl00fykittry: that is the correct behaviour if I understand what you are doing12:33
ikoniano12:33
ikoniacron is a different thing12:34
ikoniathis is to do with your mysql user HBAC12:34
zetherooso it seems that there is this file which came from somewhere which is causing the errors /etc/logrotate.d/mysql-server12:42
zetherooanyone have an idea where that file comes from?12:42
zetherooThe first line doesn't sound at all amateurish ... "I put everything in one block and added sharedscripts ...." 😲12:43
htafdresgihow do I setup events to go off when the power cord is plugged in and taken out?12:45
htafdresgiI want to start boinc-client when the laptop has power connected, and turned off when it is taken out12:45
Muimiwhen 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:46
geirhazetheroo: dpkg -S /etc/logrotate.d/mysql-server12:47
zetheroomariadb-server-10.0: /etc/logrotate.d/mysql-server12:47
oerhekshtafdresgi, 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-out12:53
htafdresgioerheks: awesome thanks12:55
Muimican anyone help with that?12:55
Muimiit's like a huge problem for me. :/12:55
saryMuimi: this seems to be caused by the login manager.12:59
Muimiyeah but it just ranodmly happened and i cant stop it13:00
MuimiIt's like it just broke for  no reason.  I didn't update or anything13:02
Muimi_Yeah I tried again13:04
Muimi_same thiing13:04
Muimi_it's so annyoing.  I don't know why it's doing that13:04
DungaMuimi, can you drop to CLI by pressing ctrl + alt + F1, i think13:05
saryWhich 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:05
oerhekssounds like an old issue, https://askubuntu.com/questions/436925/ownership-of-xauthority-transferred-to-root >> you might want to check the owner of ~/.Xauthority13:06
oerheksMuimi_, ^^13:06
DungaYou can inspect logs with dmessg to see what happened13:06
DungaYou can also uninstall things depending on the actual error message that you are getting13:07
Muimi_dmessg is an unknown program13:07
Muimi_as a guest session ican't uninstall anything13:07
oerheksctrl alt F1, login, remove ~/.Xauthority , logout,  hit ctrl alt F7, login13:07
Dungaspello - dmesg13:08
Muimi_is that going to fix the login?13:08
Muimi_remove ~/.Xauthority13:08
oerheksMuimi_, if xauthority is changes, yes, that give this login loop13:09
oerheksyou 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=013:09
Muimi_ii got like a billion messages like that in dmesg13:11
DungaI cant say for certain whats causing the issue. Seems to me like resetting and reinstalling lightdm might be the way to go13:17
saryMuimi_:  what Dunga said, or installing gdm and sudo dpkg-reconfigure gdm .13:23
oerhekshuh? ubuntu uses lightdm, and installing gdm sounds not like a fix to me .. how about checking ~/.Xauthority??13:28
Dungaoerheks: that could do. I would start off by renaming Xauthority at this stage13:32
saryYes 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:33
saryWhat if Xauthority doesn't exist!13:34
oerheksit does, see the . before the filename = hidden13:36
oerhekstherefore, ls -la # will show all files and permissions13:36
DungaMuimi has gone quiete.13:37
codecuttersudo ufw allow 62587/tcp13:38
codecutternetstat -lnp | grep 6258713:38
codecuttertcp        0      0 0.0.0.0:62587           0.0.0.0:*               LISTEN      -13:39
codecutterit seems the port is still closed?13:39
saryWell,  doesn't exist for my user , does it exist on on theirs though!13:40
codecutteranyone?13:41
saryMuimi_: #See " Help, I can't see my Desktop! " in https://wiki.ubuntu.com/LightDM13:42
saryand as it's state it there , from the virtual terminal update the system , sudo apt-get update && sudo apt-get dist-upgrade .13:44
codecutteri'm sure my thing is trivial13:48
codecuttercan someone take a quick look?13:48
emesI 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"...13:59
emesOk, here's the output from boot-info: https://paste2.org/dY9evn0814:04
emesI think boot-repair may be getting confused because my live usb shows up as /dev/sda and my real drive is /dev/nvme0n114:09
Dungacodecutter: 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/accepted14:14
Muimiremove ~/.Xauthority14:30
Muimi"remove not a known command"14:30
hateballMuimi: it's "rm"14:31
hateballMuimi: but do "ls -l ~/.Xauthority" first14:31
Muimils -l ~/.Xauthority14:32
Muimirm ~/.Xauthority14:32
Muimijust like that?14:32
hateballMuimi: 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
hateballMuimi: ls -ls ~/.Xauthority will show if root:root owns the file rather than your user14:32
Muimithis probably all happened because i wanted to use wechat on ubuntu14:33
Muimibasically the only reason I don't want to stay in ubuntu all day every day is becuase no wechat14:33
Muimibut when I tried to install it, all this random bs happened14:33
Muimils -ls or ls -l?14:33
hateballMuimi: either works14:34
hateballI just typoed an extra s14:34
Muimisudo chown $USER:$USER ~/.Xauthority is literally $USER or should I use $Myusername14:34
MuimiYou know Lois Lane from the tv series?  DO you think she's missing a chromosome?14:35
hateballMuimi: $USER is a variable that is your name14:35
Muimik14:35
hateballbut if your name is burt, you can use burt:burt if you like14:35
Muimibrb14:36
MuimiI have to remember all this14:36
Muimichown isn't an english word, you know?14:36
thewilloHow do I disable x from starting on Ubuntu 14.04?14:38
thewilloLike, I want to have it installed but don't want it to start on boot14:38
edwinkslthewillo: https://askubuntu.com/q/16371/1500314:39
hateballthewillo: disable lightdm or gdm or whatever you use from starting14:39
jhutchins_wkMuimi: change owner.14:46
=== semeion is now known as mnemonic
EvilRoeyhello15:04
EvilRoeyI 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:04
ubottuDebian bug 769366 in zssh "zssh won't start: "out of pty's"" [Important,Open]15:04
TadassssssI 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
scottjltypos suck15:06
Tadassssssindeed15:07
k_szeIs Ubuntu getting this microcode fix any time soon? https://lists.debian.org/debian-devel/2017/06/msg00308.html15:09
geniik_sze: If Debian gets it, we'll get it15:10
k_szeI see that artful seems to have the same intel-microcode package, but the other releases don't yet.15:10
k_szehttps://packages.ubuntu.com/search?suite=all&section=all&arch=any&keywords=intel-microcode&searchon=names15:10
k_szeIn fact, I'm kinda surprised that Trusty seems to have such an old version of intel-microcode.15:11
tMHhello everyone15:11
k_szeAren't microcode fixes kind of a big deal that should be available to LTS releases?15:11
tMHI 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:11
tMHsomeone tell me, how can I get rid of those '' ?15:12
tMHthanks in advance!15:12
tMHls is from coreutils 8.2715:12
akiktMH: maybe it's an alias? try \ls -al15:13
Dave114anything in Chrome (Google's packaged version) that isn't in Chromium these days?15:13
geniik_sze: Sometimes it's not possible to backport microcode updates because they rely on specific features of a later kernel15:13
k_szegenii: oh...15:14
tMH~>unalias ls; ls15:14
tMH'test folder'15:14
tMHakik - didn't help much:/15:14
tMHls -la gives the same 'test folder'15:15
akiktMH: with that \ too ?15:15
tMHakik - I use tcsh:) ok, lemme try15:15
tMHakik - yes, the same ''15:15
tMHlemme run bash and try again15:15
tMHakik - same with bash - \ls -la15:15
tMH'test folder'15:15
tMHok, I'll ask ppl on #debian, which's closer to my system..15:16
akiktMH: sorry out of ideas15:16
scottjlDave114: flash support i believe.15:16
tMHor, I should try #gnu instead.15:17
tMHit's their "ls" at all:))15:17
tMHakik - thanks anyway!:)15:17
tMHl8rz all, be well15:17
Dave114scottjl, 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:21
Dave114scottjl, for chromium that is15:22
scottjlyes. but chrome has it built in, chromium doesn't. that's a difference.15:22
hateballPNaCL is only in Chrome as well15:24
hateballused in e.g the new google earth15:24
ash_workzbluetooth randomly wont enable :(15:25
ash_workzI wish there were tooltips or something when something is disabled to give you an idea of *why* said thing is disabled15:26
=== rypervenche_ is now known as rypervenche
EvilRoeyI get this error in the "debuild" step: https://pastebin.com/8SQTSFq715:30
EvilRoeytrying to build a package15:30
rfmonGetting kernel panic on my newly built PC, when trying to boot from my Ubuntu Server USB. Any Ideas?16:00
ikoniadepends how/why it panics16:01
ikoniayou normally get a clue from the last few lines, but often you'll need the full dump16:01
alkisgAnd it depends on how you made the stick; it might be bad software writing the grub/syslinux configuration there16:01
rfmonHmm. It starts with "Firmware Bug" related to AMD-Vi IOAPIC[17] and IVRS table.16:01
ikoniaI didn't notice it was booting from a stick16:01
rfmonI tried using dd and unetbootin. :)16:02
Lerzhi16:03
naccEvilRoey: why are you building a package that is in Ubuntu?16:07
EvilRoeynacc: because the zssh package has had this showstopper problem for the past year that prevents it from working16:09
EvilRoeynacc: and apparently this is fixed by doing a source code recompilation of the package16:09
EvilRoeyit's a library mismatch in the binary distribution16:09
naccEvilRoey: just a source code recompilation? no patching?16:09
ikoniathat seems unlikley16:09
EvilRoeyhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=76936616:09
ubottuDebian bug 769366 in zssh "zssh won't start: "out of pty's"" [Important,Open]16:09
EvilRoeyno patching.16:09
EvilRoeyat all.16:09
EvilRoeyit just works16:09
EvilRoeythis is frustrating that no one fixes it.16:10
naccEvilRoey: that's a debian bug16:10
naccEvilRoey: where is the ubuntu bug?16:10
naccEvilRoey: it's been rebuilt in Y, Z and A16:10
EvilRoeynacc: hmm, I mean considering how I'm on 17.04 and it wasn't fixed16:11
EvilRoeyhttps://stackoverflow.com/questions/25138596/zssh-cant-start-and-shows-out-of-ptys-when-start16:11
EvilRoeythat's another thread about this16:11
naccEvilRoey: where is the ubuntu bug?16:11
naccEvilRoey: SO is not an ubuntu bug.16:11
EvilRoeyYET I had it on all the machiens where I had deployed 17.04.16:11
EvilRoeythree so far16:11
naccEvilRoey: no bugs in ubuntu for zssh16:12
EvilRoeyhaha ok16:12
EvilRoeykeep believing that.16:12
naccEvilRoey: https://bugs.launchpad.net/ubuntu/+source/zssh16:12
naccEvilRoey: it's not a matter of belief. it's a matter of fact.16:13
naccEvilRoey: I don't use debuild (I use sbuild or dpkg-buildpackage in a lxd), but it appears debuild is giving you permission issues.16:13
leftyfbEvilRoey: 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
naccleftyfb: 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:14
EvilRoeynacc: it's fine, I built with sudo and it compiled fine16:15
ikoniayou don't build with sudo16:15
naccEvilRoey: uh, you don't need to build a binary package with sudo16:15
leftyfbEvilRoey: The takeaway being, if you are interested in getting it fixed in ubuntu, you could help out and file a bug.16:15
EvilRoeyleftyfb: ok, thank you for the clarification16:15
EvilRoeyleftyfb: sure16:15
naccEvilRoey: and doing so, means something is wrong16:15
EvilRoeythanks16:15
ikoniaif you need sudo to build - you have a problem and will probably introduce a security problem16:15
EvilRoeyikonia: didn't know that, thanks16:17
=== webuser5- is now known as webuser5224
Scoop7Ok I can't believe, but does w3m or does it not supports utf-8 characters???16:52
alkisgSure it does16:54
tfittsI'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 login16:55
tfittsis vsftpd pretty much the standard?16:55
nacctfitts: why do you want ftp?16:56
tfittswe 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 unfortunately16:57
tfittsI don't really want it per se16:57
rgb-oneAny 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.16:57
Johnson1977Thank you to guy that helped me earlier17:00
Johnson1977Works much bettern ow17:00
tyzoidHey, so I have a vps running Ubuntu, and it seems to crash a few seconds after it boots17:02
tyzoidThis is following a update/upgrade via apt-get17:03
tyzoidAny 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:03
linux_userhttps://pastebin.com/GzEhYbNb17:04
linux_userI tried getting rid of the “gnome-classic” but it made no difference and I am not an Xpert :)17:04
alkisglinux_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:08
linux_userok, 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:10
tyzoidIt looks like I can connect via ssh very briefly before the server goes down again17:11
tyzoidso I can pull a log from it - just not sure which one might reveal info17:12
thewillolinux_user, you know you can do x forwarding with ssh right?17:13
red-001test17:13
thewilloIt will run on the server and render on your screen17:13
tyzoidred-001: Message received17:13
thewillossh -XYC user@server.com17:13
linux_useryes, but that gives me my whole GNOME desktop?17:14
tyzoidYou'll need an X session running17:14
tyzoidah, nvm, you already have that17:14
linux_userI am logged in at home on the workstation and trying gain remote access to my desktop17:14
linux_userthat will do that?17:14
linux_userlet me see my entire current desktop or open a new one?17:14
thewillolinux_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 server17:14
linux_useroh17:14
thewilloIf you want the whole desktop use vnc over ssh tunneling17:14
red-001I wanted to see what this /amsg is17:14
thewilloyou don't need to ssh tunnel it, but it's not encrypted so it's better if you do17:15
tyzoidlinux_user: You should check your /etc/lightdm/lightdm.conf file, you probably have a different greeter for the remote seat17:15
linux_userwell, the issue is my desktop is not the same as I get when I login directly from the console17:15
tyzoidor different session17:15
linux_userthere is no greeter17:15
thewilloOh, I can't help you with that specific question17:15
linux_userdid you check out my pastebin?17:15
linux_userhttps://pastebin.com/GzEhYbNb17:15
thewillohope what I said helps a little17:15
tyzoidah, I didn't see that17:16
linux_userthis is what is being fired off when I start a remote session via VNC (which does work)17:16
linux_userI figured not, that’s why I reposted it for you to take a look at! :) Thank you too!17:16
thewilloyou should connect the vnc server to your main displa17:16
thewillohow are you creating the vnc server session?17:17
linux_userI connect via my Mac using vnc://ip17:17
thewillono the computer hosting the desktop you want access to17:17
thewillohow are you making vnc connect to the x session?17:17
thewilloand running vnc on that computer17:18
linux_usernot sure how to answer that17:18
linux_userI used an ansible script to install vncserver17:18
linux_userand its runx Xvnc417:18
linux_userrunx=runs17:18
linux_usernot sure how to answer your question really, as I don’t know what you are trying to find out from me17:18
thewilloI use x11vnc, and the command to plug into display 0 is x11vnc -display :017:18
thewillodisplay zero is usually your main display17:18
linux_userok17:19
thewillothe program you're using may be creating it's on x session for you to connect to17:19
thewillo*own17:19
thewillobut 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 time17:19
thewilloand then create a service for the script to run at the end of the boot sequence17:20
thewilloI forget how to create a service with systemd17:20
thewilloit'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 about17:21
linux_useroh17:21
=== kbrosnan_ is now known as kbrosnan
ioriathewillo, https://help.ubuntu.com/community/VNC/Servers#Have_x11vnc_start_automatically_via_systemd_in_any_environment_.28Vivid.2B-.2917:21
thewilloioria, cool thanks for the googling:D17:21
thewilloI'm not sure why I didn't google and give him a link17:21
thewillolol17:21
tyzoidOn my desktop, I have lightdm start up x11vnc17:21
ioriathewillo, np17:22
tyzoidbut that's because I use the multiseat features of lightdm17:22
thewilloyeah with linux there's almost always multiple ways to do something17:22
tyzoidAnyway, anyone have any ideas for the rebooting issue?17:22
thewillowhat's the issue tyzoid?17:22
tyzoidI've got a vps running 14.04, and when I boot it, it turns off within a few seconds17:23
tyzoidHaving trouble diagnosing why17:23
tyzoidand I can't seem to find a relavant logfile17:23
thewillotyzoid, do you have a managment console to help you fix it?17:23
tyzoidKind of...17:23
tyzoidI can boot it17:23
tyzoidand I have about 8 seconds of ssh17:23
tyzoidso I can pull a logfile17:23
tyzoidbut that's about it17:23
thewillothat's not a management console17:23
tyzoidthe management console only helps when the server is online17:24
tyzoidotherwise, it's just boot/reboot17:24
tyzoidbut I'm not sure what logfile to pull17:24
thewillosing 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 this17:24
tyzoidThat doesn't really help get this one online17:25
thewilloif you actually do it, let me know before and I'll get you a referral link that benefits me17:25
linux_userthis was the methodology I used to install it:17:25
linux_userhttps://rbgeek.wordpress.com/2015/03/18/installing-the-vnc-server-on-ubuntu-using-ansible/17:25
tyzoidThe issue started when I did an update and rebooted17:25
thewillotyzoid, yeah but many VPS offer stuff like that, so I'm trying to help the future you not the right now you17:25
tyzoidfair enough17:25
thewillodigital 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 fees17:26
thewilloand you get your first $10 free with no commitment17:26
thewilloalso, 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 it17:27
thewilloI was doing that for a while, but google cloud is cheaper17:28
tyzoidthewillo: Any idea for what logfile I could try to pull17:28
thewillotyzoid, no because I don't know where ubuntu keeps logs17:28
Speed_how can i get lib3ds-1.so.3 ?17:28
Speed_im missing the library17:29
thewilloI'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 use17:29
tyzoidthewillo: Same, which is why I'm having trouble with this :/17:29
Speed_or at least i think im missing it17:30
Speed_there was an arroro loading it17:30
Speed_error*17:30
thewilloSpeed_ have you tried compiling the library yourself?17:31
Speed_no, i dont know where to get it from17:31
Speed_or how to compile it17:32
ducasseSpeed_: it should be in lib3ds-1-317:32
TenukiBenI 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
TenukiBengoogling around, the recommendation is to delete my .ICEauthority file.  What does that do?17:32
Speed_it says no sutch file or directory17:32
ash_workzI 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
ducasseSpeed_: make sure the package is properly installed17:33
thewilloSpeed_, what version of ubuntu are you on?17:33
Speed_16.0417:33
Speed_im trying to run binvox17:33
=== zedde is now known as Varazir
thewillohttps://launchpad.net/ubuntu/+source/lib3ds/1.3.0-817:36
thewilloclick 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
thewillothat should give you what you need17:37
ducassewhy not just use apt?17:37
thewilloducasse, I assumed he tried that already17:37
ducasseSpeed_: did you try (re)installing the package with apt?17:38
thewilloalso, do fix any missing dependencies after you manually install it, you should run "sudo apt-get install -f" to check for and get them17:38
Speed_i didnt install it with apt, its just a linux executable17:39
ducasseSpeed_: i'm talking about lib3ds-1-317:39
thewillobinary linux packages should be staticly linked or their docs should have a list of dependencies17:39
Speed_no17:39
Speed_ill try that17:39
Speed_ok, it still says no file or directory17:42
ducasseSpeed_: what does?17:43
Speed_binvox17:45
Speed_https://paste.ee/p/x5I9017:46
ducasseSpeed_: tthat's another library now.17:46
naccSpeed_: that's a different lib.17:46
Speed_oh17:46
naccSpeed_: from freeglut3 i believe17:47
Speed_should i install that?17:47
naccSpeed_: if you want that library, I think so17:47
Speed_Thnak you it worked!17:48
tyzoidducasse: Would you have any idea about the server stopping after boot?17:50
ducassetyzoid: check the logs for messages17:52
tyzoidducasse: Which logs?17:54
tyzoidlast -x doesn't report a shutdown event17:54
tyzoidand I'm not sure what other logs might have relevant data17:54
ducassetyzoid: start with syslog and kern.log, i guess17:54
donalsdI 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:55
donalsdOr is it fine with 1?17:56
bilb_onoa .pem file is different than id_rsa and id_rsa.pub right? which is different from a .key file?17:57
compdocif the swap partition was seperate, you might be able to share it, but dont know that thatcauses issues17:57
blkadderbilb_ono Yes17:58
donalsdcompdoc: three different swap partitions17:58
bilb_onoblkadder: how do I generate .pem files? and .key files? not ssh-keygen then right?17:58
donalsdHow do I show a paste from my terminal?17:59
blkadderbilb_ono, Probably openssl17:59
akikdonalsd: just define the same uuid for the swap partition in each of your linux instances18:00
donalsdakik: Does having 3 swaps help in anyway?18:00
blkadderbilb_ono, It might be helpful if you describe what you are trying to accomplish and for what.18:00
akikdonalsd: no18:00
donalsdakik: So I am just removing those swaps, an 8 GB swap is enough I guess?18:01
bilb_onoblkadder: I can ssh into my computer at home from my current computer on a different network18:01
akikdonalsd: probably don't need that much swap18:01
bilb_onoI want to be able to run a jupyter notebook at home and access it on my browser here18:01
tyzoidhmm18:01
tyzoidI finally got it to start18:01
tyzoidsomehow18:01
blkadderbilb_ono, That is just done via ssh/ssh-keygen/etc.18:02
blkadderIf you want passwordless login18:02
donalsdakik: I got an 8 GB RAM, read somewhere that it's wise to use a Swap=RAM18:02
tyzoidthanks for the help ducasse: The logs revealed a large backlog of postfix mail trying to be sent on boot18:02
tyzoidI cleared that queue, and it seems to work now18:02
=== mpmc is now known as ``
bilb_onoblkadder: are you sure? here  http://jupyter-notebook.readthedocs.io/en/latest/public_server.html it refers to .pem files18:02
bilb_onomaybe those are for extra security18:02
=== `` is now known as mpmc
akikdonalsd: you don't want your system to start swapping that much18:03
blkadderhttps://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--218:03
bilb_onoblkadder: I think the issue is on the jupyter notebook. I can already log in via ssh18:03
donalsdakik: Alright, I will be turning those swaps to good use. An SSD swap is a better idea I guess?18:03
blkadderbilb_ono, Those instructions are related to securing web traffic.18:04
=== wedgie_ is now known as wedgie
blkadderWhich would involve certificates, pem files, etc.18:04
blkadderYou don't need that for just ssh.18:04
donalsdI 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:07
alkisgBoot from a live cd and resize with gparted18:08
donalsdalkisg: I don't lose my data though, I guess?  xD18:09
alkisgYes, resize doesn't erase your data18:09
donalsdalkisg: and does merging the swap with another partition on an HDD on the same computer with GParted cause any trouble?18:10
DJonesdonalsd: 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 risk18:10
donalsdDJones: Removing the swaps have data loss risks?18:11
blkadderIf you screw it up.18:11
scottjldonalsd: on a live system? yes. on a shut down system? no. but could cause difficulties if you're out of ram18:12
ducassedonalsd: if you want to merge partitions on two different drives you need something like lvm or zfs18:12
alkisgdonalsd: 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/fstab18:12
alkisgducasse: I believe he was talking about swap+the other partition on the same drive...18:12
ducassealkisg: he first said ssd then hdd, so i wondered...18:13
donalsd_ducasse: I went offline, could you type your earlier message? I can't see them18:14
ducassedonalsd: if you want to merge partitions on two different drives you need something like lvm or zfs18: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 partitions18:14
alkisgdonalsd_, yeah the question there was if swap+other partition were both on the HDD18:14
alkisgRight18: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:15
alkisgOK, just delete swap and then grow the other partitions18:16
anomalyfoxls18:41
=== jerichowasahoax` is now known as jerichowasahoax
=== Infra_HDC is now known as R2AMO
redvichope some here can help, did not find any on google18:55
redvicfirefox and chrome both refuse to open localhost:631 i can not open cups all it says is its not encrypted or secure18:55
rflemingGreetings!18:56
rflemingHow does one eliminate their DNS cache on 16.04?18:57
rflemingI've made some A record changes, but my machine still is pointing to the old address18:57
red-001nano > vim18:58
SuperSeriousCatWhat is nano?18:58
badet0ssi unit ?18:58
naccrfleming: does 16.04 use systemd-resolve?18:58
rflemingyeah18:59
naccrfleming: maybe `sudo systemd-resolve --flush-caches` ?18:59
rflemingi've tried reloading resolved18:59
naccred-001: not exactly ontopic for this channel.18:59
SuperSeriousCatGot dnsmasq installed?18:59
naccSuperSeriousCat: a text editor18:59
* rfleming facepalms18:59
rflemingnacc: ta!18:59
rflemingsome days you're the bug... other days you're the windshield.19:00
naccrfleming: yw, did it work? I know some people have reported some issues with it, in the past19:00
naccrfleming: with systemd-resolve's caching, that is19:00
rflemingnacc: compared to windows, it's a breeze...19:00
naccrfleming: :)19:00
rflemingnacc: it's just that I've been messing with A records, so what worked doesn't :)19:00
linux_userok19:22
linux_userI have done a lot of reading on gnome and vnc19:22
linux_userhere is what I wish to accomplish:19:23
linux_userI’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.0419:23
linux_usereither to=to19:24
Ben64use the screen sharing remote desktop or whatever it's called that's built in19:24
=== planigan_ is now known as planigan
alkisgI don't think any of the known tools gives access to the display manager screen, i.e. gdm, except for epoptes19:25
alkisgI'm using ssh + reverse vnc + epoptes' "export-display" to accomplish just that19:26
linux_userBen64: can you be a bit more specific as to what you mean?19:27
Ben64it's in the preferences or system admin section of the menu, it uses vino, super easy to hit the buttons and have it run19:28
linux_userwell, its not super easy for me as I have no clue what you are talking about19:28
Ben64try looking for it19:28
linux_userI 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_useror is there a command line variant I can run via SSH to set it up?19:29
Ben64easiest to do it while you're there19:29
linux_userI have SSH access19:29
linux_useroh okay19:29
linux_userwhat is it called, maybe I can find a how to on what you are talking about to use when I get home19:30
Ben64as i said, something along the lines of screen sharing, remote desktop19:30
linux_userok, thanks19:30
leftyfbBen64: "remote desktop" just uses uses vnc19:31
Ben64yep, that's the goal19:31
leftyfblinux_user: x11vnc will do what you're looking for19:31
Ben64to easily share :0 ?19:32
leftyfbyes19:32
leftyfbI use it all the time19:32
leftyfbx11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth /var/run/lightdm/root/:0 -usepw19:32
linux_userleftyfb: 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 me19:33
leftyfblinux_user: install it like any other package and run that line19:33
linux_uservia SSH or when I am in front of the machine?19:33
leftyfblinux_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 file19:33
leftyfblinux_user: either one will work19:34
leftyfblinux_user: https://askubuntu.com/questions/229989/how-to-setup-x11vnc-to-access-with-graphical-login-screen19:34
=== TheOneMenzie is now known as Menzador
linux_useronce sec - trying it19:35
linux_userI already had x11vnc installed19:35
linux_userI ran that line, let me try to connect to it19:35
linux_userand the survey say: 100% of the people surveyed said leftfb is the King and gets not one by two lollipops today! :)19:36
linux_userclearly it seems to have worked! :)19:37
akik!cookie | leftyfb19:37
ubottuleftyfb: Wow! You're such a great helper, you deserve a cookie!19:37
linux_userHey, 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:38
linux_userwhat is a .desktop file?19:39
nacclinux_user: i believe that is what describes a desktop icon19:40
linux_userah okay19:40
linux_userI see19:40
linux_userbut then that doesn’t start it up if I am not logged on yet, right?19:40
akiklinux_user: and the icons in the menus19:40
linux_userif I somehow make it a service its available before I login, yes?19:40
nacclinux_user: aiui, a .desktop file is not about starting it at login time or not19:41
linux_userleftyfb: 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
nacclinux_user: but yes, a systemd service unit can be made to run at startup (rather than at login)19:43
nacclinux_user: it sounds like you want a vnc server?19:43
linux_userthats what I want I think!19:43
linux_userisn’t that what this is?19:43
linux_userI am confused19:43
pedahzurI 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.0419:44
linux_userso, 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 remote19:44
akiklinux_user: the url that leftyfb has options to start the vnc server so that you don't need to login first at the server19:44
linux_userright but it uses upstart which I think is different from systemd which is used by Ubuntu GNOME, no?19:45
akiklinux_user: check out comment https://askubuntu.com/a/67697819:45
leftyfblinux_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 startup19:46
leftyfbnacc: x11vnc is a vnc server btw19:46
nacclinux_user: sorry, i hadn't read the whole scrollback19:46
linux_userleftyfb: ok19:46
nacclinux_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 so19:46
linux_userok19:47
linux_userhang on a second19:47
minimeclinux_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.19:48
=== Loshki is now known as oh_really
=== oh_really is now known as Loshki
linux_userleftyfb: I am curious about the difference between the two commands:20:05
linux_user1) x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth guess -rfbauth /etc/x11vnc.pass20:05
linux_userand20:05
linux_user2) the one you gave me (the auth stuff is different)20:05
linux_user2) x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth /var/run/lightdm/root/:0 -usepw20:05
akiklinux_user: did you run the 2) command? it writes the password into your home dir20:06
linux_userwell 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 file20:06
linux_userso, should I put the original one in the x11 service file or whats the difference between them?20:07
linux_user?20:11
jeffreylevesque_anyone here have experience enabling selinux on ubuntu?20:11
akiki'm not sure of the 2) command if you don't run it with sudo, you can't access /var/run/lightdm/root20:12
akikbut if you add it to rc.local, it gets run as root20:12
linux_usersomething is broken now20:13
linux_userok, got it started again now20:15
linux_userok, quick question:20:19
linux_useris there a way for me to change the resolution for the x11vnc version vice what is on the screen20:19
linux_userso the screen looks the same as it does now but the x11vnc uses a lower resolution?20:20
linux_userleftyfb: you still there?20:28
hehehehi20:31
hehehedoes ubuntu allways cointaints latest FF?20:32
heheheif not, its a security risk?20:32
akiklinux_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 server20:33
akiki.e. -geometry 1800x1000 open me that size window but the resolution is 1440x900 in it :(20:33
nemohehehe: yeah20:35
hehehenemo how I can update all packages installed from distro?20:36
nemohehehe: pretty sure ubuntu doesn't even bother w/ Firefox ESR20:36
heheheto their newest version20:36
nemohehehe: sudo apt-get update / sudo apt-get upgrade20:36
heheheESR?20:36
nemohehehe: https://www.mozilla.org/en-US/firefox/organizations/20:36
hehehewhat is ESR?20:36
nemohehehe: it's intended for corporations, but I guess it could make maintenance for old ubuntu versions easier - ubuntu doesn't use it AFAIK tho20:37
nemohehehe: I just linked you20:37
naccnemo: firefox updates to older distributions come from the security pocket (and gets copied to updates). So the same veersion is available on all releases20:37
nacce.g., right now, they are all at 54.020:37
nemonacc: yeah. that was my understanding20:37
hehehety20:37
nemonacc: you'd think using ESR would make things a little easier but *shrug*20:37
naccnemo: yeah, i'm not sure on the technical details, tbh20:38
hehehenacc mine is 4320:38
hehehe5320:38
nacchehehe: which version of ubuntu?20:38
linux_userYes, well the issue is my computer at home is 27 inches and runs at a high resolution20:38
hehehe14.0420:38
linux_usermy MacBook Pro is 15” and runs at a max of 1440x900 (so 1440x780 would work for me)20:38
nacc!info firefox trusty20:38
ubottufirefox (source: firefox): Safe and easy web browser from Mozilla. In component main, is optional. Version 54.0+build3-0ubuntu0.14.04.1 (trusty), package size 47722 kB, installed size 113458 kB20:38
nacchehehe: --^ do you have -security or -updates enabled?20:39
linux_userI’d like the resolution for the remote vnc to be different from that of the desktop20:39
linux_usermaybe I need a :1 instead?20:39
heheheI dont know, how can I check?20:39
nacchehehe: using desktop or server?20:39
hehehedesktoip20:39
hehehedesktop20:39
nemohehehe: yeah. 14.04 is still maintained. I'm on it myself. so you must have updates disabled or something20:39
hehehelubuntu20:39
nacchehehe: i'm not sure on lubuntu, but on others, you can see it in the gui under 'software & updates' ->  'Updates' section20:40
nemohehehe: Ubuntu Software Centre → Software Sources → Updates20:40
nemojinx20:40
nemonacc: I was doublechecking in my ubuntu 14.04 ☺20:40
nemohehehe: you can do it from Synaptic too if you prefer20:41
naccnemo: ah cool, thanks for confirming; i'm not sure if lubuntu exposes the same ui options?20:41
hehehein facts its 16.04 and updated are on20:42
heheheI just checked20:42
nacchehehe: ...20:42
hehehenemo yes how20:42
nacc!info firefox xenial20:42
ubottufirefox (source: firefox): Safe and easy web browser from Mozilla. In component main, is optional. Version 54.0+build3-0ubuntu0.16.04.1 (xenial), package size 48188 kB, installed size 113681 kB20:42
nacchehehe: have you updated all packages? where do you see that you are on 53.0?20:43
hehehein FF menu20:43
heheheabout FF20:43
hehehenacc updated how???20:43
hehehe:D20:43
hehehethats the question how to update then via cmd20:43
hehehethey suppose to auto update20:43
arooniis there anything like habit tracking from the command line?  something 42goals.com liek?20:44
aroonilike20:44
nacchehehe: you mean enabled unattended-upgrades?20:45
heheheyes20:46
heheheapt-get upgrade -y ?20:46
heheheupdate upgrade via croin20:47
hehehecron20:47
Scoop7is there a way to w3m -dump www.website.com    <---- without the header and footer contents ??20:47
heheheidea is ot upgrade packages not ubuntu version20:47
heheheto20:47
linux_userleftyfb: still there?20:52
nacchehehe: unattended-upgrades doesn't do release upgrades20:53
hehehekl21:00
hehehe54 now21:01
heheheafter apt-get upgrade -y21:01
akiklinux_user: you can actually use xrandr to change the resolution once inside the x11vnc session21:01
linux_useroh21:02
linux_userhow so?21:02
akiklinux_user: xrandr --output LVDS-0 --scale 1.333x1.20021:02
akiklinux_user: use just "xrandr" to get the display name (LVDS-0)21:02
akiklinux_user: and you need to find out the scaling factor according to your setups21:03
akiki seem to have a problem with the vnc client. sometimes i lose the keyboard input21:03
linux_userhow will it impact the main display though?21:03
linux_userwill it change that resolution or just the remote session?21:03
akiklinux_user: pretty sure it only affects the vnc21:05
linux_userand I use this command to do it: xrandr --output LVDS-0 --scale 1.333x1.20021:05
akiki got a 1920x1080 vnc window with that xrandr trick21:05
akiklinux_user: you need to use xrandr to see what LVDS-0 is in your system21:05
linux_usernot sure I understand21:06
akiklinux_user: when you have your vnc session open, run xrandr21:06
akiklinux_user: my native resolution on the server is 1440x900. so when i use --scale 1.333x1.200, i'll get a 1920x1080 resolution21:08
linux_usermy native 2560x144021:08
linux_usermy mac (that I am remoting from) is 1440x90021:09
hehehefolks is there an easy way to log all connections to  extrernal IPS?21:09
hehehethis way if there is a keylogger or something it can be easily detected21:09
heheheif list is checked against say FF history21:09
heheheor manually21:09
heheheas all kind of spyware needs to call hme21:10
hehehehome21:10
blkadderhehehe, The best place to do that is at your router or firewall.21:10
heheheyep21:11
blkadderBecause if your machine is infected connections may be masked.21:11
hehehemasked not masked they need to connect to an IP21:11
hehehemaybe setup firewall to ask each time extrernal IP is requested?21:12
blkadderWhat 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_userxrandr --output HDMI-1-2 --scale 0.55x0.8521:12
linux_userX 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:  0x3f21:12
linux_user  Serial number of failed request:  3721:12
linux_user  Current serial number in output stream:  3821:12
hehehealso https://pastebin.com/wChj2mDu21:12
hehehewhat ehat does it mean?21:13
nacclinux_user: use a pastebin in the future21:13
heheheI did not modified it21:14
nacchehehe: it gives you the option to view the diff21:14
akiklinux_user: i also added "-geometry 1920x1080" as an option to x11vnc21:14
linux_userit doesnt work21:15
linux_userall this work and vnc is too small to read21:15
linux_userits fine, ssh will work, all this vnc stuff just too complicated to be useful21:15
linux_userits not usable21:15
hehehenishanth thanks so + is new additions21:16
linux_usermy display is 2560x1440 and there is no way to get it to readably display in 1440x900, I get it21:16
linux_uservnc is nice I guess if the resolutions match but they dont21:16
akiklinux_user: don't give up. there are options that affect the resolution21:16
linux_userI tried what you said, I’ve spent hours working on it, I am just beaten down21:17
linux_userits too complicated21:17
akiklinux_user: and xrandr is able to modify the resolution on-the-fly21:17
linux_userI tried the xrandr and it just complained21:17
nacchehehe: yes, - is removals, + is additions21:17
linux_userit doesn’t work21:17
linux_userI tried your exact command21:17
linux_userthat failed21:17
linux_userthen I tried one that seemed to make sence for my screen, that filed21:17
linux_userfailed21:17
Scoop7what www client do prefer browsing the world wide web? lynx, elinks or w3m ?21:18
linux_userI don’t have time to keep hacking at something, I just want to use it21:18
linux_userI have work to do21:18
Scoop7wide world web*21:18
linux_userby this time I could have just driven to the stupid workstation21:18
linux_userI don’t know what I did wrong, I know zero about this, just trying whatever anyone tells me and its not working21:19
linux_userI am not 18, I cannot read such microscopic print21:19
linux_useris there a way to tell xrandr to use a specific resolution maybe?21:20
hehehenacc: ok I kept hitting enter now it says end, how do I get back to that choice dialog?21:21
hehehectrc -c? maybe it will terminate it? esc21:21
heheheecs?21:21
nacchehehe: it will open that diff in ,iirc, either EDITOR or LESS21:22
nacchehehe: if it's less, then just hit 'q'21:22
heheheq did work ty21:22
heheheand to select  new version press Y for maintainer version, right?21:23
nacchehehe: Y will drop any changes you have locally and take the version as-shipped by the package21:24
heheheso the + changes made by upgrading packages are called what?21:25
hehehecurrently installed version is one that is pre update right?21:26
hehehelanguage is a bit ambigious :D21:26
nacchehehe: ... well you had to be root to make those changes, so it's presumed you know how to administer them?21:26
nacchehehe: I can't parse your first question21:27
nacchehehe: currently installed version is ... the currently installed version?21:27
hehehethere is version before I run command to upgrade packages and after21:28
hehehethis dialog comes after upgrades21:29
nacchehehe: it comes *during* upgrades21:29
nacchehehe: not after21:29
heheheok during21:29
heheheso I want to enable all the + changes21:29
nacchehehe: but you don't want any of the - ?21:29
heheheI do want21:29
heheheI did review whole lot and its fine21:30
nacchehehe: so you are ok with dropping all your local changes to that file?21:30
nacchehehe: then take the maintainer's version21:30
hehehewhat are local changes?21:30
heheheoki cool21:30
nacchehehe: i'm sorry, i'm really not sure what's clear21:30
nacchehehe: let me start over21:30
hehehein my understanding - upgraded packages change list21:31
hehehemostly which app manage which  file ext21:31
ikoniachange list ?21:31
nacchehehe: 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
nacchehehe: i have no idea what you just said, but it doens't sound right.21:32
nacchehehe: upgrading packages changes the packages installed. Within a release that is typically fixing bugs.21:36
nacchehehe: i don't know why you mentioned file extensions21:36
heheheits too much infi dude21:37
ikoniahehehe: what is your actual problem ?21:37
hehehenone21:37
heheheI was curious thats it21:37
hehehewhat are those  packae list diff21:37
hehehepackage21:37
heheheto understand more21:37
ikoniapackage list diff ?21:37
ikoniawhat is that ?21:37
nacchehehe: what package list diff? that's not what you were asking about21:37
nacchehehe: you were asking about a config file change21:37
heheheeeee21:38
ikoniaeeee ?21:38
heheheok doe snot matter21:38
hehehenot21:38
heheheI can read about it online21:38
hehehehttps://askubuntu.com/questions/154906/which-default-list-should-i-modify-for-default-applications-and-what-are-the-dif21:39
heheheits a list that assign def app to each type of ext21:39
heheheso simple :D21:39
ikonia?21:40
hehehecommunication barried21:40
hehehebarrier21:40
ikoniahehehe: what is your native language ?21:40
naccikonia: ah, i see, hehehe was asking specifically about /etc/gnome/defaults.list21:41
naccikonia: not at all obvious to me21:41
ikonianacc: what has that got to do with updates ?21:41
naccikonia: 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 changes21:41
ikonianacc: ahhh, that part I didn't get21:42
naccikonia: yeah, neither did I -- not enough context to realize they had jumped from the prompt's meaning to the file in question21:42
Mo4_xi1_ge1_Ren2i have a toshiba satellite which doesn't have a CD nor DVD drive21:47
Mo4_xi1_ge1_Ren2i tried installing from an USB stick and it didn't let me install it21:48
Mo4_xi1_ge1_Ren2someone directed me to wubi21:48
Mo4_xi1_ge1_Ren2i tried to download wubi21:48
naccMo4_xi1_ge1_Ren2: i believe wubi is dead21:48
Mo4_xi1_ge1_Ren2all i have is the toshiba satellite downloading an iso file i already have21:48
Mo4_xi1_ge1_Ren2:(21:48
naccMo4_xi1_ge1_Ren2: when you booted from USB did you get prompted at all (e.g., by a grub menu, etc.)21:49
naccMo4_xi1_ge1_Ren2: is your laptop configured to boot from USB?21:49
Mo4_xi1_ge1_Ren2the USB installer booted up, but, the moment i started installation it crashed21:49
Mo4_xi1_ge1_Ren2many times!21:49
Mo4_xi1_ge1_Ren2nacc: i set it to boot from USB21:50
Mo4_xi1_ge1_Ren2the USB installer booted up, but, the moment i started installation it crashed21:50
naccMo4_xi1_ge1_Ren2: oh, that's different than "it didn't let me install it", to me21:50
naccMo4_xi1_ge1_Ren2: it did let you, it failed21:50
naccMo4_xi1_ge1_Ren2: what was the crash, if you know?21:50
hrustiI 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_Ren2reboot21:50
Mo4_xi1_ge1_Ren2(i guess)21:51
Mo4_xi1_ge1_Ren2that was many weeks ago21:51
nacchrusti: do you have a /boot/efi directory on your system?21:51
Mo4_xi1_ge1_Ren2i surrendered21:51
naccMo4_xi1_ge1_Ren2: a reboot is not exactly a crash21:51
naccMo4_xi1_ge1_Ren2: it's hard to help without more information (or a picture or something)(21:51
Mo4_xi1_ge1_Ren2nacc, it maybe didn't reboot, it maybe just crashed21:52
hrustinacc: no21:52
Mo4_xi1_ge1_Ren2can't remember21:52
=== juboxi is now known as jubo2
nacchrusti: then you didn't install ubuntu in UEFI mode (or are not booted into such an installation)21:52
nacchrusti: it's in BIOS mode (aiui)21:52
hrustinacc: but I chose "install ubuntu alongside windows 10"21:53
Budgie^Smorehi does anyone have a good example of a preseed late_command that modifies a file in the target filesystem?21:54
nacchrusti: in which mode were you booted at that time?21:54
hrustinacc: I am not sure what mode do you mean?21:55
nacchrusti: most machines you specify wehther you are in UEFI or BIOS mode (in the BIOS itself)21:55
nacchrusti: and/or it depends on which image you used to make your USB, I think21:55
Bashing-omhrusti: Literally running "[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS" will tell you if you're booted via UEFI.21:56
naccBudgie^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 target21:56
naccBashing-om: thanks, that was the path i was forgetting!21:56
hrustinacc: so you are telling me that I should use UEFI mode Ubuntu image?21:56
nacchrusti: first tell us what Bashing-om's command output21:56
hrustibad news21:56
Budgie^Smorenacc 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
hrustibios21:56
hrustiwhat now? Should I reinstall both windows and linux?21:57
naccBudgie^Smore: can you pastebin your preseed? what error do you get?21:57
Budgie^SmoreI am also having a problem setting the hostname correctly... I keep getting "unknown<random string>"21:57
Budgie^Smorenacc I am rerunning it now since it has been a couple of days since I last tried to troubleshoot it21:59
naccBudgie^Smore: ack, let me know if you see the problems still (which version of ubuntu are you trying to install as well)?22:12
Budgie^Smorenacc: 16.04 and I put the preseed file at http://www.teuton.org/~budgie/ubuntu/preseed/base.cfg22:13
Budgie^Smorenacc about 50% through doing the base install at the moment22:13
phoenixzIs 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
phoenixzI 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:19
phoenixzIt also shows in the mysql command line tool as well btw22:20
naccphoenixz: you haven't mentioned what exacty the huge issues are?22:20
naccphoenixz: 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 of22:21
phoenixznacc: fair enough :) I'll write them down22:22
phoenixznacc: 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
phoenixzI get a few characters (I think C] or something) in front of the command line22:23
phoenixznacc: 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 difference22:23
phoenixzBut I22:24
naccphoenixz: the mysql prompt, you mean?22:24
naccphoenixz: or do you eman runnnig `mysql ...` from the bash commandline?22:24
phoenixznacc: sorry, yes. The mysql command line interface22:24
naccphoenixz: that is, i would think, unrelated to the bash history22:24
phoenixznacc: No, mysql; then in there I run queries22:24
phoenixznacc: 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 issue22:25
naccphoenixz: your .bash_history file has that string at the top?22:26
phoenixznacc: I mean, both bash and mysql command lines both have the exact same issue22:26
phoenixznacc: correct. The .mysql_history file also has that at the top22:26
naccphoenixz: hrm, mine does not22:26
naccphoenixz: and i see no mention of such a special (and weird) string in the bash manpage22:27
naccphoenixz: where is that documented?22:27
naccphoenixz: that's a mysql history special string i think22:27
naccphoenixz: i have not heard of any such thing as 'history v2' in bash (unless you can provide a link)22:28
phoenixznacc: My bad, correct22:28
naccphoenixz: so why is it in your .bash_history? I think that will lead to odd results22:28
phoenixzI'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 bugs22:28
naccphoenixz: are you using special characters at all22:29
phoenixznacc: 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 issue22:29
naccphoenixz: 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 phenomenon22:29
phoenixznacc: 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 described22:30
naccphoenixz: you are doing htis all remotely on the servers over ssh?22:30
phoenixznacc: 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 constantly22:30
phoenixzyes22:31
phoenixzThough22:31
phoenixzyes and no22:31
phoenixzMy local dev machine is mint 18.2 and it has the same issue22:31
naccphoenixz: messing up constantly -- means reproducible and happens every time?22:31
phoenixzSince 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 forward22:32
naccphoenixz: can you provide some pastebins that show what you mean? a working and non-working case?22:32
phoenixzAh, and I found the same on a 17.04 machine I installed 2 days ago as well22:32
phoenixznacc: 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 shot22:33
naccphoenixz: your history being 'wrong' should not depend on your terminal at all22:33
glitsj16phoenixz: have you posted your bash history related settings yet? personally never encountered anything out of the ordinary with it, all on 16.04 machines22:33
phoenixznacc: 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 failed22:35
phoenixzbecause in reality I was editing from the beginning of the string, so the cursor was misplaced22:35
naccphoenixz: that doesn't sound like a history problem at all22:36
naccphoenixz: that sounds like a terminal issue22:36
phoenixznacc: Well, it is only one of the issues22:36
naccphoenixz: it is much easier to solve problems one issue at a time22:36
phoenixznacc: and all of these issues only pop up when I use the command line history22:36
phoenixznacc: 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 related22:37
naccphoenixz: that they all appear together does not mean they are related22:37
dlamhow can i display colors of a text file with ansi color things in it?   (they look like:  ^[[0;37m)22:37
naccphoenixz: that feels like a really big jump to make22:38
naccphoenixz: 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:38
naccphoenixz: or do all your issues only happen when you press up/down and your terminal gets into a bad state?22:39
glitsj16dlam: using echo -e ?22:39
dlamglitsj16 whoa that does it22:40
glitsj16dlam: that's not a mystery, echo needs that parameter to be aware of the codes22:40
glitsj16:)22:40
phoenixzargh, 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:41
phoenixznacc: 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:42
naccphoenixz: 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
phoenixznacc: 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 whatsoever22:43
naccphoenixz: a couple of times is a bit too vague to really debug22:43
phoenixznacc: arrow down22:43
Budgie^Smorenacc so I keep getting exit code 1 from my late_command before I reboot the system22:44
naccBudgie^Smore: you should be able to drop to a shell and debug it22:44
naccBudgie^Smore: iirc22:44
naccphoenixz: arrow down? you said scroll up22:44
Budgie^SmoreI am rebooting to look at the installer log22:44
phoenixznacc: 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 disappear22:45
Budgie^Smorenacc found a bug, trying again22:46
phoenixznacc: 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 typing22:47
naccphoenixz: i don't know how the mysql history works (again it's totally unrelated to bash's history)22:47
naccphoenixz: let me spin up a vm and see22:47
glitsj16phoenixz: have you tried making a terminal screenrecording yet? asciinema is in the repo's and looks made for issues like you're describing22:47
naccphoenixz: but what you are describing isn't history, history is for commands that have been22:47
nacc*have been run22:47
naccphoenixz: you want the history of stuff you *haven't* run?22:47
phoenixzglitsj16: I'll check asciinema22:48
naccphoenixz: also, this might all be controlled by your .bashrc22:48
naccphoenixz: as in you might have some odd setting there22:48
glitsj16which nobody has't seen a paste of yet22:48
phoenixznacc: 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 there22:52
phoenixznacc: just as an indication of the things I'm seeing here, not making this stuff up as I go :)22:53
naccphoenixz: how did you try to 'repeat the cat'?22:53
phoenixznacc: arrow up22:53
BischoopHi22:53
naccphoenixz: ok, let's stop using the terminal for this. Start a new session. Run `cat .bashrc`. Then run `history | tail -1`22:54
phoenixzglitsj16: nacc: http://paste.ubuntu.com/24966901/  I only removed a few "export" commands that have customer specific keywords, which really should not cause these issues22:54
phoenixznacc: this is on a server (over ssh) where I had that specific issue22:55
Richard_CavellThis 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
naccRichard_Cavell: that doesn't seem like a question for the support channel22:58
naccRichard_Cavell: use whatever distro you want?22:58
phoenixznacc: 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 command22:58
phoenixzand arrow up also shows it22:58
naccphoenixz: err, yes, sorry -2 is right22:59
naccphoenixz: so when you reproduce the issue that up arrow does not find something in your history, see if `history` shows it22:59
glitsj16phoenixz: nothing irregular in your ~/.bashrc by the way23:04
phoenixznacc: 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 again23:15
Budgie^Smorenacc 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:17
naccBudgie^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 bheaviors23:27
naccBudgie^Smore: as by default i think it's dash23:27
Budgie^SmoreOK 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:28
naccBudgie^Smore: have you tried dropping to a shell?23:30
Budgie^Smorenacc I just did and I see the directory created in the /target filesystem23:30
naccBudgie^Smore: i *think* you can run the in-target command from that shell23:30
Budgie^Smorenacc sweet that helps in debugging :)23:32
naccBudgie^Smore: yeah that would be my suggestion at this point23:32
Budgie^Smorenacc yeah I just was getting frustrated when I last looked at the problem that my normal troubleshooting tricks dropped out of my mind23:33
L00P3XGoodNightUbuntu.. 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 you23:48
Maynard420OK....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:52
CountryfiedLinuxhowdy23:53
Maynard420Sooooooo.... WTF?  I have searched forums for days now.23:53
CountryfiedLinuxHow 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
Maynard420Ello Country!23:53
CountryfiedLinux*certified23:54
naccCountryfiedLinux: because it takes time and money to certify hardware23:54
Bashing-omMaynard420: What options are you choosing to install with from the liveUSB ?23:54
CountryfiedLinuxnacc, Oh ok. I thought about buying a used Thinkpad but almost none of them are on that list.23:55
CountryfiedLinuxI had the impression that Intel-based was a pretty much fail-free path.23:55
naccCountryfiedLinux: generally, thinkpads are pretty well supported (especially the older ones). At least in my experience23:55
naccCountryfiedLinux: 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 box23:56
Maynard420Try w/o install.  DL 3rd party and updates. Erase disk and install ubuntustudio23:56
Maynard420in 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:56
Maynard420:(|)  <<< and this is my monkey23:57
Maynard420I'm trying to do it as starightforward as the install will allow.23:58
Maynard420I don't get it.  I have used this bootable usb with no issues countless times.23:58
Maynard420And I checked MD5SUMS and they're spot on.23:59
Bashing-omMaynard420: 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)23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!