/srv/irclogs.ubuntu.com/2020/01/30/#ubuntu.txt

DSdavidDSHello again. Anyone here have experience preseeding Ubuntu for autoinstallation?00:56
zim_hackerDoes anyone know how I can read from and write to a serial device without running into a 'resource is busy' error00:58
zim_hacker?00:58
DSdavidDSwhat are you using to talk to the serial device?00:59
DSdavidDSzim_hacker01:00
zim_hackerDSdavidDS: I am connected via usb and would like to see the messages I write to the device from a python program01:00
DSdavidDSIt has to do with how gracefully you end the serial connection on your ubuntu PC01:01
DSdavidDSI am assuming you are using something like 'screen'01:02
DSdavidDSI prefer minicom because it prompts you to close the communication completely when exiting01:02
zim_hackerDSdavidDS: yes, I was attempting to do it using screen01:02
DSdavidDSif you dont reset the connection, it can leave the communication completely locked01:03
DSdavidDSnot sure what the right way to do it with screen is. I like minicom.01:03
DSdavidDScan I clarify, are you trying to run screen from python?01:03
DarwinElfon 18.04.3 with a Gigabyte Z170XP-SLI, my onboard sound (Intel) no longer works... I need this to be fixed!01:03
zim_hackerDSdavidDS: interesting, that could explain why it always tells me the resource is busy after establishing a connection (even after i quit)01:04
zim_hackerDSdavidDS: I am running screen through terminal01:04
DSdavidDSokay01:04
DSdavidDS3 options:01:04
DSdavidDS1. dont exit screen, 2. exit screen properly, 3. try minicom :]01:04
ph88hello01:06
ph88i used to get an option during installation to do disk encryption .. i no longer see it01:06
ph88how can i encrypt the disk ?01:06
zim_hackerDSdavidDS: So essentially if I do use screen, It HAS to be terminated before I can write to the device?01:07
zim_hackerDSdavidDS: thanks, I'll take a look at minicom01:07
DSdavidDSoff the top of my head:01:08
DSdavidDSsudo minicom -D /dev/tty????01:08
DSdavidDSand ctrl+a --> q --> enter to exit01:08
DSdavidDSctrl+a --> z --> q --> exit01:09
DSdavidDSand yes. Serial can only have one communication at a time01:09
DSdavidDSunless you have some serial manager that takes care of managing serial traffic01:10
hoffmanhey, what partition type should I select in fdisk for vfat?01:21
whodatI 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
whodatand how would I go about doing it?01:34
[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 added01:35
EdFletcherT137you have only one option left: brute force. it will take awhile.01:35
whodatEdFletcherT137: that's what I want to do. How many hours do you reckon for a 10-character password?01:35
whodatone issue is the 60 second break that cryptsetup forces on you if you fail to enter the correct password 3 times in a row01:35
EdFletcherT137no idea, but given the datum you just mentioned you could do a quick calc01:36
EdFletcherT137*rough calc, rather01:37
tomreyn10 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:37
whodatthere's days of creative work on it so I don't mind. Any guides on what to do?01:39
whodatprimarily, bypassing that 60 second delay. That would just kill any brute force attempts.01:39
EdFletcherT137hmmm not even sure you can, but you're definitely right that you'll need to01:41
tomreynyou'd dump the header and attack it directly.01:41
tomreynsearch the web, i think this outside of ubuntu support.01:41
EdFletcherT137oh yeah, excellent idea01:41
whodatOK, thx01:42
tomreynsome articles by both sides of the spectrum are easy to find. search terms: LUKS, forensics, brute force, crack01:42
whodattomreyn, 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
whodatby using the installer I mean01:46
tomreynwhodat: 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:48
tomreynthe 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:49
whodatthe 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:50
whodat*UEFI PC can't boot from that external drive01:51
tomreynfdisk 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:51
tomreyni'm saying the installer media will be hybrid, not the installation you create from it01:52
whodatah, yes01:52
whodatthanks again01:56
tomreynyou're welcome01:57
=== zbenjamin is now known as Guest6110
=== zbenjamin_ is now known as zbenjamin
=== codebam__ is now known as codebam
monkeystanceare you guys on 18.04 or 19.10?03:16
sarnoldI've got machines on 18.04 LTS and the current -devel release03:18
=== hoffman is now known as upcrime
cybertruck2077I'm writing a module on Linux this semester!03:50
fysVery cool.03:50
lotuspsychje!discuss | cybertruck207703:50
ubottucybertruck2077: 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!03:50
Mr_CyclopsHello. 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
Mr_CyclopsAny pointers please...? Thanks in advance ...04:06
Wallysome ffmpeg / vlc wizardry perhaps?04:08
macroprephow do i compile a ubuntu source package04:10
macroprepspecifically libmad04:10
macroprepas i have ubuntu/libmad-0.15.1b/debian/patches04:11
Mr_CyclopsWally, Yeah I guess? Tons of examples but not a single that really works out of the box (and which I understand) :-/04:13
WallyYeah that sounds like fun to work out. Nothing I really can help you with unfortunately.04:13
Mr_Cyclopshmmm ... no worries :)04:14
Mr_Cyclopstx anyway04:14
Wallynp04:16
cybertruck2077So with a new install of 19.10, is my ATI RX 570 natively supported?  No drivers/software required?04:17
Bashing-omcybertruck2077: Yup :D See: https://help.ubuntu.com/community/AMDGPU-Driver .04:22
lotuspsychjecybertruck2077: check sudo lshw -C video, to see if your driver is loaded properly04:22
Mr_Cyclopslotuspsychje, hey! How are you?04:23
cybertruck2077thanks guys, this is the output I get04:23
cybertruck2077 *-display04:23
cybertruck2077       description: VGA compatible controller04:23
cybertruck2077       product: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]04:23
cybertruck2077       vendor: Advanced Micro Devices, Inc. [AMD/ATI]04:23
cybertruck2077       physical id: 004:23
macroprepfkkk it still fails ;-;04:24
macroprepwhy does my distro's version of libmad work and the source build of libmad doesnt04:24
lotuspsychjecybertruck2077: at bottom: driver=...04:26
Mr_Cyclopslotuspsychje, Good. Struggling to get linux audio streaming to work :)04:26
macroprepapt source libmad0 ; cd libmad-0.15.1b/ ; sudo apt install devscripts debhelper cdbs quilt dh-autoreconf ; debuild -us -uc -b ; sudo make install04:26
Mr_Cyclopslike (for e.g mjpg streamer) ... stream from one box, and clients can see/record... want to do the same for audio streams04:26
macroprepthe tests fail with that version however pass if i use sudo apt install libmad004:27
macroprepi cant figure out why ;-;04:27
Mr_Cyclops(time to sleep) linux audio can wait... gnyte lotuspsychje04:33
cybertruck2077lotuspsychje: weird, I don't see a driver field when I run lshw -C video04:35
macroprepfk now my distro's version is failing too ;-;04:39
macroprepfkkkkkk04:39
Bashing-omcybertruck2077: configuration line - "configuration: driver=nouveau latency=004:39
Bashing-om" where my driver is nouveau .04:40
cybertruck2077nice, thanks,  configuration: driver=amdgpu latency=004:40
patrixlhi all, anyone familiar with Multipass? Or maybe snap in general not sure04:45
patrixlmultipass downloads VM images for ubuntu.. one of my downloads got interrupted, and now I cannot launch images using that verfsion of Ubuntu04:45
patrixlneed to figure out how to refresh/delete said image04:45
mca_gif@patrixl on my system images are installed into /var/snap/multipass/common/cache/multipassd/vault/images04:53
mca_gif@patrixl perhaps in there you can delete the offending image and it will redownload04:53
=== PowerTower_121 is now known as PowerTower_120
mca_giflooks like /var/snap/multipass/common/cache/multipassd/vault/multipassd-image-records.json also keeps a record of the images you downloaded04:54
panorainmca_gif, You mean like chicks and stuff?04:57
mca_gifYes, the ubuntu spying conspiracy is real. /s04:59
panorainhmm04:59
panorainI documented this in a note.04:59
panorainI have to look now04:59
patrixlmca_gif: cool, let me have a look there!05:00
panorainLOL05:00
patrixlthis is my first snap ever installed, too much magic going on lol05:00
panorainhuh05:00
patrixlfunny thing is I looked in /var/snap/multipass and skipped over the "common" dir, having looked at a smilar dir before and finding nothing haha05:00
panorainthere is no directory on this system as of yet.05:01
panorainThere is no directory of this label I meant to say on this system yet.05:01
mca_gif@patrixl I haven't ever used it, so I installed it, and once running "ps" gave away the location of the images05:01
panorainoh really05:02
patrixlmca_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 file05:02
patrixlhmm05:02
patrixlps eh05:02
patrixlhere I was messing around with lsof and not finding it05:02
panoraininteresting stuff05:02
gambl0rehello?05:14
lotuspsychjeyes?05:14
gambl0rehi, how do i check thunderbolt driver version im currenlty using? thanks05:15
gambl0reis this channel still active?05:17
panorainOh yes05:20
panorainThis is an actually pretty nice channel.05:20
=== tehaugz is now known as augz
e|fHi.  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:15
EriC^^e|f: can you boot a live usb to troubleshoot?06:17
e|fI 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
EriC^^ok do that06:18
e|fOK, grub popped up, i selected Start Ubuntu and it's loading OK...06:21
EriC^^e|f: once it boots hook up internet to it06:22
e|fshowing the kubuntu splash screen now and it's loading as expected06:22
e|fok06:22
EriC^^done?06:24
e|falmost06:29
e|fjust got to the Kubuntu screen "Try Kubuntu" / "Install Kubuntu."  Selected "Try."  It's loading the desktop now06:30
=== monkeystance_ is now known as monkeystance
e|fconnected to WIFI.  Opened up a Firefox.  Firefox connected to yahoo.com for an example.  Internet works06:33
EriC^^e|f: ok, open a terminal and type "sudo parted -ls | nc termbin.com 9999"06:33
EriC^^paste the link it gives you here06:33
e|fokie dokies06:33
e|fhttps://termbin.com/43b906:35
e|flucky it's a touchscreen.  the touchpad won't work.  i've had this problem before and can't remember how i fixed it :P06:38
EriC^^brb06:39
e|fok06:39
EriC^e|f: ok, it's installed in uefi mode06:41
EriC^e|f: type "sudo efibootmgr -v | nc termbin.com 9999"06:41
e|fkk06:41
e|fgives - https://termbin.com/hgx806:42
EriC^e|f: type "sudo efibootmgr -b -B 0001"06:45
e|fk06:45
EriC^that should delete the linpus entry06:45
EriC^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
EriC^e|f: we could delete all the extra entries there06:46
e|f"Invalid bootnum value: FFFFFFFFFFFFFF5"06:47
e|fi'd rather not set a bios password06:47
EriC^e|f: you might have to06:47
e|fok06:48
EriC^you can maybe remove the password after trusting ubuntu/setting the uefi06:48
e|fok, what do i do next. aside from give you fifty bucks for your help :p06:48
EriC^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 + settings06:49
EriC^type "sudo efibootmgr -o 2001,0004,2002,200306:49
EriC^e|f: type "sudo efibootmgr -o 2001,0004,2002,2003"06:49
e|fspits out a long list of stuff06:50
e|fBoot0000* ubuntu; Boot0001* Linpus lite ... etc etc06:51
cybertruck2077which app do you guys use to take notes?06:54
cybertruck2077Notes for desktop stuff, like commands etc?06:54
e|fbefore those boot entries... BootCurrent: 0003; Timeout: 0 seconds; BootOrder: 2001,0004,2002,200306:55
e|fyou want me to reboot?06:58
EriC^e|f: yeah giv eit a go06:59
e|fk06:59
e|fnah same thing.  i'll try the password method07:00
EriC^ok07:04
e|funder 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
e|ffew other things too.  where do i go to from here07:05
gambl0reis the differnce between, ubuntu, xubuntu, kubuntu just the desktop environments?07:14
Ben64yep07:14
gambl0reif i was on xubuntu and installed kde DE, does that mean im essentially running kubuntu?07:14
fysmore or less, yes07:14
Ben64the default installed apps are different too07:14
gambl0rei dont know why but i was running kubuntu before and i reinstalled everything and installed xubuntu because i thought that was the only way07:15
gambl0rei never knew you could just install the DE's on it's own and switch back and forth07:15
gambl0realso what is lightdm and ssdm, it was asking me when i was installing07:16
fyswe've all likely done something similar at some point.07:16
fyslightdm is the login manager07:16
DarwinElfon 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:17
e|fah yep i see what you were saying Eric :)07:38
e|fplay around with the passwords and it then allows you to drop down and select trusted files07:38
DarwinElfalso, 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:45
ryuoDarwinElf: 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:46
patrixllogs are auto-rotated and kept only a certain number of days aren't they?07:54
patrixlI'm sure journald works the same way07:54
patrixlnow some other apps not using journald/logrotate might be an exception to those rules...07:54
DarwinElfi've had GB of logs before08:05
DarwinElfsure, maybe I ran a server longer to have that happen... however even another few hundred MB would be nice08:05
e|fEriC^: I set a password to unlock the UEFI settings, then ran through all of the various files under <ubuntu> and <boot> to set them as files in the allowable database.  Rebooted each time with each file.  And still it doesn't work.  Same loop as before08:07
EriC^e|f: the file you need to set is /efi/ubuntu/shimx64.efi08:41
EriC^e|f: did you also change the boot order of the uefi?08:41
e|fah :)08:44
e|fone sec, i'll try08:44
e|fset the file to shimx64.efi ... not sure about the boot order of the uefi ?08:48
e|funder Boot tab - Boot Mode: UEFI; Secure Boot: Enabled; Boot Priority order: Linpus lite; HDD...; CDROM ...; ...08:50
e|f(if i can't fix this i'll try the 19.10 iso as well)08:53
gioelehi, does the 18.04.3 installer support encrypting the disk or the home directories?08:55
EriC^gioele: yes both08:55
EriC^e|f: change the boot priority order08:55
gioeleEric^: thanks. Do you know where I can find the documentation?08:56
EriC^e|f: i dont think the iso would help08:56
EriC^!install | gioele perhaps here08:56
ubottugioele 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 !automate08:56
e|fah :) i see the EFI file has appeared at the boot mode screen, heh08:56
e|fdidn't notice that08:56
e|fok, i'll change it08:56
s4yangi 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 append08:57
e|foh wow08:58
e|fjesus christ08:58
e|ffinally, a breakthrough08:58
e|fyeah, i have the splash screen now08:58
e|fhow much time did i spend on this, lol08:58
ikonias4yang: probably best to share via a pastebin your client and server config09:11
EriC^^e|f: nice09:12
EriC^^uefi can be a pain sometimes cause of the manufacturers09:13
e|fit's taking a while to load but i'm being patient with it :)09:13
vltHello. Is there a way to get the available "desktop size" between any top and bottom panels in the MATE DE?09:17
EriC^^e|f: try pressing Esc it should show something, it's probably a graphics issue or so09:18
EriC^^!nomodeset | e|f09:19
ubottue|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
e|fyeah it finally loaded09:19
EriC^^vlt: there's a pixel ruler program you could download i guess09:19
EriC^^it's called "screen ruler"09:19
e|fAfter pressing ESC... it's finally said "You are in emergency mode..." "Press Enter for maintenance (or press control-D to continue)"09:27
vltEriC^^: I was looking for something to use programmatically in a script. More like xdpyinfo.09:33
UblxHi, 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:33
neilduganI 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:42
elias_aazeam: Thanks! Odd phenomenon. What make is the battery?09:48
__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:08
bcxHi 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 ? Thx10:11
voltagexhi, 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 start10:20
EriC^^voltagex: maybe in line 29 replace /usr/bin/bash with /bin/bash10:25
EriC^^voltagex: there's probably a command to see the log of the service10:26
DarwinElfon 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:30
voltagexEriC^^: https://paste.ubuntu.com/p/b8Yn5FQHcF/10:33
EriC^^voltagex: no idea10:36
marz_d`ghostmanwhat's the best utility to create a bootable usb? I've tried gparted and dd but my flash drive/usb doesn't seem to work10:43
lotuspsychjemarz_d`ghostman: ubuntu has an internal app to create bootable usb10:55
marz_d`ghostmanlotuspsychje: what app is that?10:57
lotuspsychjemarz_d`ghostman: the usb creator app, wich ubuntu version are you using?10:58
marz_d`ghostmanUbuntu 16, I'm not creating a bootable ubuntu drive htough10:59
lotuspsychjemarz_d`ghostman: wich Os are you trying to burn?10:59
marz_d`ghostmanit's a firmware updater from Dell10:59
marz_d`ghostmanhttps://www.dell.com/support/home/ph/en/phbsd1/drivers/driversdetails?driverId=FV3R1&oscode=naa&productcode=poweredge-R62010:59
lotuspsychje!biosupdate | marz_d`ghostman10:59
ubottumarz_d`ghostman: To see how to update your bios on Ubuntu visit the community collected methods here: https://help.ubuntu.com/community/BIOSUpdate10:59
tomreynbcx: 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?11:26
=== sonOfRa is now known as cbI
tomreynmarz_d`ghostman: unfortunately dell does not yet support firmware updates on poweredge systems via fwupd / lvfs: https://fwupd.org/lvfs/search?value=Dell+poweredge-R62011:37
heeenok this is weird11:38
heeenI have a logitech c92011:38
heeenactually I have two, luckily. if I plug in one, it shows up with its microphone in pavucontrol etc, but it is silent11:38
heeenif I plug it out and try the other one, same result11:38
heeenif 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 working11:39
tomreynmarz_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", but11:41
tomreynthat's not part of ubuntu.11:41
=== sonOfRa_ is now known as sonOfRa
neilduganI 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:07
EriC^^neildugan: did you try restarting?12:11
bcxtomreyn: actually i'm using packer on vSphere vms12:33
ph88i used to get an option during installation to do disk encryption .. i no longer see it. how can i encrypt the disk ?12:44
BluesKajHowdy folks12:46
neilduganEriC^^, No, that is something I should have thought of myself, I am imbarrased that I didn't12:53
EriC^^neildugan: no worries, hopefully it doesnt keep happening, then maybe a different kernel might help12:54
neilduganEriC^^, restarting skype doesn't work, it still malfunctions12:54
EriC^^i meant the pc neildugan12:55
Ntemisplease i need help installing wine12:55
Ntemiswinehq-stable : Depends: wine-stable (= 5.0.0~bionic)12:55
NtemisE: Unable to correct problems, you have held broken packages.12:56
pragmaticenigma!paste | Ntemis12:56
ubottuNtemis: 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
neilduganEriC^^, OK, but atm I can't reset the computer, I will try that soon.12:56
WaVNtemis: If you're running Ubuntu you should be able to install it from the package manager.12:56
Ntemisi cant12:56
Ntemisany way to force it?12:57
EriC^^neildugan: installing pavucontrol might help or maybe in the sound settings switching output to something then back12:57
WaVNtemis: All I did was "sudo apt-get install wine64" (64 for 64bit systems)12:57
Ntemisit worked12:59
WaV:thumbs up:12:59
Ntemisthanks12:59
WaVYou're welcome.12:59
Ntemissudo apt install wine-stable doesnt work13:01
geirhadoesn't work in what way?13:05
ph88https://linuxhint.com/wp-content/uploads/2018/08/u1.png Encrypt the new Ubuntu installation for security  ... i don't see this option anymore13:06
ph88oh i see it actually but it would erase windows too ??13:10
pragmaticenigmaph88: Correct, volume encryption is not recommended for dual boot systems13:10
ph88is there another type of encryption i can still apply ?13:11
pragmaticenigmaph88: You can encrypt your home directory, which honestly should be enough13:11
ph88how do i do that ?13:11
ioriaph88, 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 swap13:13
ph88ah ok13:14
ph88is there a tutorial on that ?13:14
ioriaph88, https://www.howtogeek.com/116032/how-to-encrypt-your-home-folder-after-installing-ubuntu/13:15
ph88is it still up to date from 2017 ??13:17
ioriai think so13:17
ph88thank you13:18
ioriano prob13:18
tomreynph88: 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
pragmaticenigmatomreyn: It's a dual boot machine... not recommended13:19
ph88i don't think i can do FDE with windows alongside ubuntu13:19
tomreynpragmaticenigma: why not?13:20
tomreynph88: the installer doesn't support it but i don't see why you can't13:20
ph88how will windows be able to boot when it's encrypted ?13:21
tomreynyou wouodn't encrypt the windows partition13:21
tomreyn*wouldn't13:21
ph88i understood FDE as full disk encryption13:22
ph88i only have one disk13:22
tomreynyes, that's a bit misleading13:22
tomreynnormally, with dmcrypt-luks, you encrypt data on partitions, not the entire disk13:23
ioriaph88, would be more correct saying that there is no 'trivial way' to do that13:24
ph88is this using dmcrypt-luks ?  https://www.howtogeek.com/116032/how-to-encrypt-your-home-folder-after-installing-ubuntu/13:24
iorianope13:24
ph88so there is dmcrypt-luks, ext4 crypt and cryptsetup13:25
ioriaph88,  ecryptfs-utils  != cryptsetup13:25
tomreyncryptsetup is a user space utility for managing dm-crypt encrypted devices13:28
Phruis`anyone using the QT Adwaita theme?  I can't get it to switch to dark on all apps13:30
lotuspsychjePhruis`: are you using a stock adwaita theme or a downloaded one, on wich version of ubuntu?13:31
Phruis`https://github.com/FedoraQt/adwaita-qt13:31
Phruis`19.1013:31
lotuspsychjePhruis`: can you pastebin: apt policy adwaita-qt please13:33
Phruis`https://paste.ubuntu.com/p/HWHD52cpHJ/13:34
Phruis`i installed from source13:35
Phruis`should i use the package?13:36
lotuspsychjePhruis`: please install the version from apt to doublecheck13:36
lsfc1914Hello 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
lsfc1914It would be great if someone is familiar with this problem and can help me.13:41
lotuspsychjelsfc1914: you installed i-nex with the external ppa?13:43
pragmaticenigmalsfc1914: That doesn't appear to be a software package available in the official Ubuntu software channels. You will have to contact the developer for assistance13:43
lsfc1914allright13:44
lsfc1914thank you13:44
lsfc1914Is there something similar in the official Ubuntu software?13:45
tatertotslsfc1914: have you at least tried to update gambas3 like the error suggested?13:45
iorianot with gambas i think13:45
lotuspsychjetatertots: if volunteers advice the support elsewhere, please dont continue support here13:46
pragmaticenigmalsfc1914: You could build your own using Conky, which has many of the same features, but is more tooled for real time performance monitoring13:53
pragmaticenigmaConky also has pre-made and/or community provided premade setups13:53
isomarigreetings, what setopt can I use to have human readable timestamps in my zsh history file?14:12
tomreynisomari: that's probably a good question for #zsh14:14
Siliciumhi there14:16
Siliciumapt-cache policy <package> 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
Siliciumhow is that possible?14:16
Siliciumits an third party repository14:16
isomaritomreyn: Thanks. Seems everyone is sleeping over there.14:18
tomreynSilicium: low priorities?14:19
Siliciumdoes that matter if there is no alternative?14:21
SiliciumPriority is Extra14:21
Siliciumno dependencies14:21
Siliciumright architecture :)14:22
tomreynSilicium: can you show the apt-cache output (after apt update) on a pastebin?14:22
=== conjo is now known as bbd
Siliciumyes14:22
Siliciumits about filebeat package (elasticsearch) using 5.x repo works, 7.x doesnt work. seems to be a OS dependency but there are no dependencies14:23
Siliciumworking 5.x repo: https://pastebin.com/iWgeVFB714:24
tomreynthat's not apt-cache policy output for a specific package14:25
vlmis it possible to clone an hard drive whilst in use with dd or would it render the image unusable or so?14:25
Siliciumnon working 7.x: https://pastebin.com/kCr4QJrT14:26
Siliciumok not policy14:26
Siliciumnon working policy: https://pastebin.com/GBGFvVf414:26
tomreynSilicium: priority -10, wont be considered14:27
tomreynread apt_preferences(5)14:28
tomreynsection "How APT Interprets Priorities"14:29
tomreynvlm: 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.14:30
=== fling_ is now known as fling
tomreynvlm: you can use lvm or btrfs or zfs snapshots instead14:31
vlmtomreyn: ok thanks ill rather do it offline then to keep data14:33
raddyHello Everybody14:37
raddytail -F appserv.log | grep Working >> push_api.log14:38
raddyWhy this command is not working ?14:38
raddyI want grep to send the output to push_api.log14:38
raddyPlease help14:39
SwedeMikeraddy: "not working" isn't a good problem description. Please be more specific.14:40
=== real_walnut_burl is now known as walnut_burl
raddySwedeMike: The grep output is not being sent to the file14:41
WaVwhat is the output of the command && do you have write permissions in the directory where you are trying to write push_api.log?14:41
raddyWaV: I ran that command as root14:42
WaVAny output?14:42
SwedeMikeraddy: does it work without the >> ?14:42
SwedeMikeraddy: does it then work as expected and show it on the screen?14:43
raddySwedeMike: It is working if tail -F hits_BRTS.log | grep Working >> push_api.log14:43
raddySorry without >> push_api.log14:43
tomreynthats a differently named log file14:44
raddytomreyn: It is working if  tail -F hits_BRTS.log | grep Working14:45
raddyBut not to the log file14:45
raddyThere is no spelling mistake14:45
tomreynit may be due to output buffering14:46
raddytomreyn: What is that ?14:47
SwedeMikeraddy: https://unix.stackexchange.com/questions/154861/why-does-tail-f-tail-fail-to-produce-any-output/15486214:49
tomreynhttp://www.pixelbeat.org/programming/stdio_buffering/14:49
chowdermorning all14:49
raphahi14:50
raphasomeone her from the gLabels project?14:50
chowderrapha, are you having trouble printing out labels? I'm not a dev on that project. I just googled it when you mentioned it.14:54
Siliciumtomreyn: where did you saw priority -10?14:55
Siliciumah lol14:55
Siliciumthx14:55
raphachowder: 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:56
chowderrapha: are you a small business owner by any chance?14:57
raphachowder: i'm the IT bitch for a bicycle shop14:57
chowderrapha: lol ok well why did you move to GLabels4? Just curious.14:58
raphachowder: 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.14:59
chowderwell 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 315:02
tomreynrapha: which distribution is this?15:03
raphatomreyn: Solus15:03
tomreyn!ot | rapha: then please move15:03
ubotturapha: 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:03
chowderhttps://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
raphaand to be fair, the feature we're missing comes from an arcane library which is the actual pain in the behind to build15:04
raphatomreyn: 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:04
raphayeah, this is my first (failed) attempt to reach out to the devs15:05
raphathank you for your welcoming friendliness tomreyn15:05
chowdertomreyn: 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:06
tomreynchowder: i did, said "please". we can continue discussing this in #ubuntu-discuss if you'd like?15:07
chowderfair enough15:07
bynariehi 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 content15:12
EdFletcherT137bynarie: 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
chowderbynarie: 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:13
bynarieright i undertand that the requests are distributed to them probably through dns requests15:14
bynarieso 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:15
leftyfbbynarie: you want #ubuntu-server15:20
tharkunGood $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:27
tharkundeleting cryptsetup seems to cascade to many other packages which I am unsure abouth their purpose.15:28
leftyfbtharkun: can you give more details on this server? Ubuntu version. Is it a VPS? Docker? Where does encryption come into play?15:29
tharkunVPS, 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/Linux15:30
leftyfbtharkun: what version of ubuntu?15:31
leftyfbtharkun: nc termbin.com 9999 < <(lsb_release -ds;cat /proc/{version,cmdline};echo "Session: $XDG_CURRENT_DESKTOP ($XDG_SESSION_TYPE)";echo Shell: $SHELL)15:31
tharkunleftyfb: How do I get the version?15:32
leftyfbtharkun: I just gave you the commands to run15:33
tharkunoutput is https://termbin.com/msci15:33
tharkunThat is not what I expected. Sorry15:33
tharkunfrom apt-get update bionic15:34
tharkunleftyfb: ^^15:35
leftyfbtharkun: this on Linode?15:35
tharkunyes15:35
leftyfbtharkun: 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-1815:36
leftyfbtharkun: Can you copy/paste the commands you're running for updates and the errors into http://pastebin.ubuntu.com please?15:37
tharkunleftyfb: apt-get update && apt-get upgrade15:37
leftyfbtharkun: 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:37
leftyfbtharkun: We need a the full output please15:38
leftyfbtharkun: please copy/paste the entire commands plus output with errors to http://pastebin.ubuntu.com15:38
tharkunleftyfb: 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
tharkunThanks for the time.15:39
leftyfbtharkun: ok, that doesn't add up ....15:39
leftyfbtharkun: if it hangs on the update, then they shouldn't be all caught up15:40
tomreynthi *could* be bug 158030815:40
ubottubug 1580308 in initramfs-tools (Ubuntu) "update-initramfs cryptsetup must correctly take into account PARTLABEL inside /etc/fstab" [Undecided,Confirmed] https://launchpad.net/bugs/158030815:40
leftyfbtomreyn: that would only apply when installing kernels and related packages. initramfs won't be regenerated just updating vim for example15:42
tomreynleftyfb: right, but i assume that's what tharkun was referring to, update-initramfs running as a result of kernel (or initrd related) updates.15:43
leftyfbpossibly15:44
tharkunThe kernel was updated. That is certain. And initram was rebuild15:44
leftyfbtharkun: do you run into the issue if you install a package you don't already have? Try installing nmap or cowsay15:44
tharkunno isues with apt-get install cowsay15:46
tharkunNo isues by uninstalling cowsay15:47
tomreynvery old, but may still hold true: https://www.digitalocean.com/community/questions/error-while-installing-packages?answer=129315:48
tharkunleftyfb: 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.15:49
nicktguesti 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:02
leftyfbnicktguest: grep for the command and then type it in16:03
jhutchins_wknicktguest: Is the command you want the only thing in the file?16:03
nicktguestYeah I want to avoid typing it again. Ideally a yank from vim would persist into the command line but it doesn’t.16:03
nicktguestjhutchins_wk no. There’s several commands and lines in the script.16:04
jhutchins_wkNo, because vim is no longer running.  The shell is seperate.16:04
jhutchins_wknicktguest: Ok, copy the file, edit the new file to remove the other commands and then do bash ./file16:04
jhutchins_wkYou can also install the GPM package which gives you console mouse.16:05
nicktguestim looking for the command from that file to be placed on the command line so I can edit it.16:05
nicktguestNot just execute it.16:05
leftyfbnicktguest: there is no clipboard on a headless server16:12
leftyfbnicktguest: 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 it16:16
JimBuntuleftyfb: 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 helps16:17
JimBuntunicktguest: 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 file16:19
=== Hoffman is now known as hoffman
sams0x41I  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 on16:39
sams0x41https://security-tracker.debian.org/tracker/CVE-2017-1314416:39
=== SimonNL is now known as SimonNL_Afk
oerhekssams0x41,  ask in #debian? meanwhile imagemagick is some versions further.. https://launchpad.net/imagemagick/+packages16:49
sams0x41thanks 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 confirmation16:55
jayjohas 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 install16:56
leftyfbjayjo: it's not part of the official packages, no16:58
leftyfbjayjo: the instructions say to install the chrome extension and then add the PPA, install the package from the PPA16:59
jayjoOk I see. It didn't work because there is an error with the release file: https://bpaste.net/FS7Q17:01
jayjois that an issue on my end or is it something with their PPA?17:01
ioriajayjo, probably because that ppa does not support eoan17:04
azeamelias_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/JunCUqE17:11
oerheksazeam, batteries worn out, why do you trust the readings then? it is not an ubuntu issue, should be linux wide.17:12
oerheksand what do you want ubuntu to do, fix our bad battery readings?17:13
tatertotsbatteries are consumable items...these items have to be replaced periodically17:13
azeamoerheks, yes a Linux issue and not Ubuntu, I agree. But the design value should still report correctly regardless of battery status, no?17:13
azeamtatertos: yes...17:13
oerheksit is not even a linux issue, you are chasing ghosts17:14
azeamhow 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:16
JimBuntuazeam: 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:40
azeamJimBuntu: that's possible, though it seems in this case is if Linux is using the full charge capacity as design capacity value17:42
__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:43
lotuspsychje__raven_: did you try purge nvidia and fallback to nouveau to test yet?17:45
Hellphyre23Anyone 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:49
ioriaHellphyre23, never heard;   Super + L  works ?17:57
Hellphyre23nope17:57
ioriaHellphyre23, gsettings get org.gnome.desktop.lockdown disable-lock-screen17:59
Hellphyre23false17:59
ioriaHellphyre23, what uubntu version and Desktop in use ?17:59
Hellphyre23Ubuntu 19.10 Gnome 3.34.218:00
__raven_lotuspsychje: yes it does not help18:01
ioriaHellphyre23,  have you changed your dispaly manager ?18:02
ioria*display18:02
Hellphyre23yes, also have Plasma so using a SDDM18:05
ioriaHellphyre23, well, if you ask plasma should run alone ; but maybe that behavior  might be caused by some buggy extensions ; try to reset them or disable18:06
TonrenI'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:09
Hellphyre23ioria, thanks, i will try that out, think it is on the right path18:11
Hellphyre23thanks ioria, swapped back to gdm and everything works fine now18:30
ioriaok, good18:31
linextis it possible to make .sh files runnable by the terminal via the GUI?18:31
linexti'd like to double-click or right click and open with terminal18:32
iorialinext, what file manager  ?18:32
linextthe default one ubuntu has18:32
linextActivities -> Files18:33
linextRight clicking shows "Open with Other Application" but Terminal isn't there18:33
iorialinext, you want to open it in terminal to execute it or edit it ?18:35
Lone_WolfWith Thunar you might be able to do a custom action (Edit > Custom Actions)18:36
Lone_WolfFor execution18:36
acovrigI'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
acovrigIs 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:36
linextlike double-clicking a .bat file in Windows18:37
iorialinext,  well, you need a custom .desktop file in   .local/share/applications that calls gnome-terminal with a 'bash -c '  command18:37
WaVlinext: You should just be able to mark it as executalbe18:37
WaVexecutable*18:37
ioriaWaV, for some some reason he wants to run it in terminal (maybe for the output)18:38
badsekturis there a furry themed ubuntu? uwuntu?18:38
WaVahh, well then create a desktop launcher file and prefix the command as ioria suggested.18:39
arunpyasiHi 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:46
Miles8of9i 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
Miles8of9main18:59
Miles8of9basic 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
Miles8of9wtf! wrong channel sorry19:01
linextwhy is a space needed at the beginning of " #!/usr/bin/bash" ?19:12
oerhekslinext, not needed AFAIK, any number of spaces is valid https://unix.stackexchange.com/questions/276751/is-space-allowed-between-and-bin-bash-in-shebang19:23
linextthe problem is that ubuntu puts bash in /bin/bash19:24
linextnot /usr/bin/bash19:24
leftyfblinext: 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:35
DSdavidDSI am getting an issue as described in this post: https://askubuntu.com/questions/881175/why-installtion-fails-when-preseeding-the-partitioning-method19:36
DSdavidDSHas anyone run into this issue?19:36
leftyfbDSdavidDS: you want #ubuntu-server19:37
DSdavidDSthanks19:38
DSdavidDSfor visibility, if anyone can answer my question above, that'd be great19:47
sams0x41i'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:53
oerhekssams0x41, <upstream version>-<debian revision> see https://askubuntu.com/questions/620533/what-is-the-meaning-of-the-xubuntuy-string-in-ubuntu-package-names19:56
sams0x41ahhh perfect, thankyou19:57
ducassesams0x41: iirc that first number is the epoch19:58
ioriayup19:58
linextleftyfb, i'm copying commands from a magazine and trying them.  #!/usr/bin/bash doesn't work and #!/bin/bash works20:01
leftyfblinext: and what OS does the magazine say the commands are compatible with?20:01
sams0x41thanks  ducasse what you said led me to this which explained everything https://serverfault.com/questions/604541/debian-packages-version-convention20:01
linextthe examples are all in an ubuntu terminal screenshot20:02
leftyfblinext: then stop following anything in that magazine because they don't have a good grasp on linux distributions20:02
ioria/usr/bin/bash is redhat20:03
leftyfb^20:03
leftyfblinext: what makes you say the examples are in an ubuntu terminal screenshot?20:03
linextit's in the magazine20:03
linextthe window look like ubuntu20:03
oerheksurl?20:03
leftyfblinext: "look like ubuntu" does not mean it is ubuntu. Any OS can be made to look like ubuntu20:04
leftyfblinext: you might want to read more carefully20:04
linextactually, on second thought... maybe I added /usr/ from searching online20:04
sarnoldleftyfb,linext,ioria -- /usr/bin/bash is also in ubuntu:20:04
sarnoldhttps://paste.ubuntu.com/p/KDDy3ZWHxM/20:04
leftyfbsarnold: tell me 20.04 doesn't just up and change something like that?20:05
ioriasarnold, not on my system... interesting20:05
sarnoldleftyfb: it's also in eoan https://paste.ubuntu.com/p/zqpJB6b7bJ/20:05
sarnoldleftyfb: I don't have disco any more to test with20:05
ducassesarnold: same on disco20:06
ioriaon xenial and bionic is only /bin/bash https://packages.ubuntu.com/xenial/amd64/bash/filelist20:07
leftyfbthat is horrible if true. I can't seem to find any announcement about this20:07
leftyfbhm20:08
leftyfbhttps://packages.ubuntu.com/eoan/amd64/bash/filelist20:08
leftyfbthat shows /bin/bash20:08
ioriayep20:08
leftyfband disco https://packages.ubuntu.com/disco/amd64/bash/filelist20:08
EriC^!find /usr/bin/bash20:08
leftyfbsarnold: you got something screwy :)20:08
ubottuFound: 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&section=all20:08
EriC^sarnold: what does "dpkg -S /usr/bin/bash" give?20:09
ioriamaybe a link or something20:09
ioriasame on focal https://packages.ubuntu.com/focal/amd64/bash/filelist20:09
sarnoldEriC^: it's just the worst :)20:09
sarnolddpkg-query: no path found matching pattern /usr/bin/bash20:10
sarnoldwhich busts my usual dpkg -S `which foo`20:10
ioriasarnold, ll /usr/bin/bash20:10
sarnold-rwxr-xr-x 1 root root 1183448 Nov 13 00:54 /usr/bin/bash*20:10
leftyfbI just installed 19.10 i a container, it's got /usr/bin/bash ... what's going on?20:10
ioriaok, i'am out20:10
leftyfbthis is VERY bad. Did I miss an announcement?20:11
sarnoldhttps://lists.ubuntu.com/archives/ubuntu-devel/2018-November/040536.html20:13
sarnoldhttps://lists.ubuntu.com/archives/ubuntu-devel-announce/2018-November/001253.html20:14
leftyfbok, at least that made a link20:15
leftyfbI was going to freak out if !#/bin/bash was going to break20:16
sarnoldyeah that'd be chaos at the next level20:17
sarnoldI hate the whole mess20:17
sarnoldsure /bin and /usr/bin and /sbin and /usr/sbin is bloody annoying. but this feels worse.20:17
ioriawe'll see20:19
oerheks .. /bin is a symlink to usr/bin, similarly /lib and /sbin. oke, but i read somewhere ENV is important in this?20:19
ActionParsnipHey guys. Is there an application that can set up the SSH tunnel and connect to VNC in one application, please?20:27
=== ToBeCloud is now known as MovingToZNC
=== MovingToZNC is now known as ByeIRCCloud
ioriaActionParsnip, an hint here maybe : https://www.techrepublic.com/article/how-to-connect-to-vnc-using-ssh/20:28
iorianot in one shot probably20:29
ActionParsnipLoria: yeah I can setup a tunnel OK. Was after a single app that did both bits in one hit 😎20:30
ioriaaye20:31
ActionParsnipOooh SSVNC seems to be the one20:37
ioriaActionParsnip, maybe here https://github.com/zrax/gsshvnc20:37
ActionParsnipHaha thanks :)20:38
ioriayou're welcm20:39
Max0815does anyone have an idea how to increase a partition in decreasing direction of sectors?20:48
Max0815like  i have a swap partition infron of my / partition which i would like to delete and then increase the / partition to the left20:48
Joelany way to prevent the calculator from putting numbers in 3.39849238943892X10^12 notation? and display the full number?20:51
ActionParsnipMax0815: may want to use gparted in live CD / USB desktop20:52
sarnoldman that is a parsnip of *action* -- give advbice and then quit eight seconds later20:53
leftyfboerheks: well, I'm told the proper way is to call #!/usr/bin/env bash20:53
Sven_vBhow can I chech which baudrates a usbTTY accepts, or the maximum baudrate?20:54
leftyfbSven_vB: it's dependent on the end device, not the port20:55
leftyfbSven_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 rate20:55
=== captainplutonium is now known as roxah
leftyfbMax0815: that is a decrease and then move20:57
leftyfbMax0815: sorry, move then increase20:58
Max0815leftyfb: ah ok so I would probably need to move all files to a different location?20:59
Max0815didnt try gparted yet20:59
leftyfbMax0815: no, you move the partition to the beginning of the drive and then expand it20:59
Max0815as i was hoping for a command line based solution20:59
leftyfbMax0815: you can also use the command line20:59
leftyfbMax0815: https://superuser.com/a/139094021:00
Max0815oke deleting the partition and then creating a new isn't a big deal. But i guess my usual resize2fs approach wont work21:00
Max0815oh thx that link looks about right21:00
leftyfbMax0815: that only works on resizing a filesystem. Not moving or resizing partitions21:01
leftyfb(resize2fs)21:01
Max0815so create a new partiton, shift left, resize2fs21:01
leftyfb:/21:01
leftyfbMax0815: use gparted21:01
leftyfbdrag and drop21:01
Max0815mhm i guess that would save me some time21:02
leftyfbMax0815: in gparted, right-click the partition and pick resize/move21:02
Max0815thx, will try that now :)21:04
Max0815if I dont come back my harddrive probably died (but i have backups lol)21:05
Sven_vBleftyfb, thanks!21:08
danomiteI'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:17
sarnolddanomite: check the video driver in use in both guests (xorg log)21:19
oerheksenable GPU passthrough? http://techgenix.com/enabling-physical-gpus-hyper/21:21
oerheksor how do those redmonds call it21:21
danomiteoerheks: "redmonds" :D21:22
WallyStart your photocopiers.21:22
elias_aazeam: Thank you again. Seems like HP is not following the industry standard. :/21:24
Max0815leftyfb: thx for the gparted advice, worked pefectly + printed the terminal commands used ;)21:41
lovetruthhello21:43
lovetruthI have some really odd problem... can someone help me debug it?...21:43
ducasse!ask | lovetruth21:44
ubottulovetruth: 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 !patience21:44
oerheksask, wait and see :-)21:44
lovetruthI 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:44
lovetruthand netstat -netpaul says it´s listening on 0.0.0.0:2221:45
lovetruthI 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
sarnoldare there firewall rules installed? check ufw or iptables -L output21:46
lovetruthI did ufw allow 2221:46
lovetruthand ufw allow 8021:46
lovetruthon both machines21:47
sarnoldlovetruth: does your ISP or cloud provider have a firewall in place? blocking 22 and 25 and so on is pretty common21:47
sarnoldlovetruth: aws calls it "security groups"21:47
lovetruthimpossible - it´s all on LAN21:48
tomreyntest 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:48
lovetruthand 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
lovetruthtomreyn, did that test21:49
lovetruthand I can netcat only from the terminal into the localhost 80     and localhost 2221:50
lovetruthcan´t netcat from outside21:50
lovetruthit´s listening on 0.0.0.0:22 and 0.0.0.0:8021:50
tomreynso nc from the server to it's WAN or LAN IP address does not work for either port?21:51
lovetruthif I try to ssh from the A.B.C.122 into A.B.C.120 it says     12021:51
lovetruthssh: connect to host 192.168.111.120 port 22: No route to host21:51
lovetruth 21:51
lovetruthtomreyn, A.B.C.120 has 80 working , but not 2221:52
lovetruthand A.B.C.122 has 22 working, but not 8021:52
sarnoldaha nice21:52
sarnoldnow you've got something to work with21:52
sarnoldip route ipaddress   can show you what interface was used21:52
sarnoldor show that there's no interfaces that match that IP21:53
lovetruthbut 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
danomiteI 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
lovetruthand it´s all on LAN21:53
sarnolddanomite: sorry, I just don't know off-hand where xorg logs live these days :(21:53
tomreyndanomite: X nowadays runs as the restricted user and logs to their home21:54
tomreyn.local/share/xorg/Xorg.0.log21:54
danomitethanks21:56
tomreynto confirm it's the latest:    uptime; grep -o 'Time:.*' ~/.local/share/xorg/Xorg.0.log21:56
danomiteneither vm has a ~/.local/share/xorg directory. Ubuntu has ~/.local/share/xrdp/*.log22:00
Betalso 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:02
sarnoldBetal: that sounds a bit like a --system was forgotten on an adduser command22:05
sarnoldBetal: I'm not sure what to suggest to repair though22:05
Betalsarnold: this is 99% video driver related or gdm, from old tests22:06
lovetruthwhere should I debug this odd thing?!...22:06
=== thewaspsknees1 is now known as thewaspsknees
lovetruthso... 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?...22:24
=== roxah is now known as rdv
Betalsarnold: removing ampgpu-pro and reboting fixed the issue, probably kernel update and didn't reinstall so the driver, so obviously not going to work lol22:55
=== BrianG61UK_ is now known as BrianG61UK
sarnoldBetal: wow; I would *not* have guessed that. ever. :)23:17
sarnoldBetal: nice23:17
Squarismuptime 98 effin workdays of hard ass java developement. I bow to linux and ubuntu creators23:38
pragmaticenigmaSquarism: 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:41
SquarismGot it!23:42
lovetruthsarnold, 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:42
badcoderhello23:48
badcoderI used to have this package available in debian: gcc-6-mips-linux-gnu23:49
badcoderbut not in disco/ubuntu23:49
badcoderI am trying to get something equivalent, but gcc-9-mips-linux-gnu has "no installation candidate"23:50
badcoderam I missing any repo?23:50
badcoderI am not sure if the name is disco, its 19.10 ubuntu23:51
sarnoldbadcoder: let me look around my archive mirror23:52
badcodertnx23:53
badcoderhttps://packages.ubuntu.com/disco-updates/gcc-9-mips-linux-gnu23:54
badcoderit should exist...23:54
sarnoldbadcoder: here's some packages to look for http://paste.ubuntu.com/p/my6CNKdwZW/23:54
DSdavidDSHow would I go about automatically running commands after a custum ubuntu install?23:56
sarnoldDSdavidDS: investigate cloud-init23:56
badcodersarnold: can I get them with apt, or need I download them manually?23:56
DSdavidDSlooks useful but It doesn't look like what I need. I need it to be independent of network connections23:57
sarnoldbadcoder: you may need to get them manually -- it looks like they existed in disco but that's hit end-of-life..23:57
badcoder>_>23:57
Bashing-om!info binutils-mips-linux-gnu eoan23:58
ubottubinutils-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
oerheksbut disco .. is EOL?23:58
badcoderBashing-om: how did you know that was the package? it totally smells like that23:59
pragmaticenigma!details | DSdavidDS : the more you explain, the better volunteers can support your use cases23:59
ubottuDSdavidDS : 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
badcoderbut... HOW DID YOU KNOW!?23:59

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