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