[00:01] as good a reason as any to poke the source [00:04] i need an excuse? [00:20] confirmed, rebuilt with the linked patch applied and the issue i'm hitting went away [00:38] what's the latest version of Ubuntu that did not support AHCI, i.e. just before AHCI support was introduced? [00:39] I'm going to guess that AHCI support was there in the first version of ubuntu [00:40] thanks! [00:41] any other ideas how to get Samsung Magician to work on Ubuntu when the BIOS doesn't offer a legacy IDE mode option? or should I try to get WinPE run the windows version of magician? [00:42] what are you tryuing to do? [00:43] Sven_vB: AHCI is the mode the PCI SATA controller is put it at power-on, by firmware. [00:45] sarnold, trying to update the firmware on a SAMSUNG MZ7LN256HMJP [00:45] heh, ahci was in Linux-2.6.12-rc2, at the birth of the git tree.. [00:46] TJ-, does it mean when Grub runs it's already too late to switch to legacy IDE mode? [00:47] most systems I've seen have a toggle to get legacy sata or legacy ide or whatever it was.. [00:47] (in the bios) [00:48] Sven_vB: almost always, yes [00:48] thanks. then I can probably skip experimenting with WinPE. [00:49] sarnold, I know. I wish my BIOS had it. then I could have be done following the vendor tutorial hours ago. [00:49] now it seems I need to transplant the drive [00:59] Sven_vB: what's the ID of the host controller? [01:01] this one? 00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21) [01:02] hello everyone :) Can someone assist me in restricting access to hard drives in ubuntu 16.04? [01:02] sarnold: bug report submitted [01:03] swills: cool, thanks [01:03] valerio_, what are you trying to do, what have you done so far, what did you expect, what happened instead? [01:04] Im trying to restrict access [01:05] Im trying to prevent standard users from accessing hard drives [01:06] valerio_, one easy way would be to physically unplug the disks' power supply. so I assume there are a lot more side conditions. :) [01:06] e.g. why are there standard users in your scenario? what's your use case? [01:07] valerio_: the default settings in /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla allow people with sudo or admin groups to do disk things. it should be enough to make sure your users aren't in these groups. [01:07] Sven_vB: can you get the controller [vendor:device] ID from "lspci -nn -s 00:17.0 " [01:07] valerio_: if you want something else you'll have to be a lot more specific about what you want [01:07] TJ-, 8086:9d03 [01:10] valerio_, my crystal ball just said you might be running a multi-user system and want to protect a user's home directory from other users' eyes, is that (partially) it? [01:11] right now Im logged in a sudo user. From terminal I went to my media folder. I have two disks plugged in they show up as UUID code [01:12] Sven I had that problem a while ago and I solved it [01:13] I type sudo chmod 770 * but nothing happens [01:13] Sven_vB: see https://paste.ubuntu.com/p/5vGXtrPYCp/ [01:13] All two disks keep having rwx permissions [01:13] valerio_, it seems you like error-prone commands ;) that chmod invocation is bad in many ways [01:14] TJ-, thanks! [01:14] I see that using the ls -la command [01:15] TJ-, so it means there should be a command to switch the controller SATA mode from within Ubuntu? [01:15] valerio_: (a) what filesystem is on those disks? that's probably a vfat filesystem, those don't have unix permissions [01:16] valerio_: (b) doing your testing with a user with sudo privs is probably the wrong approach; log in as a user without sudo privs and see if you can mount the filesystem in the first place. *THAT* is the actual problem you're trying to solve, right? [01:16] both are ntfs [01:17] are the "disks" as you call them, directories? if so, are they mountpoints, too? are they mounted? [01:18] because you might need to change the mount options' umask [01:18] Sven_vB: not a command, but there's code in ahci.c that forcable puts the controller on an Apple MacBook into AHCI mode after the Apple firmware disabled it when booting in BIOS/compatiblity mode - which implies we could create a small hack to allow you to force it [01:19] TJ-, sounds interesting. however, getting the device owner's authorization to hack an undocumented controller command would be more troublesome than transplanting the device. [01:20] latter "device" = disk [01:20] yes they are directories (/media/valerio) and they are mounted [01:20] Sven_vB: I wonder, if you're going to do it often, you might have an easier time to just have a win10 machine around somewhere for these tasks :( [01:20] sorry for my English Im just a beginner and dont know the right gergo [01:20] hey guys just updated my 19.04 server and getting a bunch of strange btrfs errors on my raid drive that crashes boot, if i comment out that mount in fstab it boots fine just wanted to see if anyone else have come across a known issue thats similar. i am still diaging issue, but figured ask here too [01:21] sarnold, I'd prefer Ubuntu, just on anohert computer with a BIOS that has the legacy option. :) [01:22] Sven_vB: when I skimmed the samsung magician manual it made a bunch of refernces to windows but none to running on ubuntu [01:22] Sven_vB: wwhere'd you find a linux version? :) [01:22] sarnold, check the "DC" (data center/"enterprise" = command line) edition [01:23] Sven_vB: AHA! [01:23] cool, thanks. I wonder if I have any samsungs :) [01:23] command line tools aren't meant for consumers, obviously [01:23] the btrfs errors were parent transid verify faled......... open ctree failed..... i am chunck recovering atm... === ExoUNX is now known as c29d6 [01:24] sarnold, also, even with the windows version of Magician, lots of forum threads said to switch to legacy IDE mode, so the AHCI problems don't seem to be OS-specific. [01:40] new problem: how can I get lightdm on xenial to show the user selection before autologin? here's my config and the log: http://paste.debian.net/hidden/2af768cb/ as you see in line 30, auto-login for adam seems to work (the session startup is a separate problem), but why does lightdm care about gitlab-runner (line 26)? [01:42] on the visible side: when lightdm starts, I see the users list for a split second. then it changes to a purple-ish background with the ubuntu circle in the center and the xenial version in the lower left. it doesn't seem to react to escape, enter, space or mouse clicks. [01:44] ooooh I'll have to test whether this is about multi monitor setup [01:45] yeah nevermind, the users menu just moves to the other screen after that initial split second of greatness [01:47] still why does it care about gitlab-runner? [01:48] also how can I make unity-greeter show the users list on all screens? [01:55] hi, is there a way to force snap to use ipv4 like there is for apt-get? Looking for the equivalent of sudo apt-get -o Acquire::ForceIPv4=true install for snap [01:56] mouses: the wiki has me stuck at fakeroot 'debian/rules editconfigs' which doesn't seem to work on 18.04 [01:56] or do I have to disable ipv6 systemwide? [01:56] whoops, ignore that mouses === zbenjamin_ is now known as zbenjamin [01:58] the wiki is so ancient for building a kernel [01:58] wtf ubuntu devs, get on ya job [01:59] it's a wiki, fix it :) [02:00] if I knew the answer, I would === c29d6 is now known as uspvca === uspvca is now known as xfuwbdbcpsujpo === xfuwbdbcpsujpo is now known as c29d6 [02:13] sorry I got disconnected [02:13] how do I force snap to use ipv4? It tries ipv6 and then just slowly fails because our network doesn't support ipv6 yet (not my decision) [02:13] alternatively is there a way I could still install discord with apt-get in 18.04? [02:15] probably can fetch it from the normal repos. or add a ppa? i installed discord from the software center [02:16] https://linuxconfig.org/how-to-install-discord-on-ubuntu-18-04-bionic-beaver-linux [02:18] unfortunately snap doesn't work because it only tries the ipv6 connection, which fails and never resorts to testing the ipv4 [02:19] downloading the package manual may work, but will probably create the same issue I have no with every update [02:22] test [02:25] kaddi: hi [02:25] (this is in response to the test) [02:36] Hi [02:37] Please help me, something does not work here: [02:37] root@xcs52t:~# su - user2 [02:37] root@xcs52t:~# [02:37] root@xcs52t:~# su user2 [02:37] root@xcs52t:~# [02:37] whatever I do - I remain root [02:37] I must try a command as "user2" [02:44] try sudo -E -s -u user2 === gorpy is now known as Blaster [02:45] or su --command /bin/bash user2 [02:46] Rojola, the reason probably is that user2 has no useful shell, so you sucessfully become user2, execute the bogus shell and then your user2 session ends. [02:48] Sven_vB, just solved it [02:49] Sven_vB, thank you for your help! [02:49] I made a stupid mistake [02:49] the shell was defined as /bin/false [02:49] as I thought :) [02:49] you're welcome [02:50] Thank you :) [02:54] wasnt the account containers/profiles in ff built in? [02:55] kinghat, firefox profiles and the profile manager are a built-in feature. [02:56] people, please help me, I am devastated. [02:56] I can not log in as "root" user via ProFTPd [02:56] RootLogin is set to "on" [02:56] kinghat, are you looking for "firefox -ProfileManager"? [02:56] anyway, I can not log in [02:57] when I add a new user with the same home directory, I can log in, but I can not edit the files (no rights) [02:57] Rojola, what does proftpds log say? [02:57] Sven_vB, let me check - brb [02:57] nah. i feel like ive seen the multi account container thing before but ive never installed it so i was thinking it is built in. [02:57] ah ok [02:59] Sven_vB, SECURITY VIOLATION: Root login attempted [02:59] Rojola, looks like it didn't see your config change to allow root login [02:59] maybe you need to restart the service? [03:00] albeit I though ProFTPd uses xinetd [03:00] solved [03:01] Sven_vB, the actual error was deeper down [03:01] USER root (Login failed): User in /etc/ftpusers [03:01] thank you Sven_vB [03:02] yeah, and now I am chrooted to /root [03:02] yw [03:02] I am root - why can't I access /var/www ? [03:03] via ftp? [03:03] yes [03:03] check the logs [03:03] oh, yes [03:04] I didn't see why you're using ftp. It's customary to use sftp instead. Sort of like how ssh is used over telnet [03:04] no error messages [03:05] Don't jail yourself [03:05] longus_catus, how would I do that? [03:05] xamithan, that was not my intention [03:05] If you can ssh to a host, you can just sftp user@host and then it's like an ftp client, but over ssh [03:05] Rojola, indeed if your proftpd allows plain ftp, you should forbid that, to help prevent your users from accidentially sending plain passwords. [03:05] Most ftp clients do sftp just fine [03:06] which is ftps, not sftp. but sftp is nice, too. also sshfs. [03:06] let me try - brb [03:07] Error: Received unexpected end-of-file from SFTP server [03:07] Error: Could not connect to server [03:07] I connected to sftp// [03:07] sftp:// [03:08] Can you ssh to it? I don't think ubuntu comes with openssh installed by default [03:08] Did you put in a user [03:08] I can definitely ssh to it [03:08] yes, root [03:11] It looks like root login with ssh is disabled by default. [03:12] or either sftp is disabled on the configs [03:12] not by default on my system [03:12] That can be changed by putting "PermitRootLogin yes" in /etc/ssh/sshd_config and /etc/init.d/ssh restart [03:12] This is probably a bad idea for something exposed to the internet [03:13] Probably better than allowing root to ftp its password unencrypted [03:13] Using a user for this purpose and then changing the ownership (or adding the special user to a group for /var/www that has write permissions) is the more prudent thing to do [03:13] solved! [03:13] in the file: /etc/ssh/sshd_config [03:14] commenting out this: Subsystem sftp /bin/false [03:14] adding this: Subsystem sftp internal-sftp [03:14] 19.04 has Subsystem sftp /usr/lib/openssh/sftp-server by default [03:15] Oh well. It is what it is. [03:15] longus_catus, that's a vserver [03:15] 16.04 [03:20] Does anyone know how I can make an installer for a distro I created based off Ubuntu? [03:20] Besides the obvious automated tools like Linux Respin and Ubuntu Imager [03:31] Thank you again for your help! [03:31] good night! [03:34] Ill change my question: how to disable all usb ports for standard users? My standard user is not in the plugdev group but can access the usb storage anyway. I also tried this procedure https://askubuntu.com/questions/153964/how-do-i-prevent-standard-users-from-using-the-usb-ports [03:34] but it didnt work [03:39] If I already have the HWE kernel installed, what's the correct way to (temporarily) return to running the stock kernel? [03:40] And if I then build DKMS or install kernel modules that depend on the stock kernel, the system is smart enough to ignore them when I boot the HWE kernel again, right? === [b0b] is now known as b0b === BLU is now known as Guest16491 [04:36] is it possible to `mv` overwrite a file, but maintain the original file's ownership & group? [04:37] cp -a [04:38] so cp -a stuff/foo.txt ./foo.txt will overwrite the file, BUT the file will be owned and grouped to whoever the original foo.txt belonged to? [04:40] cp -p can and does preserve the permissions of the file, but it cannot preserve the file's ownership in general. Since you aren't running cp as root, it cannot create files that don't belong to you, or that don't belong to a group that you belong to. [04:42] i can run as root [04:43] i want to discard the original contents of the file, replace it with new file contents, but otherwise keep the exact same ownership & group [04:43] recursively... for a whole directory, if possible [04:48] If the editor being used creates a new file when saving, then there's no way of controlling the owner of the file. I imagine what you probably care about though is ensuring the files remain readable by GROUP? [04:51] I suppose you can always enforce group permissions, which with careful planning and an appropriate umask, can solve most permissions problems. [05:02] :regedit if you would like examples, a more applied explanation, or alternatives that may fit your specific use-case then feel free to reach out. I'm in a lot of different chats which causes some delay in communication. [05:12] Humatiel: thanks muchly! i'm trying things from a different angle at the moment, i'll get back to that soon if efforts still fail [05:20] how to allow port ranges using ufw from 35000 to 35004 [05:20] can i use wild cards? [05:34] am on an old ubuntu 14 i'm trying to move off of... meanwhile i need to perform some tasks on it, but it seems outbound connections keep failing [05:34] apt-get fetch connections fail [05:34] even basic curl commands fail to connect [05:34] anything i can look into about this? [05:35] hangs indefinitely https://www.irccloud.com/pastebin/WNJpzL0y/curl%20command [05:35] !14.04 | regedit Repo moved to old-releases ? [05:35] regedit Repo moved to old-releases ?: Ubuntu 14.04 LTS (Trusty Tahr) was the 20th release of Ubuntu. !End-of-life was April 25th, 2019. Paid support (ESM) is available. See also !esm, !eol, !eolupgrade [05:39] switching to old-releases sources doesn't seem to help.. the machine itself seems to fail to connect outbound [05:40] Hello :) [05:41] Do anyone have an alternative to TeamViewer QuickSupport? (Free or not does not matter) [05:52] Kendos-Kenlen: whats your end goal? [05:53] lotuspsychje Do some remote support. Our users needs help and we would like to fix the issue from here. I am currently not sure if I we will install it by default on all devices or offer a per-need download yet [05:54] I found anydesk.com as a potential solution but I am also looking for recommendations from people here [05:54] Kendos-Kenlen: remote support also hold security issues, so its good you think this over well, choose the right service for the job [05:55] Kendos-Kenlen: ssh and protect with fail2ban is popular [05:56] The issue with SSH is that our customer are behind university securities and similar. The idea is to keep it as simple as possible. [05:57] Kendos-Kenlen: the security part of router/firewall you need to discuss with the admins of the .edu, egal wich service you will choose [05:57] Kendos-Kenlen: remmina is now default on ubuntu, maybe try that? [05:58] That's true. Thank you! I'll try Remina too. [05:59] Kendos-Kenlen: teamviewer had recently security issues, and is also added on ubuntu via external ppa, so we dont reaaly reccomend/support [05:59] I love when my company sell remote assistance when that has never been worked on and come to ask me when there is an issue "why we cannot fix it remotely?"... T_T [05:59] Kendos-Kenlen: will this be from ubuntu server ==> ubuntu desktops? [05:59] lotuspsychje what kind of security issue was it? [06:00] lotuspsychje I (the operator) work right now on both Ubuntu and Mac but I'll connect to a ubuntu desktop yes. [06:00] Kendos-Kenlen: from another ubuntu-desktop too? [06:01] Yes, there is no server implied. Only desktops. [06:01] Kendos-Kenlen: allright, great to discuss about teamviewer, feel free to proceed in #ubuntu-discuss [06:03] Hiya, i'm on a fresh Kubuntu 18.04 and I'm having difficulties launching snap installed apps. It seems like they are not in my PATH and either i have to use /snap/bin/ or sometimes sudo. Any ideas what might be wrong? [06:04] deanman: yes, alot of maintainers have their snap not built properly, hence the user needs to find the launcher from path [06:05] deanman: we reccomend if you have troubles with a snap, to contact via: snap find snap-name and see the 'contact' to find the maintainer of the snap [06:06] lotuspsychje, It's not a particular snap, it's all snaps hence it makes to believe there is something wrong with the /snap/bin/ path not added correctly to my user's environment [06:08] deanman: that would be weird, as ubuntu has also snaps installed by default for example: calculator, can you try launching that? [06:08] deanman: or gnome-logs [06:10] lotuspsychje, I'm Kubuntu and calculator nor gnome-logs are installed by default. For example I've installed slack and hexchat and to launch them i have to prepend the /snap/bin path [06:11] deanman: aha sorry missed the kubuntu part [06:13] deanman: maybe that is worth a bug then [06:13] deanman: ubuntu-bug snapd from terminal and describe your story please, feel free to paste us the bug # after [06:29] lotuspsychje, on it, thank you very much [06:42] hi [06:42] I've been having this lingering issue for a month now [06:42] and I haven't been able to identify the root cause of it [06:42] and it is really annoying [06:43] the problem is that after I login, the purple screen stays for like 10 seconds and then the desktop appears [06:44] this slowness becomes specially annoying considering that I have an SSD drive it is supposed to boot up very fast [06:45] I tried the systemd-analyze and it was revealed that perhaps the network wait service and the plymouth service are at fault [06:46] !enter | sentiment: which ubuntu? which gpu? also [06:46] sentiment: which ubuntu? which gpu? also: Please try and keep as much of your info as possible on ONE line - easier to follow for everyone. [06:46] but I couldn't figure out the correct solution [06:46] alright [06:46] Ubuntu 18.04, 4.18.0-21-generic [06:47] gpu: radeon 4650 [06:47] !enter | sentiment: missed the part about this? please read again [06:47] sentiment: missed the part about this? please read again: Please try and keep as much of your info as possible on ONE line - easier to follow for everyone. [06:48] I saw that, I hit ctrl-shift-v and it was entered as a new line. No big deal. sorry again [06:49] sentiment: check with journalctl if there are any excessive errors or warning produced by gnome shell or a related process, immediately after login. get to terminal and type `journalctl --since '10 seconds ago'` [06:51] as for the SSD... in certain circumstances it can actally become dog slow. like for example if it's full to the brim and the firmware has hard time moving and copying sectors on write. [07:01] sentiment: of press F1 to switch to text mode boot, to see where it bottlenecks [07:02] blackflow: how are errors indicated? [07:02] there are alot of messages for sure [07:03] blackflow: the SSD has alot of free space and it is also pretty new [07:03] just over month old [07:03] deanman: thank you for taking your time to bug #1832675 [07:03] bug 1832675 in snapd (Ubuntu) "On a fresh install of Kubuntu and fish shell my snaps are not in PATH" [Undecided,New] https://launchpad.net/bugs/1832675 [07:04] sentiment: !pastebing | well you could pastebin that output, post the URL here [07:04] !pastebin [07:04] For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [07:04] lol [07:05] bbl sorry [07:05] deanman: please also elaborate more details in your bug description, like you tryed installing hexchat and several snaps etc === peter-bittner1 is now known as peter-bittner [07:12] greetings, I just noticed that my daily apt-get update is not listing all my repos. eg. I don't see universe anymore. [07:13] lotuspsychje, doen [07:14] thank you deanman [07:15] deanman: another idea to fasten bug solving, maybe share this with other #kubuntu users? [07:24] isomari: is it enabled? please check /etc/apt/sources.list or via "Software & Updates" app, "Ubuntu Software" tab. [07:25] blackflow: yes it's enabled. [07:27] lotuspsychje, sure thing [07:27] Hello all, I'm using MySQL as backend. I've a master and slave Qt application running on 2 systems. Slave application connects to master db remotely. I'm on MySQL 5.7.26. I'm using mysql-community-server on Ubuntu 16.04. libmysqlclient crashes on yaSSL::Sessions::add (this=0x0, ssl=...) when the slave system tries to reconnect to master. The same crash does not happen if I disable SSL (skip_ssl). Is this a bug in MySQL or yaSSL ? [07:28] deanman: could join in #kubuntu [07:31] isomari: can you pastebin both /etc/apt/sources.list and the output of `apt update`? [07:31] blackflow: 1 sec ... [07:35] blackflow: waiting for an upgrade to finish before I can apt update again .......... === axy is now known as mia [07:41] blackflow: https://pastebin.com/Kvc1a3Lc [07:41] isomari: I can't visit that. Can you please use paste.ubuntu.com? [07:43] blackflow: ok ..... === mIk3_09 is now known as mIk3_08 [07:46] blackflow: https://paste.ubuntu.com/p/ykdZGT6PzM/ [07:53] isomari: yeah well that only shows you have up to date repo database [07:53] blackflow: why am I not seeing universe and multiverse? [07:54] because there are no changes in those repos since your last update? [07:54] blackflow: ok. I thought I would see it scanning them. [07:55] not scanning but downloading the database updates. if there are none, then... [07:55] blackflow: I C. thanks [08:19] Did something change with localhost in 19.04? It seems I'm unable to create ssh proxies using ssh -D, for localhost. [08:20] I might use ssh -D, and then using chromium with --proxy-server setting, but it seems localhost will never be using the socks proxy, just target my local machine. [08:20] Tested in both chromium, chrome, firefox, socks-proxy localhost doesn't work. [08:20] I've used that before for remote systems no problem. [08:20] MarkusDBX: define "unable" [08:21] when using a socks proxy with chromium. All urls is using that socks proxy, but not "localhost", I get the localhost of my local machine. I except the localhost of the remote machine. [08:21] also, elaborate which of the two is actually the case: a) you can't open the ssh tunnel, or b) you can but then eg. firefox can't/won't use it? [08:21] ssh tunnel works, socks proxy works [08:21] for all urls except localhost [08:22] there is no "localhost" of the remote machine. "localhost" is the default hostname for 127.0.0.1 [08:22] well yeah, iirc that is the defautl config in firefox. ignore "localhost" hostnames for the socks proxy [08:22] yeah, but when using a socks proxy, it should use the localhost of the remote machine, if using ssh -D [08:22] it has worked that way for a long ti,e. [08:22] *time [08:22] blackflow: ah, I see. [08:23] blackflow: I don't use firefox so much, it might have been there for a long time [08:23] I guess it's chromium, that I use a lot that has added that setting [08:23] more recently [08:23] again, there is no "localhost of the remote machine". "localhost" is just a name. exactly the same name as "google.com" is, with the only difference that it is predefined by default in your /etc/hosts [08:24] well if localhost is defined in the /etc/hosts of the remote machine, it should work when using ssh -D to the remote machine [08:25] Any one have idea about ndtrack? [08:25] But probably a browser setting in that case, that has been default in firefox for the longest of time. [08:25] Its been taking all my cpu utilisation on the server [08:27] More than 100% [08:28] Its been great if someone will give brief..as i am killing ndtrack command and its always started and taking the cpu utilisation [08:28] MarkusDBX: yes, iirc "localhost" is exempt by default. you can turn that off / remove the exception [08:28] I tried searching on google but didnt find any satisfied answer [08:30] blackflow: great, thanks. that clearifies a lot [08:30] blackflow: now I just need to find that setting for chromium, any ideas? [08:31] blackflow: do you know what setting to look for in firefox, some "name of the setting"? [08:32] MarkusDBX: it's all in the network settings page of FF, dunno about chromium, check the command line options help, as that's the only way iirc [08:34] how can I know how big (in GB) are bionic main main-updates universe and multiverse please? [08:34] are you asking how many gb those repositories are using? [08:35] yes [08:35] is there a way to know without downloading them? [08:35] why would you need to download the entire repo?? [08:35] mirroring [08:36] ah. makes sense. [08:36] https://linuxconfig.org/how-to-create-a-ubuntu-repository-server [08:37] per the 4th bullet; approx 2TB [08:37] halp [08:37] I've got the following line in my fstab: /home/vagrant/dartagnan/composer/vendor /vagrant/dartagnan-api/vendor/ none x-systemd.requires=/vagrant,bind 0 0 [08:38] Now my FS is read only [08:38] WTF? [08:38] https://wiki.ubuntu.com/Mirrors or this michele [08:39] cfhowlett: yep, but that is not divided by repo (main, main-updates, etc) [08:39] DevAntoine: tried adding ,rw after bind? [08:40] blackflow: well, I cannot edit the fstab anymore :,D [08:40] mount -o remont,rw / [08:40] But I don't understand what's happening, because this mount doesn't touch the FS. [08:40] *remount [08:42] blackflow: it did the trick, thanks! [08:42] But I don't understand why, can you tell me more please? [08:43] I have no idea what happened there. [08:43] maybe there are clues in the journal or dmesg. is there a coincidental fs error so kernel remounted root ro? [09:08] BlackDex: EXT4-fs (sda1): re-mounted. Opts: (null) [09:16] hey guys [09:16] is it popssible to install the new gnome theme on ubuntu 18.04 LTS [09:17] mia= you mean the community theme?? [09:17] nope [09:17] new gtk4 theme [09:18] Can anyone suggest a text suggest keyboard for linux, similar to T9 functionality on the mobile phones? [09:19] mia= details of the theme?? [09:19] hello, I'm trying to use systemd for mount of the partitions and directories [09:19] blackflow: Hello again [09:19] I'm gonna paste the journalctl result [09:20] https://paste.ubuntu.com/p/MVcZsqTBJz/ [09:20] cfhowlett, https://www.omgubuntu.co.uk/2019/01/adwaita-gtk-refresh [09:20] syslog say systemd[1]: var-www-html.mount: Mount process exited, code=exited, status=32/n/a [09:20] https://paste.ubuntu.com/p/McmpFzwtt4/ [09:20] this is ^^ syslog [09:20] directories won't mount and break other mount [09:20] Also I'd love to know what text editor this is: https://youtu.be/izM_vUPV00Y?t=56 -- looks like a native gnome thing [09:21] mia= it's a theme. the article lists "how to" install. what is the problem?? [09:21] what to do? [09:21] cfhowlett, the newest version of the theme (as far as I read) uses GTK4 --- which isn't here for ubuntu 10.04 I believe ? [09:21] blackflow: lotuspsychje https://gist.github.com/no149/eb94f33b3ef67e8b6c554adc80e7c27f [09:21] the slow login issue [09:22] mia= one would think so. try it??? [09:22] !crosspost | yuradoc [09:22] yuradoc: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support. [09:23] I see some error lines in there. For example: JS ERROR: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freed [09:23] getUniqueBusNameSync@/usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/util.js:58:20 [09:23] traverseBusNames/<@/usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/util.js:82:34 [09:23] use a pastebin sentiment [09:23] sorry, it's in the link I posted above. I just wanted to point it out here [09:23] it's line 11 [09:24] What's this text editor? https://youtu.be/izM_vUPV00Y?t=56 [09:24] it takes 3 seconds for the gnome shell to starwt lotuspsychje [09:25] ok, sorry ubottu. I thought #ubuntu is common, #kubuntu is more special [09:25] also systemd-analyze reports this (just two lines): [09:25] Startup finished in 3.803s (kernel) + 24.076s (userspace) = 27.879s [09:25] graphical.target reached after 18.029s in userspace [09:25] that's why i placed question in both [09:27] sorry again [09:28] but how to make systemd recognize folder [09:43] are those errors related to the slow login? [09:44] also judging by those seconds, gnome termnal server is also slow to start [09:45] greetings, what is the network tool that shows me the speed of each nic in a bond? [09:45] however the systemd-analyse reports the graphical target taking 9.8 seconds to get reached [09:45] took [09:46] !crosspost | isomari [09:46] isomari: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support. [09:46] isomari: can't tracert be used? [09:46] lotuspsychje: sorry, didn't think of that. [09:47] sentiment: whats the hardware this runs on? [09:47] lotuspsychje: does journalctl report reflect the systemd-analyze's? [09:48] https://imagebin.ca/v/4kRlOYcnLtML [09:49] gpu:radeon 4650, cpu: athlon x2 5400+, ram: 4gb dual channel 667mhz, OS disk: SSD SATAII, user disk: 7200 rpm HDD [09:50] then i don't see an unusually slow login taking place there [09:50] but it's unusually slow, Windows wouldn't behave like that. [09:51] isn't 10 seconds unusual for an SSD disk?! [09:52] the purple screen getting stuck for almost that many seconds sounds like a problem [09:52] why do you think so tomreyn ? [09:53] sentiment: you cant confuse kernel boot & userspace time [09:53] are you implying it is by design? [09:53] tomreyn: ^ [09:53] lotuspsychje: the numbers were related to gnome and graphical target [09:53] sounds pretty much the same to me [09:53] sentiment: are you talking about the gnome shell login? after you login there, it takes ~10 seconds to reach the desktop? [09:54] as systemd-analyze reports blackflow, yes [09:54] sentiment: systemd analyze has nothing to do with that [09:54] hmm really? [09:54] also a .target can report readiness much later than you actually see it ready [09:54] yea [09:54] so maybe I should measure it by hand? [09:54] yup [09:55] ok I'll be back after a cold reboot and measurement of just the login step [09:55] thanks [09:57] nevermind. I found it. dstat [10:01] i get this error ControlSocket /Users/test1 already exists, disabling multiplexing [10:01] any idea why? [10:02] dsag: provide the whole contect to the channel please so volunteers can think along, what are you doing? [10:02] *context [10:02] im trying to use ansible to execute a command [10:02] suddenly i get this error [10:03] dsag: maybe more a question for #ansible ? [10:03] lotuspsychje: hmm i think its more of ssh related [10:05] dsag: whats your ubuntu version, openssh version and why do you suspect? [10:06] dsag, are you using PuTTY ? [10:07] JimBuntu: no [10:09] dsag, Well, generally, as far as I am aware, that's more of a warning message... based around your client/server connection settings, and it's basically saying that it's preventing multiplexing... is it causing an issue for you?... do you have a customized SSH config OR using special arguments? [10:09] blackflow: You'd be surprised [10:09] same for tomreyn [10:10] sentiment: of what? [10:10] it took 26 seconds right after I hit the login button until the desktop was shown [10:11] systemd-analyze reports almost the same number as the sum of userspace and kernel time [10:11] sentiment: pastebin: systemd-analyze critical-chain please [10:12] sentiment: you got nvidia graphics ? [10:13] JimBuntu: the command is not getting executed as it throws me the warning [10:13] lotuspsychje: https://gist.github.com/no149/d8428dfb166946909743ba05e9e581bf [10:13] ok, dsag, please verify that you do not have any special arguments in ~/.ssh/config related to this host [10:13] Mava42: nope [10:14] sentiment: k, noticed similar behavior with a setup with nvidia and some specific driver package installed [10:14] btw what was the command to paste directory into pastebin? [10:14] sentiment: have you done "systemd-analyze blame --user" (and critical-chain) ? [10:14] dsag, or the Hostname * settings... specifically related to Control [10:15] I've done blame numerous times and all the time it pointed finger at the network wait service and plymough [10:15] plymouth* [10:15] sentiment: dbus & target are only 1.8 sec here for me [10:15] evertime I ran it [10:15] sentiment: I thought you were talking purely about the user login, hence I suggested "--user" [10:15] sentiment, and it's faster if not on a network? [10:15] oh you are right [10:15] JimBuntu: ControlMaster auto ControlPath /tmp/ssh_mux_%h_%p_%r [10:15] sentiment: systemd-analyze is not measuring time after you hit enter on the login screen. here, in my case it shows 22s total time and I get the desktop immediately after I hit enter [10:16] JimBuntu: no, not much (haven't measured it but it's by feel of it( [10:16] dsag, well ok then, you have special settings related to this, and they are causing the issue. This is a known downside, especially when connections are dropped unexpectedly [10:16] sentiment: it could be the network-wait-online system unit overlaps the user login [10:16] JimBuntu: should i delete this? [10:17] blackflow: yeah, systemd-analyse seems to be of no help here [10:17] dsag, I would prefer you comment them out, or make a backup copy and then delete them, but yeah [10:17] sentiment: Startup finished in 13.506s (kernel) + 8.724s (userspace) = 22.231s (kernel is longer as I have to type in the LUKS passphrase for FDE) and I don't have to wait 8 or 22 seconds after I hit enter on desktop login. [10:17] have got that reply before [10:18] sentiment: did you pastebin the journal output with --since '10 seconds ago' or whatever number of seconds it is, after you hit enter on login? [10:18] Generally speaking dsag , those settings improve performance, but in special cases, quite the opposite [10:18] yes, gonna send the link again [10:18] sentiment: please do [10:18] JimBuntu: no progress still, after removing them [10:18] dsag, you may need to wait for them to timeout/die, sorry [10:18] blackflow: https://gist.github.com/no149/eb94f33b3ef67e8b6c554adc80e7c27f [10:19] that's with 10 seconds [10:19] TJ-: i also suspect network there, 13sec & 7sec [10:19] lotuspsychje: do you think I should measure with the router off? [10:20] sentiment, you don't have to power off the router, simply disconnect the CAT cable [10:20] I have searched the web for the network wait service and got a few results with workarounds [10:20] but I didn't try any [10:20] sentiment: I arrived late to the party; is you issue purely about a delay after entering password, or about the combined start-up delay [10:20] JimBuntu: it's wifi [10:21] disable wifi then? [10:21] sentiment: network-wait-online is waiting for the network to be up before moving on to other jobs that rely on network, and wifi can often take 8 seconds or even more to bring up [10:21] TJ-: post login [10:21] sentiment: need bigger time frame, it appears you start terminal 6 seconds later [10:21] (which is expected-ish) [10:22] blackflow: should I automate it to run in the shell? [10:22] to minimize that time window? [10:22] I mean in the basrc file [10:22] sentiment: one question then - have you got the Network Manager connection for the wifi set to "share this connection for all users" (or whatever the phrase is!) because if not, if it is only for this user, then the wifi passphrase will not be available untuil *after* you log in, and therefore you WILL have a delay after login whilst network comes up [10:23] TJ-: 8 seconds? this takes 26 seconds, it is beyong abnormal [10:23] sentiment: I've not seen the systemd-analyze critical-chain - is there a link? [10:23] sentiment: no need, but from what's seen here you have gnome shell starting at 13:45:22 and then terminal starting at 13:45:26, that's 4 seconds apart, that's normal. so if there's a delay, it's before gnome shell starts. I'll join in with TJ- on assuming your wifi is blocking things. [10:23] I wonder if rebooting the router would change the time required [10:24] TJ-: I am thinking your passphrase comment [10:24] sentiment: i've seen this for users who make the wifi connection per-user not shared for all users [10:24] let me check that setting, is it in the net manager UI? [10:25] sentiment: yes, in the connection itself [10:25] or is it accessible by iwconfig? [10:25] ok [10:25] TJ-: https://gist.github.com/no149/d8428dfb166946909743ba05e9e581bf [10:25] "Make available to other users" is ticked [10:26] lotuspsychje: thanks, I was about to paste it :) [10:26] shall I paste the analyze blame --user too? [10:27] I ran that command and the numbers are <1 second [10:28] sentiment: OK, so that means it'll be available before log-in [10:28] it takes the network wait service almost 6 seconds to come up, as seen in the paste [10:28] it's still 20 seconds difference [10:28] sentiment: network-wait-online ... less than 8 seconds :p "+7.721s" [10:28] disregarding that 6 seconds still seems a lot [10:29] sentiment: and system is reaching graphical.target in 17 seconds [10:29] oops yeah [10:30] sentiment: that 7.7 seconds includes having to do an initial channel scan, possibly on both 2.4 and 5.x GHz, and then do WPA association and then DHCP, so that is pretty good [10:30] 6 or 7 seconds... not much diff, still alot, don't you think so? [10:30] but the big issue is not the network service apparently is it? [10:30] sentiment: no, to be expected on first boot, due to doing the first channel scan [10:30] yeah [10:31] "reaching graphical target in 17 seconds" --< does this mean gnome start basically? [10:31] sentiment: apparently not, if your desktop is taking a while. I'm beginning to wonder if - as there was some years ago - there's some per-user login file indexer task running in the background [10:31] hi [10:31] is it possible to make symlink of a folder to a mounted gcp bucket? [10:31] sentiment: Yes, that is when the Display Manager has reported itself as started [10:32] so does it mean 26 - ~7=19 , which is close to that graphical target number? [10:32] sentiment: have you tried creating a brand new user account and then booting into that (TWICE!) and seeing if that is any different? if it is then you've got a per-user-config issue going on [10:33] TJ-: thinking of Nepomuk/baloo on KDE? [10:33] sentiment: no it doesn't mean that. the times when things were reached are the @.... numbers, network-wait-online reaches at 6.170 since boot, graphical target at 17.5 since boot [10:34] blackflow: I'm actually recalling something in Gnome about 10 years ago, some indexer that was really painful [10:34] blackflow: well, something in the Ubuntu Gnome/Unity default [10:34] it rings a vague bell from the past, yah [10:34] ok then. let me try with a new account [10:35] blackflow: was fine when the user had a clean fresh install but if they had thousands of media files and what-not, it could delay desktop rendering by a minute or more [10:35] especially as back then it was mostly HDD not SSD [10:36] can someone help me [10:36] ask a question forst myxenovia [10:36] first [10:37] myxenovia: yes [10:37] myxenovia: assuming you mean a symlink to a mountpoint on your local system :) [10:37] i asked it but i think its been flooded [10:37] is it possible to make symlink of a folder to a mounted gcp bucket? [10:38] myxenovia: symbolic links are just text files with the path to the other location stored in them [10:38] yea i mounted gcp [10:39] im able to create a symlink and its working [10:39] useradd test right? [10:39] sentiment: no, "adduser" it is more friendly ! [10:39] but when viewing the gcp in the browser its just a file not a folder. [10:39] sentiment: "sudo adduser newuser" [10:39] in my local its a folder with desired content [10:39] ok thanks [10:39] myxenovia: in a browser? that makes sense [10:40] TJ- yea in the console.cloud.google.com [10:40] myxenovia: presuming you mean that accessing the GCP itself, which is not on your computer if I understand things correctly, its on Google servers [10:41] https://i.imgur.com/lT63RhV.png [10:41] TJ-: ~13 seconds with the new account. Consider this is not a cold boot [10:41] myxenovia: so whilst you've got a GCP 'thing' mounted on your local system your local tools can follow the symlink, but when you 'view' it on the Google servers they have no understanding of symlinks and even if they did no idea you've got a local link [10:41] sentiment: is that better? [10:41] so logging in with the current account should take almost the same time [10:41] sentiment: so 13 seconds difference ? [10:42] yeah [10:42] TJ- i see. that makes sense. they wont reach the path of my local. can u tell me what to do for this? [10:42] sentiment: so focus your invetigation of what you've got autostarting in your usual user session [10:42] I could try measring this account's login, but I believe it's almost the same [10:42] it would be [10:43] myxenovia: I do not think there is any solution, but I don't use GCP so you'd have to ask their support if what you want to do is possible [10:43] what about the other 13 seconds? [10:43] sentiment: which other 13 seconds? the 13 seconds after typing paswword until desktop is ready? [10:43] Howdy folks [10:44] this was not a cold boot. Cold boot meaning rebooting takes 26 seconds. 13 seconds is subtracted after that which amounts to the time it takes after login [10:44] and it happened with the new user too, do you mean there's a default user session config causing that? [10:45] sentiment: well it needs to be a cold boot if you're comparing with a cold-boot for your regular user account, else you're not learning anything [10:45] sentiment: I think we're talking at cross purposes here! [10:45] I could just log off this account and relogin without rebooting [10:45] which is what I was sayin [10:45] TJ- what if i put the url of my server? instead of doing relative path [10:45] sentiment: so, after typing new user's password, it took 13 seconds to reach a usable desktop? [10:46] for the new user [10:46] myxenovia: I do not know [10:46] let me try with this account [10:46] 13 seconds is still alot though, for the new account [10:46] isn't it? [10:46] sentiment: depends on what is installed! but at least you can narrow your focus on finding out what is causing it [10:47] Hi, I have recently moved my plex server over to the latest version of the ubuntu LTS version. I was wondering if it's possible for me to remotely connect to it via my windows or mac computer? I am currently connected to it in terminal form via putty but I would like to be able to access the gui version too [10:47] ok, by using the systemd-analyze and which logs? [10:47] sentiment: it may be some task that takes time initialising and remains around in which case we might be able to deduce what it is with looking at "systemdctl --status --user" [10:48] grrr "systemctl --user status" even [10:48] let me run it in the new account's session then [10:49] sentiment: install haveged, install preload, bleachbit your system free space,trim down startup applications, trim down unneeded services [10:49] is it possible to change gedit theme to dark? just like console? [10:49] The rest of my theme is light, but I can set console to use dark theme [10:49] so I want to do the same for gedit as well [10:49] sentiment: one thing I noticed earlier, your log showed several Evolution-data-server tasks starting. At one time that was *famous* for causing delays [10:49] Possible? [10:50] mia: GUI themes are set for all GUI applications, generally. Terminal does its own colours for the shell, which is not GUI [10:51] Is it possible on the latest version of ubuntu to rdp connect to the computer? [10:53] TJ-: yeah Evolution was in the systemctl output along with tracker and volume something service [10:53] *rdc [10:53] !info xorgxrdp | abbyneedshelp: if it has the correct rdp server service installed [10:53] abbyneedshelp: if it has the correct rdp server service installed: xorgxrdp (source: xrdp): Remote Desktop Protocol (RDP) modules for X.org. In component universe, is optional. Version 0.9.5-2 (bionic), package size 80 kB, installed size 411 kB [10:53] there are just two startup items though [10:54] abbyneedshelp: most people use VNC not RDP though [10:54] snapd and ssh key agent [10:54] sentiment: there are usually lots of hidden items too, that the shell triggers [10:54] okay for vnc would i need to install a server on the computer I'm trying to connect to? [10:55] or would i still use "sudo apt-get install xorgxrdp [10:55] sentiment: show us the "systemctl --user status" after log-in [10:55] ok [10:55] abbyneedshelp: you'd need the VNC server component. But mind, this is all assuming that the OS already has Xorg xserver installed too [10:56] abbyneedshelp: if the 'server' is headless or console-only that won't work [10:56] TJ: It's just the default ubuntu LTS OS [10:57] TJ: What commands should I use to install both of those things? [11:01] TJ-: https://gist.github.com/no149/d9b4c885c4056a6c7fecf9ec8b80ddba [11:01] abbyneedshelp: I don't think I'm equipped to help you on that; if the current install is effectively ubuntu-server with a shell or web-admin interface, presumably that's what the developers intended. But I don't use plex. Maybe someone else here knows [11:01] where are time seconds? [11:01] TJ- my boss said it was already done by others. when i check the folder it wasnt even a symlink [11:02] tracker, volume monitor and xdg permission store services are at the top [11:02] sentiment: "systemctl --user status tracker-store.service" [11:02] sentiment: there's no significance to their position aside from their process ID [11:04] TJ-: https://gist.github.com/no149/f9364b299685db3c5257f8fcad0b13bb [11:04] tracker had to be installed because of gnome-music [11:04] maybe I should try disabling it and see what diff does it make? [11:06] how can I time its startup? [11:06] sentiment: if you haven't already, might be time to deploy bootchart [11:07] sentiment: it's status log seems OK, the timestamps are close together [11:07] sentiment: one other thing we should look at first: "journalctl --user" [11:08] bootchart? I looked it up and found it is related to systemd-analyze plot [11:08] sentiment: no, it is a separate tool [11:08] ok systemd-bootchart [11:10] sentiment: it inserts itself into the systemd init (replaces systemd-init) to monitor/record timings, an the graphical chart makes it easier to understand where things are happening [11:11] reading its man page [11:12] sentiment: while you do that show me: journalctl --user --since="1 hour ago" [11:14] TJ-: what was that termbin command? [11:14] for pastebin? [11:15] sentiment: something | nc termbin.com 9999 [11:15] oh thanks [11:16] what kernel did ubuntu 17.10 was carrying when launched? [11:16] TJ-: https://termbin.com/khjo [11:16] gofio: I'd google it [11:16] sentiment: yeap that too, but not only that [11:17] sentiment: I think I see the problem, and i'd guess you caused it :D [11:17] related to SSD? [11:17] fingers crossed anyways :D [11:18] sentiment: my bet is you've, at some point, run some command with 'sudo' that has changed ownership of key directories and files... here's just one very easy-to-understand error message as a result: "The owner of /home/meghdad/.config/ibus/bus is not meghdad!" [11:18] 4.13 says google so I'll assume that's correct [11:18] sentiment: show us "find $HOME -not -user $USER -ls | nc termbin.com 9999" [11:19] yeah actually, I saw that TJ- , but dismissed it as unimportant to this problem [11:19] sentiment: I'd certainly want to fix this first, because it could be causing all sorts of programs to delay and rety etc. [11:19] waiting for the ubuntu siri to come some day (well, there are already beta versions, but in support version) [11:21] TJ-: https://termbin.com/ldtj [11:21] lots of GPUCache permission issues [11:22] well not lots of, but quite a few [11:22] lol all my dark history is now pasted :D [11:23] sentiment: looking at timestamps the session starts at 15:28:17 and seems to be ready around 15:28:41 [11:23] some of it anyways :D [11:23] sentiment: isn't that open source? [11:23] sentiment: not interested in what's there, just that it confirms lots owned by root, so lets fix that [11:24] sentiment: " sudo find $HOME -not -user $USER -exec chown $USER:$USER {} \; " [11:25] sentiment: that may not be the cause but once fixed do (yet) another login test and see how it goes [11:26] the time difference is close to the initial 26s [11:26] Welcome on International Direct Connect Hub with TLS and UTF-8 supported. Адрес хаба: [11:26] adcs://dchub.one:411 [11:26] TJ-: thanks, I'm gonna do that [11:27] sentiment: I'm pretty sure its tracker due to messages such as "tracker-extract[11387]: Couldn't create PopplerDocument from" [11:27] sentiment: since ^^^^ that infers tracer is OPENING documents which imples time is taken [11:27] hello [11:29] on an RPi3 using the official Ubuntu kernel (aarch64), wine64 doesn't work [11:29] (dlls/ntdll/virtual.c:256: BOOL alloc_pages_vprot(const void *, size_t): Assertion `end <= pages_vprot_size << pages_vprot_shift' failed.) [11:30] TJ-: ~12s upon re-login [11:30] Kuleshov: can we help you with something? [11:30] sentiment: we saved a second! [11:30] laptop2: sounds like a #winehq issue [11:30] haha yeah :p [11:30] blackflow: doesn't affect other kernels [11:30] just rpi3 [11:30] and even then, not rpi3 kernels outside of ubuntu [11:30] I'm gonna run systemd-bootchart now and paste the svg, ok? [11:31] sentiment: I really think your issue now is likely tracker, especially after reading about what it does, but it's onnly a hunch, no solid evidence to point to (yet) [11:31] sentiment: yes [11:31] could be [11:31] framebuffer on thx [11:31] laptop2: only wine devs can know what that assertion is about. please check in #winehq or ask on their forums, you'll get help faster. [11:34] blackflow: thanks, will try to ask more there [11:36] hi all [11:36] i am not able to terminate tail -f processes on ubuntu 18 [11:37] eventhough I issue kill -9 PID it is not working [11:37] can comeone help me please [11:37] *someone [11:37] qwebirc18334: Ctrl + c [11:37] jeremy31: thats not working either [11:37] jeremy31: these processes are owned by init 1 process as parent [11:38] qwebirc18334: what are you tailing? any file or some file tail specifically can't be terminated with ctrl+c? [11:38] blackflow: some log file [11:38] if they're owned by pid 1 they're zombies [11:38] blackflow: tail -f /var/log/syslog [11:38] crashed and possibly waiting on nonexisting io [11:39] blackflow: so how to terminate them [11:39] reboot [11:39] blackflow: any file I try to tail it is not getting terminated [11:39] sounds like a general I/O error [11:40] TJ-: whats could be the cause ? [11:40] qwebirc18334: is _every_ tail you run reparented to pid 1? [11:40] blackflow: yes [11:40] qwebirc18334: check "dmesg" [11:40] that sounds highly abnormal. yeah, see what the kernel is saying with dmesg [11:42] TJ-: scsi host12: iSCSI Initiator over TCP/IP connection206:0: detected conn error (1020) scsi 12:0:0:0: Direct-Access EQLOGIC 100E-00 8.1 PQ: 0 ANSI: 5 [11:42] TJ-: is that the error from dmesg ? [11:42] hey TJ- [11:42] I coundn't bootchart to run at startup, had to run it manually [11:43] the result shows tracker-miner taking lot of cpu time [11:43] let me paste it [11:43] TJ-: blackflow how to find the root cause here ? [11:45] qwebirc18334: looks like it; the network connection has broken for the iSCSI [11:45] TJ-: but why is it interfering with OS commands like tail -f ? [11:45] https://gist.github.com/no149/e17c3e44dac8c740473deace34bf9ff3 [11:46] sentiment: this may be helpful: https://gist.github.com/vancluever/d34b41eb77e6d077887c [11:47] qwebirc18334: are those logs on the iSCSI device? [11:47] TJ-: from dmesg [11:47] sentiment: I do not see any process names in your gist for some reason [11:48] qwebirc18334: no; the logs you are trying to *tail* [11:48] TJ-: those are syslog [11:50] TJ-: all tail -f processes are not getting terminated [11:50] TJ-: https://drive.google.com/file/d/1v3DAWvw0fkexstgfHukJqFm65xAnl_zW/view?usp=sharing [11:50] and I'm gonna disable tracker in the meantime [11:50] qwebirc18334: are the files you're tailing on the iscsi device? [11:51] hi [11:51] blackflow: no [11:51] qwebirc18334: can you tail, say, /run/rsyslog.pid [11:51] sentiment: that seems to confirm it; tracker is eating up most CPU time and therefore slowing everything else down [11:51] I'm using 18.04 with gdm. How can I make it run commands that are usually in ~/.xinitrc? Like "xrdb ~/.Xresources" [11:52] blackflow: even that is hanging [11:53] qwebirc18334: is the command producing output before hanging? My guess is the $PATH includes something on the iSCSI and is hanging due to not being able to search [11:53] qwebirc18334: is /usr/bin/tail on the iscsi device? [11:53] qwebirc18334: "echo $PATH" [11:54] TJ-: good call [11:54] qwebirc18334: try "/usr/bin/tail -f /var/log/syslog" [11:54] TJ-: even that is hanging [11:55] qwebirc18334: is /usr/bin/tail itself on the iscsi device? [11:55] qwebirc18334: are you able to "cat /proc/mounts" ? [11:56] TJ-: yes [11:56] qwebirc18334: check that output for what is mounted from the iSCSI [11:57] qwebirc18334: and cross check that with "echo $PATH" to see if there is a component in the search path on iSCSI [11:57] inad922: via ~/.xsession methinks [11:58] TJ-: nothing is from iscsi [11:59] qwebirc18334: seems like the system has got itself in a mess so reboot is the only sane course [11:59] TJ-: but how wto find the root cause ? [12:00] blackflow, I tried that one. It didn't work [12:00] inad922: try ~/.xsessionrc then [12:02] TJ-: blackflow can I take any kernel dump for later analysis before a reboot ? [12:04] TJ-: blackflow any idea ? [12:06] the only things I can think of are relatively unlikely. a) some library arch mismatch (eg. 64-bit lib on a 32-bit system or a non-intel lib on an intel cpu, ...), b) hardware issues with RAM (which would be evident elsewhere) [12:06] qwebirc18334: what ubuntu release is it? what kernel version, what architecture? [12:06] I mean, I am talking about tail crashing and reparenting to pid 1, unless you mischaracterized that part :9 [12:07] blackflow: it's on a pi, which is ARM [12:07] Only time I've seen anything like this is hardware failing, but that didn't cause reparenting to PID 1 - that sounds like some non-standard library issue [12:07] (because running it with full path against a file in tmpfs /run removes disk issues from teh equation) [12:07] TJ-: Ubuntu 18.04.2 LTS \n \l , 4.15.0-46-generic #49-Ubuntu SMP [12:07] oh wait, wrong person :) [12:07] qwebirc18334: amd64 (64 bit) ? [12:08] TJ-: yes [12:08] qwebirc18334: maybe you can strace tail while you're doing it, see where it hangs last [12:08] oh, wait, amd64 ubuntu on ARM? [12:08] blackflow: that'll hang strace before it starts tail :) [12:08] that wouldn't even boot [12:08] TJ-: so how to capture the dump then for root cause analysis ? [12:08] blackflow: leftyfb is winding you up :D [12:09] blackflow: its not ARM [12:09] qwebirc18334: I'm not sure you can seeing as it seems to have fundamental issues reading the file-system [12:09] TJ-: leftyfb: ohlol :) [12:09] blackflow: INTEL processor [12:09] qwebirc18334: does this work? "cat /var/lgo/syslog" [12:10] TJ-: :-( [12:10] no avail [12:10] and the tracker services are disabled [12:10] does echo "herp derp" work? If you say no, reboot into memtest [12:10] goddamnit [12:11] TJ-: yes it works [12:11] sentiment: what is bootchart showing now? [12:11] qwebirc18334: so, I think you've somehow broken the system libraries [12:11] qwebirc18334: it's affecting executables, not file-system access itself [12:12] TJ-: how to confirm that ? [12:12] qwebirc18334: try reinstalling coreutils. apt --reinstall install coreutils [12:13] blackflow: will it break the running system then ? [12:13] and if that fixes it, check your hard drive for bad sectors and corruption [12:13] qwebirc18334: if it does, it'll break due to a much bigger problem you have there [12:13] * TJ- is expecting almost all commands to hang if tail does, since "ldd /usr/bin/tail" only shows libc linked! [12:13] TJ-: I have a hunch about a bad sector corrupting the tail binary specifically [12:13] cat is libc too and it worked [12:13] qwebirc18334: has any non-ubuntu-archive software been installed or built on this system? [12:14] TJ-: https://drive.google.com/open?id=1ElmTDcR_ivBJyA6u5yYkX5gaISkpWGH0 [12:14] gnome-shell now seems to be at fault [12:15] blackflow: good point, I'm getting myself mixed up with /bin/echi vs shell's builtin echo [12:15] sentiment: it's denied access [12:16] sorry TJ- https://drive.google.com/file/d/1ElmTDcR_ivBJyA6u5yYkX5gaISkpWGH0/view?usp=sharing [12:18] this is turning out to be a nasty problem [12:21] it took 26s again to login [12:21] sentiment: some time ago I remebmer a same/similar problem, which was caused by nouveau gpu driver, what with GNOME shell requiring acceleration [12:22] but you said you had Radeon, so I'm not sure what to suggest you to try [12:22] uhm I'm trying to join #ubuntu-beginners, but it keeps connecting me to #ubuntu [12:22] anyone has a suggestion? [12:22] blackflow: yeah I'm at a loss [12:23] is there a gnome specific log? [12:24] nah, it's going to journal/syslog [12:24] I'm gonna try disabling minidlna now [12:24] however, there might be clues in ~/.local/share/xorg/Xorg.0.log [12:24] could help [12:25] dunno if the xorg log was mentioned before [12:25] thanks I might check it too [12:25] or it's /var/log/Xorg.0.log, depends whether your Xorg runs as root or user [12:26] I've got errors at boot time regarding my bind mounts and I have to skip them in order for the VM to boot. Is there a log where I can know more? [12:26] the journal [12:27] `journalctl -b`, to be precise - should contain all the logs of the current boot [12:28] ayekat: I'm on trusty :/ [12:29] :-] [12:29] !trusty [12:29] Ubuntu 14.04 LTS (Trusty Tahr) was the 20th release of Ubuntu. !End-of-life was April 25th, 2019. Paid support (ESM) is available. See also !esm, !eol, !eolupgrade [12:30] sentiment's last bootchart still shows tracker-miner eating CPU; did he realise? [12:31] ayekat: yeah, I'm aware of this but you, you're not aware of my contraints ;) [12:32] DevAntoine: well then /var/log/syslog or .../messages, one of those, [12:33] blackflow: thanks. [12:33] * ayekat wasn't very sysadmin-savvy during the pre-systemd era [12:34] DevAntoine: are the bind mounts reliant on some other file-systems to be ready first? [12:34] the syslog files are available even under systemd, it's just that teh journal is much more versatile in lookup [12:34] TJ-: yes, they are mounted to a NFS directory, which is a shared volume with Vagrant. [12:36] DevAntoine: I once solved that by giving anything dependant on NFS "noauto" option in fstab and then having a later service parse fstab and start them once the NFS mount was working [12:36] TJ-: well, I was playing wiuth systemd dependencies but I don't think it's available on Trusty [12:37] (I've got two boxes, one on Trusty, the other one on Bionic) [12:37] A mount from the fstab: /home/vagrant/dartagnan/node_modules/renderer /vagrant/dartagnan-renderer/node_modules/ none x-systemd.requires=/vagrant/dartagnan-renderer,defaults,bind 0 0 [12:37] DevAntoine: no, it's not on 14.04 [12:37] See the "x-systemd.requires"? [12:37] So I guess the option is just ignored then. [12:38] Because iirc it works on Bionic. [12:38] yes, the x-systemd is read by the systemd-generator-fstab [12:38] DevAntoine: any reason you cannot start those binds manually? [12:39] TJ-: easy of use for the rest of the team. [12:39] DevAntoine: script it then from an /etc/init.d/ job added to rc2 [12:39] TJ-: https://termbin.com/5jw1 [12:40] TJ-: "mount -a" would be enough? [12:40] I see some gnome errors [12:40] not the right paste [12:40] hold on [12:41] DevAntoine: the other question is, at boot-time is mount being forked (-F) or is it only using -a which operates sequentially on fstab order [12:41] here https://termbin.com/slrz [12:41] DevAntoine: it could be as simple as mount -F being called, [12:42] could be some extensions? [12:42] I have one or two installed [12:42] JS sucks btw [12:43] TJ-: ran out of ideas? [12:45] thanks for trying to be helpful anyway [12:45] sentiment: I think it is just how long it will take; looking at the start-time and the various delays in the timestamps, e.g. starting from Jun 13 16:58:57 Ubuntu-Desktop gnome-session-binary[1048]: Entering running state [12:45] sentiment: there's 14 seconds there before the next message [12:46] where do i input iptables rules at? as opposed to typing them command line [12:46] sentiment: is it on a HDD or SSD ? [12:46] ubuntu 18.04 [12:46] !ufw | bynarie [12:46] bynarie: Ubuntu, like any other Linux distribution, has built-in firewall capabilities. The firewall is managed using the 'ufw' command - see https://help.ubuntu.com/community/UFW | GUI frontends such as gufw and ufw-kde also exist. | An alternative to ufw is the 'iptables' command - See https://help.ubuntu.com/community/IptablesHowTo [12:46] TJ-: wow, I have no idea what you're talking about regarding mount being forked oO [12:47] TJ-: I was going to ask you exactly that. Those empty windows... [12:47] TJ-: the OS disk is SSD [12:47] wasnt iptables replaced by ipchains or so [12:47] ? [12:47] the other way around [12:48] DevAntoine: "man mount" see the section starting "The files /etc/fstab, /etc/mtab and /proc/mounts" [12:48] TJ-, thank you, but I've looked into that. UFW doesnt support directly redirecting ports [12:48] i think i found it... /etc/ufw/rules.before [12:48] blackflow, ipchains was first? [12:48] iptables is being phased out now i think [12:49] bynarie: hardly. nftables are supposed to replace iptables at some point, but there's talk about deprecating even nftables in favor of EBPF [12:49] more about it in #ubuntu-discuss [12:50] thx [12:50] TJ-: was it you who helped me to relocate the OS from an old HDD to this new SDD? [12:50] like over a month ago [12:50] DevAntoine: check what the actual command used is, hopefully, with: "grep -rn 'mount ' /etc/init.d/ " [12:50] because I guess it happened after that [12:51] sentiment: not sure; I've been to sleep since then! [12:51] lol [12:51] sentiment: did you notte my earlier comment about your latest bootchart? [12:51] sentiment's last bootchart still shows tracker-miner eating CPU; did he realise? [12:52] sentiment: that's from bootchart-20190613-1642.svg [12:53] hmm, missed that [12:54] TJ-: https://gist.github.com/devantoine/8570804226cb3c55bfab161653227067 [12:54] Not really sure which one is relevant. [12:54] I don't see it though [12:55] are you sure you looked at the right svg? [12:56] https://drive.google.com/file/d/1ElmTDcR_ivBJyA6u5yYkX5gaISkpWGH0/view?usp=sharing [12:58] it seems there's not much I can do [12:58] except for a clean install [12:58] or putting the os to sleep everytime [12:59] that does away with the cold boot time [12:59] but I bought an SSD so that I don't have to put it to sleep [12:59] I don't want unnecessary power usage [13:01] I'm gonna post this issue on the askubuntu website [13:01] maybe more eyes can help [13:01] sentiment: well I think so, I'm looking at the file Google sent me :) [13:01] the svg? [13:03] sentiment: ok, that one is different and I see some things... coming up [13:04] it's gnome shell [13:07] sentiment: gnome-shell 10.91s, gnome-software 3.17s are the main ones [13:09] TJ-: maybe this line "mount $MOUNT_FORCE_OPT -n -o remount,ro /" which is the last line of my gist. [13:10] sentiment: I've just read that failure to do hostname resolution of localhost can cause delays; not sure if that still affects recent Gnome though [13:11] Hi, I updated my Ubuntu 18.04 VM install today and now it won't start, it gets stuck on the purple screen with an "Ubuntu" watermark at the bottom [13:12] How can I troubleshoot this? [13:12] DevAntoine: those look like *unmount* jobs [13:12] ChrisL71: try pressing 'esc' to see where it's hanging [13:13] DevAntoine: it looks like the actual 'mount' command may be in an external 'library' that is sourced by the mount service job [13:14] TJ-: it's starting to get hard. [13:15] If I really need to improve this box I'll do what you said, a script in /etc/init.d which will just do "mount -a" [13:16] DevAntoine: seems this is how it is done http://manpages.ubuntu.com/manpages/trusty/en/man8/mountall.8.html [13:16] It's a legacy box for maybe, hot fixing stuff until the new version of the APP is released, the new new version currently run under Ubuntu BIonic and I don't have to deal with all theses things thanks to systemd. [13:16] EriC^^: I tried pressing Esc and it does nothing on that screen [13:17] DevAntoine: it implies the correct ordering is used "...correct order to mount filesystems..." [13:17] TJ-: I'm not sure when /vagrant is mounted because virtualbox and vagrant add their own startup scripts. [13:17] Relevant info: I just managed to boot from the recovery option. I selected 'continue' and it managed to get to the log-in screen [13:18] By 'recovery option' I mean the recovery mode under GRUB [13:20] ChrisL71: can you upload your VMs' syslog from the previous boot (and post the url here)? journalctl -b -1 | nc termbin.com 9999 [13:20] DevAntoine: you can control the /etc/init.d/script ordering via their headers, you can set dependencies [13:20] wow, I was not aware of this. [13:21] DevAntoine: it's complicated by the fact that on 14.04 I think it'll be using Upstartt by default, and I'm not sure how/if it abides by the /etc/init.d/ dependencies declared in the comments at the top of each of those files [13:23] DevAntoine: I cannot find the LSB docs on it but here's a good link with an example that is easy to understand https://unix.stackexchange.com/questions/150343/how-can-this-init-script-start-without-its-dependency [13:23] TJ-: is there an easy way to load the script last? [13:23] DevAntoine: ahh, here we go https://wiki.debian.org/LSBInitScripts/ [13:24] DevAntoine: I'm not even sure if LSB dependency ordering will solve your issue, but as you said some of thse things are in other jobs, presumably changing those other jobs to depend on the mountall job (whichever that is!) would help? [13:27] DevAntoine: according to 14.04 ISO manifest, "mountall" is a separate package so I presume "dpkg -L mountall" will list the files it installs, including an /etc/init.d/XXXXXX file where XXXXXX would be the name to depend on in the other job scripts [13:29] TJ-: ok, thanks. I stop this task for today, need to work on more up-to-date stuff. [13:29] tomreyn: http://termbin.com/ekle [13:29] Anyway, thanks A LOT for your help TJ- [13:29] 🙏 [13:30] timesyncd couldn't be the problem could it? surely that wouldn't prevent me from booting... [13:33] I think 14:18:03 is around when it starts hanging, and during that time it is trying to do a timesync [13:37] ChrisL71: looks like it cannot reach the ntp server; firewall? [13:37] goodmornig, i need some help with UFW. How can I add thousand of rules from file? [13:38] I want to black a list of ip from china [13:39] TJ-: that's possible, but why was it booting before the update? [13:39] mauroc: dont use ufw, use ipsets [13:39] is your file just a list of IPs or what? [13:40] ChrisL71: i'm just offerimg a possibility; collect data on network to determine [13:40] rory, is a list of ip [13:40] TJ-: Do you know how I could troubleshoot that? [13:41] mauroc: use 'iprange' to reduce you list to the minimum then use 'ipset' to create a net:hash set and then add a rule to the 'raw' table POSTROUTING to use it [13:41] you could loop in bash mauroc: while read -r line; do sudo ufw deny from $line to any < list_of_ips.txt [13:41] TJ-, i go to search about ipsets... By the way, i'm trying to block connection from china. Some guys are flooding my vps.. so i want to block all the traffic from thsi country [13:42] ChrisL71: as it's a VM guest, on the host I'd run tcpdump watching for all network traffic by that guest [13:42] while read -r line; do sudo ufw deny from $line to any; done < list_of_ips.txt [13:42] that one ^ [13:42] rory, was my first attempt, but it take too much times :D [13:42] yeah [13:42] mauroc: I wrote scripts + systemd timer controlled log scanning this week to do just that, do you want to get my code to see how it is done? [13:42] TJ-, sure :D [13:43] what you're trying to do is called "geoblocking" [13:43] there might be dedicated tools for this that keep rules up to date. not sure tho [13:43] rory, i took the list from here: https://www.ip2location.com/free/visitor-blocker [13:43] mauroc: https://iam.tj/projects/misc/ipset_proxy_request_block.tar.gz [13:43] mauroc: look at the shell-script for the precise way it works, that includes adding the iptables raw table match to use the set [13:44] Thanks TJ- [13:44] TJ-, can you explain me? I'm not very good in system administration [13:45] mauroc: you only need the actions from line 55 onwards, of /usr/local/bin/ipset_proxy_requests_block.sh [13:46] TJ-, probably i need all the script :D because i want to block malicius request on my nginx server [13:46] so i will read all the script and try to understand [13:47] mauroc: Ignore my script - it seems it is possible - manually - to use ipsets with UFW. Read the comments on this wishlist bug #1571579 by Jamie [13:47] bug 1571579 in ufw "Support for ipset" [Wishlist,Triaged] https://launchpad.net/bugs/1571579 [13:49] ok tnx [14:17] Anyone have any idea what's stopping my VM from getting past the purple watermarked Ubuntu screen? http://termbin.com/ouhl [14:18] ChrisL71: hit ESC to see systemd output [14:18] That isn't working for some reason [14:18] oh wait, then where's the pastebin from? [14:19] It's from booting in recovery mode and using journalctl -b -1 [14:21] ChrisL71: yeah you better boot normally, edit the grub menu (hit e when the menu appears), scroll down to the kernel line and remove "quiet splash" words from that lne, hit F10 to continue booting [14:21] Ah that's useful, okay will do [14:23] Apart from the parameterised arguments, there is "auto noprompt quiet", no "splash" [14:23] Oh and "ro" [14:24] Jun 13 15:03:49 ubuntu gnome-session[1634]: gnome-session-binary[1634]: CRITICAL: We failed, but the fail whale is dead. Sorry.... [14:24] ChrisL71: remove "quiet" then [14:25] It displayed more in the log, and then went to the purple ubuntu screen and is just waiting there again [14:26] p4dctl failed to start, LSB failed to start [14:26] dunno what does are, or if that's relevent [14:27] That is a perforce daemon and I don't need it, I would like to remove it but "systemctl disable" did not work when I last tried [14:28] ChrisL71: would you mind elaborating on "did not work"? [14:29] I'm going to try again and say what happens [14:29] ChrisL71: 'disable' doesn't mean what you think it means; you need "mask" [14:30] ChrisL71: 'disable' means some other unit or socket or timer can still start it, it just doesn't start on its own [14:30] Hmmm [14:30] Okay "mask" I have never heard of, that sounds like what I need [14:31] note that masking is not a long-term solution [14:31] The long term solution is purging perforce from this VM [14:32] This, by the way, is what I get on "systemctl disable helix-p4dctl": "helix-p4dctl.service is not a native service, redirecting to systemd-sysv-install." "Executing: /lib/systemd/systemd-sysv-install disable helix-p4dctl" [14:35] This is what I was getting before: https://i.imgur.com/N032ejk.png [14:35] This is what I am getting now: https://i.imgur.com/NX6pekh.png [14:35] It freezes on that screen [14:36] before/after masking preforce ? [14:36] Yes [14:36] I think that is a coincidence though [14:37] It looks like the DM is crashing, or the graphics driver [14:38] so i can't boot ubuntu without acpi=off ... [14:38] ChrisL71: what hypervisor are you using? We had a similar issue yesterday that turned out to be caused by the wrong virtual GPU being used by the hypervisor (VirtualBox) [14:38] is that safe to do so? [14:38] Jonopoly: generally disabling all of ACPI is not a good thing [14:38] TJ-: It doesn't sound good, just wanted to make sure... [14:39] TJ-: VMWare Workstation 12 Player [14:39] ChrisL71: the result was it wwas using - I think - an SVGA device, and the user changed that to something else and reported it fixed the issue [14:39] i've got an Asus FX505, so i'll see if i can run with acpi=off [14:39] and get all specs/details to check for updates could need bios update [14:40] ChrisL71: In that user's logs I found the Xorg.log was showing the GPU/drivers couldn't do '3D' hardware acceleration and that was the issue. [14:40] Jonopoly: how does the system "not boot", have you tried in recovery mode? Is this 'just' a "'can't start/do GUI" or something earlier in the startup sequence/ [14:41] ChrisL71: from your logs: (EE) vmware(0): Failed to open drm. [14:42] Okay that sounds relevant! [14:42] next line: "(WW) vmware(0): Disabling 3D support." [14:42] did you install their guest utils? [14:42] TJ-: I'm trying to dual boot. so i'm just having a look at the OS see if it works fine before commiting to it [14:42] TJ-: I juat want to make sure it boots fine before installing, basically... [14:43] TJ-: Oh sorry! and it just freezes on load [14:43] I believe their guest utils are installed, this VM was set up by someone else but it seems to adapt the screen resolution on resize and stuff [14:43] I mean it must be if it's saying "vmware" in those logs, right? [14:45] Jonopoly: you never see any kernel messages at all after GRUB loads kernel? [14:45] Trying with 3D acceleration disabled in the VM options [14:45] hi I need to free the super key alone, let say that to open the activities I want super + ctrl [14:48] tomreyn: Jonopoly what's the kernel command-line option to prevent microcode load? "no_ldr" or similar? [14:49] !MDS [14:49] Microarchitectural Data Sampling is a security issue with Intel processors. Update your system to receive the kernel and microcode patches. Visit https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/MDS for more info and recommendations. [14:49] Okay 3D accel made no difference [14:50] TJ-: dis_ucode_ldr [14:50] tomreyn: I knew it was weird! [14:50] Jonopoly: ^^^^ try that on the kernel command-line instead of acpi=off (just as a test) [14:50] probably the name of a C function [14:51] Jonopoly: *only* if this helps it *may* be bug 1829620 [14:51] bug 1829620 in linux-hwe-edge (Ubuntu) "intel-microcode on ASUS makes kernel stuck during loading initramfs on bionic-updates, bionic-security" [Undecided,Confirmed] https://launchpad.net/bugs/1829620 [14:56] Why, when I run `apt install youtube-dl`, do I get `The following additional packages will be installed: mpv`? afaik, mpv is not a dependency of youtube-dl [14:56] I also do not want to install apt's mpv because I built it myself [14:56] leonardus: is it a recommends? "apt-cache show youtube-dl" [14:58] yeah, it is [14:58] is there a way to "blacklist" mpv? [14:59] ChrisL71: the log i copied those lines from is of a kernel booted with several non standard kernel boot parameters. Try booting weithout any non standard parameters (ro recovery nomodeset find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US), and post the log of that, [15:00] leonardus: you can try apt-get --no-install-recommends youtube-dl [15:00] Okay I boot fine when I blacklist "vmwgfx" which is the VMWare graphics drm module [15:01] leonardus: and even apt-get -s --no-install-recommends youtube-dl # the -s will cause apt-get to just simulate what would be done in a install [15:01] I'd rather blacklist mpv if at all possible as a permanent solution to this problem [15:02] leonardus, I recommend installing youtube-dl from pip anyway, you need the latest versions in order to keep up [15:02] what is "pip" ? [15:02] tomreyn: So that was the crucial line, something is wrong with their graphics DRM module [15:03] TooOldMind: python's package manager [15:03] thanks leonardus [15:03] ChrisL71: in svga mode, yes. not what you'll want. but it helped you diagnose that either the version of the "vmwgfx" driver you have on your VM doesn't work with this version of the (VmWare Workstation) hypervisor or the other way around. [15:04] Yeah this isn't what I want, I will try and update the guest stuff [15:04] ChrisL71: now turn to vmware support and ask them which version of their product is compatible with the ubuntu version you're running. [15:04] Thanks for the help though I am already miles ahead of where I would have been on my own [15:04] Yep === emilsp is now known as unix_ === unix_ is now known as emilsp === waveform_ is now known as waveform [15:11] TooOldMind: and don't be caught out; there's python-pip and python3-pip ! [15:12] thanks for wisdom TJ- [15:13] * TJ- mutters darkly at instructions that assume "pip" means latest, and glares at ConsoleMD ! [15:18] ubottu: oh so there is a bug on linux kernal :( [15:18] will mr linux fix it? [15:20] hello I need to free the super keyboard because I need it to create custom shortcuts for an application, how can I unbind it from "activities"? [15:20] Jonopoly, 1) ubottu is a bot 2) That bug says it's not clear whether it's a kernel bug or intel-microcode. [15:21] ohh sorry bot, thanks lordcirth [15:21] So it might be bug related.. which means gotta wait for fix.. [15:25] Hello, is it possible that installing slimbook and powertop might have screwed my laptop ability to use a second monitor? [15:28] hello [15:29] Desmesura, hi [15:29] It's my first time using IRC, I'm testing it [15:30] Desmesura: hello [15:44] Hello! I just recently got into Linux and was introduced to it through Fedora (I'm using a live version right now). I want to branch out and familiarize myself with other distributions, so I'm looking to try out Ubuntu next [15:45] you could try run Ubuntu mate [15:45] i did like it [15:45] !flavors [15:45] it is quite light [15:45] Recognized Ubuntu flavors build on Ubuntu and provide a different user experience out of the box. They are supported both in #ubuntu and in their flavor channel. For a list, see https://www.ubuntu.com/download/ubuntu-flavours [15:46] for stability, use LTS versions [15:46] !lts [15:46] LTS means Long Term Support. LTS versions are supported for 5 years on the desktop and server. The latest LTS version of Ubuntu is !Bionic (Bionic Beaver 18.04). Ubuntu !flavors may have different support durations, check their release notes for information. [15:47] !flavors [15:47] Recognized Ubuntu flavors build on Ubuntu and provide a different user experience out of the box. They are supported both in #ubuntu and in their flavor channel. For a list, see https://www.ubuntu.com/download/ubuntu-flavours [15:47] yep yep [15:50] right on. thank you [16:01] Hello [16:01] how to improve boot: https://paste.ubuntu.com/p/6t5R7rpbC6/ [16:01] I did add this line: After=var-lib-mysql.mount run-user-1000.mount in /lib/systemd/system/mysql.service [16:01] i'm waiting for mounted partition [16:01] what's wrong? [16:02] how do I prevent standard users from running certain programs on their sessions? [16:06] yuradoc: don't run a database server (at boot) on a desktop-like computer if you care about fast system boot. if it serves as a headless server, then uninstall the desktop and don't care so much about its boot time. [16:07] so it's correct boot? [16:07] yuradoc: i don't know, can't tell based on the limited information you made available. but it doesn't look strictly wrong to me. [16:08] i attach mounted folder throgh fstab [16:49] valerio_: depends on the case - what do you want them not to run? [16:50] libreoffice. Im doing this for educational purposes only [16:50] ayekat: libreoffice. Im doing this for educational purposes only [16:51] I guess you'd have to apply some form of ACL or MAC - not sure what the most elegant way would be, though [16:51] then again, I can't think of a valid usecase of preventing users from running libreoffice ^^ === SimonNL is now known as SimonNL_Afk [16:54] actually, I can't think of a way of *absolutely* preventing a user from running anything specific - one can always do a user-local installation of some tool (under their home directory) and run it from there [16:54] An ACL preventing that user from executing the binary seems like the way. But yes, that won't prevent them downloading their own. [16:55] I mean, with an ACL, I don't think anything keeps them from just copying that binary elsewhere, removing the ACL rules again, and running it like that [17:00] ah, when copying a file with cp, it seems the ACL rules are not even preserved - so it's just a matter of copying /usr/bin/libreoffice into your home and running it like that ^^ [17:02] Hi ppl. I had a problem with do-release-upgrade. I was running Tomcat8 with Ubuntu 18.10. When upgrade finished. Tomcat 8 fails with this message: "Failed to start tomcat8.service: Unit tomcat8.service is masked." ¿Any idea?¿Something to read? [17:03] is snap still used? [17:04] dannyboy35, "still"? It only started recently [17:04] i installed it but i got an error saying it couldn't start the serivce that its disabled [17:04] it couldn't run the repair either [17:04] Any suggestions where to start debugging an issue with external display not being recognized anymore? [17:05] !paste | dannyboy35 [17:05] dannyboy35: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [17:05] is there a 19.10 download on the website? [17:05] i found 19.04 [17:05] 19.10 isn't out yet [17:06] it isn't october yet [17:06] that be why then. [17:06] kinghat, it's not october yet. #ubuntu+1 [17:06] the version numbers tell you when the release is [17:06] !info tomcat8 disco | nitzicuile [17:06] nitzicuile: Package tomcat8 does not exist in disco [17:06] https://www.omgubuntu.co.uk/2019/04/download-ubuntu-19-10-daily-build [17:06] 19.04 april 2019 [17:06] 19.10 october 2019 [17:06] october [17:07] so do the .04 versions of ubuntu go to .10 or..? i cant remember if .04 versions are automagically upgraded to .10. [17:07] kinghat, you can upgrade any supported release, but none do so automatically. [17:07] You will be prompted when checking for updates. [17:08] the numbers are just the month and year when it was released has nothing to do with anything [17:08] lordcirth: thanks. So I need to install tomcat9, right? [17:09] nitzicuile, that's probably best, yes [17:09] dannyboy35 why not take everyone from .04 -> .10 automatically then? [17:09] nitzicuile: also probably disable the tomcat8.service, because it likely links to a non-existing file [17:09] kinghat, because you don't change releases without asking first? [17:10] kinghat: automatically upgrading packages without asking the user is generally not very nice [17:10] lordcirth: thanks. [17:10] ayekat: thanks you too. [17:11] https://paste.ubuntu.com/p/K8tHHpJhqm/ [17:11] that makes sense. is there something that usually changes that major in the biannual release that might be an issue? or is it literally just a version # change? [17:11] kinghat: one is a lts one is a major update [17:12] kinghat, releases generally upgrade kernel, gcc, and glibc. [17:12] tyvm guys. [17:12] dannyboy35: what's the command you ran there? doesn't exactly look like an error to me [17:13] lts is mostly for business who doesn't want to upgrade often so support is kept longer for lts [17:13] and it usually doesn't have major changes [17:13] someone mentioned devilspie to get app windows to open on a specific workspace, is there something newer/gui/actively maintained? [17:14] ayekat: im not saying its an error but i was just wondering [17:14] dannyboy35: you mentioned something about getting an error above [17:15] ayekat: it said failure i assumed thats an error but your saying thats normal? [17:15] kinghat: think of the biannual releases like jumping half a year forward :-) you get all the updates that have happened during those 6 months, in all the software [17:15] dannyboy35, it doesn't say it's a failure, it said it didn't start snapd.failure.service [17:16] ah [17:16] i read that wrong [17:16] I guess your brain has just hardwired to go into alarm mode at any occurence of 'fail' or 'err' in a text :-) [17:16] yes [17:17] *has just been [17:30] Anybody has a suggestion how I could debug ubuntu not recognizing my external monitor anymore? `xrandr` doesn't even list the HDMI port anymore, just the builtin display [17:33] yeah! party! just found out sane now supports Canon CanoScan LiDE 220, and indeed, it just works now! :D [17:34] today chromium-browser pulled in snapd. Will snapd be mandatory in the future? [17:36] qqqqqqqqq9, what Ubuntu version? [17:37] APT::Default-Release "eoan"; === jstein_ is now known as jstein [17:53] how to fix systemd error "Failed to wait for process: Protocol error" on Ubuntu 18.04? [17:54] https://askubuntu.com/questions/1045430/systemd-shutdown-1-failed-to-wait-for-process-protocol-error/1045657#1045657 [17:54] irgendwer4711: what are you trying to do [17:54] shutdown computer [17:55] since its a know bug maybe updating to 19.04 will fix it? [17:56] I wanna stay on LTS [17:57] and I have another pc with 18.04, but without this problem, so there must be a working config. [17:57] are ou tried the workaround mentioned in the article you posted? [17:57] have yoiU [17:57] you* [17:58] power off hard?? [17:58] np [17:58] no [17:58] did you actually read the thng you posted? [17:58] btw restart didnt work too [17:59] if you read the forum post you posted in chat you will see there is a work around mentioed [17:59] did not work [17:59] it looks like the was a pr made to the repo as well [17:59] when was the last time you did an update? [17:59] today [18:00] as i don't use 18.04 i cannot help [18:00] systemd really sucks, they made Linux as bad as Windows [18:01] I have had great experiences with systemd [18:02] how many days of use? two? [18:02] Several years [18:02] one pc? or morew [18:03] several PCs, two laptops, a home server, and ~20 servers at work, with ~20 LXC containers [18:04] so I have 30 servers at work and systemd is wasting my time [18:04] irgendwer4711: please file a bug with ubuntu-bug systemd [18:04] sarnold: its a known issue [18:04] sarnold: there was a bug report, I could find it today [18:05] what's the bug number? [18:05] but nobody will fix this [18:05] 8155 [18:05] its probably fixed in 19.04 [18:05] there is a ubuntu bug# too [18:05] dannyboy35: that bug was filed in 2004: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/8155 [18:05] Launchpad bug 8155 in linux-source-2.6.15 (Ubuntu) "CD-ROM not detected" [Medium,Invalid] [18:05] 8155 is a systemd # [18:05] they just haven't pushed it to 18.04 which is going out of support next year [18:05] sarnold: ah [18:06] thats what he posted [18:06] yes. what's the *ubuntu* bug numberZ? [18:06] ??? 18.04 is LTS ??? [18:06] irgendwer4711: i would report it again for 18.04 [18:07] ive never seen this issue [18:07] I am searching ä# [18:07] you must have some weird device thats stalling shotdown [18:07] unplug your usb devices one at a time and try to shut down [18:08] it was a systemd issue that would be a big deal [18:08] ubuntu would be broken since 2004 [18:08] no one would be able to shutdown [18:08] why do you think this error if from 2004?? [18:08] i can't definetly shut down my system [18:08] can* [18:09] https://www.reddit.com/r/linuxquestions/comments/an985d/why_does_ubuntu_take_forever_to_shutdown/ [18:09] irgendwer4711: are you just trying to troll chat? [18:09] don't search reddit [18:09] dannyboy35, 18.04 will last until April 2023 [18:09] file a bug [18:09] there is one from 2018 [18:09] lordcirth: duh lts lol [18:10] irgendwer4711: what's the bug number? [18:10] sarnold: I am searching my browser history [18:10] sarnold: seems like he just wants to troll about systemd [18:11] we know you hate change get over it :P [18:11] ill get you a blanky [18:11] dannyboy35: the real troll is you, didnt know 18.04 is LTS [18:11] No need for the personal attacks. [18:16] show this https://bpaste.net/show/fcbb53375cc1 /etc/apt/preferences prevent the installation of the snapd-dependent chromium-Version? [18:17] qqqqqqqqq9, you are on Eoan? That's not released and thus not supported here. /join #ubuntu+1 [18:18] ok thanks [18:18] sarnold: I didnt find the bug number [18:19] irgendwer4711: then please file a new one with ubuntu-bug systemd [18:20] maybe someone will find then the duplicate [18:23] sarnold: done [18:23] irgendwer4711: cool, thanks [18:24] irgendwer4711: could you run apport-collect 1832754 ? thanks [18:24] sarnold: on a frozen pc??? :-D [18:24] irgendwer4711: after reboot [18:24] makes no sense [18:24] bummer, I was hoping to capture the state of the thing :( [18:25] rarly used notebook [18:28] irgendwer4711: did you try with the different reboot= kernel parameters? [18:28] yes [18:28] and acpi stuff === MassDebates_ is now known as MassDebates [18:39] irgendwer4711: arch forum mentions "Just add the "shutdown" hook to your /etc/mkinitcpio.conf, and rebuild initramfs" as a fix [18:40] and where is mkinitcpio.conf in Ubuntu? [18:40] dunno [18:40] LOL, no where [18:40] doesn't exist, ubuntu uses initramfs, not initcpio [18:45] http://manpages.ubuntu.com/manpages/xenial/man8/initramfs-tools.8.html#hook%20scripts [18:49] akik: did you ever looked in your hooks folder? its empty! [18:50] no [18:50] maybe that fix doesn't apply on ubuntu then [18:51] as written in bug report.... [18:57] Hey all - I need some help with gtk css classes - I can't find the class that covers the whole window - "window" class seems like it but it does not cover the titlebar of the window itself. === kostkon_ is now known as kostkon [18:58] Since I learned ubuntu UI is almost pure CSS moddable, I'm enjoying it :D but, I need some documentation, I believe.. [19:19] test [19:20] Hi. I think I need some help reporting a bug. My bluetooth trackpad connects and disconnects every few minutes, but I don't know where to reportat this issue. [19:20] The website https://help.ubuntu.com/community/ReportingBugs is actually more confusing that it should be [19:20] hi, anyone can help me, im stuck cannot go to ctrl alt f1 after remove lightdm [19:21] woenx: 'ubuntu-bug bluez' would be a good first start [19:21] duo_ubuntu, what Ubuntu version, and why did you remove lightdm? [19:21] 16.04 [19:21] I actually think it's not Bluez fault. [19:22] because login loop before [19:22] then I try to reinstall lightdm, but forgot it will remove all :-( [19:22] if I click on Report a bug, it returns me back to the Reporting Bugs web page [19:22] (so i am going in circles) [19:23] duo_ubuntu, have you tried sudo apt install --reinstall ubuntu-desktop ? [19:23] but how to go to terminal? [19:23] duo_ubuntu, Ctrl-Alt-F2 [19:23] when it start ubuntu, it stuck on logo on screen only [19:24] duo_ubuntu, disable quiet boot [19:24] how to disable it? on bios? [19:24] to go to termişnal you can try CTRL ALT F4 (or any F keys actually) [19:25] you need to gedit the grub [19:25] duo_ubuntu, wait, I'll send you a link - much easier [19:25] ok thanks [19:25] https://askubuntu.com/questions/477821/how-can-i-permanently-remove-the-boot-option-quiet-splash [19:26] woenx: inspect "dmesg" or "journalctl -b" to determine related error messages, this will help you identify the package to report a bug against. [19:26] duo_ubuntu, you can reinstall also from Recovery, after remount read-write [19:26] this will remove your splash screen - but if you can't boot maybe you can't even go into terminal? [19:26] ya cannot go to terminal [19:26] woenx: which ubuntu verison are you running there? [19:26] Did you try CTRL ALT F4 [19:26] 16.04 [19:27] Hello, is there a way to back up my system before I install new packages? I need to install Mir but afraid it will conflict with KDE [19:27] not yet, wait [19:27] tomreyn: yes, I already found some informatio nin bluetoothctl and dmesg [19:27] tomreyn: ubuntu 18.04 with gnome. [19:27] !backup | Ryvius [19:27] !bootparam | duo_ubuntu [19:27] Ryvius: There are many ways to back your system up. Here's a few: https://help.ubuntu.com/community/BackupYourSystem , https://help.ubuntu.com/community/DuplicityBackupHowto , https://wiki.ubuntu.com/HomeUserBackup , https://help.ubuntu.com/community/MondoMindi - See also !sbackup, !borg, and !cloning [19:27] I am currently submitting a question on https://answers.launchpad.net [19:28] Cool, thanks. Can you say whether installing Mir even though I'm running KDE can cause problems? [19:28] ok asking login now [19:29] anyone knows why would ubuntu get stuck [19:29] netameta: it froze [19:29] !details | netameta [19:29] netameta: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel. [19:29] i am running it in vmware, and it half loads and stuck on purple screen with blur image and icon of ubunut [19:30] duo_ubuntu, okay, good - now try to login your username pw [19:30] already, then? [19:30] then nano the grub file as described in the link I've sent [19:30] sudo nano /etc/default/grub [19:31] try sudo apt install lightdm, it said already newest version [19:31] strange [19:31] already, then? [19:31] try sudo apt install lightdm, it said already newest version [19:31] strange [19:31] ok [19:31] comment out the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" [19:32] you don't want it to be splash and you don't want it to be quiet, you want to see what's going on [19:32] that's why you're commenting that line [19:32] just put a # to the beginning of that line, shortly [19:32] sgt_chuckles, tomreyn, https://ibb.co/2y26GfW [19:32] then CTRL X to save, and accept the overwrite. [19:32] duo_ubuntu, -- then do sudo update-grub [19:32] image of how it stuck [19:32] ok done [19:32] then restart. [19:32] then? [19:33] ok done [19:33] then? [19:33] after updating the grub you can restart [19:33] netameta: someone was here earlier today reporting a similar or the same issue with vmware workstation 12. their xserver-xorg reported "(EE) vmware(0): Failed to open drm." and "(WW) vmware(0): Disabling 3D support." [19:33] it'll show you the log during restart so if it doesn't boot you'll see where it fails [19:33] let me try [19:33] Not sure how to disable 3d support [19:34] My installation of 18.04.2 is failing at `Select and install software` when deploying using Cobbler - I'm hoping someone here has attempted installation via Cobbler? [19:34] but before I have to do export PATH=/usr/bin:/bin otherwise cannot type [19:34] should I change something here on the system while its on? [19:34] that's something you might want to change permanently [19:34] why doesn't it have those in your path?? [19:35] How do i forbid a package from being installed? APT-PINNING does not seem to work, when it's a new dependency of an already installed package [19:36] netameta: we concluded that either the version of the "vmwgfx" driver they had on their ubuntu VM doesn't work with this version of the (VmWare Workstation) hypervisor or the other way around. [19:36] I can see that `bionic Releases` is hit when running apt-get update manually. [19:36] mia, should I change sonething first? [19:36] Its weird though, it worked fine i just refreshed and it died [19:36] before I restart? [19:37] netameta: "refreshed"? [19:37] ah sorry, restarted* [19:38] netameta: well check your logs, see what you find, when you have something specific we can talk [19:39] netameta: you should be able to boot fine (to get access to the logs) by booting to recovery, then continue from there. [19:39] !recovery | netameta [19:39] netameta: If your system fails to boot normally, it may be useful to boot it into recovery mode. For instructions, see https://wiki.ubuntu.com/RecoveryMode [19:39] o just reboot then [19:41] mia, its back to login again [19:41] failed to start display manager I guess [19:42] will continue playing with it and see [19:42] the command could not be located because /bin is not included in the PATH environment [19:43] nerditup: try #ubuntu-server - you're more likely to get help with pxe booted installations there. [19:43] Hey, I just submitted aquestion on Ubuntu Questions, but I can't get the formatting to work (I want command line outputs to show as "code"). Otherwise it's a bit of a mess. [19:43] Hello, I'm wondering if someone can help me, i've been stuck on a rather stupid problem for weeks now and still can't find a working solution other then SSH tunnels [19:44] putting text between `accents` does not work. [19:44] do export PATH /usr/bin then startx, now can goes to ubuntu desktop [19:44] what should I do to fix it? [19:44] qqqqqqqqq9: how did you do the apt pinning, does "apt-cache policy $packagename" confirm the pinning applies? [19:44] Luna_xoxo: What problem are you having? [19:44] duo_ubuntu, do you have any idea how you broke your PATH? [19:44] So i'm trying to do a port forward for HTTPS, pretty simple right? [19:45] Luna_xoxo: Is this on a machine that you have at home? [19:45] qqqqqqqqq9:did you consider apt-mark hold $package ? [19:45] rypervenche, correct [19:45] This is so wierd [19:45] Luna_xoxo: Your ISP likely won't let you use port 443 unless you have a static IP. [19:45] I.e., a business account. [19:45] so my internal network machines sit behind a pfsense firewall connecting to a VPN so my ISP has no idea [19:46] Ok [19:46] basically i have a machine behind the firewall, which connects to a small VPS and listens on port 443, connections to that port go through the tunnel and connect to port 443 localhost on the other end [19:47] this all works just great but it's kind of slow and not so reliable, autossh doesn't seem to keep the tunnels alive all the time [19:47] so what i've done is setup an openvpn server on the remote machine, and connected my local machine to it via openvpn as a client [19:47] on the remote machine i can connect to 10.8.0.50:443 just fine [19:47] I submitted this question about my bluetooth trackpad disconnection. Feel free to chime in if you want: https://answers.launchpad.net/ubuntu/+question/681404 [19:48] however for whatever reason i can't forward connections from the servers external ip address to the openvpn client [19:48] I'm trying to use ufw to do the port forwarding and it doesnt work, i've tried other solutions like setting up nginx but that just gave me loads of strange SSL errors and didn't work [19:48] Luna_xoxo: To be honest, it would be much simpler to simply use a remote host for your web server, in a data center that isn't going to block port 443. You can still get cheap ones. [19:50] so i have a ton of servers running on a couple of proxmox machines which are using TB's worth of space i dont really want to keep on a remote server, it's really handy to be able to access this stuff across my network [19:50] everything is working out really well so far apart from theres a pretty long delay when someone visits one of the sites i host, i think this is the tcp-through-tcp issue i've seen mentioned regarding ssh tunnels [19:51] so i've spent weeks trying to shave off that delay to get it down to something reasonable as it's almost 1s [19:51] throughput is fine once someones connected though [19:53] i thought i'd have another quick go at it today and these are the rules i have setup in /etc/ufw/before.rules https://pastebin.com/uGtD6hYM [19:54] and ufw status and the iptables rules [19:55] https://pastebin.com/1ZLk6pnr [19:55] i have ipv4 forwarding set to 1 as well [20:01] oh rypervenche i also do have a static IP and a business account although it's not really relevant due to the VPN i have setup for all my internet traffic [20:03] when i got to recovery mode then click on resume normal mode it works fine [20:04] well not 100% fine as the resultion is all messed up but at least it boots [20:04] and logs in [20:06] lordcirth, I think path is broken because I install android and put another path on envorinment and bashrc [20:06] duo_ubuntu, ok, so you will need to edit those files again and fix it. [20:07] duo_ubuntu, with /bin/nano, for example [20:08] lordcirth, type /bin/nano? [20:08] duo_kali, /bin/nano /etc/environment [20:08] that would be how you run nano with a screwed up path variable yes [20:09] I add this : export ANDROID_HOME=/root/Android/Sdk export PATH=$PATH:$ANDROID_HOME/root/Android/Sdk:$ANDROID_HOME/platform-toolss [20:09] also duo_kali pay close attention. having mucked up settings like this is how you learn a lot about linux [20:10] duo_kali, that's in /etc/environment? [20:11] also this : PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" QT_X11_NO_MITSHM=1 [20:11] /etc/environment is not run in a shell and therefore $PATH is not a valid variable there [20:11] If you move that to .bash_profile, it should work [20:11] netameta: that's (unaccelerated) svga graphics, used as a fallback. you'll instead want to work out how to use accelerated graphics using the vmwgfx driver (which should be provided by ubuntu (via linux-modules-extra-* and libgl1-mesa-dri packages) [20:12] the android one or? [20:12] move this one? export ANDROID_HOME=/root/Android/Sdk export PATH=$PATH:$ANDROID_HOME/root/Android/Sdk:$ANDROID_HOME/platform-toolss [20:12] duo_kali, all of them. Restore /etc/environment to how it was before. [20:12] netameta: a newer or older (compatible or incompatible) version / variant of these drivers may also be provided by the vmware provided guest OS driver packages [20:14] ok, and move the andridf path to .bash_profile [20:14] andoid path I mean [20:14] Yes [20:15] duo_kali: which ubuntu release and kernel version are you running again? this would tell: nc termbin.com 9999 < <(lsb_release -ds;cat /proc/{version,cmdline};echo "$XDG_CURRENT_DESKTOP ($XDG_SESSION_TYPE)";) [20:15] 16,04 [20:16] also you shouldn't be developing software / using SDKs as root. [20:16] nor ask for kali support in #ubuntu [20:16] Ubuntu 16.04.5 LTS Linux version 4.15.0-51-generic (buildd@lgw01-amd64-031) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)) #55~16.04.1-Ubuntu SMP Thu May 16 09:24:37 UTC 2019 BOOT_IMAGE=/boot/vmlinuz-4.15.0-51-generic root=UUID=677b591c-021e-4161-84a4-258fffb34c74 ro XFCE () [20:16] it just a name [20:17] ok ;) [20:17] im using ubuntu, I have 2 account [20:18] don't forget to install the pending security updates your system is missing. [20:22] how? [20:22] let me google [20:23] so fixing the path and move path for android to .bah_profile will fix now? [20:24] lordcirth, so I can restart now? [20:31] !uptodate | duo_kali [20:31] duo_kali: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`. [20:31] ok [20:32] duo_kali: the file you want to set your PATH in is ~/.profile and/or ~/.bash_profile (read the comments on top of these files) [20:34] tomreyn, yes I moved to .bash_profile already for it [20:34] doing apt updat and upgrade and will try rebooot after that should normal can go to desktop ya? [20:35] will try [20:39] duo_kali: i'm having difficulties interpreting your question, please try to use punctuation and not slang. [20:41] tomreyn, sorry.. now Im doing sudo apt update, after that I will try to reboot the system to see if the system can login do desktop [20:41] it will fix the login loop because from the PATH mistake I guess? [20:42] duo_kali: i didn't follow the full conversation you had here, so could not make a guess on this, i'm afraid. [20:43] what's a full-upgrade? i usually do dist-upgrade [20:43] !full-upgrade [20:43] but the question why this is happen after 1 month I put the PATH for android in /etc/environment? why just happen now? not from first I put that PATH? [20:44] tomreyn, before it was a loop login and I cannot go to desktop [20:45] hhhmm... why it still connecting? 0% [Connecting to id.archive.ubuntu.com (2001:67c:1360:8001::21)] [Connecting [20:46] for apt update [20:46] ahh ok, sorry [20:47] its been a while im not updating maybe [20:47] tomreyn: Thanks, I solved it by creating and installing a conflicting package. Beat it with it's own weapon ... [20:47] updates are the first thing i do each day. clean up the kitchen, get coffee, update my ubuntu machine. === im0nde| is now known as im0nde [20:48] clean the kitchen? overachiever over here :) [20:48] it is the cure to depression [20:48] there is one reason Im not updating, because new kernel not compatible with some program in my system [20:48] broken userspace? [20:48] but I guess now I need to updating in this laptop [20:49] sounds like a bug report that you need to write [20:50] so, you need to stay vulnerable, and want help.. \ [20:50] not really, some people in my other channel also test to older kernel and thats why Im not updating this laptop, it happen with other one of mine and the program not working [20:50] qqqqqqqqq9: that's a weird approach for "solving" dependency issues, or rather introducing new ones. [20:51] heh, like the equivs package, but the other way around :) [20:51] speaking of updates, today device manager got some updates to various packages within ubuntu. or at least, i did. where can i go to read patch notes on this update if i am curious? [20:52] launchpad is the place to be [20:52] ta [20:52] you can also find all the changelogs for all the packages for a release on a mail list https://lists.ubuntu.com/archives/bionic-changes/ [20:53] gallomimia: also: apt changelog $package [20:53] and usn.ubuntu.com for security notices [20:53] drowning in data [20:55] not sure whether to put this in a linux channel, this ubuntu channel, X window system, or an xfce channel, but whenever a program crashes hard enough, the rest of my operating system crashes too [20:56] is this normal? [20:56] what sort of crash? [20:57] that's often a video driver problem in my experience. ofc my fix was to throw my AMD card away and buy a geforce [20:57] ah, I have a laptop that I think doesn't a dedicated GPU [20:57] a likely culprit. what gpu is it? [20:58] AMD [20:58] my condolences [20:58] I'm considering looking for graphics cards that I can attach to the laptop without going into its internals [20:58] gallomimia: debugging based on hardware brands is not how we usually work here. [20:59] if that fails, I might just get a desktop computer [20:59] it was very long time ago for me. perhaps improvements have been made [20:59] but i had problems shutting down a bitcoin mining program i was trying out. the full graphical environment would crash hard whenever i quit it [21:00] rdococ: try to get some error logs from the "crash", and post them online and the url of that post here so volunteers can review it for you. [21:01] i agree. more investigation is needed. first, write down what chip you have. then interest yourself in which driver is running the graphics side of it [21:01] so far we have not even established that this is in any way related to graphics. [21:02] no. it's only my personal suspicions based on prejudice. if it smells like a duck and quacks like a duck... [21:02] or what it means when a program crashes hard, or soft, etc [21:02] It's probably a chicken in disguise [21:02] cause it wants bigger eggs? [21:03] anyway. logs from the crashing programs. how do we get them? [21:03] rdococ: here's something to get you started, run this after it happens and you rebooted: journalctl -b -1 | nc termbin.com 9999 [21:03] by crashing hard, I mean that the program completely freezes, displaying the last frame that it could. sometimes, this causes my entire operating system to do the same and I have to restart [21:03] rdococ: ...then come back here and post the url it returned [21:04] !sysrq | rdococ [21:04] rdococ: In an emergency, you may be able to shutdown cleanly and reboot by holding down Alt+PrintScreen and typing slowly, in succession, R, E, I, S, U and B. For an explanation, see http://en.wikipedia.org/wiki/Magic_SysRq_key [21:04] actually just S, U and B on ubuntu [21:04] if you can, try connecting to the machine by ssh or similar, while it is hung. just to see if things are still operating in the backend [21:06] !tty | rdococ: also try switching tty's when it happens to see whether you can still get textual output [21:06] rdococ: also try switching tty's when it happens to see whether you can still get textual output: To get to the TTY terminals 3-6, use the keystroke Ctrl + Alt + F3-F6 respectively. Ctrl-Alt-F2 or Ctrl-Alt-F1 will get you back to your graphical login (Ctrl-Alt-F7 on 16.04). To change TTY resolution, see https://help.ubuntu.com/community/ChangeTTYResolution === peter-bittner1 is now known as peter-bittner [21:10] does having desktop compositing off affect this in any way? [21:10] .... i should think having it on would affect it if there's a problem. [21:12] the main issue so far is that we do not know what "this" is. [21:12] nor what flavor or version of ubuntu you use [21:13] xubuntu, I think it's 18.04 or 18.10 [21:13] there's not much room for think in a support situation [21:13] be sure. get a notepad and write down some of these details. [21:13] i'm sorry to say but i think this is going to take you some days to track down [21:18] rdococ: here's how you can put together some system info: nc termbin.com 9999 < <(lsb_release -ds;cat /proc/{version,cmdline};echo "$XDG_CURRENT_DESKTOP ($XDG_SESSION_TYPE)";) [21:56] hello [21:56] did this work? [21:56] no [21:57] Hello Disconected :D [21:57] i just set up my irc [21:58] Can someone help me with configureing ubuntu server with my network card? [21:58] hi tomreyn, could you help me, after I move the path for android to .bash_profile, my ionic framwork cannot find the path : Failed to find 'ANDROID_HOME' environment variable. Try setting it manually. Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory. [21:58] sorry if i seem like a noob to linux, its becase i am [21:59] Duo_Kali i think you need to set your java path, or your python path [21:59] Nikita790, try #ubuntu-server, and did you read https://help.ubuntu.com/stable/serverguide/ ? [21:59] oh no i didnt [21:59] when using /etc/environment is working, any suggestion? [21:59] #ubuntu-server [22:01] Nikita790, thats quite difficult for me, im not coding person :( [22:05] Nikita790: /join #ubuntu-server [22:26] hi all [22:26] what is the easiest way to view aggregation of code level diffs between versions of ubuntu provided packages? [22:27] (if wanting to see whats changed after running "apt list --upgradable") [22:28] LinuxLeprechaun: Running just "apt list --upgradable" changes nothing. [22:28] hi. gdm's gnome-shell is using 30% of my system memory... how can i reduce it? i don't even use gnome for my session, i use a simple tiling window manager, but gnome-shell keeps running after i log in [22:30] Bashing-om: that is understood; what I'd like to do is see release notes and ideally a simple git diff webview of what was changed in all source files between the new package (prior to actually upgrading) vs what I have installed now [22:32] apt changelog $package [22:32] and launchpad it the place to be [22:32] https://lists.ubuntu.com/archives/bionic-changes/ [22:33] LinuxLeprechaun: eg head to the source package for irssi, https://launchpad.net/ubuntu/+source/irssi find the version 1.0.5-1ubuntu4.1, click on that, and there's a link on the next [22:33] LinuxLeprechaun: "diff from 1.0.5-1ubuntu4 (in Ubuntu) to 1.0.5-1ubuntu4.1 (1.1 KiB)" https://launchpad.net/ubuntu/+source/irssi/1.0.5-1ubuntu4.1 [22:36] thank you all; this is perfect / exactly what I was looking for [22:36] any chance there is a version (or alternative site) that offers similar to https://launchpadlibrarian.net/422618954/apt_1.6.10_1.6.11.diff.gz but with standard github or similar color coding? [22:36] how do I disable automoune usb sticks? [22:37] CarlFK: It should be an option in the file manager [22:38] udisks2 gives that service; systemctl mask udisks2 https://askubuntu.com/questions/1062719/how-do-i-disable-the-auto-mounting-of-internal-drives-in-ubuntu-or-kubuntu-18-04 [22:38] LinuxLeprechaun: vimdiff on it will have some colours.. [22:40] does there happen to be an existing bash one liner for invoking vimdiff on a particular set of package versions? [22:40] none that I've seen [22:41] jeremy31: I don't see anything under Properties or prefereences [22:41] any idea why I would be getting '** (appstreamcli:30693): CRITICAL **: Error while moving old database out of the way' when trying to run apt update from live cd? [22:43] jiffe: Disk space ? .. what shows ' df -h ; df -i ' ? [22:43] CarlFK: It might be in settings, removable media [22:44] jiffe: Naw " update from live cd? [22:44] Whats current stable ubuntu ? [22:44] " does not aply ^. [22:44] I moved /var/cache/app-info/xapian/default to /var/cache/app-info/xapian/default_old and that seems to have fixed it [22:46] netameta: Currect is 19.04 .. LTS is 18.04. [22:46] Thanks [22:51] question : I'm having a problem with my mouse dissapearing on my screen .. it's still working cause icons move/highlights/etc ... but the ARROW is gone. Is there an easy way/key stroke to make it come back? Even brining up the SEARCH popup menu doesn't do it. [22:51] Oh .. version 16.04 [22:52] perhaps it's a hardware mouse issue ... it happens mainly when my system comes back from SUSPEND mode btw. [22:53] anyway .. I'm in and out here, I'll check for replys (if any) laterz .. thanks. [22:54] so I'm trying to run boot-repair which reinstalls grub, but when trying to do so it says I need to enable a repository that has grub2 on it, I've done this and even installed grub2 but it continues to say I need to enable a repository with grub2 on it [23:00] Do you know alternative to "usb_modeswitch -R -v 12d1 -p 1506 /dev/ttyUSB0" ? The Huawei usb 4g modem works BUT it stopped rotating it's pubic IP. It has to be unplugged & plugged but it's on a remote location and that's not possible. [23:03] Hi, I am trying to remove sudo access from the default ubuntu user... I have removed the user from the sudo group (verified via `groups ubuntu`) but the user still has sudo access to every cmd... what am I missing here? [23:04] never mind, I found the "stupid" in 90-cloud-init-users [23:10] hi tomryen, I just restart and its not direct to desktop, but still on terminal, I use startx. how to make login normal again? path is fine now after remove. thanks [23:13] +i [23:15] startx is for kali, not for ubuntu-desktop that uses GDM.. [23:19] im using lightdm, strange [23:19] try comment the quite splah, hope is work [23:19] restart [23:20] mmm maybe nope [23:20] mmm [23:21] I can't configure my WiFi USB adapter with Ubuntu Server but I can get it to work using the Ubuntu Core on my RPi, can I use the setup program on Ubuntu Server to config WiFi? what is it called? [23:21] the Ubuntu core setup wizard* [23:22] To use wifi with netplan.io and systemd-networkd, you need to manually install the wpasupplicant package. [23:22] my adapters driver ahk9k_htc is in /lib/driver but wpa_supplicants says driver not found [23:22] I think when I remove lightdm, ubuntu desktop is remove cause purge from that [23:23] trying sudo apt-get install ubuntu-desktop now [23:23] #OerHek /lib/firmware* [23:26] ahk9k or ath9k ? [23:26] @OerHeks u r correct [23:31] @OerHeks ath9k , it's an open source driver for that chipset === BrianBlaze420 is now known as brianblaze [23:41] can I use Ubuntu Core not over ssh (i.e using a keybaord and monitor), how can I google that, it's not googleable? I need to run a script that dissconnects ssh. [23:43] Hey peoples [23:44] I'm trying trying to set up my computer as a dev machine. I've got docker containers, one of which is a dns server for the environment. I am trying to figure out the path of least resistance to taking any dns request for *.test and sending it to that server. [23:44] I know I can do it with dnsmasq, but just installing dnsmasq seems to be a hassle since there seems to be some other dns server listening on *:53 [23:45] I think it's systemd-resolved? but I can't seem to figure out how to foward lookups for *.test domains to the other server. Help? [23:46] cuebix: give this a look https://dnsdist.org/ [23:47] taking a look, thanks sarnold [23:48] cuebix: I think this is the config that'd do the task https://dnsdist.org/guides/serverpools.html [23:49] i think i'd sooner use dnsmasq since it's more widely known. the real problem is i'm trying to write repeatable instructions for ubuntu and as soon as i try to start dnsmasq i get an error saying that port 53 is taken [23:50] hmm let me try something.... [23:51] cuebix: I think the first answer here is the right way to disable systemd-resolved https://askubuntu.com/questions/907246/how-to-disable-systemd-resolved-in-ubuntu [23:52] Thanks sarnold, i'm gonna try to work with systemd-resolved. if i can avoid adding another dns server into the mix it'll be simpler. but i'll definitely try that if i fail :P [23:56] bah, systemd-resolved is fkin weird [23:59] those instructions seem to be good for getting rid of it though. i searched for a while and nothing really fully did it [23:59] thanks sarnold [23:59] cuebix: good luck, have fun :)