/srv/irclogs.ubuntu.com/2017/08/02/#ubuntu.txt

kristhianoh i was running /exec -out command00:00
kristhiansorry00:00
kristhiani want to show tomreyn the output00:00
kristhianthat it says i need to 'sudo apt-get autoremove' some packages not needed00:01
foozb12Hey. Is there a simple way to see connected devices to my router & get the eth address? As far as I can tell, nmap is either not picking up the device -or- it's just not giving me the eth address00:04
foozb12I'm looking for something like 12.0.0.3 but all I get are our outgoing addresses00:05
foozb12Normally I would check the router itself but for some strange, strange reason, AT&T/Netgear decided not to include 'connected devices' on this particular one00:05
Jordan_Ufoozb12: Ping the broadcast address then run "ip neigh show" to dump your arp table.00:08
foozb12Jordan_U, thanks. That worked. Been googling for an hour haha00:10
Jordan_Ufoozb12: You're welcome.00:11
tharkunI want/need to build a bootable image of ubuntu on an 8GB usb dongle. I have currently installed Debian is it possible to do it from there or am I in need to get a working ubuntu instance?00:21
whatnowhello is this the place to ask about card reader scripts?00:37
madLyfeany good browser based ssh clients?00:40
whatnowmadLyfe why do you want a browser based ssh client00:41
madLyfeconvenience i guess00:42
madLyfehaving tabs seems nice00:42
whatnowthere are a whole bunch but i wouldn't trust them, since they go through other peoples servers00:42
whatnowalso, tabs if you are in an editor, or do you want to tabs just in general on commandline?00:43
madLyfewell like tabs instead of having many windows up(with putty).00:43
whatnowoh. okay like multiple sessions. i use either screen or a window manager. are you familiar with either?00:44
madLyfewell i use tmux when in a ssh connection. but that is only to one server. when i wanna ssh to another server and have them up i have to open another window.00:45
madLyfea windows, window.00:45
madLyfe:P00:45
whatnowokay,, tmux is just like screen. why dont you try a tiling window manager? i use i3wm, and i have 4 windows tiled behind this one currently.00:46
whatnowi am assuming you are on a linux distro..00:46
madLyfeno. im on windows. but sshing to a few ubuntu servers00:47
texlaUsing Samba as a storage device which version do you download00:47
whatnowmadLyfe, and you don't want putty as a client?00:47
madLyfewould be nice to manage them all from 1 window is what im getting at00:48
madLyfei want to be able to glance at them00:48
madLyfewhy i keep them up00:48
whatnowmadLyfe hmm i see, have you looked at firessh00:50
madLyfenope. only worked with putty so far00:51
whatnowit is a browser based ssh client in javascript, meant for firefox00:51
whatnowit is still in dev mode tho00:51
whatnowor what ive read00:51
whatnowhttp://firessh.net/00:52
madLyfety il will give it a look over00:52
whatnowon another note, madLyfe you mentioned that you had servers. what do you do with them00:53
madLyfethey are mining00:53
whatnowbitcoin00:53
whatnow?00:53
madLyfedecided to give nix a try. starting fresh with nix since a few days ago so im still a newb.00:53
madLyfenah, these ones are xmr00:54
whatnowhaha good choice on trying linux. what distro are you looking at?00:54
whatnowmadLufe what is the price of a xmr00:55
tharkunmadLyfe: tmux, screen will add multiple terminals to a single xterm or if you use gterminal will have a lot of tabs also :)00:57
madLyfewhat distro am i looking at?00:57
tharkunubuntu?00:57
madLyfe$43.70 right now: https://cryptowat.ch/kraken/xmrusd00:58
whatnowmadLyfe hmm. and yes like ubuntu, mint, etc00:58
whatnowso xmr is about the same as btc then00:58
madLyfeoh i thought i mentioned that. i put ubuntu server 16 LTS on there.00:59
madLyfewhatever is the most recent.00:59
madLyfeno. BTC is like $2700 or so currently00:59
madLyfeat that link i just posted you can browse around and see the prices of different coins00:59
whatnowlol i didnt see the B after 44.7301:00
madLyfetharkun: xterm = putty?01:00
whatnowi was looking at mkt cap saorry. yes btc is way more expensive. how easy is it to mine xmr01:00
madLyfedepends on the hardware. hardware is pretty expensive but there are calculators out there to let you know if its profitable or not.01:01
madLyfegterminal link, tharkun?01:02
whatnowhmm. i have a few servers that arent doing much, but from what i was told about btc, is that it isn't worth it if i dont have a  lot of servers. since cost of running, hardware, etc01:03
whatnowmadLyfe, how worried are you about your security?01:04
devslash2i edited /etc/defaults/grub and now when i boot i get an error cant find command recordfail. please press any key to continue. can someone show me their unedited version of that file01:05
whatnowmadLyfe is this something that you wanted? picture on top https://www.ocf.berkeley.edu/~ckuehl/tmux/01:05
devslash2im able to boot it up all the way so its really more of a warning than an error01:05
whatnowdevslash2 why were you editing grub01:05
Jordan_Udevslash2: Please pastebin your current /etc/default/grub and the contents of /boot/grub/grub.cfg .01:05
devslash2because i change the default timeout01:05
devslash2https://www.pastebin.com/Qs4agSix for /etc/defaults/grub and https://www.pastebin.com/CstSLcpY for grub.cfg01:08
whatnowdevslash2, just wondering, you did see that grub.cfg said no changes01:10
devslash2huh01:10
devslash2\what are you talking about01:10
devslash2i didnt edit that file01:10
whatnowokay good.01:10
Jordan_Udevslash2: Have you made any changes in /etc/grub.d/ at all? (You shouldn't have)01:10
whatnowmaking sure01:11
devslash2yes to 40_custom for windows01:11
whatnowdevslash, erase the grub_recordfail line01:11
devslash2and in 00_header i change quick_boot from "1" to "0"01:11
devslash2where01:11
whatnowin your defaults/grub01:11
devslash2its not in there01:12
whatnowyour error said it didnt understand that01:12
Jordan_Udevslash2: You shouldn't have changed 00_header . It appears that you have somehow made 00_header no longer define the function recordfail.01:12
devslash2what do i do01:12
Jordan_Udevslash2: First, lets make sure we know everything that you've changed related to grub. Have you used grub-customiser or anything similar?01:13
devslash2not recently01:14
devslash2long before this problem started01:14
devslash2ok i fixed it01:14
Jordan_Udevslash2: How did you fix it?01:15
devslash2changed the line that i modified in 00_header01:15
devslash2back to "1"01:15
devslash2ran update-grub and reboooted01:15
Jordan_Udevslash2: Great. In the future, don't ever change anything in /etc/grub.d/ . Even for custom menu entries I prefer creating a new file, /boot/grub/custom.cfg and putting them there rather than editing /etc/grub.d/40_custom .01:17
whatnow^ good idea01:17
=== Schnabeltierchen is now known as Guest34632
=== Schnabel1 is now known as Schnabeltierchen
devslash2what about 40_custom ?01:17
devslash2for now i want to remove the windows entry from there01:18
devslash2since i removed the windows drive and dont have windows ATM01:18
whatnowdevslash i just let os-prober handle that01:19
devslash2that didnt work when i did have windows01:20
devslash2it didnt show any output01:20
whatnowhmm ubuntu is wierd sometimes01:21
whatnowwell you can erase the entry01:21
Jordan_Udevslash2: Let's make sure that /etc/grub.d/ gets completely reverted just to be safe.01:21
whatnowyes that01:21
whatnow^01:21
devslash2well i think its back to the defaults now01:22
whatnowin the future, always save backups01:22
devslash2i reverted the 1 line i changed in 00_header01:22
Jordan_Udevslash2: Once you start these instructions, be sure to finish them. First, download the latest grub-common .deb file: "apt download grub-common"01:22
devslash2can you please paste the instructions01:23
devslash2i need to save them because i cant do it right now01:23
Jordan_Udevslash2: Sure, though it would be best if you could do it while I or someone else familiar with grub/ dpkg's --force-confmiss option is around.01:24
devslash2i appreciate it but i have to get going in a minute01:24
devslash2just so you know, i compared 00_header from a good source to mine and they are the same01:26
devslash2and the only other file in /etc/grub.d/ that i modified was 40_custom01:26
devslash2i checked by the timestamp of all the files in that dir01:27
devslash2once i get another ssd im gonna reinstall windows on it. i know that it'll overwrite grub. do i just boot from recovery dvd and reinstall grub at that point ?01:29
Jordan_Udevslash2: Even after installing Windows you should be able to enter your boot firmware ( "BIOS" ) screens and select Ubuntu to boot from.01:30
devslash2ok01:31
devslash2thanks01:33
Jordan_Udevslash2: You're welcome.01:34
Jordan_UWell, since I've done the work. In case anyone wants it here are some I believe pretty good instructions for reverting /etc/grub.d/ back to its default state: http://paste.ubuntu.com/25223684/01:40
Bashing-omJordan_U: ^ dome, copied off .01:49
Bashing-omdone*01:49
RJ45How do I  'ssh -X'   a program that's already running?02:11
Jordan_URJ45: I'm not clear on exactly what your goal is but I expect the only answer is to use something like VNC rather than ssh -X.02:16
RJ45holy shit, for years I've been using VNC, I just tried XRDP, it's a million times snappier!02:51
RJ45it's like, it feels real-time!02:51
RJ45woah!02:51
RJ45why is it so much better, when it's merely X hacked onto a windows protocol???02:52
RJ45wtf02:52
RJ45no seriously, I want to know why02:54
Jordan_URJ45: I would expect XRDP to be faster than ssh -X, but have you tried VNC with this same setup and confirmed that it's slower than XRDP?03:00
rypervencheRJ45: I've never had a problem with VNC even over an SSH tunnel. Although I will say what colors and speed settings your VNC client uses will GREATLY change your performance. I use the lowest color setting and fastest connection settings and I have no problems that way.03:02
RJ45Jordan_U: I have been using x11vnc server on this machine for years, it is slooooooooooooooowwww and locks-up sometimes03:03
rypervencheRJ45: And XRDP actually uses VNC on the Linux side, FYI.03:03
RJ45well that's really weird then03:03
RJ45I'm telling you, it is literally a million times faster03:04
RJ45and smoother03:04
RJ45omg03:04
rypervencheSounds like you may just be doing it wrong? I've been using x11vnc for years and it never fails me. But use what works for you.03:04
rypervencheRJ45: What VNC client are you using?03:04
RJ45regular VNC was almost unuseable03:04
RJ45remmina03:04
rypervencheOdd. That's what I use.03:04
RJ45but I've tried Vinagre too03:04
RJ45same03:04
RJ45also using remmina for RDP03:05
RJ45how do I get clipboard sharing working with XRDP via remmina?  (both Ubuntu MATE)03:06
RJ45hm, this article seems to confirm that despite it being a sort of VNC over RDP, it is indeed a-lot snappier  https://www.tweaking4all.com/software/linux-software/use-xrdp-remote-access-ubuntu-14-04/03:14
=== dan3wik is now known as dan2wik
histoWhat provides desktop sharing in ubuntu?  Which application is being called from the dash when it is launched?03:53
_hector_Hi. need someone who can tell me why removing 'xubuntu minimal' with tasksel ends up borking the network carf03:54
_hector_card03:54
histo_hector_: Can you elaborate on borking?03:55
_hector_fresh install of ubuntu server, needed a desktop, so installed the 'xubuntu minimal' option through tasksel, changed my mind and wanted to install lubuntu minimal, so removed the X from xubuntu minimal in tasksel.  after it was doing its thing, the network card was gone and not working.03:56
_hector_rebooted and still no network card.03:57
histo_hector_: How are you seeing that it's gone?03:58
histo_hector_: lspci?03:58
Jordan_U_hector_: I would generally not use tasksel for removing tasks. Do you have the ubuntu-minimal and ubuntu-server metapackages installed currently?03:58
_hector_it wasn't until after i tried to run an apt install and it wouldnt comm with the online repository that i ran ifconfig and didn't see the network card listed03:59
_hector_no, since it was a fresh install, i redid it but didn't choose anything for Open04:00
_hector_SSH04:00
_hector_but OpenSSH04:00
=== r0Oter is now known as r00ter
_hector_so for now its just server and openssh server, nothing else.  i was just curious as to why it would remove the nic during the removal of the xubuntu minimal.04:02
histo_hector_: it didn't remove the nic. just removed whatever you were using to configure the connection04:03
Jordan_U_hector_: Does "apt policy ubuntu-minimal" say that the metapackage is installed or not?04:03
_hector_histo: i see. so if i would've ran something like network-config, it would've reconfigured the nic?04:04
_hector_Jordan_U: i'm powering on the server right now04:05
_hector_my supervisor almost throws it away.  it's a Dell PE T110.  its nice for tinkering with linux.04:06
histovino was the package I was looking for earlier.04:08
_hector_Jordan_U: installed: 1.36104:09
_hector_just ran 'apt install xubuntu-desktop'04:10
lotuspsychjegood morning to all05:04
=== sins-_b is now known as sins-
cathodehi06:00
cathodei'm trying to force rename a network interface to a meaningful name but it's "not working" and i'm not sure how to look to see why it's not working06:01
cathodeusing ubuntu 17.0406:01
cathodehttps://www.punyal.com/2016/08/18/ubuntu-16-04-rename-a-network-interface/ <-- using this method06:02
=== Mittens is now known as MittensAFK
rsvAll of a sudden my Wifi Connections are not listed on my ubuntu  laptop. i need to reboot to fix the issue. i tried restarting the network from commandline shell and it makes no difference06:23
rsvcan anyone help me on this. whats the issue with wifi networks on ubuntu06:24
rsvUbuntu does not display any access points: please see: http://picpaste.com/pics/wifi-LHKPDEEX.1501654952.png06:24
=== MittensAFK is now known as Mittens
Jordan_Ursv: Please pastebin the output of "lspci -vv -k".06:36
rsvJordan_U: https://pastebin.ca/384987506:52
Jordan_Ursv: Odd that you're having problems with an Atheros chip. Does "sudo rmmod ath9k && sudo modprobe ath9k" get things working again?06:54
t2mknffprobe or avprobe which is better to use ?06:55
rsvJordan_U: no, its the same, Wifi networks are not listed06:55
Jordan_Ut2mkn: For most uses probably equivalent. I'd go with ffprobe as ffmpeg is better maintained than libav.06:56
rsvJordan_U: when i do that, I dont see "Enable Wifi" in the network applet06:56
saryyou may want to check rfkill status..06:57
t2mknJordan_U thanks.06:57
Jordan_Ut2mkn: You're welcome.06:57
rsvsary: 0: ideapad_wlan: Wireless LAN Soft blocked: no Hard blocked: no06:59
Jordan_Ursv: Please pastebin the output of "iwlist scan".07:02
rsvJordan_U: i think the interface is not listed. ifconfig -a does not show the wifi interface07:04
mrigHello07:04
rsvJordan_U: this happened after i did a rmmod and modproble07:04
rsv^modprobe07:04
Jordan_Ursv: Did either command produce any error message?07:04
rsvNope07:05
Jordan_Ursv: Please pastebin the output of "dmesg".07:05
rsvJordan_U: the dmesg shows full of error messages related to wifi07:06
rsvhttps://pastebin.ca/384988007:06
mrigI am trying to mount a system in chroot and need to mount some of the folders, can I have a little help with the nomenclature; I have this so far but my information source is a little out of date ... :~ http://sprunge.us/KXVJ07:07
mrigI am getting an error for the type field07:08
mrigOh this is from the fstab07:08
saryrsv: so the deive/driver crashes, when did this behaviour started ! which ubuntu/kernel version you're flyin'!07:17
saryIt's an odd bevaviour for an Atheros chip really..07:18
rsvI used 16.04 Ubuntu with the same results and i upgraded to 17.04 and i see the same results07:22
Jordan_Ursv: Looks like your dmesg paste expired. Please pastebin it again.07:30
=== jackNemrod_ is now known as jackNemrod
=== kostkon_ is now known as kostkon
limbo_What's the quickest way of getting a list of enabled PPAs, and manually installed packages on an ubuntu system?07:57
limbo_I'm setting up a new machine.07:57
lotuspsychjelimbo_: we dont support external ppa's here07:59
lotuspsychjelimbo_: or you want a list of the default sources?08:00
ducasselotuspsychje: apt-mark showmanual08:00
ducasselimbo_: ^^08:00
ducassesorry 'bout that08:01
lotuspsychjeno worries08:01
lotuspsychjelimbo_: if your goal is to install packages you like from current system to a new system perhaps try 'aptoncd' ?08:02
ducasseor apt-offline08:02
ducassei mean apt-clone08:03
mitmfhow can i install osmocom_fft?08:32
mitmfon ubuntu?08:32
=== Mittens is now known as MittensAFK
ducassemitmf: sudo apt install gr-osmosdr08:34
mitmfthanks ducasse :)08:34
mitmfhow can i install rfcat?08:40
ducassemitmf: type 'rfcat' on the command line, press enter and it will tell you.08:44
mitmfThe program 'rfcat' is currently not installed. You can install it by typing:08:44
mitmfsudo apt install dpm   ducasse08:44
ducassemitmf: that's it, yes08:44
mitmfthanks but why i can’t excute osmocom_fft command?08:45
mitmfducasse:08:45
ducassemitmf: don't know, what does it say?08:45
mitmfyou don’t know osmocom_fft?08:46
ducassemitmf: not at all, nor do i have any idea what it says when you try to run it on your machine08:46
mitmfok thanks :)08:47
ducassemitmf: if you tell me the error i'll try to help08:47
mitmfhttps://pastebin.com/8Qz9Qsvn  ducasse08:49
ducassemitmf: "FATAL: No supported devices found to pick from." - it can't find a device it supports08:50
mitmfthanks :)08:50
lotuspsychjemitmf: https://lists.gnu.org/archive/html/discuss-gnuradio/2015-01/msg00160.html08:51
mitmfok lotuspsychje :)08:52
mitmfsudo apt install dpm  ducasse <— but i want to remove dpm. then how can i do? ducasse ?09:04
lotuspsychjemitmf: if it can help, there is a #gnuradio channel also09:05
mitmfbut i want to delete dpm now lotuspsychje :(09:06
ducassemitmf: that will also remove rfcat09:06
mitmfsudo apt install dpm <— i install it with this command, but i want to delete it09:06
mitmfok09:06
mitmfsudo apt install dpm <— i install it with this command, but i want to delete it help me ducasse ?09:08
lotuspsychjemitmf: sudo apt purge your-package-name09:08
mitmfcloud?09:09
ducassemitmf: what?09:11
mitmfi wan to delete dpm, then how can i do?09:11
ducassemitmf: like lotus says, just replace 'install' with 'purge'09:11
mitmfoh :) purge means ‘delete’?09:11
ducasseyes09:12
mitmfsudo apt purge dpm  <— this command is correct? ducasse ?09:13
ducasseyes09:14
mitmfthanks :)09:14
=== jackNemrod_ is now known as jackNemrod
Xatenev_Hi09:28
lotuspsychjeXatenev_: welcome09:28
Xatenev_What is the best way to add a permanent static route?09:28
Xatenev_It seems there are a ton of different ways - some work - some didnt seem to work for me :p09:29
lotuspsychjeXatenev_: perhaps a question for ##networking ?09:29
Xatenev_lotuspsychje, Hm i dont think so?09:29
ducasseXatenev_: which ubuntu version?09:29
Xatenev_lotuspsychje, Its not really about the network part - but about which file in linux would be useful for this09:29
Xatenev_ducasse, sec09:29
lotuspsychjeXatenev_: ok09:29
Xatenev_ducasse, 16.04.1-Ubuntu09:29
Xatenev_ #49~16.04.1-Ubuntu09:30
ducasseXatenev_: then maybe /etc/rc.local09:30
Xatenev_ducasse, any link what I have to type in there?09:30
Xatenev_ducasse, I saw people writing /sbin/route but it doesnt work for me - I have to use sudo09:30
Xatenev_to do it09:30
Xatenev_Or does it work when I type it in rc.local and it won't ask me for sudo09:31
ducasseXatenev_: just add your command before the 'exit 0', and you don't need sudo -it's run as root09:31
Xatenev_ducasse, I will try it out09:31
Xatenev_have to restart my pc09:31
Xatenev_ducasse, brb!09:31
Xatenev_ducasse, hello09:33
Xatenev_it didnt work09:33
Xatenev_=(09:33
Xatenev_ducasse, I typed in: /sbin/route add -net 10.10.0.0/16 gw 192.168.0.19209:33
lotuspsychje!info ifupdown-extra | Xatenev_ can this help?09:33
ubottuXatenev_ can this help?: ifupdown-extra (source: ifupdown-extra): Network scripts for ifupdown. In component universe, is optional. Version 0.27 (zesty), package size 22 kB, installed size 96 kB09:33
ducasseXatenev_: did you add it before the 'exit 0'?09:34
Xatenev_ducasse, sure09:34
Xatenev_ducasse, http://termbin.com/9yl409:34
Xatenev_this is my /etc/rc.local09:34
ducasseXatenev_: hmmm. that should run after the networking stuff is up. how do you configure networking?09:34
Xatenev_ducasse, not sure what you mean09:35
ducasseXatenev_: are you using network manager or /etc/network/interfaces?09:35
Xatenev_ducasse, the latter09:35
Xatenev_i think so atleast09:35
Xatenev_LOl09:35
Xatenev_ducasse, no im sorry09:36
Xatenev_I used the network amnager09:36
Xatenev_but inside my /etc/network/interfaces I wrote `up route add -net ...` and it didnt work either09:36
Xatenev_Is it because I configured it with the network manager and it all won't work then?09:36
ducasseyou can't just mix and match, and that's not how /e/n/interfaces works09:37
Xatenev_thats super dumb btw09:37
Xatenev_:P09:37
Xatenev_dunno I read that in some tutorial09:37
Xatenev_that you can write it in there.09:37
Xatenev_ducasse, Any ideas how to solve it?09:38
ducasseXatenev_: you can't write it just as a command, but it can be a post-up of an interface stanza09:38
ducasseXatenev_: hang on09:38
ducasseXatenev_: try this - https://askubuntu.com/questions/885232/adding-static-route-in-ubuntu#88537209:39
Xatenev_ducasse, What is ifupdown-extra?09:40
Xatenev_ducasse, Does that make that I can mix file & network amnager?09:40
Xatenev_ducasse, My file isn't called network-routes but only routes09:41
Xatenev_I guess its the same though?09:41
ducassei'm guessing so, look at the contents09:42
Xatenev_looks okay09:43
Xatenev_Just have to find out what kind of subnet mask /16 is09:43
Xatenev_:D09:43
ducasseXatenev_: 'apt show subnetcalc' ;)09:43
Xatenev_ducasse, u still around09:49
lotuspsychjeXatenev_: he's afk for a while09:50
Xatenev_nooo09:50
Xatenev_:p09:50
Xatenev_usually I type in this: sudo route add -net 10.10.0.0/16 gw 192.168.0.19209:50
lotuspsychjeXatenev_: to get your issue solved, re-ask in this channel once in a while09:50
Xatenev_I did what ducasse said before and installed this network extra thing09:50
Xatenev_Then I edited /etc/network/routes09:50
Xatenev_It looks like this http://termbin.com/75b409:50
Xatenev_=> it doesnt work09:50
Xatenev_no route being added.09:50
Xatenev_route -n doesn't show any new route at all09:51
lotuspsychjeXatenev_: i suggest you try the ##networking channel, they are used to this every day09:51
Xatenev_ok09:51
doricowhen I send through the mail command in the bash from "user" , The recipient receive from : Ubuntu <user@hostname>10:14
doricoHow can I change the "Ubuntu" string ?10:15
doricois this anything relative to the user information ?10:15
BluesKajHey folks10:25
ducassedorico: that is picked up from the full name field in /etc/passwd10:30
limbo_Is there any simple way to get ubuntu to use a second drive as /home without doing all of the partitioning myself? I always screw something up if I do it manually, and will have to edit fstab and manually copy my home folder after the fact if I use the default ("install Ubuntu 17.04 on this disk") installation option.10:58
SchrodingersScatlimbo_: not as far as I know.  what do you normally end up doing wrong?11:04
oerhekssimplest way would be during install, choose 'something else' and use your mouse to switch /home/ to your 2nd drive11:05
oerheksor after install, https://help.ubuntu.com/community/Partitioning/Home/Moving11:05
limbo_SchrodingersScat: the first time, grub failed to install on my ssd for some reason. (I may have partitioned the drives wrong)11:08
limbo_oerheks: by using "change"?11:08
limbo_I'll probably follow that guide.11:09
limbo_Since I want to copymy home folder from another machine anyway.11:09
limbo_Is EXT4 still the suggested filesystem? Or, would another one be better for general use on either an ssd or hdd?11:10
hateballIf you need to ask, ext4 :)11:10
limbo_I'm aware of advantages to other filesystems, but my concern is losing data.11:12
hateballwell if your afraid of losing data, then keeping backups is a good idea11:13
hateballyou're* (lack of coffee)11:13
SchrodingersScatlimbo_: there's a lot of personal preference here.  I use ext4 for my / because it's easiest with the install.  I use a zfs raidz for a local copy of things I need, and then duplicity for offsite backups.11:14
limbo_SchrodingersScat: I mean between the options I get at install time.11:27
A[D]minSHi guys!11:51
A[D]minSanyone alive for a question regarding VNC11:51
=== jackNemrod_ is now known as jackNemrod
oskiehey, xenial introduced some feature that automatically does 'apt-get update' at a random time during the day. Is there a way to schedule this command? I run my own apt-get mirror so there is no negative impact12:10
scottjloskie: https://unix.stackexchange.com/questions/315502/how-to-disable-apt-daily-service-on-ubuntu-cloud-vm-image12:14
oskiescottjl: nice, thanks12:14
scottjldisable it and throw your own schedule into cron12:14
c06hi all12:18
c06ubuntu vm will /etc/fstab in resume state.??12:18
c06becoz facing issue in mounting network using /etc/fstab in vm resume12:19
c06**mounting san12:19
scottjlis there a question in there?12:20
Koopzeyyy... i've got some kind of problem over here with my dpkg/apt-get ...i tried to upgrade jenkins but the upgrade fails in the process due to it finding "an incorrect Java version". apt-get now reports there's an incomplete install or remove and i can't install/remove anything until that thing is resolved12:21
Koopzi can't even remove jenkins due to dpkg failing to configure jenkins12:22
=== foddo is now known as moofy
c06i am mounting san lun in my ubuntu VM using fstab, i halted the vm and started it, but i am unable to find the networkfolder12:24
scottjlc06: you need to remount it12:24
scottjlc06: or throw it into automounter and have it mounted on demand12:25
c06but /etc/fstab i mentioned the uuid and location12:25
=== moofy is now known as foddo
scottjlif it's a san mount. you're going to lose it when you suspend the vm and it comes down. resume won't remount it12:25
c06scottjl: ty what about NFS.?12:26
scottjlyou're going to have the same issue.12:26
scottjlc06: https://help.ubuntu.com/community/Autofs12:27
c06scottjl: i need to do manually any option to automate.?12:27
c06scottjl: ty dude. this is the one i am looking for12:27
scottjlno problem12:28
c06scottjl: if i configure with autofs resume operation also it will mount, whenever i access it12:29
scottjlc06: it should.12:29
scottjlc06: obviously your network needs to be up and the host available12:29
c06nice dude and ty.. host means SAN or NFS.?12:30
scottjlsuspending vm's can be wonky some times though. because the system doesn't really know it was suspended.12:30
scottjlthe san12:30
scottjlyou can't suspend. go somewhere else where the san isn't available, resume, and expect it to work12:30
c06ok i will make a try.12:31
Koopznot even dpkg --remove --force-remove-reinstreq jenkins removed the package12:31
scottjldpkg-reconfigure jenkins ?12:33
Koopzjenkins is broken or not completely installed12:34
scottjlapt-get purge jenkins12:34
Koopzpre-removal-script return error code 112:35
scottjlya you're going to have to rip that out by hand12:35
Koopzffs12:35
Koopzany good link to the steps that need to be done?12:36
scottjlhave you tried apt-get -f install ?12:37
Koopzpost-validation-script returned error code 112:37
scottjldoes it give you the path to the script?12:37
Koopznope12:38
scottjlapt-get install --reinstall jenkins ?12:38
Koopzhttps://gist.github.com/Koopzington/4732005f877bfe8b2c730e9cfbabca3c12:39
Koopzsorry for german locale :P12:39
scottjlrm /var/cache/apt/archives/jenkins_2.72_all.deb12:39
scottjlapt-get install --reinstall jenkins12:40
scottjlsee if that fixes it12:40
Koopzsame output12:41
Koopz'cept that the package got downloaded again of couse12:41
pankaj_Sometimes while I turn on my wifi it does not shows any connection even though my home connection is on. So I have to restart my Laptop. What should I do to resolve it?12:42
=== jackNemrod_ is now known as jackNemrod
scottjlKoopz: ok. so dpkg -x /var/cache/apt/archives/jenkins*.deb /tmp/jenkins12:44
scottjlgo into /tmp/jenkins and try and find where that script is12:45
scottjlthen find it in your file system12:45
scottjli'd try sticking "exit 0" at the top of it.12:45
solarshey, if I have installed ttf fonts and fc-list lists them, how do I generate a fontline to be used with .Xdefaults (urxvt)? Somehow xfontsel does not list them12:45
scottjlthen do apt-get purge jenkins  and see if it will get purged out12:45
Koopzscottjl, am i supposed to find those pre-, post- and other scripts in /tmp/jenkins?12:47
scottjlyep12:47
scottjlthat should have exploded the .deb into /tmp/jenkins12:47
scottjlyou're going to have to do some hunting around12:47
Koopzthere's no script in there... only default configs for logrotate.d, init.d and a war file12:48
Koopzall other folders are empty12:48
scottjlthere's gotta be an install script in there somewhere12:50
scottjlit might not be titled "install script"12:50
Koopzcould it be located in the war file?12:50
Koopzon the other hand... there's got to be a script telling ubuntu to unpack the war at some point12:51
scottjlmaybe. i don't have the .deb to poke through myself (and really no time to get it, sorry)12:51
madLyfeanyone recommend a good android ssh client?12:54
madLyfeJuiceSSH comes up first.12:55
scottjl+1 juicessh12:55
Koopz+112:55
madLyfeso if i want to connect via ssh from outside my network what does the addy look like?12:59
scottjlit would probably look like the address from your router/firewall. and you'd need a port forward to your server12:59
madLyfe1 port per server?13:00
jntmewhat is the difference between service and systemctl?13:00
jntmejust searched 20 minutes for a service in systemctl and found it now under service13:01
scottjlmadLyfe: you need to make port 22 from your server available to outside your network.13:02
scottjljntme: service is for init scripts, systemctl is part of systemd. they both handle starting services, but differently.13:02
jntmescottjl thx :) I just ask my self why there are so many ways to manage services on every platform13:05
jntmekind of annoying13:05
scottjljntme: because every few years someone comes along and thinks they can reinvent the wheel "better" and creates yet a new method that gets tacked ontop of the old ones.13:06
jntmescottjl awesome13:06
scottjljntme: i expect in another 10 years or so someone will come up with yet another method and add that to the mix13:07
jntmeserviceeeees IN THA MIX13:07
scottjlyou can't get rid of the old ways because there is a lot of software that isn't (or won't be) updated to the latest method13:08
jntmeI see13:08
jntmenot that bad after all13:08
scottjlso we have system v init scripts, service scripts and now systemd.13:08
jntmethe 'newer' soutions will be better somehow I guess13:08
scottjlthat depends on who you ask13:09
jntmeso systemd is the most actual one?13:09
madLyfechecking for updates is just sudo update?13:09
scottjlsystemd is the most recent. a lot of stuff doesn't support it yet13:09
scottjla lot never will13:09
jntmemke13:09
jntmescottjl thx a lot for clearing that up13:10
scottjljntme: https://askubuntu.com/questions/903354/difference-between-systemctl-and-service13:10
=== aps_ is now known as aps
mitmfcmake ..    <— what it means?13:22
oerheks!info cmake13:23
ubottucmake (source: cmake): cross-platform, open-source make system. In component main, is optional. Version 3.7.2-1 (zesty), package size 2899 kB, installed size 15362 kB13:23
mitmfoerheks: what you mean? i have no idea13:24
mitmf:(13:24
mitmfhttps://github.com/miek/inspectrum/wiki/Build13:24
scottjlmitmf: try "man cmake"13:24
oerhekswe usually don't use cmake, just make https://help.ubuntu.com/community/CompilingSoftware#Compiling_the_Package13:24
mitmfNo manual entry for cmake13:24
scottjlthen you need to install it13:25
mitmfscottjl: how?13:25
oerheksif it is not installed, no man page logically13:25
scottjlapt install cmake13:25
mitmfthanks13:25
mitmf:)13:25
scottjlit's a program for compiling software13:25
oerhekserr compiling software and not been able to find such info ??13:25
TsakNorrisi have question.13:25
mitmfhttps://github.com/miek/inspectrum/wiki/Build   <—— why guy make build folder?13:26
scottjlcmake is sort of a precursor. it builds what you need to build.13:26
TsakNorrisWhere i find file for adduser command? im interested generated folders what it does13:26
scottjlhe's having it build the needed files into the build directory13:26
scottjldifferent platforms need different files to make the software13:27
TsakNorrisi want to delete all files and only make empty home folder what is accessed by default with GUI13:27
TsakNorrisuseradd will do what i want, but is too barebone. adduser does too much :D13:28
mitmfcd build —> cmake ..   : they move to build folder, then what is next?13:28
scottjlwell from the page you gave: make, sudo make install13:29
scottjlyou should be following "building on debian-based distros"13:29
TsakNorristhe problem is that, folders are created only after new user is first time logged in. before that you can't find them13:32
scottjlTsakNorris: and a lot of those folders have config files that are set up with specific user information when they are created. so making skeleton files would be a bit of work13:33
TsakNorrisscottjl: hmmm... i like skel folder that everything you add there will come to new users, but Desktop,Downloads plaaplaa all folders are made before SKEL so maybe i just stick to my old plan and try to remove them with BASH script afterward :/13:35
scottjlwhy are you worried about removing them?13:37
TsakNorrisscottjl: well i have done own clock card machine what generates users and give them contract times plaaplaa. people log in with my linux before start working :)13:40
TsakNorrisi think i just figured something out. i will approach this problem in different way :D. Thank you anyway :)13:41
jimbjuHi, is there any official landscape channel?13:44
BluesKajjimbju, there is, but only a few people there13:49
jimbjuBluesKaj: It's this one #landscape ?13:50
BluesKajyes13:50
t0th_-_how i can solve loop login screen ?13:51
jimbjuit doesn't seem very official :)13:52
grimmheret0th_-_: actually I had the same problem when I installed ubuntu budgie13:52
grimmhereI wish I could remember how I fixed it13:53
t0th_-_i am using 17.0413:53
grimmhereyeah me too13:53
grimmhereoh I remember.. it was actually in virtualbox and it was due to 3d acceleration13:53
grimmhereso I just switched it off13:54
grimmherebasically if you have a login loop, it probably means there's something wrong with your xserver13:54
imbezol_i'm finding that videos are choppy when there's movement. anything i can check to try to make them smoother?14:03
imbezol_youtube, specifically14:04
imbezol_tried firefox and chrome14:04
lobocodeHi guy's! I need help with this script: https://pastebin.com/raw/Z4yrwfVu How to fix this?14:10
shayrhi all14:14
shayris it possible to use rsync to migrate a server while booted or do i need to boot both servers into some kind of rescue environment?14:14
reedjcOn ubuntu 14.04 I have a Western Digital My Passport 4TB USB disk that tries to be /dev/loop0. parted says it is:14:16
reedjcModel:  (file)14:16
reedjcDisk /dev/sdb1: 1447MB14:16
reedjcI can use it with ubuntu 16.04 though and mount the ext4 fs that is on it.14:16
reedjcWhy would this say "loop" ...?14:17
reedjc$ sudo mount -t ext4 /dev/sdb1 /bigdisk14:17
reedjcmount: wrong fs type, bad option, bad superblock on /dev/loop0,14:17
scottjlwhat is it formatted as? i'm guessing exfs14:17
jamie_1hey guy, im having some issues with my accessibility settings for some odd reason the visual alerts on on but they are not actually working14:18
scottjlexfat sorry14:18
reedjcWow this is not a device:   -rw-r--r-- 1 root root 1447034880 Aug  1 16:14 /dev/sdb114:18
scottjlreedjc: i'm guessing your drive is exfat and 14.04 isn't handling it because you don't have exfat drivers installed14:18
jamie_1when it comes to accessibility settings im not sure how they are actually playing with the system and how to look into seeing why the visual alerts are not longer working14:20
reedjcHa ha. That is so odd. So I moved the bogus file out of the way. Unplugged and plugged the USB disk back iin and a real device appeared:14:22
reedjcbrw-rw---- 1 root disk 8, 17 Aug  2 09:20 /dev/sdb114:22
reedjcAnd now I can mount the 3.4TB disk (lost half advertised terabyte)14:22
scottjlthat seems like a lot.14:23
reedjcscottjl  thanks for the reply, lucky that was not it14:23
scottjlreedjc: no worries. hard to guess on limited information14:24
reedjcack14:24
bipulIf i have to reset the password for root. What shell i type inside GNU Grub - ?14:37
bipulrd.break console=tty1 is sufficient? to get me into switch_root?14:37
EriC^^bipul: yeah, you can also try "init=/bin/bash"14:40
bipulEriC^^: Thank you.14:45
EriC^^no problem14:45
jdfishjust a heads up, ubuntu.com is giving "503 Service Unavailable" error14:50
LangleyHi, does anyone use the "Install security updates automatically" option? It doesn't seem to work on my machine15:05
pavlosjdfish: seems to be working now15:10
jdfishpavlos: just checked, yeah, it is. thanks to whoever fixed it :)15:11
alazyworkaholicI haven't been able to browse when I moved my desktop to a new LAN but I can ping 8.8.8.8. The LAN gateway runs on 192.168.6.1  /etc/resolve.conf shows "#Generated by Network Manager\name server 192.168.1.1 I suspect this is a problem. How to fix, so I can move between LANs?15:15
leftyfbalazyworkaholic: set your network manager connection to dhcp and make sure your browser isn't configured for any proxies15:16
=== Nothos is now known as Nothos[away]
alazyworkaholicleftyfb: thanks. It was dhcp, already. Network Manager has been spamming me after logging in with "an internal error has occurred messages". I'll try upgrading.15:21
leftyfbalazyworkaholic: what version of ubuntu are you running?15:21
rflemingGood morning!  How do I get driverless to search across a domain?15:26
rflemingright now it's listing printers on the domain .local15:27
rfleming(and not showing all available printers)15:27
=== Nothos[away] is now known as Nothos
arooni_team_bhow can i detect via the command line that i'm connected to a vpn?  i'm using vpn unlimited's client which uses openvpn as a backend15:35
aotaointbinarooni_team_b: `curl ifconfig.co`15:36
arooni_team_bwell that just tells me my ip address isnt what it normally is15:37
arooni_team_bbut what is a 'normal' ip address15:37
aotaointbinwat15:37
aotaointbinit tells you your public ip address.15:37
leftyfbarooni_team_b: ifconfig tun0 &> /dev/null && echo -e "\033[1;32m" "-- VPN is active --" "\033[1m" || echo -e "\033[1;31m" "-- VPN NOT is active --" "\033[0m"15:37
leftyfbarooni_team_b: ifconfig tun0 &> /dev/null && echo -e "\033[1;32m" "-- VPN is active --" "\033[1m" || echo -e "\033[1;31m" "-- VPN NOT active --" "\033[0m"15:38
Xatenev_Hello15:39
Xatenev_is there any possibility to clear the terminal screen when inside tail -f15:39
leftyfbXatenev_: no. Why do you need it?15:39
BluesKajaotaointbin,  I use this to find which IP my VPN is connected, wget http://ipinfo.io/ip -qO -15:39
Xatenev_leftyfb, well it would be handy because i have my error log constantly open15:39
Xatenev_leftyfb, and when I wanna look for a specific err I'd love to not have the tons of error history15:40
arooni_team_bleftyfb: thanks;  how do i tell which interface is vpn?  is it tun0 salways?15:40
leftyfbXatenev_: you could look into multitail. I'm not sure if there's a clear function, but if you hit enter, it does add in a clear delineation15:40
Xatenev_multitail15:40
Xatenev_never heard of that15:40
* Xatenev_ googling15:40
leftyfbarooni_team_b: not sure. Look at your setup15:41
the_kdid ubuntu ever make a decent build for a phone?15:41
the_kmr ubuntu15:41
leftyfbthe_k: There is no longer any ubuntu phone development. It's an offtopic discussion now.15:41
=== shayr is now known as KimJungIll
=== KimJungIll is now known as shayr
Xatenev_leftyfb, I think this is actually exactly what i needed15:42
Xatenev_leftyfb, thank you15:42
leftyfbDoes anyone know how to properly redirect output from a systemd unit to a specified log? I'm not looking to use journald at all.15:43
=== shayr is now known as DonaldTrump
mitmfhow can i delete osmocom_fft?15:44
=== DonaldTrump is now known as Guest18376
leftyfbmitmf: just like any other package. How did you install it?15:45
=== Guest18376 is now known as shayr
mitmfyeah, but i don’t know package name.15:45
leftyfbmitmf: how did you install it?15:47
arooni_team_bhow do i change the name that deluge runs as15:47
mitmfleftyfb: oh preinstalled15:47
leftyfbmitmf: it's not preinstalled in the default ubuntu installation15:47
leftyfbmitmf: gr-osmosdr is the package name15:47
leftyfbmitmf: I used apt-file to find it15:48
leftyfbarooni_team_b: huh?15:48
mitmfoh then sudo apt-get purge gr-osmosdr ? ok?15:48
leftyfbmitmf: try it15:48
arooni_team_bleftyfb: if i can make deluge run not as my current logged in user; its easier to route the traffic via my vpn exclusively15:48
leftyfbmitmf: you need "remove" in there15:48
leftyfbarooni_team_b: su -c "/usr/bin/deluge" usernamegoeshere15:50
hehehehey hey15:50
arooni_team_bleftyfb: id need to create that new user first right;  should it have a home directory?15:50
mitmfsudo apt remove gr-osmosdr   ok leftyfb ?15:50
hehehewhat would be a neat way to mass replace a text string in a file with an another string15:50
leftyfbmitmf: try it15:51
leftyfbhehehe: sed15:51
leftyfbhehehe: or vim15:51
heheheI mean mass replace recursively15:51
hehehein all files15:51
leftyfbhehehe: sed15:52
nacchehehe: find and sed15:52
=== Piper-Off is now known as Monthrect
=== Monthrect is now known as Piper-Off
mitmfi got it leftyfb :)15:52
hehehelike find . -type f -exec sed -i 's/foo/bar/g' {} +  also can work?15:52
leftyfbhehehe: sounds like you already know how to do this. Test it15:53
ppwhow do I image a fresh-installed Ubuntu partition and apply it to other devices?15:54
hehehewell yes i can back and test true15:54
leftyfbppw: https://help.ubuntu.com/community/DriveImaging15:55
ppwdd? is it really that simple?15:57
leftyfbppw: yes15:58
leftyfbppw: there's other tools like clonezilla you could look into15:58
mitmfFound PkgConfig: /usr/bin/pkg-config (found version "0.29.1")15:58
mitmf-- Checking for module 'gruel'15:58
mitmf--   No package 'gruel' found   <— what’s wrong?15:58
ppwleftyfb: bwahaha this is awesome. the era of waiting Ubuntu to install and update on slower devices is over.15:58
hggdhmitmf: it means you are missing the development package(s) for this gruel16:11
mitmfok thanks hggdh :)16:12
hehehefind /home/ubuntu/dir -type f -exec sed -i 's/spring/spring1/g' {} +    this works however what do I do when text string is https://16:14
heheheit seems those extra // confuse command16:14
hggdhmitmf: a quick search suggests gruel-dev is no longer available16:15
mitmfok thanks hggdh :)16:15
hehehesed: -e expression #1, char 5: unknown option to `s'16:15
geirhause a different separator for the s command, e.g. instead of s/foo/bar/  you can write  s,foo,bar, or s|foo|bar|16:16
hehehecool ty16:17
geirhaso pick a character that won't exist in the pattern or replacement16:17
heheheI see16:17
donofrioWhat do you folks use for Corp Web Search crawler appliance/project?16:30
=== imbezol_ is now known as imbezol
lobocodeHi guys, Is there any way to remove a user while reboot the system?16:43
tewardlobocode: "remove a user while reboot the system" - you mean like at boot, issue a command to delete a user?16:47
tewardat *every* boot?16:47
lobocodeteward: Only in the next bot once.16:49
lobocodeteward: Exactly, a command to exclude the user.16:50
lobocoderemove, delete...16:50
tewardlobocode: 'remove', not 'exclude'.  The only way I know to do this would be a script, which I would probably have pushed down by remote management, first step delete user forcefully, second step reboot.16:51
nemoheh. my coworker is still so super overjoyed at how well 14.04 works compared to the horror show that was 16.04, came by my cubicle to marvel at the fact that he was able to close his laptop lid, go home, come back, and have the machine start and not have a corrupted HD16:53
nemoand touchpad "just working"16:54
nemohe's busy installing MATE and being very happy16:54
hehehe:)16:54
nemothank goodness 14.04 is supported until 201916:54
hehehefind . -name "file*" I get matches but for dirs16:56
hehehedo I need to add -f ?16:56
hehehefind . -f -name "file*"  ?16:56
nemo-type f16:57
nemohehehe: . is implied in GNU find btw16:57
nemoI suggested my coworker file a launchpad bug detailing 'sactly how hard more recent releases failed on him, but he didn't think he'd be able to keep his language under control ☺16:58
ignacioHello o/17:03
ignacioAnyone knows why htcacheclean is not cleaning the cache?17:03
ralph_hi all17:20
=== ralph_ is now known as RalphBa
RalphBashort question, how can I add cryptsetup to initrd?17:24
theoshi17:34
ZythyrNeed help. I setup a LAMP server on Ubuntu 14 LTS. I change teh configurations of the roo directory so it points to /home/my_username/www. Eveyrhting works, but when I point the browswer to "localhost", it gives me persmission error. Do I need to fix some permissions?17:51
nemoZythyr: typically you need +x on all dirs up to www17:52
nemoZythyr: since otherwise apache can't even switch to that dir to read it17:52
nemo+x for whatever user/group apache is in17:52
nemoor world17:52
Zythyrnemo So does this mean I do "sudo chmod +x /home"?17:53
Zythyror should I add my own username to apache group?17:53
ViciousLooRollShould I use Ubuntu 16 or 17 on my vps. ?17:53
nemoZythyr: other way around17:53
Zythyrnemo Sorry I didn't understand17:53
nemoZythyr: you'd need some group that apache belongs to w/ rights to /home/zythyr17:54
nemoZythyr: so like add apache to the zythyr group since by default ubuntu creates a group same as username when adding a user17:54
Zythyrnemo So what is the exact command I need to do? I am going to put my website under /home/Zythyr/www17:54
nemoZythyr: overall I don't recommend what you are doing btw17:55
nemowhy do you want www under /home/Zythr?17:55
nemoZythyr: if you want a convenient link, just use a symlink17:55
oerheksnemo +1 .. normally one would make the user member of www-data17:55
nemoZythyr: not only is it needlessly convoluted, but a security risk17:55
Zythyrnemo But if I do symobilc link what permissions?17:56
nemoZythyr: see what oerheks said17:56
nemoZythyr: basically you just need to grant Zythyr access to whatever group /var/www or whatever the default is set to17:56
oerheksif you are member of www-data, it is easy to edit files in www17:56
nemoZythyr: don't try to fight the config unless you really really know what you are doing ☺17:56
Zythyroerheks nemo So I keep everything default and add Zythyr to the www-data group? Then I createa symbolic link to /var/www from /home/Zythyr/www?17:58
nemoyep17:58
oerheks.. then you don't need to be member of www-data, i guess17:58
nemooerheks: hm? he still needs it17:58
oerhekssilly move, website data in your home17:58
nemooerheks: symlink doesn't grant magic access17:59
nemoit's just a shortcut17:59
oerheksstill the localhost issue, not sure it gets solved this way..17:59
nemooerheks: there's no harm in symlink - prior setup was very bad ofc17:59
nemooerheks: if he leaves everything default, apache will have no trouble reading /var/www17:59
nemooerheks: so that's most likely what his original prob was18:00
oerheksnemo, indeed, for the symlink you need root access, or beiing in the www-data group18:00
nemooerheks: yeah. I was focusing on you saying he didn't need to be a member of it - symlink doesn't fix that - he still needs www-data (or sudo as you noted) to do edits to /var/www18:00
termcaphi, I am running 16.04 LTS, the sound on my headphone just peaks up from time to time tearing my ear drums :)18:00
nemooerheks: regardless of symlink to his $HOME/www18:01
termcapis there some way I can get rid of these intermittent peaks ?18:01
nemotermcap: ouch. that sucks. try #pulseaudio18:01
nemotermcap: unless this is simply replaygain plus bad files?18:01
termcapnemo thanks18:02
Zythyrnemo My /var/www folder has root:root ownership. Why not www-data:www-data?18:05
nemodunno. your system ☺18:05
Zythyrnemo I can't add or modify files in /var/www18:05
nemoZythyr: chgrp www-data www18:05
nemoZythyr: then add your user to that group using commandline or your favourite gui18:06
Zythyrnemo The owner is still root? So /var/www would have root:www-data?18:06
nemoZythyr: sure if you like. up to you18:06
oerheksroot is oke, d the user and group of things *inside* /var/www/ should not be root but apache or www-data ;) (see the apache.conf or sites-enabled for the correct one)18:06
nemothere's no fixed rule here ☺18:06
nemoFWIW I use18:07
nemo$ ls -ld /www/html18:07
nemodrwxrwsr-x 105 apache web 16384 Aug  1 16:00 /www/html18:07
nemobut my system is very old18:07
nemothe sticky bit is to avoid losing perms under /www/html18:07
oerheksownership of /var/www/ = 75418:08
nemoand it is world readable 'cause I don't care much about anything under there ☺18:08
oerhekshttps://help.ubuntu.com/lts/serverguide/18:08
termcaphow can I install the pulseadio-equalizer ?18:08
nemotermcap: unfamiliar w/ that - is it anything like pavucontrol?18:08
* nemo fires up synaptic18:09
termcapnemo I think I can use that to solve the sound peak issue18:09
termcaphttps://linux.tutorials.id/en/howto-install-pulseaudio-equalizer-in-ubuntu/18:09
effectnethello.  is it possible to enlarge your ubuntu partition?  A machine is dual boot, but has become useless for windows.  So I want to reclaim the space and make it just unbunt.18:10
termcapdoes ubuntu come with a default equilizer ?18:10
nemoeffectnet: sure.18:10
nemoeffectnet: should be able to do that from gparted18:10
effectnetnice18:10
noccohave any of you tried 17.10 yet? Is it buggy or is it something that I could use already? :)18:10
nemoeffectnet: might want to keep the windows partition in case it is needed later18:10
nemoeffectnet: like for a warranty thing or resale18:10
oerheksnocco, join #ubuntu+1 for support, until release18:10
effectnetoh thx nemo, but no i wanna blow it away18:10
oerheks!artful18:10
ubottuUbuntu 17.10 (Artful Aardvark) will be the 27th release of Ubuntu.  It is due to be released in October 2017. Discussion in #ubuntu+118:10
nemoeffectnet: personally I do that, disable swap, uninstall as much as possible, compress it, then resize it to minimum it can18:11
noccooerheks: Thanks!18:11
nemoeffectnet: usually that is about 20 gigs unfortunately because windows18:11
Zythyrwww-data group doens't exsist18:11
oerheksZythyr, odd LAMP install then ..18:11
oerheksor did you install XAMPP ??18:11
ZythyrLAMP on Ubuntu 14 LTS18:12
leftyfbZythyr: why did you install Ubuntu 14.04 and not 16.04?18:12
Zythyrleftyfb I needed it to install php5 by default. Ubuntu 16 does php718:12
leftyfbZythyr: regardless, if you setup a proper LAMP environment, on Ubuntu, then you most certainly should have the www-data group18:13
leftyfbhttps://help.ubuntu.com/community/ApacheMySQLPHP18:13
ZythyrI used this command to install LAMP "sudo apt-get install lamp-server^"18:13
leftyfbZythyr: what user does apache run under?18:14
leftyfbZythyr: ps -ef |grep apache18:14
glitsj16termcap: the tutorial you linked to explains it, pulseaudio-equalizer is from the webupd8 team PPA18:14
Zythyrleftyfb It shows a list where one of them is roort and the others are www-data18:15
leftyfbZythyr: sudo grep www-data /etc/passwd /etc/group18:16
leftyfbI'm trying to split out some lines from syslog into it's own log. I've used the SyslogIdentifier line in the service section of a systemd unit conf file to identify the service. This shows up in the syslog for each one I want to split out. I can't for the life of me get rsyslog to filter based on these identifiers.18:20
LafojwolfHey everyone. I'm having issues with my system crashing upon startup and shutdown, and I'm not sure exactly what might be causing it because it is completely random if it crashes or not--i.e., it's not consistently reproducible.18:26
LafojwolfHere is my inxi pastebin: https://pastebin.com/q2dk4NBx18:27
LafojwolfI turned off the splash for bootup, and it seems to crash near or around this error: [31.108127] snd_hda_intel 0000:00:1b.0: azx_get_response timeout, switching to single_cmd_mode: last cmd=0x103f090018:28
LafojwolfWhoops: it should say "switching to single_cmd mode"18:29
Term1nalI'm having great difficulty installing an Ubuntu system. I'm trying to do LUKS on RAID118:33
Term1nalubiquity keeps exploding itself trying to install grub18:34
Term1nal"failed to install to /target/"18:34
Term1nalthen it crashes and I have to reboot the live disc18:34
gde33On lubuntu I've configued a bunch of wifi connections to auto connect when available using instructions provided by my isp and some home wifi modums, never any issues.18:41
gde33At work there is only 1 network within range, they gave me the password but I cant seem to connect to it.18:41
leftyfbgde33: you should probably contact your works IT department18:42
gde33If I just pick connect it doesn't ask for a pasword, it ends up sort of connected but it doesn't work18:42
gde33leftyfb: there isn't any :P18:42
leftyfbgde33: how did the wifi/router/internet get setup?18:43
gde33leftyfb: but there are some unsophisticated coworkers who've connected their phones to it.18:43
gde33from what I understand they were just prompted for a password by the phone18:44
gde33In edit connection there are a bunch of automatic settings, I was wondering if I should try set those?18:45
max12345hello, my friend is trying to install ubuntu but something is going wrong with the graphics so the screen turns off, he read it's trying to use onboard graphics. How can I disable that? my google-fu is failing me.18:45
max12345thanks18:45
gde33would installing network-manager-gnome help?18:45
pavlosmax12345: use parameter nomodeset18:46
gde33leftyfb: I think it is an offical kind of work wifi installed and maintained by the phone company.18:47
max12345pavlos: yes, that's it I think, I remembered something like that18:47
pavlosmax12345: https://askubuntu.com/questions/207175/what-does-nomodeset-do18:47
Bashing-omLafojwolf: "Poulsbo" Just not great support from the provider . See https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo ; https://wiki.archlinux.org/index.php/Poulsbo for some hints as to what you might be able to do .18:50
Term1nalI seem to be unable to install grub to my system18:52
ppfi'm setting mouse acceleration through xinput. is there a way to persist this setting?18:52
Term1nalgrub-install returns "cannot find EFI directory"18:52
Term1nalwhen I specifiy the directory to --efi-directory=/boot/efi, I get "/boot/efi doesn't look like an EFI partition"18:53
histoTerm1nal: are you mounting your efi partition to /boot/efi?18:53
Term1nal/boot/efi is mounted in fstab to /dev/md0p1, which is fat32 ESP18:53
histoTerm1nal: pastebin the output of mount and blkid18:54
Term1nalhttps://ghostbin.com/paste/n3bwo18:56
Term1nalhisto: I forgot to add 'mount' to that18:58
Term1nalupdated (refresh that uri)18:58
Bizzehso, in my infinite awesomeness, i managed to delete /usr/bin... i assume i am screwed and need to reinstall?18:59
naccBizzeh: yeah18:59
nemoBizzeh: reinstalling is definitely the tidiest recovery18:59
nemoalmost anything else isn't worth the hassle18:59
Bizzehnemo: thought so, especially since i have now lost sudo and apt because of it :D19:00
nemoBizzeh: you can at least keep your list of install packages from apt if you wanna save a bit of time19:00
nemobut might be better to start fresh anyway19:00
nemow/ /home preserved, reinstall is just a minor hassle IMO19:00
nemoand /etc19:00
Bizzehnemo: its a relitively light server and all data is on external storage, its a minor hassle to reinstall, just wondering if there was an even smaller hassle. but if recovering is a bigger hassle than reinstall, then reinstall it is19:01
iratedWhat is a good live backup toool?19:01
oerheksirated, dejadup, standard backuptool19:01
leftyfbirated: rsync19:02
Term1nalhisto: so far, I set up my raid1, a small md0 for the ESP, and md1 is the rest of the drive. upon md1, I setup luks, then an lvm atop that for the system. I partition md0 as fat32 for ESP19:02
Term1nalhisto: I ran ubiquity, pointed it at the correct mount stuff, it ran the install, when it game to installing GRUB it crashed19:02
iratedleftyfb: something more streamlines like acronis or redo?19:02
leftyfbirated: see oerheks's answer19:03
iratedsorry not redo...19:03
iratedmacrium*19:03
Term1nalhisto: so I killed ubiquity, chrooted into the install and installed mdadm, and wa trying to manually put GRUB, which is where I am now with it not seeing my /boot/efi as an EFI partition19:03
oerheksirated, if that is available in softwarecenter, never used it.19:04
oerhekshttps://apps.ubuntu.com/cat/search/?q=backup&op=19:04
histoTerm1nal: in your output I don't see it mounted to boot/efi19:04
iratedi would use the system backuptool if I could set up all exclusions19:04
histoTerm1nal: you're mounted /dev/md0p1 to /media/esp19:04
Term1nalhisto: I can cd to /boot/efi19:04
Term1nalI mounted that trying to troubleshoot19:05
histoahh19:05
irated /dev , /proc, /boot... Trying to think if there is anything else?19:05
oerheksirated, no need for that with dejadup19:05
leftyfboerheks: did you happen to notice my previous question/issue and maybe have some input?19:05
iratedif i tell it to back up / it will not grab those?19:06
iratedi have stufff outside /home i want backed up19:06
oerheksleftyfb, rsync?19:06
leftyfboerheks: rsyslog19:06
Term1nalhisto: I can cd to /boot/efi and make a file successfully, perhaps it's actually mounted to / which is in md1 LVM?19:06
histoTerm1nal: most likely19:06
=== jstein_ is now known as jstein
histoTerm1nal: I would ensure that /dev/md0p1 get's mounted there, if that is your efi partition19:07
oerheksoh, <leftyfb> I'm trying to split out some lines from syslog into it's own log.19:07
leftyfbyep19:07
oerheksdepends, if there is a constant factor in those lines, create its own log? https://askubuntu.com/questions/318852/rsyslog-filter-by-tag19:09
Term1nalhisto: ok that's what's going on19:09
Term1nalthere was a /boot folder on /19:09
Term1nalwhich was on the md119:10
Term1nalI mv'd /boot to /bootbak19:10
Term1nalmounted /dev/md0p1 to /boot19:10
Term1nalmoved the contents of /bootbak to /boot19:10
Term1naland ran grub-install to --efi-directory /boot/efi19:10
Term1nal"no error reported"19:10
Term1nalI think that did it19:10
Term1nalhow do I persist that mounting?19:11
ducasseTerm1nal: if your efi partition is part of the raid, look at this - https://wiki.archlinux.org/index.php/EFI_System_Partition#ESP_on_RAID19:11
tsaniHello folks. I'm debugging slow connection issues from a host machine into a container. I've narrowed it down to an ipv4ll issue. For instance, I run `netcat -lp 5000` in the container and `telnet mycontainer 5000` in the host. I see "Trying 169.254.47.225..." which hangs for 3 seconds before it tries to real IP address, which connects immediately.19:16
ubottuLaunchpad bug 5000 in zope-cmfsin (Ubuntu) "zope-cmfsin: merge new debian version" [Medium,Fix released] https://launchpad.net/bugs/500019:16
tsaniHowever, on a different container, the correct IP address is tried first, and there's no problem.19:17
tsaniHow does telnet (or any program for that matter) decide which IPs to try in what order?19:17
SwedeMiketsani: seems this is IPv4 only? I don't know how that is done, I only know how that is done for IPv6.19:18
featherfeetPlease help! I booted a computer off an Ubuntu GNOME live DVD and used GParted to move a partition on a hard disk. Now the desktop is frozen. GParted said it had 5 hrs. of transferring left before it froze. What should I do to avoid losing the HDD's data?19:18
douxHi, anyone know what the name (or unicode code) for the terminal rectangular solid prompt when it becomes the "outline" of the prompt when you click to another window. I'm looking for the unicode or name of the "outline prompt"19:19
aotaointbinhopefully you made backups.19:19
Pyrougefeatherfeet: damn19:19
Pyrougefeatherfeet: hope for the best19:19
oerheksfeatherfeet, you should have made a backup before that. hard to say what will happenbwhen you cancel...19:19
leftyfbfeatherfeet: reinstall and restore from backup19:19
featherfeetThe disk is 2TB, I don't have anything fast enough/big enough to back it up to.19:20
Pyrougefeatherfeet: since you probably didn't make backups the only option is wait it out19:20
Pyrougefeatherfeet: or reboot and risk loosing data19:20
Pyrougelosing*19:20
aotaointbinthis is why backups are important.19:20
Bizzehfearnothing: on 2tb of storage, i doubt you have the entire 2tb full of stuff you cant otherwise recover (music, games, videos), back up the stuff you cannot otherwise get back19:20
featherfeetAlso, this disk is a backup disk.19:21
leftyfbmultiple backups :)19:21
featherfeetOnly 200 GB has been used (most of the rest of the stuff was already moved to a 6TB backup HDD)19:21
tsaniSwedeMike: well, an IPv6 address is actually tried first before the IPv4ll address is tried, but it doesn't stay blocked for three seconds.19:22
leftyfbI have 3. Not including backing up pictures and videos to dropbox and google19:22
Pyrougetry moving things to different hdds19:22
max12345ok so my friend wants to dual boot on two physical drives19:22
max12345we found some instructions19:22
max12345but19:22
Pyrougeall the important data19:22
featherfeetIs there any way of telling whether GParted is still running?19:22
Pyrougehow do you know it froze19:22
Bizzehleftyfb: 2 cloud backups of important data. 1 backup on google drive, and another on amazon s319:22
max12345when we try to select EFI as partition type it gives us an ubi-partman error 14119:22
featherfeetNO mouse, no keyboard, no motion on-screen.19:22
histofeatherfeet: does your numlock or capslock lights still work on your keyboard if you press those buttons.19:23
leftyfbBizzeh: 1 local drive connected to a pi, 1 remote drive connected to a pi, 1 sitting in a fireproof safe, dropbox and google and I guess we could count icloud, but I don't rely on it19:23
leftyfbfeatherfeet: CTRL+ALT+F219:23
Bizzehleftyfb: on the "fire proof safe". how well do HDDs last in cold storage these days (cold as in, unplugged, in a safe)19:24
featherfeetIt could be that the USB crashed, and maybe I that's why switching to a VT won't work?19:24
featherfeetDoes Ubuntu GNOME live have SSH access enabled by default? I connected to computer to Wi-Fi.19:24
Bizzehfearnothing: indicator of if it is still doing anything, or has completely frozen... what are your HDD lights doing on your case?19:25
douxI have an image of the character whose unicode I'm looking: http://0x0.st/ktR.png19:25
leftyfbBizzeh: eh. Couple years at least. I only take it out and backup to it a couple times a year. Every few years I get a new one and copy to that and use the old drive for something else19:25
Bizzehwhat would we consider robust enough to just sit there, untouched, for say, 5 years, and not have any data loss?19:27
ioriadoux  you can try U+25af , but it's smaller19:29
leftyfbBizzeh: not sure. I wouldn't consider myself an expert on drive lifespan in cold storage19:30
douxioria: thanks, but it's too small. I need it to outline the space around the whole character like the prompt (I assume)19:30
texlaI am trying to erase Linux-2.8 from my Ubuntu grub menu Found the enty in /boot/grub.d/40_custom completely erased but still in grub menu19:33
Bizzehmy reinstall is done anyway, took all of 15 minutes to get back to up and running again19:33
oerhekstexla, did you run grub-update after that?19:33
Bizzehstupid /usr/bin/19:33
texlaoerheks, Forgot that chore thanks19:34
douxFull cursor block unicode is U+2588, but I want the "hollow" version...19:38
fugeewhat command do i run to build-dep for kernel-chromeos-3.819:53
fugeesudo apt-get build-dep linux-image-?(uname -r)19:54
fugeei don't know how to translate that into my distribution19:54
Term1nalsooo, the motherboard isn't detecting the EFI parition on md020:00
backnforthHi, can someone help me with my Ubuntu system? I don't have a button that will allow me to configure a vpn but I've found examples showing that there should be one20:00
pavlosbacknforth: if you're using Network Manager, there is a openvpn client module to install. Are you on 16.04?20:03
backnforthYes I'm on 16.0420:03
backnforthI must be missing the module20:03
pavlosbacknforth: install network-manager-openvpn-gnome20:04
pavlosbacknforth: then logout/login and NM should show VPN connections >20:05
backnforththanks pavlos20:06
=== JanC is now known as Guest87139
=== JanC_ is now known as JanC
backnforthpavlos, still isn't working20:08
pavlosbacknforth: restart network manager20:08
backnforthI restarted my computer20:08
pavlosbacknforth: sudo apt install network-manager-openvpn ...20:10
backnforthpavlos, already installed20:11
pavlosbacknforth: https://help.ubuntu.com/lts/serverguide/openvpn.html ... (look for the "Linux Network-Manager GUI for OpenVPN" section)20:11
backnforthpavlos: I get this error when trying to restart network-manager as sudo: restart: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused20:13
leftyfboerheks: I got it. I overlooked an aspect of permissions :/20:14
pavlosbacknforth: use sudo systemctl restart network-manager, I think20:15
backnforthpavlos: Sorry I got d/c20:22
Absolute0How do I sort find results by date?20:22
backnforthsomething happened I think when restarting via systemctl20:22
dedzeHi, is playonlinux from the Ubuntu store safe to use? Will playing games made for windows make my ubuntu system vulnerable?20:23
pavlosbacknforth: see screens 1-5 ... https://torguard.net/knowledgebase.php?action=displayarticle&id=5320:23
backnforthpavlos: it's ok that it doesn't work, I can still run it via the comman dline20:23
dedzeHello pavlos and thanks again for helping me the other day20:24
backnforthpavlos is the best20:25
pavlosdedze: cant remember :( but thanks20:25
pavlosbacknforth: is the gui working now?20:25
dedzepavlos: it was a few days ago about updating the system and my skype hehe20:25
pavlosdedze: oh yes, glad it's working20:25
dedzepavlos: do you think installing playonelinux and wine to play league of legends is safe or will it make my system vulnerable?20:27
backnforthpavlos: Yeah, I think it's working20:28
pavlosdedze: no exp with wine20:28
dedzeOki thanks pavlos20:28
HandleSimple question: Wenn I run an amd64-architecture, is it enough to install the headers for amd64 or do I need the ones for "all" too?20:29
Handle*kernel headers20:29
pavlosbacknforth: I just installed openvpn and when I click add connection, at the very bottom I see openvpn20:29
backnforthpavlos: yeah, that's how I did it20:30
pavlosbacknforth: ok, good20:31
dedzeIn this page: https://wiki.ubuntu.com/BasicSecurity   they say use wine with caution, I dont know what to do haha20:32
pavlosdedze: does this help (read comments) http://ubuntuhandbook.org/index.php/2017/01/install-wine-2-0-ubuntu-16-04-14-04-16-10/20:36
RonaldsMazitisI'm using  17.04.3, what keypads I need to press to zoom out project monitor.20:37
RonaldsMazitiskdenlive question, nobodys there20:37
dedzeAlso pavlos , an other question, could i make a user account on my laptop that no matter what  couldnt use root or my password to install anything and use it for daily use? Then have a special user account for installing softwares etc20:38
dedzeWould it work?20:38
pavlosdedze: you could adda user, bob, who does not have sudo hence cannot install software. All bob can do is use the system.20:40
dedzepavlos: And so my concern is, if I install a software using my normal user, will bob have it installed too?20:40
naccdedze: yes, software is shared, not per-user (unless installed in a way that is per-user)20:41
pavlosdedze: the normal user will install software (w/ sudo), software will be avail to all users of the system20:42
dedzeOki thanks!20:42
RonaldsMazitisSO NOBODY KNOWS HOW TO zoom out project monitor, so I COULD DRAG RED BUTTON FURTHER20:45
RonaldsMazitisubuntu is not video editing with kdenlive20:45
naccRonaldsMazitis: what is "project monitor" and why are you yelling in the channel (using caps)20:46
RonaldsMazitiscaps are easier to read20:47
naccRonaldsMazitis: no, they are not20:47
RonaldsMazitisYou are reading this by decluding that I mentioned what Ubuntu software I'm using20:48
naccRonaldsMazitis: "decluding" is not a word I am familiar with.20:48
pavlosRonaldsMazitis: in control panel, Displays, ubuntu has a scaling slider which may help. Please dont use caps.20:49
RonaldsMazitiskdenlive is software that has zoom out feature, I just can't drag out red button more than project slider should allow me to do, but they deleted that in newest version20:50
RonaldsMazitisbasicly I need keypads for zooming out20:51
RonaldsMazitisit20:51
RonaldsMazitisI once reported bug that turn out they want it to be done with keypad only, I just don't know they keys20:52
naccRonaldsMazitis: https://kdenlive.org/video-editing-applications-handbook/20:55
naccRonaldsMazitis: T and R?20:55
naccRonaldsMazitis: i have never used (and probably never will use) kdenlive, just what i found from googling20:56
isomorphismesI must be misunderstanding mount. When I df -h, it only shows the /dev/sda* drives, but I have /dev/sdi* and /dev/sdj* plugged in.20:58
naccisomorphismes: are they mounted?20:59
isomorphismesnacc: seemingly not...20:59
naccisomorphismes: then not sure what you're misunderstanding? :)20:59
isomorphismesnacc: there are folders in /media/abc, but when I mv a large file to /media/abc, disk space doesn’t show up21:00
isomorphismesI added another mkdir /media/try.again && mount /dev/sdi1 /media/try.again, that didn't work21:00
isomorphismesand I tried to mount /dev/sdi but it's not in fstab21:01
isomorphismesalso when I do blkid /dev/sdi1 I get a blank response21:01
pavloslsblk -f should list all devices mounted21:03
isomorphismespavlos: thank you21:03
isomorphismesso that does show /dev/sdi* and /dev/sdj*21:03
naccisomorphismes: ok, one thing at a time; what do you mean "disk space doesn't show up"?21:03
naccisomorphismes: you don't generally mount disks, you mount partitions, so /dev/sdi is wrong21:04
isomorphismesnacc: when I do df -h, /dev/sdi* and /dev/sdj* aren't lsited21:04
isomorphismesnacc: ok, thanks21:04
pavloscan you pastebin lsblk -f?21:04
naccisomorphismes: if it's not mouned, i don't think it will be21:04
naccisomorphismes: so you need mount the partitions, correctly21:04
isomorphismeshttp://ix.io/yRd21:05
naccisomorphismes: afaict, nothing is mounted in /media/abc (currently)21:06
naccisomorphismes: so you're just taking up space on /dev/sda1 (which is mounted at /)21:06
isomorphismesnacc: sorry, the mount points are actually /media/media, /media/work, etc.21:07
naccisomorphismes: doesn't matter, nothing is mounted at /media/* (per the lsblk output)21:07
isomorphismesnacc: thanks21:08
isomorphismesnacc: so how do I fix it?21:09
isomorphismesbtw I meant http://ix.io/yRc21:10
naccisomorphismes: yeah, i gathered :)21:10
isomorphismesnacc: thought so, clever :)21:10
naccisomorphismes: I'm not sure ... did you have working mounts before?21:10
isomorphismesnacc: yes, at some point21:10
naccisomorphismes: and what changed?21:11
isomorphismesnacc: I unplugged them for months and nautilus wasn’t loading for some reason so I couldn’t mount them that way21:11
naccisomorphismes: i see21:12
pavlostry, mkdir /media/opt then mount /dev/sdj1 /media/opt ... df -h should list /media/opt21:12
isomorphismespavlos: /media/opt is already there and has stuff in it21:13
pavlostry, I gave an example, make another mountpoint21:13
naccisomorphismes: right, becuase i think you've put stuff in your /21:14
naccisomorphismes: as in your root disks' /media/opt21:14
isomorphismesmount: /dev/sdi1 is already mounted or /media/pavlos busy21:16
grimmherehey guys.. does anyone have a solution for the Intel wifi dropping / poor signal? I tried the 11n disable but it didn't help much21:17
naccisomorphismes: can you pastebin the output of `mount`?21:18
programmaris it raining?21:18
pavlosa pastebin of df -h (or mount | grep /dev/sd )21:19
isomorphismeshttp://ix.io/yRf21:25
isomorphismeshttp://ix.io/yRg21:26
pavlosisomorphismes: let's try mkdir /mnt/backup, then mount /dev/sdi1 /mnt/backup Does df -h show it? (there should be a line /dev/sdi1 ... /mnt/backup21:31
himomhello!21:32
isomorphismesmount: /dev/sdi is already mounted or /mnt/backup busy21:35
isomorphismesbtw ls /mnt is empty21:35
himomI'm having weird display problems in 3D applications on Ubuntu 17.04 since I updated from 16.10. For example in Blender graphics doesn't update correctly and I often see things that are no longer there. In some games many textures appear black and in some other I see weird colors. What could be causing this?21:36
himomlshw tells me I'm running radeon driver21:36
himomand this isn't a small problem, it makes it almost impossible to use Blender and play some of games21:37
ZythyrNeed help. I installed LAMP on Ubuntu 14 LTS. By default the website runs from /var/www. However, I want the website to run from /home/username/my_websites. Inside /home/username/my_websites, I will have multiple websites. The purpose for this is for few reasons: 1) I am going to create a Samba share for /home/username/my_websites so I can easily manage files from windows. 2) By default I can't21:38
Zythyrcreate add or modify anything inside /var/www. What is the proper method to do this?21:38
pavlosisomorphismes: if mkdir /mnt/backup gave you an error (perm denied), sudo /mnt/backup then, ls /mnt should list the backup dir21:38
himomZythyr wouldn't using FTP be better to manage your website files?21:39
isomorphismespavlos: sorry, I meant before I sudo mkdir /mnt/backup, there was nothing in ls /mnt.21:39
himomor using ssh21:39
isomorphismespavlos: you are correct, /mnt/backup did go there when I mkdir-ed it21:39
pavlosisomorphismes: so the mountpoint exists, try sudo mount /dev/sdi1 /mnt/backup  ... ls /mnt/backup should list what you have in the sdi drive, right?21:40
pavlosisomorphismes: and df -h should list that mountpoint21:41
Zythyrhimom Why use FTP when I can have a Samaba share and easily manage all files through a familar windows interface?21:41
himomZythyr:ok good point. I don't know if this will solve your problem but you could make a link in /var/www that points to your home directory. I don't know a proper way to do what you want but maybe this will help21:42
bipulHow to list the name of current running snapshot?21:45
isomorphismespavlos: mount: /dev/sdi1 is already mounted or /mnt/backup busy21:46
isomorphismespavlos: and ls /mnt/backup is empty21:46
isomorphismespavlos: and df -h does not list the mount point21:47
naccisomorphismes: where are you running that command from (what is cwd)?21:47
dr_horribleZythyr: Maybe the reason you cannot make changes to the /var/www location because that area is owned by a separate webserver owner21:47
isomorphismesnacc: /media, as non-root21:47
dr_horribleZythyr: you shouls be able to change that by simply adding yourself to the group account for that folder location.21:48
ZythyrI can't figurew out what the proper settings or permissions required21:48
isomorphismeswell, maybe I just always failed to actually get anything on /media/backup .. I tried with mount /dev/sdj1 /mnt/bakk2 and that works21:48
isomorphismesthank you very much nacc pavlos21:48
isomorphismesI think this is going to solve my issue21:48
dr_horribleZythyr: then you could make a link at your home folder location pointing to that location21:48
=== sjohnson is now known as johnsons
dr_horribleZythyr: what is the user:group ownership of /var/www21:49
isomorphismeswow, this is all making so much more sense now. thanks again pavlos nacc21:49
isomorphismesglad you were both around and willing to help so much!21:50
naccisomorphismes: glad you have a bit of a way forward now :)21:50
himombut then he still won't be able to change the files will he? I think he needs to create a link in /var/www to points to some directory in home then his user will be able to change the files or am I mistaken?21:50
isomorphismesnacc: very much so, lot of stress gone now :D21:50
pavlosisomorphismes: good luck, we are here to help21:50
dr_horriblehimom: If he adds himself to the group permissions on that folder he can21:51
himomdr_horrible: yes that's true21:51
naccZythyr: fwiw, apache at least has a builtin module for per-user directories21:51
naccZythyr: https://httpd.apache.org/docs/2.4/howto/public_html.html21:52
himomhas anyone else had a problem with 3D applications not working properly after update to 17.04?21:52
dr_horribleZythyr: it can still be best to keep your home separate for security reasons21:52
Zythyrnacc thanks for the link. I am going to read it!21:56
Zythyrdr_horrible Yes  Iwant to keep is sepreate for that is why i created in my home directory21:56
dr_horribleZythyr: keeping it in the /var directory and not your home keeps it separate.  When the web server is access it is using another user account not yours.21:59
Term1nalso I'm stil battling my encrypted drive setup on ubuntu22:00
dr_horribleZythyr: That makes for the possibility of it being compromised with access in your /home space22:00
Term1nalit doesn't appear that my grub configuration or initramfs configuration is working.22:00
Term1nalI just get dropped to an (initramfs) busybox prompt22:00
Term1nalfrom a live environment, I chrooted to the install, and enabled modules, raid1, lvm2, dm-crypt, etc and so forth22:01
Term1nalblkid from this initramfs prompt does show the raid device22:01
Term1nalI don't know how to get it to open luks and mount the LVM22:02
Maddogzhi22:06
Maddogzim trying to install adb fastboot on Mate22:06
Maddogz it shows Exec format error. any help please22:06
hehehewell Maddogz whats the error22:08
hehehehow people suppose to read it?22:08
hehehehimom: I am on 16.04 :) you can still use it22:09
Maddogzadb line 9 usr/local/adb can not execute binary file22:10
Maddogzi use default openjdk with any additional java install22:10
Maddogzwith no add22:11
Maddogzit works if i execute it from platform-tools folder22:11
=== johnsons is now known as sjohnson
Maddogz$ /media/data/android/platform-tools/adb devices <--22:13
Maddogzi tried copy adb fastboot into /usr/local/sbin/platform-tools overwrited22:18
Maddogzexecuted adb device shows same result line 9 error22:19
alekzHow can I enable autologin for Ubuntu 16.04 from the command line? It's using Unity22:23
alekz*I want to enable it from command line, so it will auto login into desktop22:23
[n0mad]you could just enable it from Setting > Users22:23
alekz[n0mad]: I know, but I'm writing a bash script22:24
alekzwhy you think I asked 'from command line'?22:24
alekzgosh22:24
Maddogz..22:26
Maddogzsudo rm -rf / auto login22:26
Maddogzlol22:26
energizerWhat's the best way to remote desktop ubuntu -> ubuntu ?22:27
=== semeion is now known as mnemonic
naccMaddogz: please don't do that.22:27
pavlosalekz: /etc/lightdm/lightdm.conf enable user and user timeout 022:27
naccMaddogz: while you may think it's funny, someone may legitimately copy and paste that command.22:27
alekzthanks pavlos, didn't know unity uses lightdm22:28
alekzhate this distro22:28
alekzgo debian!22:28
pavlosalekz: I might be wrong, sry22:28
Bashing-omenergizer: See: http://ubuntuforums.org/showthread.php?t=2159449 <-easiest way to cp files 'tween two 'buntus that share the same router/house (Morbius1)22:28
energizerBashing-om: what are you referring to specifically?22:29
Bashing-omenergizer: "desktop ubuntu -> ubuntu" IF all that is requited is to transfer files ?22:30
wedgiethe question was about remote desktop...22:31
himomhehehe: yeah maybe I shouldn't have updated :)22:31
energizerI am trying to run automated  chrome non-headless on a remote server. Is there a way to do that?22:32
himomhehehe: and if I don't find the solution quit using Ubuntu and install another distro22:32
energizerBashing-om: that is not the case here22:32
himomenergizer: I don't know the answer but I'm curious why do you need it?22:33
wedgieenergizer: do you just need to kick off the process or do you want to be able to see/interact with it as well?22:33
Bashing-omenergizer: K :) . X forwarding through SSH ?22:33
naccenergizer: you can do VNC, ssh -X, there are probably other options22:34
naccenergizer: seems like an odd thing to do though :)22:34
wedgiemakes sense for running test suites, maybe22:34
himomyeah I think so too :)22:34
energizeri need to run selenium to drive chrome on a server, and download some files. headless chrome has an open issue such that it can't download files, so i need to run it with head22:34
himomjust download files? why don't you use wget or something?22:35
energizerhimom: i have considered those options, they are not going to work here22:35
ViciousLooRollSo I've set up a a new server using only SSH keys22:35
himomenergizer: oh ok I see22:35
ViciousLooRollI made one user a sudoer but I can't sudo because he has no password22:36
himomlol22:36
energizerwedgie: i think if i got it started i could then subsequently connect selenium to it22:36
wedgieenergizer: ssh to the server as a user that has a GUI running, run ''export DISPLAY=:0'' and then your command to kick of the selenium tests22:36
wedgieor in that case, just ''chrome'' after exporting the DISPLAY22:36
himomViciousLooRoll: I think you can just not type anything and it should work?22:36
ViciousLooRollhimom: tried that22:37
himomViciousLooRoll: when it asks for password you can't leave it blank?22:37
ViciousLooRollNope22:37
himomwow22:37
naccViciousLooRoll: when you say you made "one user a sudoer" what do you mean?22:39
ViciousLooRollusermod -aG sudo username22:39
himomdoes anyone know how to fix artifacts in 3D applications that suddenly appeared after update to 17.04?22:39
naccViciousLooRoll: all that did was add them to the sudo group, if you want that user to have passwordless sudo (I don't recommend it, but that's a choice you get to make), then you need to configure sudo for that22:40
naccViciousLooRoll: sudo is unrelated to how you login to a system22:41
ViciousLooRollnacc: oh. I thought there sudo password was the same as login password.22:41
naccViciousLooRoll: sorry, I meant the mechanism for logging in is unrelated to the mechanism for sudo22:43
naccViciousLooRoll: so you have passwordless remote login (ssh key based)22:43
naccViciousLooRoll: that does not mean you have passwordless sudo (you hve to configure that)22:43
ViciousLooRollnacc: ok. I don't want passwordless sudo22:43
ViciousLooRollI just want to be able to sudo.22:44
naccViciousLooRoll: then you need to set a user password, probably, for those users22:44
hggdhViciousLooRoll: but this is the thing. sudo, by default, will require the user's password. SInce this user has no password, then no sudo (unless you configure sudoers22:44
naccViciousLooRoll: and just disable password-based ssh22:45
ViciousLooRollAhh ok.22:45
ViciousLooRollCheers guys.22:45
FrozenlockHello gentlemen. I have a program starting with an upstart script and I can't seem to set its nofile limits. I've edited both /etc/security/limits.conf and the service conf file. Any ideas where I need to set the nofile limits?22:47
pavlosFrozenlock: /etc/sysctl.conf fs.file-max=22:49
pavlosFrozenlock: https://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/22:50
energizerwedgie: great idea, thanks22:50
ViciousLooRollShould I have an SSH key for every user?22:53
Frozenlockpavlos: Thanks, but those values are much higher than what 'cat /proc/<<pid>>/limits' returns.22:55
Frozenlock'cat /proc/<<pid>>/limits' returns 1024 4096, while the limits.conf and the service .conf file are set much higher.22:56
adamitschI have win10 installed... and today I decided to install Solus linux besides it. But it stops at partitioning. In Gparted I made root partition, but I can't choose it in installer. What can I do ?22:57
himomHelp, I get artifacts and weird display errors in 3D applications! Does nobody know how to find out what's wrong? I had to register with a fake email to get into this channel. All that for nothing :(22:57
himomadamitsch: does the installer show a list of all partitions?23:00
adamitschhimom : it does, but I cannot select any of those partitions.23:01
himomadamitsch: are they empty? do they have anything in common? maybe you are supposed to create a new one in the installer?23:03
adamitschhimom : I had to change from 'unassigned' to mountpoint I wanted... I thought I would need to do it after I would have selected partition :)23:05
himomadamitsch: that must be a little confusing installer, but I'm glad you solved the problem :)23:06
mitmfsource ./setup_env.sh  <— what it means? why they don’t excute ./setup_env.sh?23:25
nbastinhow the heck do I get 16.04 server to bring up a vlan interface on boot?  I upgraded from 14.04 and now it won't do it23:26
nbastinI can do it by hand, but it never does it on boot23:26
ViciousLooRollMy arrow keys are typing this in the shell ^[[A23:30
ViciousLooRollAnd I only have "$" as my prompt.23:30
ViciousLooRollAny idea why ? It's a fresh install of Ubuntu.23:31
ViciousLooRollMy old server never had this issue23:31
naccmitmf: because they don't want to execute the script, they want to source the variables in it to the shell23:31
naccmitmf: fwiw, not an ubuntu support question, but a general shell or linux one23:31
mitmfnacc:  thanks :) but i can’t understand it. can you explain it detailly? they want to source the variables in it to the shell23:33
=== Trystam is now known as Tristam
naccmitmf: http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x237.html23:33
ViciousLooRollFixed23:34
naccmitmf: often sourcing is used to define some set of variables or functions for use by other variables or functions23:34
mitmfthanks nacc :)23:34
naccmitmf: or perhaps this: https://superuser.com/questions/176783/what-is-the-difference-between-executing-a-bash-script-vs-sourcing-it23:34
mitmfthanks nacc :_23:36
mitmf:)23:36
ViciousLooRollApt install seems to be unable to find an application I know is in the repo23:37
ViciousLooRoll"unable to locate package mosh"23:37
naccViciousLooRoll: what version of ubuntu?23:39
ViciousLooRoll16.0423:40
nacc!info mosh xenial23:40
ubottumosh (source: mosh): Mobile shell that supports roaming and intelligent local echo. In component universe, is optional. Version 1.2.5-2 (xenial), package size 206 kB, installed size 797 kB23:40
naccViciousLooRoll: do you have universe enabled?23:40
ViciousLooRollI'm going to try upgrading23:40
nacc!components | ViciousLooRoll23:40
ubottuViciousLooRoll: The packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories.23:40
ViciousLooRollNacc I don't know23:40
naccViciousLooRoll: ? `sudo apt update; sudo apt install mosh`23:40
naccViciousLooRoll: upgrading what?23:40
ViciousLooRollAll I did update, sorry23:40
ViciousLooRolls/all//23:41
ViciousLooRollIt installs now. Thanks23:41
mitmfWhen a file is sourced <—— sourced == excuted ? nacc ?23:44
mitmfi don’t know that what is ‘sourced’?23:46
naccmitmf: the . or source commands23:47
naccmitmf: as explained in the first link i sent you23:47
mitmfthanks nacc :)23:48
buggaboosanchezI wanted to install a kind of obscure software on my ubuntu 16.04 Desktop. It's called "Eramba".  I tried to install it on this system before but ran into a problem in that program related to php code that did not comply with a newly released standard.  It's a longshot, but I was hoping someone might be more familiar and willing to walk me through some of the issues23:58
buggaboosanchez?23:58
buggaboosanchezIt's governanance, risk and compliance sotware23:58

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