=== Thargoid is now known as stwalkerster [00:06] Having issues getting 3.5mm speaker to play audio on a Raspberry Pi 3B running Ubuntu 18.02.2 LTS. I've installed alsa-utils, but the command "amixer cset numid=3 1" fails with "amixer: control default open error: no such file or directory" and aplay -l outputs "no soundcards found..." [00:06] I've also removed pcspkr from /etc/modprobe.d/blacklist.conf and run "modprobe snd_bcm2835". Any suggestions? [00:07] FreeBDSM: give it a try. for module in nvidia nvidia_modeset nvidia_uvm nvidia_drm; do echo $module | sudo tee -a /etc/initramfs-tools/modules && sudo update-initramfs -k $(uname -r) -c [00:07] I've installed jack (the audio platform) on Ubuntu, but sounds seem to be much softer than on ALSA/PulseAudio [00:08] `gst-launch-1.0 audiotestsrc freq=200 volume=1.0 ! alsasink` is loud [00:08] `gst-launch-1.0 audiotestsrc freq=200 volume=1.0 ! jackaudiosink` is faint [00:08] FreeBDSM: then access grub and manually add the nvidia-drm.modeset=1 !kernelparm [00:08] !kernelparm | FreeBDSM [00:08] FreeBDSM: To add a one-time or permanent kernel boot parameter see https://wiki.ubuntu.com/Kernel/KernelBootParameters [00:08] Is there some kind of volume knob for the PulseAudio -> JACK bridge? [00:09] univern what distro are you running? I'm trying to get beeping to work on a Pi 3b with no success [00:09] on 19.04 with nvidia what do i have to do to make it remember my display setup correctly after a reboot? it seems to be struggling with the concept of the primary display being the one in the middle === ekaj89 is now known as ekaj_ [00:10] i go into nvidia-settings, arrange the 3 of them how i want them, apply it, verify that its correct, and then save it to xorg.conf, and after a reboot its no longer how i had it set [00:11] makes no sense to me [00:11] ekaj89: Ubuntu 18.04 for x86 [00:11] Haven't tried on a Pi :) [00:17] jeebus finally got it to work [00:18] what was it? [00:20] tomreyn: Thanks. But what's the difference between update-grub and update-grub2? [00:21] FreeBDSM: the latter ends with a 2 [00:21] tomreyn: :) [00:21] readlink -f $(which update-grub); readlink -f $(which update-grub2) [00:22] yeah, just noticed /usr/sbin/update-grub2 -> update-grub [00:22] the script could still behave differently basedon how it was run, but IIRC this one does not [00:23] had to add a line to /boot/firmware/config.txt, then modprobe bcm_2835. "beep" doesn't play a sound , but if i install sox i can use "play" to play tones [00:23] tomreyn: which script? the one-liner that adds modules to /etc/initramfs-tools/modules? [00:23] FreeBDSM: the 3-liner that is /usr/sbin/update-grub [00:42] afaiu, enabling drm kms didn't work === pcworld is now known as Keksdose === Keksdose is now known as pcworld [01:03] earlier one of my netbooks mostly froze because apparently the kernel was way to eager to try and cope although for my gut feeling it was clearly out of memory. I noticed because the tray clock was about 20 minutes behind my wall clock, so I forced two OOM kills as usual (it happens every few months). I have several processes that I like to keep around if possible but are never worth blocking user interaction, so can I start them in a [01:03] way that the kernel knows to sacrifice them as soon as it's a bit in trouble, way before it would have to give up and OOM-kill on its own? [01:07] Sven_vB: yes, you can change their /proc/$pid/oom_score_adjust [01:08] deltab, thanks! which side of the scale is killed first? [01:09] or you can set a limit using ulimit or cgroups [01:09] well as long as there's no problem I want them to roam freely. [01:09] https://askubuntu.com/questions/60672/how-do-i-use-oom-score-adj [01:11] http://man7.org/linux/man-pages/man1/choom.1.html [01:12] thanks! [01:15] hi, I solved my problem (bandwidht limitation) passing a parameter when loading the wifi module with something like the following: rmmod ath10k_pci && modprobe ath10k_pci ant_sel=2 [01:16] "The value is inherited for child processes." might be a problem because the toplevel process of the expendible services usually is a bash script that loops infinitely. [01:16] MMYStic: oh cool! thanks for reporting back [01:17] I'll search for how to detect whether a child process was OOM-killed [01:17] Sven_vB: the closest is the parent can see that the child was killed via signal [01:17] Sven_vB: to find out that it was killed by OOM you have to search through dmesg [01:18] sarnold, is it a specific signal? [01:18] Sven_vB: no [01:18] :< [01:18] Sven_vB: it'll be consistent, of course; probably it's SIGKILL. but you can send the same signal by hand [01:19] yeah I can live with that. I trust anyone who'd do that has a better reasons than the looping script has for looping again. [01:20] I'll try and find some syslog entries about why it took more then 20 mins of freezing and the kernel still hadn't given up [01:21] I suspect hard OOM condition is way too late for my liking. [01:22] it'd definitely be worth trying to fix whatever the actual problem is :) trying to fiddle with magic scripts and oom adjustments etc is recipe for more instability some point in the fuiture [01:26] yeah, I fixed the most common problem, me forgetting to close VLC before I upgrade apt packages. my upgrade script now checks for free memory. still there may be other things I could forget need lots of RAM. [01:26] or things of whom I didn't even anticipate they'd need so much RAM. [01:27] also why should I as a human have to take care if my kernel could do it for me. :) [01:27] the kernel does not have many options [01:27] it can either swap anonymous memory to disk (probably why it was slow for twenty minutes) [01:27] or it can kill processes [01:28] or it can return *failure* on memory allocation requests a lot earlier (guess how many programs handle that gracefully :) [01:29] I don't have a swap, and yeah as long as some of my luxury processes are running, it's my express wish to rather kill them if it can help prevent a freeze. [01:29] no swap?? ouch [01:29] Speaking of VLC, every time I run VLC, it starts with 0 volume. With VLC's output set to Pulseaudio, there is no option to save volume. Therefore, every time I try to play a file (whether from CLI or Nautilus), the vol starts at zero. Is there a way to fix this? [01:30] I never found a reasny why I'd want a swap. I have enough RAM for everything that's important to me. [01:30] Sven_vB: apparently you don't :) [01:31] sarnold, yes I had. when I noticed the freeze I immediately knew which processes should have been killed 20 mins ago because they were not important enough to me. [01:31] "enough memory" would mean never seeing a slowdown in the first place [01:31] sarnold, slow internet? [01:32] sarnold, depends [01:32] I'd rather not use disk space just to help semi-worthless proceses survive. === zbenjamin is now known as Guest62824 === zbenjamin_ is now known as zbenjamin [01:40] I might need a custom watchdog anyway, as syslog shows no signs of the kernel considering the system to be "really OOM" at any point. [01:40] and I can't use cron for that because cron jobs were not run in that time. [02:10] starting today ubuntu freezes up after i login in and i have to fprce reset it [02:12] is this only happens after the desktop fully loads [02:27] hey quick question (sorry if this is the wrong place to ask first time here): Im trying to enable memory ballooning but i cannot turn off large pages to begin the process as i cannot get the appropriate UUID, i have been using # /usr/sbin/dmidecode | grep UUID to attain it but get an error saying its incorrect [02:30] distant: if you don't get any answers here in the next few minutes, try again in #ubuntu-server -- I suspect that group will have more experience here [02:30] distant: (but it's also less active, so maybe stick around for hours, ask again every few hours, etc) [02:34] distant: why can't you use blkid [02:35] distant: or you can use sudo blkid if you don't know what device [02:36] I have just downloaded 18.04.2 ... I copied it to a flash drive .. when I try to boot the computer from the flash drive I get the error "isolinux.bin missing or corrupt" ... so how do I get past this? [02:37] neildugan: what software did you use to put the image on the usb stick? [02:37] blue1, dd [02:38] blue1, dd if=ubuntu-18.04.2-desktop-amd64.iso of=/dev/sdb bs=4096 [02:38] neildugan: that is what I use what was the command line you used? something like sudo dd if=filename.iso /of=/dev/devicename bs=4M [02:39] blue1, snap [02:39] well forget the /of - its just of === [b0b] is now known as b0b [02:40] blue1, I checked the sha1 signature too [02:40] blue1 thank you for the response, the UUID generated from sudo blkid generates the same UUID as # /usr/sbin/dmidecode | grep UUID which unfortunetly gives the same error "VBoxManage: error: Could not find a registered machine named xxxxx [02:41] blue1, the command I used didn't have the /of just of I don't know where that came from [02:42] distant: I am not familiar with VM's -- sound like that might be the issue. [02:42] okie doke np [02:42] neildugan: you might try another flashing software -- I have had some problems with dd -- that absolutely should have worked. Let me see what other software I used. [02:43] distant: are you sure vbox does balloon? [02:44] distant: Humm a thought as you have "registered machine named xxxxx [02:44] neildugan: I used ddrescue [02:45] yup i double checked, im using version 6.0 64bit [02:45] neildugan: I had problems with getting dd to work with a raspberry pi image - ddrescue worked for me. [02:45] YMMV applies [02:45] " is it that the code looks for the name as referenced in /etc/hostname ? [02:50] hi [02:50] what does the 'live-server' download type do? [02:53] neildugan: it's just another way to install ubuntu https://help.ubuntu.com/lts/serverguide/installing-live-server.html [02:53] sarnold, ok [02:54] is there a link I can download 18.04.01 from ... all I can find is links for 18.04.2 [02:55] neildugan: probably not [03:02] neildugan: Yup ! See: http://old-releases.ubuntu.com/releases/18.04.1/ . [03:03] Bashing-om, thanks [03:03] Bashing-om: thanks -- I didn't know that. [03:05] neildugan: blue1 : Glad to help :) [03:09] neildugan: be careful with those, the apt in them was vulnerable to a mitm attack https://justi.cz/security/2019/01/22/apt-rce.html [03:15] sarnold: Assigned CVE-2019-3462 - is apt not now patched ? for my edification :D [03:16] Bashing-om: it is, and the fix is on the 18.04.2 disc images, but not the 18.04.1 disc images [03:16] sarnold: ouch ! thanks ! [03:21] When I am running speedtest-cli I get a download speed of 0.00 Mbit/s. Is that possible? I am connected over WLAN to a router of Vodafone Kabel Deutschland (cable connecion original made for TV signals, Germany). [03:46] hi guys! [03:51] blue1, Bashing-om , so far I haven't been able to get 18.04 or 18.04.2 or 19.04 to boot [03:52] neildugan: rpi? [03:52] neildugan: Verified the download ? How did you make the image ? verified the image ? [03:52] neildugan: I got the live server image to work on my rpi3b no trouble [03:53] sarnold, no a full amd64 motherboard. [03:53] neildugan: d'oh. I wonder what I was remembering.. [03:55] Bashing-om, I did verify some of the images before coping to the USB drive the 18.04 give the "isolinux.bin missing or corrupt" error the 19.04 says "invalid kernal command" [03:58] Bashing-om, I created the images by useing dd to a USB flash drive [03:58] neildugan: I would take "isolinux.bin missing or corrupt" as the truth in that the image is corrupt . Got another machine that you can try and boot with that USB ? [04:01] neildugan: " sudo dd if=/path/to/iso of=/dev/sdX bs=4M && sync " is the command you ram to make the image ? [04:15] Bashing-om, the 'sync' seems to be the missing piece it seems to be booting now... that was about 2 hours wasted. [04:16] neildugan: :) - the sync is just to make sure the buffer is written out - else wait a long time to make sure the write completes :) [04:17] Bashing-om, I did notice it took a while. Now I can see if I can repair the grub. [05:20] does htop display total cpu? i only see usage of processes but not overall [05:33] i'm on bionic and denyhosts isn't doing anything to a fail to authenticate from a remote host a whole bunch of times. it's configured to monitor /var/log/auth.log and i can for sure my failed auth attempts there, but it never seems to make note of it in /var/log/denyhosts or update /etc/hosts.deny or block anything [05:39] i see plenty of entries in /var/log/auth.log along the lines of ''sshd[19307]: Connection closed by authenticating user root 206.189.65.3 port 47102 [preauth]'' from my cloud vm *shrug* [05:50] Hi, is there any channel for opera android ? [05:50] my client cannot list any existing channel [05:52] Is there any VPN option for opera android ? [06:00] can you mount a stopped lxc container image and read its filesystem === macroprep_ is now known as macroprep === macroprep_ is now known as macroprep [06:18] Windows 10 allows one to "Add Mirror" to logical volumes (i.e. software implementation of RAID-1). If I do that, will these drives still be readable by Ubuntu? [07:00] hello ubuntu , im having problem to install ubuntu 19 on my laptop dell n5010 does someone know why? [07:02] the 64 bit version only have problem, the 32 bit works well. [07:04] Hey, I'm still trying to get my ultrawide monitor to work with Linux. I ended up updating the Intel drivers. Which didn't fix the issue. Any ideas? [07:06] LaserAllan_: be helpful if you explained what version of "linux", what the problem is beyond "not working" and how you updated the linux drivers [07:07] Oh sorry [07:07] can someone help me ? [07:08] bryanroderyck, ubuntu 19? do you mean 19.04? and what 32bit version do you mean works well? [07:09] I'm using Ubuntu 1804, I added the PPA ppa:oibaf/graphics-drivers. The monitor in question is the Dell u4919dw and it has a resolution of 5120*1440. However, I can't seem to go any higher than 4840"1080, if I do it'll basically not give me any desktop but I still have signal. [07:10] guiverc, yes the 19.04 does boot from usb, the ubuntu 16.04 32 bit work well on th dell n5010. [07:12] LaserAllan_: so have you looked at the requirements for that resolution eg: does it require anything special to get that resolution, eg: on nvidia, it may need g-sync, [07:13] LaserAllan_: have you looked at the xorg logs to see what happens when you set it to a higher resolution, what does the display server think/say it's doing [07:13] bryanroderyck, did you check-disc-for-defects (to ensure ISO download & usb/cd/dvd write was perfect)? [07:13] ikonia: not as far as I know. I installed Windows and there it works. So it's not related to that [07:13] LaserAllan_: that means nothing [07:14] LaserAllan_: the windows drivers are actually different than linux and the display server works in a different way [07:14] ikonia: I looked at that this morning. There were no xorg logs in /var/log [07:14] Alright then I'll discard that then [07:14] LaserAllan_: so there is no Xorg.0.log or anything like that in /var/log [07:15] That's correct [07:15] LaserAllan_: there is also the local session log in $HOME/.local/share/xorg [07:15] ikonia: I haven't looked there yet. I'll do that when I get home. [07:17] ikonia: I'll get back to you on that when I get home. It'll sadly be about 11 hours. I should also say that I'm using USB-C from the screen. === bleb is now known as bleb_ [08:06] LaserAllan_: if you can attach the screen via classic hdmi or displayport rather than usb-c this may be worth a try (if only to reduce complexity a little). also try without PPAs, with !HWE kernel *and* X, with a 19.04 live iso, with xwayland, or with this alternative PPA https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/mesa (though versions and packages look quite similar to oibaf's) [08:06] but indeed, check logs first of all. [08:07] journalctl -b returns the full system log since the latest boot (q to quit), including X logs. you may note that X starts twice, one time for the login manager, another for the actual desktop after login. === imsurit_ofc is now known as imsurit [08:19] Hey, is there a way to disable completely this ubuntu 19.04 update check? The option in software properties seems to have no effect at all. [08:19] I'm updating my system everyday anyway, via cmdline. [08:30] Furai: software-properties-gtk --open-tab=2 -> Automatically check for updates: never. You could uninstall (purge) update-notifier-common, but this would also remove several other packages. and there may be a better approach. [08:31] tomreyn, that's exactly when I have changed it to never. [08:31] And when I update I never just leave `apt update` hanging without actually installing. [08:32] Furai: oh you said the setting has no effect, sorry, still waking up here. [08:32] Unless it works and this is just the update notifier and the update check happens somewhere else. [08:33] Like in some on init scripts when booting up. [08:33] Dunno, really it's just annoying to see that pop-up, that's all. Nothing serious. [08:33] And it's only annoying cause I'm handling updates myself. [08:34] on 18.04.2, there are two systemd timers for apt which also trigger apt hooks. [08:34] apt-daily.timer + apt-daily-upgrade.timer [08:35] (according to systemctl list-timers) [08:35] hmm [08:36] personally i install security updates automatically (no prompt), have the system prompt me about non security updates once a week. that's not annoying. [08:36] that's on a desktop [08:39] "/lib/systemd/system/apt-daily.service" runs "/usr/lib/apt/apt.systemd.daily update". "/lib/systemd/system/apt-daily-upgrade.service" runs "/usr/lib/apt/apt.systemd.daily install" [08:42] Furai: so i guess that if you disable Update-Package-Lists in /etc/apt/apt.conf.d/10periodic (which would be equivalent to running 'sudo apt update') you'll get no notifications. [08:43] tomreyn, thanks, let me check that. I remember editing some post "apt update" hook which was triggering update notifier. [08:43] But for sure I haven't touched the periodic ones. [08:44] Anyway, this is counterintuitive like with whole linux world. The GUI is just an afterthought to everything below. You'd expect it to actually work when you just choose "never". [08:45] Uh, I had that disabled. I remember looking at that file. [08:49] Furai: see also bug 1834226 [08:49] bug 1834226 in software-properties (Ubuntu Eoan) "update-notifier doesn't respect "automatically check for updates: Never"" [High,New] https://launchpad.net/bugs/1834226 [08:50] fixing this seems to be in the works [08:50] the id-... tag added there refers to a canonical task tracker, i think [08:51] Furai: and yes, bugs can be counter intuitive, both in the linux world and elsewhere. [08:52] if you'd prefer a more polished user experience, use LTS releases [08:53] Mkey, will subscribe to that issue and click that it affects me. [08:53] will give it some "importance" points. [08:54] Went from 8 to 20. [08:54] 22 now ;) [08:54] haha, thanks [08:56] Bionic/LTS suffers from the same problem, and this issue has already been filed in the past. [08:57] Furai: generally, when you are certain something is a bug, please do look for bug reports, and, if there is none, report it (using ubuntu-bug PACKAGENAME). that's how we can support the developers in supporting us. [08:57] bug 1832882, this one is also kind of annoying, but since I've just switched to web based spotify and I'm ok with it. [08:57] bug 1832882 in curl (Ubuntu Disco) "libcurl-gnutls segfaults spotify client" [High,Confirmed] https://launchpad.net/bugs/1832882 [08:58] And what if application crashes? There's not much documentation on using apport or whatever it was. [08:58] Whoopsy? [08:58] Can't remember. [08:59] whoopsy is almost fully automated, should just show this prompt you know by default. [08:59] Unless in privacy I have checked something that forbids my system to send data to ubuntu... [08:59] Which I might have. [08:59] right [09:00] Anyway, tutorial really wouldn't hurt. [09:00] !bug | Furai [09:00] Furai: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [09:00] Thanks. [09:01] you'll find a lot of documentation (sadly some is outdated) on help.ubuntu.com and wiki.ubuntu.com, also with a web search. [09:02] Yeah, I think I saw this one, tried following it but was confusing/outdated. [09:02] I can always go and start new bugreport on launchpad [09:02] But what's good it is if I don't have any data to support my claim? [09:03] Oh, and recently I've talked my older brother try Ubuntu during the time when his macbook is being fixed. [09:03] The biggest complaint from him was lack of hibernation [09:04] this data is not just needed to support your claim but for developers to analyze the situation and understand what the root cause is [09:04] Overall he said that system made a long way since the last time he tried it. [09:04] But even things like connecting bluetooht devices or using wireless printer were giving him a hard time. [09:05] tomreyn, yeah I'm aware of that. I'm kind of developer/more of a support guy for our games. [09:05] So I know the pains of bad bugreports. [09:05] s/bluetooht/bluetooth/ [09:06] hibernation is generally supported. it doesn't always work, thoough, mostly due to firmware bugs (where the firmware doesn't exhibit its full functionality to non windows systems) and also due to a secure boot hen and egg problem. [09:06] consider using suspend (to ram) instead. [09:07] He said that the only solution he found was to compile kernel. No idea really what he was looking for. Was mentioning having to resize swap and so on. [09:08] And to be honest that's really outside of capabilities of normal everyday user. [09:09] iirc, hibernation is enabled for certified systems, while on others, you have to enable it yourself and pray it works [09:09] Furai: what works well anhd what does not is still very dependant on hardware (part) manufacturers interest in supporting and testing linux. and while your brothers' experience seems worse than the average - there can be things which need some manual tweaking. [09:09] "certified systems" ? [09:10] tomreyn, yes, he's aware of that. [09:10] !hcl | Furai [09:10] Furai: For lists of supported hardware on Ubuntu see https://wiki.ubuntu.com/HardwareSupport - To help debugging and improving hardware detection, see https://wiki.ubuntu.com/DebuggingHardwareDetection [09:10] Furai: point him to https://iam.tj/prototype/enhancements/Windows-acpi_osi.html [09:10] It just sucks that Linux is 2nd grade citizen. [09:11] And how regular user is even supposed to find those articles? [09:11] I've been on Freenode for years. I know I can usually just ask question and find my answers. [09:12] Searching the net for someone inexperienced might be futile or lead to documents that are hard to follow or risk losing data if done wrong. [09:12] Anyway, enough /rant. [09:13] we can always discuss in #ubuntu-discuss [09:13] We all know how the things are. And whining about won't fix things. [09:13] I love linux and I won't ever go back on it. === Koopzington is now known as Koopz [10:20] what should have been the effect of enabling DRM KMS? [10:21] arch wiki said that switching between terminals (ctrl+alt+f2 ... f7) should become faster and that ctrl+alt+f2 terminals should have better resolution === imsurit_ofc is now known as imsurit [11:59] Hi folks [12:02] hi folks, How can we configure iscsi volumes on ubuntu 18.04.2 LTS live server ? There is no selection like Configure ISCSI volumes ? I need help [12:04] gokhani: welcome, you might have more luck in #ubuntu-server for that [12:05] ok thanks lotuspsychje [12:15] FreeBDSM: it's talking about the old days when switching between X and VCs were slow because the kernel wasn't in charge of modesetting, so there was a long pause where control switched from the X driver to the kernel and vice-versa. [12:16] FreeBDSM: afaik you can still see this with some drivers like the nvidia driver, which still lacks KMS afaik. [12:17] FreeBDSM: nowadays the switch is nearly instantaneous for all effective purposes. [12:17] though there's still a very brief pause. [12:18] ryuo: well, it takes 1-2 sec for me [12:18] even more like 3 [12:19] and yes, nvidia driver here [12:19] ok, well that probably explains it. [12:19] KMS is primarily for the open source drivers. [12:20] Intel / Radeon being the primary users. [12:20] but I've enabled nvidia nvidia_modeset nvidia_uvm nvidia_drm in initramfs and following https://wiki.archlinux.org/index.php/NVIDIA#DRM_kernel_mode_setting added `nvidia-drm.modeset=1` kernel param to grub [12:21] archwiki says 'nvidia 364.16 adds support for DRM (Direct Rendering Manager) kernel mode setting' [12:21] Do you have a new enough version? [12:22] weird that I have nvidia-compute-utils-415, nvidia-dkms-415 and nvidia-kernel-common-415, the rest of the packages are -430 [12:22] ah, they have status 'rc', not 'ii' [12:23] ok.. are you sure you bundled the kernel modules in the initramfs? ARCH uses a different system. [12:24] theirs is called mkinitcpio. [12:24] changes to grub also necessitate regenerating the config. [12:24] tomreyn: Allright, how do how do enable the HWE kernel?, iI notice its running the generic kernel [12:24] tomreyn: Ill get back to you with this tonight :) [12:25] !hwe | LaserAllan_ [12:25] LaserAllan_: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [12:26] tomreyn: oh, so its that imple [12:26] I will give that a go [12:26] I also read somwhere that i can try to update the Intel drivers [12:27] LaserAllan_: you did so by using the PPA. but you should probably not mix the PPAs with HWE [12:27] tomreyn: Allright I will try HWE first then [12:27] LaserAllan_: and first of all, again, review your logs with the standard or HWE kernel. [12:28] should it be as simple as veryfying if it has changed after installing the HWE kernel then? [12:28] Hopefully that solves it [12:29] I am also not sure that HDMI cna push 5120x1440 [12:31] hmm me neither, that's something you should probably read up on, too [12:32] tomreyn: so far I haven't really read any issues [12:33] tomreyn: but windows can push 5120x1440 SO, there is no doubt that USB-C can do that....I haven't tried this with HDMI. But I will start to install the HWE kernel when i get home [12:33] Hopefuly that helps [12:33] https://en.wikipedia.org/wiki/HDMI#Refresh_frequency_limits_for_standard_video says hdmi 2.1 supports 5120 x 2880 (5K) [12:33] I will report back :) [12:33] tomreyn: I am not sur eif my laptop (Lenovo T480) has HDMI 2.1 [12:34] you will see [12:36] Yup [12:36] I iwll however install HWE Kernel tonight and we'll see how it all goes [13:20] mystery solved [13:20] I've got a problem. there is somewhere a trigger in my system (desktop, xfce, 16.04) that let crackle my audio periodically and if xfce4-volumed is active the osd volume appears then. what could it be? this behaviour appeared the first time as I pressed the volume up or down on my old keyboard but it happens with my new keyboard too [13:20] the usb stick was just a microcontroller meant to use the windows key + r to run a web browser and launch a site [13:24] hi, everyone, I just did `sudo apt upgrade` today and it upgrades firefox. [13:25] However after the upgrade, I cannot switch input method as I did before. [13:25] In the text field of a website, I cannot switch input method. [13:25] I used to use super+space to switch input method. [13:26] I can still switch when the cursor is on the address bar or search bar. [13:26] but not on the text field inside a website. [13:27] I tried several things. One thing I found out is that if I press super+space super+space twice, I can switch. [13:27] ryuo: I did add those 3 modules to `/etc/initramfs-tools/modules`, then did `sudo update-initramfs -k $(uname -r) -c`, then added `nvidia-drm.modeset=1` kernelparm to grub and did `sudo update-grub` [13:28] leeijaw: is that only affecting Firefox? Which firefox version/package? which ubuntu release? [13:28] Or super+c super+space also works, but super+space alone no longer works. [13:28] Yep only firefox [13:28] firefox/bionic-updates,bionic-security,now 68.0+build3-0ubuntu0.18.04.1 [13:29] firefox:amd64 (67.0.4+build1-0ubuntu0.18.04.1, 68.0+build3-0ubuntu0.18.04.1) [13:29] At least, the previous version doesn't have the problem. [13:30] TJ-: [13:31] I guess it has to be related to the super key. [13:31] I'll to bind the action to another hotkey and see if the problem persists. [13:32] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver; resource sanity check: requesting [mem 0x000e0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000e0000-0x000e3fff window]; caller os_map_kernel_space.part.9+0x6d/0x80 [nvidia] mapping multiple BARs - what do these mean (from dmesg)? [13:32] leeijaw: I'm on the same versions here and Super+Space works correctly (I tested in the DuckDuckGo search box) [13:33] TJ-: I tried to bind it to ctrl-space, it works but not super+space [13:33] leeijaw: is something else grabbing the Super key I wonder? [13:33] TJ-: I am using fcitx, what input method framework are you using? [13:34] leeijaw: ibus [13:34] ⛐ [13:34] yes, and it works here ^^^ emoji method [13:34] ibus has always been working very wel with the rest of the system but its functionality is limited. [13:35] Mine is fcitx, it only has the problem on firefox website text field but not on any other software I found so far. [13:35] I even tried Google Chrome, it works. Only firefox exhibits this problem. [13:36] leeijaw: is it any web-site or just a few you've tested? [13:36] leeijaw: does it fail on paste.ubuntu.com for example? [13:37] I tried google, baidu, wikipedia, and many others. [13:37] I'll try it. [13:38] TJ-: Yes, it fails as long as it is inside the web page. === jmcgnh_ is now known as jmcgnh [13:43] leeijaw: not sure what is going on there. Try creating a new user account and testing from that - that will help determine if it is a per-user issue, or system-wide [13:43] TJ-: I could work around this problem by binding the hotkey to ctrl-space, but I am a heavy Emacs user, and C-SPC is a really important key in Emacs. Maybe I could just get used to press super-space twice to switch input method, a little inconvenience though. [13:45] leeijaw: if it works when you press it twice, that's like in nested tmux having to do Ctrl+B, Ctrl+B -- is there a Firefox addon that is handling Super+Space... have you tested Firefox in Safe mode? [13:46] I'll try safe mode first and then another user account next. [13:48] Safe mode doesn't work. [13:55] leeijaw: have you installed any other software or made config changes recently that could be related? [13:55] All I did was `sudo apt upgrade` [13:55] I suggest you do apt full-upgrade [13:55] I didn't install any new software or addon. [13:59] cfhowlett: The output of `full-upgrade` is the same as plain `upgrade`. [14:02] leeijaw: silly question but, if you had both fcitx and ibus were enabled, could they both be trying to consume super+space (I know in ibus it can be set on a per-application basis) [14:19] leeijaw, if the problem is FF, i'd try a 'refresh' [14:20] TJ-: The funny I found out is that after I created new account, I cannot even get fcitx working. [14:21] leeijaw: time to kick the machine :D [14:22] I upgrade my computer from 16.04 January this year, and all the configuration is migrated from the previous release. Maybe fcitx doesn't work well with gnome 3, the new desktop environment for 18. [14:22] leeijaw: I've not used Gnome for 10 years so wouldn't surprise me [14:24] Maybe I need to reconfigure the fcitx from scratch and see if this is also a problem with my installation of fcitx. [14:30] leeijaw, baidu? [14:34] cfhowlett: yep, I use bing and baidu as my secondary search engine. [14:34] !kylin | leeijaw guessing from that info and you nick that you're Chinese. Seen this? [14:34] leeijaw guessing from that info and you nick that you're Chinese. Seen this?: Ubuntu Kylin is a variant of Ubuntu that focuses on Chinese users. It is an official part of Ubuntu. For more information, see http://www.ubuntukylin.com/ [14:35] might be worth testing to get past your current problem [14:36] Ah, I am interested in plain Ubuntu and set it up to my liking. [14:36] more interested [14:36] fair enough [14:38] leeijaw, you said 18.04 yes? [14:38] https://www.pinyinjoe.com/linux/ubuntu-18-gnome-chinese-setup.htm [14:39] Yes, 18.04. I upgraded my PC from 16.04 to 18.04 this Jan. [14:40] I waited for one year to move and hope everything will be smoother a year later. [14:40] very wise. [14:52] Ubuntu has built-in features to automatically check my email and just let me know I have new (including sender and subject)? [14:55] rapidwave: Typically if you are using an e-mail client like Thunderbird, it will trigger a toaster notification when new messages arrive. There might be an app that you can install that would handle just the notifications, but I'm not aware of any [15:25] TJ-: After several rebooting and experimenting with my new user account and also tried login with Unity, my conclusion is that this is due to poor integration of fcitx into the new Ubuntu desktop environment. Under Unity, I can set the keybinding using system setting. The fcitx configuration panel also has its own place to set the key. Under unity, I can set them to different keys and both of them worked well. Under the new desktop env [15:25] ironment, only the key set with fcitx configuration panel works and only if that key is different from the system key binding. In order to use super+space to switch input method under new desktop environment, I have to unset the system keybinding, and it works well on every software I installed, except on the webpage area (any site) of the newly upgraded firefox. [15:26] i'm running ubuntu 18.04.1 lts with the kernel 3.10.107. is there any repository providing the perf linux-tools for that kernel? i need the 'perf' module [15:27] tribly, why not 18.04.2? [15:28] I'm concerned by the really old kernel version [15:28] tribly, yeah, how did you get 3.10 on 18.04.1? The LTS kernel package? [15:29] using version provided by odroid. i'm using an odroid-c1+ [15:30] tribly, so, not actual Ubuntu. odroid's Ubuntu remix isn't supported here. [15:32] TJ-: Even under unity, I cannot switch input method using super-key smoothly on the new firefox. [15:33] lordcirth: so what would be the solution, if i weren't using odroid? [15:41] tribly, the solution would be "use a supported kernel". [15:44] that's not really a solution [15:45] Yes it is. [15:45] tribly: we only support, supported kernels here [15:46] Sometimes the answer is "don't do that". [15:46] i have to do that. so no, that's not a solution [15:47] tribly: The volunteers here are only able to support the officially release Ubuntu flavors and software found in the preinstalled repositories. There are many projects that base themselves off of Ubuntu, and those that do are responsible for providing their own support network. The volunteers here do not have the necessary documentation to support derivatives of Ubuntu. There are significant changes (as in your case a very old [15:47] kernel being supplied) that just isn't possible to support in this forum. [15:47] tribly, you have to do that because you are on odroid. If you were on Ubuntu, you presumably wouldn't need 3.10. [15:54] "presumably wouldn't", exactly. you don't know what i need, or why. but thanks for the 'help' [15:55] tribly: you're asking for support in #ubuntu when you're not running Ubuntu. You're running a fork of Ubuntu. Seek support from whoever forked and modified the OS. [15:56] tribly: you can build it yourself based on https://wiki.odroid.com/odroid-c1/os_images/ubuntu/v3.0 [15:59] Hello [15:59] hello, how can i start this in a systemctl on boot on ubuntu screen -dm -S minecraft /opt/minecraft/ServerStart.sh [16:00] p0a: welcome, what can we do for you? [16:00] for some reasons this needs root? or sudo user privs!? [16:00] I installed (apt-get) something from a custom sources.list file and then deleted the line to restore my sources.list. Now apt-get says the packages I installed are no longer needed. Did I make a mistake? [16:00] TJ-: https://github.com/LeeiFrankJaw/ConfRepo/blob/master/user-phrases.txt I used to maintain a personal phrase list for ibus, it was such a painful process. That was the reason I moved to fcitx. As an input method, IBus is way behind state of art tech, like IMEs from 90s, 00s at best. I might give it second try now and see if there is any improvements. [16:01] p0a: can you pastebin us your sources.list please? [16:01] lotuspsychje: it is the usual now [16:02] lotuspsychje: do you want to see the line I added? [16:02] lotuspsychje: deb https://crawl.develz.org/debian crawl 0.23 [16:08] !sources | p0a [16:08] p0a: The packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories. [16:09] p0a: sometimes apt does autocleanup of packages that are not needed anymore, maybe its not related? [16:14] lotuspsychje: yeah! thank you [16:14] Surfer2011: can the section, create systemd file help? https://linuxize.com/post/how-to-install-minecraft-server-on-ubuntu-18-04/ [16:16] not sure ... because i have a ServerStart.sh script ... which is calling the jar file with java works perfectly [16:16] but 1.) i want to start it in a detatched screen so i can "log into the server console" without stopping and starting the server [16:16] and 2.) it seems like i need sudo privs if i own ALL the files in the minecraft dir by this so called minecraft user [16:17] so i now owned all by my system "root" user [16:17] Surfer2011, https://gist.github.com/justinjahn/4fe65b552b0622662420928cc8ffc7c0 [16:18] ioria: i saw this allready but it has some WorkingDirectory=/opt/minecraft/instances/%i for ? different servers in it which i don't need and can't get figured out how to remove it [16:18] and 2nd i have a bash script to start my server [16:19] Surfer2011, 1) you probabli can skip the wd 2) just replace the line with the script ? [16:20] not working because i supposingly does not find the jar file that is called by the script [16:20] one sec i will put it in pastebin [16:23] https://pastebin.com/yi3ghtfD [16:23] error with the systemctl file and the serverstart script [16:24] and ... the systemctl asks me for my userpsw. once i start it as u can see [16:25] would be great to fix this [16:25] Surfer2011: this is not something we can fix here, this is not software which is part of ubuntu [16:26] Surfer2011, are you sure there is a 'forke' type ? [16:27] to me it's a systemctl problem (syntax i got wrong or s.t.?) since <> works fine ... but i want it as autostart on boot [16:28] i think is 'forking' [16:28] i just found that ... great (y) [16:29] now what about my user psw? any idea to remove that so it can autostart? [16:34] Surfer2011, are in the link i posted, you probably need a user “minecraft” without homedir and without password [16:35] tryed still asks me for my main user psw [16:36] Surfer2011: doublecheck here perhaps: https://linuxconfig.org/how-to-setup-minecraft-server-on-ubuntu-18-04-bionic-beaver-linux [16:39] no :-( [16:39] 1st does not work and 2nd still asking for auth. [16:40] the "only" difference is [16:40] ExecStart=/usr/bin/screen -Dm -S minecraft ServerStart.sh insttead of their java .... === im0nde| is now known as im0nde [16:46] Surfer2011: did you try a reboot yet after all your configurations? [16:47] yes but rebooting again [16:59] i'm on bionic and denyhosts isn't doing anything to a fail to authenticate from a remote host a whole bunch of times. it's configured to monitor /var/log/auth.log and i can for sure my failed auth attempts there, but it never seems to make note of it in /var/log/denyhosts or update /etc/hosts.deny or block anything [16:59] i see plenty of entries in /var/log/auth.log along the lines of ''sshd[19307]: Connection closed by authenticating user root 206.189.65.3 port 47102 [preauth]'' from my cloud vm *shrug* [17:13] it appears this package is essentially unmaintained [17:14] yikes. do you have any recommendation or preference for something to block hosts who are spamming ssh connection attempts? [17:18] litheum: My solution is to run SSH on a port other than 22 [17:19] litheum: different port than 22 and only allow public key authentication. if that's not an option, use fail2ban with iptables (ipsets) [17:25] still no success ... https://pastebin.com/mdK14zNr ... it seems like it is running, but the server is not accessable nor the screen windows [17:26] Surfer2011: did you try nmapping your ip adress already, see if its port is running and open? [17:26] i can reach the server if i start it by hand without the systemctl so that is not the problem [17:28] Surfer2011, screen -x minecraft [17:28] --> There is no screen to be attached matching minecraft. [17:30] Surfer2011, what user is the minecraft service running as? [17:30] It looks like it might be root? [17:31] in the conf file it is setup as minecraft [17:31] User=minecraft [17:31] Surfer2011, you mean in /etc/systemd/system/minecraft.service? [17:31] yes [17:32] but i logged in as dom (main user) [17:32] Surfer2011, so, you are trying to attach it while you are 'dom'. switch to the 'minecraft' user [17:32] sudo -u minecraft screen -r minecraft [17:33] There is no screen to be resumed matching minecraft. [17:35] https://pastebin.com/tbsAGjX6 (/etc/systemd... file) [17:36] Surfer2011: what's that $? [17:36] Surfer2011: shouldn't there be a minecraft.jar or something on that line? [17:38] Hey guys! I'm trying to install Ubuntu alongside Windows 7, but the option to install them alongside each other doesn't show up, even though it detects Windows 7. Anything anyone can suggest? [17:39] copy paste error [17:39] https://pastebin.com/rMTfPj3T [17:39] CStafford-14: did you make space for ubuntu to install in front? [17:39] !dualboot | CStafford-14 [17:39] CStafford-14: Dual boot instructions: x86/AMD64: https://help.ubuntu.com/community/DualBoot/Windows - Macs: https://help.ubuntu.com/community/MacBookPro https://help.ubuntu.com/community/YabootConfigurationForMacintoshPowerPCsDualBoot [17:39] Nope, I need to know how to. [17:40] !uefi | CStafford-14 see also (if your system is uefi) [17:40] CStafford-14 see also (if your system is uefi): UEFI is a specification that defines a software interface between an operating system and platform firmware. It is meant as a replacement for the BIOS. For information on how to set up and install Ubuntu and its derivatives on UEFI machines please read https://help.ubuntu.com/community/UEFI [17:40] I am running a live session of Ubuntu right now [17:42] I'm not sure how to tell if UEFI is supported. I don't think it supports it [17:42] My device, that is. [17:44] CStafford-14: this comand, when run in a Terminal window, would tell you how this system booted (currently): echo -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS [17:44] lordcirth: any idea why this is doing strange things? ... where am i doing something wrong [17:45] CStafford-14: and this one would (ideall) tell you which hardware you have there exactly (so you can check on the web as to which boot modes (UEFI/BIOS) it supports): journalctl -b | grep 'DMI:' [17:45] CStafford-14: not that its our business, but note that w7 will also go eol end of the year, maybe ubuntu singleboot? [17:45] I need to have windows so I can run MS Office. [17:45] Also, it says it's booted in BIOS [17:46] CStafford-14: ok, then you can deny the !uefi part [17:47] tomreyn: hah, i had already disabled PasswordAuthentication, and the result is that a failed connection to a user that *does* exist just results in a "Connection closed by authenticating user root ... port 51202 [preauth]" message, which fail2ban can't really match on [17:47] Ok, what should I do to install Ubuntu to boot via BIOS? [17:47] Or can it only do UEFI? [17:48] CStafford-14: read the !dualboot factoid i provided, its explained howto [17:49] sarnold: u got an idea? [17:49] I did, but that page is outdated. Should I try to install an earlier version of Ubuntu instead? [17:49] Surfer2011, "sudo -u minecraft screen -r minecraft" didn't work? [17:49] Surfer2011: ddi you try nmap yet? see if its running or not? [17:49] Surfer2011: aha; glad it was just a typo. do you get any error messages in journalctl?> [17:50] no error in journalctl [17:51] sudo -u minecraft screen -r minecraft --> There is no screen to be resumed matching minecraft. [17:51] CStafford-14: the wiki's principles are still the same, usually users that dualboot, create a partition from within windows, to use for ubuntu, dualboot [17:51] nmap i will try now [17:52] no port is used besides ssh [17:52] Yes, but the instructions don't match what I'm trying to do. For example, it says there should be a button that can resize the partitions; it's not there on my end. [17:52] CStafford-14: a magic button where? [17:52] in the installer [17:52] brb [17:52] Surfer2011, "sudo -u minecraft screen -list" ? [17:52] litheum: if there's a bug in fail2ban, please report it (if not already reported), too. [17:53] lordcirth: No Sockets found in /run/screen/S-minecraft. [17:54] litheum: by the way, see also the recent updates on bug 1613532 [17:54] bug 1613532 in denyhosts (Ubuntu) "Major upstream version 3.1 released 1 year ago (2015-09) - Python 3 port, security fixes and other improvements!" [Undecided,Confirmed] https://launchpad.net/bugs/1613532 [17:54] sarnold: https://pastebin.com/uYEp47qa [17:55] Surfer2011, try changing Type=forking to Type=simple, running 'systemctl daemon-reload' and restarting it [17:55] litheum: we probably didnt ask yet, but is your system up to date? [17:56] i gave up on denyhosts and i'm using fail2ban now, fwiw [17:56] lotuspsychje: yep, up to date 18.04.2 [17:59] lordcirth: tryed and now i am waiting ^^ ... doing something at least but not able to see more than "=== AUT. COMPLETET===" [18:01] this issue addresses that whole thing, so maybe i'll show up in Ubuntu some day https://github.com/fail2ban/fail2ban/issues/2239 [18:03] lordcirth: not working [18:03] Surfer2011, anything different in 'systemctl status'? [18:04] https://pastebin.com/tbVCJtxa [18:06] still no idea why it needs auth. all the time and as far as i understood i need the forking because the "screen" process is starting a java... process [18:09] Surfer2011, journalctl -xe --unit minecraft [18:10] https://pastebin.com/5RAEABtr [18:15] hi a friend has an ubuntu web server where he hosts a simple app, apparently at some point the DB connection go lost and later the server crashed and he had to do a manual fsck to get it running again. Was wondering what logs could give me insights on what happened. :) [18:16] :-( [18:18] Is this the correct channel to ask for help with Landscape? [18:19] SeverdingFalls: landscape think you need to contact canonical for support [18:19] Ok, thank you! [18:19] SeverdingFalls: Canonical if it's Landscape SaaS from them... oh they left. [18:19] lordcirth: any more ideas? or things i could check on [18:25] Surfer2011, "sudo -u minecraft -i". Then try launching minecraft. [18:28] still not working [18:28] no screen in screen list nor an active service [18:28] nor a connection by the mc-client [18:29] Surfer2011: maybe you should talk to the #minecraft or #gamingonlinux guys there might be some experts [18:32] ok thanks ... i iwll try ... thanks for the patience [18:36] I'm back [18:37] CStafford-14: where are you at now? [18:37] "Select the partition you want to resize and press Enter. " [18:38] This comes up [18:38] ... [18:40] http://u.cubeupload.com/CStafford14/Screenshotfrom201907.png [18:40] ^ That happens [18:43] I dont know if systemd requires a statedir... but it would be the users $HOME ??? [18:43] ? [18:44] how can I tell if my software raid is activated? [18:45] TJ-, sorry realised we were speaking in here I think [18:45] it's working anyway :) just one small snaggle that I didn't anticipate [18:46] mdadm -D /dev/md0 gives me the following [18:47] Array Size : 33521664 (31.97 GiB 34.33 GB) [18:47] Raid Devices : 2 [18:47] Total Devices : 2 [18:47] Persistence : Superblock is persistent [18:47] I have two 2tb disks [18:47] why is it 32GiB and 34GB? [18:48] shouldn't the raid 0 mean it is one 4TB drive? [18:49] /dev/md2 3810330016 1850768 3614854880 1% / [18:49] /dev/md1 498980 65677 407118 14% /boot [18:53] !paste | emOne [18:53] emOne: 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. [18:53] emOne, can you please pastebin 'lsblk -f'? [18:53] looks like md2 has 3.8TB, while /boot only has 407MB [18:54] lordcirth: https://pastebin.com/8DNt1UqW [18:55] emOne, thanks. And what are you trying to do? [18:56] lordcirth: could it be that the problem is that the minecraft user has no "perm." on java? ... [18:56] Surfer2011, I don't know much about java programs [18:56] lordcirth: I have ordered a server with two 2TB drives. I have set them up into raid0 [18:56] using the server OS installer [18:56] After I upgraded pip, something happened with the command https://paste.ubuntu.com/p/xm4pKYRbjy/ - how can I fix this now or recover it back to the original? [18:57] lordcirth: is it okay that /boot is located on a 400MB partition? I have never used raid before [18:57] I thought that I will keep things simple and just put the drives in raid 0 [18:58] Zajt: try apt-get install --reinstall python-pip === subopt is now known as _subopt_in_repos [18:58] This is for my self hosted apps. I understand about the dangers of raid 0 [18:58] emOne, I don't think grub can recontruct the kernel from a striped /boot. [18:59] sarnold: Still the same https://paste.ubuntu.com/p/d6X8TrKtmV/ [18:59] I would make a /boot as a normal partition, then raid the rest [19:00] lordcirth: how can it not reconstruct the kernel? The machine boots. Or do you mean something else? [19:00] Zajt: dang. maybe debsums -c [19:00] Zajt: .. can you help spot files that are still changed? [19:00] emOne, is md1 a raid0 or a raid1? [19:00] what do you mean with files that are still changed? [19:01] lordcirth: raid1 [19:01] right, ok. raid1 /boot works. [19:01] is 400MB okay or is that an issue? [19:02] Zajt, 1 reinstalled, 0 to remove and 17 not upgraded. .. first properly upgrade please [19:02] emOne, that should be big enough, if you remember to run 'apt autoremove' occasionally and keep an eye on it. [19:02] Sometimes when updating Ubuntu will keep around more kernels than it should. [19:02] okay how should I upgrade it? I was trying to follow this http://docs.pwntools.com/en/stable/install.html to install pwntools [19:03] lordcirth: cool!!!! Thank you so much!!! I am happy to see IRC alive and kicking with enthusiastic people!! Thanks :):):): [19:03] Zajt, interesting, hacking and no clue about update/upgrade [19:03] emOne, np [19:03] Zajt, hash -r pip and try again [19:05] ioria, maybe those held back updates give a python package too [19:07] Zajt: alright.. how about 'type pip' ? [19:08] Then I got "pip is hashed (/usr/bin/pip)" [19:09] What does this mean? [19:09] when you type a bare 'pip', bash will execute /usr/bin/pip directly, bypassing the PATH search that it would perform if it didn't already have the path to pip hashed [19:10] I wondered if bash was executing /usr/local/bin/pip instead of /usr/bin/pip [19:10] somewhere in this giant mess of comments is apparentlyu advice on how to clean up this situation :/ https://github.com/pypa/pip/issues/5221 === im0nde- is now known as im0nde [19:17] tomreyn: this is the kernel [19:17] https://pastebin.com/LiRL6udK [19:17] it doesn't seem like the HWE kernel is loaded though [19:22] this is the output fropm the xorg log [19:22] https://pastebin.com/47iRMRTS [19:26] thanks for the help, solved it now :) [19:26] I can't seem to compile a simple example of embedded ruby; Is the ruby-dev package broken? [19:27] Zajt: nice, what did it take? [19:27] python -m pip uninstall pip [19:27] That one, and then: sudo apt install --reinstall python-pip [19:28] cool, thanks! :) [19:29] Nevermind; the location of the included files has change. [19:31] LaserAllan_: this is X failing to switch graphics modes, maybe as a result of edid data (provided by the moniotr) it is unable to interpret. [19:32] tomreyn: do you know how I should proceed? [19:33] install package read-edid, then run sudo read-edid | parse-edid and show its output. also that of xrandr [19:33] i think i previously suggested other actions to take, too. [19:34] the maximum resolution you reported you were able to set may actually have been those supported by the intel GPU. so maybe you weren't actually using nvidia. [19:35] Well that's good [19:35] Because the main thing is that I want to use my work laptop with the screen :) [19:35] I'll get back to you in a minute, thank you for assisting. [19:38] you're welcome [19:38] tomreyn: any specific xrandr command? [19:38] Xrandr -q? [19:39] xrandr --verbose |& nc termbin.com 9999 [19:45] tomreyn: sudo read-edid | parse-edid that didn't work [19:45] commant not found [19:45] but package was found and installed [19:45] tomreyn: xrandr command has been run [19:46] tomreyn: https://termbin.com/n9hv [19:46] I've got a problem. there is somewhere a trigger in my system (desktop, xfce, 16.04) that let crackle my audio periodically and if xfce4-volumed is active the osd volume appears then. what could it be? this behaviour appeared the first time as I pressed the volume up or down on my old keyboard but it happens with my new keyboard too [19:47] LaserAllan_: oops that's sudo get-edid | parse-edid |& nc termbin.com 9999 [19:48] tomreyn: https://termbin.com/5sdv [19:48] that is a handy utility [19:48] nice to know so that i can use that int e future for any type of command outout :D [19:48] thank you again [19:49] you're welcome. the parse-edid output doesn't look too good, though. [19:50] but the xrandr output looks useful [19:52] tomreyn: i just it's possible to solve this :) [19:52] Because my hardware seems compatible [19:52] you have screen eDP-1 with a max resolution of 8192 x 8192, a connected primary monitor at connector eDP-1 which can apparently do 1920x1080, and a connected secondary monitor at connector DP-1 which can apparently do 5120x1440 (and this mode is also selected for it as preferred and current) [19:56] tomreyn: but what happens when i select the secondary monitor with 5120x1440 is that i get no desktop at all [19:57] LaserAllan_: do you have any PPAs active now? any other customizations? i don't remember your environment. [19:57] tomreyn: It sounds on you that I have 3 screens which isn't really correct, I have one laptop monitor which should max out at 1920x1080 and the Dell externall display at 5120x1440 [19:58] tomreyn: No, none of that [19:58] 2 monitors, 1 'screen' [19:58] yeah [19:58] so those two minitors were detected fine. [19:59] LaserAllan_: can you post this: nc termbin.com 9999 < <(lsb_release -ds;cat /proc/{version,cmdline};echo "$XDG_CURRENT_DESKTOP ($XDG_SESSION_TYPE)";) [19:59] and this: sudo /bin/true && cat &>/tmp/aptlog < <(sudo apt-get -qqy update 2>&1; apt-cache policy 2>&1; sudo apt-get -syV full-upgrade 2>&1;); nc termbin.com 9999 and this: journalctl -b | nc termbin.com 9999 [19:59] sure [20:00] https://termbin.com/dscn [20:00] https://termbin.com/wtan [20:01] https://termbin.com/b0i68 [20:03] please install the pending updates / upgrades, then reboot [20:03] sudo apt full-upgrade [20:06] allreight will do [20:08] there are newer bios updates avaiable for this system (you current have N1QET81W (1.56 ) 02/20/2019 ): https://pcsupport.lenovo.com/gb/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t25-type-20k7/downloads/ds120429 [20:10] containing cpu related security fixes [20:11] tomreyn: updated, no difference :( [20:12] LaserAllan_: did you mean to say that you installed the pending package updates, rebooted, and there's no improvement in terms of high resolution output on the external screen? [20:12] tomreyn: installed [20:13] didn't even ask for a reboot [20:13] but ill do it anyway [20:13] tomreyn: Correct [20:13] I also downlaoded the linux bios update from lenovo now [20:13] installed that [20:13] I will reboot now [20:13] good. [20:13] :-) [20:18] tomreyn: no difference after BIOS update either.... [20:19] LaserAllan_: oh you did this, too, good. even if it didn't help with the immediate issue, it was a good thing to do nevertheless. [20:20] tomreyn: Indeed, if i at least can get it work with Intel on this machine then i have apath to it on my other machine [20:20] which only has intel [20:21] LaserAllan_: so far you were using the open source drivers for nvidia cards, which are very basic, since nvidia doesn't make information available. you should try to enable their prorpietary driver. [20:21] tomreyn: allright, but what about Intel?:) [20:21] but ill see if i can do that [20:21] your intel GPU is not able to provide the high resolution of your external monitor [20:21] I guess in this case ill have to donwload the drivers and install them [20:22] https://www.intel.com/content/www/us/en/support/products/126789/graphics-drivers/graphics-for-8th-generation-intel-processors/intel-uhd-graphics-620.html [20:22] max resolution 4096x2304@24Hz [20:22] actually 4096x2304@60Hz [20:22] oh... [20:22] so then [20:22] Damnit then [20:22] Well [20:22] Could you look at the T480? [20:22] !enter | LaserAllan_ [20:22] LaserAllan_: Please try and keep as much of your info as possible on ONE line - easier to follow for everyone. [20:22] that is the worklaptop i have that is struggling [20:23] this is for the T480 [20:24] so you have a T480 and another system, what'S the other system? [20:25] ah i may have mixed up T470 and T480 there [20:26] Hello, I keep getting this error `vim: error while loading shared libraries: libruby-2.3.so.2.3: cannot open shared object file: No such file or directory`. I tried un-install vim and I now have neovim aliased as vim, but I still get this error when I do e.g. `git add --patch` end then try to `e`dit the commit. `sudo ldconfig -v | grep libruby` returns `libruby-2.5.so.2.5 -> libruby-2.5.so.2.5.1` (as well [20:26] as a few errors like `/sbin/ldconfig.real: Can't stat /usr/local/lib/i386-linux-gnu: No such file or directory` -- Any ideas how I can resolve this? [20:27] tomreyn: T25 is the one i am on now [20:27] LaserAllan_: so this is for the T470 (also known as ThinkPad 25) https://www.intel.com/content/www/us/en/support/products/96551/graphics-drivers/graphics-for-7th-generation-intel-processors/intel-hd-graphics-620.html [20:27] tomreyn: but how can then the USB-C over the intel driver push 5120x1440 on windows [20:27] tomreyn: Yeah, i have a Nvidia Geforce 940M on that so that should be more than enough for the resolution [20:29] tomreyn: I installed the nvidia drivers, i guess i should restart before verifiying [20:29] so ill see if that made any cahnges [20:31] LaserAllan_: how did you install the nvidia drivers? [20:31] tomreyn: Allright so that solved it [20:31] now it says 5120x1440 [20:32] the T480 seems to have the same intel GPU, either HD Graphics 620 or UHD Graphics 620 according to https://psref.lenovo.com/syspool/Sys/PDF/ThinkPad/ThinkPad%20T480/ThinkPad_T480_Platform_Specifications.pdf [20:32] tomreyn: nvidia-driver-390 [20:32] and then reboot [20:32] that's a package you installed via apt? [20:33] tomreyn: then how can i push 5120x1440 with Windows.....:( [20:33] At least I think i should be able to push higher with Linux if windows can do that a physical limitaiton shouldn't be something even WIndows can wizzard around [20:33] i don't know how it works, maybe you have the uhd variant and mabe this can run on higher resolutions. [20:34] Do you recommend i should update drivers for the intel gpu? [20:34] if you look at the specifications i just linked you'll see that you can tell which GPU it is based on the CPU model [20:34] tomreyn: thank you allot for the help, now i just need to make sure i3 can work as intended [20:34] i don't recommend any software changes until it's clear which hardware you're working with [20:36] tomreyn: how do i check in linux which GPU is available? [20:36] lspci -knn | grep -A3 VGA | nc termbin.com 9999 [20:36] allright [20:36] nice lemme start the machine up [20:36] and thank you :D [20:38] np ;) [20:38] Nikesh: which ubuntu version are you running? [20:39] tomreyn: It Intel HD graphics 620 [20:40] is it a good idea to not use ubuntu 19 in prod until it reaches LTS? [20:40] LaserAllan_: well, you saw those specifications on the intel website. maybe they are wrong, i don't know. [20:41] !yy.mm | becool [20:41] becool: Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle [20:41] i see [20:41] becool: so you mean ubuntu 19.04 or 19.10? [20:41] either that doesn't have lts after it [20:42] becool: right, neither of them will be LTS releases [20:42] gotcha, that answers it [20:42] becool: LTS release are published every other year. the latest was 18.04 LTS. [20:42] is it best to only use lts releases in a prod environment? [20:43] generally, yes, but it depends on what you produce ;) [20:44] saas apps [20:44] e.g. if you need the latest graphics driver stack then even though updated ones become available in LTS releases you might, in some cases only, prefer the non LTS release. [20:44] SaaS apps is rather unspecific, but i assume you'll be best served with LTS [20:44] web apps* [20:45] use LTS. [20:45] cool will do [20:59] hoping someone can help me [20:59] when I run apt upgrade I get the following error [21:01] dpkg error: processing package install-info (--configure) [21:02] subprocess installed post-installation script returned error exit status 127 [21:02] only reference I found was to 2010 an issue with grub [21:03] since my grub is installed, I dont think that is it [21:03] running lubuntu 16.04 lts [21:03] abtm: Pastebin the outputs of ' sudo apt update ; sudo apt upgrade ' so we see all in context, please. [21:06] this is annoying [21:06] term lets me copy but I cant paste to leafpad or libreoffice [21:06] so I cant give you full output unless I type it :( [21:07] abtm: run tihs, it will post online automatically, so you just need to copy or type the short url: sudo /bin/true && cat &>/tmp/aptlog < <(sudo apt-get -qqy update 2>&1; apt-cache policy 2>&1; sudo apt-get -syV full-upgrade 2>&1;); nc termbin.com 9999 abtm: ninja'd by tomreyn :D [21:07] that's if copy and paste works in *this* direction [21:07] ;-) [21:08] h3u8 [21:09] is the code at the end [21:09] abtm: note there are two different clipboards on X. you can also just mark / highlight text using the mouse then just move to where you want to paste it and click middle mouse button. [21:09] using laptop no middle button :) [21:09] ok https://termbin.com/h3u8 [21:10] the getdeb.net project no longer exists, remove all of its apt sources and packages installed from there [21:11] you're missing the apt signing key for the dl.winehq.org third party apt repository. [21:11] drat they were useful in upgrading components [21:11] right..... [21:11] but that should not cause the error 127.... [21:12] probably not, i'm just moving from top to bottom [21:13] ahem looks like i didn't actually catch your error [21:13] tom abtm to cut short your hunt, it's install-info.postinst script calling update-info-dir which is indexing/writing to /usr/share/info/{,dir} [21:14] let me try to run upgrade again see if error is still present.... [21:14] error still present [21:15] TJ-: so what should be done about it? [21:16] please post the unique characters from the url this returns: dpkg --configure -a |& nc termbin.com 9999 [21:16] abtm: ^ [21:16] t7rh [21:16] ah crap, i forgot sudo :) [21:16] sorry too literal [21:17] let me run it again as root [21:17] :_ [21:17] just saw that myself [21:17] 838i [21:17] "rem"? :) [21:18] no idea [21:18] are you into .bat scripting? [21:18] oh shit [21:18] I know what the problem is [21:18] use # instead [21:18] its trying to look at the proxy var [21:18] yep [21:18] squid quit working [21:18] needed to update first [21:19] so I remed out the lines in proxy file [21:19] < feel like an idiot [21:20] all good thank you [21:20] I should have realized [21:20] * tomreyn likes to type "ls" on windows cmd. [21:21] so your packages now install? [21:21] yep completed [21:21] thank you [21:21] you should probably use sudo apt full-upgrade # rather than just "upgrade" [21:21] abtm: Sometimes all it takes is to bounce something off someone else :P [21:21] would that not force me to 18.04? [21:22] no, unless your apt sources point are pointing to that [21:22] but that's not the case [21:23] i suggest you sort out your apt repositories though [21:24] thank you again [21:24] abtm: also lubuntu 16.04 is eol [21:24] its on my list :) [21:24] https://help.ubuntu.com/community/EOL [21:25] thats why I am still on 16.04 :) [21:25] but yes [21:25] hoping to hold out until 20.04 [21:26] you'Re still on 16.04 because its unsupported? [21:26] no its LTS [21:26] flavours choose their own support lifetimes [21:26] flavors don't necessarily get 5 years of support, it's dependent on the flavor developers [21:26] ah [21:26] Lubuntu doesn't, it went EOL in April [21:26] depends on which bit of the flavour you're using [21:26] 18.04 is LTS and supported by Lubuntu until 2021 [21:26] the base os is still supported (Still getting updates) [21:26] yes [21:27] thought that was the entire stack.... [21:27] the link tomreyn gave has details broken down by version and flavor, it's quite handy [21:28] * tomreyn rejoices [21:28] got it [21:28] thank you [21:28] so now I have to add migrating to my list as well :) [21:28] busy weekends :) [21:29] thank you [21:29] it's do-release-upgrade [21:29] thanks again :) [21:29] unless you prefer to use the GUI [21:29] I know but I would not want to cary my broken customization forward [21:29] instead back up data [21:29] get list of programs [21:30] fresh install [21:30] otherwise if I have been living with an issue [21:30] it can move forward [21:30] prefer not to [21:30] i like your approach. have a nice weekend. [21:30] otherwise things can stay broken [21:30] ty [21:58] anyone have a solve for: The following packages will be upgraded: [21:58] msbuild [21:58] 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [21:58] Need to get 0 B/6,921 kB of archives. [21:58] After this operation, 955 kB disk space will be freed. [21:58] (Reading database ... 289791 files and directories currently installed.) [21:59] !paste [21:59] 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. [22:01] hylian: you can talk again now. please be sure to read the message from ubottu above. [22:13] sorry about that all, something strange just happened with my really old dog, so i freaked out for a minute. i'm back. [22:14] Anyone know why apt-get can't complete this?: https://paste.ubuntu.com/p/CcHYnKXdJ2/ [22:15] welcome back. it tells you: trying to overwrite '/usr/lib/mono/msbuild/15.0', which is also in package mono-roslyn 5.20.1.19-0xamarin2+ubuntu1804b1 [22:16] so you have two third party packages installed, both of which can't be installed at the same time, but they are either from repositories not meant to be used together or just badly packaged. [22:17] so for the immediate fix either uninstall mono-roslyn 5.20.1.19-0xamarin2+ubuntu1804b1 or do not install msbuild 1:16.0+xamarinxplat.2019.05.07.15.32-0xamarin2+ubuntu1804b1 [22:19] and then sort out your apt repositories, make sure you don't have any configured which are known not to be used with the other. [22:20] err, bad grammar, but i think you get my point. [22:21] ok, but thing is, this was all working fine until I went to update it this afternoon..?? [22:25] you are making an assumption that if you combined to non-combinable apt repositories then something would have broken immediately, but it did not. and since it did not break immediately, it could also not break later, when new updates are pushed to those repositories. that's a logical fallacy. [22:26] this said, it's also possible that these packages are from the same apt repository and this is just very poorly maintained. [22:27] apt-cache policy msbuild mono-roslyn would tell [22:28] tomreyn: hmm, ok. i think that msbuild is part of the mono-project i have running. I'll remove it and see if that resolves this. If it doesm that would at least tell me where the issue comes from. [22:29] running the above command and inspecting its output would [22:31] tomreyn: yeah, once i remove the repo for mono-project.org, problem dissapears. I'll have to investigate what's going on there. thanks [22:31] yet another possible cause of this issue is that you just didn sudo apt update before you tried to install. [22:31] *didn't run [22:31] tomreyn: no, that's part of my update script. good thinking though. [22:32] tomreyn: thanks for helping me sort this out. have a good day! :) [23:01] Hello, I keep getting this error `vim: error while loading shared libraries: libruby-2.3.so.2.3: cannot open shared object file: No such file or directory`. I tried un-install vim and I now have neovim aliased as vim, but I still get this error when I do e.g. `git add --patch` end then try to `e`dit the commit. `sudo ldconfig -v | grep libruby` returns `libruby-2.5.so.2.5 -> libruby-2.5.so.2.5.1` (as well [23:01] as a few errors like `/sbin/ldconfig.real: Can't stat /usr/local/lib/i386-linux-gnu: No such file or directory` -- Any ideas how I can resolve this? [23:02] note 2.5 vs 2.3 [23:02] that may or may not be important [23:02] check ldd `which vim` [23:03] Yeah I noticed the 2.5 vs 2.3 [23:06] This is the output for ldd `which vim` [23:06] I notice `libruby-2.3.so.2.3 => not found` [23:07] I haven't found through searching how to resolve that [23:08] I did recently upgrade, but I thought that vim was working after the upgrade, though this matches quite closely - https://stackoverflow.com/questions/52270456/vim-cant-be-used-after-system-upgrade-to-ubuntu18-04 [23:08] The same error message [23:10] What confuses me is that I don't even have vim installed, but git tries to use vim for patch edits - Maybe I could configure git to use neovim but it's interesting that the failure isn't just "vim is not installed" [23:11] Nikesh: try apt-get install libruby2.3 === christopherburg_ is now known as christopherburg [23:53] I need help fixing my broken Ubuntu install. Apt-get won't install new items because of what I think is an udev issue. See https://pastebin.com/wBEtDXMR [23:53] Also see https://pastebin.com/thWWxFEd [23:55] 50 not upgraded... do a proper apt-get full-upgrade, before installing stuff [23:56] * which might require reboot [23:56] OerHeks, trying that. Will report success or failure [23:57] apt install -f # could correct problems [23:59] OerHeks, the apt-get full-upgrade command is still running but I see failures already