/srv/irclogs.ubuntu.com/2019/11/07/#ubuntu.txt

iffraffHi, I have a laptop with external monitors.  Everytime my computer goes to sleep all the windows just pile up in one area and I have to reposition them all again.00:32
iffraffIt actually stopped happening for a while but now it's back and it's a big pain in the butt00:32
pragmaticenigmaiffraff, when you say "to sleep" do you mean the monitors shut off or something else?00:40
iffraffwell, yes, good question, I think it's when then monitors shut off no matter how breifly.00:41
iffraffSo if I step away for 15-20 minutes I have to log back in and the windows are all pooched.00:42
pragmaticenigmaiffraff, I can't find anything that would point to that behavior. I have the same issue with other operating systems though, so I know it's not unique to Ubuntu or Gnome00:45
pragmaticenigmarather, it seems it's not a priority to restore window positions have power saving00:46
iffraffhmmm, so perhaps I just need to find a script that will automatically position my windows for me.  Although I have two different instances of chrome in different parts of the screen so that wouldn't work there.00:47
akkI missed the original question, but surely window positions shouldn't change when the computer sleeps?00:48
iffraffakk:  Hi, I have a laptop with external monitors.  Everytime my computer goes to sleep all the windows just pile up in one area and I have to reposition them all again.00:49
pragmaticenigmaakk, What I believe is happening is when the power save shuts down the monitor, something is thinking the monitor is removed from the setup, and moves all the windows to the remaining desktop00:53
akkiffraff: That's really strange. It shouldn't do that. Default ubuntu desktop?00:53
asphyxiahi friends! Has anyone had any luck pairing apple airpods to ubuntu 18.04?00:53
pragmaticenigmaiffraff, are you using Wayland or X.org?00:53
akkYeah, pragmaticenigma, that's what it sounds like. The windows will all squish together if you actually unplug from the monitor.00:53
pragmaticenigmaI know I see it happen a lot with monitors connected via display port00:53
akkBut normally that shouldn't happen from just turning the monitor off, I do that all the time.00:54
pragmaticenigmaless with VGA/DVI/HDMI00:54
akk(granted I don't run the default desktop)00:54
akkMy ext monitor is on an HDMI coming from a usb-c dock, but to the computer it shows up as DP-1 so I guess X thinks it's a displayport.00:55
iffraffa) I am on vanilla ubuntu 18.04 b) I'm not sure wayland vs x.org.00:55
iffraffoh and c I'm using all hdmi.  and d) I am using a using an external gpu but this was happening when I only had one external monitor and using the laptop gput00:56
iffraffgpu rather00:56
pragmaticenigmaiffraff, I could see that the external GPU would cause this kind of behavior... but if it was doing it even locally connected to the computer that seems strange. as far as wayland versus X.org... that's usually something selected when you login01:27
pragmaticenigmaiffraff, this command may work: "echo $XDG_SESSION_TYPE" when run from a terminal window inside your GUI session01:28
iffraffit says x1101:29
pragmaticenigmaasphyxia, you might find this help thread useful: https://askubuntu.com/a/106358201:29
=== guiverc2 is now known as guiverc
=== Leion1 is now known as Leion
=== Leion1 is now known as Leion
=== Leion1 is now known as Leion
Skipp_OSXMicrosoft Edge is officially coming to Linux soon https://www.windowslatest.com/2019/11/06/microsoft-edge-is-officially-coming-to-linux-soon/02:21
lotuspsychje!discuss | Skipp_OSX02:23
ubottuSkipp_OSX: 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!02:23
Skipp_OSXoh sry02:23
=== nt0__ is now known as nt0
=== zbenjamin_ is now known as zbenjamin
yuppicideAnyone familiar with PIP error messages? I installed PIP, tried to install and use YouTube-DL.. got error.. in the process now PIP will not work either02:51
akkWere you installing it in a virtualenv, or as --user, or as root?02:52
yuppicidenot super familiar with Ubuntu yet.. I did sudo apt install python3-pip02:53
yuppicideI then used pip to install youtube-dl02:53
yuppicideyoutube-dl was responsive, but wouldn't download any of my playlist02:54
akkIt's the second one I was asking about, how did you use pip to install youtube-dl?02:54
yuppicideso I tried to re-install  it and that's when pip started acting up02:54
yuppicidesorry I did02:54
akkAnd what were the error messages? (Don't paste here if they're long, use the pastebin in the channel topic)02:55
yuppicidesudo apt-get install youtube-dl then did sudo pip install --upgrade youtube-dl02:55
yuppicideoriginal message is that the pip directory is not owned by current user02:55
yuppicideso I did chown02:55
yuppicideon pip and pip/http02:55
akkI'm curious, did you try the ubuntu version of youtube-dl first? apt install youtube-dl02:55
akkThis sounds like a mess. pip via sudo is not generally recommended, maybe because it tends to lead to problems like this02:56
akkthough that particular one sounds strange if you used sudo for both the initial pip install and the later one.02:56
yuppicideI just googled how to install02:57
akkThe curl thing on http://ytdl-org.github.io/youtube-dl/download.html usually works for me02:59
yuppicidewell geez02:59
yuppicidecurl didn't work for me02:59
akkbut I always try the built-in one from apt first02:59
yuppicidebut anyway02:59
yuppicideI just did what you said above02:59
yuppicidesudo apt install youtube-dl and it's working02:59
akkand only do the newer one if the apt one doesn't work02:59
akkyay!02:59
yuppicidehowever, I'm not sure what to do with the pip errors I was getting earlier, in case I ever want to use pip again03:00
yuppicideor get rid of pip somehow03:00
akkI'd try pip uninstall youtube-dl03:00
akk(with sudo)03:00
akkbut it might not work -- sudo pip is notorious for messing things up, and the python community always recommends against it03:00
akkthough a lot of people still do it, and I do see that the youtube-dl page suggests it after their first suggestion of curl03:01
yuppicideok03:01
yuppicideI got this used laptop, formatted and installed only Ubuntu as03:01
yuppicideI have an arcade game that uses linux03:01
yuppicideand I'm hacking the graphics and music in it03:01
akkIt's also possible that pip uninstall will mess up the youtube-dl you got from apt03:02
akkso if you do the uninstall and youtube-dl no longer works, try sudo apt install --reinstall youtube-dl03:02
yuppicideI removed the music in game already (it was 1950's music) and I put in punk music and some of my friends band03:02
akkThat's one problem with sudo pip, it can overwrite system-installed files.03:02
yuppicideok03:03
yuppicideso far everything else is working fine.. Gimp, Audacity, and I haven't tried ffmpeg yet03:03
akkThose should all be safe from any pip or youtube-dl changes.03:03
yuppicideyeah those were easy to install03:04
akkIt's unfortunate the way pip is set up -- they make it really confusing and doing the wrong thing is easier than doing the recommended thing03:04
akkbut don't ever try to tell people on #python that, you'll get flamed to a crisp, they're very defensive about pip.03:04
akk(The recommended way is virtualenv, and that does work very well once you figure out how to set it up)03:05
yuppicideshould I  update python?03:05
yuppicideI get message 2.7 is going to be outdated in 202003:05
=== [1]MrMobius is now known as MrMobius
akkYou can have both python2 and python3 at the same time.03:09
yuppicidek03:09
akkI write most of my stuff in python3, but I keep all the python2 stuff around too, eventually it'll fade away.03:10
yuppicideAnyway, thanks for the help!03:11
akkUbuntu has separate packages for most libraries, e.g. there's python-pip and python3-pip03:11
akkthe python- version is python203:11
akkYou're welcome.03:11
akkGlad you got it working!03:11
=== the_ant1 is now known as the_ant
=== the_ant1 is now known as the_ant
k_szeIs there an *official* guide to installing/importing a root CA in Ubuntu?03:55
chris062689Hello. Is there a list of Linux kernels and when they became available in Ubuntu's main repositories? I want to downgrade my kernel, but I am not sure which version I should downgrade to.05:27
lotuspsychjechris062689: downgrading is not supported, for official kernels see !mainline05:31
OerHeksone can boot in a previous kernel, but why do you need that?05:32
OerHeksbtw on launchpad you find all released and wiped kernels for your ubuntu version, and dates05:32
=== The_Milkman1 is now known as The_Milkman
k_szeIf I take the AWS RDS root certificate (https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem), and convert it to .crt, why is the .crt so much smaller - 65k vs 1k?08:17
k_szeWhat I ran is `openssl x509 -outform der -in rds-combined-ca-bundle.pem -out rds-combined-ca-bundle.crt`08:18
k_szeWhat am I missing/08:18
tomreynk_sze: DER is a binary format, PEM is a base64 encoded variant of it with additional header and footer. but the main reason can be that only one of the certificates of the bundle was converted.08:32
tomreynabout the latter theory (certificates from bundle not coverted) you can compare the outputs of    openssl x509 -in rds-combined-ca-bundle.pem -inform pem -text -noout     vs     openssl x509 -in rds-combined-ca-bundle.crt -inform der -text -noout08:36
k_szetomreyn, odd, no difference.08:42
k_szewhich is strange, given that the .pem *should* just be a base64 encoding of the .crt.08:44
k_sze65k vs 1k makes no sense.08:45
sam14chattr command does not let me protect directory on USB device says <Invalid argument while reading flags on /media/sam/My Passport>08:49
vltHello. Any idea why systemd-timesyncd refuses to sync (to ntp.ubuntu.com) if system time is 2050-11-06 (for some reason)? I get "Nov  6 19:06:17 ferschl systemd-timesyncd[864]: Timed out waiting for reply from 91.189.89.198:123 (ntp.ubuntu.com)."08:52
flogmissing \ in path?08:52
geirhaflog: I feel that question lacks some context08:54
tomreynk_sze: it only converts the first certificate.08:54
SakaraI'm looking for a place to talk about microk8s and the operating systems to use with it. Is #ubuntu the place or the microk8s folks hang somehwere else?08:55
sam14geirha: flog was answering to my question08:55
k_szetomreyn, and so the `openssl x509 -in rds-combined-ca-bundle.pem -inform pem -text -noout` only outputted the first cert in the file anyway?08:55
tomreynk_sze: i would think so, yes08:56
InteloI don't see ~/.ssh/id_rsa.pub  I want to add my key to git. HOw can I get it?08:57
k_szeSee? My hatred towards openssl's UX is justified.08:57
k_szeI have no idea how to inspect, in a human-readable manner,  a .PEM file that contains more than one cert.08:57
sam14<sudo chattr -RV +i /media/sam/My\ Passport> was the command in response it doesn't show <\>.  ins response I get <Invalid argument while reading flags on /media/sam/My\Passport>08:58
tomreynk_sze: you may need to split the certificates into separate files, then feed them into openssl one by one. but i'm not certain on this, better ask in #openssl or maybe ##security or ##crypto08:59
SakaraWhat is the leanest deployment that is capable of running the microk8s snap?09:07
SakaraUbuntu Server 18.04 seems overkill if all I need is to run a snap. Are there better ways I've overlooked?09:08
tomreynSakara: this is not the right place. maybe ask in #ubuntu-server, but more likely there's yet a different place you can find using !alis09:08
tomreyn!alis09:08
ubottuAlis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http"09:08
Sakarathanks tomreyn I'll check in there.09:09
tomreynmaybe 'ubuntu core' is what you're looking for in an OS.09:09
SakaraI've been trying to find a download link for 'ubuntu core' to boot a small vm tomreyn and I can't find anything. I think ubuntu core is more focused at people make embedded things.09:10
tomreynk_sze: csplit -z -f rds-combined-ca-bundle -b %02d.pem rds-combined-ca-bundle.pem '/^-----BEGIN CERTIFICATE-----$/' '{*}'09:10
tomreynk_sze: ...would split the bundle up into separate files for you.09:11
tomreynSakara: yes, ubuntu core targets IOS.09:12
tomreyn* IOT09:12
k_szetomreyn, thanks!09:12
SakaraTrying to find a way to run the microk8s snap with as little other software running around it is a little tougher than I expected.09:12
tomreynSakara: this is still the wrong channel09:13
Sakarayup09:13
vltIntelo: 1) Did you expect there to be a key?  2) What does "adding to git" mean here?09:17
lagAny idea where the session selector went in Eoan?09:31
lagI can not longer log into i309:31
lagno*09:31
ldlhi, friends.10:13
ldlI have a CentOS 7 Server with two nics. (eth0 and eth1),  the traffic of eth0 input traffic I want to roll-out to eth1.10:14
ldlI have a Ubuntu 16.04 Server with two nics. (eth0 and eth1),  the traffic of eth0 input traffic I want to roll-out to eth1.10:14
ryuoldl: are they on the same network?10:21
=== the_ant1 is now known as the_ant
TJ-Anyone else noticed that 19.10's update-grub and os-prober are generating debug output into the journal ?10:34
TJ-seems we how have to specifically set OS_PROBER_DISABLE_DEBUG to prevent it10:38
TJ-but not clear where, it isn't passed on from /tc/default/grub10:44
=== Leion1 is now known as Leion
=== VegetarianFalcon is now known as OppressedByVegan
=== shakahl_ is now known as shakahl
=== OppressedByVegan is now known as AngryBird
mgedminmy bluetooth stopped working again11:43
mgedmin"a2dp-sink profile connect failed for XX:XX:XX:XX:XX:XX: Protocol not available"11:44
NoruxHi :)11:49
=== The_Milkman1 is now known as The_Milkman
=== enko-h is now known as enko
* mgedmin gave up and plugged in a cable12:01
=== AngryBird is now known as VegetarianFalcon
=== PowerTower_121 is now known as PowerTower_120
=== SIa_ is now known as SIa
=== SIa_ is now known as SIa
deadromhi13:05
deadromhow do I make the live system *not* mount drives automatically?13:05
deadromand how do I switch the terminal keyboard layout to a different one than english?13:06
mgedminterminal as in linux console you get on ctrl+alt+f3 etc?13:07
deadrommgedmin: emulator13:16
huge_problemyeet13:18
dopphyo13:19
mgedminthe keyboard layout in gnome-terminal is the same as elsewhere in the desktop and can be changed from System Preferences -> Region and language -> Input sources13:22
enriohi any compatible msword in ubuntu?13:22
Zillyhelp; ubuntu has gone crazy on me and it will not launch X windows ; nor will it upgrade to latest kernel without killing itself13:22
Zillyshould i just format?13:22
Zillybtw: i used this program called “TASKSEL” and it royally destroyed my fresh stock ubuntu install in a seconds!13:23
Zillygreat job UBUNTU!13:23
enriohi any compatible msword in ubuntu?13:23
ZillyTASKSEL should BE BANNED!13:24
Zillywhy is this even allowed to exist?!!?!13:24
mgedminenrio: libreoffice not good enough?13:24
rander2hello all13:24
Zillyshould be renamed to: DIEUBUNTU13:24
Ecko_Di Eubuntu?13:24
enriolibreoffice is more like openoffice13:24
Zillytasksel will kill ubuntu in seconds13:25
Zillysee for yourself: apt install tasksel and start crying13:25
Zillyhow can one program do so much damage?!13:25
mgedminwhat did you do with it?  remove core desktop components?13:25
Ecko_I thought tasksel was included by default in ubuntu?13:25
Zillyi told it to uninstall CUPS13:25
Zillyit decided to uninstall EVERYTHING13:25
rander2how may I make a access point throught usb , dhcp server ?13:26
Zillytasksel is included .. but is obviously so buggy it should be destroyed13:26
Zillynow tasksel will not even run any more13:26
Ecko_Works for me (tm)13:26
Zillymachine will not boot into X windows13:26
Ecko_Just checked13:26
Zillymachine will not upgrade to latest kernel without dying (initrd is half the size.. missing modules/etc)13:27
Zillywhy?!13:27
Zillyi really wish i knew how to fix this problem...13:27
Ecko_reinstall?13:27
Zillyeverything i do seems to make it worse13:27
Zillynever had this problem before with other flavors of linux13:27
Ecko_You said it was a new install, so not much, if anything will be lost13:27
Zillyyeah.. i just never had a machine kill itself using a built in program13:27
Zilly.e.g tasksel13:28
Zillythat is a very dangerous program!13:28
Zillyfirst and last time i will use for sure13:28
Ecko_anything where you need sudo can be dangerous13:28
Zillythanks Ecko13:28
Zillyno duh13:28
mgedminrm -rf can kill your ubuntu just as well13:28
Zillyno duh13:28
mgedminbut it's less obvious that removing cups might mess something up13:28
Zillyso tasksel must have a script called rm -rf ? eh?13:28
Zillydidnt know13:29
mgedminthat's worth a bug report13:29
Zillyit’s already been reported13:29
Zillybut never fixed13:29
Zillyhence the anger13:29
mgedmindo you have a bug link?13:29
Zillysure13:29
tomreyndo you want to share it with us?13:30
mgedminI see three possibilities in the (surprisingly short) tasksel bug list13:30
Zillymaybe mine will be a unique corner case #413:31
Ecko_That's like winning the lottery!13:32
Ecko_You should be happy :)13:32
mgedminno?13:32
mgedminmore like winning Russian roulette13:32
tomreyn!tasksel13:32
ubottuTasksel is a Debian/Ubuntu tool that installs multiple related packages as a co-ordinated "task" onto your system, see https://help.ubuntu.com/community/Tasksel for more information. Use tasksel only to INSTALL tasks, not to remove them. It will remove every package listed within the removed task! see https://launchpad.net/bugs/57428713:32
mgedminheh, I skipped that one because of an unclear title ("when tasks overlap", what does that even mean)13:34
mgedminbut bugs 1338223 and 1779645 appear to be duplicates13:34
ubottubug 1779645 in tasksel (Ubuntu) "Critical bug in tasksel: `tasksel remove task-name` removes whole system " [Undecided,Confirmed] https://launchpad.net/bugs/177964513:34
ubottubug 1338223 in tasksel (Ubuntu) "Tasksel has deleted all my data!" [Undecided,Confirmed] https://launchpad.net/bugs/133822313:34
mgedminupstream bug claims this was fixed back in 2012?!13:35
mgedminthat does not appear to be correct13:36
Zillythanks for the info:13:37
tomreyni guess it should probably just be removed, there's still    apt <install|remove|purge> ^task13:37
Zillyi spent all night trying to get things back to normal but without luck13:37
ioriaZilly, you might  need to start in Recovery (or login in tty if working) and reinstall your ubuntu-desktop package13:37
Zillyioria: thanks - i tried that already13:37
ioriaZilly, what command exactly ?13:37
=== Leion1 is now known as Leion
Zillysudo apt install -y ubuntu-desktop13:38
tomreynnote that tasksel also has a --test mode13:38
Zillytomreyn: cool - thanks for the dryrun info13:38
ioriaZilly, apt  install --reinstall ubuntu-desktop^13:38
ioriaZilly, note the caret ^13:39
Zillywhat does the caret do?13:39
tomreynit operates on tasks, like tasksel13:40
tomreynbut apt always prompts by default13:40
ioriaZilly, call set of packages13:40
Zillyk13:40
tomreynhmm E: Couldn't find task 'cups'13:41
tomreynZilly: do you remember which command you ran there which caused the problems?13:42
mgedminit's probably called print-server or something like that13:42
Zillytomreyn: i actually used the menu (gasp)13:42
Zillyi deselected “CUPS” and began removing my entire machine and stopped13:42
tomreynah right there's print-server13:42
Zillywhen it got to the my RUNNING kernel13:43
Zillyand said; do you want me to shoot myself or not?13:43
Zillyi said no!.. now the kernel is stuck and will not ugprade.13:43
Zillyit wanted to uninstall the running kernel package13:43
Zillythings went very downhill quickly after that13:44
Zillyioria: apt  install --reinstall ubuntu-desktop^    <— still running…HUGE13:45
Zillyon package 1060...13:45
tomreynuninstalling the running kernel image is not strictly a problem, not if you have others installed and can thus still boot. but i see what you mean, it's not something the average user wants to do and tasksel is a bit of a dangerous tool and it doesn't really warn about this.13:46
Zillynow when i ‘try’ to install the lastest kernel ; it does so , but the new kernel is broken (missing many modules/etc in initrd) so the system will not boot up all the way13:47
Zillyi have never seen anything like that before in my life13:47
mgedminsurprise learning experience13:48
mgedminonce you have the system restored, sudo update-initramfs -k all should rebuild the initrd images, and then hopefully they won't be missing stuff any more13:49
mgedminmake that sudo update-initramfs -u -k all13:50
mgedmin(ideally apt hooks will run that for you automatically)13:50
mgedmin(usually they do that more often than you'd like...)13:50
Zillycan you tell my why /lib/modules/<latest-kernel-ver> is half the size of current version (latest - 1) ?13:51
Zillybecause how can the initrd be the right size if /lib/modules is incomplete?13:51
Zillyi’ve never seen this kind of behavior before13:51
tomreynis this after you finished installation?13:51
Zillythis was last night13:52
Zillyi’m still running apt  install --reinstall ubuntu-desktop^13:52
mgedminthere are several packages that install stuff into /lib/modules, e.g. linux-headers-5.3.0-19-generic, linux-modules-extra-5.3.0-19-generic, linux-modules-5.3.0-19-generic13:52
=== Leion1 is now known as Leion
ioriaZilly, before the initramfs rebuilt, i suggest you run :   apt install --reinstall linux-generic13:52
mgedminpossibly you still have linux-modules but not linux-modules-extra, or something similar13:52
Zillyyeah; i manually installed all those (5.3.0-20) tho.13:52
Zillyi’m on 5.3.0-1913:52
mgedminmy /lib/modules/5.3.0-19-generic is 260M13:52
Zillysame13:53
Zillyk. just ran: sudo update-initramfs -u -k all13:54
mgedminmy previous kernel, /lib/modules/5.3.0-13-generic, is 259M13:54
mgedminif you still see a 50% size difference, I'd like to hear more13:54
Zillyi saw 50% size when instlaling 5.3.0-2013:55
Zilly.e.g: apt install -y linux-headers-5.3.0-19-generic, linux-modules-extra-5.3.0-19-generic, linux-modules-5.3.0-19-generic13:55
Zillyerr . s/19/20/g/13:55
Zillyrebooting now13:55
mgedminwait, is there a new kernel already?  augh13:55
mgedminwell a reboot will fix my bluetooh13:55
Zillyok: i’m kind of back where i started13:56
Zillymachine will boot into 5.3.0-19; i see the a ‘new’ logo (green circle w/ small triangles and 4 progress dots?)13:57
Zillybut that is all that happens13:57
Zillynow the screen is black w/ a blinking cursor13:58
Zillyabout a minute later (now).. i am able to switch to a virtual console13:58
Zillyand login via console. (no X)13:58
Zillyany ideas?13:58
tomreynis your system configured to depend on / expect to have out of tree modules?13:59
Zillyi honestly don’t know13:59
tomreynwhich ubuntu version is this?13:59
Zilly19.1014:00
tomreyndo you have proprietary drivers installed?14:00
Zillynvidia14:00
tomreynsee thats out of tree14:00
Zillyk14:00
tomreynchances are those were removed, too14:01
tomreynubuntu-drivers install14:01
Zillyhow do i get those back?14:02
tomreynubuntu-drivers install14:02
Zillysorry; didnt’ realize that was a command :)14:02
Zillytomreyn: thank you for your patience14:03
BluesKajHowdy all14:03
tomreynyou're welcome, Zilly14:03
Zillytomreyn: i have a GUI login screen14:05
Zillyyou are an amazing person so far14:05
tomreyni didn't write this software ;)14:06
Zillyhahaha14:06
Zillynow if you can get me to the latest kernel .. heheh14:06
Zillyi am somehow stuck14:06
tomreyncan you run this and post the url it returns here?    sudo /bin/true && cat &>/tmp/aptlog < <(sudo apt-get -y update 2>&1; apt-cache policy 2>&1; sudo apt-get -syV full-upgrade 2>&1;); nc termbin.com 9999 </tmp/aptlog && rm /tmp/aptlog14:07
tomreynit doesn't modify anything about your system, just gathers info on apt14:07
Zillyone sec14:08
mgedminwhere on earth did you find a linux-image-5.3.0-20-generic, Zilly?14:09
Zillyit showed up in the repo last night14:09
Zillybut now it seems to be ‘hidden’ ?14:09
mgedminhttps://packages.ubuntu.com/search?keywords=linux-image-5.3.0-20-generic14:09
mgedmindoesn't see it14:09
tomreyn!info linux-image-5.3.0-20-generic14:10
ubottuPackage linux-image-5.3.0-20-generic does not exist in eoan14:10
tomreynprobably in -proposed then14:10
Zillyhttps://termbin.com/ht4v14:11
Zillyweird.  it sure did update to it last night14:13
Zillybut now it’s so confused about it’s existence14:13
Zillythis is a system76 machine btw14:13
Zillykeep getting this when trying to install their package(s):  linux-system76 : Depends: linux-generic (= 5.3.0-20.21+system76~1572304854~19.10~8caa3e6~dev) but 5.3.0.19.22 is to be installed14:14
tomreynZilly: okay, this generally looks fine. i don't know whether you should be using http://ppa.launchpad.net/system76-dev/stable/ubuntu (which is where the -20 kernel comes from) but i assume you can tell14:14
Zillythe above error is what perplexes me14:14
tomreynso that's an issue with their PPA14:15
Zillyok14:16
Zillyit came installed; and i cant seem to reinstall it (contains firmwware packages, et al)14:16
Zillyi’m tempted to just install PopOS (blasphemy!) ha14:16
mgedminnow this is why I no longer complain that vendors don't sell me laptops with linux preinstalled14:17
mgedminI want my hardware to work with stock ubuntu images damnit14:17
Zillyhehe14:18
Zillyit’s working though14:18
tomreynyou can set up apt pinning so that you'll only install packes from this PPA you explicitly choose to14:18
Zillyis that certificate pinning ?14:19
Zillyor just generic pinning?14:19
mgedminapt version pinning14:19
Zillyk14:19
tomreyni think the 'proble' you're seeing is the grey lines on the "overview of published packages" here: https://launchpad.net/~system76-dev/+archive/ubuntu/stable?field.series_filter=eoan14:19
tomreyn!pinning14:19
ubottupinning is an advanced feature that APT can use to prefer particular packages over others. See https://help.ubuntu.com/community/PinningHowto14:19
mgedminterrible UX14:19
tomreynpinning is a way to make things worse unless you're careful14:21
Zillyi see14:21
Zillyi believe this is starting to make more sense now14:22
Zillyi do really appreciate all the help!14:22
Zillyyou guys are really underrated14:22
tomreynthanks for your appreciation. :)14:24
=== Grayson_ is now known as Grayson
dbaccI booted into revovery mode and have network connection running with dhclient eno1. However, there is no DNS service yet. How do I get nam resolution?14:52
dbaccEntering nameserver 8.8.8.8 to /etc/resolv.conf doesn't help; i get the message its not a file14:52
pragmaticenigmadbacc: By default, DNS resolution is managed by systemd-resolved ... The resolve.conf file is no longer being used unless you have purposefully changed your network settings14:58
TJ-dbacc:  that's a symlink which is probably dangling right now14:58
Sc0tty-join #centos14:59
=== musician20004 is now known as musician2000
g3poandlslI have a tomcat9 app that gives an error about not being able to write to a specific directory.  I have ensured the directory has write permissions for the tomcat user, and can successfully touch a file in the directory as that user.15:06
g3poandlslI have also tried making the directory world-writable with chmod 777, but still get the error.15:06
g3poandlslWhat's weird is that if I configure the tomcat app to use /tmp, it has no problem.  What is the difference between a world-writable directory and /tmp?15:06
g3poandlslI'm also not finding anything in kern.log that would indicate any Apparmor denies15:07
DiogoConstantinohi all15:07
pragmaticenigmag3poandlsl: /tmp as a special purpose in the file system and allows anyone to write there15:07
g3poandlslpragmaticenigma, understood, but how is that any different from a chmod 777 directory?15:08
pragmaticenigmag3poandlsl: I believe /tmp is hard coded to have exemptions. I'd have to research that to know for sure15:09
pragmaticenigmag3poandlsl: Can the application touch or create the file? Purhaps tomcat is looking for the folder/file to be owned by the tomcast process15:09
pragmaticenigmag3poandlsl: Where are you trying to write said file from tomcat?15:09
Priceyg3poandlsl: Do you have something like selinux or apparmor running?15:10
g3poandlslThe directory is owned by tomcat.  If I do a sudo -u tomcat touch testfile, it successfully creates the file as the tomcat user15:10
g3poandlslPricey, no SELinux, but apparmor is running.  Again, I checked kern.log and found no denies for the tomcat service or that directory15:11
Priceyg3poandlsl: Can you paste the error?15:12
Priceyg3poandlsl: Sorry, missed the part about apparmor earlier - do you see other denies in the log you're looking at?15:12
g3poandlsl[main] ERROR o.x.e.i.ServletEnvironment     - Configured permanent directory [/var/lib/xwiki/data] is not writable.15:13
Priceyg3poandlsl: Does it have access to list /ar/lib/xwiki ?15:13
g3poandlslThere are other denies for profile="/usr/bin/man", different PID than tomcat15:14
g3poandlsldrwxr-xr-x  2 tomcat tomcat  4096 Nov  6 08:36 data15:15
Priceyg3poandlsl: What about on /var/lib/xwiki ?15:15
g3poandlslsorry, /var/lib/xwiki is drwxr-xr-x  4 root   root    4096 Nov  6 12:00 .15:16
Priceyg3poandlsl: ps -ef | grep tomcat ---- it's definitely running as the tomcat user?15:16
pragmaticenigmag3poandlsl: xwiki either needs to be owned by tomcat, or a member of the root group and group writeable added to the /var/lib/xwiki directory ...15:18
pragmaticenigma*or tomcat a member of the root group15:18
g3poandlsltomcat   25753     1 99 10:17 ?        00:00:39 /usr/lib/jvm/...15:18
PriceyHuh, I'm stumped.15:19
g3poandlslI imagine adding the tomcat user to the root group might allow the app to write to the directory, but I don't consider that safe for production15:20
Priceyg3poandlsl: Are there existing files not owned by tomcat in that directory?15:20
pragmaticenigmag3poandlsl: then change the owner/group of the /var/lib/xwiki to tomcat15:20
Priceyg3poandlsl: find /var/lib/xwiki/data \! -user tomcat -print15:21
g3poandlslPricey, the directory is empty15:21
Priceyg3poandlsl: The output of that command is empty?15:21
Priceyg3poandlsl: Nothing hidden etc. ?15:21
g3poandlslpragmaticenigma, I have tried that and still get the error15:21
pragmaticenigmag3poandlsl: Did you applie it recursively?15:22
Priceypragmaticenigma: I wish I thought of that.15:22
g3poandlslPricey, find returns empty output, so does ls -lha /var/lib/xwiki/data15:22
g3poandlslpragmaticenigma, yes, with chown -R tomcat:tomcat /var/lib/xwiki15:23
Priceyg3poandlsl: I give in. Let everyone know if you figure it out? https://forum.xwiki.org/t/permanent-directory-is-ignored-and-data-is-in-tomcat-work-directory/4095/715:23
g3poandlslPricey, you found my post :)15:23
g3poandlslThanks for the help15:23
Priceyg3poandlsl: Ouch :-)15:26
PriceySorry!15:26
g3poandlslPricey, to be fair, I'm not OP, but I did post in that thread yesterday15:27
adacaehm I have a little bit of a problem it seems https://pastebin.com/mAPbxpL315:41
adacI think I accidentaly unmounted stuff that I shouldn't ahve15:41
adaci.e. /dev /run15:41
adacwondering if after a reboot this would work again or what actions I need to take15:42
adacfunny enoudgh all docker instances are still up and running15:42
=== musician20007 is now known as musician2000
=== lotuspsychje_ is now known as lotuspsychje
dac894<== shakes in boots waiting to be notified of "vulnerable hosts will be notified"16:00
g3poandlslPricey, found the solution to my permission issues.  Turns out Debian packages Tomcat configured to be sandboxed, only able to write to 4 specific directories.  I had to create a systemd override to allow write access to my directory.16:02
dac894has anyone tired the games "Gweled" from the software center?  Somebody gave the review that it was buggy,  I thought I'd see if that bug applied to me, and yes it did.  Sound effects caused it to "freeze" ,  I jumped into tty3 and just did a kill -9 <pid> and back on tty2 up popped a notice saying ( I think it said ) something about modifying " smart drive properties".  BTW I did not "authenticate" I canceled the dialog box. Is16:15
dac894that something to be concerned with? Or was that my less than graceful kill command?16:15
tomreyndac894: bug reports against gweled: https://bugs.launchpad.net/gweled16:18
dac894thanks for the url...off to read...16:19
lotuspsychjedac894: and your ubuntu version where it occurs?16:19
dac89418.0416:19
dac894BB for short? heh16:20
tomreynadac: just remount dev and run and reboot soon, i guess.16:22
dac894great game to play, trying to get my 4yo into it, she seems happy with it16:22
lotuspsychjedac894: last time i tested gweled it was running fine here16:23
dac894lotuspsychje: only the sound effects that caused the hicup16:24
dac894probably my lack of using "sudo kill -9 <pid>"16:24
adactomreyn, I rebooted in the end with reboot -f. Luckily it came up again just fine16:27
tomreynlucky you ;)16:39
dac894using thunderbird for chat, how do I lose the join exit messages?16:41
dac894tomreyn: I see #1831825 is the exact same as mine, so it is already reported back on 6.6.1916:46
Priceyg3poandlsl: What kind of sandbox?16:47
Priceyg3poandlsl: Systemd Protect* statements?16:48
tomreyndac894: you could click on " You are not directly subscribed to this bug's notifications. " to subscribe to it and get notified when it's fixed. and you could signal that it affects you, too16:48
dac894tomreyn: thank you, on too it16:49
g3poandlslPricey, ProtectSystem=strict and explicit ReadWritePaths= to allowable directories16:49
tomreyndac894: you may also want to add gweled in your ubuntu version as affected, because this bug repot is only filed against the original (non ubuntu packaged) gweled so far.16:50
Priceyg3poandlsl: Gotcha. Good to know! Thanks.16:50
pragmaticenigmadac894: Thunderbird has a limited set of controls for chat. I would recommend using a more tradition IRC client such as hexchat or irssi16:51
dac894pragmaticenigma: thank you, I did see hexchat, but I am **slowly** adding things to the beaver as everything works awesomely flawless, till I start adding, just proceeding with caution16:54
ioriadac894, hexchat won't give you troubles16:56
ynin Ubuntu 19.10 desktop edition, what's the default display manager?16:57
tomreynmutter / gnome-shell16:59
tomreynthose are window / compositing manager rather16:59
tomreynlogin manager would be gdm by default16:59
ynah, gdm17:00
ynjust checking, i'm installing KDE and it is askingme what to use, and i want to use the default17:00
yndanke17:00
tomreynkubuntu uses sddm by default, i think17:00
ynah, i'm using regular ubuntu, I'm only installing kde for a vncserver17:01
dac894it must be something I'm doing wrong, keep getting smart data update messages about my hdd.  I've set something incorrect17:12
tomreyndac894: where do you get those?17:15
tomreynand what do they say exactly?17:15
tomreyn!pastebin | dac89417:15
ubottudac894: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.17:15
ioriadac894, something like this ? https://i.stack.imgur.com/Xhlp2.png17:15
dac894ioria: yes, close enough for government work17:16
ioriadac894, might be a 'psensor' thing17:17
ioriadac894, https://askubuntu.com/questions/798810/smart-data-dialog-appears-on-each-return-from-tty-to-gui17:17
dac894ioria: erm.. you too ?17:17
dac894lol17:17
ioriadac894, me too what ?17:18
dac894psensor... mine happend after gweled....or sooooo I thought17:18
ioriagweled ?17:18
lotuspsychjeioria: jewel game17:19
ioriaah, lotuspsychje i see17:19
dac894just a game .. like jewel17:19
iorianot updated in ages17:19
ioriadac894, what the exact problem with gweled ?17:20
dac894https://bugs.launchpad.net/gweled/+bug/183182517:21
ubottuLaunchpad bug 1831825 in Gweled "crashes when trying to disable sound effects" [Undecided,New]17:21
tomreynthe 'smart' messages and the gweled issue dont seem to be related, though17:21
iorianope, i don't thin so; iirc gweled had problem with libasound17:21
th34lch3m1stHi all17:22
ioriadac894, install libasound2-dev and try again the game17:22
dac894I added a post about the gweled bug...17:23
dac894sound works fine17:23
dac894only when diableing the "effects"17:23
th34lch3m1stI'm in the middle of a normal update (19.10) and apt is asking me:17:23
th34lch3m1stWhat do you want to do about modified configuration file 20auto-update?17:24
th34lch3m1st*20auto-upgrades17:25
th34lch3m1st7 option here, I don't have modified nothing....17:25
ioriath34lch3m1st, yes, you probably did17:26
th34lch3m1stioria you mean I have installed some application?17:26
ioriath34lch3m1st, nope, you changed the unattended-upgrades settings17:27
th34lch3m1stioria I have enable it, maybe17:27
TJ-th34lch3m1st: best thing is to compare the diffs17:27
ioriath34lch3m1st, the cotrary maybe17:27
ioria*contrary17:28
ioriath34lch3m1st, but not a big deal17:28
th34lch3m1stioria so I should check the window "software sources" on synaptic/settings?17:28
ioriath34lch3m1st, nope, you might run the dpkg-reconfigure after the upgrade17:29
dac894! pastebing17:32
th34lch3m1stioria what "upgrade" we are talking about? the OS? some software? I'm in the middle of software "update"....17:32
ioriath34lch3m1st, that file just enable/disable automatic updtes, that's all17:32
th34lch3m1stioria so why it talking about "upgrades" (20auto-upgrades)17:33
ioriath34lch3m1st, i don't get you17:33
th34lch3m1stioria update!=upgrades17:34
ioriath34lch3m1st, nope17:34
th34lch3m1stSo he asking me if I want disable automatic "updates" because I have modified 20auto-upgrades?17:35
ioriath34lch3m1st, probably,yes; you have changed (as i do) the default config17:35
th34lch3m1stioria let's put it in this way: I want all to be the same like before this apt question. what should I choose:17:37
ioriath34lch3m1st, maintainer version i guess17:38
th34lch3m1st1.-install the package maintainer's version17:38
th34lch3m1st2.- keep the local version currently installed17:38
lotuspsychjeth34lch3m1st: there should always be a (reccomended) choice there17:38
ioriath34lch3m1st, i told you , but i repeat, it's not a problemù17:39
th34lch3m1stlotuspsychje default selected was no.117:39
th34lch3m1stioria just try to understand17:40
th34lch3m1stioria so, what change I have done that trigger this question?17:41
lotuspsychjeth34lch3m1st: ive seen this behaviour on 20.04 too lately, some packages will ask this by default17:42
ioriath34lch3m1st,  1=enabled;  0=disabled ; grep "0" /etc/apt/apt.conf.d/20auto-upgrades17:42
th34lch3m1stioia apt is updating unattended-upgrades....17:47
th34lch3m1stioia and when he said: "Setting up unattended-upgrades (1.14ubuntu1.1)... the question pop up....17:50
th34lch3m1stioia but the big question is: the first choise "install the package maintainer's version"...is talking about what package???17:52
th34lch3m1stioia all in general, a specific one (unattended-upgrades) , or what?17:52
ioriath34lch3m1st, the pkg is clearly unattended-upgrades17:55
dac894ioria, thanks, hexchat and myself made it back, here's the https://i.imgur.com/7lRopjx.png dialog box17:55
th34lch3m1stI checked no1, let's see what happen...17:55
shvmAny idea when updated iso for 19.10 will be released. The 17 Oct revisions are causing issues on VirtualBox.17:58
ioriadac894, if you don't want that popup, you need to run psensor and disable 'Udisks Support'17:59
th34lch3m1stioria imgur.com/a/wms6CR618:01
ioriath34lch3m1st, ok, now it's enabled again18:01
th34lch3m1stioria so I live all as it is18:02
th34lch3m1st*I left18:02
ioriath34lch3m1st, as you wish, you can use the Updater-manager to change it18:03
th34lch3m1stioria but the file is fine right now?18:03
th34lch3m1stioria ok, thanks for infos18:04
xjkxInstalled spotify from snaps. Then did sudo snaps remove spotify. But /usr/bin/spotify is still there, even if a link, and if i type spot[tab] it completes to spotify. Did I uninstall it wrong ?18:04
Sven_vBwhen I have my network cable in a xenial computer where it works, can that computer tell me whether the cable is crossed or straight? would save me lots of un/plugging and fiddling.18:12
Sven_vBoh I'd probably need two computers and ask both whether they agree, or one of them adapted its pinout. so would that work?18:16
dac894Sven_vB, smart router or smart nic card, good question18:18
Sven_vB(well, two network cards rather. could probably be the same computer in theory.)18:18
dac894mine are all crossed, since lost my nic cord crimper and mind as to where I put them18:20
Sven_vBor I can just use the one NIC that fails on the suspect cable (while others do work), which probably means this NIC cannot adapt. then one smart NIC on the other end should give reliable results on its own.18:21
Sven_vB(the NIC itself is probably not broken, as it does work on other links.)18:22
shivayahi folks, is intel VROC supported with 19.10?18:22
dac894Sven_vB, These days, ethernet ports automatically switch wiring connections as needed, so it doesn’t matter which cable is used.18:25
BrknManI have a sudoers question18:53
BrknManAn account with all privs and no password needed is getting prompted for a sudo password under certain circumstances18:54
BrknManones I cannot easily replicate18:54
BrknMandoes anyone know what circumstances would cause a user that otherwise should not be prompted for a password to get prompted?18:54
pragmaticenigmaBrknMan: It would help if you could find a way to reliably replicate it... or narrow down which applications/commands are being issued that are requesting the password18:56
dac894pragmaticenigma, great nick *smile*18:57
BrknManpragmaticenigma: I reprovisioned the server in question and the line in question that I grabbed isn't in my buffer anymore, I'll provide it shortly, however I believe it was something along the lines of `sudo -H -u otheruser -g somegroup ` and then.... yeah, I'll get back to you18:59
pragmaticenigmaBrknMan: I'm wondering if this a regression from the recent patch to sudo19:00
BrknManpragmaticenigma: that would be unfortunate timing :P19:02
inquisitiv3I'm running Ubuntu MATE Eoan, and want to install the package `ghdl`. How do I choose the dependencies using LLVM as backend?19:03
lordcirth_inquisitiv3, it should work if you just specify both in the same transaction: apt install ghdl ghdl-llvm19:09
BrknManpragmaticenigma: sudo -H -u $user -g $group tee /home/$user/$file.txt19:12
pragmaticenigmaBrknMan: And it triggers the password "randomly" ... like if you tried again in 5 min (getting past the timeout for reuse of sudo) it may or may not require the password again?19:13
BrknManpragmaticenigma: it triggers the password every time, nothing else does19:13
BrknMan"randomly" was used in reference to the password not being triggered in most other scenarios19:15
TJ-BrknMan: what sudoers rule(s) are you expecting that to match ?19:15
BrknManI have ALL across the board19:15
BrknManTJ-: ^19:16
inquisitiv3lordcirth_: Oh, thanks! That was an simple solution19:17
BrknManpragmaticenigma: this user has access in the same same manner as ec2 instances and openstack instances19:19
TJ-BrknMan: presumably there are some other rules matching that don't have NOPASSWD - check the auth log for clues19:23
dac894ioria, https://i.imgur.com/7lRopjx.png?1 is the image for the psensor19:25
BrknManTJ-: .... Just nuked the instance again, I'll umm... try again in a couple minutes19:25
=== dionysus70 is now known as dionysus69
ioriadac894, https://www.tecmint.com/psensor-monitors-hardware-temperature-in-linux/19:57
dac894ioria, thanks, I'll take a read19:59
ioriadac894, check Providers tab19:59
WoCis there something like lsblk but for mtp devices ?20:00
ioriaWoC, maybe something like 'gio mount -l'20:05
BrknManI think this may actually be a bug then20:22
BrknManthe sudo is being performed, the command in question is running as root20:22
BrknManbut asking for the sudoers password before running as the other user20:22
BrknManwhich it shouldn't need as either the original user running, or root20:22
lordcirth_BrknMan, I'm not sure what you mean. sudo itself is suid, it always runs as root20:23
BrknManahh20:23
BrknMannm then20:23
BrknManI mean, still possibly a bug20:23
lordcirth_Most likely a configuration error in /etc/sudoers. It can be pretty arcane20:24
BrknManuser A is performing sudo -H -u B -g C tee /home/B/file.txt20:24
BrknManwhich should function given that user A has passwordless login to root and doing everything else up to that point20:25
BrknManbut it prompts for a password none the less20:25
BrknManpasswordless sudo to root*20:25
BrknManand the sudoers file is basically ALL all the way around20:26
lordcirth_BrknMan, NOPASSWD to root, or to ALL?20:26
BrknMan(same config as the default user in EC2 instances/openstack)20:26
BrknManto ALL20:26
makr8100Just a comment on sudo, and I have no idea if it hints at your issue, but in ubuntu the sudo password is the user's password.  I run opensuse mostly, and in opensuse to sudo you need to type the root password instead of the user's password20:26
makr8100of course editing the sudoers file can change this behavior20:26
BrknManmakr8100: password isn't the issue, asking for one when it shouldn't is :)20:27
makr8100does just adding someone to sudoers enable passwordless by default tho?  or is there some flag that needs to go on the user?20:27
OerHeksusers with "passwordless login to root " .. and switching users , are different thing.20:27
makr8100everything I've done user admin on is in suse, and there's a gui for that20:28
BrknManOerHeks: it's passwordless to everything20:28
OerHeksso, i guess there is no bug to file20:28
lordcirth_makr8100, you have to specify NOPASSWD20:29
BrknManif I can sudo su - userB but can't sudo -u userB..... it's a bug20:29
lordcirth_BrknMan, depends. I see you are using -g, have you tried without that?20:30
makr8100makes sense, I'd hope the default isn't passwordless lol20:31
BrknManlordcirth_: it seems like it's the -g flag that forces the password20:32
lordcirth_BrknMan, ok. So your NOPASSWD line allows all users, but perhaps not all groups.20:33
BrknManlordcirth_: ubuntu ALL=(ALL) NOPASSWD:ALL20:34
BrknManis there something I need to add to that to allow to all groups?20:34
BrknManand if so, I have a beef with the person that decided ALL meant SOME20:35
OerHekstry %<group>  ALL=(ALL) NOPASSWD: ALL20:37
lordcirth_Yeah, the examples do have a space after NOPASSWD:20:37
OerHeksand yes,  you cannot use -u and -g options of sudo in that sample20:38
lordcirth_Actually, I think you need: ubuntu ALL=(ALL:ALL) NOPASSWD: ALL20:39
lordcirth_(I hate sudoers syntax)20:39
OerHeksnot sure about that..20:39
sarnoldno it's true, everyone hates sudoers syntax :)20:39
BrknManbreaking it, btw, means that remote machines with no root password are bricked till it gets a livecd or reloaded20:40
max12345hey all, I tried to dist-upgrade 16.04 -> 18.04, ran into some dependency problems20:40
max12345is there a way to tell to just throw away everything non essential that breaks, so I can fix it later20:40
max12345but I can do my upgrade?20:40
max12345*to tell apt20:40
sarnoldmax12345: better to use do-release-upgrade to do your new-release-updates20:41
lordcirth_max12345, 16.04 -> 18.04 is "do-release-upgrade", not "dist-upgrade"20:41
max12345that was the second thing I tried, it didn't work20:41
max12345some 2 line error message.20:41
BrknManlordcirth_: adding the :ALL fixed it, it looks like I need to modify the default behavior of the cloud-dist sudo modifications20:42
sarnoldmax12345: depending upon where you are in the apt dist-upgrade process, you may not have any easy paths forward; if you pastebin the whole thing though someone may be able to offer tips to help you out of it20:42
lordcirth_BrknMan, great.20:42
max12345I have a live stick available, would you recommend just reinstalling?20:43
max12345ah well I'll figure something out.20:45
max12345thanks!20:45
crazymaxhow can i know cpu, storage and ram size?20:59
crazymaxwhen i use ssh20:59
OerHekscrazymax, so easy to find, basic commando's21:00
OerHeksmem lscpu df -h ..21:00
crazymaxhow?21:00
OerHeksyou clearly did not search yourself21:00
crazymaxi tried it buy i can't find it21:00
sarnoldcat /proc/cpuinfo ; df -h ; free -g21:01
crazymaxthanks sarnold :)21:02
seereI would throw in a little bit of "lsblk" too.21:02
crazymaxsarnold, gparted works?21:03
sarnoldcrazymax: maybe if you're thinking there's drive space that isn't in a filesystem, sure21:04
seerecrazymax: why it shouldn't?21:04
sarnoldcrazymax: there's millions of things you could want to know about a system and thousands of utilities to report those things to you, so you've got to figure out whatever it is you're interested in knowing21:05
sarnoldcrazymax: most people would be content with starting top or htop or pcp's various *top alikes..21:05
* seere thinks he hears a wise man speaking21:05
crazymaxi can't open gparted with ssh?21:05
lordcirth_crazymax, if you want to launch graphical programs, you need to use ssh -X21:06
crazymaxah21:06
seerecrazymax: use it's cmd line part - parted. Remember "with great power comes great responsibilit"....21:06
crazymaxthanks21:06
crazymaxlordcirth_, you mean that ssh support GUI?21:07
lordcirth_crazymax, if you use ssh -X, you can do "X session forwarding" where the remote window appears on your desktop. It can be slow, though21:08
crazymaxssh -X abc@129.200.10.40  like this?21:08
seerecrazymax: yes.21:10
crazymaxthanks :)21:10
bpromptcrazymax:  what do you need gparted for? just to check partition labels?21:11
crazymaxto know storage size21:11
crazymaxbprompt,21:11
seerecrazymax: lsblk would be way easier and works without gui.21:12
bpromptcrazymax:  as sarnold pointed out, you can just run "top" and that shows all that info at the top of the screen21:12
bpromptcrazymax:  "htop" if available, otherwise just "top"21:12
crazymaxah21:13
crazymaxthanks21:13
bpromptright lsblk works too21:13
crazymaxanyway my cpu is i7-7500u this is good?21:13
seerebprompt: top/htop don't show filesystem/blockdev infos the last time I checked?21:13
bpromptcrazymax:  you could alsu use -> df / -lh <- or something like df /dev/sda5 -lh21:14
crazymaxtoo many command lol21:14
seerecrazymax: TMTOWTDI21:14
bpromptwell, /dev.... is just the device you want checked21:15
crazymaxthanks for help21:16
crazymaxhello, how can i change my ip?21:32
crazymaxit is possilbe to change ip?21:33
tomreynip as in intellectual property?21:34
OerHeksyour provider can change your IP21:34
bpromptcrazymax:  nope, check OerHeks's  line, you can always try reconnecting to your provider/ISP and that may give you a new IP, it may not21:35
crazymaxif i turn off router, then i can change ip?21:37
OerHekscrazymax, we don't know, ask your provider?21:37
crazymaxoh my god21:38
crazymaxthis is ubuntu channel where specialist is?21:38
OerHekssome share a range of ip adresses, i have a static one21:38
OerHekswe don't know what your provider can do, and a specialist would say so.21:39
leftyfbcrazymax: are you referring to the public ip address on the internet that your provider assigns to your modem/router or the local ip address your computer gets from your router via dhcp?21:39
crazymaxpublic ip21:40
crazymaxleftyfb,21:40
leftyfbcrazymax: does your mode/router run ubuntu?21:40
leftyfbmodem*21:40
jdSaphirhi :)  I just upgraded to 18.10 and php seems to be broken, when I try to access a page it just shows as plaintext, I tried removing and reinstalling it but it didn't help, would anyone have an idea? :)21:41
jeremy31jdSaphir: 18.10 is no longer supported21:42
crazymaxleftyfb, how router can ubuntu?21:42
leftyfbcrazymax: ok, then your question is not related to Ubuntu. Please seek support from your provider or modem/router manufacturer.21:42
jdSaphirok not 18.10 then I'm old xD 19.10, my bad :p21:43
bpromptjdSaphir:   php is showing plain text? as in you go to www.somepage.php in the browser and shows as plain text?21:46
jeremy31jdSaphir: That might be a known bug in 19.1021:46
jdSaphiryes bprompt21:46
OerHeksmaybe a2enmod is not loaded properly, seen that before:  a2enmod php7.3 && systemctl restart apache221:46
bpromptjdSaphir:  hmmm any page?  got url?  because that sounds like a webserver configuration issue, not an OS issue, if you do not set the proper MIME handlers for the webserver, it can do that21:47
jdSaphirLooks like that did the trick, thanks OerHeks! :)21:48
OerHekshave fun!21:48
bpromptjdSaphir:  webbrowsers interpret a webpage or parse it according to HTTP Headers sent by the webserver, if the webserver says that a picture.png is a text/plain, then the webbrowser will try to simply show it as text21:48
OerHekssee if i can find the bugreport ...21:48
OerHeksnope, must have been a discussion/support question21:53
gvvg__Hi I'm running 18.04 and I installed a while ago - I did install LVM but I don't know how to use it - now my / partition is full and I have a 99GB partition that is /dev/sda3 and I don't know how to use it? any ideas?22:04
gvvg__sorry it might be a silly question22:04
wawrekhey folks, I don't want to sound like a newb. I forgot how to get smart quotes to work on ubuntu.22:14
akkTo work how, in what program?22:14
WoCmakr8100: you need to add the option NOPASSWD: for that user/group22:17
WoChmmm, kind of late, forgot to scroll down...22:17
=== crondd is now known as crond
=== im0nde_ is now known as im0nde
raidghostWhy is inverted colors on gnome screen happend?22:35
wawrekakk:22:36
wawrekakk: in emacs and other text editors22:37
akkwawrek: I've never tried to do smartquotes in emacs, but googling emacs smartquotes gets plenty of hits.22:38
akkwawrek: It'll be different for each editor, there's no universal way.22:38
wawrekakk: sorry, thought there must be an universal way :\22:59
deadromhi23:19
deadrom$ sudo echo "16777216" > /proc/sys/vm/dirty_background_bytes   <- says "no permission"23:20
deadrom# echo 16777216 > dirty_background_bytes    <- works fine23:20
deadrom# echo 16777216 > /proc/sys/vm/dirty_background_bytes  <- full path, too. so -- why would it work from sudo bash shell but not from sudo directly?23:21
deadrom18.04LTS23:21
MoPacWhat is/are the package(s) that enables the standard Unity dash functions? After my last upgrade (to 19.10), the dash does not display recent items on open and can't "find" anything -- it looksnormal, but there is always an empty set of choices/results23:22
sarnolddeadrom: the > filename part is excuted by your shell, and then the open file descriptor is handed to the sudo process23:23
sarnolddeadrom: but your shell doesn't have write privileges to that file23:23
sarnolddeadrom: people sometimes use tee to get a similar pipeline, eg echo 16777216 | sudo tee /proc/sys/vm/dirty_background_bytes23:24
deadromsudo sh -c " echo... " ?23:24
sarnoldyes that should work too; that doesn't echo the number to stdout, so it's better in some cases, but it's also more typing, so I tend to prefer the | tee approach for interactive use23:24
deadromsarnold: what if I have variables in there, say echo ${FOO} > ....  - will sh -c pass that on?23:26
sarnolddeadrom: that gets complicated quick; if you used "" string, then they would be expanded before being passed to the 'inner' sh23:29
sarnolddeadrom: if you used '' string, then the variable name would be passed through unchanged, but if that variable exists in the environment of the 'inner' sh, then it would do the substitution23:29
deadromI passed " " so it should have been expanded. running test now...23:34
deadrom"sh: echo: I/O error" bah. I give up. wanted to write a win10 iso to usb with WoeUSB but I can't spend the rest of my days debugging23:38
sarnolddeadrom: wait23:41
sarnolddeadrom: where's that IO error coming from? check dmesg23:41
=== sjohnson is now known as sanjide
=== sanjide is now known as sjohnson
Betalits ok to use reprepro to create a repository for 2 dif versions like bionic and xenial?23:49
sarnoldBetal: I believe that's used for ubuntu infrastructure; probably it can do that23:50
Betalsarnold: can it detect for what version is each .deb? or I need to separate the source folder?23:51
sarnoldBetal: I don't know that :( sorry23:52

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