[00:56] Hello again. Anyone here have experience preseeding Ubuntu for autoinstallation? [00:58] Does anyone know how I can read from and write to a serial device without running into a 'resource is busy' error [00:58] ? [00:59] what are you using to talk to the serial device? [01:00] zim_hacker [01:00] DSdavidDS: I am connected via usb and would like to see the messages I write to the device from a python program [01:01] It has to do with how gracefully you end the serial connection on your ubuntu PC [01:02] I am assuming you are using something like 'screen' [01:02] I prefer minicom because it prompts you to close the communication completely when exiting [01:02] DSdavidDS: yes, I was attempting to do it using screen [01:03] if you dont reset the connection, it can leave the communication completely locked [01:03] not sure what the right way to do it with screen is. I like minicom. [01:03] can I clarify, are you trying to run screen from python? [01:03] on 18.04.3 with a Gigabyte Z170XP-SLI, my onboard sound (Intel) no longer works... I need this to be fixed! [01:04] DSdavidDS: interesting, that could explain why it always tells me the resource is busy after establishing a connection (even after i quit) [01:04] DSdavidDS: I am running screen through terminal [01:04] okay [01:04] 3 options: [01:04] 1. dont exit screen, 2. exit screen properly, 3. try minicom :] [01:06] hello [01:06] i used to get an option during installation to do disk encryption .. i no longer see it [01:06] how can i encrypt the disk ? [01:07] DSdavidDS: So essentially if I do use screen, It HAS to be terminated before I can write to the device? [01:07] DSdavidDS: thanks, I'll take a look at minicom [01:08] off the top of my head: [01:08] sudo minicom -D /dev/tty???? [01:08] and ctrl+a --> q --> enter to exit [01:09] ctrl+a --> z --> q --> exit [01:09] and yes. Serial can only have one communication at a time [01:10] unless you have some serial manager that takes care of managing serial traffic [01:21] hey, what partition type should I select in fdisk for vfat? [01:34] I had an encrypted Ubuntu install on an external drive, and I forgot the password. It's the default installer option to encrypt (cryptsetup). I tried and tried and can't remember it. How would I go about trying to crack it? I wouldn't have used a strong password. How long should that take to crack on desktop hardware? [01:34] and how would I go about doing it? [01:35] <[itchyjunk]> Hi, I am trying to add something to my path. not sure how to do it. ghci is in /opt/ghc/bin and i want ghci added [01:35] you have only one option left: brute force. it will take awhile. [01:35] EdFletcherT137: that's what I want to do. How many hours do you reckon for a 10-character password? [01:35] one issue is the 60 second break that cryptsetup forces on you if you fail to enter the correct password 3 times in a row [01:36] no idea, but given the datum you just mentioned you could do a quick calc [01:37] *rough calc, rather [01:37] 10 characters? that's not enough, so it might actually be possible to crack, especially if you know which characters classes were (not) used. It will probably still take days. [01:39] there's days of creative work on it so I don't mind. Any guides on what to do? [01:39] primarily, bypassing that 60 second delay. That would just kill any brute force attempts. [01:41] hmmm not even sure you can, but you're definitely right that you'll need to [01:41] you'd dump the header and attack it directly. [01:41] search the web, i think this outside of ubuntu support. [01:41] oh yeah, excellent idea [01:42] OK, thx [01:42] some articles by both sides of the spectrum are easy to find. search terms: LUKS, forensics, brute force, crack [01:46] tomreyn, thanks. while i'm on the subject, what's the easiest way to make an encrypted external USB drive that works with both BIOS and UEFI systems? one that requires the least knowledge of bootloaders. Ubuntu's installer only makes it work on one or the other (depending on the PC used to install). So if you install it on a BIOS computer, you can't boot it from a UEFI computer, and vice-versa. [01:46] by using the installer I mean [01:48] whodat: i don't know, but i bet there are articles out there on how to make a hybrid (BIOS + UEFI bootable) USB attached storage. once you know this, all you need to do is to combine this with a luks encrypted storage (which is certainly the easier task). [01:49] the ubuntu desktop installer (and i think 'live' server, too) is hybrid, so you could just check how it's done. it then continues booting from an overlay file system, which won't be what you want in this case. [01:50] the ubuntu desktop installer is what i used last time, it's definitely not hybrid. So if on a BIOS PC you use USB ISO to install to external drive, a UEFI-only PC can't boot from that USB. Maybe they fixed it since 18.04. [01:51] *UEFI PC can't boot from that external drive [01:51] fdisk in 18.04.3 and later supported releases can handle the partition tables of a hybrid installer (many other applications will instead report a mismatch of block sizes and fails to detect the first partition) [01:52] i'm saying the installer media will be hybrid, not the installation you create from it [01:52] ah, yes [01:56] thanks again [01:57] you're welcome === zbenjamin is now known as Guest6110 === zbenjamin_ is now known as zbenjamin === codebam__ is now known as codebam [03:16] are you guys on 18.04 or 19.10? [03:18] I've got machines on 18.04 LTS and the current -devel release === hoffman is now known as upcrime [03:50] I'm writing a module on Linux this semester! [03:50] Very cool. [03:50] !discuss | cybertruck2077 [03:50] cybertruck2077: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [04:06] Hello. I'm using Bionic. I need to stream live audio using Command Line over IP (which a client can listen to and possibly record as well). [04:06] Any pointers please...? Thanks in advance ... [04:08] some ffmpeg / vlc wizardry perhaps? [04:10] how do i compile a ubuntu source package [04:10] specifically libmad [04:11] as i have ubuntu/libmad-0.15.1b/debian/patches [04:13] Wally, Yeah I guess? Tons of examples but not a single that really works out of the box (and which I understand) :-/ [04:13] Yeah that sounds like fun to work out. Nothing I really can help you with unfortunately. [04:14] hmmm ... no worries :) [04:14] tx anyway [04:16] np [04:17] So with a new install of 19.10, is my ATI RX 570 natively supported? No drivers/software required? [04:22] cybertruck2077: Yup :D See: https://help.ubuntu.com/community/AMDGPU-Driver . [04:22] cybertruck2077: check sudo lshw -C video, to see if your driver is loaded properly [04:23] lotuspsychje, hey! How are you? [04:23] thanks guys, this is the output I get [04:23] *-display [04:23] description: VGA compatible controller [04:23] product: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [04:23] vendor: Advanced Micro Devices, Inc. [AMD/ATI] [04:23] physical id: 0 [04:24] fkkk it still fails ;-; [04:24] why does my distro's version of libmad work and the source build of libmad doesnt [04:26] cybertruck2077: at bottom: driver=... [04:26] lotuspsychje, Good. Struggling to get linux audio streaming to work :) [04:26] apt source libmad0 ; cd libmad-0.15.1b/ ; sudo apt install devscripts debhelper cdbs quilt dh-autoreconf ; debuild -us -uc -b ; sudo make install [04:26] like (for e.g mjpg streamer) ... stream from one box, and clients can see/record... want to do the same for audio streams [04:27] the tests fail with that version however pass if i use sudo apt install libmad0 [04:27] i cant figure out why ;-; [04:33] (time to sleep) linux audio can wait... gnyte lotuspsychje [04:35] lotuspsychje: weird, I don't see a driver field when I run lshw -C video [04:39] fk now my distro's version is failing too ;-; [04:39] fkkkkkk [04:39] cybertruck2077: configuration line - "configuration: driver=nouveau latency=0 [04:40] " where my driver is nouveau . [04:40] nice, thanks, configuration: driver=amdgpu latency=0 [04:45] hi all, anyone familiar with Multipass? Or maybe snap in general not sure [04:45] multipass downloads VM images for ubuntu.. one of my downloads got interrupted, and now I cannot launch images using that verfsion of Ubuntu [04:45] need to figure out how to refresh/delete said image [04:53] @patrixl on my system images are installed into /var/snap/multipass/common/cache/multipassd/vault/images [04:53] @patrixl perhaps in there you can delete the offending image and it will redownload === PowerTower_121 is now known as PowerTower_120 [04:54] looks like /var/snap/multipass/common/cache/multipassd/vault/multipassd-image-records.json also keeps a record of the images you downloaded [04:57] mca_gif, You mean like chicks and stuff? [04:59] Yes, the ubuntu spying conspiracy is real. /s [04:59] hmm [04:59] I documented this in a note. [04:59] I have to look now [05:00] mca_gif: cool, let me have a look there! [05:00] LOL [05:00] this is my first snap ever installed, too much magic going on lol [05:00] huh [05:00] funny thing is I looked in /var/snap/multipass and skipped over the "common" dir, having looked at a smilar dir before and finding nothing haha [05:01] there is no directory on this system as of yet. [05:01] There is no directory of this label I meant to say on this system yet. [05:01] @patrixl I haven't ever used it, so I installed it, and once running "ps" gave away the location of the images [05:02] oh really [05:02] mca_gif: removing the directory of the image that failed to download, now it starts to download once more, thanks. Didn't need to mess with the json file [05:02] hmm [05:02] ps eh [05:02] here I was messing around with lsof and not finding it [05:02] interesting stuff [05:14] hello? [05:14] yes? [05:15] hi, how do i check thunderbolt driver version im currenlty using? thanks [05:17] is this channel still active? [05:20] Oh yes [05:20] This is an actually pretty nice channel. === tehaugz is now known as augz [06:15] Hi. I have an ACER Aspire laptop. Recently wiped it of Windows and installed Kubuntu 18.04.3 LTS from a burned DVD ISO. Now the computer goes into a loop on boot. Shows the ACER screen, then a few lines of text too fast to read, then reboots. I've checked the BIOS and Boot menu. Shows "Linplus lite." Any thoughts on a fix? Thanks! [06:17] e|f: can you boot a live usb to troubleshoot? [06:18] I only have the Ubuntu ISO on a DVD but, yep, it will boot to that if I hook up the external DVD drive and select Boot from DVD from the BIOS. [06:18] ok do that [06:21] OK, grub popped up, i selected Start Ubuntu and it's loading OK... [06:22] e|f: once it boots hook up internet to it [06:22] showing the kubuntu splash screen now and it's loading as expected [06:22] ok [06:24] done? [06:29] almost [06:30] just got to the Kubuntu screen "Try Kubuntu" / "Install Kubuntu." Selected "Try." It's loading the desktop now === monkeystance_ is now known as monkeystance [06:33] connected to WIFI. Opened up a Firefox. Firefox connected to yahoo.com for an example. Internet works [06:33] e|f: ok, open a terminal and type "sudo parted -ls | nc termbin.com 9999" [06:33] paste the link it gives you here [06:33] okie dokies [06:35] https://termbin.com/43b9 [06:38] lucky it's a touchscreen. the touchpad won't work. i've had this problem before and can't remember how i fixed it :P [06:39] brb [06:39] ok [06:41] e|f: ok, it's installed in uefi mode [06:41] e|f: type "sudo efibootmgr -v | nc termbin.com 9999" [06:41] kk [06:42] gives - https://termbin.com/hgx8 [06:45] e|f: type "sudo efibootmgr -b -B 0001" [06:45] k [06:45] that should delete the linpus entry [06:46] e|f: usually with the acer pc's you have to set a bios administrator password, and that will unlock settings for the uefi and let you set ubuntu first and possibly "trust" it (there's a menu for trust) [06:46] e|f: we could delete all the extra entries there [06:47] "Invalid bootnum value: FFFFFFFFFFFFFF5" [06:47] i'd rather not set a bios password [06:47] e|f: you might have to [06:48] ok [06:48] you can maybe remove the password after trusting ubuntu/setting the uefi [06:48] ok, what do i do next. aside from give you fifty bucks for your help :p [06:49] e|f: anyways, im going to set one of the ubuntu entries first in line and see what happens, if nothing then try the bios password + settings [06:49] type "sudo efibootmgr -o 2001,0004,2002,2003 [06:49] e|f: type "sudo efibootmgr -o 2001,0004,2002,2003" [06:50] spits out a long list of stuff [06:51] Boot0000* ubuntu; Boot0001* Linpus lite ... etc etc [06:54] which app do you guys use to take notes? [06:54] Notes for desktop stuff, like commands etc? [06:55] before those boot entries... BootCurrent: 0003; Timeout: 0 seconds; BootOrder: 2001,0004,2002,2003 [06:58] you want me to reboot? [06:59] e|f: yeah giv eit a go [06:59] k [07:00] nah same thing. i'll try the password method [07:04] ok [07:05] under Security tab in BIOS - Supervisor password is: Clear; User Password is: clear; HDD Password is: clear; Set supervisor password ...; Set User password ...; Set HDD password ...; Password on boot: Disabled; Secure Boot Mode: standard ... [07:05] few other things too. where do i go to from here [07:14] is the differnce between, ubuntu, xubuntu, kubuntu just the desktop environments? [07:14] yep [07:14] if i was on xubuntu and installed kde DE, does that mean im essentially running kubuntu? [07:14] more or less, yes [07:14] the default installed apps are different too [07:15] i dont know why but i was running kubuntu before and i reinstalled everything and installed xubuntu because i thought that was the only way [07:15] i never knew you could just install the DE's on it's own and switch back and forth [07:16] also what is lightdm and ssdm, it was asking me when i was installing [07:16] we've all likely done something similar at some point. [07:16] lightdm is the login manager [07:17] on 18.04.3 with Gigabyte Z170XP-SLI system-/logic-/main-/mother-board, onboard sound (Intel) stopped working after a kernel upgrade in the last few months... plz help fix! :) [07:38] ah yep i see what you were saying Eric :) [07:38] play around with the passwords and it then allows you to drop down and select trusted files [07:45] also, how do you delete all old logs? I've been running this for over a year and some logs are probably GB. I need that space now... maybe even delete all logs and restart logging? [07:46] DarwinElf: why do you assume that they would be? my server hasn't even breached 500MB with its logs and it's been going far longer. [07:54] logs are auto-rotated and kept only a certain number of days aren't they? [07:54] I'm sure journald works the same way [07:54] now some other apps not using journald/logrotate might be an exception to those rules... [08:05] i've had GB of logs before [08:05] sure, maybe I ran a server longer to have that happen... however even another few hundred MB would be nice [08:07] EriC^: I set a password to unlock the UEFI settings, then ran through all of the various files under and to set them as files in the allowable database. Rebooted each time with each file. And still it doesn't work. Same loop as before [08:41] e|f: the file you need to set is /efi/ubuntu/shimx64.efi [08:41] e|f: did you also change the boot order of the uefi? [08:44] ah :) [08:44] one sec, i'll try [08:48] set the file to shimx64.efi ... not sure about the boot order of the uefi ? [08:50] under Boot tab - Boot Mode: UEFI; Secure Boot: Enabled; Boot Priority order: Linpus lite; HDD...; CDROM ...; ... [08:53] (if i can't fix this i'll try the 19.10 iso as well) [08:55] hi, does the 18.04.3 installer support encrypting the disk or the home directories? [08:55] gioele: yes both [08:55] e|f: change the boot priority order [08:56] Eric^: thanks. Do you know where I can find the documentation? [08:56] e|f: i dont think the iso would help [08:56] !install | gioele perhaps here [08:56] gioele perhaps here: Ubuntu can be installed in lots of ways. Please see https://help.ubuntu.com/community/Installation for documentation. Problems during install? See https://wiki.ubuntu.com/CommonProblemsInstall - See also !automate [08:56] ah :) i see the EFI file has appeared at the boot mode screen, heh [08:56] didn't notice that [08:56] ok, i'll change it [08:57] i have problem with ubuntu server rsyslog, when my client (mikrotik) send log to my server, the log overide not append, how to make the log append [08:58] oh wow [08:58] jesus christ [08:58] finally, a breakthrough [08:58] yeah, i have the splash screen now [08:58] how much time did i spend on this, lol [09:11] s4yang: probably best to share via a pastebin your client and server config [09:12] e|f: nice [09:13] uefi can be a pain sometimes cause of the manufacturers [09:13] it's taking a while to load but i'm being patient with it :) [09:17] Hello. Is there a way to get the available "desktop size" between any top and bottom panels in the MATE DE? [09:18] e|f: try pressing Esc it should show something, it's probably a graphics issue or so [09:19] !nomodeset | e|f [09:19] e|f: Systems with certain graphics chipsets may not boot properly out of the box. "Temporarily Add a Kernel Boot Parameter for Testing" as discussed at https://wiki.ubuntu.com/Kernel/KernelBootParameters to add the "nomodeset" parameter there. [09:19] yeah it finally loaded [09:19] vlt: there's a pixel ruler program you could download i guess [09:19] it's called "screen ruler" [09:27] After pressing ESC... it's finally said "You are in emergency mode..." "Press Enter for maintenance (or press control-D to continue)" [09:33] EriC^^: I was looking for something to use programmatically in a script. More like xdpyinfo. [09:33] Hi, I need some kind of post it notes for Ubuntu 18.04 and tried almost all of them. I like xpad but I would need a possibility to pin them on top while using other programs. How can I do that? [09:42] I have skype installed, but the audio output has suddenly gone very bad, nothing else seems to have been affected. I have tried fiddling with the configuration, but there hasn't been any improvement. does anyone know what I can do to fix this? [09:48] azeam: Thanks! Odd phenomenon. What make is the battery? [10:08] <__raven_> lotuspsychje: 19.10 live is able to use all 4 displays simultaneously. any way of copying any setting or finding out the culprit? [10:11] Hi i'm trying to preseed bionic from whith a floppy containing the d-i selections. Seems like netboot 18.04 has floppy driver but doesn't automatically mount fd0. Is there any way to ask so from boot params ? Thx [10:20] hi, how can I get the following unit to work correctly? https://paste.ubuntu.com/p/tf2hPGXYfD/, with the user's login shell set to /sbin/nologin or /bin/false, I can't get it to start [10:25] voltagex: maybe in line 29 replace /usr/bin/bash with /bin/bash [10:26] voltagex: there's probably a command to see the log of the service [10:30] on 18.04.3 with Gigabyte Z170XP-SLI system-/logic-/main-/mother-board, onboard sound (Intel) stopped working after a kernel upgrade in the last few months... plz help fix! :) [10:33] EriC^^: https://paste.ubuntu.com/p/b8Yn5FQHcF/ [10:36] voltagex: no idea [10:43] what's the best utility to create a bootable usb? I've tried gparted and dd but my flash drive/usb doesn't seem to work [10:55] marz_d`ghostman: ubuntu has an internal app to create bootable usb [10:57] lotuspsychje: what app is that? [10:58] marz_d`ghostman: the usb creator app, wich ubuntu version are you using? [10:59] Ubuntu 16, I'm not creating a bootable ubuntu drive htough [10:59] marz_d`ghostman: wich Os are you trying to burn? [10:59] it's a firmware updater from Dell [10:59] https://www.dell.com/support/home/ph/en/phbsd1/drivers/driversdetails?driverId=FV3R1&oscode=naa&productcode=poweredge-R620 [10:59] !biosupdate | marz_d`ghostman [10:59] marz_d`ghostman: To see how to update your bios on Ubuntu visit the community collected methods here: https://help.ubuntu.com/community/BIOSUpdate [11:26] bcx: this may be more of a topic for #ubuntu-server. also, have you considered better options than working with floppies in 2020? and what is this hardware? === sonOfRa is now known as cbI [11:37] marz_d`ghostman: unfortunately dell does not yet support firmware updates on poweredge systems via fwupd / lvfs: https://fwupd.org/lvfs/search?value=Dell+poweredge-R620 [11:38] ok this is weird [11:38] I have a logitech c920 [11:38] actually I have two, luckily. if I plug in one, it shows up with its microphone in pavucontrol etc, but it is silent [11:38] if I plug it out and try the other one, same result [11:39] if I plug it in, then plug another in, the second works, the first stays silent. I can then unplug the first and leave the second working [11:41] marz_d`ghostman: but as the download page you pointed to explains, "Multiple methods are available to use the Bootable ISO like iDRAC virtual media, network location, USB drive and CD-ROM." and the USB drive installatio instruction (further down that page) states "Run any Bootable USB drive creator software." on ubuntu desktops, usb-creator-gtk and -kde are available. there is similar software which also works on a CLI, such as "mkusb", but [11:41] that's not part of ubuntu. === sonOfRa_ is now known as sonOfRa [12:07] I have skype installed, but the audio output has suddenly gone very bad, nothing else seems to have been affected. I have tried fiddling with the configuration, but there hasn't been any improvement. does anyone know what I can do to fix this? [12:11] neildugan: did you try restarting? [12:33] tomreyn: actually i'm using packer on vSphere vms [12:44] i used to get an option during installation to do disk encryption .. i no longer see it. how can i encrypt the disk ? [12:46] Howdy folks [12:53] EriC^^, No, that is something I should have thought of myself, I am imbarrased that I didn't [12:54] neildugan: no worries, hopefully it doesnt keep happening, then maybe a different kernel might help [12:54] EriC^^, restarting skype doesn't work, it still malfunctions [12:55] i meant the pc neildugan [12:55] please i need help installing wine [12:55] winehq-stable : Depends: wine-stable (= 5.0.0~bionic) [12:56] E: Unable to correct problems, you have held broken packages. [12:56] !paste | Ntemis [12:56] Ntemis: 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. [12:56] EriC^^, OK, but atm I can't reset the computer, I will try that soon. [12:56] Ntemis: If you're running Ubuntu you should be able to install it from the package manager. [12:56] i cant [12:57] any way to force it? [12:57] neildugan: installing pavucontrol might help or maybe in the sound settings switching output to something then back [12:57] Ntemis: All I did was "sudo apt-get install wine64" (64 for 64bit systems) [12:59] it worked [12:59] :thumbs up: [12:59] thanks [12:59] You're welcome. [13:01] sudo apt install wine-stable doesnt work [13:05] doesn't work in what way? [13:06] https://linuxhint.com/wp-content/uploads/2018/08/u1.png Encrypt the new Ubuntu installation for security ... i don't see this option anymore [13:10] oh i see it actually but it would erase windows too ?? [13:10] ph88: Correct, volume encryption is not recommended for dual boot systems [13:11] is there another type of encryption i can still apply ? [13:11] ph88: You can encrypt your home directory, which honestly should be enough [13:11] how do i do that ? [13:13] ph88, that option is really not in the installer anymore; you need to install normally and then run sudo ecryptfs-migrate-home -u user and take care of the swap [13:14] ah ok [13:14] is there a tutorial on that ? [13:15] ph88, https://www.howtogeek.com/116032/how-to-encrypt-your-home-folder-after-installing-ubuntu/ [13:17] is it still up to date from 2017 ?? [13:17] i think so [13:18] thank you [13:18] no prob [13:19] ph88: this could also be an option - https://wiki.gentoo.org/wiki/Ext4_encryption - ext4 file system encryption. but most of the time you really want FDE. [13:19] tomreyn: It's a dual boot machine... not recommended [13:19] i don't think i can do FDE with windows alongside ubuntu [13:20] pragmaticenigma: why not? [13:20] ph88: the installer doesn't support it but i don't see why you can't [13:21] how will windows be able to boot when it's encrypted ? [13:21] you wouodn't encrypt the windows partition [13:21] *wouldn't [13:22] i understood FDE as full disk encryption [13:22] i only have one disk [13:22] yes, that's a bit misleading [13:23] normally, with dmcrypt-luks, you encrypt data on partitions, not the entire disk [13:24] ph88, would be more correct saying that there is no 'trivial way' to do that [13:24] is this using dmcrypt-luks ? https://www.howtogeek.com/116032/how-to-encrypt-your-home-folder-after-installing-ubuntu/ [13:24] nope [13:25] so there is dmcrypt-luks, ext4 crypt and cryptsetup [13:25] ph88, ecryptfs-utils != cryptsetup [13:28] cryptsetup is a user space utility for managing dm-crypt encrypted devices [13:30] anyone using the QT Adwaita theme? I can't get it to switch to dark on all apps [13:31] Phruis`: are you using a stock adwaita theme or a downloaded one, on wich version of ubuntu? [13:31] https://github.com/FedoraQt/adwaita-qt [13:31] 19.10 [13:33] Phruis`: can you pastebin: apt policy adwaita-qt please [13:34] https://paste.ubuntu.com/p/HWHD52cpHJ/ [13:35] i installed from source [13:36] should i use the package? [13:36] Phruis`: please install the version from apt to doublecheck [13:41] Hello everyone. I am on Ubuntu 16.04 and have problem with I-nex (which I installed several months ago). At first it worked fine, but from 2-3 months I can't even open it. When I type "i-nex" in terminal I got the following error: "ERROR: #2: Cannot load class 'JSON': Bytecode too recent. Please upgrade Gambas." [13:41] It would be great if someone is familiar with this problem and can help me. [13:43] lsfc1914: you installed i-nex with the external ppa? [13:43] lsfc1914: That doesn't appear to be a software package available in the official Ubuntu software channels. You will have to contact the developer for assistance [13:44] allright [13:44] thank you [13:45] Is there something similar in the official Ubuntu software? [13:45] lsfc1914: have you at least tried to update gambas3 like the error suggested? [13:45] not with gambas i think [13:46] tatertots: if volunteers advice the support elsewhere, please dont continue support here [13:53] lsfc1914: You could build your own using Conky, which has many of the same features, but is more tooled for real time performance monitoring [13:53] Conky also has pre-made and/or community provided premade setups [14:12] greetings, what setopt can I use to have human readable timestamps in my zsh history file? [14:14] isomari: that's probably a good question for #zsh [14:16] hi there [14:16] apt-cache policy shows a fine version table but no candidate. installint the package with package=$version installs the package with success but otherwise apt sais "no candidate" [14:16] how is that possible? [14:16] its an third party repository [14:18] tomreyn: Thanks. Seems everyone is sleeping over there. [14:19] Silicium: low priorities? [14:21] does that matter if there is no alternative? [14:21] Priority is Extra [14:21] no dependencies [14:22] right architecture :) [14:22] Silicium: can you show the apt-cache output (after apt update) on a pastebin? === conjo is now known as bbd [14:22] yes [14:23] its about filebeat package (elasticsearch) using 5.x repo works, 7.x doesnt work. seems to be a OS dependency but there are no dependencies [14:24] working 5.x repo: https://pastebin.com/iWgeVFB7 [14:25] that's not apt-cache policy output for a specific package [14:25] is it possible to clone an hard drive whilst in use with dd or would it render the image unusable or so? [14:26] non working 7.x: https://pastebin.com/kCr4QJrT [14:26] ok not policy [14:26] non working policy: https://pastebin.com/GBGFvVf4 [14:27] Silicium: priority -10, wont be considered [14:28] read apt_preferences(5) [14:29] section "How APT Interprets Priorities" [14:30] vlm: possible: yes, a good idea if the goal is to have usable data at the destination but there are read-write-mounted file systems on the source: no. === fling_ is now known as fling [14:31] vlm: you can use lvm or btrfs or zfs snapshots instead [14:33] tomreyn: ok thanks ill rather do it offline then to keep data [14:37] Hello Everybody [14:38] tail -F appserv.log | grep Working >> push_api.log [14:38] Why this command is not working ? [14:38] I want grep to send the output to push_api.log [14:39] Please help [14:40] raddy: "not working" isn't a good problem description. Please be more specific. === real_walnut_burl is now known as walnut_burl [14:41] SwedeMike: The grep output is not being sent to the file [14:41] what is the output of the command && do you have write permissions in the directory where you are trying to write push_api.log? [14:42] WaV: I ran that command as root [14:42] Any output? [14:42] raddy: does it work without the >> ? [14:43] raddy: does it then work as expected and show it on the screen? [14:43] SwedeMike: It is working if tail -F hits_BRTS.log | grep Working >> push_api.log [14:43] Sorry without >> push_api.log [14:44] thats a differently named log file [14:45] tomreyn: It is working if tail -F hits_BRTS.log | grep Working [14:45] But not to the log file [14:45] There is no spelling mistake [14:46] it may be due to output buffering [14:47] tomreyn: What is that ? [14:49] raddy: https://unix.stackexchange.com/questions/154861/why-does-tail-f-tail-fail-to-produce-any-output/154862 [14:49] http://www.pixelbeat.org/programming/stdio_buffering/ [14:49] morning all [14:50] hi [14:50] someone her from the gLabels project? [14:54] rapha, are you having trouble printing out labels? I'm not a dev on that project. I just googled it when you mentioned it. [14:55] tomreyn: where did you saw priority -10? [14:55] ah lol [14:55] thx [14:56] chowder: nope, the printing is working fine. we're trying to move from glabels3 to glabels4 and almost all (thousands) of our labels show "invalid barcode data" with glabels4. i think it must have something to do with it not yet supporting all of the barcode libraries that glabels3 supports. [14:57] rapha: are you a small business owner by any chance? [14:57] chowder: i'm the IT bitch for a bicycle shop [14:58] rapha: lol ok well why did you move to GLabels4? Just curious. [14:59] chowder: not "did". "wanting to". because glabels3 lacks some features in our distro and building it is getting tougher and tougher. building glabels4 is a breeze. [15:02] well it looks like GLabels 3.x is the stable version. 4.x is the dev version. Usually you only see the major version number change when a change is made that breaks compatibility. You may have to stick with 3 [15:03] rapha: which distribution is this? [15:03] tomreyn: Solus [15:03] !ot | rapha: then please move [15:03] rapha: then please move: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [15:04] https://glabels.org/pages/download <-- has links to the github repos for 3 and 4 and it looks like the author switched from GTK to QT for the interface. I imagine that there are other differences between the two that make porting old labels difficult or impossible. My suggestion is to reach out to the devs. [15:04] and to be fair, the feature we're missing comes from an arcane library which is the actual pain in the behind to build [15:04] tomreyn: i came here because some website mentioned that a member of the gLabels team hangs out here. i'll give you your precious space back, sheesh. [15:05] yeah, this is my first (failed) attempt to reach out to the devs [15:05] thank you for your welcoming friendliness tomreyn [15:06] tomreyn: c'mon dude we need to be friendly to newcomers. Linux still only has 1% market share and its clear that this guy was supporting a business using Linux. He should've been treated better. Use some soft skills. [15:07] chowder: i did, said "please". we can continue discussing this in #ubuntu-discuss if you'd like? [15:07] fair enough [15:12] hi sorry im not really sure where to ask this.. so with load balancing, would you have multiple servers that sync with each other serving the same static content [15:13] bynarie: the individual servers don't sync with each other. the load balancer uses some algorithm to "evenly" distribute requests amongst the individual servers. only it must know about them. [15:13] bynarie: In general, load balancing means distributing the incoming requests amongst many servers. You can have a publicly facing DNS record for your load balancer that then divides the requests amongst your servers. [15:14] right i undertand that the requests are distributed to them probably through dns requests [15:15] so if i have a webservice that requires php/mysql stuff, wouldnt the 2 servers need to be synced in some way to provide static content? [15:20] bynarie: you want #ubuntu-server [15:27] Good $DAY. I have a server that every type there is an update there is a warning stating: cryptsetup: WARNING: failed to detect canonical device of /dev/sda it seems to get into an infinite loop which can I think can only be broken with ^C ( I might be wrong) How can I get rid of this warnings so the set up can have smooth updates? [15:28] deleting cryptsetup seems to cascade to many other packages which I am unsure abouth their purpose. [15:29] tharkun: can you give more details on this server? Ubuntu version. Is it a VPS? Docker? Where does encryption come into play? [15:30] VPS, No hdd encryption, uname -a Linux li206-118 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux [15:31] tharkun: what version of ubuntu? [15:31] tharkun: nc termbin.com 9999 < <(lsb_release -ds;cat /proc/{version,cmdline};echo "Session: $XDG_CURRENT_DESKTOP ($XDG_SESSION_TYPE)";echo Shell: $SHELL) [15:32] leftyfb: How do I get the version? [15:33] tharkun: I just gave you the commands to run [15:33] output is https://termbin.com/msci [15:33] That is not what I expected. Sorry [15:34] from apt-get update bionic [15:35] leftyfb: ^^ [15:35] tharkun: this on Linode? [15:35] yes [15:36] tharkun: I copied your error into google and came up with this as the first result: https://www.linode.com/community/questions/17283/apt-get-update-and-upgrade-question-on-ubuntu-18 [15:37] tharkun: Can you copy/paste the commands you're running for updates and the errors into http://pastebin.ubuntu.com please? [15:37] leftyfb: apt-get update && apt-get upgrade [15:37] tharkun: those errors should be safe to ignore. They're just warnings. But you're saying it gets locked up and you can't do updates. That might be another issue. [15:38] tharkun: We need a the full output please [15:38] tharkun: please copy/paste the entire commands plus output with errors to http://pastebin.ubuntu.com [15:39] leftyfb: I updated the server this morning. I constantly check for updates and I will leave a note there to report back the output to you when the next updates come up. [15:39] Thanks for the time. [15:39] tharkun: ok, that doesn't add up .... [15:40] tharkun: if it hangs on the update, then they shouldn't be all caught up [15:40] thi *could* be bug 1580308 [15:40] bug 1580308 in initramfs-tools (Ubuntu) "update-initramfs cryptsetup must correctly take into account PARTLABEL inside /etc/fstab" [Undecided,Confirmed] https://launchpad.net/bugs/1580308 [15:42] tomreyn: that would only apply when installing kernels and related packages. initramfs won't be regenerated just updating vim for example [15:43] leftyfb: right, but i assume that's what tharkun was referring to, update-initramfs running as a result of kernel (or initrd related) updates. [15:44] possibly [15:44] The kernel was updated. That is certain. And initram was rebuild [15:44] tharkun: do you run into the issue if you install a package you don't already have? Try installing nmap or cowsay [15:46] no isues with apt-get install cowsay [15:47] No isues by uninstalling cowsay [15:48] very old, but may still hold true: https://www.digitalocean.com/community/questions/error-while-installing-packages?answer=1293 [15:49] leftyfb: I did leave a note on the server with the relevant information to look for. Thanks and as soon as I get new data I will share it. [16:02] i have a bash file with a command in it. I want to copy that command only to the command line and run it without the script. I’m running command line only so no copy paste etc. How do I do it? [16:03] nicktguest: grep for the command and then type it in [16:03] nicktguest: Is the command you want the only thing in the file? [16:03] Yeah I want to avoid typing it again. Ideally a yank from vim would persist into the command line but it doesn’t. [16:04] jhutchins_wk no. There’s several commands and lines in the script. [16:04] No, because vim is no longer running. The shell is seperate. [16:04] nicktguest: Ok, copy the file, edit the new file to remove the other commands and then do bash ./file [16:05] You can also install the GPM package which gives you console mouse. [16:05] im looking for the command from that file to be placed on the command line so I can edit it. [16:05] Not just execute it. [16:12] nicktguest: there is no clipboard on a headless server [16:16] nicktguest: if you want to get silly, you could potentially grep and export the command to your ~/.bash_history, exit out and log back in. It might be in your history where you'll be able to edit it before you run it [16:17] leftyfb: I don't consider that silly. ctrl-u and ctrl-y would work for what's already typed at the terminal as well, if that helps [16:19] nicktguest: A good way to handle this though, might be to grep the single command into a new file, edit that file and then run that file === Hoffman is now known as hoffman [16:39] I was hoping someone could answer a linux/upstream fix question for me. In the following ubuntu cve tracker, https://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-13144.html i see that for the upstream field it is stating 8:6.9.7.4+dfsg-13 as the fix. This is a debian fork of the package right? I see the semver being mentioned on [16:39] https://security-tracker.debian.org/tracker/CVE-2017-13144 === SimonNL is now known as SimonNL_Afk [16:49] sams0x41, ask in #debian? meanwhile imagemagick is some versions further.. https://launchpad.net/imagemagick/+packages [16:55] thanks oerheks will do, i think for certain packages, ubuntu is using debian as its upstream and for others, ubuntu is using the original C package but i wanted confirmation [16:56] has anyone had luck using a gpg tool for gmail on ubuntu? http://leoiannacone.github.io/goopg/ I see this but there is no goopg-chrome package available via apt-get install [16:58] jayjo: it's not part of the official packages, no [16:59] jayjo: the instructions say to install the chrome extension and then add the PPA, install the package from the PPA [17:01] Ok I see. It didn't work because there is an error with the release file: https://bpaste.net/FS7Q [17:01] is that an issue on my end or is it something with their PPA? [17:04] jayjo, probably because that ppa does not support eoan [17:11] elias_a: I managed to get the HP UEFI diagnostic tools on a USB stick, the battery passes the test but seems pretty worn out. Ubuntu does however incorrectly report the full charge value as design value (now it's 25.5Wh, compared to yesterdays 20Wh) https://imgur.com/a/JunCUqE [17:12] azeam, batteries worn out, why do you trust the readings then? it is not an ubuntu issue, should be linux wide. [17:13] and what do you want ubuntu to do, fix our bad battery readings? [17:13] batteries are consumable items...these items have to be replaced periodically [17:13] oerheks, yes a Linux issue and not Ubuntu, I agree. But the design value should still report correctly regardless of battery status, no? [17:13] tatertos: yes... [17:14] it is not even a linux issue, you are chasing ghosts [17:16] how is it not a Linux issue if the battery reports one value (according to the UEFI tool, unless they use hardcoded values for different models?) and Linux interprets it as another? [17:40] azeam: from what I have seen/read, the design capacity can change from power on to power on using other HP tools outside of the OS. So while there might be some issue with how it's interpreted by the OS, there is also apparently an issue with what's reported by the hardware itself. [17:42] JimBuntu: that's possible, though it seems in this case is if Linux is using the full charge capacity as design capacity value [17:43] <__raven_> lotuspsychje: 19.10 live is able to use all 4 displays simultaneously. any way of copying any setting or finding out the culprit? [17:45] __raven_: did you try purge nvidia and fallback to nouveau to test yet? [17:49] Anyone know why when i hit the lock button, it opens up a new login screen at tty2 and leaves me logged in at tty1? [17:57] Hellphyre23, never heard; Super + L works ? [17:57] nope [17:59] Hellphyre23, gsettings get org.gnome.desktop.lockdown disable-lock-screen [17:59] false [17:59] Hellphyre23, what uubntu version and Desktop in use ? [18:00] Ubuntu 19.10 Gnome 3.34.2 [18:01] <__raven_> lotuspsychje: yes it does not help [18:02] Hellphyre23, have you changed your dispaly manager ? [18:02] *display [18:05] yes, also have Plasma so using a SDDM [18:06] Hellphyre23, well, if you ask plasma should run alone ; but maybe that behavior might be caused by some buggy extensions ; try to reset them or disable [18:09] I'm on 18.04 and trying to set up phpmyadmin, however I got plenty of errors because phpmyadmin 4.6 is not fully compatible with PHP 7.2. rather than downgrade PHP I tried to manually install the latest phpmyadmin... the procedure is rather confusing. Is there a repo out there with the latest phpmyadmin? [18:11] ioria, thanks, i will try that out, think it is on the right path [18:30] thanks ioria, swapped back to gdm and everything works fine now [18:31] ok, good [18:31] is it possible to make .sh files runnable by the terminal via the GUI? [18:32] i'd like to double-click or right click and open with terminal [18:32] linext, what file manager ? [18:32] the default one ubuntu has [18:33] Activities -> Files [18:33] Right clicking shows "Open with Other Application" but Terminal isn't there [18:35] linext, you want to open it in terminal to execute it or edit it ? [18:36] With Thunar you might be able to do a custom action (Edit > Custom Actions) [18:36] For execution [18:36] I'm trying KDE and have an external display that is overscanning. I tried https://askubuntu.com/questions/508358/overscanning-picture-problem-using-hdmi-with-intel-graphics - --set overscan doesn't work (BadName - see comment by SodR), --transform works, but just moves the overscanned display, it doesn't shrink it to fit the display. [18:36] Is there any way to have X frame the display in x pixels of unusable space and shrink the display to fit within the frame? [18:37] like double-clicking a .bat file in Windows [18:37] linext, well, you need a custom .desktop file in .local/share/applications that calls gnome-terminal with a 'bash -c ' command [18:37] linext: You should just be able to mark it as executalbe [18:37] executable* [18:38] WaV, for some some reason he wants to run it in terminal (maybe for the output) [18:38] is there a furry themed ubuntu? uwuntu? [18:39] ahh, well then create a desktop launcher file and prefix the command as ioria suggested. [18:46] Hi everyone ! Why am I not getting login screen but purple screen after reboot when I installed virtualbox-guest-additions iso inside a ubuntu 19.10 Vbox . [18:59] i need to create some threads to run some code outside the may thread... how can i call methods of objects from main thread on another thread? it's not possible,,, [18:59] main [19:01] basic example: you have a car, you run it and the car starts... after some time, you want it to turn right or left.... how? [19:01] wtf! wrong channel sorry [19:12] why is a space needed at the beginning of " #!/usr/bin/bash" ? [19:23] linext, not needed AFAIK, any number of spaces is valid https://unix.stackexchange.com/questions/276751/is-space-allowed-between-and-bin-bash-in-shebang [19:24] the problem is that ubuntu puts bash in /bin/bash [19:24] not /usr/bin/bash [19:35] linext: I'm pretty sure /bin/bash has been the location for debian since the beginning. Over 20 years. Why is that a problem for Ubuntu? [19:36] I am getting an issue as described in this post: https://askubuntu.com/questions/881175/why-installtion-fails-when-preseeding-the-partitioning-method [19:36] Has anyone run into this issue? [19:37] DSdavidDS: you want #ubuntu-server [19:38] thanks [19:47] for visibility, if anyone can answer my question above, that'd be great [19:53] i've noticed that certain ubuntu package versions have 7: or 8: within them before a version e.g. "8:6.9.7.4+dfsg-13", does anyone know what that actually corresponds to in ubuntu? [19:56] sams0x41, - see https://askubuntu.com/questions/620533/what-is-the-meaning-of-the-xubuntuy-string-in-ubuntu-package-names [19:57] ahhh perfect, thankyou [19:58] sams0x41: iirc that first number is the epoch [19:58] yup [20:01] leftyfb, i'm copying commands from a magazine and trying them. #!/usr/bin/bash doesn't work and #!/bin/bash works [20:01] linext: and what OS does the magazine say the commands are compatible with? [20:01] thanks ducasse what you said led me to this which explained everything https://serverfault.com/questions/604541/debian-packages-version-convention [20:02] the examples are all in an ubuntu terminal screenshot [20:02] linext: then stop following anything in that magazine because they don't have a good grasp on linux distributions [20:03] /usr/bin/bash is redhat [20:03] ^ [20:03] linext: what makes you say the examples are in an ubuntu terminal screenshot? [20:03] it's in the magazine [20:03] the window look like ubuntu [20:03] url? [20:04] linext: "look like ubuntu" does not mean it is ubuntu. Any OS can be made to look like ubuntu [20:04] linext: you might want to read more carefully [20:04] actually, on second thought... maybe I added /usr/ from searching online [20:04] leftyfb,linext,ioria -- /usr/bin/bash is also in ubuntu: [20:04] https://paste.ubuntu.com/p/KDDy3ZWHxM/ [20:05] sarnold: tell me 20.04 doesn't just up and change something like that? [20:05] sarnold, not on my system... interesting [20:05] leftyfb: it's also in eoan https://paste.ubuntu.com/p/zqpJB6b7bJ/ [20:05] leftyfb: I don't have disco any more to test with [20:06] sarnold: same on disco [20:07] on xenial and bionic is only /bin/bash https://packages.ubuntu.com/xenial/amd64/bash/filelist [20:07] that is horrible if true. I can't seem to find any announcement about this [20:08] hm [20:08] https://packages.ubuntu.com/eoan/amd64/bash/filelist [20:08] that shows /bin/bash [20:08] yep [20:08] and disco https://packages.ubuntu.com/disco/amd64/bash/filelist [20:08] !find /usr/bin/bash [20:08] sarnold: you got something screwy :) [20:08] Found: W:, W:, W:, W:, W:, W:, W:, W:, W:, W: (and 17107 others) http://packages.ubuntu.com/search?keywords=/usr/bin/bash&searchon=names&suite=eoan§ion=all [20:09] sarnold: what does "dpkg -S /usr/bin/bash" give? [20:09] maybe a link or something [20:09] same on focal https://packages.ubuntu.com/focal/amd64/bash/filelist [20:09] EriC^: it's just the worst :) [20:10] dpkg-query: no path found matching pattern /usr/bin/bash [20:10] which busts my usual dpkg -S `which foo` [20:10] sarnold, ll /usr/bin/bash [20:10] -rwxr-xr-x 1 root root 1183448 Nov 13 00:54 /usr/bin/bash* [20:10] I just installed 19.10 i a container, it's got /usr/bin/bash ... what's going on? [20:10] ok, i'am out [20:11] this is VERY bad. Did I miss an announcement? [20:13] https://lists.ubuntu.com/archives/ubuntu-devel/2018-November/040536.html [20:14] https://lists.ubuntu.com/archives/ubuntu-devel-announce/2018-November/001253.html [20:15] ok, at least that made a link [20:16] I was going to freak out if !#/bin/bash was going to break [20:17] yeah that'd be chaos at the next level [20:17] I hate the whole mess [20:17] sure /bin and /usr/bin and /sbin and /usr/sbin is bloody annoying. but this feels worse. [20:19] we'll see [20:19] .. /bin is a symlink to usr/bin, similarly /lib and /sbin. oke, but i read somewhere ENV is important in this? [20:27] Hey guys. Is there an application that can set up the SSH tunnel and connect to VNC in one application, please? === ToBeCloud is now known as MovingToZNC === MovingToZNC is now known as ByeIRCCloud [20:28] ActionParsnip, an hint here maybe : https://www.techrepublic.com/article/how-to-connect-to-vnc-using-ssh/ [20:29] not in one shot probably [20:30] Loria: yeah I can setup a tunnel OK. Was after a single app that did both bits in one hit 😎 [20:31] aye [20:37] Oooh SSVNC seems to be the one [20:37] ActionParsnip, maybe here https://github.com/zrax/gsshvnc [20:38] Haha thanks :) [20:39] you're welcm [20:48] does anyone have an idea how to increase a partition in decreasing direction of sectors? [20:48] like i have a swap partition infron of my / partition which i would like to delete and then increase the / partition to the left [20:51] any way to prevent the calculator from putting numbers in 3.39849238943892X10^12 notation? and display the full number? [20:52] Max0815: may want to use gparted in live CD / USB desktop [20:53] man that is a parsnip of *action* -- give advbice and then quit eight seconds later [20:53] oerheks: well, I'm told the proper way is to call #!/usr/bin/env bash [20:54] how can I chech which baudrates a usbTTY accepts, or the maximum baudrate? [20:55] Sven_vB: it's dependent on the end device, not the port [20:55] Sven_vB: in order to ask the device what baud rate it supports (if it even serves that information up), you would need to be speaking on the correct baud rate === captainplutonium is now known as roxah [20:57] Max0815: that is a decrease and then move [20:58] Max0815: sorry, move then increase [20:59] leftyfb: ah ok so I would probably need to move all files to a different location? [20:59] didnt try gparted yet [20:59] Max0815: no, you move the partition to the beginning of the drive and then expand it [20:59] as i was hoping for a command line based solution [20:59] Max0815: you can also use the command line [21:00] Max0815: https://superuser.com/a/1390940 [21:00] oke deleting the partition and then creating a new isn't a big deal. But i guess my usual resize2fs approach wont work [21:00] oh thx that link looks about right [21:01] Max0815: that only works on resizing a filesystem. Not moving or resizing partitions [21:01] (resize2fs) [21:01] so create a new partiton, shift left, resize2fs [21:01] :/ [21:01] Max0815: use gparted [21:01] drag and drop [21:02] mhm i guess that would save me some time [21:02] Max0815: in gparted, right-click the partition and pick resize/move [21:04] thx, will try that now :) [21:05] if I dont come back my harddrive probably died (but i have backups lol) [21:08] leftyfb, thanks! [21:17] I'm having trouble with my xubuntu (guest) VM graphics. Its very sluggish to follow the pointer and type. My Ubnuntu guest works great. I'm running Windows 10 Host with Hyper-V. Is there anything I should look at to understand why my Xubuntu VM's graphics are sluggish. [21:19] danomite: check the video driver in use in both guests (xorg log) [21:21] enable GPU passthrough? http://techgenix.com/enabling-physical-gpus-hyper/ [21:21] or how do those redmonds call it [21:22] oerheks: "redmonds" :D [21:22] Start your photocopiers. [21:24] azeam: Thank you again. Seems like HP is not following the industry standard. :/ [21:41] leftyfb: thx for the gparted advice, worked pefectly + printed the terminal commands used ;) [21:43] hello [21:43] I have some really odd problem... can someone help me debug it?... [21:44] !ask | lovetruth [21:44] lovetruth: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [21:44] ask, wait and see :-) [21:44] I have some ubuntu box (18.04) and I have ssh and tomcat on it. I can access tomcat on port 80, but I cannot access the ssh on port 22!... [21:45] and netstat -netpaul says it´s listening on 0.0.0.0:22 [21:46] I have an almost identical (cloned it in ESXi) ubuntu box and there it´s the very reverse: the port 80 for tomcat is not working (same, listening on 0.0.0.0:80 - using authbind, actually), but the 22 for ssh is working! [21:46] are there firewall rules installed? check ufw or iptables -L output [21:46] I did ufw allow 22 [21:46] and ufw allow 80 [21:47] on both machines [21:47] lovetruth: does your ISP or cloud provider have a firewall in place? blocking 22 and 25 and so on is pretty common [21:47] lovetruth: aws calls it "security groups" [21:48] impossible - it´s all on LAN [21:48] test whether you can connect to the servers' WAN (if any, otherwise LAN) IP address by running nc -vv IPADDRESS 80 and nc -vv IPADDRESS 22 on the server itself (replacing IPADDRESS). [21:49] and even nmap from another LAN device sees also only those ports on their respective machines (let´s say A.B.C.120 has 80 opened and working, but not 22 and A.B.C.122 has 22 working, but not 80) [21:49] tomreyn, did that test [21:50] and I can netcat only from the terminal into the localhost 80 and localhost 22 [21:50] can´t netcat from outside [21:50] it´s listening on 0.0.0.0:22 and 0.0.0.0:80 [21:51] so nc from the server to it's WAN or LAN IP address does not work for either port? [21:51] if I try to ssh from the A.B.C.122 into A.B.C.120 it says 120 [21:51] ssh: connect to host 192.168.111.120 port 22: No route to host [21:51] [21:52] tomreyn, A.B.C.120 has 80 working , but not 22 [21:52] and A.B.C.122 has 22 working, but not 80 [21:52] aha nice [21:52] now you've got something to work with [21:52] ip route ipaddress can show you what interface was used [21:53] or show that there's no interfaces that match that IP [21:53] but A.B.C.122 it´s a clone from A.B.C.120 (in ESXi)... and I checked the MAC - they are different... and ping works on all of them... [21:53] I checked /var/log/Xorg.0.log but didn't find much in comparison to my VM's. The command Xorg log only gave me an errror that "log" isn't an available option. [21:53] and it´s all on LAN [21:53] danomite: sorry, I just don't know off-hand where xorg logs live these days :( [21:54] danomite: X nowadays runs as the restricted user and logs to their home [21:54] .local/share/xorg/Xorg.0.log [21:56] thanks [21:56] to confirm it's the latest: uptime; grep -o 'Time:.*' ~/.local/share/xorg/Xorg.0.log [22:00] neither vm has a ~/.local/share/xorg directory. Ubuntu has ~/.local/share/xrdp/*.log [22:02] so I tryed again to update kernel, when booting I get "failed to start user manager for uid 121", what log file I should look for? [22:05] Betal: that sounds a bit like a --system was forgotten on an adduser command [22:05] Betal: I'm not sure what to suggest to repair though [22:06] sarnold: this is 99% video driver related or gdm, from old tests [22:06] where should I debug this odd thing?!... === thewaspsknees1 is now known as thewaspsknees [22:24] so... did a tcpdump on port 80 on the machine A.B.C.122 and this is what I´ve got: https://pastebin.com/aT17PSV0 What is your oppinion?... === roxah is now known as rdv [22:55] sarnold: removing ampgpu-pro and reboting fixed the issue, probably kernel update and didn't reinstall so the driver, so obviously not going to work lol === BrianG61UK_ is now known as BrianG61UK [23:17] Betal: wow; I would *not* have guessed that. ever. :) [23:17] Betal: nice [23:38] uptime 98 effin workdays of hard ass java developement. I bow to linux and ubuntu creators [23:41] Squarism: hello and welcome to the Ubuntu support channel. I'm glad to see you're have a positive experience. If you would like to chat or discuss how Ubuntu has been a great benefit to you, please join us in #ubuntu-offtopic :-) [23:42] Got it! [23:42] sarnold, it was FirewallD blocking it :) I still have no idea how did that happened - as it suddenly stopped working only since yesterday... And only I and some java programmer know the root password... :) I wouldn´t imagine him trying to handle iptables or firewallD... at most ufw - could be!... :) [23:48] hello [23:49] I used to have this package available in debian: gcc-6-mips-linux-gnu [23:49] but not in disco/ubuntu [23:50] I am trying to get something equivalent, but gcc-9-mips-linux-gnu has "no installation candidate" [23:50] am I missing any repo? [23:51] I am not sure if the name is disco, its 19.10 ubuntu [23:52] badcoder: let me look around my archive mirror [23:53] tnx [23:54] https://packages.ubuntu.com/disco-updates/gcc-9-mips-linux-gnu [23:54] it should exist... [23:54] badcoder: here's some packages to look for http://paste.ubuntu.com/p/my6CNKdwZW/ [23:56] How would I go about automatically running commands after a custum ubuntu install? [23:56] DSdavidDS: investigate cloud-init [23:56] sarnold: can I get them with apt, or need I download them manually? [23:57] looks useful but It doesn't look like what I need. I need it to be independent of network connections [23:57] badcoder: you may need to get them manually -- it looks like they existed in disco but that's hit end-of-life.. [23:57] >_> [23:58] !info binutils-mips-linux-gnu eoan [23:58] binutils-mips-linux-gnu (source: binutils-mipsen (4~c4ubuntu1)): GNU binary utilities, for mips-linux-gnu target. In component universe, is extra. Version 2.32.90.20190917-0ubuntu1cross4ubuntu1 (eoan), package size 2218 kB, installed size 13794 kB (Only available for amd64; i386; x32) [23:58] but disco .. is EOL? [23:59] Bashing-om: how did you know that was the package? it totally smells like that [23:59] !details | DSdavidDS : the more you explain, the better volunteers can support your use cases [23:59] DSdavidDS : the more you explain, the better volunteers can support your use cases: 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. [23:59] but... HOW DID YOU KNOW!?